Пример #1
0
 private void UpdateCurrentProjectNote(object sender, EventArgs eventArgs)
 {
     CurrentProjectNote = ProjectNotes.CurrentItem;
     if (CurrentProjectNote != null)
     {
         CurrentProjectNote.Preload();
     }
 }
Пример #2
0
 private void UpdateCurrentProjectNote(object sender, EventArgs eventArgs)
 {
     PreviousProjectNote = ProjectNotes.Previous;
     CurrentProjectNote  = ProjectNotes.CurrentItem;
     NextProjectNote     = ProjectNotes.Next;
     if (CurrentProjectNote == null)
     {
         return;
     }
     PreviousProjectNote.Preload();
     CurrentProjectNote.Preload();
     NextProjectNote.Preload();
 }