muhamadramandani095

odonto-detail-viewmodel

Sep 3rd, 2020
754
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class OdontoDetailViewModel : INotifyPropertyChanged
  2. {
  3.     public int No { get; set; }
  4.     public bool KavitasKiri { get; set; }
  5.     public bool KavitasKanan { get; set; }
  6.     public bool KavitasAtas { get; set; }
  7.     public bool KavitasBawah { get; set; }
  8.     public bool KavitasTengah { get; set; }
  9.     public bool TambalanKiri { get; set; }
  10.     public bool TambalanKanan { get; set; }
  11.     public bool TambalanAtas { get; set; }
  12.     public bool TambalanBawah { get; set; }
  13.     public bool TambalanTengah { get; set; }
  14.     public bool TidakAda { get; set; }
  15.     public bool Pulpitis { get; set; }
  16.     public bool GanggrenPulpae { get; set; }
  17.     public bool Radix { get; set; }
  18.     public bool Granuloom { get; set; }
  19.     public bool Kyste { get; set; }
  20.     public bool Pyorrhoe { get; set; }
  21.     public bool KariesMedia { get; set; }
  22.     public bool Karisnoma { get; set; }
  23.  
  24.     private string summary;
  25.     public string Summary
  26.     {
  27.         get => summary; set
  28.         {
  29.             summary = value;
  30.             OnPropertyChanged("Summary");
  31.         }
  32.     }
  33.  
  34.     public event PropertyChangedEventHandler PropertyChanged;
  35.     public void OnPropertyChanged(string name)
  36.     {
  37.         PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
  38.     }
  39. }
RAW Paste Data