星火微课系统客户端
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 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. }