bazar.CashBalance.Build C# (CSharp) Метод

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

protected Build ( ) : void
Результат void
        protected virtual void Build()
        {
            global::Stetic.Gui.Initialize (this);
            // Widget bazar.CashBalance
            this.Name = "bazar.CashBalance";
            this.Title = global::Mono.Unix.Catalog.GetString ("Расходы и доходы");
            this.WindowPosition = ((global::Gtk.WindowPosition)(4));
            // Internal child bazar.CashBalance.VBox
            global::Gtk.VBox w1 = this.VBox;
            w1.Name = "dialog1_VBox";
            w1.BorderWidth = ((uint)(2));
            // Container child dialog1_VBox.Gtk.Box+BoxChild
            this.hbox2 = new global::Gtk.HBox ();
            this.hbox2.Name = "hbox2";
            this.hbox2.Spacing = 6;
            // Container child hbox2.Gtk.Box+BoxChild
            this.table2 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
            this.table2.Name = "table2";
            this.table2.RowSpacing = ((uint)(6));
            this.table2.ColumnSpacing = ((uint)(6));
            this.table2.BorderWidth = ((uint)(9));
            // Container child table2.Gtk.Table+TableChild
            this.comboCash = new global::Gtk.ComboBox ();
            this.comboCash.Name = "comboCash";
            this.table2.Add (this.comboCash);
            global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboCash]));
            w2.TopAttach = ((uint)(1));
            w2.BottomAttach = ((uint)(2));
            w2.LeftAttach = ((uint)(1));
            w2.RightAttach = ((uint)(2));
            w2.XOptions = ((global::Gtk.AttachOptions)(4));
            w2.YOptions = ((global::Gtk.AttachOptions)(4));
            // Container child table2.Gtk.Table+TableChild
            this.comboOrg = new global::Gtk.ComboBox ();
            this.comboOrg.Name = "comboOrg";
            this.table2.Add (this.comboOrg);
            global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboOrg]));
            w3.LeftAttach = ((uint)(1));
            w3.RightAttach = ((uint)(2));
            w3.XOptions = ((global::Gtk.AttachOptions)(4));
            w3.YOptions = ((global::Gtk.AttachOptions)(4));
            // Container child table2.Gtk.Table+TableChild
            this.label4 = new global::Gtk.Label ();
            this.label4.Name = "label4";
            this.label4.Xalign = 1F;
            this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Организация:");
            this.table2.Add (this.label4);
            global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.label4]));
            w4.XOptions = ((global::Gtk.AttachOptions)(4));
            w4.YOptions = ((global::Gtk.AttachOptions)(4));
            // Container child table2.Gtk.Table+TableChild
            this.label5 = new global::Gtk.Label ();
            this.label5.Name = "label5";
            this.label5.Xalign = 1F;
            this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Касса:");
            this.table2.Add (this.label5);
            global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.label5]));
            w5.TopAttach = ((uint)(1));
            w5.BottomAttach = ((uint)(2));
            w5.XOptions = ((global::Gtk.AttachOptions)(4));
            w5.YOptions = ((global::Gtk.AttachOptions)(4));
            this.hbox2.Add (this.table2);
            global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.table2]));
            w6.Position = 0;
            w6.Expand = false;
            w6.Fill = false;
            // Container child hbox2.Gtk.Box+BoxChild
            this.vbox11 = new global::Gtk.VBox ();
            this.vbox11.Name = "vbox11";
            this.vbox11.Spacing = 6;
            this.vbox11.BorderWidth = ((uint)(6));
            // Container child vbox11.Gtk.Box+BoxChild
            this.label31 = new global::Gtk.Label ();
            this.label31.Name = "label31";
            this.label31.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Выбор периода</b>");
            this.label31.UseMarkup = true;
            this.vbox11.Add (this.label31);
            global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.label31]));
            w7.Position = 0;
            w7.Expand = false;
            w7.Fill = false;
            // Container child vbox11.Gtk.Box+BoxChild
            this.table3 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
            this.table3.Name = "table3";
            this.table3.RowSpacing = ((uint)(6));
            this.table3.ColumnSpacing = ((uint)(6));
            // Container child table3.Gtk.Table+TableChild
            this.radio3month = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("3 месяца"));
            this.radio3month.CanFocus = true;
            this.radio3month.Name = "radio3month";
            this.radio3month.DrawIndicator = true;
            this.radio3month.UseUnderline = true;
            this.radio3month.Group = new global::GLib.SList (global::System.IntPtr.Zero);
            this.table3.Add (this.radio3month);
            global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table3 [this.radio3month]));
            w8.TopAttach = ((uint)(1));
            w8.BottomAttach = ((uint)(2));
            w8.YOptions = ((global::Gtk.AttachOptions)(4));
            // Container child table3.Gtk.Table+TableChild
            this.radioAll = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Весь период"));
            this.radioAll.CanFocus = true;
            this.radioAll.Name = "radioAll";
            this.radioAll.DrawIndicator = true;
            this.radioAll.UseUnderline = true;
            this.radioAll.Group = this.radio3month.Group;
            this.table3.Add (this.radioAll);
            global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table3 [this.radioAll]));
            w9.TopAttach = ((uint)(1));
            w9.BottomAttach = ((uint)(2));
            w9.LeftAttach = ((uint)(1));
            w9.RightAttach = ((uint)(2));
            w9.YOptions = ((global::Gtk.AttachOptions)(4));
            // Container child table3.Gtk.Table+TableChild
            this.radioMonth = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Месяц"));
            this.radioMonth.CanFocus = true;
            this.radioMonth.Name = "radioMonth";
            this.radioMonth.DrawIndicator = true;
            this.radioMonth.UseUnderline = true;
            this.radioMonth.Group = this.radio3month.Group;
            this.table3.Add (this.radioMonth);
            global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table3 [this.radioMonth]));
            w10.YOptions = ((global::Gtk.AttachOptions)(4));
            // Container child table3.Gtk.Table+TableChild
            this.radioYear = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Год"));
            this.radioYear.CanFocus = true;
            this.radioYear.Name = "radioYear";
            this.radioYear.DrawIndicator = true;
            this.radioYear.UseUnderline = true;
            this.radioYear.Group = this.radio3month.Group;
            this.table3.Add (this.radioYear);
            global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table3 [this.radioYear]));
            w11.LeftAttach = ((uint)(1));
            w11.RightAttach = ((uint)(2));
            w11.YOptions = ((global::Gtk.AttachOptions)(4));
            this.vbox11.Add (this.table3);
            global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.table3]));
            w12.Position = 1;
            w12.Expand = false;
            w12.Fill = false;
            // Container child vbox11.Gtk.Box+BoxChild
            this.hbox15 = new global::Gtk.HBox ();
            this.hbox15.Name = "hbox15";
            this.hbox15.Spacing = 6;
            // Container child hbox15.Gtk.Box+BoxChild
            this.dateCashStart = new global::QSWidgetLib.DatePicker ();
            this.dateCashStart.Events = ((global::Gdk.EventMask)(256));
            this.dateCashStart.Name = "dateCashStart";
            this.dateCashStart.Date = new global::System.DateTime (0);
            this.dateCashStart.IsEditable = true;
            this.dateCashStart.AutoSeparation = true;
            this.hbox15.Add (this.dateCashStart);
            global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.dateCashStart]));
            w13.Position = 0;
            // Container child hbox15.Gtk.Box+BoxChild
            this.label32 = new global::Gtk.Label ();
            this.label32.Name = "label32";
            this.label32.LabelProp = global::Mono.Unix.Catalog.GetString ("-");
            this.hbox15.Add (this.label32);
            global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.label32]));
            w14.Position = 1;
            w14.Expand = false;
            w14.Fill = false;
            // Container child hbox15.Gtk.Box+BoxChild
            this.dateCashEnd = new global::QSWidgetLib.DatePicker ();
            this.dateCashEnd.Events = ((global::Gdk.EventMask)(256));
            this.dateCashEnd.Name = "dateCashEnd";
            this.dateCashEnd.Date = new global::System.DateTime (0);
            this.dateCashEnd.IsEditable = true;
            this.dateCashEnd.AutoSeparation = true;
            this.hbox15.Add (this.dateCashEnd);
            global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.dateCashEnd]));
            w15.Position = 2;
            this.vbox11.Add (this.hbox15);
            global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.hbox15]));
            w16.Position = 2;
            w16.Expand = false;
            w16.Fill = false;
            this.hbox2.Add (this.vbox11);
            global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox11]));
            w17.Position = 1;
            w17.Expand = false;
            w17.Fill = false;
            w1.Add (this.hbox2);
            global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox2]));
            w18.Position = 0;
            w18.Expand = false;
            w18.Fill = false;
            // Container child dialog1_VBox.Gtk.Box+BoxChild
            this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
            this.GtkScrolledWindow.Name = "GtkScrolledWindow";
            this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
            // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
            this.treeviewBalance = new global::Gtk.TreeView ();
            this.treeviewBalance.CanFocus = true;
            this.treeviewBalance.Name = "treeviewBalance";
            this.GtkScrolledWindow.Add (this.treeviewBalance);
            w1.Add (this.GtkScrolledWindow);
            global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(w1 [this.GtkScrolledWindow]));
            w20.Position = 1;
            // Internal child bazar.CashBalance.ActionArea
            global::Gtk.HButtonBox w21 = this.ActionArea;
            w21.Name = "dialog1_ActionArea";
            w21.Spacing = 10;
            w21.BorderWidth = ((uint)(5));
            w21.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
            // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
            this.buttonClose = new global::Gtk.Button ();
            this.buttonClose.CanFocus = true;
            this.buttonClose.Name = "buttonClose";
            this.buttonClose.UseUnderline = true;
            this.buttonClose.Label = global::Mono.Unix.Catalog.GetString ("_Закрыть");
            global::Gtk.Image w22 = new global::Gtk.Image ();
            w22.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-close", global::Gtk.IconSize.Menu);
            this.buttonClose.Image = w22;
            this.AddActionWidget (this.buttonClose, -7);
            global::Gtk.ButtonBox.ButtonBoxChild w23 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w21 [this.buttonClose]));
            w23.Expand = false;
            w23.Fill = false;
            if ((this.Child != null)) {
                this.Child.ShowAll ();
            }
            this.DefaultWidth = 511;
            this.DefaultHeight = 473;
            this.Show ();
            this.comboOrg.Changed += new global::System.EventHandler (this.OnComboOrgChanged);
            this.comboCash.Changed += new global::System.EventHandler (this.OnComboCashChanged);
            this.radioYear.Clicked += new global::System.EventHandler (this.OnRadioYearClicked);
            this.radioMonth.Clicked += new global::System.EventHandler (this.OnRadioMonthClicked);
            this.radioAll.Clicked += new global::System.EventHandler (this.OnRadioAllClicked);
            this.radio3month.Clicked += new global::System.EventHandler (this.OnRadio3monthClicked);
            this.dateCashStart.DateChanged += new global::System.EventHandler (this.OnDateCashStartDateChanged);
            this.dateCashEnd.DateChanged += new global::System.EventHandler (this.OnDateCashEndDateChanged);
        }