Beispiel #1
0
 public void AddNewNote(Note note)
 {
     if (this.ShowNotes)
     {
         CollectionNotes.Add(note);
     }
     this.OnPropertyChanged("NotesCount");
 }
Beispiel #2
0
 public void Refresh()
 {
     CollectionNotes.Clear();
     foreach (var item in GetNote())
     {
         CollectionNotes.Add(item);
     }
     this.OnPropertyChanged(nameof(NotesCount));
 }