Esempio n. 1
0
		protected virtual void OnFactDetails_ShowScrapBook (object sender, ScrapBookArgs e)
		{
			if (ShowScrapBook != null)
			{
				ShowScrapBook(this, e);
			}
		}
Esempio n. 2
0
	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();
	}
Esempio n. 3
0
		protected virtual void OnFamilyMoreView_ShowScrapBook (object sender, ScrapBookArgs e)
		{
			if (ShowScrapBook != null)
			{
				ShowScrapBook(this, e);
			}
		}
Esempio n. 4
0
		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);
			}
		}
Esempio n. 6
0
		protected virtual void OnMarriageScrapbookButton_Clicked(object sender, ScrapBookArgs e)
		{
			SaveView();
			
			if (_famRecord.Marriage != null)
			{
				if (ShowScrapBook != null)
				{
					ShowScrapBook(this, e);
				}
			}
		}
Esempio n. 7
0
		protected virtual void OnWifeScrapBookButtonClicked(object sender, EventArgs e)
		{
			SaveView();
			
			if (ShowScrapBook != null)
			{
				ScrapBookArgs args = new ScrapBookArgs();
				args.Record = _wife;
				ShowScrapBook(this, args);
			}
		}
Esempio n. 8
0
		protected virtual void OnEventScrapbookButton_Clicked(object sender, System.EventArgs e)
		{
			if (ShowScrapBook != null)
			{
				ScrapBookArgs args = new ScrapBookArgs();
				args.Record = _event;
				ShowScrapBook(this, args);
			}
		}	
Esempio n. 9
0
		protected virtual void OnAddressView_ShowScrapBook (object sender, ScrapBookArgs e)
		{
			if (ShowScrapBook != null)
			{
				ShowScrapBook(this, e);
			}
		}
Esempio n. 10
0
		protected virtual void OnMarriageScrapbookButton_Clicked(object sender, ScrapBookArgs e)
		{
			if (ShowScrapBook != null)
			{

				ShowScrapBook(this, e);
			}
		}
Esempio n. 11
0
		protected virtual void OnEventScrapbookButton_Clicked(object sender, ScrapBookArgs e)
		{
			SaveView();
			
			if (ShowScrapBook != null)
			{
				ShowScrapBook(this, e);
			}
		}
Esempio n. 12
0
		protected virtual void OnIndiScrapbookButton_Clicked(object sender, System.EventArgs e)
		{
			SaveView();
			
			if (ShowScrapBook != null)
			{
				ScrapBookArgs args = new ScrapBookArgs();
				args.Record = _indi;
				ShowScrapBook(this, args);
			}
		}