Adroit.Gui.PlanningView.Build C# (CSharp) Метод

Build() защищенный Метод

protected Build ( ) : void
Результат void
        protected virtual void Build()
        {
            Stetic.Gui.Initialize(this);
            // Widget Adroit.Gui.PlanningView
            Stetic.BinContainer.Attach(this);
            this.Name = "Adroit.Gui.PlanningView";
            // Container child Adroit.Gui.PlanningView.Gtk.Container+ContainerChild
            this.m_hpaned = new Gtk.HPaned();
            this.m_hpaned.CanFocus = true;
            this.m_hpaned.Name = "m_hpaned";
            this.m_hpaned.Position = 175;
            // Container child m_hpaned.Gtk.Paned+PanedChild
            this.notebook1 = new Gtk.Notebook();
            this.notebook1.CanFocus = true;
            this.notebook1.Name = "notebook1";
            this.notebook1.CurrentPage = 0;
            this.notebook1.ShowTabs = false;
            // Container child notebook1.Gtk.Notebook+NotebookChild
            this.scrolledwindow1 = new Gtk.ScrolledWindow();
            this.scrolledwindow1.CanFocus = true;
            this.scrolledwindow1.Name = "scrolledwindow1";
            // Container child scrolledwindow1.Gtk.Container+ContainerChild
            Gtk.Viewport w1 = new Gtk.Viewport();
            w1.ShadowType = ((Gtk.ShadowType)(0));
            // Container child GtkViewport.Gtk.Container+ContainerChild
            this.m_projectsTreeView = new Gtk.TreeView();
            this.m_projectsTreeView.CanFocus = true;
            this.m_projectsTreeView.Name = "m_projectsTreeView";
            w1.Add(this.m_projectsTreeView);
            this.scrolledwindow1.Add(w1);
            this.notebook1.Add(this.scrolledwindow1);
            // Notebook tab
            this.label1 = new Gtk.Label();
            this.label1.Name = "label1";
            this.label1.LabelProp = Mono.Unix.Catalog.GetString("page1");
            this.notebook1.SetTabLabel(this.scrolledwindow1, this.label1);
            this.label1.ShowAll();
            this.m_hpaned.Add(this.notebook1);
            Gtk.Paned.PanedChild w5 = ((Gtk.Paned.PanedChild)(this.m_hpaned[this.notebook1]));
            w5.Resize = false;
            // Container child m_hpaned.Gtk.Paned+PanedChild
            this.vbox1 = new Gtk.VBox();
            this.vbox1.Name = "vbox1";
            this.vbox1.Spacing = 6;
            // Container child vbox1.Gtk.Box+BoxChild
            this.notebook2 = new Gtk.Notebook();
            this.notebook2.CanFocus = true;
            this.notebook2.Name = "notebook2";
            this.notebook2.CurrentPage = 0;
            this.notebook2.ShowTabs = false;
            // Container child notebook2.Gtk.Notebook+NotebookChild
            this.scrolledwindow2 = new Gtk.ScrolledWindow();
            this.scrolledwindow2.CanFocus = true;
            this.scrolledwindow2.Name = "scrolledwindow2";
            // Container child scrolledwindow2.Gtk.Container+ContainerChild
            Gtk.Viewport w6 = new Gtk.Viewport();
            w6.ShadowType = ((Gtk.ShadowType)(0));
            // Container child GtkViewport1.Gtk.Container+ContainerChild
            this.m_tasksTreeView = new Gtk.TreeView();
            this.m_tasksTreeView.CanFocus = true;
            this.m_tasksTreeView.Name = "m_tasksTreeView";
            this.m_tasksTreeView.RulesHint = true;
            w6.Add(this.m_tasksTreeView);
            this.scrolledwindow2.Add(w6);
            this.notebook2.Add(this.scrolledwindow2);
            // Notebook tab
            this.label2 = new Gtk.Label();
            this.label2.Name = "label2";
            this.label2.LabelProp = Mono.Unix.Catalog.GetString("page1");
            this.notebook2.SetTabLabel(this.scrolledwindow2, this.label2);
            this.label2.ShowAll();
            this.vbox1.Add(this.notebook2);
            Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox1[this.notebook2]));
            w10.Position = 0;
            // Container child vbox1.Gtk.Box+BoxChild
            this.m_attachmentExpander = new Gtk.Expander(null);
            this.m_attachmentExpander.CanFocus = true;
            this.m_attachmentExpander.Name = "m_attachmentExpander";
            // Container child m_attachmentExpander.Gtk.Container+ContainerChild
            this.hbox1 = new Gtk.HBox();
            this.hbox1.Name = "hbox1";
            this.hbox1.Spacing = 6;
            // Container child hbox1.Gtk.Box+BoxChild
            this.scrolledwindow3 = new Gtk.ScrolledWindow();
            this.scrolledwindow3.CanFocus = true;
            this.scrolledwindow3.Name = "scrolledwindow3";
            this.scrolledwindow3.ShadowType = ((Gtk.ShadowType)(1));
            // Container child scrolledwindow3.Gtk.Container+ContainerChild
            Gtk.Viewport w11 = new Gtk.Viewport();
            w11.ShadowType = ((Gtk.ShadowType)(0));
            // Container child GtkViewport2.Gtk.Container+ContainerChild
            this.m_tasksIconView = new Gtk.IconView();
            this.m_tasksIconView.CanFocus = true;
            this.m_tasksIconView.Name = "m_tasksIconView";
            this.m_tasksIconView.Orientation = ((Gtk.Orientation)(0));
            w11.Add(this.m_tasksIconView);
            this.scrolledwindow3.Add(w11);
            this.hbox1.Add(this.scrolledwindow3);
            Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindow3]));
            w14.Position = 0;
            // Container child hbox1.Gtk.Box+BoxChild
            this.vbox2 = new Gtk.VBox();
            this.vbox2.Name = "vbox2";
            // Container child vbox2.Gtk.Box+BoxChild
            this.m_addAttachmentButton = new Gtk.Button();
            this.m_addAttachmentButton.TooltipMarkup = "Add an attachment";
            this.m_addAttachmentButton.CanFocus = true;
            this.m_addAttachmentButton.Name = "m_addAttachmentButton";
            this.m_addAttachmentButton.Relief = ((Gtk.ReliefStyle)(2));
            // Container child m_addAttachmentButton.Gtk.Container+ContainerChild
            this.image1 = new Gtk.Image();
            this.image1.Name = "image1";
            this.image1.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16);
            this.m_addAttachmentButton.Add(this.image1);
            this.m_addAttachmentButton.Label = null;
            this.vbox2.Add(this.m_addAttachmentButton);
            Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox2[this.m_addAttachmentButton]));
            w16.Position = 0;
            w16.Expand = false;
            w16.Fill = false;
            // Container child vbox2.Gtk.Box+BoxChild
            this.m_removeAttachmentButton = new Gtk.Button();
            this.m_removeAttachmentButton.TooltipMarkup = "Remove the selected attachment";
            this.m_removeAttachmentButton.Sensitive = false;
            this.m_removeAttachmentButton.CanFocus = true;
            this.m_removeAttachmentButton.Name = "m_removeAttachmentButton";
            this.m_removeAttachmentButton.Relief = ((Gtk.ReliefStyle)(2));
            // Container child m_removeAttachmentButton.Gtk.Container+ContainerChild
            this.image2 = new Gtk.Image();
            this.image2.Name = "image2";
            this.image2.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-remove", Gtk.IconSize.Menu, 16);
            this.m_removeAttachmentButton.Add(this.image2);
            this.m_removeAttachmentButton.Label = null;
            this.vbox2.Add(this.m_removeAttachmentButton);
            Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.vbox2[this.m_removeAttachmentButton]));
            w18.Position = 1;
            w18.Expand = false;
            w18.Fill = false;
            this.hbox1.Add(this.vbox2);
            Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox2]));
            w19.Position = 1;
            w19.Expand = false;
            this.m_attachmentExpander.Add(this.hbox1);
            this.GtkLabel = new Gtk.Label();
            this.GtkLabel.Name = "GtkLabel";
            this.GtkLabel.LabelProp = Mono.Unix.Catalog.GetString("Show Attachment Bar");
            this.GtkLabel.UseUnderline = true;
            this.m_attachmentExpander.LabelWidget = this.GtkLabel;
            this.vbox1.Add(this.m_attachmentExpander);
            Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.vbox1[this.m_attachmentExpander]));
            w21.Position = 1;
            w21.Expand = false;
            this.m_hpaned.Add(this.vbox1);
            this.Add(this.m_hpaned);
            if ((this.Child != null)) {
                this.Child.ShowAll();
            }
            this.Hide();
            this.m_tasksTreeView.ButtonPressEvent += new Gtk.ButtonPressEventHandler(this.OnTasksTreeViewButtonPressEvent);
            this.m_attachmentExpander.Activated += new System.EventHandler(this.AttachmentExpander_Activated);
            this.m_addAttachmentButton.Clicked += new System.EventHandler(this.OnAddAttachmentButtonClicked);
            this.m_removeAttachmentButton.Clicked += new System.EventHandler(this.OnRemoveAttachmentButtonClicked);
        }