protected virtual void Build() {
     Stetic.Gui.Initialize(this);
     // Widget Gedcom.UI.GTK.Widgets.SourceView
     Stetic.BinContainer.Attach(this);
     this.Events = ((Gdk.EventMask)(256));
     this.Name = "Gedcom.UI.GTK.Widgets.SourceView";
     // Container child Gedcom.UI.GTK.Widgets.SourceView.Gtk.Container+ContainerChild
     this.Notebook = new Gtk.Notebook();
     this.Notebook.CanFocus = true;
     this.Notebook.Name = "Notebook";
     this.Notebook.CurrentPage = 2;
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.table1 = new Gtk.Table(((uint)(6)), ((uint)(2)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(12));
     this.table1.BorderWidth = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.FiledByEntry = new Gtk.Entry();
     this.FiledByEntry.CanFocus = true;
     this.FiledByEntry.Name = "FiledByEntry";
     this.FiledByEntry.IsEditable = true;
     this.FiledByEntry.InvisibleChar = '●';
     this.table1.Add(this.FiledByEntry);
     Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.FiledByEntry]));
     w1.TopAttach = ((uint)(2));
     w1.BottomAttach = ((uint)(3));
     w1.LeftAttach = ((uint)(1));
     w1.RightAttach = ((uint)(2));
     w1.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox4 = new Gtk.HBox();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.ScrapBookButton = new Gtk.Button();
     this.ScrapBookButton.CanFocus = true;
     this.ScrapBookButton.Name = "ScrapBookButton";
     // Container child ScrapBookButton.Gtk.Container+ContainerChild
     Gtk.Alignment w2 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w3 = new Gtk.HBox();
     w3.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w4 = new Gtk.Image();
     w4.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-paste", Gtk.IconSize.Button, 20);
     w3.Add(w4);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w6 = new Gtk.Label();
     w6.LabelProp = "Scrapbook";
     w3.Add(w6);
     w2.Add(w3);
     this.ScrapBookButton.Add(w2);
     this.hbox4.Add(this.ScrapBookButton);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox4[this.ScrapBookButton]));
     w10.PackType = ((Gtk.PackType)(1));
     w10.Position = 1;
     w10.Expand = false;
     w10.Fill = false;
     this.table1.Add(this.hbox4);
     Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.hbox4]));
     w11.TopAttach = ((uint)(3));
     w11.BottomAttach = ((uint)(4));
     w11.RightAttach = ((uint)(2));
     w11.XOptions = ((Gtk.AttachOptions)(4));
     w11.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label10 = new Gtk.Label();
     this.label10.Name = "label10";
     this.label10.Xalign = 0F;
     this.label10.LabelProp = "Publication Facts:";
     this.table1.Add(this.label10);
     Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.label10]));
     w12.TopAttach = ((uint)(4));
     w12.BottomAttach = ((uint)(5));
     w12.XOptions = ((Gtk.AttachOptions)(4));
     w12.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label18 = new Gtk.Label();
     this.label18.Name = "label18";
     this.label18.Xalign = 0F;
     this.label18.LabelProp = "Author:";
     this.table1.Add(this.label18);
     Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table1[this.label18]));
     w13.TopAttach = ((uint)(1));
     w13.BottomAttach = ((uint)(2));
     w13.XOptions = ((Gtk.AttachOptions)(4));
     w13.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label4 = new Gtk.Label();
     this.label4.Name = "label4";
     this.label4.Xalign = 0F;
     this.label4.LabelProp = "Title:";
     this.table1.Add(this.label4);
     Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table1[this.label4]));
     w14.XOptions = ((Gtk.AttachOptions)(4));
     w14.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label8 = new Gtk.Label();
     this.label8.Name = "label8";
     this.label8.Xalign = 0F;
     this.label8.LabelProp = "Filed By:";
     this.table1.Add(this.label8);
     Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table1[this.label8]));
     w15.TopAttach = ((uint)(2));
     w15.BottomAttach = ((uint)(3));
     w15.XOptions = ((Gtk.AttachOptions)(4));
     w15.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.OriginatorEntry = new Gtk.Entry();
     this.OriginatorEntry.CanFocus = true;
     this.OriginatorEntry.Name = "OriginatorEntry";
     this.OriginatorEntry.IsEditable = true;
     this.OriginatorEntry.InvisibleChar = '●';
     this.table1.Add(this.OriginatorEntry);
     Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table1[this.OriginatorEntry]));
     w16.TopAttach = ((uint)(1));
     w16.BottomAttach = ((uint)(2));
     w16.LeftAttach = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.scrolledwindow5 = new Gtk.ScrolledWindow();
     this.scrolledwindow5.CanFocus = true;
     this.scrolledwindow5.Name = "scrolledwindow5";
     this.scrolledwindow5.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow5.Gtk.Container+ContainerChild
     this.PublicationFactsTextView = new Gtk.TextView();
     this.PublicationFactsTextView.CanFocus = true;
     this.PublicationFactsTextView.Name = "PublicationFactsTextView";
     this.scrolledwindow5.Add(this.PublicationFactsTextView);
     this.table1.Add(this.scrolledwindow5);
     Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table1[this.scrolledwindow5]));
     w18.TopAttach = ((uint)(5));
     w18.BottomAttach = ((uint)(6));
     w18.RightAttach = ((uint)(2));
     // Container child table1.Gtk.Table+TableChild
     this.TitleEntry = new Gtk.Entry();
     this.TitleEntry.CanFocus = true;
     this.TitleEntry.Name = "TitleEntry";
     this.TitleEntry.IsEditable = true;
     this.TitleEntry.InvisibleChar = '●';
     this.table1.Add(this.TitleEntry);
     Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table1[this.TitleEntry]));
     w19.LeftAttach = ((uint)(1));
     w19.RightAttach = ((uint)(2));
     w19.XOptions = ((Gtk.AttachOptions)(4));
     w19.YOptions = ((Gtk.AttachOptions)(4));
     this.Notebook.Add(this.table1);
     // Notebook tab
     this.label5 = new Gtk.Label();
     this.label5.Name = "label5";
     this.label5.LabelProp = "Details";
     this.Notebook.SetTabLabel(this.table1, this.label5);
     this.label5.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.table2 = new Gtk.Table(((uint)(6)), ((uint)(4)), false);
     this.table2.Name = "table2";
     this.table2.RowSpacing = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(12));
     this.table2.BorderWidth = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.DateRecordedEntry = new Gtk.Entry();
     this.DateRecordedEntry.CanFocus = true;
     this.DateRecordedEntry.Name = "DateRecordedEntry";
     this.DateRecordedEntry.IsEditable = true;
     this.DateRecordedEntry.InvisibleChar = '●';
     this.table2.Add(this.DateRecordedEntry);
     Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table2[this.DateRecordedEntry]));
     w21.TopAttach = ((uint)(2));
     w21.BottomAttach = ((uint)(3));
     w21.LeftAttach = ((uint)(1));
     w21.RightAttach = ((uint)(2));
     w21.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.hbox3 = new Gtk.HBox();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.scrolledwindow6 = new Gtk.ScrolledWindow();
     this.scrolledwindow6.CanFocus = true;
     this.scrolledwindow6.Name = "scrolledwindow6";
     this.scrolledwindow6.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow6.Gtk.Container+ContainerChild
     Gtk.Viewport w22 = new Gtk.Viewport();
     w22.ShadowType = ((Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.EventGroupTreeView = new Gtk.TreeView();
     this.EventGroupTreeView.CanFocus = true;
     this.EventGroupTreeView.Name = "EventGroupTreeView";
     w22.Add(this.EventGroupTreeView);
     this.scrolledwindow6.Add(w22);
     this.hbox3.Add(this.scrolledwindow6);
     Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.hbox3[this.scrolledwindow6]));
     w25.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.vbuttonbox1 = new Gtk.VButtonBox();
     this.vbuttonbox1.Name = "vbuttonbox1";
     this.vbuttonbox1.Spacing = 6;
     this.vbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(3));
     // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.NewEventGroupButton = new Gtk.Button();
     this.NewEventGroupButton.CanFocus = true;
     this.NewEventGroupButton.Name = "NewEventGroupButton";
     this.NewEventGroupButton.UseStock = true;
     this.NewEventGroupButton.UseUnderline = true;
     this.NewEventGroupButton.Label = "gtk-new";
     this.vbuttonbox1.Add(this.NewEventGroupButton);
     Gtk.ButtonBox.ButtonBoxChild w26 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.NewEventGroupButton]));
     w26.Expand = false;
     w26.Fill = false;
     this.hbox3.Add(this.vbuttonbox1);
     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.hbox3[this.vbuttonbox1]));
     w27.Position = 1;
     w27.Expand = false;
     w27.Fill = false;
     this.table2.Add(this.hbox3);
     Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.table2[this.hbox3]));
     w28.TopAttach = ((uint)(5));
     w28.BottomAttach = ((uint)(6));
     w28.RightAttach = ((uint)(4));
     // Container child table2.Gtk.Table+TableChild
     this.hseparator1 = new Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     this.table2.Add(this.hseparator1);
     Gtk.Table.TableChild w29 = ((Gtk.Table.TableChild)(this.table2[this.hseparator1]));
     w29.TopAttach = ((uint)(3));
     w29.BottomAttach = ((uint)(4));
     w29.RightAttach = ((uint)(4));
     w29.XOptions = ((Gtk.AttachOptions)(4));
     w29.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.Xalign = 0F;
     this.label1.LabelProp = "Event Groups:";
     this.table2.Add(this.label1);
     Gtk.Table.TableChild w30 = ((Gtk.Table.TableChild)(this.table2[this.label1]));
     w30.TopAttach = ((uint)(4));
     w30.BottomAttach = ((uint)(5));
     w30.XOptions = ((Gtk.AttachOptions)(4));
     w30.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label16 = new Gtk.Label();
     this.label16.Name = "label16";
     this.label16.Xalign = 0F;
     this.label16.LabelProp = "Date Recorded:";
     this.table2.Add(this.label16);
     Gtk.Table.TableChild w31 = ((Gtk.Table.TableChild)(this.table2[this.label16]));
     w31.TopAttach = ((uint)(2));
     w31.BottomAttach = ((uint)(3));
     w31.XOptions = ((Gtk.AttachOptions)(4));
     w31.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label17 = new Gtk.Label();
     this.label17.Name = "label17";
     this.label17.Xalign = 0F;
     this.label17.LabelProp = "Events in selected group:";
     this.table2.Add(this.label17);
     Gtk.Table.TableChild w32 = ((Gtk.Table.TableChild)(this.table2[this.label17]));
     w32.RightAttach = ((uint)(4));
     w32.XOptions = ((Gtk.AttachOptions)(4));
     w32.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label2 = new Gtk.Label();
     this.label2.Name = "label2";
     this.label2.LabelProp = "in";
     this.table2.Add(this.label2);
     Gtk.Table.TableChild w33 = ((Gtk.Table.TableChild)(this.table2[this.label2]));
     w33.TopAttach = ((uint)(2));
     w33.BottomAttach = ((uint)(3));
     w33.LeftAttach = ((uint)(2));
     w33.RightAttach = ((uint)(3));
     w33.XOptions = ((Gtk.AttachOptions)(4));
     w33.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.PlaceRecordedEntry = new Gtk.Entry();
     this.PlaceRecordedEntry.CanFocus = true;
     this.PlaceRecordedEntry.Name = "PlaceRecordedEntry";
     this.PlaceRecordedEntry.IsEditable = true;
     this.PlaceRecordedEntry.InvisibleChar = '●';
     this.table2.Add(this.PlaceRecordedEntry);
     Gtk.Table.TableChild w34 = ((Gtk.Table.TableChild)(this.table2[this.PlaceRecordedEntry]));
     w34.TopAttach = ((uint)(2));
     w34.BottomAttach = ((uint)(3));
     w34.LeftAttach = ((uint)(3));
     w34.RightAttach = ((uint)(4));
     w34.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.scrolledwindow9 = new Gtk.ScrolledWindow();
     this.scrolledwindow9.CanFocus = true;
     this.scrolledwindow9.Name = "scrolledwindow9";
     this.scrolledwindow9.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow9.Gtk.Container+ContainerChild
     Gtk.Viewport w35 = new Gtk.Viewport();
     w35.ShadowType = ((Gtk.ShadowType)(0));
     // Container child GtkViewport1.Gtk.Container+ContainerChild
     this.EventTypeTreeView = new Gtk.TreeView();
     this.EventTypeTreeView.CanFocus = true;
     this.EventTypeTreeView.Name = "EventTypeTreeView";
     this.EventTypeTreeView.RulesHint = true;
     w35.Add(this.EventTypeTreeView);
     this.scrolledwindow9.Add(w35);
     this.table2.Add(this.scrolledwindow9);
     Gtk.Table.TableChild w38 = ((Gtk.Table.TableChild)(this.table2[this.scrolledwindow9]));
     w38.TopAttach = ((uint)(1));
     w38.BottomAttach = ((uint)(2));
     w38.RightAttach = ((uint)(4));
     w38.XOptions = ((Gtk.AttachOptions)(4));
     this.Notebook.Add(this.table2);
     Gtk.Notebook.NotebookChild w39 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.table2]));
     w39.Position = 1;
     // Notebook tab
     this.label6 = new Gtk.Label();
     this.label6.Name = "label6";
     this.label6.LabelProp = "Events Recorded";
     this.Notebook.SetTabLabel(this.table2, this.label6);
     this.label6.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.table3 = new Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.table3.Name = "table3";
     this.table3.RowSpacing = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(12));
     this.table3.BorderWidth = ((uint)(6));
     // Container child table3.Gtk.Table+TableChild
     this.AgencyTextBox = new Gtk.Entry();
     this.AgencyTextBox.CanFocus = true;
     this.AgencyTextBox.Name = "AgencyTextBox";
     this.AgencyTextBox.IsEditable = true;
     this.AgencyTextBox.InvisibleChar = '●';
     this.table3.Add(this.AgencyTextBox);
     Gtk.Table.TableChild w40 = ((Gtk.Table.TableChild)(this.table3[this.AgencyTextBox]));
     w40.LeftAttach = ((uint)(1));
     w40.RightAttach = ((uint)(2));
     w40.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.DataNotesView = new Gedcom.UI.GTK.Widgets.NotesView();
     this.DataNotesView.Events = ((Gdk.EventMask)(256));
     this.DataNotesView.Name = "DataNotesView";
     this.DataNotesView.DataNotes = true;
     this.DataNotesView.ListOnly = false;
     this.DataNotesView.NoteOnly = false;
     this.table3.Add(this.DataNotesView);
     Gtk.Table.TableChild w41 = ((Gtk.Table.TableChild)(this.table3[this.DataNotesView]));
     w41.TopAttach = ((uint)(1));
     w41.BottomAttach = ((uint)(2));
     w41.RightAttach = ((uint)(2));
     // Container child table3.Gtk.Table+TableChild
     this.label3 = new Gtk.Label();
     this.label3.Name = "label3";
     this.label3.Xalign = 0F;
     this.label3.LabelProp = "Agency:";
     this.table3.Add(this.label3);
     Gtk.Table.TableChild w42 = ((Gtk.Table.TableChild)(this.table3[this.label3]));
     w42.XOptions = ((Gtk.AttachOptions)(4));
     w42.YOptions = ((Gtk.AttachOptions)(4));
     this.Notebook.Add(this.table3);
     Gtk.Notebook.NotebookChild w43 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.table3]));
     w43.Position = 2;
     // Notebook tab
     this.label7 = new Gtk.Label();
     this.label7.Name = "label7";
     this.label7.LabelProp = "Data Information";
     this.Notebook.SetTabLabel(this.table3, this.label7);
     this.label7.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.scrolledwindow2 = new Gtk.ScrolledWindow();
     this.scrolledwindow2.CanFocus = true;
     this.scrolledwindow2.Name = "scrolledwindow2";
     this.scrolledwindow2.ShadowType = ((Gtk.ShadowType)(1));
     this.scrolledwindow2.BorderWidth = ((uint)(6));
     // Container child scrolledwindow2.Gtk.Container+ContainerChild
     this.TextTextView = new Gtk.TextView();
     this.TextTextView.CanFocus = true;
     this.TextTextView.Name = "TextTextView";
     this.scrolledwindow2.Add(this.TextTextView);
     this.Notebook.Add(this.scrolledwindow2);
     Gtk.Notebook.NotebookChild w45 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.scrolledwindow2]));
     w45.Position = 3;
     // Notebook tab
     this.label15 = new Gtk.Label();
     this.label15.Name = "label15";
     this.label15.LabelProp = "Text";
     this.Notebook.SetTabLabel(this.scrolledwindow2, this.label15);
     this.label15.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.NotesView = new Gedcom.UI.GTK.Widgets.NotesView();
     this.NotesView.Events = ((Gdk.EventMask)(256));
     this.NotesView.Name = "NotesView";
     this.NotesView.DataNotes = false;
     this.NotesView.ListOnly = false;
     this.NotesView.NoteOnly = false;
     this.Notebook.Add(this.NotesView);
     Gtk.Notebook.NotebookChild w46 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.NotesView]));
     w46.Position = 4;
     // Notebook tab
     this.label9 = new Gtk.Label();
     this.label9.Name = "label9";
     this.label9.LabelProp = "Notes";
     this.Notebook.SetTabLabel(this.NotesView, this.label9);
     this.label9.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.table4 = new Gtk.Table(((uint)(4)), ((uint)(4)), false);
     this.table4.Name = "table4";
     this.table4.RowSpacing = ((uint)(6));
     this.table4.ColumnSpacing = ((uint)(12));
     this.table4.BorderWidth = ((uint)(6));
     // Container child table4.Gtk.Table+TableChild
     this.CallNumberEntry = new Gtk.Entry();
     this.CallNumberEntry.CanFocus = true;
     this.CallNumberEntry.Name = "CallNumberEntry";
     this.CallNumberEntry.IsEditable = true;
     this.CallNumberEntry.InvisibleChar = '●';
     this.table4.Add(this.CallNumberEntry);
     Gtk.Table.TableChild w47 = ((Gtk.Table.TableChild)(this.table4[this.CallNumberEntry]));
     w47.LeftAttach = ((uint)(1));
     w47.RightAttach = ((uint)(2));
     w47.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label12 = new Gtk.Label();
     this.label12.Name = "label12";
     this.label12.Xalign = 0F;
     this.label12.LabelProp = "Call Number:";
     this.table4.Add(this.label12);
     Gtk.Table.TableChild w48 = ((Gtk.Table.TableChild)(this.table4[this.label12]));
     w48.XOptions = ((Gtk.AttachOptions)(4));
     w48.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label13 = new Gtk.Label();
     this.label13.Name = "label13";
     this.label13.Xalign = 0F;
     this.label13.LabelProp = "Media Type:";
     this.table4.Add(this.label13);
     Gtk.Table.TableChild w49 = ((Gtk.Table.TableChild)(this.table4[this.label13]));
     w49.LeftAttach = ((uint)(2));
     w49.RightAttach = ((uint)(3));
     w49.XOptions = ((Gtk.AttachOptions)(4));
     w49.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label14 = new Gtk.Label();
     this.label14.Name = "label14";
     this.label14.Xalign = 0F;
     this.label14.LabelProp = "Notes:";
     this.table4.Add(this.label14);
     Gtk.Table.TableChild w50 = ((Gtk.Table.TableChild)(this.table4[this.label14]));
     w50.TopAttach = ((uint)(2));
     w50.BottomAttach = ((uint)(3));
     w50.XOptions = ((Gtk.AttachOptions)(4));
     w50.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.MediaTypeCombo = new Gtk.ComboBox();
     this.MediaTypeCombo.Name = "MediaTypeCombo";
     this.table4.Add(this.MediaTypeCombo);
     Gtk.Table.TableChild w51 = ((Gtk.Table.TableChild)(this.table4[this.MediaTypeCombo]));
     w51.LeftAttach = ((uint)(3));
     w51.RightAttach = ((uint)(4));
     w51.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.RepoNotesView = new Gedcom.UI.GTK.Widgets.NotesView();
     this.RepoNotesView.Events = ((Gdk.EventMask)(256));
     this.RepoNotesView.Name = "RepoNotesView";
     this.RepoNotesView.DataNotes = false;
     this.RepoNotesView.ListOnly = false;
     this.RepoNotesView.NoteOnly = false;
     this.table4.Add(this.RepoNotesView);
     Gtk.Table.TableChild w52 = ((Gtk.Table.TableChild)(this.table4[this.RepoNotesView]));
     w52.TopAttach = ((uint)(3));
     w52.BottomAttach = ((uint)(4));
     w52.RightAttach = ((uint)(4));
     w52.XOptions = ((Gtk.AttachOptions)(4));
     w52.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.scrolledwindow4 = new Gtk.ScrolledWindow();
     this.scrolledwindow4.CanFocus = true;
     this.scrolledwindow4.Name = "scrolledwindow4";
     this.scrolledwindow4.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow4.Gtk.Container+ContainerChild
     this.CallNumberTreeView = new Gtk.TreeView();
     this.CallNumberTreeView.CanFocus = true;
     this.CallNumberTreeView.Name = "CallNumberTreeView";
     this.scrolledwindow4.Add(this.CallNumberTreeView);
     this.table4.Add(this.scrolledwindow4);
     Gtk.Table.TableChild w54 = ((Gtk.Table.TableChild)(this.table4[this.scrolledwindow4]));
     w54.TopAttach = ((uint)(1));
     w54.BottomAttach = ((uint)(2));
     w54.RightAttach = ((uint)(4));
     this.Notebook.Add(this.table4);
     Gtk.Notebook.NotebookChild w55 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.table4]));
     w55.Position = 5;
     // Notebook tab
     this.label11 = new Gtk.Label();
     this.label11.Name = "label11";
     this.label11.LabelProp = "Repositories";
     this.Notebook.SetTabLabel(this.table4, this.label11);
     this.label11.ShowAll();
     this.Add(this.Notebook);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Show();
     this.Notebook.SwitchPage += new Gtk.SwitchPageHandler(this.OnNotebook_SwitchPage);
     this.ScrapBookButton.Clicked += new System.EventHandler(this.OnScrapbookButton_Clicked);
     this.EventGroupTreeView.ButtonPressEvent += new Gtk.ButtonPressEventHandler(this.OnEventGroupTreeView_ButtonPressEvent);
     this.NewEventGroupButton.Clicked += new System.EventHandler(this.OnNewEventGroupButton_Clicked);
     this.NotesView.ShowSourceCitation += new System.EventHandler<Gedcom.UI.Common.SourceCitationArgs>(this.OnNotesView_ShowSourceCitation);
     this.NotesView.SelectNewNote += new System.EventHandler<Gedcom.UI.Common.NoteArgs>(this.OnNotesView_SelectNewNote);
 }
 protected virtual void Build() {
     Stetic.Gui.Initialize(this);
     // Widget Gedcom.UI.GTK.Widgets.ScrapBookView
     Stetic.BinContainer.Attach(this);
     this.Events = ((Gdk.EventMask)(256));
     this.Name = "Gedcom.UI.GTK.Widgets.ScrapBookView";
     // Container child Gedcom.UI.GTK.Widgets.ScrapBookView.Gtk.Container+ContainerChild
     this.hbox1 = new Gtk.HBox();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox2 = new Gtk.VBox();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.RecordsScrolledWindow = new Gtk.ScrolledWindow();
     this.RecordsScrolledWindow.CanFocus = true;
     this.RecordsScrolledWindow.Name = "RecordsScrolledWindow";
     this.RecordsScrolledWindow.HscrollbarPolicy = ((Gtk.PolicyType)(2));
     this.RecordsScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
     // Container child RecordsScrolledWindow.Gtk.Container+ContainerChild
     this.RecordTreeView = new Gtk.TreeView();
     this.RecordTreeView.CanFocus = true;
     this.RecordTreeView.Name = "RecordTreeView";
     this.RecordsScrolledWindow.Add(this.RecordTreeView);
     this.vbox2.Add(this.RecordsScrolledWindow);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.RecordsScrolledWindow]));
     w2.Position = 0;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbuttonbox2 = new Gtk.HButtonBox();
     this.hbuttonbox2.Name = "hbuttonbox2";
     this.hbuttonbox2.Spacing = 6;
     this.hbuttonbox2.LayoutStyle = ((Gtk.ButtonBoxStyle)(3));
     // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
     this.AddRecordButton = new Gtk.Button();
     this.AddRecordButton.CanFocus = true;
     this.AddRecordButton.Name = "AddRecordButton";
     this.AddRecordButton.UseStock = true;
     this.AddRecordButton.UseUnderline = true;
     this.AddRecordButton.Label = "gtk-add";
     this.hbuttonbox2.Add(this.AddRecordButton);
     Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.AddRecordButton]));
     w3.Expand = false;
     w3.Fill = false;
     // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
     this.RemoveRecordButton = new Gtk.Button();
     this.RemoveRecordButton.CanFocus = true;
     this.RemoveRecordButton.Name = "RemoveRecordButton";
     this.RemoveRecordButton.UseStock = true;
     this.RemoveRecordButton.UseUnderline = true;
     this.RemoveRecordButton.Label = "gtk-remove";
     this.hbuttonbox2.Add(this.RemoveRecordButton);
     Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.RemoveRecordButton]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     this.vbox2.Add(this.hbuttonbox2);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbuttonbox2]));
     w5.Position = 1;
     w5.Expand = false;
     w5.Fill = false;
     this.hbox1.Add(this.vbox2);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox2]));
     w6.Position = 0;
     w6.Expand = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vseparator1 = new Gtk.VSeparator();
     this.vseparator1.Name = "vseparator1";
     this.hbox1.Add(this.vseparator1);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox1[this.vseparator1]));
     w7.Position = 1;
     w7.Expand = false;
     w7.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.DetailsNotebook = new Gtk.Notebook();
     this.DetailsNotebook.CanFocus = true;
     this.DetailsNotebook.Name = "DetailsNotebook";
     this.DetailsNotebook.CurrentPage = 1;
     // Container child DetailsNotebook.Gtk.Notebook+NotebookChild
     this.vbox3 = new Gtk.VBox();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox2 = new Gtk.HBox();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.LabelProp = "Title:";
     this.hbox2.Add(this.label1);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox2[this.label1]));
     w8.Position = 0;
     w8.Expand = false;
     w8.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.TitleEntry = new Gtk.Entry();
     this.TitleEntry.CanFocus = true;
     this.TitleEntry.Name = "TitleEntry";
     this.TitleEntry.IsEditable = true;
     this.TitleEntry.InvisibleChar = '●';
     this.hbox2.Add(this.TitleEntry);
     Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox2[this.TitleEntry]));
     w9.Position = 1;
     this.vbox3.Add(this.hbox2);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox2]));
     w10.Position = 0;
     w10.Expand = false;
     w10.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.scrolledwindow2 = new Gtk.ScrolledWindow();
     this.scrolledwindow2.CanFocus = true;
     this.scrolledwindow2.Name = "scrolledwindow2";
     this.scrolledwindow2.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow2.Gtk.Container+ContainerChild
     this.FileTreeView = new Gtk.TreeView();
     this.FileTreeView.CanFocus = true;
     this.FileTreeView.Name = "FileTreeView";
     this.scrolledwindow2.Add(this.FileTreeView);
     this.vbox3.Add(this.scrolledwindow2);
     Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox3[this.scrolledwindow2]));
     w12.Position = 1;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbuttonbox3 = new Gtk.HButtonBox();
     this.hbuttonbox3.Name = "hbuttonbox3";
     this.hbuttonbox3.Spacing = 6;
     this.hbuttonbox3.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild
     this.AddFileButton = new Gtk.Button();
     this.AddFileButton.CanFocus = true;
     this.AddFileButton.Name = "AddFileButton";
     this.AddFileButton.UseStock = true;
     this.AddFileButton.UseUnderline = true;
     this.AddFileButton.Label = "gtk-add";
     this.hbuttonbox3.Add(this.AddFileButton);
     Gtk.ButtonBox.ButtonBoxChild w13 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3[this.AddFileButton]));
     w13.Expand = false;
     w13.Fill = false;
     // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild
     this.RemoveFileButton = new Gtk.Button();
     this.RemoveFileButton.CanFocus = true;
     this.RemoveFileButton.Name = "RemoveFileButton";
     this.RemoveFileButton.UseStock = true;
     this.RemoveFileButton.UseUnderline = true;
     this.RemoveFileButton.Label = "gtk-remove";
     this.hbuttonbox3.Add(this.RemoveFileButton);
     Gtk.ButtonBox.ButtonBoxChild w14 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3[this.RemoveFileButton]));
     w14.Position = 1;
     w14.Expand = false;
     w14.Fill = false;
     this.vbox3.Add(this.hbuttonbox3);
     Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbuttonbox3]));
     w15.Position = 2;
     w15.Expand = false;
     w15.Fill = false;
     this.DetailsNotebook.Add(this.vbox3);
     // Notebook tab
     this.DetailsLabel = new Gtk.Label();
     this.DetailsLabel.Name = "DetailsLabel";
     this.DetailsLabel.LabelProp = "Details";
     this.DetailsNotebook.SetTabLabel(this.vbox3, this.DetailsLabel);
     this.DetailsLabel.ShowAll();
     // Container child DetailsNotebook.Gtk.Notebook+NotebookChild
     this.NotesView = new Gedcom.UI.GTK.Widgets.NotesView();
     this.NotesView.Events = ((Gdk.EventMask)(256));
     this.NotesView.Name = "NotesView";
     this.NotesView.DataNotes = false;
     this.NotesView.ListOnly = false;
     this.NotesView.NoteOnly = false;
     this.DetailsNotebook.Add(this.NotesView);
     Gtk.Notebook.NotebookChild w17 = ((Gtk.Notebook.NotebookChild)(this.DetailsNotebook[this.NotesView]));
     w17.Position = 1;
     // Notebook tab
     this.label2 = new Gtk.Label();
     this.label2.Name = "label2";
     this.label2.LabelProp = "Notes";
     this.DetailsNotebook.SetTabLabel(this.NotesView, this.label2);
     this.label2.ShowAll();
     this.hbox1.Add(this.DetailsNotebook);
     Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.hbox1[this.DetailsNotebook]));
     w18.Position = 2;
     this.Add(this.hbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Show();
     this.AddRecordButton.Clicked += new System.EventHandler(this.OnAddRecordButton_Clicked);
     this.RemoveRecordButton.Clicked += new System.EventHandler(this.OnRemoveRecordButton_Clicked);
     this.FileTreeView.ButtonPressEvent += new Gtk.ButtonPressEventHandler(this.OnFileTreeView_ButtonPressEvent);
     this.AddFileButton.Clicked += new System.EventHandler(this.OnAddFileButton_Clicked);
     this.RemoveFileButton.Clicked += new System.EventHandler(this.OnRemoveFileButton_Clicked);
     this.NotesView.ShowSourceCitation += new System.EventHandler<Gedcom.UI.Common.SourceCitationArgs>(this.OnNotesView_ShowSourceCitation);
     this.NotesView.SelectNewNote += new System.EventHandler<Gedcom.UI.Common.NoteArgs>(this.OnNotesView_SelectNewNote);
 }
 protected virtual void Build() {
     Stetic.Gui.Initialize(this);
     // Widget Gedcom.UI.GTK.Widgets.NameView
     Stetic.BinContainer.Attach(this);
     this.Name = "Gedcom.UI.GTK.Widgets.NameView";
     // Container child Gedcom.UI.GTK.Widgets.NameView.Gtk.Container+ContainerChild
     this.hbox1 = new Gtk.HBox();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.scrolledwindow2 = new Gtk.ScrolledWindow();
     this.scrolledwindow2.CanFocus = true;
     this.scrolledwindow2.Name = "scrolledwindow2";
     this.scrolledwindow2.HscrollbarPolicy = ((Gtk.PolicyType)(2));
     this.scrolledwindow2.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow2.Gtk.Container+ContainerChild
     this.NamesTreeView = new Gtk.TreeView();
     this.NamesTreeView.CanFocus = true;
     this.NamesTreeView.Name = "NamesTreeView";
     this.scrolledwindow2.Add(this.NamesTreeView);
     this.hbox1.Add(this.scrolledwindow2);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindow2]));
     w2.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.notebook1 = new Gtk.Notebook();
     this.notebook1.CanFocus = true;
     this.notebook1.Name = "notebook1";
     this.notebook1.CurrentPage = 0;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.table1 = new Gtk.Table(((uint)(7)), ((uint)(4)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.GivenEntry = new Gtk.Entry();
     this.GivenEntry.CanFocus = true;
     this.GivenEntry.Name = "GivenEntry";
     this.GivenEntry.IsEditable = true;
     this.GivenEntry.InvisibleChar = '●';
     this.table1.Add(this.GivenEntry);
     Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.GivenEntry]));
     w3.TopAttach = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.LeftAttach = ((uint)(1));
     w3.RightAttach = ((uint)(4));
     w3.XOptions = ((Gtk.AttachOptions)(4));
     w3.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox2 = new Gtk.HBox();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     this.table1.Add(this.hbox2);
     Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.hbox2]));
     w4.TopAttach = ((uint)(3));
     w4.BottomAttach = ((uint)(4));
     w4.LeftAttach = ((uint)(3));
     w4.RightAttach = ((uint)(4));
     w4.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.Xalign = 1F;
     this.label1.LabelProp = "Nickname:";
     this.table1.Add(this.label1);
     Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.label1]));
     w5.TopAttach = ((uint)(5));
     w5.BottomAttach = ((uint)(6));
     w5.XOptions = ((Gtk.AttachOptions)(4));
     w5.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2 = new Gtk.Label();
     this.label2.Name = "label2";
     this.label2.Xalign = 1F;
     this.label2.LabelProp = "Prefix:";
     this.table1.Add(this.label2);
     Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.label2]));
     w6.XOptions = ((Gtk.AttachOptions)(4));
     w6.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3 = new Gtk.Label();
     this.label3.Name = "label3";
     this.label3.Xalign = 1F;
     this.label3.LabelProp = "Given:";
     this.table1.Add(this.label3);
     Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.label3]));
     w7.TopAttach = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.XOptions = ((Gtk.AttachOptions)(4));
     w7.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label4 = new Gtk.Label();
     this.label4.Name = "label4";
     this.label4.Xalign = 1F;
     this.label4.LabelProp = "Surname Prefix:";
     this.table1.Add(this.label4);
     Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.label4]));
     w8.TopAttach = ((uint)(2));
     w8.BottomAttach = ((uint)(3));
     w8.XOptions = ((Gtk.AttachOptions)(4));
     w8.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label5 = new Gtk.Label();
     this.label5.Name = "label5";
     this.label5.Xalign = 1F;
     this.label5.LabelProp = "Surname:";
     this.table1.Add(this.label5);
     Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.label5]));
     w9.TopAttach = ((uint)(3));
     w9.BottomAttach = ((uint)(4));
     w9.XOptions = ((Gtk.AttachOptions)(4));
     w9.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label6 = new Gtk.Label();
     this.label6.Name = "label6";
     this.label6.Xalign = 1F;
     this.label6.LabelProp = "Suffix:";
     this.table1.Add(this.label6);
     Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.label6]));
     w10.TopAttach = ((uint)(4));
     w10.BottomAttach = ((uint)(5));
     w10.XOptions = ((Gtk.AttachOptions)(4));
     w10.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.NameSourceButton = new Gtk.Button();
     this.NameSourceButton.CanFocus = true;
     this.NameSourceButton.Name = "NameSourceButton";
     // Container child NameSourceButton.Gtk.Container+ContainerChild
     this.image438 = new Gtk.Image();
     this.image438.Name = "image438";
     this.image438.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-index", Gtk.IconSize.Button, 20);
     this.NameSourceButton.Add(this.image438);
     this.NameSourceButton.Label = null;
     this.table1.Add(this.NameSourceButton);
     Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.NameSourceButton]));
     w12.TopAttach = ((uint)(5));
     w12.BottomAttach = ((uint)(6));
     w12.LeftAttach = ((uint)(3));
     w12.RightAttach = ((uint)(4));
     w12.XOptions = ((Gtk.AttachOptions)(4));
     w12.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.NicknameEntry = new Gtk.Entry();
     this.NicknameEntry.CanFocus = true;
     this.NicknameEntry.Name = "NicknameEntry";
     this.NicknameEntry.IsEditable = true;
     this.NicknameEntry.InvisibleChar = '●';
     this.table1.Add(this.NicknameEntry);
     Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table1[this.NicknameEntry]));
     w13.TopAttach = ((uint)(5));
     w13.BottomAttach = ((uint)(6));
     w13.LeftAttach = ((uint)(1));
     w13.RightAttach = ((uint)(2));
     w13.XOptions = ((Gtk.AttachOptions)(4));
     w13.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.PreferedCheckbox = new Gtk.CheckButton();
     this.PreferedCheckbox.CanFocus = true;
     this.PreferedCheckbox.Name = "PreferedCheckbox";
     this.PreferedCheckbox.Label = "Use as prefered name";
     this.PreferedCheckbox.DrawIndicator = true;
     this.PreferedCheckbox.UseUnderline = true;
     this.table1.Add(this.PreferedCheckbox);
     Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table1[this.PreferedCheckbox]));
     w14.TopAttach = ((uint)(6));
     w14.BottomAttach = ((uint)(7));
     w14.RightAttach = ((uint)(4));
     w14.XOptions = ((Gtk.AttachOptions)(1));
     w14.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.PrefixComboBoxEntry = new Gtk.ComboBoxEntry();
     this.PrefixComboBoxEntry.Name = "PrefixComboBoxEntry";
     this.table1.Add(this.PrefixComboBoxEntry);
     Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table1[this.PrefixComboBoxEntry]));
     w15.LeftAttach = ((uint)(1));
     w15.RightAttach = ((uint)(2));
     w15.XOptions = ((Gtk.AttachOptions)(4));
     w15.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.SuffixComboBoxEntry = new Gtk.ComboBoxEntry();
     this.SuffixComboBoxEntry.Name = "SuffixComboBoxEntry";
     this.table1.Add(this.SuffixComboBoxEntry);
     Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table1[this.SuffixComboBoxEntry]));
     w16.TopAttach = ((uint)(4));
     w16.BottomAttach = ((uint)(5));
     w16.LeftAttach = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.XOptions = ((Gtk.AttachOptions)(4));
     w16.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.SurnameEntry = new Gtk.Entry();
     this.SurnameEntry.CanFocus = true;
     this.SurnameEntry.Name = "SurnameEntry";
     this.SurnameEntry.IsEditable = true;
     this.SurnameEntry.InvisibleChar = '●';
     this.table1.Add(this.SurnameEntry);
     Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table1[this.SurnameEntry]));
     w17.TopAttach = ((uint)(3));
     w17.BottomAttach = ((uint)(4));
     w17.LeftAttach = ((uint)(1));
     w17.RightAttach = ((uint)(4));
     w17.XOptions = ((Gtk.AttachOptions)(4));
     w17.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.SurnamePrefixComboBoxEntry = new Gtk.ComboBoxEntry();
     this.SurnamePrefixComboBoxEntry.Name = "SurnamePrefixComboBoxEntry";
     this.table1.Add(this.SurnamePrefixComboBoxEntry);
     Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table1[this.SurnamePrefixComboBoxEntry]));
     w18.TopAttach = ((uint)(2));
     w18.BottomAttach = ((uint)(3));
     w18.LeftAttach = ((uint)(1));
     w18.RightAttach = ((uint)(2));
     w18.XOptions = ((Gtk.AttachOptions)(4));
     w18.YOptions = ((Gtk.AttachOptions)(4));
     this.notebook1.Add(this.table1);
     // Notebook tab
     this.label7 = new Gtk.Label();
     this.label7.Name = "label7";
     this.label7.LabelProp = "Name";
     this.notebook1.SetTabLabel(this.table1, this.label7);
     this.label7.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.NotesView = new Gedcom.UI.GTK.Widgets.NotesView();
     this.NotesView.Events = ((Gdk.EventMask)(256));
     this.NotesView.Name = "NotesView";
     this.NotesView.DataNotes = false;
     this.NotesView.ListOnly = false;
     this.NotesView.NoteOnly = false;
     this.notebook1.Add(this.NotesView);
     Gtk.Notebook.NotebookChild w20 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.NotesView]));
     w20.Position = 1;
     // Notebook tab
     this.label8 = new Gtk.Label();
     this.label8.Name = "label8";
     this.label8.LabelProp = "Notes";
     this.notebook1.SetTabLabel(this.NotesView, this.label8);
     this.label8.ShowAll();
     this.hbox1.Add(this.notebook1);
     Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.hbox1[this.notebook1]));
     w21.Position = 1;
     w21.Expand = false;
     w21.Fill = false;
     this.Add(this.hbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Show();
     this.NameSourceButton.Clicked += new System.EventHandler(this.OnNameSourceButton_Clicked);
     this.NotesView.ShowSourceCitation += new System.EventHandler<Gedcom.UI.Common.SourceCitationArgs>(this.OnNotesView_ShowSourceCitation);
     this.NotesView.SelectNewNote += new System.EventHandler<Gedcom.UI.Common.NoteArgs>(this.OnNotesView_SelectNewNote);
 }
 protected virtual void Build() {
     Stetic.Gui.Initialize(this);
     // Widget Gedcom.UI.GTK.Widgets.IndividualView
     Stetic.BinContainer.Attach(this);
     this.Events = ((Gdk.EventMask)(256));
     this.Name = "Gedcom.UI.GTK.Widgets.IndividualView";
     // Container child Gedcom.UI.GTK.Widgets.IndividualView.Gtk.Container+ContainerChild
     this.vbox1 = new Gtk.VBox();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     this.vbox1.BorderWidth = ((uint)(6));
     // Container child vbox1.Gtk.Box+BoxChild
     this.Notebook = new Gtk.Notebook();
     this.Notebook.CanFocus = true;
     this.Notebook.Name = "Notebook";
     this.Notebook.CurrentPage = 3;
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.table1 = new Gtk.Table(((uint)(5)), ((uint)(7)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(12));
     this.table1.BorderWidth = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.BornInEntry = new Gtk.Entry();
     this.BornInEntry.CanFocus = true;
     this.BornInEntry.Name = "BornInEntry";
     this.BornInEntry.IsEditable = true;
     this.BornInEntry.InvisibleChar = '●';
     this.table1.Add(this.BornInEntry);
     Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.BornInEntry]));
     w1.TopAttach = ((uint)(1));
     w1.BottomAttach = ((uint)(2));
     w1.LeftAttach = ((uint)(4));
     w1.RightAttach = ((uint)(7));
     w1.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.DateBornEntry = new Gtk.Entry();
     this.DateBornEntry.CanFocus = true;
     this.DateBornEntry.Name = "DateBornEntry";
     this.DateBornEntry.IsEditable = true;
     this.DateBornEntry.InvisibleChar = '●';
     this.table1.Add(this.DateBornEntry);
     Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.DateBornEntry]));
     w2.TopAttach = ((uint)(1));
     w2.BottomAttach = ((uint)(2));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.DateBornSourceButton = new Gtk.Button();
     this.DateBornSourceButton.CanFocus = true;
     this.DateBornSourceButton.Name = "DateBornSourceButton";
     // Container child DateBornSourceButton.Gtk.Container+ContainerChild
     this.image440 = new Gtk.Image();
     this.image440.Name = "image440";
     this.image440.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-index", Gtk.IconSize.Button, 20);
     this.DateBornSourceButton.Add(this.image440);
     this.DateBornSourceButton.Label = null;
     this.table1.Add(this.DateBornSourceButton);
     Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.DateBornSourceButton]));
     w4.TopAttach = ((uint)(1));
     w4.BottomAttach = ((uint)(2));
     w4.LeftAttach = ((uint)(2));
     w4.RightAttach = ((uint)(3));
     w4.XOptions = ((Gtk.AttachOptions)(4));
     w4.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.DateDiedEntry = new Gtk.Entry();
     this.DateDiedEntry.CanFocus = true;
     this.DateDiedEntry.Name = "DateDiedEntry";
     this.DateDiedEntry.IsEditable = true;
     this.DateDiedEntry.InvisibleChar = '●';
     this.table1.Add(this.DateDiedEntry);
     Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.DateDiedEntry]));
     w5.TopAttach = ((uint)(2));
     w5.BottomAttach = ((uint)(3));
     w5.LeftAttach = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.DateDiedSourceButton = new Gtk.Button();
     this.DateDiedSourceButton.CanFocus = true;
     this.DateDiedSourceButton.Name = "DateDiedSourceButton";
     // Container child DateDiedSourceButton.Gtk.Container+ContainerChild
     this.image438 = new Gtk.Image();
     this.image438.Name = "image438";
     this.image438.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-index", Gtk.IconSize.Button, 20);
     this.DateDiedSourceButton.Add(this.image438);
     this.DateDiedSourceButton.Label = null;
     this.table1.Add(this.DateDiedSourceButton);
     Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.DateDiedSourceButton]));
     w7.TopAttach = ((uint)(2));
     w7.BottomAttach = ((uint)(3));
     w7.LeftAttach = ((uint)(2));
     w7.RightAttach = ((uint)(3));
     w7.XOptions = ((Gtk.AttachOptions)(4));
     w7.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.DeleteButton = new Gtk.Button();
     this.DeleteButton.CanFocus = true;
     this.DeleteButton.Name = "DeleteButton";
     // Container child DeleteButton.Gtk.Container+ContainerChild
     this.image415 = new Gtk.Image();
     this.image415.Name = "image415";
     this.image415.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-delete", Gtk.IconSize.Menu, 16);
     this.DeleteButton.Add(this.image415);
     this.DeleteButton.Label = null;
     this.table1.Add(this.DeleteButton);
     Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.DeleteButton]));
     w9.LeftAttach = ((uint)(6));
     w9.RightAttach = ((uint)(7));
     w9.XOptions = ((Gtk.AttachOptions)(4));
     w9.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.DiedInEntry = new Gtk.Entry();
     this.DiedInEntry.CanFocus = true;
     this.DiedInEntry.Name = "DiedInEntry";
     this.DiedInEntry.IsEditable = true;
     this.DiedInEntry.InvisibleChar = '●';
     this.table1.Add(this.DiedInEntry);
     Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.DiedInEntry]));
     w10.TopAttach = ((uint)(2));
     w10.BottomAttach = ((uint)(3));
     w10.LeftAttach = ((uint)(4));
     w10.RightAttach = ((uint)(7));
     w10.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.FactView = new Gedcom.UI.GTK.Widgets.FactView();
     this.FactView.Events = ((Gdk.EventMask)(256));
     this.FactView.Name = "FactView";
     this.table1.Add(this.FactView);
     Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.FactView]));
     w11.TopAttach = ((uint)(4));
     w11.BottomAttach = ((uint)(5));
     w11.RightAttach = ((uint)(7));
     w11.YOptions = ((Gtk.AttachOptions)(7));
     // Container child table1.Gtk.Table+TableChild
     this.hseparator3 = new Gtk.HSeparator();
     this.hseparator3.Name = "hseparator3";
     this.table1.Add(this.hseparator3);
     Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.hseparator3]));
     w12.TopAttach = ((uint)(3));
     w12.BottomAttach = ((uint)(4));
     w12.RightAttach = ((uint)(7));
     w12.XOptions = ((Gtk.AttachOptions)(4));
     w12.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.IndiScrapbookButton = new Gtk.Button();
     this.IndiScrapbookButton.CanFocus = true;
     this.IndiScrapbookButton.Name = "IndiScrapbookButton";
     // Container child IndiScrapbookButton.Gtk.Container+ContainerChild
     Gtk.Alignment w13 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w14 = new Gtk.HBox();
     w14.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w15 = new Gtk.Image();
     w15.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-paste", Gtk.IconSize.Button, 20);
     w14.Add(w15);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w17 = new Gtk.Label();
     w17.LabelProp = "Scrapbook";
     w14.Add(w17);
     w13.Add(w14);
     this.IndiScrapbookButton.Add(w13);
     this.table1.Add(this.IndiScrapbookButton);
     Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table1[this.IndiScrapbookButton]));
     w21.LeftAttach = ((uint)(5));
     w21.RightAttach = ((uint)(6));
     w21.XOptions = ((Gtk.AttachOptions)(4));
     w21.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label10 = new Gtk.Label();
     this.label10.Name = "label10";
     this.label10.LabelProp = "in:";
     this.table1.Add(this.label10);
     Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table1[this.label10]));
     w22.TopAttach = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.LeftAttach = ((uint)(3));
     w22.RightAttach = ((uint)(4));
     w22.XOptions = ((Gtk.AttachOptions)(4));
     w22.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label11 = new Gtk.Label();
     this.label11.Name = "label11";
     this.label11.LabelProp = "in:";
     this.table1.Add(this.label11);
     Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table1[this.label11]));
     w23.TopAttach = ((uint)(2));
     w23.BottomAttach = ((uint)(3));
     w23.LeftAttach = ((uint)(3));
     w23.RightAttach = ((uint)(4));
     w23.XOptions = ((Gtk.AttachOptions)(4));
     w23.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label18 = new Gtk.Label();
     this.label18.Name = "label18";
     this.label18.Xalign = 0F;
     this.label18.LabelProp = "Date Born:";
     this.table1.Add(this.label18);
     Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table1[this.label18]));
     w24.TopAttach = ((uint)(1));
     w24.BottomAttach = ((uint)(2));
     w24.XOptions = ((Gtk.AttachOptions)(4));
     w24.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label19 = new Gtk.Label();
     this.label19.Name = "label19";
     this.label19.Xalign = 0F;
     this.label19.LabelProp = "Date Died:";
     this.table1.Add(this.label19);
     Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table1[this.label19]));
     w25.TopAttach = ((uint)(2));
     w25.BottomAttach = ((uint)(3));
     w25.XOptions = ((Gtk.AttachOptions)(4));
     w25.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label9 = new Gtk.Label();
     this.label9.Name = "label9";
     this.label9.LabelProp = "Sex:";
     this.table1.Add(this.label9);
     Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table1[this.label9]));
     w26.LeftAttach = ((uint)(3));
     w26.RightAttach = ((uint)(4));
     w26.XOptions = ((Gtk.AttachOptions)(4));
     w26.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.NameButton = new Gtk.Button();
     this.NameButton.CanFocus = true;
     this.NameButton.Name = "NameButton";
     // Container child NameButton.Gtk.Container+ContainerChild
     this.SpouseNameLabel = new Gtk.Label();
     this.SpouseNameLabel.Name = "SpouseNameLabel";
     this.SpouseNameLabel.Xalign = 1F;
     this.SpouseNameLabel.LabelProp = "Name:";
     this.NameButton.Add(this.SpouseNameLabel);
     this.NameButton.Label = null;
     this.table1.Add(this.NameButton);
     Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.table1[this.NameButton]));
     w28.XOptions = ((Gtk.AttachOptions)(4));
     w28.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.NameEntry = new Gtk.Entry();
     this.NameEntry.CanFocus = true;
     this.NameEntry.Name = "NameEntry";
     this.NameEntry.IsEditable = true;
     this.NameEntry.InvisibleChar = '●';
     this.table1.Add(this.NameEntry);
     Gtk.Table.TableChild w29 = ((Gtk.Table.TableChild)(this.table1[this.NameEntry]));
     w29.LeftAttach = ((uint)(1));
     w29.RightAttach = ((uint)(2));
     w29.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.NameSourceButton = new Gtk.Button();
     this.NameSourceButton.CanFocus = true;
     this.NameSourceButton.Name = "NameSourceButton";
     // Container child NameSourceButton.Gtk.Container+ContainerChild
     this.image439 = new Gtk.Image();
     this.image439.Name = "image439";
     this.image439.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-index", Gtk.IconSize.Button, 20);
     this.NameSourceButton.Add(this.image439);
     this.NameSourceButton.Label = null;
     this.table1.Add(this.NameSourceButton);
     Gtk.Table.TableChild w31 = ((Gtk.Table.TableChild)(this.table1[this.NameSourceButton]));
     w31.LeftAttach = ((uint)(2));
     w31.RightAttach = ((uint)(3));
     w31.XOptions = ((Gtk.AttachOptions)(4));
     w31.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.SexComboBox = Gtk.ComboBox.NewText();
     this.SexComboBox.AppendText("Undetermined");
     this.SexComboBox.AppendText("Male");
     this.SexComboBox.AppendText("Female");
     this.SexComboBox.AppendText("Both");
     this.SexComboBox.AppendText("Neuter");
     this.SexComboBox.Name = "SexComboBox";
     this.SexComboBox.Active = 0;
     this.table1.Add(this.SexComboBox);
     Gtk.Table.TableChild w32 = ((Gtk.Table.TableChild)(this.table1[this.SexComboBox]));
     w32.LeftAttach = ((uint)(4));
     w32.RightAttach = ((uint)(5));
     w32.XOptions = ((Gtk.AttachOptions)(4));
     w32.YOptions = ((Gtk.AttachOptions)(4));
     this.Notebook.Add(this.table1);
     // Notebook tab
     this.label2 = new Gtk.Label();
     this.label2.Name = "label2";
     this.label2.LabelProp = "Facts";
     this.Notebook.SetTabLabel(this.table1, this.label2);
     this.label2.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.table3 = new Gtk.Table(((uint)(3)), ((uint)(5)), false);
     this.table3.Name = "table3";
     this.table3.RowSpacing = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(12));
     this.table3.BorderWidth = ((uint)(6));
     // Container child table3.Gtk.Table+TableChild
     this.hseparator4 = new Gtk.HSeparator();
     this.hseparator4.Name = "hseparator4";
     this.table3.Add(this.hseparator4);
     Gtk.Table.TableChild w34 = ((Gtk.Table.TableChild)(this.table3[this.hseparator4]));
     w34.TopAttach = ((uint)(1));
     w34.BottomAttach = ((uint)(2));
     w34.RightAttach = ((uint)(5));
     w34.XOptions = ((Gtk.AttachOptions)(4));
     w34.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.MarriageView = new Gedcom.UI.GTK.Widgets.MarriageView();
     this.MarriageView.Events = ((Gdk.EventMask)(256));
     this.MarriageView.Name = "MarriageView";
     this.table3.Add(this.MarriageView);
     Gtk.Table.TableChild w35 = ((Gtk.Table.TableChild)(this.table3[this.MarriageView]));
     w35.RightAttach = ((uint)(5));
     w35.XOptions = ((Gtk.AttachOptions)(4));
     w35.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.scrolledwindow8 = new Gtk.ScrolledWindow();
     this.scrolledwindow8.CanFocus = true;
     this.scrolledwindow8.Name = "scrolledwindow8";
     this.scrolledwindow8.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow8.Gtk.Container+ContainerChild
     Gtk.Viewport w36 = new Gtk.Viewport();
     w36.ShadowType = ((Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.MarriageTreeView = new Gtk.TreeView();
     this.MarriageTreeView.CanFocus = true;
     this.MarriageTreeView.Name = "MarriageTreeView";
     w36.Add(this.MarriageTreeView);
     this.scrolledwindow8.Add(w36);
     this.table3.Add(this.scrolledwindow8);
     Gtk.Table.TableChild w39 = ((Gtk.Table.TableChild)(this.table3[this.scrolledwindow8]));
     w39.TopAttach = ((uint)(2));
     w39.BottomAttach = ((uint)(3));
     w39.RightAttach = ((uint)(5));
     w39.XOptions = ((Gtk.AttachOptions)(7));
     w39.YOptions = ((Gtk.AttachOptions)(7));
     this.Notebook.Add(this.table3);
     Gtk.Notebook.NotebookChild w40 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.table3]));
     w40.Position = 1;
     // Notebook tab
     this.label6 = new Gtk.Label();
     this.label6.Name = "label6";
     this.label6.LabelProp = "Marriage";
     this.Notebook.SetTabLabel(this.table3, this.label6);
     this.label6.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.AddressView = new Gedcom.UI.GTK.Widgets.AddressView();
     this.AddressView.Events = ((Gdk.EventMask)(256));
     this.AddressView.Name = "AddressView";
     this.Notebook.Add(this.AddressView);
     Gtk.Notebook.NotebookChild w41 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.AddressView]));
     w41.Position = 2;
     // Notebook tab
     this.label3 = new Gtk.Label();
     this.label3.Name = "label3";
     this.label3.LabelProp = "Addresses";
     this.Notebook.SetTabLabel(this.AddressView, this.label3);
     this.label3.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.table6 = new Gtk.Table(((uint)(4)), ((uint)(5)), false);
     this.table6.Name = "table6";
     this.table6.RowSpacing = ((uint)(6));
     this.table6.ColumnSpacing = ((uint)(12));
     this.table6.BorderWidth = ((uint)(6));
     // Container child table6.Gtk.Table+TableChild
     this.HeightEntry = new Gtk.Entry();
     this.HeightEntry.CanFocus = true;
     this.HeightEntry.Name = "HeightEntry";
     this.HeightEntry.IsEditable = true;
     this.HeightEntry.InvisibleChar = '●';
     this.table6.Add(this.HeightEntry);
     Gtk.Table.TableChild w42 = ((Gtk.Table.TableChild)(this.table6[this.HeightEntry]));
     w42.LeftAttach = ((uint)(1));
     w42.RightAttach = ((uint)(2));
     w42.XOptions = ((Gtk.AttachOptions)(4));
     w42.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table6.Gtk.Table+TableChild
     this.label30 = new Gtk.Label();
     this.label30.Name = "label30";
     this.label30.Xalign = 0F;
     this.label30.LabelProp = "Height:";
     this.table6.Add(this.label30);
     Gtk.Table.TableChild w43 = ((Gtk.Table.TableChild)(this.table6[this.label30]));
     w43.XOptions = ((Gtk.AttachOptions)(4));
     w43.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table6.Gtk.Table+TableChild
     this.label33 = new Gtk.Label();
     this.label33.Name = "label33";
     this.label33.Xalign = 0F;
     this.label33.LabelProp = "Weight:";
     this.table6.Add(this.label33);
     Gtk.Table.TableChild w44 = ((Gtk.Table.TableChild)(this.table6[this.label33]));
     w44.TopAttach = ((uint)(1));
     w44.BottomAttach = ((uint)(2));
     w44.XOptions = ((Gtk.AttachOptions)(4));
     w44.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table6.Gtk.Table+TableChild
     this.label34 = new Gtk.Label();
     this.label34.Name = "label34";
     this.label34.Xalign = 0F;
     this.label34.Yalign = 0F;
     this.label34.LabelProp = "Cause of Death:";
     this.table6.Add(this.label34);
     Gtk.Table.TableChild w45 = ((Gtk.Table.TableChild)(this.table6[this.label34]));
     w45.TopAttach = ((uint)(2));
     w45.BottomAttach = ((uint)(3));
     w45.XOptions = ((Gtk.AttachOptions)(4));
     w45.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table6.Gtk.Table+TableChild
     this.label35 = new Gtk.Label();
     this.label35.Name = "label35";
     this.label35.Xalign = 0F;
     this.label35.Yalign = 0F;
     this.label35.LabelProp = "Medical Information:";
     this.table6.Add(this.label35);
     Gtk.Table.TableChild w46 = ((Gtk.Table.TableChild)(this.table6[this.label35]));
     w46.TopAttach = ((uint)(3));
     w46.BottomAttach = ((uint)(4));
     w46.XOptions = ((Gtk.AttachOptions)(4));
     w46.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table6.Gtk.Table+TableChild
     this.scrolledwindow5 = new Gtk.ScrolledWindow();
     this.scrolledwindow5.CanFocus = true;
     this.scrolledwindow5.Name = "scrolledwindow5";
     this.scrolledwindow5.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow5.Gtk.Container+ContainerChild
     this.MedicalInformationTextView = new Gtk.TextView();
     this.MedicalInformationTextView.CanFocus = true;
     this.MedicalInformationTextView.Name = "MedicalInformationTextView";
     this.scrolledwindow5.Add(this.MedicalInformationTextView);
     this.table6.Add(this.scrolledwindow5);
     Gtk.Table.TableChild w48 = ((Gtk.Table.TableChild)(this.table6[this.scrolledwindow5]));
     w48.TopAttach = ((uint)(3));
     w48.BottomAttach = ((uint)(4));
     w48.LeftAttach = ((uint)(1));
     w48.RightAttach = ((uint)(5));
     // Container child table6.Gtk.Table+TableChild
     this.scrolledwindow6 = new Gtk.ScrolledWindow();
     this.scrolledwindow6.CanFocus = true;
     this.scrolledwindow6.Name = "scrolledwindow6";
     this.scrolledwindow6.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow6.Gtk.Container+ContainerChild
     this.CauseOfDeathTextView = new Gtk.TextView();
     this.CauseOfDeathTextView.CanFocus = true;
     this.CauseOfDeathTextView.Name = "CauseOfDeathTextView";
     this.scrolledwindow6.Add(this.CauseOfDeathTextView);
     this.table6.Add(this.scrolledwindow6);
     Gtk.Table.TableChild w50 = ((Gtk.Table.TableChild)(this.table6[this.scrolledwindow6]));
     w50.TopAttach = ((uint)(2));
     w50.BottomAttach = ((uint)(3));
     w50.LeftAttach = ((uint)(1));
     w50.RightAttach = ((uint)(5));
     // Container child table6.Gtk.Table+TableChild
     this.WeightEntry = new Gtk.Entry();
     this.WeightEntry.CanFocus = true;
     this.WeightEntry.Name = "WeightEntry";
     this.WeightEntry.IsEditable = true;
     this.WeightEntry.InvisibleChar = '●';
     this.table6.Add(this.WeightEntry);
     Gtk.Table.TableChild w51 = ((Gtk.Table.TableChild)(this.table6[this.WeightEntry]));
     w51.TopAttach = ((uint)(1));
     w51.BottomAttach = ((uint)(2));
     w51.LeftAttach = ((uint)(1));
     w51.RightAttach = ((uint)(2));
     w51.XOptions = ((Gtk.AttachOptions)(4));
     w51.YOptions = ((Gtk.AttachOptions)(4));
     this.Notebook.Add(this.table6);
     Gtk.Notebook.NotebookChild w52 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.table6]));
     w52.Position = 3;
     // Notebook tab
     this.label4 = new Gtk.Label();
     this.label4.Name = "label4";
     this.label4.LabelProp = "Medical";
     this.Notebook.SetTabLabel(this.table6, this.label4);
     this.label4.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.label5 = new Gtk.Label();
     this.label5.Name = "label5";
     this.label5.LabelProp = "label5";
     this.Notebook.Add(this.label5);
     Gtk.Notebook.NotebookChild w53 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.label5]));
     w53.Position = 4;
     // Notebook tab
     this.label40 = new Gtk.Label();
     this.label40.Name = "label40";
     this.label40.LabelProp = "Lineage";
     this.Notebook.SetTabLabel(this.label5, this.label40);
     this.label40.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.NotesView = new Gedcom.UI.GTK.Widgets.NotesView();
     this.NotesView.Events = ((Gdk.EventMask)(256));
     this.NotesView.Name = "NotesView";
     this.NotesView.DataNotes = false;
     this.NotesView.ListOnly = false;
     this.NotesView.NoteOnly = false;
     this.Notebook.Add(this.NotesView);
     Gtk.Notebook.NotebookChild w54 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.NotesView]));
     w54.Position = 5;
     // Notebook tab
     this.label7 = new Gtk.Label();
     this.label7.Name = "label7";
     this.label7.LabelProp = "Notes";
     this.Notebook.SetTabLabel(this.NotesView, this.label7);
     this.label7.ShowAll();
     this.vbox1.Add(this.Notebook);
     Gtk.Box.BoxChild w55 = ((Gtk.Box.BoxChild)(this.vbox1[this.Notebook]));
     w55.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox5 = new Gtk.VBox();
     this.vbox5.Name = "vbox5";
     // Container child vbox5.Gtk.Box+BoxChild
     this.SwitchBox = new Gtk.VBox();
     this.SwitchBox.Name = "SwitchBox";
     this.SwitchBox.Spacing = 6;
     // Container child SwitchBox.Gtk.Box+BoxChild
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.Xalign = 0F;
     this.label1.LabelProp = "Switch to this individual's:";
     this.SwitchBox.Add(this.label1);
     Gtk.Box.BoxChild w56 = ((Gtk.Box.BoxChild)(this.SwitchBox[this.label1]));
     w56.Position = 0;
     w56.Expand = false;
     w56.Fill = false;
     // Container child SwitchBox.Gtk.Box+BoxChild
     this.hbox3 = new Gtk.HBox();
     this.hbox3.Name = "hbox3";
     this.hbox3.Homogeneous = true;
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.ParentsCombo = new Gedcom.UI.GTK.Widgets.IndividualListComboBox();
     this.ParentsCombo.Name = "ParentsCombo";
     this.ParentsCombo.Active = 0;
     this.ParentsCombo.NoIndividualText = "Parents";
     this.hbox3.Add(this.ParentsCombo);
     Gtk.Box.BoxChild w57 = ((Gtk.Box.BoxChild)(this.hbox3[this.ParentsCombo]));
     w57.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.ChildrenCombo = new Gedcom.UI.GTK.Widgets.IndividualListComboBox();
     this.ChildrenCombo.Name = "ChildrenCombo";
     this.ChildrenCombo.Active = 0;
     this.ChildrenCombo.NoIndividualText = "Children";
     this.hbox3.Add(this.ChildrenCombo);
     Gtk.Box.BoxChild w58 = ((Gtk.Box.BoxChild)(this.hbox3[this.ChildrenCombo]));
     w58.Position = 1;
     // Container child hbox3.Gtk.Box+BoxChild
     this.SpousesCombo = new Gedcom.UI.GTK.Widgets.IndividualListComboBox();
     this.SpousesCombo.Name = "SpousesCombo";
     this.SpousesCombo.Active = 0;
     this.SpousesCombo.NoIndividualText = "Spouses";
     this.hbox3.Add(this.SpousesCombo);
     Gtk.Box.BoxChild w59 = ((Gtk.Box.BoxChild)(this.hbox3[this.SpousesCombo]));
     w59.Position = 2;
     // Container child hbox3.Gtk.Box+BoxChild
     this.SiblingsCombo = new Gedcom.UI.GTK.Widgets.IndividualListComboBox();
     this.SiblingsCombo.Name = "SiblingsCombo";
     this.SiblingsCombo.Active = 0;
     this.SiblingsCombo.NoIndividualText = "Siblings";
     this.hbox3.Add(this.SiblingsCombo);
     Gtk.Box.BoxChild w60 = ((Gtk.Box.BoxChild)(this.hbox3[this.SiblingsCombo]));
     w60.Position = 3;
     this.SwitchBox.Add(this.hbox3);
     Gtk.Box.BoxChild w61 = ((Gtk.Box.BoxChild)(this.SwitchBox[this.hbox3]));
     w61.Position = 1;
     w61.Expand = false;
     w61.Fill = false;
     this.vbox5.Add(this.SwitchBox);
     Gtk.Box.BoxChild w62 = ((Gtk.Box.BoxChild)(this.vbox5[this.SwitchBox]));
     w62.Position = 0;
     w62.Expand = false;
     w62.Fill = false;
     this.vbox1.Add(this.vbox5);
     Gtk.Box.BoxChild w63 = ((Gtk.Box.BoxChild)(this.vbox1[this.vbox5]));
     w63.Position = 1;
     w63.Expand = false;
     w63.Fill = false;
     this.Add(this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Show();
     this.NameSourceButton.Clicked += new System.EventHandler(this.OnNameSourceButton_Clicked);
     this.NameButton.Clicked += new System.EventHandler(this.OnNameButton_Clicked);
     this.IndiScrapbookButton.Clicked += new System.EventHandler(this.OnIndiScrapbookButton_Clicked);
     this.FactView.MoreInformation += new System.EventHandler<Gedcom.UI.Common.FactArgs>(this.OnFactView_MoreInformation);
     this.DiedInEntry.Changed += new System.EventHandler(this.Died_Changed);
     this.DeleteButton.Clicked += new System.EventHandler(this.OnDeleteButton_Clicked);
     this.DateDiedSourceButton.Clicked += new System.EventHandler(this.OnDateDiedSourceButton_Clicked);
     this.DateDiedEntry.Changed += new System.EventHandler(this.Died_Changed);
     this.DateBornSourceButton.Clicked += new System.EventHandler(this.OnDateBornSourceButton_Clicked);
     this.DateBornEntry.Changed += new System.EventHandler(this.Born_Changed);
     this.BornInEntry.Changed += new System.EventHandler(this.Born_Changed);
     this.AddressView.ShowSourceCitation += new System.EventHandler<Gedcom.UI.Common.SourceCitationArgs>(this.OnAddressView_ShowSourceCitation);
     this.AddressView.ShowScrapBook += new System.EventHandler<Gedcom.UI.Common.ScrapBookArgs>(this.OnAddressView_ShowScrapBook);
     this.AddressView.MoreFactInformation += new System.EventHandler<Gedcom.UI.Common.FactArgs>(this.OnAddressView_MoreFactInformation);
     this.NotesView.ShowSourceCitation += new System.EventHandler<Gedcom.UI.Common.SourceCitationArgs>(this.OnNotesView_ShowSourceCitation);
     this.NotesView.SelectNewNote += new System.EventHandler<Gedcom.UI.Common.NoteArgs>(this.OnNotesView_SelectNewNote);
     this.ParentsCombo.Changed += new System.EventHandler(this.OnParentsCombo_Changed);
     this.ChildrenCombo.Changed += new System.EventHandler(this.OnChildrenCombo_Changed);
     this.SpousesCombo.Changed += new System.EventHandler(this.OnSpousesCombo_Changed);
     this.SiblingsCombo.Changed += new System.EventHandler(this.OnSiblingsCombo_Changed);
 }
 protected virtual void Build() {
     Stetic.Gui.Initialize(this);
     // Widget Gedcom.UI.GTK.Widgets.RepositoryView
     Stetic.BinContainer.Attach(this);
     this.Events = ((Gdk.EventMask)(256));
     this.Name = "Gedcom.UI.GTK.Widgets.RepositoryView";
     // Container child Gedcom.UI.GTK.Widgets.RepositoryView.Gtk.Container+ContainerChild
     this.Notebook = new Gtk.Notebook();
     this.Notebook.CanFocus = true;
     this.Notebook.Name = "Notebook";
     this.Notebook.CurrentPage = 1;
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.table4 = new Gtk.Table(((uint)(10)), ((uint)(2)), false);
     this.table4.Name = "table4";
     this.table4.RowSpacing = ((uint)(6));
     this.table4.ColumnSpacing = ((uint)(12));
     this.table4.BorderWidth = ((uint)(6));
     // Container child table4.Gtk.Table+TableChild
     this.CityEntry = new Gtk.Entry();
     this.CityEntry.CanFocus = true;
     this.CityEntry.Name = "CityEntry";
     this.CityEntry.IsEditable = true;
     this.CityEntry.InvisibleChar = '●';
     this.table4.Add(this.CityEntry);
     Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table4[this.CityEntry]));
     w1.TopAttach = ((uint)(3));
     w1.BottomAttach = ((uint)(4));
     w1.LeftAttach = ((uint)(1));
     w1.RightAttach = ((uint)(2));
     w1.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.CountryEntry = new Gtk.Entry();
     this.CountryEntry.CanFocus = true;
     this.CountryEntry.Name = "CountryEntry";
     this.CountryEntry.IsEditable = true;
     this.CountryEntry.InvisibleChar = '●';
     this.table4.Add(this.CountryEntry);
     Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table4[this.CountryEntry]));
     w2.TopAttach = ((uint)(6));
     w2.BottomAttach = ((uint)(7));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.EmailEntry = new Gtk.Entry();
     this.EmailEntry.CanFocus = true;
     this.EmailEntry.Name = "EmailEntry";
     this.EmailEntry.IsEditable = true;
     this.EmailEntry.InvisibleChar = '●';
     this.table4.Add(this.EmailEntry);
     Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table4[this.EmailEntry]));
     w3.TopAttach = ((uint)(8));
     w3.BottomAttach = ((uint)(9));
     w3.LeftAttach = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.Xalign = 0F;
     this.label1.LabelProp = "Name:";
     this.table4.Add(this.label1);
     Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table4[this.label1]));
     w4.XOptions = ((Gtk.AttachOptions)(4));
     w4.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label14 = new Gtk.Label();
     this.label14.Name = "label14";
     this.label14.Xalign = 0F;
     this.label14.LabelProp = "Street 2:";
     this.table4.Add(this.label14);
     Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table4[this.label14]));
     w5.TopAttach = ((uint)(2));
     w5.BottomAttach = ((uint)(3));
     w5.XOptions = ((Gtk.AttachOptions)(4));
     w5.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label20 = new Gtk.Label();
     this.label20.Name = "label20";
     this.label20.Xalign = 0F;
     this.label20.LabelProp = "Street 1:";
     this.table4.Add(this.label20);
     Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table4[this.label20]));
     w6.TopAttach = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.XOptions = ((Gtk.AttachOptions)(4));
     w6.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label21 = new Gtk.Label();
     this.label21.Name = "label21";
     this.label21.Xalign = 0F;
     this.label21.LabelProp = "Phone Number(s):";
     this.table4.Add(this.label21);
     Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table4[this.label21]));
     w7.TopAttach = ((uint)(7));
     w7.BottomAttach = ((uint)(8));
     w7.XOptions = ((Gtk.AttachOptions)(4));
     w7.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label23 = new Gtk.Label();
     this.label23.Name = "label23";
     this.label23.Xalign = 0F;
     this.label23.LabelProp = "E-Mail(s):";
     this.table4.Add(this.label23);
     Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table4[this.label23]));
     w8.TopAttach = ((uint)(8));
     w8.BottomAttach = ((uint)(9));
     w8.XOptions = ((Gtk.AttachOptions)(4));
     w8.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label24 = new Gtk.Label();
     this.label24.Name = "label24";
     this.label24.Xalign = 0F;
     this.label24.LabelProp = "Country:";
     this.table4.Add(this.label24);
     Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table4[this.label24]));
     w9.TopAttach = ((uint)(6));
     w9.BottomAttach = ((uint)(7));
     w9.XOptions = ((Gtk.AttachOptions)(4));
     w9.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label26 = new Gtk.Label();
     this.label26.Name = "label26";
     this.label26.Xalign = 0F;
     this.label26.LabelProp = "Post / Zip Code:";
     this.table4.Add(this.label26);
     Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table4[this.label26]));
     w10.TopAttach = ((uint)(5));
     w10.BottomAttach = ((uint)(6));
     w10.XOptions = ((Gtk.AttachOptions)(4));
     w10.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label27 = new Gtk.Label();
     this.label27.Name = "label27";
     this.label27.Xalign = 0F;
     this.label27.LabelProp = "City:";
     this.table4.Add(this.label27);
     Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table4[this.label27]));
     w11.TopAttach = ((uint)(3));
     w11.BottomAttach = ((uint)(4));
     w11.XOptions = ((Gtk.AttachOptions)(4));
     w11.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label28 = new Gtk.Label();
     this.label28.Name = "label28";
     this.label28.Xalign = 0F;
     this.label28.LabelProp = "State / Province / County:";
     this.table4.Add(this.label28);
     Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table4[this.label28]));
     w12.TopAttach = ((uint)(4));
     w12.BottomAttach = ((uint)(5));
     w12.XOptions = ((Gtk.AttachOptions)(4));
     w12.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label29 = new Gtk.Label();
     this.label29.Name = "label29";
     this.label29.Xalign = 0F;
     this.label29.LabelProp = "Web Site(s):";
     this.table4.Add(this.label29);
     Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table4[this.label29]));
     w13.TopAttach = ((uint)(9));
     w13.BottomAttach = ((uint)(10));
     w13.XOptions = ((Gtk.AttachOptions)(4));
     w13.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.NameEntry = new Gtk.Entry();
     this.NameEntry.CanFocus = true;
     this.NameEntry.Name = "NameEntry";
     this.NameEntry.IsEditable = true;
     this.NameEntry.InvisibleChar = '●';
     this.table4.Add(this.NameEntry);
     Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table4[this.NameEntry]));
     w14.LeftAttach = ((uint)(1));
     w14.RightAttach = ((uint)(2));
     w14.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.PhoneNumberEntry = new Gtk.Entry();
     this.PhoneNumberEntry.CanFocus = true;
     this.PhoneNumberEntry.Name = "PhoneNumberEntry";
     this.PhoneNumberEntry.IsEditable = true;
     this.PhoneNumberEntry.InvisibleChar = '●';
     this.table4.Add(this.PhoneNumberEntry);
     Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table4[this.PhoneNumberEntry]));
     w15.TopAttach = ((uint)(7));
     w15.BottomAttach = ((uint)(8));
     w15.LeftAttach = ((uint)(1));
     w15.RightAttach = ((uint)(2));
     w15.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.PostCodeEntry = new Gtk.Entry();
     this.PostCodeEntry.CanFocus = true;
     this.PostCodeEntry.Name = "PostCodeEntry";
     this.PostCodeEntry.IsEditable = true;
     this.PostCodeEntry.InvisibleChar = '●';
     this.table4.Add(this.PostCodeEntry);
     Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table4[this.PostCodeEntry]));
     w16.TopAttach = ((uint)(5));
     w16.BottomAttach = ((uint)(6));
     w16.LeftAttach = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.StateEntry = new Gtk.Entry();
     this.StateEntry.CanFocus = true;
     this.StateEntry.Name = "StateEntry";
     this.StateEntry.IsEditable = true;
     this.StateEntry.InvisibleChar = '●';
     this.table4.Add(this.StateEntry);
     Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table4[this.StateEntry]));
     w17.TopAttach = ((uint)(4));
     w17.BottomAttach = ((uint)(5));
     w17.LeftAttach = ((uint)(1));
     w17.RightAttach = ((uint)(2));
     w17.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.Street1Entry = new Gtk.Entry();
     this.Street1Entry.CanFocus = true;
     this.Street1Entry.Name = "Street1Entry";
     this.Street1Entry.IsEditable = true;
     this.Street1Entry.InvisibleChar = '●';
     this.table4.Add(this.Street1Entry);
     Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table4[this.Street1Entry]));
     w18.TopAttach = ((uint)(1));
     w18.BottomAttach = ((uint)(2));
     w18.LeftAttach = ((uint)(1));
     w18.RightAttach = ((uint)(2));
     w18.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.Street2Entry = new Gtk.Entry();
     this.Street2Entry.CanFocus = true;
     this.Street2Entry.Name = "Street2Entry";
     this.Street2Entry.IsEditable = true;
     this.Street2Entry.InvisibleChar = '●';
     this.table4.Add(this.Street2Entry);
     Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table4[this.Street2Entry]));
     w19.TopAttach = ((uint)(2));
     w19.BottomAttach = ((uint)(3));
     w19.LeftAttach = ((uint)(1));
     w19.RightAttach = ((uint)(2));
     w19.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.WebSiteEntry = new Gtk.Entry();
     this.WebSiteEntry.CanFocus = true;
     this.WebSiteEntry.Name = "WebSiteEntry";
     this.WebSiteEntry.IsEditable = true;
     this.WebSiteEntry.InvisibleChar = '●';
     this.table4.Add(this.WebSiteEntry);
     Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table4[this.WebSiteEntry]));
     w20.TopAttach = ((uint)(9));
     w20.BottomAttach = ((uint)(10));
     w20.LeftAttach = ((uint)(1));
     w20.RightAttach = ((uint)(2));
     w20.YOptions = ((Gtk.AttachOptions)(4));
     this.Notebook.Add(this.table4);
     // Notebook tab
     this.label5 = new Gtk.Label();
     this.label5.Name = "label5";
     this.label5.LabelProp = "Details";
     this.Notebook.SetTabLabel(this.table4, this.label5);
     this.label5.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.NotesView = new Gedcom.UI.GTK.Widgets.NotesView();
     this.NotesView.Events = ((Gdk.EventMask)(256));
     this.NotesView.Name = "NotesView";
     this.NotesView.DataNotes = false;
     this.NotesView.ListOnly = false;
     this.NotesView.NoteOnly = false;
     this.Notebook.Add(this.NotesView);
     Gtk.Notebook.NotebookChild w22 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.NotesView]));
     w22.Position = 1;
     // Notebook tab
     this.label7 = new Gtk.Label();
     this.label7.Name = "label7";
     this.label7.LabelProp = "Notes";
     this.Notebook.SetTabLabel(this.NotesView, this.label7);
     this.label7.ShowAll();
     this.Add(this.Notebook);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Show();
     this.Notebook.SwitchPage += new Gtk.SwitchPageHandler(this.OnNotebook_SwitchPage);
     this.NotesView.ShowSourceCitation += new System.EventHandler<Gedcom.UI.Common.SourceCitationArgs>(this.OnNotesView_ShowSourceCitation);
     this.NotesView.SelectNewNote += new System.EventHandler<Gedcom.UI.Common.NoteArgs>(this.OnNotesView_SelectNewNote);
 }
 protected virtual void Build() {
     Stetic.Gui.Initialize(this);
     // Widget Gedcom.UI.GTK.Widgets.SourceCitationView
     Stetic.BinContainer.Attach(this);
     this.Events = ((Gdk.EventMask)(256));
     this.Name = "Gedcom.UI.GTK.Widgets.SourceCitationView";
     // Container child Gedcom.UI.GTK.Widgets.SourceCitationView.Gtk.Container+ContainerChild
     this.Notebook = new Gtk.Notebook();
     this.Notebook.CanFocus = true;
     this.Notebook.Name = "Notebook";
     this.Notebook.CurrentPage = 1;
     this.Notebook.BorderWidth = ((uint)(6));
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.table1 = new Gtk.Table(((uint)(5)), ((uint)(4)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(12));
     this.table1.BorderWidth = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.CertaintyComboBox = new Gtk.ComboBox();
     this.CertaintyComboBox.Name = "CertaintyComboBox";
     this.table1.Add(this.CertaintyComboBox);
     Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.CertaintyComboBox]));
     w1.TopAttach = ((uint)(3));
     w1.BottomAttach = ((uint)(4));
     w1.LeftAttach = ((uint)(3));
     w1.RightAttach = ((uint)(4));
     w1.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.DateEntry = new Gtk.Entry();
     this.DateEntry.CanFocus = true;
     this.DateEntry.Name = "DateEntry";
     this.DateEntry.IsEditable = true;
     this.DateEntry.InvisibleChar = '●';
     this.table1.Add(this.DateEntry);
     Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.DateEntry]));
     w2.TopAttach = ((uint)(3));
     w2.BottomAttach = ((uint)(4));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.EventTypeEntry = new Gtk.Entry();
     this.EventTypeEntry.CanFocus = true;
     this.EventTypeEntry.Name = "EventTypeEntry";
     this.EventTypeEntry.IsEditable = true;
     this.EventTypeEntry.InvisibleChar = '●';
     this.table1.Add(this.EventTypeEntry);
     Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.EventTypeEntry]));
     w3.TopAttach = ((uint)(2));
     w3.BottomAttach = ((uint)(3));
     w3.LeftAttach = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox1 = new Gtk.HBox();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.ScrapbookButton = new Gtk.Button();
     this.ScrapbookButton.CanFocus = true;
     this.ScrapbookButton.Name = "ScrapbookButton";
     // Container child ScrapbookButton.Gtk.Container+ContainerChild
     Gtk.Alignment w4 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w5 = new Gtk.HBox();
     w5.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w6 = new Gtk.Image();
     w6.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-paste", Gtk.IconSize.Button, 20);
     w5.Add(w6);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w8 = new Gtk.Label();
     w8.LabelProp = "Scrapbook";
     w5.Add(w8);
     w4.Add(w5);
     this.ScrapbookButton.Add(w4);
     this.hbox1.Add(this.ScrapbookButton);
     Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox1[this.ScrapbookButton]));
     w12.Position = 0;
     w12.Expand = false;
     w12.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.ViewMasterButton = new Gtk.Button();
     this.ViewMasterButton.CanFocus = true;
     this.ViewMasterButton.Name = "ViewMasterButton";
     this.ViewMasterButton.UseUnderline = true;
     // Container child ViewMasterButton.Gtk.Container+ContainerChild
     Gtk.Alignment w13 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w14 = new Gtk.HBox();
     w14.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w15 = new Gtk.Image();
     w15.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-find", Gtk.IconSize.Button, 20);
     w14.Add(w15);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w17 = new Gtk.Label();
     w17.LabelProp = "View Master Source";
     w17.UseUnderline = true;
     w14.Add(w17);
     w13.Add(w14);
     this.ViewMasterButton.Add(w13);
     this.hbox1.Add(this.ViewMasterButton);
     Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.hbox1[this.ViewMasterButton]));
     w21.Position = 1;
     w21.Fill = false;
     this.table1.Add(this.hbox1);
     Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table1[this.hbox1]));
     w22.TopAttach = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.LeftAttach = ((uint)(2));
     w22.RightAttach = ((uint)(4));
     w22.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.Xalign = 0F;
     this.label1.LabelProp = "Master Source:";
     this.table1.Add(this.label1);
     Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table1[this.label1]));
     w23.XOptions = ((Gtk.AttachOptions)(4));
     w23.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2 = new Gtk.Label();
     this.label2.Name = "label2";
     this.label2.Xalign = 0F;
     this.label2.LabelProp = "Page:";
     this.table1.Add(this.label2);
     Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table1[this.label2]));
     w24.TopAttach = ((uint)(1));
     w24.BottomAttach = ((uint)(2));
     w24.XOptions = ((Gtk.AttachOptions)(4));
     w24.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3 = new Gtk.Label();
     this.label3.Name = "label3";
     this.label3.Xalign = 0F;
     this.label3.LabelProp = "Event type:";
     this.table1.Add(this.label3);
     Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table1[this.label3]));
     w25.TopAttach = ((uint)(2));
     w25.BottomAttach = ((uint)(3));
     w25.XOptions = ((Gtk.AttachOptions)(4));
     w25.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label5 = new Gtk.Label();
     this.label5.Name = "label5";
     this.label5.Xalign = 0F;
     this.label5.LabelProp = "Role:";
     this.table1.Add(this.label5);
     Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table1[this.label5]));
     w26.TopAttach = ((uint)(2));
     w26.BottomAttach = ((uint)(3));
     w26.LeftAttach = ((uint)(2));
     w26.RightAttach = ((uint)(3));
     w26.XOptions = ((Gtk.AttachOptions)(4));
     w26.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label6 = new Gtk.Label();
     this.label6.Name = "label6";
     this.label6.Xalign = 0F;
     this.label6.LabelProp = "Date:";
     this.table1.Add(this.label6);
     Gtk.Table.TableChild w27 = ((Gtk.Table.TableChild)(this.table1[this.label6]));
     w27.TopAttach = ((uint)(3));
     w27.BottomAttach = ((uint)(4));
     w27.XOptions = ((Gtk.AttachOptions)(4));
     w27.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label7 = new Gtk.Label();
     this.label7.Name = "label7";
     this.label7.Xalign = 0F;
     this.label7.LabelProp = "Certainty:";
     this.table1.Add(this.label7);
     Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.table1[this.label7]));
     w28.TopAttach = ((uint)(3));
     w28.BottomAttach = ((uint)(4));
     w28.LeftAttach = ((uint)(2));
     w28.RightAttach = ((uint)(3));
     w28.XOptions = ((Gtk.AttachOptions)(4));
     w28.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.MasterSourceEntry = new Gtk.Entry();
     this.MasterSourceEntry.CanFocus = true;
     this.MasterSourceEntry.Name = "MasterSourceEntry";
     this.MasterSourceEntry.IsEditable = false;
     this.MasterSourceEntry.InvisibleChar = '●';
     this.table1.Add(this.MasterSourceEntry);
     Gtk.Table.TableChild w29 = ((Gtk.Table.TableChild)(this.table1[this.MasterSourceEntry]));
     w29.LeftAttach = ((uint)(1));
     w29.RightAttach = ((uint)(3));
     w29.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.PageEntry = new Gtk.Entry();
     this.PageEntry.CanFocus = true;
     this.PageEntry.Name = "PageEntry";
     this.PageEntry.IsEditable = true;
     this.PageEntry.InvisibleChar = '●';
     this.table1.Add(this.PageEntry);
     Gtk.Table.TableChild w30 = ((Gtk.Table.TableChild)(this.table1[this.PageEntry]));
     w30.TopAttach = ((uint)(1));
     w30.BottomAttach = ((uint)(2));
     w30.LeftAttach = ((uint)(1));
     w30.RightAttach = ((uint)(2));
     w30.XOptions = ((Gtk.AttachOptions)(4));
     w30.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.RoleEntry = new Gtk.Entry();
     this.RoleEntry.CanFocus = true;
     this.RoleEntry.Name = "RoleEntry";
     this.RoleEntry.IsEditable = true;
     this.RoleEntry.InvisibleChar = '●';
     this.table1.Add(this.RoleEntry);
     Gtk.Table.TableChild w31 = ((Gtk.Table.TableChild)(this.table1[this.RoleEntry]));
     w31.TopAttach = ((uint)(2));
     w31.BottomAttach = ((uint)(3));
     w31.LeftAttach = ((uint)(3));
     w31.RightAttach = ((uint)(4));
     w31.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.scrolledwindow1 = new Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus = true;
     this.scrolledwindow1.Name = "scrolledwindow1";
     this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     this.TextTextView = new Gtk.TextView();
     this.TextTextView.CanFocus = true;
     this.TextTextView.Name = "TextTextView";
     this.scrolledwindow1.Add(this.TextTextView);
     this.table1.Add(this.scrolledwindow1);
     Gtk.Table.TableChild w33 = ((Gtk.Table.TableChild)(this.table1[this.scrolledwindow1]));
     w33.TopAttach = ((uint)(4));
     w33.BottomAttach = ((uint)(5));
     w33.RightAttach = ((uint)(4));
     // Container child table1.Gtk.Table+TableChild
     this.SelectMasterSourceButton = new Gtk.Button();
     this.SelectMasterSourceButton.CanFocus = true;
     this.SelectMasterSourceButton.Name = "SelectMasterSourceButton";
     this.SelectMasterSourceButton.UseUnderline = true;
     // Container child SelectMasterSourceButton.Gtk.Container+ContainerChild
     Gtk.Alignment w34 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w35 = new Gtk.HBox();
     w35.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w36 = new Gtk.Image();
     w36.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-index", Gtk.IconSize.Button, 20);
     w35.Add(w36);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w38 = new Gtk.Label();
     w38.LabelProp = "Select Master Source";
     w38.UseUnderline = true;
     w35.Add(w38);
     w34.Add(w35);
     this.SelectMasterSourceButton.Add(w34);
     this.table1.Add(this.SelectMasterSourceButton);
     Gtk.Table.TableChild w42 = ((Gtk.Table.TableChild)(this.table1[this.SelectMasterSourceButton]));
     w42.LeftAttach = ((uint)(3));
     w42.RightAttach = ((uint)(4));
     w42.XOptions = ((Gtk.AttachOptions)(4));
     w42.YOptions = ((Gtk.AttachOptions)(4));
     this.Notebook.Add(this.table1);
     // Notebook tab
     this.label9 = new Gtk.Label();
     this.label9.Name = "label9";
     this.label9.LabelProp = "Details";
     this.Notebook.SetTabLabel(this.table1, this.label9);
     this.label9.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.NotesView = new Gedcom.UI.GTK.Widgets.NotesView();
     this.NotesView.Events = ((Gdk.EventMask)(256));
     this.NotesView.Name = "NotesView";
     this.NotesView.DataNotes = false;
     this.NotesView.ListOnly = false;
     this.NotesView.NoteOnly = false;
     this.Notebook.Add(this.NotesView);
     Gtk.Notebook.NotebookChild w44 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.NotesView]));
     w44.Position = 1;
     // Notebook tab
     this.label10 = new Gtk.Label();
     this.label10.Name = "label10";
     this.label10.LabelProp = "Notes";
     this.Notebook.SetTabLabel(this.NotesView, this.label10);
     this.label10.ShowAll();
     this.Add(this.Notebook);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Show();
     this.SelectMasterSourceButton.Clicked += new System.EventHandler(this.OnSelectMasterSourceButton_Click);
     this.ScrapbookButton.Clicked += new System.EventHandler(this.OnScrapBookButton_Clicked);
     this.ViewMasterButton.Clicked += new System.EventHandler(this.OnViewMasterButton_Clicked);
     this.NotesView.ShowSourceCitation += new System.EventHandler<Gedcom.UI.Common.SourceCitationArgs>(this.OnNotesView_ShowSourceCitation);
     this.NotesView.SelectNewNote += new System.EventHandler<Gedcom.UI.Common.NoteArgs>(this.OnNotesView_SelectNewNote);
 }
 protected virtual void Build() {
     Stetic.Gui.Initialize(this);
     // Widget Gedcom.UI.GTK.Widgets.FactDetailView
     Stetic.BinContainer.Attach(this);
     this.Name = "Gedcom.UI.GTK.Widgets.FactDetailView";
     // Container child Gedcom.UI.GTK.Widgets.FactDetailView.Gtk.Container+ContainerChild
     this.vbox1 = new Gtk.VBox();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.EventNameLabel = new Gtk.Label();
     this.EventNameLabel.Name = "EventNameLabel";
     this.EventNameLabel.Xalign = 0F;
     this.EventNameLabel.LabelProp = "Event Name here";
     this.vbox1.Add(this.EventNameLabel);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox1[this.EventNameLabel]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.Notebook = new Gtk.Notebook();
     this.Notebook.CanFocus = true;
     this.Notebook.Name = "Notebook";
     this.Notebook.CurrentPage = 0;
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.table2 = new Gtk.Table(((uint)(7)), ((uint)(4)), false);
     this.table2.Name = "table2";
     this.table2.RowSpacing = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(12));
     // Container child table2.Gtk.Table+TableChild
     this.AgencyEntry = new Gtk.Entry();
     this.AgencyEntry.CanFocus = true;
     this.AgencyEntry.Name = "AgencyEntry";
     this.AgencyEntry.IsEditable = true;
     this.AgencyEntry.InvisibleChar = '●';
     this.table2.Add(this.AgencyEntry);
     Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table2[this.AgencyEntry]));
     w2.TopAttach = ((uint)(5));
     w2.BottomAttach = ((uint)(6));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.XOptions = ((Gtk.AttachOptions)(4));
     w2.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.CauseEntry = new Gtk.Entry();
     this.CauseEntry.CanFocus = true;
     this.CauseEntry.Name = "CauseEntry";
     this.CauseEntry.IsEditable = true;
     this.CauseEntry.InvisibleChar = '●';
     this.table2.Add(this.CauseEntry);
     Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table2[this.CauseEntry]));
     w3.TopAttach = ((uint)(4));
     w3.BottomAttach = ((uint)(5));
     w3.LeftAttach = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.XOptions = ((Gtk.AttachOptions)(4));
     w3.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.EventExtraEntry = new Gtk.Entry();
     this.EventExtraEntry.CanFocus = true;
     this.EventExtraEntry.Name = "EventExtraEntry";
     this.EventExtraEntry.IsEditable = true;
     this.EventExtraEntry.InvisibleChar = '●';
     this.table2.Add(this.EventExtraEntry);
     Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table2[this.EventExtraEntry]));
     w4.LeftAttach = ((uint)(1));
     w4.RightAttach = ((uint)(2));
     w4.XOptions = ((Gtk.AttachOptions)(4));
     w4.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.EventExtraLabel = new Gtk.Label();
     this.EventExtraLabel.Name = "EventExtraLabel";
     this.EventExtraLabel.Xalign = 1F;
     this.EventExtraLabel.LabelProp = "Name:";
     this.table2.Add(this.EventExtraLabel);
     Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table2[this.EventExtraLabel]));
     w5.XOptions = ((Gtk.AttachOptions)(4));
     w5.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.EventScrapbookButton = new Gtk.Button();
     this.EventScrapbookButton.CanFocus = true;
     this.EventScrapbookButton.Name = "EventScrapbookButton";
     this.EventScrapbookButton.UseUnderline = true;
     // Container child EventScrapbookButton.Gtk.Container+ContainerChild
     Gtk.Alignment w6 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w7 = new Gtk.HBox();
     w7.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w8 = new Gtk.Image();
     w8.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-paste", Gtk.IconSize.Menu, 16);
     w7.Add(w8);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w10 = new Gtk.Label();
     w10.LabelProp = "Scrapbook";
     w10.UseUnderline = true;
     w7.Add(w10);
     w6.Add(w7);
     this.EventScrapbookButton.Add(w6);
     this.table2.Add(this.EventScrapbookButton);
     Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table2[this.EventScrapbookButton]));
     w14.LeftAttach = ((uint)(3));
     w14.RightAttach = ((uint)(4));
     w14.XOptions = ((Gtk.AttachOptions)(4));
     w14.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.EventTypeEntry = new Gtk.Entry();
     this.EventTypeEntry.CanFocus = true;
     this.EventTypeEntry.Name = "EventTypeEntry";
     this.EventTypeEntry.IsEditable = true;
     this.EventTypeEntry.InvisibleChar = '●';
     this.table2.Add(this.EventTypeEntry);
     Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table2[this.EventTypeEntry]));
     w15.TopAttach = ((uint)(1));
     w15.BottomAttach = ((uint)(2));
     w15.LeftAttach = ((uint)(1));
     w15.RightAttach = ((uint)(2));
     w15.XOptions = ((Gtk.AttachOptions)(4));
     w15.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.EventTypeLabel = new Gtk.Label();
     this.EventTypeLabel.Name = "EventTypeLabel";
     this.EventTypeLabel.Xalign = 1F;
     this.EventTypeLabel.LabelProp = "Type / Classification:";
     this.table2.Add(this.EventTypeLabel);
     Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table2[this.EventTypeLabel]));
     w16.TopAttach = ((uint)(1));
     w16.BottomAttach = ((uint)(2));
     w16.XOptions = ((Gtk.AttachOptions)(4));
     w16.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.FactDateEntry = new Gtk.Entry();
     this.FactDateEntry.CanFocus = true;
     this.FactDateEntry.Name = "FactDateEntry";
     this.FactDateEntry.IsEditable = true;
     this.FactDateEntry.InvisibleChar = '●';
     this.table2.Add(this.FactDateEntry);
     Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table2[this.FactDateEntry]));
     w17.TopAttach = ((uint)(2));
     w17.BottomAttach = ((uint)(3));
     w17.LeftAttach = ((uint)(1));
     w17.RightAttach = ((uint)(2));
     w17.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.FactSourceButton = new Gtk.Button();
     this.FactSourceButton.CanFocus = true;
     this.FactSourceButton.Name = "FactSourceButton";
     // Container child FactSourceButton.Gtk.Container+ContainerChild
     this.image441 = new Gtk.Image();
     this.image441.Name = "image441";
     this.image441.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-index", Gtk.IconSize.Button, 20);
     this.FactSourceButton.Add(this.image441);
     this.FactSourceButton.Label = null;
     this.table2.Add(this.FactSourceButton);
     Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table2[this.FactSourceButton]));
     w19.LeftAttach = ((uint)(2));
     w19.RightAttach = ((uint)(3));
     w19.XOptions = ((Gtk.AttachOptions)(4));
     w19.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label12 = new Gtk.Label();
     this.label12.Name = "label12";
     this.label12.Xalign = 0F;
     this.label12.Yalign = 0F;
     this.label12.LabelProp = "Comment / Location:";
     this.table2.Add(this.label12);
     Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table2[this.label12]));
     w20.TopAttach = ((uint)(3));
     w20.BottomAttach = ((uint)(4));
     w20.XOptions = ((Gtk.AttachOptions)(4));
     w20.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label13 = new Gtk.Label();
     this.label13.Name = "label13";
     this.label13.Xalign = 1F;
     this.label13.LabelProp = "Date:";
     this.table2.Add(this.label13);
     Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table2[this.label13]));
     w21.TopAttach = ((uint)(2));
     w21.BottomAttach = ((uint)(3));
     w21.XOptions = ((Gtk.AttachOptions)(4));
     w21.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label7 = new Gtk.Label();
     this.label7.Name = "label7";
     this.label7.Xalign = 1F;
     this.label7.LabelProp = "Cause:";
     this.table2.Add(this.label7);
     Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table2[this.label7]));
     w22.TopAttach = ((uint)(4));
     w22.BottomAttach = ((uint)(5));
     w22.XOptions = ((Gtk.AttachOptions)(4));
     w22.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label8 = new Gtk.Label();
     this.label8.Name = "label8";
     this.label8.Xalign = 1F;
     this.label8.LabelProp = "Responsible Agency:";
     this.table2.Add(this.label8);
     Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table2[this.label8]));
     w23.TopAttach = ((uint)(5));
     w23.BottomAttach = ((uint)(6));
     w23.XOptions = ((Gtk.AttachOptions)(4));
     w23.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label9 = new Gtk.Label();
     this.label9.Name = "label9";
     this.label9.Xalign = 1F;
     this.label9.LabelProp = "Religious Affilliation:";
     this.table2.Add(this.label9);
     Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table2[this.label9]));
     w24.TopAttach = ((uint)(6));
     w24.BottomAttach = ((uint)(7));
     w24.XOptions = ((Gtk.AttachOptions)(4));
     w24.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.ReligiousEntry = new Gtk.Entry();
     this.ReligiousEntry.CanFocus = true;
     this.ReligiousEntry.Name = "ReligiousEntry";
     this.ReligiousEntry.IsEditable = true;
     this.ReligiousEntry.InvisibleChar = '●';
     this.table2.Add(this.ReligiousEntry);
     Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table2[this.ReligiousEntry]));
     w25.TopAttach = ((uint)(6));
     w25.BottomAttach = ((uint)(7));
     w25.LeftAttach = ((uint)(1));
     w25.RightAttach = ((uint)(2));
     w25.XOptions = ((Gtk.AttachOptions)(4));
     w25.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.scrolledwindow4 = new Gtk.ScrolledWindow();
     this.scrolledwindow4.CanFocus = true;
     this.scrolledwindow4.Name = "scrolledwindow4";
     this.scrolledwindow4.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow4.Gtk.Container+ContainerChild
     this.CommentTextView = new Gtk.TextView();
     this.CommentTextView.CanFocus = true;
     this.CommentTextView.Name = "CommentTextView";
     this.scrolledwindow4.Add(this.CommentTextView);
     this.table2.Add(this.scrolledwindow4);
     Gtk.Table.TableChild w27 = ((Gtk.Table.TableChild)(this.table2[this.scrolledwindow4]));
     w27.TopAttach = ((uint)(3));
     w27.BottomAttach = ((uint)(4));
     w27.LeftAttach = ((uint)(1));
     w27.RightAttach = ((uint)(4));
     w27.YOptions = ((Gtk.AttachOptions)(4));
     this.Notebook.Add(this.table2);
     // Notebook tab
     this.label3 = new Gtk.Label();
     this.label3.Name = "label3";
     this.label3.LabelProp = "Details";
     this.Notebook.SetTabLabel(this.table2, this.label3);
     this.label3.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.AddressView = new Gedcom.UI.GTK.Widgets.AddressView();
     this.AddressView.Events = ((Gdk.EventMask)(256));
     this.AddressView.Name = "AddressView";
     this.Notebook.Add(this.AddressView);
     Gtk.Notebook.NotebookChild w29 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.AddressView]));
     w29.Position = 1;
     // Notebook tab
     this.label4 = new Gtk.Label();
     this.label4.Name = "label4";
     this.label4.LabelProp = "Address";
     this.Notebook.SetTabLabel(this.AddressView, this.label4);
     this.label4.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.NotesView = new Gedcom.UI.GTK.Widgets.NotesView();
     this.NotesView.Events = ((Gdk.EventMask)(256));
     this.NotesView.Name = "NotesView";
     this.NotesView.DataNotes = false;
     this.NotesView.ListOnly = false;
     this.NotesView.NoteOnly = false;
     this.Notebook.Add(this.NotesView);
     Gtk.Notebook.NotebookChild w30 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.NotesView]));
     w30.Position = 2;
     // Notebook tab
     this.label5 = new Gtk.Label();
     this.label5.Name = "label5";
     this.label5.LabelProp = "Notes";
     this.Notebook.SetTabLabel(this.NotesView, this.label5);
     this.label5.ShowAll();
     this.vbox1.Add(this.Notebook);
     Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox1[this.Notebook]));
     w31.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Show();
     this.FactSourceButton.Clicked += new System.EventHandler(this.OnFactSourceButton_Clicked);
     this.EventScrapbookButton.Clicked += new System.EventHandler(this.OnEventScrapbookButton_Clicked);
     this.NotesView.ShowSourceCitation += new System.EventHandler<Gedcom.UI.Common.SourceCitationArgs>(this.OnNotesView_ShowSourceCitation);
     this.NotesView.SelectNewNote += new System.EventHandler<Gedcom.UI.Common.NoteArgs>(this.OnNotesView_SelectNewNote);
 }
 protected virtual void Build() {
     Stetic.Gui.Initialize(this);
     // Widget Gedcom.UI.GTK.Widgets.FamilyMoreView
     Stetic.BinContainer.Attach(this);
     this.Events = ((Gdk.EventMask)(256));
     this.Name = "Gedcom.UI.GTK.Widgets.FamilyMoreView";
     // Container child Gedcom.UI.GTK.Widgets.FamilyMoreView.Gtk.Container+ContainerChild
     this.Notebook = new Gtk.Notebook();
     this.Notebook.CanFocus = true;
     this.Notebook.Name = "Notebook";
     this.Notebook.CurrentPage = 2;
     this.Notebook.BorderWidth = ((uint)(6));
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.table3 = new Gtk.Table(((uint)(3)), ((uint)(5)), false);
     this.table3.Name = "table3";
     this.table3.RowSpacing = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(12));
     this.table3.BorderWidth = ((uint)(6));
     // Container child table3.Gtk.Table+TableChild
     this.FactView = new Gedcom.UI.GTK.Widgets.FactView();
     this.FactView.Events = ((Gdk.EventMask)(256));
     this.FactView.Name = "FactView";
     this.table3.Add(this.FactView);
     Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table3[this.FactView]));
     w1.TopAttach = ((uint)(2));
     w1.BottomAttach = ((uint)(3));
     w1.RightAttach = ((uint)(5));
     // Container child table3.Gtk.Table+TableChild
     this.hseparator4 = new Gtk.HSeparator();
     this.hseparator4.Name = "hseparator4";
     this.table3.Add(this.hseparator4);
     Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table3[this.hseparator4]));
     w2.TopAttach = ((uint)(1));
     w2.BottomAttach = ((uint)(2));
     w2.RightAttach = ((uint)(5));
     w2.XOptions = ((Gtk.AttachOptions)(4));
     w2.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.MarriageView = new Gedcom.UI.GTK.Widgets.MarriageView();
     this.MarriageView.Events = ((Gdk.EventMask)(256));
     this.MarriageView.Name = "MarriageView";
     this.table3.Add(this.MarriageView);
     Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table3[this.MarriageView]));
     w3.RightAttach = ((uint)(5));
     w3.XOptions = ((Gtk.AttachOptions)(4));
     w3.YOptions = ((Gtk.AttachOptions)(4));
     this.Notebook.Add(this.table3);
     // Notebook tab
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.LabelProp = "Facts";
     this.Notebook.SetTabLabel(this.table3, this.label1);
     this.label1.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.AddressView = new Gedcom.UI.GTK.Widgets.AddressView();
     this.AddressView.Events = ((Gdk.EventMask)(256));
     this.AddressView.Name = "AddressView";
     this.Notebook.Add(this.AddressView);
     Gtk.Notebook.NotebookChild w5 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.AddressView]));
     w5.Position = 1;
     // Notebook tab
     this.label2 = new Gtk.Label();
     this.label2.Name = "label2";
     this.label2.LabelProp = "Addresses";
     this.Notebook.SetTabLabel(this.AddressView, this.label2);
     this.label2.ShowAll();
     // Container child Notebook.Gtk.Notebook+NotebookChild
     this.NotesView = new Gedcom.UI.GTK.Widgets.NotesView();
     this.NotesView.Events = ((Gdk.EventMask)(256));
     this.NotesView.Name = "NotesView";
     this.NotesView.DataNotes = false;
     this.NotesView.ListOnly = false;
     this.NotesView.NoteOnly = false;
     this.Notebook.Add(this.NotesView);
     Gtk.Notebook.NotebookChild w6 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.NotesView]));
     w6.Position = 2;
     // Notebook tab
     this.label3 = new Gtk.Label();
     this.label3.Name = "label3";
     this.label3.LabelProp = "Notes";
     this.Notebook.SetTabLabel(this.NotesView, this.label3);
     this.label3.ShowAll();
     this.Add(this.Notebook);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Show();
     this.FactView.ShowSourceCitation += new System.EventHandler<Gedcom.UI.Common.SourceCitationArgs>(this.OnFactView_ShowSourceCitation);
     this.FactView.EventRemoved += new System.EventHandler(this.OnFactView_EventRemoved);
     this.FactView.EventAdded += new System.EventHandler(this.OnFactView_EventAdded);
     this.FactView.ShowScrapBook += new System.EventHandler<Gedcom.UI.Common.ScrapBookArgs>(this.OnFactView_ShowScrapBook);
     this.FactView.MoreInformation += new System.EventHandler<Gedcom.UI.Common.FactArgs>(this.OnFactView_MoreInformation);
     this.AddressView.ShowSourceCitation += new System.EventHandler<Gedcom.UI.Common.SourceCitationArgs>(this.OnAddressView_ShowSourceCitation);
     this.AddressView.ShowScrapBook += new System.EventHandler<Gedcom.UI.Common.ScrapBookArgs>(this.OnAddressView_ShowScrapBook);
     this.AddressView.MoreFactInformation += new System.EventHandler<Gedcom.UI.Common.FactArgs>(this.OnAddressView_MoreFactInformation);
     this.NotesView.ShowSourceCitation += new System.EventHandler<Gedcom.UI.Common.SourceCitationArgs>(this.OnNotesView_ShowSourceCitation);
     this.NotesView.SelectNewNote += new System.EventHandler<Gedcom.UI.Common.NoteArgs>(this.OnNotesView_SelectNewNote);
 }
 protected virtual void Build() {
     Stetic.Gui.Initialize(this);
     // Widget Gedcom.UI.GTK.NoteListDialog
     this.Name = "Gedcom.UI.GTK.NoteListDialog";
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     this.HasSeparator = false;
     // Internal child Gedcom.UI.GTK.NoteListDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.NotesListView = new Gedcom.UI.GTK.Widgets.NotesView();
     this.NotesListView.Events = ((Gdk.EventMask)(256));
     this.NotesListView.Name = "NotesListView";
     this.NotesListView.DataNotes = false;
     this.NotesListView.ListOnly = true;
     this.NotesListView.NoteOnly = false;
     w1.Add(this.NotesListView);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.NotesListView]));
     w2.Position = 0;
     // Internal child Gedcom.UI.GTK.NoteListDialog.ActionArea
     Gtk.HButtonBox w3 = this.ActionArea;
     w3.Name = "dialog1_ActionArea";
     w3.Spacing = 6;
     w3.BorderWidth = ((uint)(5));
     w3.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.button1456 = new Gtk.Button();
     this.button1456.CanFocus = true;
     this.button1456.Name = "button1456";
     this.button1456.UseStock = true;
     this.button1456.UseUnderline = true;
     this.button1456.Label = "gtk-help";
     this.AddActionWidget(this.button1456, -11);
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel = new Gtk.Button();
     this.buttonCancel.CanDefault = true;
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseStock = true;
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = "gtk-new";
     this.AddActionWidget(this.buttonCancel, -5);
     Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonCancel]));
     w5.Position = 1;
     w5.Expand = false;
     w5.Fill = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk = new Gtk.Button();
     this.buttonOk.CanDefault = true;
     this.buttonOk.CanFocus = true;
     this.buttonOk.Name = "buttonOk";
     this.buttonOk.UseUnderline = true;
     // Container child buttonOk.Gtk.Container+ContainerChild
     Gtk.Alignment w6 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     Gtk.HBox w7 = new Gtk.HBox();
     w7.Spacing = 2;
     // Container child GtkHBox2.Gtk.Container+ContainerChild
     Gtk.Image w8 = new Gtk.Image();
     w8.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-apply", Gtk.IconSize.Button, 20);
     w7.Add(w8);
     // Container child GtkHBox2.Gtk.Container+ContainerChild
     Gtk.Label w10 = new Gtk.Label();
     w10.LabelProp = Mono.Unix.Catalog.GetString("_Select");
     w10.UseUnderline = true;
     w7.Add(w10);
     w6.Add(w7);
     this.buttonOk.Add(w6);
     this.AddActionWidget(this.buttonOk, -10);
     Gtk.ButtonBox.ButtonBoxChild w14 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk]));
     w14.Position = 2;
     w14.Expand = false;
     w14.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 400;
     this.DefaultHeight = 300;
     this.Show();
 }
