MainWindowViewModel.cs 470 B

12345678910111213141516171819
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace examPrepare.ViewModels
  8. {
  9. internal class MainWindowViewModel : INotifyPropertyChanged
  10. {
  11. public event PropertyChangedEventHandler PropertyChanged;
  12. protected void OnPropertyChanged(string propertyName)
  13. {
  14. PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
  15. }
  16. }
  17. }