private void UpdateCurrentProjectNote(object sender, EventArgs eventArgs) { CurrentProjectNote = ProjectNotes.CurrentItem; if (CurrentProjectNote != null) { CurrentProjectNote.Preload(); } }
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(); }