Esempio n. 10
0
 protected virtual void Build() {
     Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new Gtk.UIManager();
     Gtk.ActionGroup w1 = new Gtk.ActionGroup("ToolsGroup");
     this.Tools = new Gtk.Action("Tools", Mono.Unix.Catalog.GetString("_Tools"), null, null);
     this.Tools.ShortLabel = Mono.Unix.Catalog.GetString("_Tools");
     w1.Add(this.Tools, null);
     this.FindDuplicates = new Gtk.Action("FindDuplicates", Mono.Unix.Catalog.GetString("Find Duplicates"), null, null);
     this.FindDuplicates.ShortLabel = Mono.Unix.Catalog.GetString("Find Duplicates");
     w1.Add(this.FindDuplicates, null);
     this.UIManager.InsertActionGroup(w1, 0);
     Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default");
     this.File = new Gtk.Action("File", Mono.Unix.Catalog.GetString("_File"), null, null);
     this.File.ShortLabel = "File";
     w2.Add(this.File, null);
     this.New = new Gtk.Action("New", Mono.Unix.Catalog.GetString("New"), null, "gtk-new");
     this.New.ShortLabel = "New";
     w2.Add(this.New, null);
     this.NewDatabase = new Gtk.Action("NewDatabase", Mono.Unix.Catalog.GetString("New Database"), null, "gtk-new");
     this.NewDatabase.ShortLabel = Mono.Unix.Catalog.GetString("New Database");
     w2.Add(this.NewDatabase, null);
     this.NewIndividual = new Gtk.Action("NewIndividual", Mono.Unix.Catalog.GetString("New Individual"), null, null);
     this.NewIndividual.ShortLabel = Mono.Unix.Catalog.GetString("New Individual");
     w2.Add(this.NewIndividual, null);
     this.NewSource = new Gtk.Action("NewSource", Mono.Unix.Catalog.GetString("New Source"), null, null);
     this.NewSource.ShortLabel = Mono.Unix.Catalog.GetString("New Source");
     w2.Add(this.NewSource, null);
     this.NewRepository = new Gtk.Action("NewRepository", Mono.Unix.Catalog.GetString("New Repository"), null, null);
     this.NewRepository.ShortLabel = Mono.Unix.Catalog.GetString("New Repository");
     w2.Add(this.NewRepository, null);
     this.NewMedia = new Gtk.Action("NewMedia", Mono.Unix.Catalog.GetString("New Media"), null, null);
     this.NewMedia.ShortLabel = Mono.Unix.Catalog.GetString("New Media");
     w2.Add(this.NewMedia, null);
     this.Open = new Gtk.Action("Open", Mono.Unix.Catalog.GetString("_Open"), null, "gtk-open");
     this.Open.ShortLabel = "_Open";
     w2.Add(this.Open, null);
     this.Merge = new Gtk.Action("Merge", Mono.Unix.Catalog.GetString("Merge"), null, "gtk-convert");
     this.Merge.ShortLabel = Mono.Unix.Catalog.GetString("Merge");
     w2.Add(this.Merge, null);
     this.Save = new Gtk.Action("Save", Mono.Unix.Catalog.GetString("_Save"), null, "gtk-save");
     this.Save.ShortLabel = "_Save";
     w2.Add(this.Save, null);
     this.SaveAs = new Gtk.Action("SaveAs", Mono.Unix.Catalog.GetString("Save _As"), null, "gtk-save-as");
     this.SaveAs.ShortLabel = "Save _As";
     w2.Add(this.SaveAs, null);
     this.Quit = new Gtk.Action("Quit", Mono.Unix.Catalog.GetString("Quit"), null, "gtk-quit");
     this.Quit.ShortLabel = "Quit";
     w2.Add(this.Quit, "<Control>q");
     this.Edit = new Gtk.Action("Edit", Mono.Unix.Catalog.GetString("_Edit"), null, null);
     this.Edit.ShortLabel = "_Edit";
     w2.Add(this.Edit, null);
     this.Help = new Gtk.Action("Help", Mono.Unix.Catalog.GetString("_Help"), null, null);
     this.Help.ShortLabel = "_Help";
     w2.Add(this.Help, null);
     this.About = new Gtk.Action("About", Mono.Unix.Catalog.GetString("About"), null, "gtk-about");
     this.About.ShortLabel = "About";
     w2.Add(this.About, null);
     this.Undo = new Gtk.Action("Undo", Mono.Unix.Catalog.GetString("_Undo"), null, "gtk-undo");
     this.Undo.ShortLabel = Mono.Unix.Catalog.GetString("_Undo");
     w2.Add(this.Undo, null);
     this.Redo = new Gtk.Action("Redo", Mono.Unix.Catalog.GetString("_Redo"), null, "gtk-redo");
     this.Redo.ShortLabel = Mono.Unix.Catalog.GetString("_Redo");
     w2.Add(this.Redo, null);
     this.Cut = new Gtk.Action("Cut", Mono.Unix.Catalog.GetString("Cu_t"), null, "gtk-cut");
     this.Cut.ShortLabel = Mono.Unix.Catalog.GetString("Cu_t");
     w2.Add(this.Cut, null);
     this.Copy = new Gtk.Action("Copy", Mono.Unix.Catalog.GetString("_Copy"), null, "gtk-copy");
     this.Copy.ShortLabel = Mono.Unix.Catalog.GetString("_Copy");
     w2.Add(this.Copy, null);
     this.Paste = new Gtk.Action("Paste", Mono.Unix.Catalog.GetString("_Paste"), null, "gtk-paste");
     this.Paste.ShortLabel = Mono.Unix.Catalog.GetString("_Paste");
     w2.Add(this.Paste, null);
     this.Delete = new Gtk.Action("Delete", Mono.Unix.Catalog.GetString("_Delete"), null, "gtk-delete");
     this.Delete.ShortLabel = Mono.Unix.Catalog.GetString("_Delete");
     w2.Add(this.Delete, null);
     this.Preferences = new Gtk.Action("Preferences", Mono.Unix.Catalog.GetString("_Preferences"), null, "gtk-preferences");
     this.Preferences.ShortLabel = Mono.Unix.Catalog.GetString("_Preferences");
     w2.Add(this.Preferences, null);
     this.NewNote = new Gtk.Action("NewNote", Mono.Unix.Catalog.GetString("New Note"), null, null);
     this.NewNote.ShortLabel = Mono.Unix.Catalog.GetString("New Note");
     w2.Add(this.NewNote, null);
     this.PropertiesAction = new Gtk.Action("PropertiesAction", Mono.Unix.Catalog.GetString("_Properties"), null, "gtk-properties");
     this.PropertiesAction.ShortLabel = Mono.Unix.Catalog.GetString("_Properties");
     w2.Add(this.PropertiesAction, null);
     this.UIManager.InsertActionGroup(w2, 1);
     Gtk.ActionGroup w3 = new Gtk.ActionGroup("Reports");
     this.Reports = new Gtk.Action("Reports", Mono.Unix.Catalog.GetString("_Reports"), null, null);
     this.Reports.ShortLabel = Mono.Unix.Catalog.GetString("_Reports");
     w3.Add(this.Reports, null);
     this.Individual = new Gtk.Action("Individual", Mono.Unix.Catalog.GetString("Individual"), null, null);
     this.Individual.ShortLabel = Mono.Unix.Catalog.GetString("Individual");
     w3.Add(this.Individual, null);
     this.IndividualReportWebPage = new Gtk.Action("IndividualReportWebPage", Mono.Unix.Catalog.GetString("Web Page"), null, null);
     this.IndividualReportWebPage.ShortLabel = Mono.Unix.Catalog.GetString("Web Page");
     w3.Add(this.IndividualReportWebPage, null);
     this.Descendants = new Gtk.Action("Descendants", Mono.Unix.Catalog.GetString("Descendants"), null, null);
     this.Descendants.ShortLabel = Mono.Unix.Catalog.GetString("Descendants");
     w3.Add(this.Descendants, null);
     this.DescendantsReportWebPage = new Gtk.Action("DescendantsReportWebPage", Mono.Unix.Catalog.GetString("Web Page"), null, null);
     this.DescendantsReportWebPage.ShortLabel = Mono.Unix.Catalog.GetString("Web Page");
     w3.Add(this.DescendantsReportWebPage, null);
     this.Family = new Gtk.Action("Family", Mono.Unix.Catalog.GetString("Family"), null, null);
     this.Family.ShortLabel = Mono.Unix.Catalog.GetString("Family");
     w3.Add(this.Family, null);
     this.FamilyGroupSheetReportWebPage = new Gtk.Action("FamilyGroupSheetReportWebPage", Mono.Unix.Catalog.GetString("Web Page"), null, null);
     this.FamilyGroupSheetReportWebPage.ShortLabel = Mono.Unix.Catalog.GetString("Web Page");
     w3.Add(this.FamilyGroupSheetReportWebPage, null);
     this.UIManager.InsertActionGroup(w3, 2);
     Gtk.ActionGroup w4 = new Gtk.ActionGroup("ViewGroup");
     this.View = new Gtk.Action("View", Mono.Unix.Catalog.GetString("_View"), null, null);
     this.View.ShortLabel = "_View";
     w4.Add(this.View, null);
     this.SummaryViewAction = new Gtk.RadioAction("SummaryViewAction", Mono.Unix.Catalog.GetString("Summary View"), null, null, 0);
     this.SummaryViewAction.Group = new GLib.SList(System.IntPtr.Zero);
     this.SummaryViewAction.ShortLabel = "Summary";
     w4.Add(this.SummaryViewAction, null);
     this.FamilyViewAction = new Gtk.RadioAction("FamilyViewAction", Mono.Unix.Catalog.GetString("Family View"), null, null, 1);
     this.FamilyViewAction.Group = this.SummaryViewAction.Group;
     this.FamilyViewAction.ShortLabel = "Family View";
     w4.Add(this.FamilyViewAction, null);
     this.IndividualViewAction = new Gtk.RadioAction("IndividualViewAction", Mono.Unix.Catalog.GetString("Individual View"), null, null, 2);
     this.IndividualViewAction.Group = this.SummaryViewAction.Group;
     this.IndividualViewAction.ShortLabel = "Individual View";
     w4.Add(this.IndividualViewAction, null);
     this.SourceViewAction = new Gtk.RadioAction("SourceViewAction", Mono.Unix.Catalog.GetString("Source View"), null, null, 3);
     this.SourceViewAction.Group = this.SummaryViewAction.Group;
     this.SourceViewAction.ShortLabel = "Source View";
     w4.Add(this.SourceViewAction, null);
     this.MultimediaViewAction = new Gtk.RadioAction("MultimediaViewAction", Mono.Unix.Catalog.GetString("Multimedia View"), null, null, 4);
     this.MultimediaViewAction.Group = this.SummaryViewAction.Group;
     this.MultimediaViewAction.ShortLabel = "Multimedia View";
     w4.Add(this.MultimediaViewAction, null);
     this.RepositoryViewAction = new Gtk.RadioAction("RepositoryViewAction", Mono.Unix.Catalog.GetString("Repository View"), null, null, 5);
     this.RepositoryViewAction.Group = this.SummaryViewAction.Group;
     this.RepositoryViewAction.ShortLabel = "Repository View";
     w4.Add(this.RepositoryViewAction, null);
     this.PedigreeViewAction = new Gtk.RadioAction("PedigreeViewAction", Mono.Unix.Catalog.GetString("Pedigree View"), null, null, 6);
     this.PedigreeViewAction.Group = this.SummaryViewAction.Group;
     this.PedigreeViewAction.ShortLabel = "Pedigree View";
     w4.Add(this.PedigreeViewAction, null);
     this.ListOfMediaItems = new Gtk.Action("ListOfMediaItems", Mono.Unix.Catalog.GetString("List Of Media Items"), null, "gtk-index");
     this.ListOfMediaItems.ShortLabel = Mono.Unix.Catalog.GetString("List Of Media Items");
     w4.Add(this.ListOfMediaItems, null);
     this.ListOfIndividuals = new Gtk.Action("ListOfIndividuals", Mono.Unix.Catalog.GetString("List Of Individuals"), null, "gtk-index");
     this.ListOfIndividuals.ShortLabel = "List Of Individuals";
     w4.Add(this.ListOfIndividuals, null);
     this.Go = new Gtk.Action("Go", Mono.Unix.Catalog.GetString("_Go"), null, null);
     this.Go.ShortLabel = "Go";
     w4.Add(this.Go, null);
     this.HusbandSParents = new Gtk.Action("HusbandSParents", Mono.Unix.Catalog.GetString("Husband's Parents"), null, "gtk-go-up");
     this.HusbandSParents.ShortLabel = "Husband's Parents";
     w4.Add(this.HusbandSParents, null);
     this.WifeSParents = new Gtk.Action("WifeSParents", Mono.Unix.Catalog.GetString("Wife's Parents"), null, "gtk-go-up");
     this.WifeSParents.ShortLabel = "Wife's Parents";
     w4.Add(this.WifeSParents, null);
     this.ListOfSources = new Gtk.Action("ListOfSources", Mono.Unix.Catalog.GetString("List Of Sources"), null, "gtk-index");
     this.ListOfSources.ShortLabel = "List Of Sources";
     w4.Add(this.ListOfSources, null);
     this.ListOfRepositories = new Gtk.Action("ListOfRepositories", Mono.Unix.Catalog.GetString("List Of Repositories"), null, "gtk-index");
     this.ListOfRepositories.ShortLabel = "List Of Repositories";
     w4.Add(this.ListOfRepositories, null);
     this.ListOfNotesAction = new Gtk.Action("ListOfNotesAction", Mono.Unix.Catalog.GetString("List Of Notes"), null, "gtk-index");
     this.ListOfNotesAction.ShortLabel = Mono.Unix.Catalog.GetString("List Of Notes");
     w4.Add(this.ListOfNotesAction, null);
     this.NoteViewAction = new Gtk.RadioAction("NoteViewAction", Mono.Unix.Catalog.GetString("Note View"), null, null, 7);
     this.NoteViewAction.Group = this.SummaryViewAction.Group;
     this.NoteViewAction.ShortLabel = Mono.Unix.Catalog.GetString("Note View");
     w4.Add(this.NoteViewAction, null);
     this.UIManager.InsertActionGroup(w4, 3);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = Mono.Unix.Catalog.GetString("Gedcom.NET GTK UI");
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new Gtk.VBox();
     this.vbox1.Name = "vbox1";
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='File' action='File'><menu name='New' action='New'><menuitem name='NewDatabase' action='NewDatabase'/><menuitem name='NewIndividual' action='NewIndividual'/><menuitem name='NewMedia' action='NewMedia'/><menuitem name='NewRepository' action='NewRepository'/><menuitem name='NewSource' action='NewSource'/><menuitem name='NewNote' action='NewNote'/></menu><menuitem name='Open' action='Open'/><menuitem name='Merge' action='Merge'/><separator/><menuitem name='Save' action='Save'/><menuitem name='SaveAs' action='SaveAs'/><separator/><menuitem name='PropertiesAction' action='PropertiesAction'/><separator/><menuitem name='Quit' action='Quit'/></menu><menu name='Edit' action='Edit'><menuitem name='Undo' action='Undo'/><menuitem name='Redo' action='Redo'/><separator/><menuitem name='Cut' action='Cut'/><menuitem name='Copy' action='Copy'/><menuitem name='Paste' action='Paste'/><menuitem name='Delete' action='Delete'/><separator/><menuitem name='Preferences' action='Preferences'/></menu><menu name='View' action='View'><menuitem name='ListOfIndividuals' action='ListOfIndividuals'/><menuitem name='ListOfMediaItems' action='ListOfMediaItems'/><menuitem name='ListOfNotesAction' action='ListOfNotesAction'/><menuitem name='ListOfRepositories' action='ListOfRepositories'/><menuitem name='ListOfSources' action='ListOfSources'/><separator/><menuitem name='SummaryViewAction' action='SummaryViewAction'/><menuitem name='FamilyViewAction' action='FamilyViewAction'/><menuitem name='IndividualViewAction' action='IndividualViewAction'/><menuitem name='SourceViewAction' action='SourceViewAction'/><menuitem name='MultimediaViewAction' action='MultimediaViewAction'/><menuitem name='RepositoryViewAction' action='RepositoryViewAction'/><menuitem name='PedigreeViewAction' action='PedigreeViewAction'/><menuitem name='NoteViewAction' action='NoteViewAction'/></menu><menu name='Go' action='Go'><menuitem name='HusbandSParents' action='HusbandSParents'/><menuitem name='WifeSParents' action='WifeSParents'/></menu><menu name='Reports' action='Reports'><menu name='Individual' action='Individual'><menuitem name='IndividualReportWebPage' action='IndividualReportWebPage'/></menu><menu name='Descendants' action='Descendants'><menuitem name='DescendantsReportWebPage' action='DescendantsReportWebPage'/></menu><menu name='Family' action='Family'><menuitem name='FamilyGroupSheetReportWebPage' action='FamilyGroupSheetReportWebPage'/></menu></menu><menu name='Tools' action='Tools'><menuitem name='FindDuplicates' action='FindDuplicates'/></menu><menu name='Help' action='Help'><menuitem name='About' action='About'/></menu></menubar></ui>");
     this.menubar1 = ((Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='Save' action='Save'/><separator/><toolitem name='HusbandSParents' action='HusbandSParents'/><toolitem name='WifeSParents' action='WifeSParents'/><separator/><toolitem name='ListOfIndividuals' action='ListOfIndividuals'/><toolitem name='ListOfMediaItems' action='ListOfMediaItems'/><toolitem name='ListOfNotesAction' action='ListOfNotesAction'/><toolitem name='ListOfSources' action='ListOfSources'/><toolitem name='ListOfRepositories' action='ListOfRepositories'/></toolbar></ui>");
     this.toolbar1 = ((Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.Name = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.toolbar1.ToolbarStyle = ((Gtk.ToolbarStyle)(0));
     this.vbox1.Add(this.toolbar1);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox1[this.toolbar1]));
     w6.Position = 1;
     w6.Expand = false;
     w6.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.ViewNotebook = new Gtk.Notebook();
     this.ViewNotebook.CanFocus = true;
     this.ViewNotebook.Name = "ViewNotebook";
     this.ViewNotebook.CurrentPage = 0;
     // Container child ViewNotebook.Gtk.Notebook+NotebookChild
     this.SummaryViewView = new Gedcom.UI.GTK.Widgets.SummaryView();
     this.SummaryViewView.Events = ((Gdk.EventMask)(256));
     this.SummaryViewView.Name = "SummaryViewView";
     this.ViewNotebook.Add(this.SummaryViewView);
     // Notebook tab
     this.label41 = new Gtk.Label();
     this.label41.Name = "label41";
     this.label41.LabelProp = "Summary View";
     this.ViewNotebook.SetTabLabel(this.SummaryViewView, this.label41);
     this.label41.ShowAll();
     // Container child ViewNotebook.Gtk.Notebook+NotebookChild
     this.FamilyViewView = new Gedcom.UI.GTK.Widgets.FamilyView();
     this.FamilyViewView.Events = ((Gdk.EventMask)(256));
     this.FamilyViewView.Name = "FamilyViewView";
     this.ViewNotebook.Add(this.FamilyViewView);
     Gtk.Notebook.NotebookChild w8 = ((Gtk.Notebook.NotebookChild)(this.ViewNotebook[this.FamilyViewView]));
     w8.Position = 1;
     // Notebook tab
     this.label23 = new Gtk.Label();
     this.label23.Name = "label23";
     this.label23.LabelProp = "Family View";
     this.ViewNotebook.SetTabLabel(this.FamilyViewView, this.label23);
     this.label23.ShowAll();
     // Container child ViewNotebook.Gtk.Notebook+NotebookChild
     this.IndividualViewView = new Gedcom.UI.GTK.Widgets.IndividualView();
     this.IndividualViewView.Events = ((Gdk.EventMask)(256));
     this.IndividualViewView.Name = "IndividualViewView";
     this.ViewNotebook.Add(this.IndividualViewView);
     Gtk.Notebook.NotebookChild w9 = ((Gtk.Notebook.NotebookChild)(this.ViewNotebook[this.IndividualViewView]));
     w9.Position = 2;
     // Notebook tab
     this.label64 = new Gtk.Label();
     this.label64.Name = "label64";
     this.label64.LabelProp = "Individual View";
     this.ViewNotebook.SetTabLabel(this.IndividualViewView, this.label64);
     this.label64.ShowAll();
     // Container child ViewNotebook.Gtk.Notebook+NotebookChild
     this.SourceViewView = new Gedcom.UI.GTK.Widgets.SourceView();
     this.SourceViewView.Events = ((Gdk.EventMask)(256));
     this.SourceViewView.Name = "SourceViewView";
     this.ViewNotebook.Add(this.SourceViewView);
     Gtk.Notebook.NotebookChild w10 = ((Gtk.Notebook.NotebookChild)(this.ViewNotebook[this.SourceViewView]));
     w10.Position = 3;
     // Notebook tab
     this.label73 = new Gtk.Label();
     this.label73.Name = "label73";
     this.label73.LabelProp = "Source View";
     this.ViewNotebook.SetTabLabel(this.SourceViewView, this.label73);
     this.label73.ShowAll();
     // Container child ViewNotebook.Gtk.Notebook+NotebookChild
     this.MultimediaViewView = new Gedcom.UI.GTK.Widgets.ScrapBookView();
     this.MultimediaViewView.Events = ((Gdk.EventMask)(256));
     this.MultimediaViewView.Name = "MultimediaViewView";
     this.MultimediaViewView.ShowRecordList = false;
     this.MultimediaViewView.ShowFileList = false;
     this.ViewNotebook.Add(this.MultimediaViewView);
     Gtk.Notebook.NotebookChild w11 = ((Gtk.Notebook.NotebookChild)(this.ViewNotebook[this.MultimediaViewView]));
     w11.Position = 4;
     // Notebook tab
     this.label76 = new Gtk.Label();
     this.label76.Name = "label76";
     this.label76.LabelProp = "Multimedia View";
     this.ViewNotebook.SetTabLabel(this.MultimediaViewView, this.label76);
     this.label76.ShowAll();
     // Container child ViewNotebook.Gtk.Notebook+NotebookChild
     this.RepositoryViewView = new Gedcom.UI.GTK.Widgets.RepositoryView();
     this.RepositoryViewView.Events = ((Gdk.EventMask)(256));
     this.RepositoryViewView.Name = "RepositoryViewView";
     this.ViewNotebook.Add(this.RepositoryViewView);
     Gtk.Notebook.NotebookChild w12 = ((Gtk.Notebook.NotebookChild)(this.ViewNotebook[this.RepositoryViewView]));
     w12.Position = 5;
     // Notebook tab
     this.label89 = new Gtk.Label();
     this.label89.Name = "label89";
     this.label89.LabelProp = "Repository View";
     this.ViewNotebook.SetTabLabel(this.RepositoryViewView, this.label89);
     this.label89.ShowAll();
     // Container child ViewNotebook.Gtk.Notebook+NotebookChild
     this.PedigreeViewView = new Gedcom.UI.GTK.Widgets.PedigreeView();
     this.PedigreeViewView.Events = ((Gdk.EventMask)(256));
     this.PedigreeViewView.Name = "PedigreeViewView";
     this.ViewNotebook.Add(this.PedigreeViewView);
     Gtk.Notebook.NotebookChild w13 = ((Gtk.Notebook.NotebookChild)(this.ViewNotebook[this.PedigreeViewView]));
     w13.Position = 6;
     // Notebook tab
     this.label90 = new Gtk.Label();
     this.label90.Name = "label90";
     this.label90.LabelProp = Mono.Unix.Catalog.GetString("Pedigree View");
     this.ViewNotebook.SetTabLabel(this.PedigreeViewView, this.label90);
     this.label90.ShowAll();
     // Container child ViewNotebook.Gtk.Notebook+NotebookChild
     this.NotesViewView = new Gedcom.UI.GTK.Widgets.NotesView();
     this.NotesViewView.Events = ((Gdk.EventMask)(256));
     this.NotesViewView.Name = "NotesViewView";
     this.NotesViewView.DataNotes = false;
     this.NotesViewView.ListOnly = false;
     this.NotesViewView.NoteOnly = true;
     this.ViewNotebook.Add(this.NotesViewView);
     Gtk.Notebook.NotebookChild w14 = ((Gtk.Notebook.NotebookChild)(this.ViewNotebook[this.NotesViewView]));
     w14.Position = 7;
     // Notebook tab
     this.label91 = new Gtk.Label();
     this.label91.Name = "label91";
     this.label91.LabelProp = "Notes View";
     this.ViewNotebook.SetTabLabel(this.NotesViewView, this.label91);
     this.label91.ShowAll();
     // Container child ViewNotebook.Gtk.Notebook+NotebookChild
     this.DuplicateViewView = new Gedcom.UI.GTK.Widgets.DuplicateView();
     this.DuplicateViewView.Events = ((Gdk.EventMask)(256));
     this.DuplicateViewView.Name = "DuplicateViewView";
     this.DuplicateViewView.Threshold = 80F;
     this.ViewNotebook.Add(this.DuplicateViewView);
     Gtk.Notebook.NotebookChild w15 = ((Gtk.Notebook.NotebookChild)(this.ViewNotebook[this.DuplicateViewView]));
     w15.Position = 8;
     // Notebook tab
     this.label100 = new Gtk.Label();
     this.label100.Name = "label100";
     this.label100.LabelProp = Mono.Unix.Catalog.GetString("Duplicates View");
     this.ViewNotebook.SetTabLabel(this.DuplicateViewView, this.label100);
     this.label100.ShowAll();
     this.vbox1.Add(this.ViewNotebook);
     Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox1[this.ViewNotebook]));
     w16.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.StatusBar = new Gtk.Statusbar();
     this.StatusBar.Name = "StatusBar";
     this.StatusBar.Spacing = 2;
     // Container child StatusBar.Gtk.Box+BoxChild
     this.ProgressBar = new Gtk.ProgressBar();
     this.ProgressBar.Name = "ProgressBar";
     this.StatusBar.Add(this.ProgressBar);
     Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.StatusBar[this.ProgressBar]));
     w17.PackType = ((Gtk.PackType)(1));
     w17.Position = 1;
     w17.Expand = false;
     this.vbox1.Add(this.StatusBar);
     Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.vbox1[this.StatusBar]));
     w18.Position = 3;
     w18.Expand = false;
     w18.Fill = false;
     this.Add(this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 880;
     this.DefaultHeight = 637;
     this.Show();
     this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.FindDuplicates.Activated += new System.EventHandler(this.OnFindDuplicates_Activated);
     this.NewDatabase.Activated += new System.EventHandler(this.OnNewDatabase_Activated);
     this.NewIndividual.Activated += new System.EventHandler(this.OnNewIndividual_Activated);
     this.NewSource.Activated += new System.EventHandler(this.OnNewSource_Activated);
     this.NewRepository.Activated += new System.EventHandler(this.OnNewRepository_Activated);
     this.NewMedia.Activated += new System.EventHandler(this.OnNewMedia_Activated);
     this.Open.Activated += new System.EventHandler(this.OnOpen_Activated);
     this.Merge.Activated += new System.EventHandler(this.OnMerge_Activated);
     this.Save.Activated += new System.EventHandler(this.OnSave_Activated);
     this.SaveAs.Activated += new System.EventHandler(this.OnSaveAs_Activated);
     this.Quit.Activated += new System.EventHandler(this.OnQuit);
     this.About.Activated += new System.EventHandler(this.OnAbout);
     this.Preferences.Activated += new System.EventHandler(this.OnPreferences_Activated);
     this.NewNote.Activated += new System.EventHandler(this.OnNewNote_Activated);
     this.PropertiesAction.Activated += new System.EventHandler(this.OnPropertiesAction_Activated);
     this.IndividualReportWebPage.Activated += new System.EventHandler(this.OnIndividualReportWebPage_Activated);
     this.DescendantsReportWebPage.Activated += new System.EventHandler(this.OnDecendantsReportWebPage_Activated);
     this.FamilyGroupSheetReportWebPage.Activated += new System.EventHandler(this.OnFamilyGroupSheetReportWebPage_Activated);
     this.FamilyViewAction.Changed += new Gtk.ChangedHandler(this.OnFamilyViewActionChanged);
     this.ListOfMediaItems.Activated += new System.EventHandler(this.OnListMediaItems_Activated);
     this.ListOfIndividuals.Activated += new System.EventHandler(this.OnListIndividuals_Activated);
     this.HusbandSParents.Activated += new System.EventHandler(this.OnHusbandsParents_Activated);
     this.WifeSParents.Activated += new System.EventHandler(this.OnWifesParents_Activated);
     this.ListOfSources.Activated += new System.EventHandler(this.OnListSources_Activated);
     this.ListOfRepositories.Activated += new System.EventHandler(this.OnListRepositories_Activated);
     this.ListOfNotesAction.Activated += new System.EventHandler(this.OnListOfNotesAction_Activated);
     this.ViewNotebook.SwitchPage += new Gtk.SwitchPageHandler(this.OnSwitchPage);
 }
 protected virtual void Build() {
     Stetic.Gui.Initialize(this);
     // Widget Gedcom.UI.GTK.Widgets.SubmitterView
     Stetic.BinContainer.Attach(this);
     this.Name = "Gedcom.UI.GTK.Widgets.SubmitterView";
     // Container child Gedcom.UI.GTK.Widgets.SubmitterView.Gtk.Container+ContainerChild
     this.notebook1 = new Gtk.Notebook();
     this.notebook1.CanFocus = true;
     this.notebook1.Name = "notebook1";
     this.notebook1.CurrentPage = 2;
     this.notebook1.BorderWidth = ((uint)(6));
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.table1 = new Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.AddressView = new Gedcom.UI.GTK.Widgets.AddressView();
     this.AddressView.Events = ((Gdk.EventMask)(256));
     this.AddressView.Name = "AddressView";
     this.table1.Add(this.AddressView);
     Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.AddressView]));
     w1.TopAttach = ((uint)(1));
     w1.BottomAttach = ((uint)(2));
     w1.RightAttach = ((uint)(2));
     // Container child table1.Gtk.Table+TableChild
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.LabelProp = "Name:";
     this.table1.Add(this.label1);
     Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.label1]));
     w2.XOptions = ((Gtk.AttachOptions)(4));
     w2.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.NameEntry = new Gtk.Entry();
     this.NameEntry.CanFocus = true;
     this.NameEntry.Name = "NameEntry";
     this.NameEntry.IsEditable = true;
     this.NameEntry.InvisibleChar = '●';
     this.table1.Add(this.NameEntry);
     Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.NameEntry]));
     w3.LeftAttach = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.YOptions = ((Gtk.AttachOptions)(4));
     this.notebook1.Add(this.table1);
     // Notebook tab
     this.label3 = new Gtk.Label();
     this.label3.Name = "label3";
     this.label3.LabelProp = "Details";
     this.notebook1.SetTabLabel(this.table1, this.label3);
     this.label3.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.ScrapBookView = new Gedcom.UI.GTK.Widgets.ScrapBookView();
     this.ScrapBookView.Events = ((Gdk.EventMask)(256));
     this.ScrapBookView.Name = "ScrapBookView";
     this.ScrapBookView.ShowRecordList = false;
     this.ScrapBookView.ShowFileList = false;
     this.notebook1.Add(this.ScrapBookView);
     Gtk.Notebook.NotebookChild w5 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.ScrapBookView]));
     w5.Position = 1;
     // Notebook tab
     this.label4 = new Gtk.Label();
     this.label4.Name = "label4";
     this.label4.LabelProp = "Scrapbook";
     this.notebook1.SetTabLabel(this.ScrapBookView, this.label4);
     this.label4.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.NotesView = new Gedcom.UI.GTK.Widgets.NotesView();
     this.NotesView.Events = ((Gdk.EventMask)(256));
     this.NotesView.Name = "NotesView";
     this.NotesView.DataNotes = false;
     this.NotesView.ListOnly = false;
     this.NotesView.NoteOnly = false;
     this.notebook1.Add(this.NotesView);
     Gtk.Notebook.NotebookChild w6 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.NotesView]));
     w6.Position = 2;
     // Notebook tab
     this.label2 = new Gtk.Label();
     this.label2.Name = "label2";
     this.label2.LabelProp = "Notes";
     this.notebook1.SetTabLabel(this.NotesView, this.label2);
     this.label2.ShowAll();
     this.Add(this.notebook1);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Hide();
     this.ScrapBookView.FileSelected += new System.EventHandler(this.OnScrapBookView_FileSelected);
     this.ScrapBookView.FileDeSelected += new System.EventHandler(this.OnScrapBookView_FileDeSelected);
     this.ScrapBookView.OpenFile += new System.EventHandler<Gedcom.UI.Common.MultimediaFileArgs>(this.OnScrapBookView_OpenFile);
     this.ScrapBookView.ShowSourceCitation += new System.EventHandler<Gedcom.UI.Common.SourceCitationArgs>(this.OnScrapBookView_ShowSourceCitation);
     this.ScrapBookView.AddFile += new System.EventHandler<Gedcom.UI.Common.MultimediaFileArgs>(this.OnScrapBookView_AddFile);
     this.ScrapBookView.SelectNewNote += new System.EventHandler<Gedcom.UI.Common.NoteArgs>(this.OnScrapBookView_SelectNewNote);
     this.NotesView.ShowSourceCitation += new System.EventHandler<Gedcom.UI.Common.SourceCitationArgs>(this.OnNotesViewShow_SourceCitation);
     this.NotesView.SelectNewNote += new System.EventHandler<Gedcom.UI.Common.NoteArgs>(this.OnNotesView_SelectNewNote);
 }