protected virtual void OnFactDetails_ShowScrapBook (object sender, ScrapBookArgs e) { if (ShowScrapBook != null) { ShowScrapBook(this, e); } }
protected void OnShowScrapBook(object sender, ScrapBookArgs e) { ScrapBookDialog scrapBookDialog = new ScrapBookDialog(); if (sender is Gtk.Dialog) { scrapBookDialog.TransientFor = (Gtk.Window)sender; } else { scrapBookDialog.TransientFor = this; } scrapBookDialog.Database = _database; scrapBookDialog.Record = e.Record; scrapBookDialog.Title = "Scrapbook"; scrapBookDialog.Response += OnShowScrapBook_Response; scrapBookDialog.ShowSourceCitation += OnShowSourceCitation; scrapBookDialog.SelectNewNote += OnSelectNewNote; scrapBookDialog.Run(); }
protected virtual void OnFamilyMoreView_ShowScrapBook (object sender, ScrapBookArgs e) { if (ShowScrapBook != null) { ShowScrapBook(this, e); } }
protected virtual void OnMarriageScrapbookButton_Clicked(object sender, System.EventArgs e) { Save(); if (_famRecord.Marriage != null) { if (ShowScrapBook != null) { ScrapBookArgs args = new ScrapBookArgs(); args.Record = _famRecord.Marriage; ShowScrapBook(this, args); } } }
protected void OnScrapBookButtonClicked(object sender, EventArgs e) { if (ShowScrapBook != null) { ScrapBookArgs args = new ScrapBookArgs(); args.Record = Record; ShowScrapBook(this, args); } }
protected virtual void OnMarriageScrapbookButton_Clicked(object sender, ScrapBookArgs e) { SaveView(); if (_famRecord.Marriage != null) { if (ShowScrapBook != null) { ShowScrapBook(this, e); } } }
protected virtual void OnWifeScrapBookButtonClicked(object sender, EventArgs e) { SaveView(); if (ShowScrapBook != null) { ScrapBookArgs args = new ScrapBookArgs(); args.Record = _wife; ShowScrapBook(this, args); } }
protected virtual void OnEventScrapbookButton_Clicked(object sender, System.EventArgs e) { if (ShowScrapBook != null) { ScrapBookArgs args = new ScrapBookArgs(); args.Record = _event; ShowScrapBook(this, args); } }
protected virtual void OnAddressView_ShowScrapBook (object sender, ScrapBookArgs e) { if (ShowScrapBook != null) { ShowScrapBook(this, e); } }
protected virtual void OnMarriageScrapbookButton_Clicked(object sender, ScrapBookArgs e) { if (ShowScrapBook != null) { ShowScrapBook(this, e); } }
protected virtual void OnEventScrapbookButton_Clicked(object sender, ScrapBookArgs e) { SaveView(); if (ShowScrapBook != null) { ShowScrapBook(this, e); } }
protected virtual void OnIndiScrapbookButton_Clicked(object sender, System.EventArgs e) { SaveView(); if (ShowScrapBook != null) { ScrapBookArgs args = new ScrapBookArgs(); args.Record = _indi; ShowScrapBook(this, args); } }