protected virtual void OnFamilyMoreView_SelectNewNote (object sender, NoteArgs e) { if (SelectNewNote != null) { SelectNewNote(this, e); } }
protected virtual void OnContentNameView_SelectNewNote (object sender, NoteArgs e) { if (SelectNewNote != null) { SelectNewNote(this, e); } }
protected void OnSelectNewNote(object sender, NoteArgs e) { NoteListDialog listDialog = new NoteListDialog(); if (sender is Gtk.Dialog) { listDialog.TransientFor = (Gtk.Window)sender; } else { listDialog.TransientFor = this; } listDialog.Database = _database; listDialog.Record = null; listDialog.Modal = true; int response = listDialog.Run(); if (response == (int)Gtk.ResponseType.Apply) { e.Note = listDialog.Note; } else if (response == (int)Gtk.ResponseType.Ok) { // Create new note GedcomNoteRecord note = new GedcomNoteRecord(_database); e.Note = note; } listDialog.Destroy(); }
protected virtual void OnScrapBookList_SelectNewNote (object sender, NoteArgs e) { if (SelectNewNote != null) { SelectNewNote(this, e); } }
protected virtual void OnSourceCitationView_SelectNewNote (object sender, NoteArgs e) { if (SelectNewNote != null) { SelectNewNote(this, e); } }
protected virtual void OnAddNoteButton_Clicked (object sender, System.EventArgs e) { if (SelectNewNote != null) { NoteArgs args = new NoteArgs(); SelectNewNote(this, args); if (args.Note != null) { DoAddNote(args.Note); } } }
protected virtual void OnSubmitterView_SelectNewNote (object sender, NoteArgs e) { if (SelectNewNote != null) { SelectNewNote(this, e); } }
protected virtual void OnIndividualView_SelectNewNote (object sender, NoteArgs e) { if (SelectNewNote != null) { SelectNewNote(this, e); } }
protected virtual void OnNotesView_SelectNewNote (object sender, NoteArgs e) { SaveView(); if (SelectNewNote != null) { SelectNewNote(this, e); } }
protected virtual void OnFactDetails_SelectNewNote (object sender, NoteArgs e) { if (SelectNewNote != null) { SelectNewNote(this, e); } }