星火直播PC
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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. }