protected virtual void Build() {
     Stetic.Gui.Initialize(this);
     // Widget Gedcom.UI.GTK.IndividualMoreDialog
     this.Events = ((Gdk.EventMask)(256));
     this.Name = "Gedcom.UI.GTK.IndividualMoreDialog";
     this.Title = Mono.Unix.Catalog.GetString("IndividualMoreDialog");
     // Internal child Gedcom.UI.GTK.IndividualMoreDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Events = ((Gdk.EventMask)(256));
     w1.Name = "dialog_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog_VBox.Gtk.Box+BoxChild
     this.IndividualView = new Gedcom.UI.GTK.Widgets.IndividualView();
     this.IndividualView.Events = ((Gdk.EventMask)(256));
     this.IndividualView.Name = "IndividualView";
     w1.Add(this.IndividualView);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.IndividualView]));
     w2.Position = 0;
     // Internal child Gedcom.UI.GTK.IndividualMoreDialog.ActionArea
     Gtk.HButtonBox w3 = this.ActionArea;
     w3.Events = ((Gdk.EventMask)(256));
     w3.Name = "Gedcom.UI.GTK.IndividualMoreDialog_ActionArea";
     w3.Spacing = 6;
     w3.BorderWidth = ((uint)(5));
     w3.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child Gedcom.UI.GTK.IndividualMoreDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.button79 = new Gtk.Button();
     this.button79.CanDefault = true;
     this.button79.CanFocus = true;
     this.button79.Name = "button79";
     this.button79.UseStock = true;
     this.button79.UseUnderline = true;
     this.button79.Label = "gtk-close";
     this.AddActionWidget(this.button79, -7);
     Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.button79]));
     w4.Expand = false;
     w4.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 663;
     this.DefaultHeight = 532;
     this.Show();
     this.IndividualView.ShowSourceCitation += new System.EventHandler<Gedcom.UI.Common.SourceCitationArgs>(this.OnIndividualView_ShowSourceCitation);
     this.IndividualView.ShowScrapBook += new System.EventHandler<Gedcom.UI.Common.ScrapBookArgs>(this.OnIndividualView_ShowScrapBook);
     this.IndividualView.ShowName += new System.EventHandler<Gedcom.UI.Common.IndividualArgs>(this.OnIndividualView_ShowName);
     this.IndividualView.DeleteIndividual += new System.EventHandler<Gedcom.UI.Common.IndividualArgs>(this.OnIndividualView_DeleteIndividual);
     this.IndividualView.MoreFactInformation += new System.EventHandler<Gedcom.UI.Common.FactArgs>(this.OnIndividualView_MoreFactInformation);
     this.IndividualView.SelectNewNote += new System.EventHandler<Gedcom.UI.Common.NoteArgs>(this.OnIndividualView_SelectNewNote);
 }
Ejemplo n.º 2
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);
 }