星火直播PC
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

NotifyModel.cs 559B

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