星火微课系统客户端
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

NotifyModel.cs 473B

123456789101112131415161718
  1. using System.ComponentModel;
  2. namespace XHWK.Model
  3. {
  4. public class NotifyModel : INotifyPropertyChanged
  5. {
  6. public event PropertyChangedEventHandler PropertyChanged;
  7. public void OnPropertyChanged(string propertyName)
  8. {
  9. PropertyChangedEventHandler handler = PropertyChanged;
  10. if (handler != null)
  11. {
  12. handler(this, new PropertyChangedEventArgs(propertyName));
  13. }
  14. }
  15. }
  16. }