protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget workwear.EmployeeBalanceFilter global::Stetic.BinContainer.Attach (this); this.Name = "workwear.EmployeeBalanceFilter"; // Container child workwear.EmployeeBalanceFilter.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table (((uint)(1)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Сотрудник:"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryEmployee = new global::Gamma.Widgets.yEntryReference (); this.yentryEmployee.Events = ((global::Gdk.EventMask)(256)); this.yentryEmployee.Name = "yentryEmployee"; this.table1.Add (this.yentryEmployee); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryEmployee])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.table1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.yentryEmployee.Changed += new global::System.EventHandler (this.OnYentryEmployeeChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Filters.GtkViews.ComplaintFilterView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Filters.GtkViews.ComplaintFilterView"; // Container child Vodovoz.Filters.GtkViews.ComplaintFilterView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.table4 = new global::Gtk.Table(((uint)(4)), ((uint)(3)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.entryCounterparty = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryCounterparty.Events = ((global::Gdk.EventMask)(256)); this.entryCounterparty.Name = "entryCounterparty"; this.entryCounterparty.CanEditReference = true; this.table4.Add(this.entryCounterparty); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table4[this.entryCounterparty])); w1.TopAttach = ((uint)(2)); w1.BottomAttach = ((uint)(3)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.evmeAuthor = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeAuthor.Events = ((global::Gdk.EventMask)(256)); this.evmeAuthor.Name = "evmeAuthor"; this.evmeAuthor.CanEditReference = true; this.table4.Add(this.evmeAuthor); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table4[this.evmeAuthor])); 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 table4.Gtk.Table+TableChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Дата"); this.hbox3.Add(this.label5); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label5])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yenumcomboboxDateType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxDateType.Name = "yenumcomboboxDateType"; this.yenumcomboboxDateType.ShowSpecialStateAll = false; this.yenumcomboboxDateType.ShowSpecialStateNot = false; this.yenumcomboboxDateType.UseShortTitle = false; this.yenumcomboboxDateType.DefaultFirst = false; this.hbox3.Add(this.yenumcomboboxDateType); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yenumcomboboxDateType])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.daterangepicker = new global::QS.Widgets.GtkUI.DateRangePicker(); this.daterangepicker.Events = ((global::Gdk.EventMask)(256)); this.daterangepicker.Name = "daterangepicker"; this.daterangepicker.StartDate = new global::System.DateTime(0); this.daterangepicker.EndDate = new global::System.DateTime(0); this.hbox3.Add(this.daterangepicker); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.daterangepicker])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.table4.Add(this.hbox3); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table4[this.hbox3])); w6.TopAttach = ((uint)(3)); w6.BottomAttach = ((uint)(4)); w6.RightAttach = ((uint)(3)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.ybuttonMyComplaint = new global::Gamma.GtkWidgets.yButton(); this.ybuttonMyComplaint.CanFocus = true; this.ybuttonMyComplaint.Name = "ybuttonMyComplaint"; this.ybuttonMyComplaint.UseUnderline = true; this.ybuttonMyComplaint.Label = global::Mono.Unix.Catalog.GetString("Мои рекламации"); this.hbox5.Add(this.ybuttonMyComplaint); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.ybuttonMyComplaint])); w7.Position = 0; w7.Expand = false; w7.Fill = false; this.table4.Add(this.hbox5); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table4[this.hbox5])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(2)); w8.RightAttach = ((uint)(3)); w8.XPadding = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Автор рекламации:"); this.table4.Add(this.label3); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table4[this.label3])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.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.table4.Add(this.label4); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table4[this.label4])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Клиент:"); this.table4.Add(this.label6); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table4[this.label6])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.yentryreferenceSubdivision = new global::Gamma.Widgets.yEntryReference(); this.yentryreferenceSubdivision.Events = ((global::Gdk.EventMask)(256)); this.yentryreferenceSubdivision.Name = "yentryreferenceSubdivision"; this.table4.Add(this.yentryreferenceSubdivision); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table4[this.yentryreferenceSubdivision])); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table4); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table4])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vseparator3 = new global::Gtk.VSeparator(); this.vseparator3.Name = "vseparator3"; this.hbox1.Add(this.vseparator3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator3])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.frmGuilty = new global::Gtk.Frame(); this.frmGuilty.Name = "frmGuilty"; this.frmGuilty.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frmGuilty.Gtk.Container+ContainerChild this.GtkAlignment6 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment6.Name = "GtkAlignment6"; this.GtkAlignment6.LeftPadding = ((uint)(12)); // Container child GtkAlignment6.Gtk.Container+ContainerChild this.guiltyItemView = new global::Vodovoz.Views.Complaints.GuiltyItemView(); this.guiltyItemView.Events = ((global::Gdk.EventMask)(256)); this.guiltyItemView.Name = "guiltyItemView"; this.GtkAlignment6.Add(this.guiltyItemView); this.frmGuilty.Add(this.GtkAlignment6); this.GtkLabel10 = new global::Gtk.Label(); this.GtkLabel10.Name = "GtkLabel10"; this.GtkLabel10.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Виновный:</b>"); this.GtkLabel10.UseMarkup = true; this.frmGuilty.LabelWidget = this.GtkLabel10; this.hbox1.Add(this.frmGuilty); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.frmGuilty])); w17.Position = 2; w17.Expand = false; w17.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hbox1.Add(this.vseparator2); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator2])); w18.Position = 3; w18.Expand = false; w18.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(4)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.cmbComplaintKind = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.cmbComplaintKind.Name = "cmbComplaintKind"; this.cmbComplaintKind.AddIfNotExist = false; this.cmbComplaintKind.DefaultFirst = false; this.cmbComplaintKind.ShowSpecialStateAll = true; this.cmbComplaintKind.ShowSpecialStateNot = false; this.table1.Add(this.cmbComplaintKind); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.cmbComplaintKind])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Тип:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Статус рекламации:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblComplaintKind = new global::Gtk.Label(); this.lblComplaintKind.Name = "lblComplaintKind"; this.lblComplaintKind.Xalign = 1F; this.lblComplaintKind.LabelProp = global::Mono.Unix.Catalog.GetString("Вид:"); this.table1.Add(this.lblComplaintKind); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.lblComplaintKind])); w22.TopAttach = ((uint)(3)); w22.BottomAttach = ((uint)(4)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblComplaintObject = new global::Gtk.Label(); this.lblComplaintObject.Name = "lblComplaintObject"; this.lblComplaintObject.Xalign = 1F; this.lblComplaintObject.LabelProp = global::Mono.Unix.Catalog.GetString("Объект рекламаций:"); this.table1.Add(this.lblComplaintObject); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.lblComplaintObject])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yenumcomboboxCurrentSubdivisionStatus = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxCurrentSubdivisionStatus.Name = "yenumcomboboxCurrentSubdivisionStatus"; this.yenumcomboboxCurrentSubdivisionStatus.ShowSpecialStateAll = true; this.yenumcomboboxCurrentSubdivisionStatus.ShowSpecialStateNot = false; this.yenumcomboboxCurrentSubdivisionStatus.UseShortTitle = false; this.yenumcomboboxCurrentSubdivisionStatus.DefaultFirst = false; this.table1.Add(this.yenumcomboboxCurrentSubdivisionStatus); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumcomboboxCurrentSubdivisionStatus])); w24.LeftAttach = ((uint)(3)); w24.RightAttach = ((uint)(4)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yenumcomboboxStatus = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxStatus.Name = "yenumcomboboxStatus"; this.yenumcomboboxStatus.ShowSpecialStateAll = true; this.yenumcomboboxStatus.ShowSpecialStateNot = false; this.yenumcomboboxStatus.UseShortTitle = false; this.yenumcomboboxStatus.DefaultFirst = false; this.table1.Add(this.yenumcomboboxStatus); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumcomboboxStatus])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yenumcomboboxType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxType.Name = "yenumcomboboxType"; this.yenumcomboboxType.ShowSpecialStateAll = true; this.yenumcomboboxType.ShowSpecialStateNot = false; this.yenumcomboboxType.UseShortTitle = false; this.yenumcomboboxType.DefaultFirst = false; this.table1.Add(this.yenumcomboboxType); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumcomboboxType])); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelEmployeeSubdivisionStatus = new global::Gamma.GtkWidgets.yLabel(); this.ylabelEmployeeSubdivisionStatus.Name = "ylabelEmployeeSubdivisionStatus"; this.ylabelEmployeeSubdivisionStatus.Xalign = 1F; this.ylabelEmployeeSubdivisionStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус в отделе %отдел%:"); this.table1.Add(this.ylabelEmployeeSubdivisionStatus); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelEmployeeSubdivisionStatus])); w27.LeftAttach = ((uint)(2)); w27.RightAttach = ((uint)(3)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yspeccomboboxComplaintObject = new global::Gamma.Widgets.ySpecComboBox(); this.yspeccomboboxComplaintObject.Name = "yspeccomboboxComplaintObject"; this.yspeccomboboxComplaintObject.AddIfNotExist = false; this.yspeccomboboxComplaintObject.DefaultFirst = false; this.yspeccomboboxComplaintObject.ShowSpecialStateAll = false; this.yspeccomboboxComplaintObject.ShowSpecialStateNot = false; this.table1.Add(this.yspeccomboboxComplaintObject); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1[this.yspeccomboboxComplaintObject])); w28.TopAttach = ((uint)(2)); w28.BottomAttach = ((uint)(3)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table1); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table1])); w29.Position = 4; w29.Expand = false; w29.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w30.Position = 0; w30.Expand = false; w30.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox1.Add(this.hseparator1); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hseparator1])); w31.Position = 1; w31.Expand = false; w31.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Organization.SubdivisionView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Organization.SubdivisionView"; // Container child Vodovoz.Views.Organization.SubdivisionView.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(8)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entryChief = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryChief.Events = ((global::Gdk.EventMask)(256)); this.entryChief.Name = "entryChief"; this.entryChief.CanEditReference = false; this.table1.Add(this.entryChief); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.entryChief])); w1.TopAttach = ((uint)(3)); w1.BottomAttach = ((uint)(4)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryDefaultSalesPlan = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryDefaultSalesPlan.Events = ((global::Gdk.EventMask)(256)); this.entryDefaultSalesPlan.Name = "entryDefaultSalesPlan"; this.entryDefaultSalesPlan.CanEditReference = false; this.table1.Add(this.entryDefaultSalesPlan); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entryDefaultSalesPlan])); w2.TopAttach = ((uint)(6)); w2.BottomAttach = ((uint)(7)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.frmWarehoses = new global::Gtk.Frame(); this.frmWarehoses.Name = "frmWarehoses"; this.frmWarehoses.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frmWarehoses.Gtk.Container+ContainerChild this.GtkAlignment4 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment4.Name = "GtkAlignment4"; this.GtkAlignment4.LeftPadding = ((uint)(12)); // Container child GtkAlignment4.Gtk.Container+ContainerChild this.lblWarehouses = new global::Gtk.Label(); this.lblWarehouses.Name = "lblWarehouses"; this.lblWarehouses.Xalign = 0F; this.lblWarehouses.LabelProp = global::Mono.Unix.Catalog.GetString("<b>?</b>"); this.lblWarehouses.UseMarkup = true; this.lblWarehouses.Selectable = true; this.GtkAlignment4.Add(this.lblWarehouses); this.frmWarehoses.Add(this.GtkAlignment4); this.GtkLabel8 = new global::Gtk.Label(); this.GtkLabel8.Name = "GtkLabel8"; this.GtkLabel8.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Склады отдела:</b>"); this.GtkLabel8.UseMarkup = true; this.frmWarehoses.LabelWidget = this.GtkLabel8; this.table1.Add(this.frmWarehoses); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.frmWarehoses])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(6)); w5.LeftAttach = ((uint)(2)); w5.RightAttach = ((uint)(3)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.subdivisionentitypermissionwidget = new global::Vodovoz.Core.Permissions.SubdivisionEntityPermissionWidget(); this.subdivisionentitypermissionwidget.Events = ((global::Gdk.EventMask)(256)); this.subdivisionentitypermissionwidget.Name = "subdivisionentitypermissionwidget"; this.notebook1.Add(this.subdivisionentitypermissionwidget); // Notebook tab this.labelPermissions = new global::Gtk.Label(); this.labelPermissions.Name = "labelPermissions"; this.labelPermissions.LabelProp = global::Mono.Unix.Catalog.GetString("Права доступа"); this.notebook1.SetTabLabel(this.subdivisionentitypermissionwidget, this.labelPermissions); this.labelPermissions.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.repTreeChildSubdivisions = new global::QSOrmProject.RepresentationTreeView(); this.repTreeChildSubdivisions.CanFocus = true; this.repTreeChildSubdivisions.Name = "repTreeChildSubdivisions"; this.GtkScrolledWindow2.Add(this.repTreeChildSubdivisions); this.notebook1.Add(this.GtkScrolledWindow2); global::Gtk.Notebook.NotebookChild w8 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.GtkScrolledWindow2])); w8.Position = 1; // Notebook tab this.labelChildSubdivizions = new global::Gtk.Label(); this.labelChildSubdivizions.Name = "labelChildSubdivizions"; this.labelChildSubdivizions.LabelProp = global::Mono.Unix.Catalog.GetString("Дочерние подразделения"); this.notebook1.SetTabLabel(this.GtkScrolledWindow2, this.labelChildSubdivizions); this.labelChildSubdivizions.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vboxDocuments = new global::Gtk.VBox(); this.vboxDocuments.Name = "vboxDocuments"; this.vboxDocuments.Spacing = 6; // Container child vboxDocuments.Gtk.Box+BoxChild this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild this.ytreeviewDocuments = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewDocuments.CanFocus = true; this.ytreeviewDocuments.Name = "ytreeviewDocuments"; this.GtkScrolledWindow4.Add(this.ytreeviewDocuments); this.vboxDocuments.Add(this.GtkScrolledWindow4); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxDocuments[this.GtkScrolledWindow4])); w10.Position = 0; // Container child vboxDocuments.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonAddDocument = new global::Gamma.GtkWidgets.yButton(); this.buttonAddDocument.CanFocus = true; this.buttonAddDocument.Name = "buttonAddDocument"; this.buttonAddDocument.UseUnderline = true; this.buttonAddDocument.Label = global::Mono.Unix.Catalog.GetString("Добавить"); this.hbox5.Add(this.buttonAddDocument); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonAddDocument])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonDeleteDocument = new global::Gamma.GtkWidgets.yButton(); this.buttonDeleteDocument.CanFocus = true; this.buttonDeleteDocument.Name = "buttonDeleteDocument"; this.buttonDeleteDocument.UseUnderline = true; this.buttonDeleteDocument.Label = global::Mono.Unix.Catalog.GetString("Удалить"); this.hbox5.Add(this.buttonDeleteDocument); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonDeleteDocument])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.vboxDocuments.Add(this.hbox5); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vboxDocuments[this.hbox5])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.notebook1.Add(this.vboxDocuments); global::Gtk.Notebook.NotebookChild w14 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vboxDocuments])); w14.Position = 2; // Notebook tab this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Документы"); this.notebook1.SetTabLabel(this.vboxDocuments, this.label3); this.label3.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.widgetcontainerview2 = new global::Vodovoz.Core.WidgetContainerView(); this.widgetcontainerview2.Events = ((global::Gdk.EventMask)(256)); this.widgetcontainerview2.Name = "widgetcontainerview2"; this.notebook1.Add(this.widgetcontainerview2); global::Gtk.Notebook.NotebookChild w15 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.widgetcontainerview2])); w15.Position = 3; // Notebook tab this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Предустановленные права"); this.notebook1.SetTabLabel(this.widgetcontainerview2, this.label4); this.label4.ShowAll(); this.hbox3.Add(this.notebook1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.notebook1])); w16.Position = 0; this.table1.Add(this.hbox3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox3])); w17.TopAttach = ((uint)(7)); w17.BottomAttach = ((uint)(8)); w17.RightAttach = ((uint)(3)); // Container child table1.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w18 = new global::Gtk.Image(); w18.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w18; this.hbox4.Add(this.buttonSave); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w20 = new global::Gtk.Image(); w20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w20; this.hbox4.Add(this.buttonCancel); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel])); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.table1.Add(this.hbox4); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox4])); w22.RightAttach = ((uint)(3)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hboxtype = new global::Gtk.HBox(); this.hboxtype.Name = "hboxtype"; this.hboxtype.Spacing = 6; // Container child hboxtype.Gtk.Box+BoxChild this.ylabelType = new global::Gamma.GtkWidgets.yLabel(); this.ylabelType.Name = "ylabelType"; this.ylabelType.Xalign = 1F; this.ylabelType.LabelProp = global::Mono.Unix.Catalog.GetString(" Тип:"); this.hboxtype.Add(this.ylabelType); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hboxtype[this.ylabelType])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child hboxtype.Gtk.Box+BoxChild this.yenumcomboType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboType.Name = "yenumcomboType"; this.yenumcomboType.ShowSpecialStateAll = false; this.yenumcomboType.ShowSpecialStateNot = false; this.yenumcomboType.UseShortTitle = false; this.yenumcomboType.DefaultFirst = false; this.hboxtype.Add(this.yenumcomboType); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hboxtype[this.yenumcomboType])); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.table1.Add(this.hboxtype); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.hboxtype])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.LeftAttach = ((uint)(2)); w25.RightAttach = ((uint)(3)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Название подразделения:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Начальник подразделения:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w27.TopAttach = ((uint)(3)); w27.BottomAttach = ((uint)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelShortName = new global::Gtk.Label(); this.labelShortName.Name = "labelShortName"; this.labelShortName.Xalign = 1F; this.labelShortName.LabelProp = global::Mono.Unix.Catalog.GetString("Сокращенное наименование:"); this.table1.Add(this.labelShortName); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1[this.labelShortName])); w28.TopAttach = ((uint)(2)); w28.BottomAttach = ((uint)(3)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblDefaultSalesPlan = new global::Gamma.GtkWidgets.yLabel(); this.lblDefaultSalesPlan.Name = "lblDefaultSalesPlan"; this.lblDefaultSalesPlan.Xalign = 1F; this.lblDefaultSalesPlan.LabelProp = global::Mono.Unix.Catalog.GetString("План продаж по умолчанию:"); this.table1.Add(this.lblDefaultSalesPlan); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1[this.lblDefaultSalesPlan])); w29.TopAttach = ((uint)(6)); w29.BottomAttach = ((uint)(7)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblGeographicGroup = new global::Gamma.GtkWidgets.yLabel(); this.lblGeographicGroup.Name = "lblGeographicGroup"; this.lblGeographicGroup.Xalign = 1F; this.lblGeographicGroup.LabelProp = global::Mono.Unix.Catalog.GetString("Местоположение подразделения:"); this.table1.Add(this.lblGeographicGroup); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.lblGeographicGroup])); w30.TopAttach = ((uint)(5)); w30.BottomAttach = ((uint)(6)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblParent = new global::Gtk.Label(); this.lblParent.Name = "lblParent"; this.lblParent.Xalign = 1F; this.lblParent.LabelProp = global::Mono.Unix.Catalog.GetString("Вышестоящее подразделение:"); this.table1.Add(this.lblParent); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1[this.lblParent])); w31.TopAttach = ((uint)(4)); w31.BottomAttach = ((uint)(5)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryName = new global::Gamma.GtkWidgets.yEntry(); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.InvisibleChar = '●'; this.table1.Add(this.yentryName); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryName])); w32.TopAttach = ((uint)(1)); w32.BottomAttach = ((uint)(2)); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryrefParentSubdivision = new global::Gamma.Widgets.yEntryReference(); this.yentryrefParentSubdivision.Events = ((global::Gdk.EventMask)(256)); this.yentryrefParentSubdivision.Name = "yentryrefParentSubdivision"; this.table1.Add(this.yentryrefParentSubdivision); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryrefParentSubdivision])); w33.TopAttach = ((uint)(4)); w33.BottomAttach = ((uint)(5)); w33.LeftAttach = ((uint)(1)); w33.RightAttach = ((uint)(2)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryShortName = new global::Gamma.GtkWidgets.yEntry(); this.yentryShortName.CanFocus = true; this.yentryShortName.Name = "yentryShortName"; this.yentryShortName.IsEditable = true; this.yentryShortName.MaxLength = 20; this.yentryShortName.InvisibleChar = '●'; this.table1.Add(this.yentryShortName); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryShortName])); w34.TopAttach = ((uint)(2)); w34.BottomAttach = ((uint)(3)); w34.LeftAttach = ((uint)(1)); w34.RightAttach = ((uint)(2)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ySpecCmbGeographicGroup = new global::Gamma.Widgets.ySpecComboBox(); this.ySpecCmbGeographicGroup.Name = "ySpecCmbGeographicGroup"; this.ySpecCmbGeographicGroup.AddIfNotExist = false; this.ySpecCmbGeographicGroup.DefaultFirst = false; this.ySpecCmbGeographicGroup.ShowSpecialStateAll = false; this.ySpecCmbGeographicGroup.ShowSpecialStateNot = true; this.table1.Add(this.ySpecCmbGeographicGroup); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1[this.ySpecCmbGeographicGroup])); w35.TopAttach = ((uint)(5)); w35.BottomAttach = ((uint)(6)); w35.LeftAttach = ((uint)(1)); w35.RightAttach = ((uint)(2)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget workwear.EmployeeCardDlg this.Name = "workwear.EmployeeCardDlg"; this.Title = global::Mono.Unix.Catalog.GetString ("Новая карточка сотрудника"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child workwear.EmployeeCardDlg.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(3)); // Container child hbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(8)), ((uint)(7)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboSex = new global::Gamma.Widgets.yEnumComboBox (); this.comboSex.Name = "comboSex"; this.comboSex.ShowSpecialStateAll = false; this.comboSex.ShowSpecialStateNot = false; this.comboSex.UseShortTitle = false; this.comboSex.DefaultFirst = false; this.table1.Add (this.comboSex); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboSex])); w2.TopAttach = ((uint)(4)); w2.BottomAttach = ((uint)(5)); w2.LeftAttach = ((uint)(3)); w2.RightAttach = ((uint)(4)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.dateDismiss = new global::Gamma.Widgets.yDatePicker (); this.dateDismiss.Events = ((global::Gdk.EventMask)(256)); this.dateDismiss.Name = "dateDismiss"; this.dateDismiss.WithTime = false; this.dateDismiss.Date = new global::System.DateTime (0); this.dateDismiss.IsEditable = true; this.dateDismiss.AutoSeparation = true; this.table1.Add (this.dateDismiss); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.dateDismiss])); w3.TopAttach = ((uint)(3)); w3.BottomAttach = ((uint)(4)); w3.LeftAttach = ((uint)(3)); w3.RightAttach = ((uint)(4)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.dateHire = new global::Gamma.Widgets.yDatePicker (); this.dateHire.Events = ((global::Gdk.EventMask)(256)); this.dateHire.Name = "dateHire"; this.dateHire.WithTime = false; this.dateHire.Date = new global::System.DateTime (0); this.dateHire.IsEditable = true; this.dateHire.AutoSeparation = true; this.table1.Add (this.dateHire); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.dateHire])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(3)); w4.RightAttach = ((uint)(4)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryFirstName = new global::Gamma.GtkWidgets.yEntry (); this.entryFirstName.CanFocus = true; this.entryFirstName.Name = "entryFirstName"; this.entryFirstName.IsEditable = true; this.entryFirstName.MaxLength = 20; this.entryFirstName.InvisibleChar = '●'; this.table1.Add (this.entryFirstName); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryFirstName])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryLastName = new global::Gamma.GtkWidgets.yEntry (); this.entryLastName.CanFocus = true; this.entryLastName.Name = "entryLastName"; this.entryLastName.IsEditable = true; this.entryLastName.MaxLength = 20; this.entryLastName.InvisibleChar = '●'; this.table1.Add (this.entryLastName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryLastName])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryPatronymic = new global::Gamma.GtkWidgets.yEntry (); this.entryPatronymic.CanFocus = true; this.entryPatronymic.Name = "entryPatronymic"; this.entryPatronymic.IsEditable = true; this.entryPatronymic.MaxLength = 20; this.entryPatronymic.InvisibleChar = '●'; this.table1.Add (this.entryPatronymic); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryPatronymic])); w7.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.entryId = new global::Gtk.Entry (); this.entryId.Sensitive = false; this.entryId.CanFocus = true; this.entryId.Name = "entryId"; this.entryId.Text = global::Mono.Unix.Catalog.GetString ("авто"); this.entryId.IsEditable = true; this.entryId.WidthChars = 10; this.entryId.MaxLength = 15; this.entryId.InvisibleChar = '●'; this.hbox7.Add (this.entryId); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.entryId])); w8.Position = 0; // Container child hbox7.Gtk.Box+BoxChild this.checkAuto = new global::Gtk.CheckButton (); this.checkAuto.CanFocus = true; this.checkAuto.Name = "checkAuto"; this.checkAuto.Label = global::Mono.Unix.Catalog.GetString ("Автоматически"); this.checkAuto.Active = true; this.checkAuto.DrawIndicator = true; this.checkAuto.UseUnderline = true; this.hbox7.Add (this.checkAuto); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.checkAuto])); w9.Position = 1; this.table1.Add (this.hbox7); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox7])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Номер карточки:"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Должность:"); this.table1.Add (this.label10); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label10])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Руководитель:"); this.table1.Add (this.label11); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label11])); w13.TopAttach = ((uint)(5)); w13.BottomAttach = ((uint)(6)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label12 = new global::Gtk.Label (); this.label12.Name = "label12"; this.label12.Xalign = 1F; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Объект:"); this.table1.Add (this.label12); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label12])); w14.TopAttach = ((uint)(6)); w14.BottomAttach = ((uint)(7)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label14 = new global::Gtk.Label (); this.label14.Name = "label14"; this.label14.Xalign = 1F; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("Адрес объекта:"); this.table1.Add (this.label14); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label14])); w15.TopAttach = ((uint)(7)); w15.BottomAttach = ((uint)(8)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label16 = new global::Gtk.Label (); this.label16.Name = "label16"; this.label16.Xalign = 0F; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Характеристики одежды</b>"); this.label16.UseMarkup = true; this.table1.Add (this.label16); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label16])); w16.LeftAttach = ((uint)(4)); w16.RightAttach = ((uint)(7)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label17 = new global::Gtk.Label (); this.label17.Name = "label17"; this.label17.Xalign = 1F; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString ("Карточку создал:"); this.table1.Add (this.label17); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label17])); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label18 = new global::Gtk.Label (); this.label18.Name = "label18"; this.label18.Xalign = 1F; this.label18.LabelProp = global::Mono.Unix.Catalog.GetString ("Размер обуви:"); this.table1.Add (this.label18); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.label18])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.LeftAttach = ((uint)(4)); w18.RightAttach = ((uint)(5)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label19 = new global::Gtk.Label (); this.label19.Name = "label19"; this.label19.Xalign = 1F; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString ("Размер головного убора:"); this.table1.Add (this.label19); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.label19])); w19.TopAttach = ((uint)(4)); w19.BottomAttach = ((uint)(5)); w19.LeftAttach = ((uint)(4)); w19.RightAttach = ((uint)(5)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Фамилия:"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label20 = new global::Gtk.Label (); this.label20.Name = "label20"; this.label20.Xalign = 1F; this.label20.LabelProp = global::Mono.Unix.Catalog.GetString ("Размер перчаток:"); this.table1.Add (this.label20); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.label20])); w21.TopAttach = ((uint)(5)); w21.BottomAttach = ((uint)(6)); w21.LeftAttach = ((uint)(4)); w21.RightAttach = ((uint)(5)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label23 = new global::Gtk.Label (); this.label23.Name = "label23"; this.label23.Xalign = 1F; this.label23.LabelProp = global::Mono.Unix.Catalog.GetString ("Табельный номер:"); this.table1.Add (this.label23); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.label23])); w22.TopAttach = ((uint)(2)); w22.BottomAttach = ((uint)(3)); w22.LeftAttach = ((uint)(2)); w22.RightAttach = ((uint)(3)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Имя:"); this.table1.Add (this.label3); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add (this.label4); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w24.TopAttach = ((uint)(3)); w24.BottomAttach = ((uint)(4)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add (this.label5); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.LeftAttach = ((uint)(2)); w25.RightAttach = ((uint)(3)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата увольнения:"); this.table1.Add (this.label6); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6])); w26.TopAttach = ((uint)(3)); w26.BottomAttach = ((uint)(4)); w26.LeftAttach = ((uint)(2)); w26.RightAttach = ((uint)(3)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Пол:"); this.table1.Add (this.label7); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); w27.TopAttach = ((uint)(4)); w27.BottomAttach = ((uint)(5)); w27.LeftAttach = ((uint)(2)); w27.RightAttach = ((uint)(3)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Рост:"); this.table1.Add (this.label8); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8])); w28.TopAttach = ((uint)(1)); w28.BottomAttach = ((uint)(2)); w28.LeftAttach = ((uint)(4)); w28.RightAttach = ((uint)(5)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Размер одежды:"); this.table1.Add (this.label9); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1 [this.label9])); w29.TopAttach = ((uint)(2)); w29.BottomAttach = ((uint)(3)); w29.LeftAttach = ((uint)(4)); w29.RightAttach = ((uint)(5)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelObjectAddress = new global::Gtk.Label (); this.labelObjectAddress.Name = "labelObjectAddress"; this.labelObjectAddress.LabelProp = global::Mono.Unix.Catalog.GetString ("---"); this.labelObjectAddress.Wrap = true; this.labelObjectAddress.Selectable = true; this.table1.Add (this.labelObjectAddress); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelObjectAddress])); w30.TopAttach = ((uint)(7)); w30.BottomAttach = ((uint)(8)); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelUser = new global::Gtk.Label (); this.labelUser.Name = "labelUser"; this.labelUser.LabelProp = global::Mono.Unix.Catalog.GetString ("не указан"); this.table1.Add (this.labelUser); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelUser])); w31.LeftAttach = ((uint)(3)); w31.RightAttach = ((uint)(4)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboGlovesSize = new global::Gamma.GtkWidgets.yComboBox (); this.ycomboGlovesSize.Name = "ycomboGlovesSize"; this.table1.Add (this.ycomboGlovesSize); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboGlovesSize])); w32.TopAttach = ((uint)(5)); w32.BottomAttach = ((uint)(6)); w32.LeftAttach = ((uint)(6)); w32.RightAttach = ((uint)(7)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboGlovesStd = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboGlovesStd.Name = "ycomboGlovesStd"; this.ycomboGlovesStd.ShowSpecialStateAll = false; this.ycomboGlovesStd.ShowSpecialStateNot = false; this.ycomboGlovesStd.UseShortTitle = true; this.ycomboGlovesStd.DefaultFirst = false; this.table1.Add (this.ycomboGlovesStd); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboGlovesStd])); w33.TopAttach = ((uint)(5)); w33.BottomAttach = ((uint)(6)); w33.LeftAttach = ((uint)(5)); w33.RightAttach = ((uint)(6)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboHeaddressSize = new global::Gamma.GtkWidgets.yComboBox (); this.ycomboHeaddressSize.Name = "ycomboHeaddressSize"; this.table1.Add (this.ycomboHeaddressSize); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboHeaddressSize])); w34.TopAttach = ((uint)(4)); w34.BottomAttach = ((uint)(5)); w34.LeftAttach = ((uint)(6)); w34.RightAttach = ((uint)(7)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboHeaddressStd = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboHeaddressStd.Name = "ycomboHeaddressStd"; this.ycomboHeaddressStd.ShowSpecialStateAll = false; this.ycomboHeaddressStd.ShowSpecialStateNot = false; this.ycomboHeaddressStd.UseShortTitle = true; this.ycomboHeaddressStd.DefaultFirst = false; this.table1.Add (this.ycomboHeaddressStd); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboHeaddressStd])); w35.TopAttach = ((uint)(4)); w35.BottomAttach = ((uint)(5)); w35.LeftAttach = ((uint)(5)); w35.RightAttach = ((uint)(6)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboShoesSize = new global::Gamma.GtkWidgets.yComboBox (); this.ycomboShoesSize.Name = "ycomboShoesSize"; this.table1.Add (this.ycomboShoesSize); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboShoesSize])); w36.TopAttach = ((uint)(3)); w36.BottomAttach = ((uint)(4)); w36.LeftAttach = ((uint)(6)); w36.RightAttach = ((uint)(7)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboShoesStd = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboShoesStd.Name = "ycomboShoesStd"; this.ycomboShoesStd.ShowSpecialStateAll = false; this.ycomboShoesStd.ShowSpecialStateNot = false; this.ycomboShoesStd.UseShortTitle = true; this.ycomboShoesStd.DefaultFirst = false; this.table1.Add (this.ycomboShoesStd); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboShoesStd])); w37.TopAttach = ((uint)(3)); w37.BottomAttach = ((uint)(4)); w37.LeftAttach = ((uint)(5)); w37.RightAttach = ((uint)(6)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboWearGrowth = new global::Gamma.GtkWidgets.yComboBox (); this.ycomboWearGrowth.Name = "ycomboWearGrowth"; this.table1.Add (this.ycomboWearGrowth); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboWearGrowth])); w38.TopAttach = ((uint)(1)); w38.BottomAttach = ((uint)(2)); w38.LeftAttach = ((uint)(5)); w38.RightAttach = ((uint)(7)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboWearSize = new global::Gamma.GtkWidgets.yComboBox (); this.ycomboWearSize.Name = "ycomboWearSize"; this.table1.Add (this.ycomboWearSize); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboWearSize])); w39.TopAttach = ((uint)(2)); w39.BottomAttach = ((uint)(3)); w39.LeftAttach = ((uint)(6)); w39.RightAttach = ((uint)(7)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboWearStd = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboWearStd.Name = "ycomboWearStd"; this.ycomboWearStd.ShowSpecialStateAll = false; this.ycomboWearStd.ShowSpecialStateNot = false; this.ycomboWearStd.UseShortTitle = true; this.ycomboWearStd.DefaultFirst = false; this.table1.Add (this.ycomboWearStd); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboWearStd])); w40.TopAttach = ((uint)(2)); w40.BottomAttach = ((uint)(3)); w40.LeftAttach = ((uint)(5)); w40.RightAttach = ((uint)(6)); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryLeader = new global::Gamma.Widgets.yEntryReference (); this.yentryLeader.Events = ((global::Gdk.EventMask)(256)); this.yentryLeader.Name = "yentryLeader"; this.table1.Add (this.yentryLeader); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryLeader])); w41.TopAttach = ((uint)(5)); w41.BottomAttach = ((uint)(6)); w41.LeftAttach = ((uint)(1)); w41.RightAttach = ((uint)(2)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryObject = new global::Gamma.Widgets.yEntryReference (); this.yentryObject.Events = ((global::Gdk.EventMask)(256)); this.yentryObject.Name = "yentryObject"; this.table1.Add (this.yentryObject); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryObject])); w42.TopAttach = ((uint)(6)); w42.BottomAttach = ((uint)(7)); w42.LeftAttach = ((uint)(1)); w42.RightAttach = ((uint)(2)); w42.XOptions = ((global::Gtk.AttachOptions)(4)); w42.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryPersonnelNumber = new global::Gamma.GtkWidgets.yEntry (); this.yentryPersonnelNumber.CanFocus = true; this.yentryPersonnelNumber.Name = "yentryPersonnelNumber"; this.yentryPersonnelNumber.IsEditable = true; this.yentryPersonnelNumber.MaxLength = 15; this.yentryPersonnelNumber.InvisibleChar = '●'; this.table1.Add (this.yentryPersonnelNumber); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryPersonnelNumber])); w43.TopAttach = ((uint)(2)); w43.BottomAttach = ((uint)(3)); w43.LeftAttach = ((uint)(3)); w43.RightAttach = ((uint)(4)); w43.XOptions = ((global::Gtk.AttachOptions)(4)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryPost = new global::Gamma.Widgets.yEntryReference (); this.yentryPost.Events = ((global::Gdk.EventMask)(256)); this.yentryPost.Name = "yentryPost"; this.table1.Add (this.yentryPost); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryPost])); w44.TopAttach = ((uint)(4)); w44.BottomAttach = ((uint)(5)); w44.LeftAttach = ((uint)(1)); w44.RightAttach = ((uint)(2)); w44.XOptions = ((global::Gtk.AttachOptions)(4)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add (this.table1); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table1])); w45.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame (); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child frame1.Gtk.Container+ContainerChild this.yimagePhoto = new global::Gamma.Widgets.yImageViewer (); this.yimagePhoto.Name = "yimagePhoto"; this.yimagePhoto.VerticalFit = true; this.yimagePhoto.HorizontalFit = true; this.frame1.Add (this.yimagePhoto); this.vbox2.Add (this.frame1); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame1])); w47.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox (); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.buttonLoadPhoto = new global::Gtk.Button (); this.buttonLoadPhoto.TooltipMarkup = "Загрузить фотографию с диска на компьютере."; this.buttonLoadPhoto.CanFocus = true; this.buttonLoadPhoto.Name = "buttonLoadPhoto"; this.buttonLoadPhoto.UseUnderline = true; this.buttonLoadPhoto.Label = global::Mono.Unix.Catalog.GetString ("Загрузить"); global::Gtk.Image w48 = new global::Gtk.Image (); w48.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-open", global::Gtk.IconSize.Menu); this.buttonLoadPhoto.Image = w48; this.hbox8.Add (this.buttonLoadPhoto); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.buttonLoadPhoto])); w49.Position = 0; w49.Expand = false; w49.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.buttonSavePhoto = new global::Gtk.Button (); this.buttonSavePhoto.TooltipMarkup = "Сохранить фотографию на диск."; this.buttonSavePhoto.Sensitive = false; this.buttonSavePhoto.CanFocus = true; this.buttonSavePhoto.Name = "buttonSavePhoto"; this.buttonSavePhoto.UseUnderline = true; this.buttonSavePhoto.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w50 = new global::Gtk.Image (); w50.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSavePhoto.Image = w50; this.hbox8.Add (this.buttonSavePhoto); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.buttonSavePhoto])); w51.Position = 1; w51.Expand = false; w51.Fill = false; this.vbox2.Add (this.hbox8); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox8])); w52.Position = 1; w52.Expand = false; w52.Fill = false; this.hbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2])); w53.Position = 1; w53.Expand = false; w53.Fill = false; w1.Add (this.hbox1); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1])); w54.Position = 0; w54.Expand = false; w54.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook (); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox6 = new global::Gtk.VBox (); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.ytreeNorms = new global::Gamma.GtkWidgets.yTreeView (); this.ytreeNorms.CanFocus = true; this.ytreeNorms.Name = "ytreeNorms"; this.ytreeNorms.EnableSearch = false; this.GtkScrolledWindow2.Add (this.ytreeNorms); this.vbox6.Add (this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.GtkScrolledWindow2])); w56.Position = 0; // Container child vbox6.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox (); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.buttonAddNorm = new global::Gtk.Button (); this.buttonAddNorm.CanFocus = true; this.buttonAddNorm.Name = "buttonAddNorm"; this.buttonAddNorm.UseUnderline = true; this.buttonAddNorm.Label = global::Mono.Unix.Catalog.GetString ("Добавить норму"); global::Gtk.Image w57 = new global::Gtk.Image (); w57.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddNorm.Image = w57; this.hbox10.Add (this.buttonAddNorm); global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.buttonAddNorm])); w58.Position = 0; w58.Expand = false; w58.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.buttonNormFromPost = new global::Gtk.Button (); this.buttonNormFromPost.CanFocus = true; this.buttonNormFromPost.Name = "buttonNormFromPost"; this.buttonNormFromPost.UseUnderline = true; this.buttonNormFromPost.Label = global::Mono.Unix.Catalog.GetString ("По должности"); global::Gtk.Image w59 = new global::Gtk.Image (); w59.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonNormFromPost.Image = w59; this.hbox10.Add (this.buttonNormFromPost); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.buttonNormFromPost])); w60.Position = 1; w60.Expand = false; w60.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.buttonRemoveNorm = new global::Gtk.Button (); this.buttonRemoveNorm.CanFocus = true; this.buttonRemoveNorm.Name = "buttonRemoveNorm"; this.buttonRemoveNorm.UseUnderline = true; this.buttonRemoveNorm.Label = global::Mono.Unix.Catalog.GetString ("Удалить норму"); global::Gtk.Image w61 = new global::Gtk.Image (); w61.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveNorm.Image = w61; this.hbox10.Add (this.buttonRemoveNorm); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.buttonRemoveNorm])); w62.Position = 2; w62.Expand = false; w62.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.buttonRefreshWorkwearItems = new global::Gtk.Button (); this.buttonRefreshWorkwearItems.TooltipMarkup = "Обновить список требуемой спецодежды в соответсвтии с изменениями в нормах."; this.buttonRefreshWorkwearItems.CanFocus = true; this.buttonRefreshWorkwearItems.Name = "buttonRefreshWorkwearItems"; this.buttonRefreshWorkwearItems.UseUnderline = true; this.buttonRefreshWorkwearItems.Label = global::Mono.Unix.Catalog.GetString ("Обновить спецодежду"); this.hbox10.Add (this.buttonRefreshWorkwearItems); global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.buttonRefreshWorkwearItems])); w63.Position = 3; w63.Expand = false; w63.Fill = false; this.vbox6.Add (this.hbox10); global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox10])); w64.Position = 1; w64.Expand = false; w64.Fill = false; this.notebook1.Add (this.vbox6); // Notebook tab this.label13 = new global::Gtk.Label (); this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Применённые нормы"); this.notebook1.SetTabLabel (this.vbox6, this.label13); this.label13.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox7 = new global::Gtk.VBox (); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.ytreeWorkwear = new global::Gamma.GtkWidgets.yTreeView (); this.ytreeWorkwear.CanFocus = true; this.ytreeWorkwear.Name = "ytreeWorkwear"; this.GtkScrolledWindow3.Add (this.ytreeWorkwear); this.vbox7.Add (this.GtkScrolledWindow3); global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.GtkScrolledWindow3])); w67.Position = 0; // Container child vbox7.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox (); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; // Container child hbox11.Gtk.Box+BoxChild this.buttonPickNomenclature = new global::Gtk.Button (); this.buttonPickNomenclature.CanFocus = true; this.buttonPickNomenclature.Name = "buttonPickNomenclature"; this.buttonPickNomenclature.UseUnderline = true; this.buttonPickNomenclature.Label = global::Mono.Unix.Catalog.GetString ("Подобрать по складу"); global::Gtk.Image w68 = new global::Gtk.Image (); this.buttonPickNomenclature.Image = w68; this.hbox11.Add (this.buttonPickNomenclature); global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.buttonPickNomenclature])); w69.Position = 0; w69.Expand = false; w69.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.buttonGiveWearByNorm = new global::Gtk.Button (); this.buttonGiveWearByNorm.CanFocus = true; this.buttonGiveWearByNorm.Name = "buttonGiveWearByNorm"; this.buttonGiveWearByNorm.UseUnderline = true; this.buttonGiveWearByNorm.Label = global::Mono.Unix.Catalog.GetString ("Выдать неполученное"); global::Gtk.Image w70 = new global::Gtk.Image (); w70.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonGiveWearByNorm.Image = w70; this.hbox11.Add (this.buttonGiveWearByNorm); global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.buttonGiveWearByNorm])); w71.Position = 1; w71.Expand = false; w71.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.buttonReturnWear1 = new global::Gtk.Button (); this.buttonReturnWear1.CanFocus = true; this.buttonReturnWear1.Name = "buttonReturnWear1"; this.buttonReturnWear1.UseUnderline = true; this.buttonReturnWear1.Label = global::Mono.Unix.Catalog.GetString ("Возврат на склад"); global::Gtk.Image w72 = new global::Gtk.Image (); w72.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-redo", global::Gtk.IconSize.Menu); this.buttonReturnWear1.Image = w72; this.hbox11.Add (this.buttonReturnWear1); global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.buttonReturnWear1])); w73.Position = 2; w73.Expand = false; w73.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.buttonWriteOffWear1 = new global::Gtk.Button (); this.buttonWriteOffWear1.CanFocus = true; this.buttonWriteOffWear1.Name = "buttonWriteOffWear1"; this.buttonWriteOffWear1.UseUnderline = true; this.buttonWriteOffWear1.Label = global::Mono.Unix.Catalog.GetString ("Списание"); global::Gtk.Image w74 = new global::Gtk.Image (); w74.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete", global::Gtk.IconSize.Menu); this.buttonWriteOffWear1.Image = w74; this.hbox11.Add (this.buttonWriteOffWear1); global::Gtk.Box.BoxChild w75 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.buttonWriteOffWear1])); w75.Position = 3; w75.Expand = false; w75.Fill = false; this.vbox7.Add (this.hbox11); global::Gtk.Box.BoxChild w76 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox11])); w76.Position = 1; w76.Expand = false; w76.Fill = false; this.notebook1.Add (this.vbox7); global::Gtk.Notebook.NotebookChild w77 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox7])); w77.Position = 1; // Notebook tab this.label15 = new global::Gtk.Label (); this.label15.Name = "label15"; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("Спецодежда"); this.notebook1.SetTabLabel (this.vbox7, this.label15); this.label15.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeListedItems = new global::Gamma.GtkWidgets.yTreeView (); this.ytreeListedItems.CanFocus = true; this.ytreeListedItems.Name = "ytreeListedItems"; this.GtkScrolledWindow1.Add (this.ytreeListedItems); this.vbox4.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w79 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow1])); w79.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox (); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.buttonGiveWear = new global::Gtk.Button (); this.buttonGiveWear.Sensitive = false; this.buttonGiveWear.CanFocus = true; this.buttonGiveWear.Name = "buttonGiveWear"; this.buttonGiveWear.UseUnderline = true; this.buttonGiveWear.Label = global::Mono.Unix.Catalog.GetString ("Выдача сотруднику"); global::Gtk.Image w80 = new global::Gtk.Image (); w80.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonGiveWear.Image = w80; this.hbox9.Add (this.buttonGiveWear); global::Gtk.Box.BoxChild w81 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonGiveWear])); w81.Position = 0; w81.Expand = false; w81.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.buttonReturnWear = new global::Gtk.Button (); this.buttonReturnWear.Sensitive = false; this.buttonReturnWear.CanFocus = true; this.buttonReturnWear.Name = "buttonReturnWear"; this.buttonReturnWear.UseUnderline = true; this.buttonReturnWear.Label = global::Mono.Unix.Catalog.GetString ("Возврат на склад"); global::Gtk.Image w82 = new global::Gtk.Image (); w82.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-redo", global::Gtk.IconSize.Menu); this.buttonReturnWear.Image = w82; this.hbox9.Add (this.buttonReturnWear); global::Gtk.Box.BoxChild w83 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonReturnWear])); w83.Position = 1; w83.Expand = false; w83.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.buttonWriteOffWear = new global::Gtk.Button (); this.buttonWriteOffWear.Sensitive = false; this.buttonWriteOffWear.CanFocus = true; this.buttonWriteOffWear.Name = "buttonWriteOffWear"; this.buttonWriteOffWear.UseUnderline = true; this.buttonWriteOffWear.Label = global::Mono.Unix.Catalog.GetString ("Списание"); global::Gtk.Image w84 = new global::Gtk.Image (); w84.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete", global::Gtk.IconSize.Menu); this.buttonWriteOffWear.Image = w84; this.hbox9.Add (this.buttonWriteOffWear); global::Gtk.Box.BoxChild w85 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonWriteOffWear])); w85.Position = 2; w85.Expand = false; w85.Fill = false; this.vbox4.Add (this.hbox9); global::Gtk.Box.BoxChild w86 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox9])); w86.Position = 1; w86.Expand = false; w86.Fill = false; this.notebook1.Add (this.vbox4); global::Gtk.Notebook.NotebookChild w87 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox4])); w87.Position = 2; // Notebook tab this.label21 = new global::Gtk.Label (); this.label21.Name = "label21"; this.label21.LabelProp = global::Mono.Unix.Catalog.GetString ("Числится за сотрудником"); this.notebook1.SetTabLabel (this.vbox4, this.label21); this.label21.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.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.treeviewMovements = new global::Gamma.GtkWidgets.yTreeView (); this.treeviewMovements.CanFocus = true; this.treeviewMovements.Name = "treeviewMovements"; this.GtkScrolledWindow.Add (this.treeviewMovements); this.vbox5.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w89 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.GtkScrolledWindow])); w89.Position = 0; this.vbox3.Add (this.vbox5); global::Gtk.Box.BoxChild w90 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.vbox5])); w90.Position = 0; this.notebook1.Add (this.vbox3); global::Gtk.Notebook.NotebookChild w91 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox3])); w91.Position = 3; // Notebook tab this.label22 = new global::Gtk.Label (); this.label22.Name = "label22"; this.label22.LabelProp = global::Mono.Unix.Catalog.GetString ("История выдач"); this.notebook1.SetTabLabel (this.vbox3, this.label22); this.label22.ShowAll (); w1.Add (this.notebook1); global::Gtk.Box.BoxChild w92 = ((global::Gtk.Box.BoxChild)(w1 [this.notebook1])); w92.Position = 1; // Internal child workwear.EmployeeCardDlg.ActionArea global::Gtk.HButtonBox w93 = this.ActionArea; w93.Name = "dialog1_ActionArea"; w93.Spacing = 10; w93.BorderWidth = ((uint)(5)); w93.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonPrint = new global::Gtk.Button (); this.buttonPrint.Sensitive = false; this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString ("Печать"); global::Gtk.Image w94 = new global::Gtk.Image (); w94.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w94; this.AddActionWidget (this.buttonPrint, 0); global::Gtk.ButtonBox.ButtonBoxChild w95 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w93 [this.buttonPrint])); w95.Expand = false; w95.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("О_тменить"); global::Gtk.Image w96 = new global::Gtk.Image (); w96.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w96; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w97 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w93 [this.buttonCancel])); w97.Position = 1; w97.Expand = false; w97.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("_OK"); global::Gtk.Image w98 = new global::Gtk.Image (); w98.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu); this.buttonOk.Image = w98; w93.Add (this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w99 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w93 [this.buttonOk])); w99.Position = 2; w99.Expand = false; w99.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 1148; this.DefaultHeight = 569; this.Show (); this.yentryPost.Changed += new global::System.EventHandler (this.OnYentryPostChanged); this.ycomboWearStd.Changed += new global::System.EventHandler (this.OnYcomboWearStdChanged); this.ycomboShoesStd.Changed += new global::System.EventHandler (this.OnYcomboShoesStdChanged); this.ycomboHeaddressStd.Changed += new global::System.EventHandler (this.OnYcomboHeaddressChanged); this.ycomboGlovesStd.Changed += new global::System.EventHandler (this.OnYcomboGlovesStdChanged); this.entryId.Changed += new global::System.EventHandler (this.OnEntryIdChanged); this.checkAuto.Toggled += new global::System.EventHandler (this.OnCheckAutoToggled); this.comboSex.Changed += new global::System.EventHandler (this.OnComboSexChanged); this.yimagePhoto.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnYimagePhotoButtonPressEvent); this.buttonLoadPhoto.Clicked += new global::System.EventHandler (this.OnButtonLoadPhotoClicked); this.buttonSavePhoto.Clicked += new global::System.EventHandler (this.OnButtonSavePhotoClicked); this.notebook1.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebook1SwitchPage); this.buttonAddNorm.Clicked += new global::System.EventHandler (this.OnButtonAddNormClicked); this.buttonNormFromPost.Clicked += new global::System.EventHandler (this.OnButtonNormFromPostClicked); this.buttonRemoveNorm.Clicked += new global::System.EventHandler (this.OnButtonRemoveNormClicked); this.buttonRefreshWorkwearItems.Clicked += new global::System.EventHandler (this.OnButtonRefreshWorkwearItemsClicked); this.buttonPickNomenclature.Clicked += new global::System.EventHandler (this.OnButtonPickNomenclatureClicked); this.buttonGiveWearByNorm.Clicked += new global::System.EventHandler (this.OnButtonGiveWearByNormClicked); this.buttonReturnWear1.Clicked += new global::System.EventHandler (this.OnButtonReturnWearClicked); this.buttonWriteOffWear1.Clicked += new global::System.EventHandler (this.OnButtonWriteOffWearClicked); this.buttonGiveWear.Clicked += new global::System.EventHandler (this.OnButtonGiveWearClicked); this.buttonReturnWear.Clicked += new global::System.EventHandler (this.OnButtonReturnWearClicked); this.buttonWriteOffWear.Clicked += new global::System.EventHandler (this.OnButtonWriteOffWearClicked); this.buttonPrint.Clicked += new global::System.EventHandler (this.OnButtonPrintClicked); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.AccountableSlipFilter global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.AccountableSlipFilter"; // Container child Vodovoz.AccountableSlipFilter.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.dateperiod = new global::QS.Widgets.GtkUI.DateRangePicker(); this.dateperiod.Events = ((global::Gdk.EventMask)(256)); this.dateperiod.Name = "dateperiod"; this.dateperiod.StartDate = new global::System.DateTime(0); this.dateperiod.EndDate = new global::System.DateTime(0); this.table1.Add(this.dateperiod); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiod])); w1.LeftAttach = ((uint)(3)); w1.RightAttach = ((uint)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Сотрудник:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Период:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w3.LeftAttach = ((uint)(2)); w3.RightAttach = ((uint)(3)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.repEntryAccountable = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.repEntryAccountable.Events = ((global::Gdk.EventMask)(256)); this.repEntryAccountable.Name = "repEntryAccountable"; this.table1.Add(this.repEntryAccountable); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.repEntryAccountable])); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryExpense = new global::Gamma.Widgets.yEntryReference(); this.yentryExpense.Events = ((global::Gdk.EventMask)(256)); this.yentryExpense.Name = "yentryExpense"; this.table1.Add(this.yentryExpense); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryExpense])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.yentryExpense.Changed += new global::System.EventHandler(this.OnYentryExpenseChanged); this.repEntryAccountable.Changed += new global::System.EventHandler(this.OnYentryAccountableChanged); this.dateperiod.PeriodChanged += new global::System.EventHandler(this.OnDateperiodPeriodChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.CounterpartyContractDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.CounterpartyContractDlg"; // Container child Vodovoz.CounterpartyContractDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.datatable5 = new global::Gtk.Table(((uint)(7)), ((uint)(3)), false); this.datatable5.Name = "datatable5"; this.datatable5.RowSpacing = ((uint)(6)); this.datatable5.ColumnSpacing = ((uint)(6)); this.datatable5.BorderWidth = ((uint)(6)); // Container child datatable5.Gtk.Table+TableChild this.checkOnCancellation = new global::Gamma.GtkWidgets.yCheckButton(); this.checkOnCancellation.CanFocus = true; this.checkOnCancellation.Name = "checkOnCancellation"; this.checkOnCancellation.Label = global::Mono.Unix.Catalog.GetString("На расторжении"); this.checkOnCancellation.DrawIndicator = true; this.checkOnCancellation.UseUnderline = true; this.datatable5.Add(this.checkOnCancellation); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable5[this.checkOnCancellation])); w6.TopAttach = ((uint)(5)); w6.BottomAttach = ((uint)(6)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.dateIssue = new global::QS.Widgets.GtkUI.DatePicker(); this.dateIssue.Sensitive = false; this.dateIssue.Events = ((global::Gdk.EventMask)(256)); this.dateIssue.Name = "dateIssue"; this.dateIssue.WithTime = false; this.dateIssue.HideCalendarButton = false; this.dateIssue.Date = new global::System.DateTime(0); this.dateIssue.IsEditable = true; this.dateIssue.AutoSeparation = false; this.datatable5.Add(this.dateIssue); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.datatable5[this.dateIssue])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.entryNumber = new global::Gamma.GtkWidgets.yEntry(); this.entryNumber.Sensitive = false; this.entryNumber.CanFocus = true; this.entryNumber.Name = "entryNumber"; this.entryNumber.IsEditable = false; this.entryNumber.InvisibleChar = '●'; this.datatable5.Add(this.entryNumber); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable5[this.entryNumber])); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.hbox17 = new global::Gtk.HBox(); this.hbox17.Name = "hbox17"; this.hbox17.Spacing = 6; // Container child hbox17.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hbox17.Add(this.vseparator2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.vseparator2])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox17.Gtk.Box+BoxChild this.checkArchive = new global::Gamma.GtkWidgets.yCheckButton(); this.checkArchive.CanFocus = true; this.checkArchive.Name = "checkArchive"; this.checkArchive.Label = global::Mono.Unix.Catalog.GetString("Архивный"); this.checkArchive.DrawIndicator = true; this.checkArchive.UseUnderline = true; this.hbox17.Add(this.checkArchive); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.checkArchive])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child hbox17.Gtk.Box+BoxChild this.vseparator3 = new global::Gtk.VSeparator(); this.vseparator3.Name = "vseparator3"; this.hbox17.Add(this.vseparator3); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.vseparator3])); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.datatable5.Add(this.hbox17); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable5[this.hbox17])); w12.TopAttach = ((uint)(5)); w12.BottomAttach = ((uint)(6)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.label32 = new global::Gtk.Label(); this.label32.Name = "label32"; this.label32.Xalign = 1F; this.label32.LabelProp = global::Mono.Unix.Catalog.GetString("Номер:"); this.datatable5.Add(this.label32); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable5[this.label32])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.label33 = new global::Gtk.Label(); this.label33.Name = "label33"; this.label33.Xalign = 1F; this.label33.LabelProp = global::Mono.Unix.Catalog.GetString("Дата заключения:"); this.datatable5.Add(this.label33); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatable5[this.label33])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.label35 = new global::Gtk.Label(); this.label35.Name = "label35"; this.label35.Xalign = 1F; this.label35.LabelProp = global::Mono.Unix.Catalog.GetString("Организация:"); this.datatable5.Add(this.label35); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable5[this.label35])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.label36 = new global::Gtk.Label(); this.label36.Name = "label36"; this.label36.Xalign = 1F; this.label36.LabelProp = global::Mono.Unix.Catalog.GetString("Тип договора:"); this.datatable5.Add(this.label36); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable5[this.label36])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.label38 = new global::Gtk.Label(); this.label38.Name = "label38"; this.label38.Xalign = 1F; this.label38.LabelProp = global::Mono.Unix.Catalog.GetString("Максимальный срок отсрочки:"); this.datatable5.Add(this.label38); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable5[this.label38])); w17.TopAttach = ((uint)(4)); w17.BottomAttach = ((uint)(5)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.referenceOrganization = new global::Gamma.Widgets.yEntryReference(); this.referenceOrganization.Sensitive = false; this.referenceOrganization.Events = ((global::Gdk.EventMask)(256)); this.referenceOrganization.Name = "referenceOrganization"; this.datatable5.Add(this.referenceOrganization); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatable5[this.referenceOrganization])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.spinDelay = new global::Gamma.GtkWidgets.ySpinButton(0D, 100D, 1D); this.spinDelay.CanFocus = true; this.spinDelay.Name = "spinDelay"; this.spinDelay.Adjustment.PageIncrement = 10D; this.spinDelay.ClimbRate = 1D; this.spinDelay.Numeric = true; this.spinDelay.Value = 3D; this.spinDelay.ValueAsDecimal = 0m; this.spinDelay.ValueAsInt = 0; this.datatable5.Add(this.spinDelay); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatable5[this.spinDelay])); w19.TopAttach = ((uint)(4)); w19.BottomAttach = ((uint)(5)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.templatewidget1 = new global::QSDocTemplates.TemplateWidget(); this.templatewidget1.Events = ((global::Gdk.EventMask)(256)); this.templatewidget1.Name = "templatewidget1"; this.templatewidget1.CanRevertCommon = false; this.datatable5.Add(this.templatewidget1); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatable5[this.templatewidget1])); w20.BottomAttach = ((uint)(6)); w20.LeftAttach = ((uint)(2)); w20.RightAttach = ((uint)(3)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.ycomboContractType = new global::Gamma.Widgets.yEnumComboBox(); this.ycomboContractType.Sensitive = false; this.ycomboContractType.Name = "ycomboContractType"; this.ycomboContractType.ShowSpecialStateAll = false; this.ycomboContractType.ShowSpecialStateNot = false; this.ycomboContractType.UseShortTitle = false; this.ycomboContractType.DefaultFirst = false; this.datatable5.Add(this.ycomboContractType); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatable5[this.ycomboContractType])); w21.TopAttach = ((uint)(3)); w21.BottomAttach = ((uint)(4)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.datatable5); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.datatable5])); w22.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.Logistic.ShipmentReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Logistic.ShipmentReport"; // Container child Vodovoz.ReportsParameters.Logistic.ShipmentReport.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.labelDate = new global::Gtk.Label(); this.labelDate.Name = "labelDate"; this.labelDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.hbox1.Add(this.labelDate); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.labelDate])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.ydatepicker = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatepicker.Events = ((global::Gdk.EventMask)(256)); this.ydatepicker.Name = "ydatepicker"; this.ydatepicker.WithTime = false; this.ydatepicker.Date = new global::System.DateTime(0); this.ydatepicker.IsEditable = true; this.ydatepicker.AutoSeparation = false; this.hbox1.Add(this.ydatepicker); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ydatepicker])); w2.Position = 1; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild 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 = new global::GLib.SList(global::System.IntPtr.Zero); this.vbox2.Add(this.radioAll); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.radioAll])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.radioCash = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Отсортировать по кассе")); this.radioCash.CanFocus = true; this.radioCash.Name = "radioCash"; this.radioCash.DrawIndicator = true; this.radioCash.UseUnderline = true; this.radioCash.Group = this.radioAll.Group; this.vbox2.Add(this.radioCash); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.radioCash])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.radioWarehouse = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Отсортировать по складу")); this.radioWarehouse.CanFocus = true; this.radioWarehouse.Name = "radioWarehouse"; this.radioWarehouse.DrawIndicator = true; this.radioWarehouse.UseUnderline = true; this.radioWarehouse.Group = this.radioAll.Group; this.vbox2.Add(this.radioWarehouse); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.radioWarehouse])); w6.Position = 3; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.referenceWarehouse = new global::Gamma.Widgets.yEntryReference(); this.referenceWarehouse.Events = ((global::Gdk.EventMask)(256)); this.referenceWarehouse.Name = "referenceWarehouse"; this.vbox2.Add(this.referenceWarehouse); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.referenceWarehouse])); w7.Position = 4; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.buttonCreateReport = new global::Gtk.Button(); this.buttonCreateReport.CanFocus = true; this.buttonCreateReport.Name = "buttonCreateReport"; this.buttonCreateReport.UseUnderline = true; this.buttonCreateReport.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчёт"); this.vbox2.Add(this.buttonCreateReport); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.buttonCreateReport])); w8.Position = 6; w8.Expand = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.radioAll.Toggled += new global::System.EventHandler(this.OnRadioAllToggled); this.radioCash.Toggled += new global::System.EventHandler(this.OnRadioCashToggled); this.radioWarehouse.Toggled += new global::System.EventHandler(this.OnRadioWarehouseToggled); this.referenceWarehouse.Changed += new global::System.EventHandler(this.OnReferenceWarehouseChanged); this.buttonCreateReport.Clicked += new global::System.EventHandler(this.OnButtonCreateReportClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.IncomingWaterDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.IncomingWaterDlg"; // Container child Vodovoz.IncomingWaterDlg.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox3.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox3.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonFill = new global::Gtk.Button(); this.buttonFill.CanFocus = true; this.buttonFill.Name = "buttonFill"; this.buttonFill.UseUnderline = true; this.buttonFill.Label = global::Mono.Unix.Catalog.GetString("Заполнить по спецификации"); this.hbox3.Add(this.buttonFill); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonFill])); w5.PackType = ((global::Gtk.PackType)(1)); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.vbox2.Add(this.hbox3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.tableWater = new global::Gtk.Table(((uint)(6)), ((uint)(2)), false); this.tableWater.Name = "tableWater"; this.tableWater.RowSpacing = ((uint)(6)); this.tableWater.ColumnSpacing = ((uint)(6)); // Container child tableWater.Gtk.Table+TableChild this.incomingwatermaterialview1 = new global::Vodovoz.IncomingWaterMaterialView(); this.incomingwatermaterialview1.Events = ((global::Gdk.EventMask)(256)); this.incomingwatermaterialview1.Name = "incomingwatermaterialview1"; this.tableWater.Add(this.incomingwatermaterialview1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tableWater[this.incomingwatermaterialview1])); w7.TopAttach = ((uint)(5)); w7.BottomAttach = ((uint)(6)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWater.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата документа:"); this.tableWater.Add(this.label1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableWater[this.label1])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWater.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Количество единиц:"); this.tableWater.Add(this.label2); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableWater[this.label2])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWater.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Склад поступления:"); this.tableWater.Add(this.label3); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableWater[this.label3])); w10.TopAttach = ((uint)(3)); w10.BottomAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWater.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.tableWater.Add(this.label5); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableWater[this.label5])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWater.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Продукт производства:"); this.tableWater.Add(this.label6); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableWater[this.label6])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWater.Gtk.Table+TableChild this.labelTimeStamp = new global::Gamma.GtkWidgets.yLabel(); this.labelTimeStamp.Name = "labelTimeStamp"; this.labelTimeStamp.Xalign = 0F; this.tableWater.Add(this.labelTimeStamp); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableWater[this.labelTimeStamp])); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWater.Gtk.Table+TableChild this.referenceDstWarehouse = new global::Gamma.Widgets.yEntryReference(); this.referenceDstWarehouse.Events = ((global::Gdk.EventMask)(256)); this.referenceDstWarehouse.Name = "referenceDstWarehouse"; this.tableWater.Add(this.referenceDstWarehouse); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableWater[this.referenceDstWarehouse])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWater.Gtk.Table+TableChild this.referenceProduct = new global::Gamma.Widgets.yEntryReference(); this.referenceProduct.Events = ((global::Gdk.EventMask)(256)); this.referenceProduct.Name = "referenceProduct"; this.tableWater.Add(this.referenceProduct); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableWater[this.referenceProduct])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWater.Gtk.Table+TableChild this.referenceSrcWarehouse = new global::Gamma.Widgets.yEntryReference(); this.referenceSrcWarehouse.Events = ((global::Gdk.EventMask)(256)); this.referenceSrcWarehouse.Name = "referenceSrcWarehouse"; this.tableWater.Add(this.referenceSrcWarehouse); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableWater[this.referenceSrcWarehouse])); w16.TopAttach = ((uint)(4)); w16.BottomAttach = ((uint)(5)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWater.Gtk.Table+TableChild this.spinAmount = new global::Gamma.GtkWidgets.ySpinButton(0D, 10000D, 1D); this.spinAmount.CanFocus = true; this.spinAmount.Name = "spinAmount"; this.spinAmount.Adjustment.PageIncrement = 10D; this.spinAmount.ClimbRate = 1D; this.spinAmount.Numeric = true; this.spinAmount.Value = 1D; this.spinAmount.ValueAsDecimal = 0m; this.spinAmount.ValueAsInt = 0; this.tableWater.Add(this.spinAmount); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableWater[this.spinAmount])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.tableWater); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.tableWater])); w18.Position = 1; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonFill.Clicked += new global::System.EventHandler(this.OnButtonFillClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Reports.CashFlow global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Reports.CashFlow"; // Container child Vodovoz.Reports.CashFlow.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(7)), ((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.buttonRun = new global::Gtk.Button(); this.buttonRun.Sensitive = false; this.buttonRun.CanFocus = true; this.buttonRun.Name = "buttonRun"; this.buttonRun.UseUnderline = true; this.buttonRun.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.table1.Add(this.buttonRun); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonRun])); w1.TopAttach = ((uint)(6)); w1.BottomAttach = ((uint)(7)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(0)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkDetail = new global::Gtk.CheckButton(); this.checkDetail.CanFocus = true; this.checkDetail.Name = "checkDetail"; this.checkDetail.Label = global::Mono.Unix.Catalog.GetString("Детализированный"); this.checkDetail.DrawIndicator = true; this.checkDetail.UseUnderline = true; this.checkDetail.Xalign = 0F; this.table1.Add(this.checkDetail); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.checkDetail])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboExpenseCategory = new global::Gtk.ComboBox(); this.comboExpenseCategory.Name = "comboExpenseCategory"; this.table1.Add(this.comboExpenseCategory); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.comboExpenseCategory])); w3.TopAttach = ((uint)(5)); w3.BottomAttach = ((uint)(6)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboIncomeCategory = new global::Gamma.Widgets.ySpecComboBox(); this.comboIncomeCategory.Name = "comboIncomeCategory"; this.comboIncomeCategory.AddIfNotExist = false; this.comboIncomeCategory.DefaultFirst = false; this.comboIncomeCategory.ShowSpecialStateAll = true; this.comboIncomeCategory.ShowSpecialStateNot = false; this.table1.Add(this.comboIncomeCategory); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.comboIncomeCategory])); w4.TopAttach = ((uint)(4)); w4.BottomAttach = ((uint)(5)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboPart = new global::Gamma.Widgets.yEnumComboBox(); this.comboPart.Sensitive = false; this.comboPart.Name = "comboPart"; this.comboPart.ShowSpecialStateAll = true; this.comboPart.ShowSpecialStateNot = false; this.comboPart.UseShortTitle = false; this.comboPart.DefaultFirst = false; this.table1.Add(this.comboPart); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.comboPart])); w5.TopAttach = ((uint)(3)); w5.BottomAttach = ((uint)(4)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.dateperiodpicker1 = new global::QSWidgetLib.DatePeriodPicker(); this.dateperiodpicker1.Events = ((global::Gdk.EventMask)(256)); this.dateperiodpicker1.Name = "dateperiodpicker1"; this.dateperiodpicker1.StartDate = new global::System.DateTime(0); this.dateperiodpicker1.EndDate = new global::System.DateTime(0); this.table1.Add(this.dateperiodpicker1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodpicker1])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Период:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Раздел:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w8.TopAttach = ((uint)(3)); w8.BottomAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Статья дохода:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w9.TopAttach = ((uint)(4)); w9.BottomAttach = ((uint)(5)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label4); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w10.TopAttach = ((uint)(5)); w10.BottomAttach = ((uint)(6)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label5); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryrefCasher = new global::Gamma.Widgets.yEntryReference(); this.yentryrefCasher.Events = ((global::Gdk.EventMask)(256)); this.yentryrefCasher.Name = "yentryrefCasher"; this.table1.Add(this.yentryrefCasher); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryrefCasher])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.dateperiodpicker1.PeriodChanged += new global::System.EventHandler(this.OnDateperiodpicker1PeriodChanged); this.comboPart.EnumItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnComboPartEnumItemSelected); this.checkDetail.Toggled += new global::System.EventHandler(this.OnCheckDetailToggled); this.buttonRun.Clicked += new global::System.EventHandler(this.OnButtonRunClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget workwear.NomenclatureDlg this.Name = "workwear.NomenclatureDlg"; this.Title = global::Mono.Unix.Catalog.GetString ("Новая номенклатура"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child workwear.NomenclatureDlg.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table (((uint)(6)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.ycomboWearStd = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboWearStd.Name = "ycomboWearStd"; this.ycomboWearStd.ShowSpecialStateAll = false; this.ycomboWearStd.ShowSpecialStateNot = false; this.ycomboWearStd.UseShortTitle = true; this.ycomboWearStd.DefaultFirst = true; this.hbox2.Add (this.ycomboWearStd); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.ycomboWearStd])); w2.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.ycomboWearSize = new global::Gamma.GtkWidgets.yComboBox (); this.ycomboWearSize.Name = "ycomboWearSize"; this.hbox2.Add (this.ycomboWearSize); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.ycomboWearSize])); w3.Position = 1; this.table2.Add (this.hbox2); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.hbox2])); w4.TopAttach = ((uint)(4)); w4.BottomAttach = ((uint)(5)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Код:"); this.table2.Add (this.label7); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.label7])); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Наименование<span foreground=\"red\">*</span>:"); this.label8.UseMarkup = true; this.table2.Add (this.label8); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Номенклатурная группа<span foreground=\"red\">*</span>:"); this.label9.UseMarkup = true; this.table2.Add (this.label9); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.label9])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelGrowth = new global::Gtk.Label (); this.labelGrowth.Name = "labelGrowth"; this.labelGrowth.Xalign = 1F; this.labelGrowth.LabelProp = global::Mono.Unix.Catalog.GetString ("Рост:"); this.table2.Add (this.labelGrowth); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelGrowth])); w8.TopAttach = ((uint)(5)); w8.BottomAttach = ((uint)(6)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelSize = new global::Gtk.Label (); this.labelSize.Name = "labelSize"; this.labelSize.Xalign = 1F; this.labelSize.LabelProp = global::Mono.Unix.Catalog.GetString ("Размер:"); this.table2.Add (this.labelSize); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelSize])); w9.TopAttach = ((uint)(4)); w9.BottomAttach = ((uint)(5)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ycomboClothesSex = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboClothesSex.Name = "ycomboClothesSex"; this.ycomboClothesSex.ShowSpecialStateAll = false; this.ycomboClothesSex.ShowSpecialStateNot = false; this.ycomboClothesSex.UseShortTitle = false; this.ycomboClothesSex.DefaultFirst = false; this.table2.Add (this.ycomboClothesSex); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2 [this.ycomboClothesSex])); w10.TopAttach = ((uint)(3)); w10.BottomAttach = ((uint)(4)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ycomboWearGrowth = new global::Gamma.GtkWidgets.yComboBox (); this.ycomboWearGrowth.Name = "ycomboWearGrowth"; this.table2.Add (this.ycomboWearGrowth); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.ycomboWearGrowth])); w11.TopAttach = ((uint)(5)); w11.BottomAttach = ((uint)(6)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryItemsType = new global::Gamma.Widgets.yEntryReference (); this.yentryItemsType.Events = ((global::Gdk.EventMask)(256)); this.yentryItemsType.Name = "yentryItemsType"; this.table2.Add (this.yentryItemsType); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryItemsType])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryName = new global::Gamma.GtkWidgets.yEntry (); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.MaxLength = 240; this.yentryName.InvisibleChar = '●'; this.table2.Add (this.yentryName); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryName])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ylabelClothesSex = new global::Gamma.GtkWidgets.yLabel (); this.ylabelClothesSex.Name = "ylabelClothesSex"; this.ylabelClothesSex.Xalign = 1F; this.ylabelClothesSex.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1"); this.table2.Add (this.ylabelClothesSex); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2 [this.ylabelClothesSex])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ylabelId = new global::Gamma.GtkWidgets.yLabel (); this.ylabelId.Name = "ylabelId"; this.ylabelId.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1"); this.table2.Add (this.ylabelId); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2 [this.ylabelId])); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); w1.Add (this.table2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(w1 [this.table2])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Internal child workwear.NomenclatureDlg.ActionArea global::Gtk.HButtonBox w17 = this.ActionArea; w17.Name = "dialog1_ActionArea"; w17.Spacing = 10; w17.BorderWidth = ((uint)(5)); w17.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("О_тменить"); global::Gtk.Image w18 = new global::Gtk.Image (); w18.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w18; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w19 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w17 [this.buttonCancel])); w19.Expand = false; w19.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("_OK"); global::Gtk.Image w20 = new global::Gtk.Image (); w20.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu); this.buttonOk.Image = w20; w17.Add (this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w21 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w17 [this.buttonOk])); w21.Position = 1; w21.Expand = false; w21.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 425; this.DefaultHeight = 269; this.ycomboClothesSex.Hide (); this.ylabelClothesSex.Hide (); this.Show (); this.yentryItemsType.Changed += new global::System.EventHandler (this.OnYentryItemsTypeChanged); this.ycomboClothesSex.Changed += new global::System.EventHandler (this.OnYcomboClothesSexChanged); this.ycomboWearStd.Changed += new global::System.EventHandler (this.OnYcomboWearStdChanged); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.Reports.DriverWagesReport global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.Reports.DriverWagesReport"; // Container child Vodovoz.Reports.DriverWagesReport.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата:"); this.hbox1.Add (this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.dateperiodpicker = new global::QSWidgetLib.DatePeriodPicker (); this.dateperiodpicker.Events = ((global::Gdk.EventMask)(256)); this.dateperiodpicker.Name = "dateperiodpicker"; this.dateperiodpicker.StartDate = new global::System.DateTime (0); this.dateperiodpicker.EndDate = new global::System.DateTime (0); this.hbox1.Add (this.dateperiodpicker); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.dateperiodpicker])); w2.Position = 1; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Водитель:"); this.hbox3.Add (this.label2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label2])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yentryreferenceDriver = new global::Gamma.Widgets.yEntryReference (); this.yentryreferenceDriver.Events = ((global::Gdk.EventMask)(256)); this.yentryreferenceDriver.Name = "yentryreferenceDriver"; this.hbox3.Add (this.yentryreferenceDriver); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.yentryreferenceDriver])); w5.Position = 1; this.vbox1.Add (this.hbox3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.buttonCreateReport = new global::Gtk.Button (); this.buttonCreateReport.CanFocus = true; this.buttonCreateReport.Name = "buttonCreateReport"; this.buttonCreateReport.UseUnderline = true; this.buttonCreateReport.Label = global::Mono.Unix.Catalog.GetString ("Сформировать отчет"); this.vbox1.Add (this.buttonCreateReport); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.buttonCreateReport])); w7.Position = 2; w7.Expand = false; w7.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonCreateReport.Clicked += new global::System.EventHandler (this.OnButtonCreateReportClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.ProductSpecificationDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.ProductSpecificationDlg"; // Container child Vodovoz.ProductSpecificationDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add (this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.datatable5 = new global::Gtk.DataBindings.DataTable (((uint)(3)), ((uint)(2)), false); this.datatable5.Name = "datatable5"; this.datatable5.RowSpacing = ((uint)(6)); this.datatable5.ColumnSpacing = ((uint)(6)); this.datatable5.BorderWidth = ((uint)(6)); this.datatable5.InheritedDataSource = false; this.datatable5.InheritedBoundaryDataSource = false; this.datatable5.InheritedDataSource = false; this.datatable5.InheritedBoundaryDataSource = false; // Container child datatable5.Gtk.Table+TableChild this.entryName = new global::Gamma.GtkWidgets.yEntry (); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.InvisibleChar = '●'; this.datatable5.Add (this.entryName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable5 [this.entryName])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.label32 = new global::Gtk.Label (); this.label32.Name = "label32"; this.label32.Xalign = 1F; this.label32.LabelProp = global::Mono.Unix.Catalog.GetString ("Название спецификации:"); this.datatable5.Add (this.label32); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.datatable5 [this.label32])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.label35 = new global::Gtk.Label (); this.label35.Name = "label35"; this.label35.Xalign = 1F; this.label35.LabelProp = global::Mono.Unix.Catalog.GetString ("Продукция:"); this.datatable5.Add (this.label35); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable5 [this.label35])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.productspecificationmaterialsview1 = new global::Vodovoz.ProductSpecificationMaterialsView (); this.productspecificationmaterialsview1.Events = ((global::Gdk.EventMask)(256)); this.productspecificationmaterialsview1.Name = "productspecificationmaterialsview1"; this.datatable5.Add (this.productspecificationmaterialsview1); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable5 [this.productspecificationmaterialsview1])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.referenceProduct = new global::Gamma.Widgets.yEntryReference (); this.referenceProduct.Events = ((global::Gdk.EventMask)(256)); this.referenceProduct.Name = "referenceProduct"; this.datatable5.Add (this.referenceProduct); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable5 [this.referenceProduct])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add (this.datatable5); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.datatable5])); w11.Position = 1; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Dialogs.Employees.EmployeeWorkChartDlg global::Stetic.BinContainer.Attach (this); this.Name = "Dialogs.Employees.EmployeeWorkChartDlg"; // Container child Dialogs.Employees.EmployeeWorkChartDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox5.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox5.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add (this.hbox5); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox5])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel (); this.ylabel1.Name = "ylabel1"; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("Месяц:"); this.hbox7.Add (this.ylabel1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.ylabel1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.yenumcomboMonth = new global::Gamma.Widgets.yEnumComboBox (); this.yenumcomboMonth.Name = "yenumcomboMonth"; this.yenumcomboMonth.ShowSpecialStateAll = false; this.yenumcomboMonth.ShowSpecialStateNot = false; this.yenumcomboMonth.UseShortTitle = false; this.yenumcomboMonth.DefaultFirst = false; this.hbox7.Add (this.yenumcomboMonth); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.yenumcomboMonth])); w7.Position = 1; this.vbox2.Add (this.hbox7); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox7])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Год:"); this.hbox3.Add (this.label2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label2])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yspinYear = new global::Gamma.GtkWidgets.ySpinButton (1, 5000, 1); this.yspinYear.CanFocus = true; this.yspinYear.Name = "yspinYear"; this.yspinYear.Adjustment.PageIncrement = 10; this.yspinYear.ClimbRate = 1; this.yspinYear.Numeric = true; this.yspinYear.ValueAsDecimal = 0m; this.yspinYear.ValueAsInt = 0; this.hbox3.Add (this.yspinYear); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.yspinYear])); w10.Position = 1; this.vbox2.Add (this.hbox3); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3])); w11.Position = 2; w11.Expand = false; w11.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox (); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Сотрудник:"); this.hbox6.Add (this.label3); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.label3])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.yentryEmployee = new global::Gamma.Widgets.yEntryReference (); this.yentryEmployee.Events = ((global::Gdk.EventMask)(256)); this.yentryEmployee.Name = "yentryEmployee"; this.hbox6.Add (this.yentryEmployee); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.yentryEmployee])); w13.Position = 1; this.vbox2.Add (this.hbox6); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox6])); w14.Position = 3; w14.Expand = false; w14.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.labelTotalHours = new global::Gtk.Label (); this.labelTotalHours.Name = "labelTotalHours"; this.labelTotalHours.LabelProp = global::Mono.Unix.Catalog.GetString ("Всего за месяц 0 часов"); this.vbox2.Add (this.labelTotalHours); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.labelTotalHours])); w15.Position = 4; w15.Expand = false; w15.Fill = false; this.hbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.workcharttable = new global::ViewWidgets.WorkChartTable (); this.workcharttable.Name = "workcharttable"; this.workcharttable.Date = new global::System.DateTime (0); this.hbox1.Add (this.workcharttable); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.workcharttable])); w17.Position = 1; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w18.Position = 0; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.RegradingOfGoodsDocumentDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.RegradingOfGoodsDocumentDlg"; // Container child Vodovoz.RegradingOfGoodsDocumentDlg.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(6)); // Container child vbox4.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox5.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox5.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox4.Add (this.hbox5); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox5])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.tableWriteoff = new global::Gtk.DataBindings.DataTable (((uint)(2)), ((uint)(4)), false); this.tableWriteoff.Name = "tableWriteoff"; this.tableWriteoff.RowSpacing = ((uint)(6)); this.tableWriteoff.ColumnSpacing = ((uint)(6)); this.tableWriteoff.InheritedDataSource = false; this.tableWriteoff.InheritedBoundaryDataSource = false; this.tableWriteoff.InheritedDataSource = false; this.tableWriteoff.InheritedBoundaryDataSource = false; // Container child tableWriteoff.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewCommnet = new global::Gamma.GtkWidgets.yTextView (); this.ytextviewCommnet.CanFocus = true; this.ytextviewCommnet.Name = "ytextviewCommnet"; this.GtkScrolledWindow.Add (this.ytextviewCommnet); this.tableWriteoff.Add (this.GtkScrolledWindow); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.GtkScrolledWindow])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(4)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата:"); this.tableWriteoff.Add (this.label1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label1])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.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.tableWriteoff.Add (this.label4); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label4])); w9.LeftAttach = ((uint)(2)); w9.RightAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.Yalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Комментарий:"); this.tableWriteoff.Add (this.label5); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label5])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.yentryrefWarehouse = new global::Gamma.Widgets.yEntryReference (); this.yentryrefWarehouse.Events = ((global::Gdk.EventMask)(256)); this.yentryrefWarehouse.Name = "yentryrefWarehouse"; this.tableWriteoff.Add (this.yentryrefWarehouse); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.yentryrefWarehouse])); w11.LeftAttach = ((uint)(3)); w11.RightAttach = ((uint)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.ylabelDate = new global::Gamma.GtkWidgets.yLabel (); this.ylabelDate.Name = "ylabelDate"; this.ylabelDate.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1"); this.tableWriteoff.Add (this.ylabelDate); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.ylabelDate])); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add (this.tableWriteoff); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.tableWriteoff])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.regradingofgoodsitemsview = new global::Vodovoz.RegradingOfGoodsDocumentItemsView (); this.regradingofgoodsitemsview.Events = ((global::Gdk.EventMask)(256)); this.regradingofgoodsitemsview.Name = "regradingofgoodsitemsview"; this.vbox4.Add (this.regradingofgoodsitemsview); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.regradingofgoodsitemsview])); w14.Position = 2; this.Add (this.vbox4); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Employees.CarProxyDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Employees.CarProxyDlg"; // Container child Vodovoz.Dialogs.Employees.CarProxyDlg.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox1.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(4)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entityviewmodelentryCar = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityviewmodelentryCar.Events = ((global::Gdk.EventMask)(256)); this.entityviewmodelentryCar.Name = "entityviewmodelentryCar"; this.entityviewmodelentryCar.CanEditReference = true; this.table1.Add(this.entityviewmodelentryCar); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.entityviewmodelentryCar])); w6.TopAttach = ((uint)(3)); w6.BottomAttach = ((uint)(4)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCar = new global::Gtk.Label(); this.labelCar.Name = "labelCar"; this.labelCar.Xalign = 1F; this.labelCar.LabelProp = global::Mono.Unix.Catalog.GetString("Автомобиль"); this.labelCar.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.labelCar); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCar])); w7.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDriver = new global::Gtk.Label(); this.labelDriver.Name = "labelDriver"; this.labelDriver.Xalign = 1F; this.labelDriver.LabelProp = global::Mono.Unix.Catalog.GetString("Водитель"); this.labelDriver.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.labelDriver); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDriver])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelOrganization = new global::Gtk.Label(); this.labelOrganization.Name = "labelOrganization"; this.labelOrganization.Xalign = 1F; this.labelOrganization.LabelProp = global::Mono.Unix.Catalog.GetString("Организация"); this.labelOrganization.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.labelOrganization); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.labelOrganization])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryDriver = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryDriver.Events = ((global::Gdk.EventMask)(256)); this.yentryDriver.Name = "yentryDriver"; this.table1.Add(this.yentryDriver); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryDriver])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryOrganization = new global::Gamma.Widgets.yEntryReference(); this.yentryOrganization.Events = ((global::Gdk.EventMask)(256)); this.yentryOrganization.Name = "yentryOrganization"; this.table1.Add(this.yentryOrganization); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryOrganization])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelNumber = new global::Gamma.GtkWidgets.yLabel(); this.ylabelNumber.Name = "ylabelNumber"; this.ylabelNumber.Xalign = 0F; this.table1.Add(this.ylabelNumber); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelNumber])); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox2.Add(this.table1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.table1])); w13.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.templatewidget = new global::QSDocTemplates.TemplateWidget(); this.templatewidget.Events = ((global::Gdk.EventMask)(256)); this.templatewidget.Name = "templatewidget"; this.templatewidget.CanRevertCommon = false; this.hbox2.Add(this.templatewidget); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.templatewidget])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.MovementDocumentDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.MovementDocumentDlg"; // Container child Vodovoz.MovementDocumentDlg.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; this.vbox3.BorderWidth = ((uint)(6)); // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox3.Add (this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.tableCommon = new global::Gtk.DataBindings.DataTable (((uint)(4)), ((uint)(4)), false); this.tableCommon.Name = "tableCommon"; this.tableCommon.RowSpacing = ((uint)(6)); this.tableCommon.ColumnSpacing = ((uint)(6)); this.tableCommon.InheritedDataSource = false; this.tableCommon.InheritedBoundaryDataSource = false; this.tableCommon.InheritedDataSource = false; this.tableCommon.InheritedBoundaryDataSource = false; // Container child tableCommon.Gtk.Table+TableChild this.enumMovementType = new global::Gamma.Widgets.yEnumComboBox (); this.enumMovementType.Name = "enumMovementType"; this.enumMovementType.ShowSpecialStateAll = false; this.enumMovementType.ShowSpecialStateNot = false; this.enumMovementType.UseShortTitle = false; this.enumMovementType.DefaultFirst = true; this.tableCommon.Add (this.enumMovementType); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.enumMovementType])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.textComment = new global::Gtk.DataBindings.DataTextView (); this.textComment.CanFocus = true; this.textComment.Name = "textComment"; this.textComment.InheritedDataSource = true; this.textComment.Mappings = "Comment"; this.textComment.InheritedBoundaryDataSource = false; this.textComment.InheritedDataSource = true; this.textComment.Mappings = "Comment"; this.textComment.InheritedBoundaryDataSource = false; this.GtkScrolledWindow1.Add (this.textComment); this.tableCommon.Add (this.GtkScrolledWindow1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.GtkScrolledWindow1])); w8.TopAttach = ((uint)(3)); w8.BottomAttach = ((uint)(4)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.Gtk.Table+TableChild this.hboxTransportation = new global::Gtk.HBox (); this.hboxTransportation.Name = "hboxTransportation"; this.hboxTransportation.Spacing = 6; // Container child hboxTransportation.Gtk.Box+BoxChild this.ylabelTransportationStatus = new global::Gamma.GtkWidgets.yLabel (); this.ylabelTransportationStatus.Name = "ylabelTransportationStatus"; this.ylabelTransportationStatus.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1"); this.hboxTransportation.Add (this.ylabelTransportationStatus); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxTransportation [this.ylabelTransportationStatus])); w9.Position = 0; // Container child hboxTransportation.Gtk.Box+BoxChild this.buttonDelivered = new global::Gtk.Button (); this.buttonDelivered.CanFocus = true; this.buttonDelivered.Name = "buttonDelivered"; this.buttonDelivered.UseUnderline = true; this.buttonDelivered.Label = global::Mono.Unix.Catalog.GetString ("Доставлено"); this.hboxTransportation.Add (this.buttonDelivered); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxTransportation [this.buttonDelivered])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.tableCommon.Add (this.hboxTransportation); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.hboxTransportation])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(3)); w11.RightAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата:"); this.tableCommon.Add (this.label1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.label1])); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.Gtk.Table+TableChild this.label12 = new global::Gtk.Label (); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Ответственное лицо:"); this.tableCommon.Add (this.label12); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.label12])); w13.LeftAttach = ((uint)(2)); w13.RightAttach = ((uint)(3)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.Gtk.Table+TableChild this.label13 = new global::Gtk.Label (); this.label13.Name = "label13"; this.label13.Xalign = 1F; this.label13.Yalign = 0F; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Комментарий:"); this.tableCommon.Add (this.label13); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.label13])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Тип документа:"); this.tableCommon.Add (this.label3); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.label3])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.Gtk.Table+TableChild this.labelTimeStamp = new global::Gtk.DataBindings.DataLabel (); this.labelTimeStamp.Name = "labelTimeStamp"; this.labelTimeStamp.Xalign = 0F; this.labelTimeStamp.InheritedDataSource = true; this.labelTimeStamp.Mappings = "DateString"; this.labelTimeStamp.InheritedBoundaryDataSource = false; this.labelTimeStamp.Important = false; this.labelTimeStamp.InheritedDataSource = true; this.labelTimeStamp.Mappings = "DateString"; this.labelTimeStamp.InheritedBoundaryDataSource = false; this.tableCommon.Add (this.labelTimeStamp); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.labelTimeStamp])); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.Gtk.Table+TableChild this.labelTransportationTitle = new global::Gtk.Label (); this.labelTransportationTitle.Name = "labelTransportationTitle"; this.labelTransportationTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Статус траспортировки:"); this.tableCommon.Add (this.labelTransportationTitle); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.labelTransportationTitle])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.Gtk.Table+TableChild this.labelWagon = new global::Gtk.Label (); this.labelWagon.Name = "labelWagon"; this.labelWagon.Xalign = 1F; this.labelWagon.LabelProp = global::Mono.Unix.Catalog.GetString ("Фура:"); this.tableCommon.Add (this.labelWagon); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.labelWagon])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.LeftAttach = ((uint)(2)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.Gtk.Table+TableChild this.referenceEmployee = new global::Gtk.DataBindings.DataEntryReference (); this.referenceEmployee.Events = ((global::Gdk.EventMask)(256)); this.referenceEmployee.Name = "referenceEmployee"; this.referenceEmployee.DisplayFields = new string[] { "FullName" }; this.referenceEmployee.DisplayFormatString = "{0}"; this.referenceEmployee.InheritedDataSource = true; this.referenceEmployee.Mappings = "ResponsiblePerson"; this.referenceEmployee.InheritedBoundaryDataSource = false; this.referenceEmployee.CursorPointsEveryType = false; this.tableCommon.Add (this.referenceEmployee); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.referenceEmployee])); w19.LeftAttach = ((uint)(3)); w19.RightAttach = ((uint)(4)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.Gtk.Table+TableChild this.yentryrefWagon = new global::Gamma.Widgets.yEntryReference (); this.yentryrefWagon.Events = ((global::Gdk.EventMask)(256)); this.yentryrefWagon.Name = "yentryrefWagon"; this.tableCommon.Add (this.yentryrefWagon); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.yentryrefWagon])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.LeftAttach = ((uint)(3)); w20.RightAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add (this.tableCommon); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.tableCommon])); w21.Position = 1; w21.Expand = false; w21.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Отправитель"); this.vbox2.Add (this.label11); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label11])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.tableSender = new global::Gtk.DataBindings.DataTable (((uint)(3)), ((uint)(2)), false); this.tableSender.Name = "tableSender"; this.tableSender.RowSpacing = ((uint)(6)); this.tableSender.ColumnSpacing = ((uint)(6)); this.tableSender.InheritedDataSource = false; this.tableSender.InheritedBoundaryDataSource = false; this.tableSender.InheritedDataSource = false; this.tableSender.InheritedBoundaryDataSource = false; // Container child tableSender.Gtk.Table+TableChild this.labelClientFrom = new global::Gtk.Label (); this.labelClientFrom.Name = "labelClientFrom"; this.labelClientFrom.Xalign = 1F; this.labelClientFrom.LabelProp = global::Mono.Unix.Catalog.GetString ("Клиент:"); this.tableSender.Add (this.labelClientFrom); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableSender [this.labelClientFrom])); w23.TopAttach = ((uint)(1)); w23.BottomAttach = ((uint)(2)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSender.Gtk.Table+TableChild this.labelPointFrom = new global::Gtk.Label (); this.labelPointFrom.Name = "labelPointFrom"; this.labelPointFrom.Xalign = 1F; this.labelPointFrom.LabelProp = global::Mono.Unix.Catalog.GetString ("Точка доставки:"); this.tableSender.Add (this.labelPointFrom); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tableSender [this.labelPointFrom])); w24.TopAttach = ((uint)(2)); w24.BottomAttach = ((uint)(3)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSender.Gtk.Table+TableChild this.labelStockFrom = new global::Gtk.Label (); this.labelStockFrom.Name = "labelStockFrom"; this.labelStockFrom.Xalign = 1F; this.labelStockFrom.LabelProp = global::Mono.Unix.Catalog.GetString ("Склад:"); this.tableSender.Add (this.labelStockFrom); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tableSender [this.labelStockFrom])); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSender.Gtk.Table+TableChild this.referenceCounterpartyFrom = new global::Gamma.Widgets.yEntryReferenceVM (); this.referenceCounterpartyFrom.Events = ((global::Gdk.EventMask)(256)); this.referenceCounterpartyFrom.Name = "referenceCounterpartyFrom"; this.tableSender.Add (this.referenceCounterpartyFrom); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.tableSender [this.referenceCounterpartyFrom])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSender.Gtk.Table+TableChild this.referenceDeliveryPointFrom = new global::Gtk.DataBindings.DataEntryReference (); this.referenceDeliveryPointFrom.Events = ((global::Gdk.EventMask)(256)); this.referenceDeliveryPointFrom.Name = "referenceDeliveryPointFrom"; this.referenceDeliveryPointFrom.DisplayFields = new string[] { "CompiledAddress" }; this.referenceDeliveryPointFrom.DisplayFormatString = "{0}"; this.referenceDeliveryPointFrom.InheritedDataSource = true; this.referenceDeliveryPointFrom.Mappings = "FromDeliveryPoint"; this.referenceDeliveryPointFrom.InheritedBoundaryDataSource = false; this.referenceDeliveryPointFrom.CursorPointsEveryType = false; this.tableSender.Add (this.referenceDeliveryPointFrom); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.tableSender [this.referenceDeliveryPointFrom])); w27.TopAttach = ((uint)(2)); w27.BottomAttach = ((uint)(3)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSender.Gtk.Table+TableChild this.referenceWarehouseFrom = new global::Gtk.DataBindings.DataEntryReference (); this.referenceWarehouseFrom.Events = ((global::Gdk.EventMask)(256)); this.referenceWarehouseFrom.Name = "referenceWarehouseFrom"; this.referenceWarehouseFrom.DisplayFields = new string[] { "Name" }; this.referenceWarehouseFrom.DisplayFormatString = "{0}"; this.referenceWarehouseFrom.InheritedDataSource = true; this.referenceWarehouseFrom.Mappings = "FromWarehouse"; this.referenceWarehouseFrom.InheritedBoundaryDataSource = false; this.referenceWarehouseFrom.CursorPointsEveryType = false; this.tableSender.Add (this.referenceWarehouseFrom); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tableSender [this.referenceWarehouseFrom])); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add (this.tableSender); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.tableSender])); w29.Position = 1; w29.Expand = false; w29.Fill = false; this.hbox3.Add (this.vbox2); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox2])); w30.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator (); this.vseparator1.Name = "vseparator1"; this.hbox3.Add (this.vseparator1); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vseparator1])); w31.Position = 1; w31.Expand = false; w31.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Получатель"); this.vbox4.Add (this.label10); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label10])); w32.Position = 0; w32.Expand = false; w32.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.tableReceiver = new global::Gtk.DataBindings.DataTable (((uint)(3)), ((uint)(2)), false); this.tableReceiver.Name = "tableReceiver"; this.tableReceiver.RowSpacing = ((uint)(6)); this.tableReceiver.ColumnSpacing = ((uint)(6)); this.tableReceiver.InheritedDataSource = false; this.tableReceiver.InheritedBoundaryDataSource = false; this.tableReceiver.InheritedDataSource = false; this.tableReceiver.InheritedBoundaryDataSource = false; // Container child tableReceiver.Gtk.Table+TableChild this.labelClientTo = new global::Gtk.Label (); this.labelClientTo.Name = "labelClientTo"; this.labelClientTo.Xalign = 1F; this.labelClientTo.LabelProp = global::Mono.Unix.Catalog.GetString ("Клиент:"); this.tableReceiver.Add (this.labelClientTo); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.labelClientTo])); w33.TopAttach = ((uint)(1)); w33.BottomAttach = ((uint)(2)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableReceiver.Gtk.Table+TableChild this.labelPointTo = new global::Gtk.Label (); this.labelPointTo.Name = "labelPointTo"; this.labelPointTo.Xalign = 1F; this.labelPointTo.LabelProp = global::Mono.Unix.Catalog.GetString ("Точка доставки:"); this.tableReceiver.Add (this.labelPointTo); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.labelPointTo])); w34.TopAttach = ((uint)(2)); w34.BottomAttach = ((uint)(3)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableReceiver.Gtk.Table+TableChild this.labelStockTo = new global::Gtk.Label (); this.labelStockTo.Name = "labelStockTo"; this.labelStockTo.Xalign = 1F; this.labelStockTo.LabelProp = global::Mono.Unix.Catalog.GetString ("Склад:"); this.tableReceiver.Add (this.labelStockTo); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.labelStockTo])); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableReceiver.Gtk.Table+TableChild this.referenceCounterpartyTo = new global::Gamma.Widgets.yEntryReferenceVM (); this.referenceCounterpartyTo.Events = ((global::Gdk.EventMask)(256)); this.referenceCounterpartyTo.Name = "referenceCounterpartyTo"; this.tableReceiver.Add (this.referenceCounterpartyTo); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.referenceCounterpartyTo])); w36.TopAttach = ((uint)(1)); w36.BottomAttach = ((uint)(2)); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableReceiver.Gtk.Table+TableChild this.referenceDeliveryPointTo = new global::Gtk.DataBindings.DataEntryReference (); this.referenceDeliveryPointTo.Events = ((global::Gdk.EventMask)(256)); this.referenceDeliveryPointTo.Name = "referenceDeliveryPointTo"; this.referenceDeliveryPointTo.DisplayFields = new string[] { "CompiledAddress" }; this.referenceDeliveryPointTo.DisplayFormatString = "{0}"; this.referenceDeliveryPointTo.InheritedDataSource = true; this.referenceDeliveryPointTo.Mappings = "ToDeliveryPoint"; this.referenceDeliveryPointTo.InheritedBoundaryDataSource = false; this.referenceDeliveryPointTo.CursorPointsEveryType = false; this.tableReceiver.Add (this.referenceDeliveryPointTo); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.referenceDeliveryPointTo])); w37.TopAttach = ((uint)(2)); w37.BottomAttach = ((uint)(3)); w37.LeftAttach = ((uint)(1)); w37.RightAttach = ((uint)(2)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableReceiver.Gtk.Table+TableChild this.referenceWarehouseTo = new global::Gtk.DataBindings.DataEntryReference (); this.referenceWarehouseTo.Events = ((global::Gdk.EventMask)(256)); this.referenceWarehouseTo.Name = "referenceWarehouseTo"; this.referenceWarehouseTo.DisplayFields = new string[] { "Name" }; this.referenceWarehouseTo.DisplayFormatString = "{0}"; this.referenceWarehouseTo.InheritedDataSource = true; this.referenceWarehouseTo.Mappings = "ToWarehouse"; this.referenceWarehouseTo.InheritedBoundaryDataSource = false; this.referenceWarehouseTo.CursorPointsEveryType = false; this.tableReceiver.Add (this.referenceWarehouseTo); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.referenceWarehouseTo])); w38.LeftAttach = ((uint)(1)); w38.RightAttach = ((uint)(2)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add (this.tableReceiver); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.tableReceiver])); w39.Position = 1; w39.Expand = false; w39.Fill = false; this.hbox3.Add (this.vbox4); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox4])); w40.Position = 2; this.vbox3.Add (this.hbox3); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3])); w41.Position = 2; w41.Expand = false; w41.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.movementdocumentitemsview1 = new global::Vodovoz.MovementDocumentItemsView (); this.movementdocumentitemsview1.Events = ((global::Gdk.EventMask)(256)); this.movementdocumentitemsview1.Name = "movementdocumentitemsview1"; this.vbox3.Add (this.movementdocumentitemsview1); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.movementdocumentitemsview1])); w42.Position = 3; this.Add (this.vbox3); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); this.buttonDelivered.Clicked += new global::System.EventHandler (this.OnButtonDeliveredClicked); this.enumMovementType.Changed += new global::System.EventHandler (this.OnEnumMovementTypeChanged); this.referenceCounterpartyFrom.Changed += new global::System.EventHandler (this.OnReferenceCounterpartyFromChanged); this.referenceCounterpartyTo.Changed += new global::System.EventHandler (this.OnReferenceCounterpartyToChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Users.UserSettingsView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Users.UserSettingsView"; // Container child Vodovoz.Views.Users.UserSettingsView.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(6)); // Container child vbox4.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox5.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox5.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox4.Add(this.hbox5); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox5])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.tableWriteoff = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.tableWriteoff.Name = "tableWriteoff"; this.tableWriteoff.RowSpacing = ((uint)(6)); this.tableWriteoff.ColumnSpacing = ((uint)(6)); // Container child tableWriteoff.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.tableWriteoff.Add(this.label4); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label4])); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.yentryrefWarehouse = new global::Gamma.Widgets.yEntryReference(); this.yentryrefWarehouse.Events = ((global::Gdk.EventMask)(256)); this.yentryrefWarehouse.Name = "yentryrefWarehouse"; this.tableWriteoff.Add(this.yentryrefWarehouse); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.yentryrefWarehouse])); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.yenumcomboDefaultCategory = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboDefaultCategory.Name = "yenumcomboDefaultCategory"; this.yenumcomboDefaultCategory.ShowSpecialStateAll = false; this.yenumcomboDefaultCategory.ShowSpecialStateNot = true; this.yenumcomboDefaultCategory.UseShortTitle = false; this.yenumcomboDefaultCategory.DefaultFirst = false; this.tableWriteoff.Add(this.yenumcomboDefaultCategory); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.yenumcomboDefaultCategory])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Продажа по умолчанию:"); this.tableWriteoff.Add(this.ylabel1); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.ylabel1])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox6.Add(this.tableWriteoff); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.tableWriteoff])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.ycheckbuttonDelivery = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckbuttonDelivery.CanFocus = true; this.ycheckbuttonDelivery.Name = "ycheckbuttonDelivery"; this.ycheckbuttonDelivery.Label = global::Mono.Unix.Catalog.GetString("Доставка"); this.ycheckbuttonDelivery.DrawIndicator = true; this.ycheckbuttonDelivery.UseUnderline = true; this.vbox8.Add(this.ycheckbuttonDelivery); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.ycheckbuttonDelivery])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.ycheckbuttonService = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckbuttonService.CanFocus = true; this.ycheckbuttonService.Name = "ycheckbuttonService"; this.ycheckbuttonService.Label = global::Mono.Unix.Catalog.GetString("Сервисное обслуживание"); this.ycheckbuttonService.DrawIndicator = true; this.ycheckbuttonService.UseUnderline = true; this.vbox8.Add(this.ycheckbuttonService); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.ycheckbuttonService])); w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.ycheckbuttonChainStore = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckbuttonChainStore.CanFocus = true; this.ycheckbuttonChainStore.Name = "ycheckbuttonChainStore"; this.ycheckbuttonChainStore.Label = global::Mono.Unix.Catalog.GetString("Сетевые магазины"); this.ycheckbuttonChainStore.DrawIndicator = true; this.ycheckbuttonChainStore.UseUnderline = true; this.vbox8.Add(this.ycheckbuttonChainStore); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.ycheckbuttonChainStore])); w13.Position = 2; w13.Expand = false; w13.Fill = false; this.GtkAlignment2.Add(this.vbox8); this.frame1.Add(this.GtkAlignment2); this.GtkLabel5 = new global::Gtk.Label(); this.GtkLabel5.Name = "GtkLabel5"; this.GtkLabel5.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Фильтр в журнале МЛ</b>"); this.GtkLabel5.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel5; this.vbox7.Add(this.frame1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.frame1])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.complaintsFrame = new global::Gtk.Frame(); this.complaintsFrame.Name = "complaintsFrame"; this.complaintsFrame.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child complaintsFrame.Gtk.Container+ContainerChild this.GtkAlignment3 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.vbox9 = new global::Gtk.VBox(); this.vbox9.Name = "vbox9"; this.vbox9.Spacing = 6; // Container child vbox9.Gtk.Box+BoxChild this.ycheckbuttonUse = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckbuttonUse.CanFocus = true; this.ycheckbuttonUse.Name = "ycheckbuttonUse"; this.ycheckbuttonUse.Label = global::Mono.Unix.Catalog.GetString("Подразделение сотрудника по умолчанию"); this.ycheckbuttonUse.DrawIndicator = true; this.ycheckbuttonUse.UseUnderline = true; this.vbox9.Add(this.ycheckbuttonUse); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.ycheckbuttonUse])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение:"); this.vbox9.Add(this.label5); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.label5])); w18.Position = 1; w18.Expand = false; w18.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.yentrySubdivision = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.yentrySubdivision.Events = ((global::Gdk.EventMask)(256)); this.yentrySubdivision.Name = "yentrySubdivision"; this.yentrySubdivision.CanEditReference = false; this.vbox9.Add(this.yentrySubdivision); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.yentrySubdivision])); w19.Position = 2; w19.Expand = false; w19.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.labelStatus = new global::Gamma.GtkWidgets.yLabel(); this.labelStatus.Name = "labelStatus"; this.labelStatus.Xalign = 1F; this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статуc по умолчанию:"); this.vbox9.Add(this.labelStatus); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.labelStatus])); w20.Position = 3; w20.Expand = false; w20.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.yenumcomboStatus = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboStatus.Name = "yenumcomboStatus"; this.yenumcomboStatus.ShowSpecialStateAll = false; this.yenumcomboStatus.ShowSpecialStateNot = false; this.yenumcomboStatus.UseShortTitle = false; this.yenumcomboStatus.DefaultFirst = false; this.vbox9.Add(this.yenumcomboStatus); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.yenumcomboStatus])); w21.Position = 4; w21.Expand = false; w21.Fill = false; this.GtkAlignment3.Add(this.vbox9); this.complaintsFrame.Add(this.GtkAlignment3); this.GtkLabel10 = new global::Gtk.Label(); this.GtkLabel10.Name = "GtkLabel10"; this.GtkLabel10.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Рекламации</b>"); this.GtkLabel10.UseMarkup = true; this.complaintsFrame.LabelWidget = this.GtkLabel10; this.vbox7.Add(this.complaintsFrame); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.complaintsFrame])); w24.Position = 1; w24.Expand = false; w24.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment7 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment7.Name = "GtkAlignment7"; this.GtkAlignment7.LeftPadding = ((uint)(12)); // Container child GtkAlignment7.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Фильтр по контрагентам в отчете по оплатам"); this.vbox2.Add(this.label2); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label2])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.entryCounterparty = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryCounterparty.Events = ((global::Gdk.EventMask)(256)); this.entryCounterparty.Name = "entryCounterparty"; this.entryCounterparty.CanEditReference = true; this.vbox2.Add(this.entryCounterparty); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.entryCounterparty])); w26.Position = 1; w26.Expand = false; w26.Fill = false; this.GtkAlignment7.Add(this.vbox2); this.frame2.Add(this.GtkAlignment7); this.GtkLabel14 = new global::Gtk.Label(); this.GtkLabel14.Name = "GtkLabel14"; this.GtkLabel14.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Настройка для розницы</b>"); this.GtkLabel14.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel14; this.vbox7.Add(this.frame2); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.frame2])); w29.Position = 2; w29.Expand = false; w29.Fill = false; this.hbox6.Add(this.vbox7); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.vbox7])); w30.Position = 1; w30.Expand = false; w30.Fill = false; this.vbox4.Add(this.hbox6); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox6])); w31.Position = 1; w31.Expand = false; w31.Fill = false; this.Add(this.vbox4); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget workwear.IncomeDocDlg this.Name = "workwear.IncomeDocDlg"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child workwear.IncomeDocDlg.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(3)); // Container child hbox1.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table (((uint)(4)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Операция<span foreground=\"red\">*</span>:"); this.label1.UseMarkup = true; this.table2.Add (this.label1); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table2 [this.label1])); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelObject = new global::Gtk.Label (); this.labelObject.Name = "labelObject"; this.labelObject.Xalign = 1F; this.labelObject.LabelProp = global::Mono.Unix.Catalog.GetString ("Объект<span foreground=\"red\">*</span>:"); this.labelObject.UseMarkup = true; this.table2.Add (this.labelObject); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelObject])); w3.TopAttach = ((uint)(3)); w3.BottomAttach = ((uint)(4)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelTTN = new global::Gtk.Label (); this.labelTTN.Name = "labelTTN"; this.labelTTN.Xalign = 1F; this.labelTTN.LabelProp = global::Mono.Unix.Catalog.GetString ("ТН №<span foreground=\"red\">*</span>:"); this.labelTTN.UseMarkup = true; this.table2.Add (this.labelTTN); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelTTN])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelWorker = new global::Gtk.Label (); this.labelWorker.Name = "labelWorker"; this.labelWorker.LabelProp = global::Mono.Unix.Catalog.GetString ("Работник<span foreground=\"red\">*</span>:"); this.labelWorker.UseMarkup = true; this.table2.Add (this.labelWorker); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelWorker])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ycomboOperation = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboOperation.Name = "ycomboOperation"; this.ycomboOperation.ShowSpecialStateAll = false; this.ycomboOperation.ShowSpecialStateNot = false; this.ycomboOperation.UseShortTitle = false; this.ycomboOperation.DefaultFirst = false; this.table2.Add (this.ycomboOperation); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.ycomboOperation])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryEmployee = new global::Gamma.Widgets.yEntryReference (); this.yentryEmployee.Events = ((global::Gdk.EventMask)(256)); this.yentryEmployee.Name = "yentryEmployee"; this.table2.Add (this.yentryEmployee); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryEmployee])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryNumber = new global::Gamma.GtkWidgets.yEntry (); this.yentryNumber.CanFocus = true; this.yentryNumber.Name = "yentryNumber"; this.yentryNumber.IsEditable = true; this.yentryNumber.MaxLength = 8; this.yentryNumber.InvisibleChar = '●'; this.table2.Add (this.yentryNumber); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryNumber])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryObject = new global::Gamma.Widgets.yEntryReference (); this.yentryObject.Events = ((global::Gdk.EventMask)(256)); this.yentryObject.Name = "yentryObject"; this.table2.Add (this.yentryObject); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryObject])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add (this.table2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table2])); w10.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.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.table3.Add (this.label4); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table3 [this.label4])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.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.table3.Add (this.label5); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table3 [this.label5])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата<span foreground=\"red\">*</span>:"); this.label6.UseMarkup = true; this.table3.Add (this.label6); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table3 [this.label6])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ydateDoc = new global::Gamma.Widgets.yDatePicker (); this.ydateDoc.Events = ((global::Gdk.EventMask)(256)); this.ydateDoc.Name = "ydateDoc"; this.ydateDoc.WithTime = false; this.ydateDoc.Date = new global::System.DateTime (0); this.ydateDoc.IsEditable = true; this.ydateDoc.AutoSeparation = true; this.table3.Add (this.ydateDoc); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table3 [this.ydateDoc])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ylabelCreatedBy = new global::Gamma.GtkWidgets.yLabel (); this.ylabelCreatedBy.Name = "ylabelCreatedBy"; this.ylabelCreatedBy.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1"); this.table3.Add (this.ylabelCreatedBy); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table3 [this.ylabelCreatedBy])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ylabelId = new global::Gamma.GtkWidgets.yLabel (); this.ylabelId.Name = "ylabelId"; this.ylabelId.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel3"); this.table3.Add (this.ylabelId); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table3 [this.ylabelId])); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add (this.table3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table3])); w17.Position = 1; w1.Add (this.hbox1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.ItemsTable = new global::workwear.IncomeDocItemsView (); this.ItemsTable.Events = ((global::Gdk.EventMask)(256)); this.ItemsTable.Name = "ItemsTable"; w1.Add (this.ItemsTable); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(w1 [this.ItemsTable])); w19.Position = 1; // Internal child workwear.IncomeDocDlg.ActionArea global::Gtk.HButtonBox w20 = this.ActionArea; w20.Name = "dialog1_ActionArea"; w20.Spacing = 10; w20.BorderWidth = ((uint)(5)); w20.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("О_тменить"); global::Gtk.Image w21 = new global::Gtk.Image (); w21.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w21; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w22 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w20 [this.buttonCancel])); w22.Expand = false; w22.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("_OK"); global::Gtk.Image w23 = new global::Gtk.Image (); w23.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu); this.buttonOk.Image = w23; w20.Add (this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w24 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w20 [this.buttonOk])); w24.Position = 1; w24.Expand = false; w24.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 582; this.DefaultHeight = 436; this.Show (); this.ycomboOperation.Changed += new global::System.EventHandler (this.OnYcomboOperationChanged); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.Store.ProductionRequestReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Store.ProductionRequestReport"; // Container child Vodovoz.ReportsParameters.Store.ProductionRequestReport.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.dateperiodpickerMaxSales = new global::QS.Widgets.GtkUI.DateRangePicker(); this.dateperiodpickerMaxSales.Events = ((global::Gdk.EventMask)(256)); this.dateperiodpickerMaxSales.Name = "dateperiodpickerMaxSales"; this.dateperiodpickerMaxSales.StartDate = new global::System.DateTime(0); this.dateperiodpickerMaxSales.EndDate = new global::System.DateTime(0); this.table1.Add(this.dateperiodpickerMaxSales); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodpickerMaxSales])); w1.TopAttach = ((uint)(2)); w1.BottomAttach = ((uint)(3)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytreeviewGeographicGroup = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewGeographicGroup.CanFocus = true; this.ytreeviewGeographicGroup.Name = "ytreeviewGeographicGroup"; this.GtkScrolledWindow.Add(this.ytreeviewGeographicGroup); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryrefWarehouse = new global::Gamma.Widgets.yEntryReference(); this.yentryrefWarehouse.Events = ((global::Gdk.EventMask)(256)); this.yentryrefWarehouse.Name = "yentryrefWarehouse"; this.table1.Add(this.yentryrefWarehouse); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryrefWarehouse])); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Склад: "); this.table1.Add(this.ylabel1); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1])); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Часть города: "); this.table1.Add(this.ylabel2); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel2])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel3 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel3.Name = "ylabel3"; this.ylabel3.LabelProp = global::Mono.Unix.Catalog.GetString("Макс отгрузки: "); this.table1.Add(this.ylabel3); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel3])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.buttonRun = new global::Gtk.Button(); this.buttonRun.Sensitive = false; this.buttonRun.CanFocus = true; this.buttonRun.Name = "buttonRun"; this.buttonRun.UseUnderline = true; this.buttonRun.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.vbox1.Add(this.buttonRun); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.buttonRun])); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.CashDocumentsFilter global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.CashDocumentsFilter"; // Container child Vodovoz.CashDocumentsFilter.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.dateperiodDocs = new global::QSWidgetLib.DatePeriodPicker(); this.dateperiodDocs.Events = ((global::Gdk.EventMask)(256)); this.dateperiodDocs.Name = "dateperiodDocs"; this.dateperiodDocs.StartDate = new global::System.DateTime(0); this.dateperiodDocs.EndDate = new global::System.DateTime(0); this.table1.Add(this.dateperiodDocs); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodDocs])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryEmployee = new global::QSOrmProject.EntryReference(); this.entryEmployee.Events = ((global::Gdk.EventMask)(256)); this.entryEmployee.Name = "entryEmployee"; this.table1.Add(this.entryEmployee); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entryEmployee])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumcomboDocumentType = new global::Gamma.Widgets.yEnumComboBox(); this.enumcomboDocumentType.Name = "enumcomboDocumentType"; this.enumcomboDocumentType.ShowSpecialStateAll = true; this.enumcomboDocumentType.ShowSpecialStateNot = false; this.enumcomboDocumentType.UseShortTitle = false; this.enumcomboDocumentType.DefaultFirst = false; this.table1.Add(this.enumcomboDocumentType); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.enumcomboDocumentType])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Вид документа:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Статья дохода:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w5.LeftAttach = ((uint)(2)); w5.RightAttach = ((uint)(3)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(2)); w6.RightAttach = ((uint)(3)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label4); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label5); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryExpense = new global::Gamma.Widgets.yEntryReference(); this.yentryExpense.Events = ((global::Gdk.EventMask)(256)); this.yentryExpense.Name = "yentryExpense"; this.table1.Add(this.yentryExpense); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryExpense])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(3)); w9.RightAttach = ((uint)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryIncome = new global::Gamma.Widgets.yEntryReference(); this.yentryIncome.Events = ((global::Gdk.EventMask)(256)); this.yentryIncome.Name = "yentryIncome"; this.table1.Add(this.yentryIncome); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryIncome])); w10.LeftAttach = ((uint)(3)); w10.RightAttach = ((uint)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.yentryIncome.Changed += new global::System.EventHandler(this.OnYentryIncomeChanged); this.yentryExpense.Changed += new global::System.EventHandler(this.OnYentryExpenseChanged); this.enumcomboDocumentType.EnumItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnEnumcomboDocumentTypeEnumItemSelected); this.entryEmployee.Changed += new global::System.EventHandler(this.OnEntryEmployeeChanged); this.dateperiodDocs.PeriodChanged += new global::System.EventHandler(this.OnDateperiodDocsPeriodChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Employees.TraineeDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Employees.TraineeDlg"; // Container child Vodovoz.Dialogs.Employees.TraineeDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; this.vbox1.BorderWidth = ((uint)(6)); // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox1.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox1.Add(this.vseparator1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator1])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.radioTabInfo = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Основное")); this.radioTabInfo.CanFocus = true; this.radioTabInfo.Name = "radioTabInfo"; this.radioTabInfo.DrawIndicator = false; this.radioTabInfo.UseUnderline = true; this.radioTabInfo.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.hbox1.Add(this.radioTabInfo); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioTabInfo])); w6.Position = 3; // Container child hbox1.Gtk.Box+BoxChild this.radioTabAccounting = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Реквизиты")); this.radioTabAccounting.CanFocus = true; this.radioTabAccounting.Name = "radioTabAccounting"; this.radioTabAccounting.DrawIndicator = false; this.radioTabAccounting.UseUnderline = true; this.radioTabAccounting.Group = this.radioTabInfo.Group; this.hbox1.Add(this.radioTabAccounting); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioTabAccounting])); w7.Position = 4; // Container child hbox1.Gtk.Box+BoxChild this.radioTabFiles = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Файлы")); this.radioTabFiles.CanFocus = true; this.radioTabFiles.Name = "radioTabFiles"; this.radioTabFiles.DrawIndicator = false; this.radioTabFiles.UseUnderline = true; this.radioTabFiles.Group = this.radioTabInfo.Group; this.hbox1.Add(this.radioTabFiles); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioTabFiles])); w8.Position = 5; // Container child hbox1.Gtk.Box+BoxChild this.radioTabDocuments = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Документы")); this.radioTabDocuments.CanFocus = true; this.radioTabDocuments.Name = "radioTabDocuments"; this.radioTabDocuments.DrawIndicator = false; this.radioTabDocuments.UseUnderline = true; this.radioTabDocuments.Group = this.radioTabInfo.Group; this.hbox1.Add(this.radioTabDocuments); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioTabDocuments])); w9.Position = 6; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notebookMain = new global::Gtk.Notebook(); this.notebookMain.CanFocus = true; this.notebookMain.Name = "notebookMain"; this.notebookMain.CurrentPage = 0; // Container child notebookMain.Gtk.Notebook+NotebookChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w11 = new global::Gtk.Viewport(); w11.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.datatableMain = new global::Gtk.Table(((uint)(10)), ((uint)(3)), false); this.datatableMain.Name = "datatableMain"; this.datatableMain.RowSpacing = ((uint)(6)); this.datatableMain.ColumnSpacing = ((uint)(6)); this.datatableMain.BorderWidth = ((uint)(6)); // Container child datatableMain.Gtk.Table+TableChild this.checkbuttonRussianCitizen = new global::Gamma.GtkWidgets.yCheckButton(); this.checkbuttonRussianCitizen.CanFocus = true; this.checkbuttonRussianCitizen.Name = "checkbuttonRussianCitizen"; this.checkbuttonRussianCitizen.Label = global::Mono.Unix.Catalog.GetString("Гражданство РФ"); this.checkbuttonRussianCitizen.Active = true; this.checkbuttonRussianCitizen.DrawIndicator = true; this.checkbuttonRussianCitizen.UseUnderline = true; this.checkbuttonRussianCitizen.FocusOnClick = false; this.checkbuttonRussianCitizen.Relief = ((global::Gtk.ReliefStyle)(2)); this.datatableMain.Add(this.checkbuttonRussianCitizen); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.checkbuttonRussianCitizen])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryDrivingNumber = new global::Gamma.GtkWidgets.yEntry(); this.dataentryDrivingNumber.TooltipMarkup = "Десять символов серии и номера без пробелов."; this.dataentryDrivingNumber.CanFocus = true; this.dataentryDrivingNumber.Name = "dataentryDrivingNumber"; this.dataentryDrivingNumber.IsEditable = true; this.dataentryDrivingNumber.MaxLength = 45; this.dataentryDrivingNumber.InvisibleChar = '●'; this.datatableMain.Add(this.dataentryDrivingNumber); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryDrivingNumber])); w13.TopAttach = ((uint)(9)); w13.BottomAttach = ((uint)(10)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(3)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryLastName = new global::Gamma.GtkWidgets.yEntry(); this.dataentryLastName.CanFocus = true; this.dataentryLastName.Name = "dataentryLastName"; this.dataentryLastName.IsEditable = true; this.dataentryLastName.InvisibleChar = '●'; this.datatableMain.Add(this.dataentryLastName); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryLastName])); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryName = new global::Gamma.GtkWidgets.yEntry(); this.dataentryName.CanFocus = true; this.dataentryName.Name = "dataentryName"; this.dataentryName.IsEditable = true; this.dataentryName.MaxLength = 100; this.dataentryName.InvisibleChar = '●'; this.datatableMain.Add(this.dataentryName); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryName])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryPatronymic = new global::Gamma.GtkWidgets.yEntry(); this.dataentryPatronymic.CanFocus = true; this.dataentryPatronymic.Name = "dataentryPatronymic"; this.dataentryPatronymic.IsEditable = true; this.dataentryPatronymic.InvisibleChar = '●'; this.datatableMain.Add(this.dataentryPatronymic); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryPatronymic])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.entryAddressCurrent = new global::Gamma.GtkWidgets.yEntry(); this.entryAddressCurrent.CanFocus = true; this.entryAddressCurrent.Name = "entryAddressCurrent"; this.entryAddressCurrent.IsEditable = true; this.entryAddressCurrent.InvisibleChar = '●'; this.datatableMain.Add(this.entryAddressCurrent); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.entryAddressCurrent])); w17.TopAttach = ((uint)(8)); w17.BottomAttach = ((uint)(9)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.entryAddressRegistration = new global::Gamma.GtkWidgets.yEntry(); this.entryAddressRegistration.CanFocus = true; this.entryAddressRegistration.Name = "entryAddressRegistration"; this.entryAddressRegistration.IsEditable = true; this.entryAddressRegistration.InvisibleChar = '●'; this.datatableMain.Add(this.entryAddressRegistration); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.entryAddressRegistration])); w18.TopAttach = ((uint)(7)); w18.BottomAttach = ((uint)(8)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Телефон:"); this.datatableMain.Add(this.label10); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label10])); w19.TopAttach = ((uint)(6)); w19.BottomAttach = ((uint)(7)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Водительское удостоверение:"); this.datatableMain.Add(this.label11); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label11])); w20.TopAttach = ((uint)(9)); w20.BottomAttach = ((uint)(10)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.datatableMain.Add(this.label13); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label13])); w21.TopAttach = ((uint)(4)); w21.BottomAttach = ((uint)(5)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.Xalign = 1F; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Адрес регистрации:"); this.datatableMain.Add(this.label14); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label14])); w22.TopAttach = ((uint)(7)); w22.BottomAttach = ((uint)(8)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label15 = new global::Gtk.Label(); this.label15.Name = "label15"; this.label15.Xalign = 1F; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString("Фактический адрес:"); this.datatableMain.Add(this.label15); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label15])); w23.TopAttach = ((uint)(8)); w23.BottomAttach = ((uint)(9)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Фамилия:"); this.label2.UseMarkup = true; this.datatableMain.Add(this.label2); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label2])); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.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.datatableMain.Add(this.label5); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label5])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Отчество:"); this.datatableMain.Add(this.label6); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label6])); w26.TopAttach = ((uint)(2)); w26.BottomAttach = ((uint)(3)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Национальность:"); this.datatableMain.Add(this.label7); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label7])); w27.TopAttach = ((uint)(3)); w27.BottomAttach = ((uint)(4)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.labelCitizenship = new global::Gtk.Label(); this.labelCitizenship.Name = "labelCitizenship"; this.labelCitizenship.Xalign = 1F; this.labelCitizenship.LabelProp = global::Mono.Unix.Catalog.GetString("Ин.гражданство:"); this.datatableMain.Add(this.labelCitizenship); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.labelCitizenship])); w28.TopAttach = ((uint)(5)); w28.BottomAttach = ((uint)(6)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.phonesView = new global::Vodovoz.Views.Contacts.PhonesView(); this.phonesView.Events = ((global::Gdk.EventMask)(256)); this.phonesView.Name = "phonesView"; this.phonesView.IsReadOnly = false; this.datatableMain.Add(this.phonesView); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.phonesView])); w29.TopAttach = ((uint)(6)); w29.BottomAttach = ((uint)(7)); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(3)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.photoviewEmployee = new global::QS.Widgets.GtkUI.PhotoView(); this.photoviewEmployee.Events = ((global::Gdk.EventMask)(256)); this.photoviewEmployee.Name = "photoviewEmployee"; this.photoviewEmployee.CanPrint = false; this.datatableMain.Add(this.photoviewEmployee); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.photoviewEmployee])); w30.BottomAttach = ((uint)(4)); w30.LeftAttach = ((uint)(2)); w30.RightAttach = ((uint)(3)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.referenceCitizenship = new global::Gamma.Widgets.yEntryReference(); this.referenceCitizenship.Events = ((global::Gdk.EventMask)(256)); this.referenceCitizenship.Name = "referenceCitizenship"; this.datatableMain.Add(this.referenceCitizenship); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.referenceCitizenship])); w31.TopAttach = ((uint)(5)); w31.BottomAttach = ((uint)(6)); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.referenceNationality = new global::Gamma.Widgets.yEntryReference(); this.referenceNationality.Events = ((global::Gdk.EventMask)(256)); this.referenceNationality.Name = "referenceNationality"; this.datatableMain.Add(this.referenceNationality); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.referenceNationality])); w32.TopAttach = ((uint)(3)); w32.BottomAttach = ((uint)(4)); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); w11.Add(this.datatableMain); this.GtkScrolledWindow.Add(w11); this.notebookMain.Add(this.GtkScrolledWindow); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Информация"); this.notebookMain.SetTabLabel(this.GtkScrolledWindow, this.label1); this.label1.ShowAll(); // Container child notebookMain.Gtk.Notebook+NotebookChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; this.vbox5.BorderWidth = ((uint)(6)); // Container child vbox5.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.label19 = new global::Gtk.Label(); this.label19.Name = "label19"; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString("ИНН:"); this.hbox6.Add(this.label19); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.label19])); w36.Position = 0; w36.Expand = false; w36.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.entryInn = new global::Gamma.GtkWidgets.yEntry(); this.entryInn.CanFocus = true; this.entryInn.Name = "entryInn"; this.entryInn.IsEditable = true; this.entryInn.InvisibleChar = '●'; this.hbox6.Add(this.entryInn); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.entryInn])); w37.Position = 1; this.vbox5.Add(this.hbox6); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox6])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.accountsView = new global::QSBanks.AccountsView(); this.accountsView.Events = ((global::Gdk.EventMask)(256)); this.accountsView.Name = "accountsView"; this.accountsView.CanEdit = true; this.vbox5.Add(this.accountsView); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.accountsView])); w39.Position = 1; this.notebookMain.Add(this.vbox5); global::Gtk.Notebook.NotebookChild w40 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain[this.vbox5])); w40.Position = 1; // Notebook tab this.label17 = new global::Gtk.Label(); this.label17.Name = "label17"; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString("Реквизиты"); this.notebookMain.SetTabLabel(this.vbox5, this.label17); this.label17.ShowAll(); // Container child notebookMain.Gtk.Notebook+NotebookChild this.attachmentsView = new global::QSAttachment.Views.Widgets.AttachmentsView(); this.attachmentsView.Events = ((global::Gdk.EventMask)(256)); this.attachmentsView.Name = "attachmentsView"; this.notebookMain.Add(this.attachmentsView); global::Gtk.Notebook.NotebookChild w41 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain[this.attachmentsView])); w41.Position = 2; // Notebook tab this.label24 = new global::Gtk.Label(); this.label24.Name = "label24"; this.label24.LabelProp = global::Mono.Unix.Catalog.GetString("Файлы"); this.notebookMain.SetTabLabel(this.attachmentsView, this.label24); this.label24.ShowAll(); // Container child notebookMain.Gtk.Notebook+NotebookChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.hbox12 = new global::Gtk.HBox(); this.hbox12.Name = "hbox12"; this.hbox12.Spacing = 6; // Container child hbox12.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w42 = new global::Gtk.Image(); w42.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.button1.Image = w42; this.hbox12.Add(this.button1); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.button1])); w43.Position = 0; w43.Expand = false; w43.Fill = false; // Container child hbox12.Gtk.Box+BoxChild this.buttonDocumentEdit = new global::Gtk.Button(); this.buttonDocumentEdit.CanFocus = true; this.buttonDocumentEdit.Name = "buttonDocumentEdit"; this.buttonDocumentEdit.UseUnderline = true; this.buttonDocumentEdit.Label = global::Mono.Unix.Catalog.GetString("Изменить"); global::Gtk.Image w44 = new global::Gtk.Image(); w44.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonDocumentEdit.Image = w44; this.hbox12.Add(this.buttonDocumentEdit); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.buttonDocumentEdit])); w45.Position = 1; w45.Expand = false; w45.Fill = false; // Container child hbox12.Gtk.Box+BoxChild this.button3 = new global::Gtk.Button(); this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w46 = new global::Gtk.Image(); w46.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.button3.Image = w46; this.hbox12.Add(this.button3); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.button3])); w47.Position = 2; w47.Expand = false; w47.Fill = false; this.vbox7.Add(this.hbox12); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox12])); w48.Position = 0; w48.Expand = false; w48.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild this.ytreeviewEmployeeDocument = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewEmployeeDocument.CanFocus = true; this.ytreeviewEmployeeDocument.Name = "ytreeviewEmployeeDocument"; this.GtkScrolledWindow4.Add(this.ytreeviewEmployeeDocument); this.vbox7.Add(this.GtkScrolledWindow4); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.GtkScrolledWindow4])); w50.Position = 1; this.notebookMain.Add(this.vbox7); global::Gtk.Notebook.NotebookChild w51 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain[this.vbox7])); w51.Position = 3; // Notebook tab this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Документы"); this.notebookMain.SetTabLabel(this.vbox7, this.label3); this.label3.ShowAll(); this.vbox1.Add(this.notebookMain); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.notebookMain])); w52.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonChangeToEmployee = new global::Gtk.Button(); this.buttonChangeToEmployee.CanFocus = true; this.buttonChangeToEmployee.Name = "buttonChangeToEmployee"; this.buttonChangeToEmployee.UseUnderline = true; this.buttonChangeToEmployee.Label = global::Mono.Unix.Catalog.GetString("Перевести в сотрудники"); this.hbox5.Add(this.buttonChangeToEmployee); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonChangeToEmployee])); w53.PackType = ((global::Gtk.PackType)(1)); w53.Position = 2; w53.Expand = false; w53.Fill = false; this.vbox1.Add(this.hbox5); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox5])); w54.PackType = ((global::Gtk.PackType)(1)); w54.Position = 2; w54.Expand = false; w54.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.radioTabInfo.Toggled += new global::System.EventHandler(this.OnRadioTabInfoToggled); this.radioTabAccounting.Toggled += new global::System.EventHandler(this.OnRadioTabAccountingToggled); this.radioTabFiles.Toggled += new global::System.EventHandler(this.OnRadioTabFilesToggled); this.radioTabDocuments.Toggled += new global::System.EventHandler(this.OnRadioTabDocumentsToggled); this.checkbuttonRussianCitizen.Toggled += new global::System.EventHandler(this.OnRussianCitizenToggled); this.button1.Clicked += new global::System.EventHandler(this.OnButtonAddDocumentClicked); this.buttonDocumentEdit.Clicked += new global::System.EventHandler(this.OnButtonEditDocumentClicked); this.button3.Clicked += new global::System.EventHandler(this.OnButtonRemoveDocumentClicked); this.ytreeviewEmployeeDocument.RowActivated += new global::Gtk.RowActivatedHandler(this.OnEmployeeDocumentRowActivated); this.buttonChangeToEmployee.Clicked += new global::System.EventHandler(this.OnButtonChangeToEmployeeClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LeaseAgreement.ContractDlg this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "LeaseAgreement.ContractDlg"; this.Title = global::Mono.Unix.Catalog.GetString ("Новый договор"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child LeaseAgreement.ContractDlg.VBox global::Gtk.VBox w2 = this.VBox; w2.Name = "dialog1_VBox"; w2.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.notebookMain = new global::Gtk.Notebook (); this.notebookMain.CanFocus = true; this.notebookMain.Name = "notebookMain"; this.notebookMain.CurrentPage = 4; this.notebookMain.TabPos = ((global::Gtk.PositionType)(0)); // Container child notebookMain.Gtk.Notebook+NotebookChild this.hboxInfo = new global::Gtk.HBox (); this.hboxInfo.Name = "hboxInfo"; this.hboxInfo.Spacing = 6; // Container child hboxInfo.Gtk.Box+BoxChild this.table2 = new global::Gtk.DataBindings.DataTable (((uint)(7)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); this.table2.InheritedDataSource = false; this.table2.InheritedBoundaryDataSource = false; this.table2.InheritedDataSource = false; this.table2.InheritedBoundaryDataSource = false; // Container child table2.Gtk.Table+TableChild this.checkDraft = new global::Gtk.DataBindings.DataCheckButton (); this.checkDraft.CanFocus = true; this.checkDraft.Name = "checkDraft"; this.checkDraft.Label = global::Mono.Unix.Catalog.GetString ("Черновик"); this.checkDraft.DrawIndicator = true; this.checkDraft.UseUnderline = true; this.checkDraft.InheritedDataSource = true; this.checkDraft.Mappings = "Draft"; this.checkDraft.InheritedBoundaryDataSource = false; this.checkDraft.Editable = true; this.checkDraft.AutomaticTitle = false; this.checkDraft.InheritedBoundaryDataSource = false; this.checkDraft.InheritedDataSource = true; this.checkDraft.Mappings = "Draft"; this.table2.Add (this.checkDraft); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2 [this.checkDraft])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); 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.comboCategory = new global::Gamma.Widgets.ySpecComboBox (); this.comboCategory.Name = "comboCategory"; this.comboCategory.AddIfNotExist = false; this.comboCategory.DefaultFirst = false; this.comboCategory.ShowSpecialStateAll = false; this.comboCategory.ShowSpecialStateNot = true; this.table2.Add (this.comboCategory); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboCategory])); w4.TopAttach = ((uint)(3)); w4.BottomAttach = ((uint)(4)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.comboContractType = new global::Gamma.Widgets.ySpecComboBox (); this.comboContractType.Name = "comboContractType"; this.comboContractType.AddIfNotExist = false; this.comboContractType.DefaultFirst = false; this.comboContractType.ShowSpecialStateAll = false; this.comboContractType.ShowSpecialStateNot = true; this.table2.Add (this.comboContractType); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboContractType])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.comboOrg = new global::Gamma.Widgets.ySpecComboBox (); this.comboOrg.Name = "comboOrg"; this.comboOrg.AddIfNotExist = false; this.comboOrg.DefaultFirst = false; this.comboOrg.ShowSpecialStateAll = false; this.comboOrg.ShowSpecialStateNot = true; this.table2.Add (this.comboOrg); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboOrg])); w6.TopAttach = ((uint)(4)); w6.BottomAttach = ((uint)(5)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.datepickerSign = new global::Gamma.Widgets.yDatePicker (); this.datepickerSign.Events = ((global::Gdk.EventMask)(256)); this.datepickerSign.Name = "datepickerSign"; this.datepickerSign.WithTime = false; this.datepickerSign.Date = new global::System.DateTime (0); this.datepickerSign.IsEditable = true; this.datepickerSign.AutoSeparation = true; this.table2.Add (this.datepickerSign); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.datepickerSign])); w7.TopAttach = ((uint)(6)); w7.BottomAttach = ((uint)(7)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entryNumber = new global::Gtk.DataBindings.DataEntry (); this.entryNumber.CanFocus = true; this.entryNumber.Events = ((global::Gdk.EventMask)(16384)); this.entryNumber.Name = "entryNumber"; this.entryNumber.IsEditable = true; this.entryNumber.MaxLength = 20; this.entryNumber.InvisibleChar = '•'; this.entryNumber.InheritedDataSource = true; this.entryNumber.Mappings = "Number"; this.entryNumber.InheritedBoundaryDataSource = false; this.entryNumber.InheritedDataSource = true; this.entryNumber.Mappings = "Number"; this.entryNumber.InheritedBoundaryDataSource = false; this.table2.Add (this.entryNumber); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.entryNumber])); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Статус:"); this.table2.Add (this.label10); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.label10])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label14 = new global::Gtk.Label (); this.label14.Name = "label14"; this.label14.Xalign = 1F; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("Тип договора:"); this.table2.Add (this.label14); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2 [this.label14])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label17 = new global::Gtk.Label (); this.label17.Name = "label17"; this.label17.Xalign = 1F; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString ("Категория:"); this.table2.Add (this.label17); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.label17])); w11.TopAttach = ((uint)(3)); w11.BottomAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.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 ("Номер договора<span foreground=\"red\">*</span>:"); this.label5.UseMarkup = true; this.table2.Add (this.label5); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.label5])); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Организация<span foreground=\"red\">*</span>:"); this.label6.UseMarkup = true; this.table2.Add (this.label6); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2 [this.label6])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Арендатор<span foreground=\"red\">*</span>:"); this.label8.UseMarkup = true; this.table2.Add (this.label8); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8])); w14.TopAttach = ((uint)(5)); w14.BottomAttach = ((uint)(6)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата подписания:"); this.table2.Add (this.label9); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2 [this.label9])); w15.TopAttach = ((uint)(6)); w15.BottomAttach = ((uint)(7)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryreferenceLessee = new global::Gamma.Widgets.yEntryReference (); this.yentryreferenceLessee.Events = ((global::Gdk.EventMask)(256)); this.yentryreferenceLessee.Name = "yentryreferenceLessee"; this.table2.Add (this.yentryreferenceLessee); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryreferenceLessee])); w16.TopAttach = ((uint)(5)); w16.BottomAttach = ((uint)(6)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); this.hboxInfo.Add (this.table2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hboxInfo [this.table2])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hboxInfo.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.table3 = new global::Gtk.DataBindings.DataTable (((uint)(4)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); this.table3.InheritedDataSource = false; this.table3.InheritedBoundaryDataSource = false; this.table3.InheritedDataSource = false; this.table3.InheritedBoundaryDataSource = false; // Container child table3.Gtk.Table+TableChild this.comboResponsible = new global::Gamma.Widgets.ySpecComboBox (); this.comboResponsible.Name = "comboResponsible"; this.comboResponsible.AddIfNotExist = true; this.comboResponsible.DefaultFirst = false; this.comboResponsible.ShowSpecialStateAll = false; this.comboResponsible.ShowSpecialStateNot = false; this.table3.Add (this.comboResponsible); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table3 [this.comboResponsible])); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.datepickerCancel = new global::Gamma.Widgets.yDatePicker (); this.datepickerCancel.Events = ((global::Gdk.EventMask)(256)); this.datepickerCancel.Name = "datepickerCancel"; this.datepickerCancel.WithTime = false; this.datepickerCancel.Date = new global::System.DateTime (0); this.datepickerCancel.IsEditable = true; this.datepickerCancel.AutoSeparation = true; this.table3.Add (this.datepickerCancel); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table3 [this.datepickerCancel])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.datepickerEnd = new global::Gamma.Widgets.yDatePicker (); this.datepickerEnd.Events = ((global::Gdk.EventMask)(256)); this.datepickerEnd.Name = "datepickerEnd"; this.datepickerEnd.WithTime = false; this.datepickerEnd.Date = new global::System.DateTime (0); this.datepickerEnd.IsEditable = true; this.datepickerEnd.AutoSeparation = true; this.table3.Add (this.datepickerEnd); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table3 [this.datepickerEnd])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.datepickerStart = new global::Gamma.Widgets.yDatePicker (); this.datepickerStart.Events = ((global::Gdk.EventMask)(256)); this.datepickerStart.Name = "datepickerStart"; this.datepickerStart.WithTime = false; this.datepickerStart.Date = new global::System.DateTime (0); this.datepickerStart.IsEditable = true; this.datepickerStart.AutoSeparation = true; this.table3.Add (this.datepickerStart); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table3 [this.datepickerStart])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата начала аренды<span foreground=\"red\">*</span>:"); this.label11.UseMarkup = true; this.table3.Add (this.label11); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table3 [this.label11])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label12 = new global::Gtk.Label (); this.label12.Name = "label12"; this.label12.Xalign = 1F; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата окончания аренды<span foreground=\"red\">*</span>:"); this.label12.UseMarkup = true; this.table3.Add (this.label12); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table3 [this.label12])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label13 = new global::Gtk.Label (); this.label13.Name = "label13"; this.label13.Xalign = 1F; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата расторжения:"); this.table3.Add (this.label13); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table3 [this.label13])); w24.TopAttach = ((uint)(3)); w24.BottomAttach = ((uint)(4)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label18 = new global::Gtk.Label (); this.label18.Name = "label18"; this.label18.Xalign = 1F; this.label18.LabelProp = global::Mono.Unix.Catalog.GetString ("Ответственный:"); this.table3.Add (this.label18); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table3 [this.label18])); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add (this.table3); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.table3])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame (); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment8 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment8.Name = "GtkAlignment8"; this.GtkAlignment8.LeftPadding = ((uint)(12)); // Container child GtkAlignment8.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textComments = new global::Gtk.DataBindings.DataTextView (); this.textComments.CanFocus = true; this.textComments.Name = "textComments"; this.textComments.WrapMode = ((global::Gtk.WrapMode)(2)); this.textComments.InheritedDataSource = false; this.textComments.Mappings = "Comments"; this.textComments.InheritedBoundaryDataSource = false; this.textComments.InheritedDataSource = false; this.textComments.Mappings = "Comments"; this.textComments.InheritedBoundaryDataSource = false; this.GtkScrolledWindow.Add (this.textComments); this.GtkAlignment8.Add (this.GtkScrolledWindow); this.frame1.Add (this.GtkAlignment8); this.GtkLabel9 = new global::Gtk.Label (); this.GtkLabel9.Name = "GtkLabel9"; this.GtkLabel9.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Комментарии</b>"); this.GtkLabel9.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel9; this.vbox3.Add (this.frame1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.frame1])); w30.Position = 1; this.hboxInfo.Add (this.vbox3); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hboxInfo [this.vbox3])); w31.Position = 1; this.notebookMain.Add (this.hboxInfo); // Notebook tab this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Информация"); this.notebookMain.SetTabLabel (this.hboxInfo, this.label2); this.label2.ShowAll (); // Container child notebookMain.Gtk.Notebook+NotebookChild this.contractplacesview1 = new global::LeaseAgreement.ContractPlacesView (); this.contractplacesview1.Events = ((global::Gdk.EventMask)(256)); this.contractplacesview1.Name = "contractplacesview1"; this.notebookMain.Add (this.contractplacesview1); global::Gtk.Notebook.NotebookChild w33 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.contractplacesview1])); w33.Position = 1; // Notebook tab this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Места"); this.notebookMain.SetTabLabel (this.contractplacesview1, this.label3); this.label3.ShowAll (); // Container child notebookMain.Gtk.Notebook+NotebookChild this.customContracts = new global::QSCustomFields.CustomFields (); this.customContracts.Events = ((global::Gdk.EventMask)(256)); this.customContracts.Name = "customContracts"; this.customContracts.ObjectId = -1; this.notebookMain.Add (this.customContracts); global::Gtk.Notebook.NotebookChild w34 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.customContracts])); w34.Position = 2; // Notebook tab this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Дополнительно"); this.notebookMain.SetTabLabel (this.customContracts, this.label4); this.label4.ShowAll (); // Container child notebookMain.Gtk.Notebook+NotebookChild this.vboxDocs = new global::Gtk.VBox (); this.vboxDocs.Name = "vboxDocs"; this.vboxDocs.Spacing = 6; // Container child vboxDocs.Gtk.Box+BoxChild this.label16 = new global::Gtk.Label (); this.label16.Name = "label16"; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("Печатные формы документов для договора."); this.vboxDocs.Add (this.label16); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vboxDocs [this.label16])); w35.Position = 0; w35.Expand = false; w35.Fill = false; // Container child vboxDocs.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.treeviewDocs = new global::Gtk.TreeView (); this.treeviewDocs.CanFocus = true; this.treeviewDocs.Name = "treeviewDocs"; this.GtkScrolledWindow2.Add (this.treeviewDocs); this.vboxDocs.Add (this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vboxDocs [this.GtkScrolledWindow2])); w37.Position = 1; // Container child vboxDocs.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox (); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.buttonPrint = new global::Gtk.Button (); this.buttonPrint.Sensitive = false; this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString ("Распечатать"); global::Gtk.Image w38 = new global::Gtk.Image (); w38.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w38; this.hbox9.Add (this.buttonPrint); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonPrint])); w39.Position = 0; w39.Expand = false; w39.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.buttonEdit = new global::Gtk.Button (); this.buttonEdit.TooltipMarkup = "Редактировать шаблон только для этого договора."; this.buttonEdit.Sensitive = false; this.buttonEdit.CanFocus = true; this.buttonEdit.Name = "buttonEdit"; this.buttonEdit.UseUnderline = true; this.buttonEdit.Label = global::Mono.Unix.Catalog.GetString ("Редактировать"); global::Gtk.Image w40 = new global::Gtk.Image (); w40.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonEdit.Image = w40; this.hbox9.Add (this.buttonEdit); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonEdit])); w41.Position = 1; w41.Expand = false; w41.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.buttonRemove = new global::Gtk.Button (); this.buttonRemove.Sensitive = false; this.buttonRemove.CanFocus = true; this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.UseUnderline = true; this.buttonRemove.Label = global::Mono.Unix.Catalog.GetString ("Вернуть шаблон"); global::Gtk.Image w42 = new global::Gtk.Image (); w42.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonRemove.Image = w42; this.hbox9.Add (this.buttonRemove); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonRemove])); w43.Position = 2; w43.Expand = false; w43.Fill = false; this.vboxDocs.Add (this.hbox9); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vboxDocs [this.hbox9])); w44.Position = 2; w44.Expand = false; w44.Fill = false; this.notebookMain.Add (this.vboxDocs); global::Gtk.Notebook.NotebookChild w45 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.vboxDocs])); w45.Position = 3; // Notebook tab this.label15 = new global::Gtk.Label (); this.label15.Name = "label15"; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("Документы"); this.notebookMain.SetTabLabel (this.vboxDocs, this.label15); this.label15.ShowAll (); // Container child notebookMain.Gtk.Notebook+NotebookChild this.attachmentFiles = new global::QSAttachment.Attachment (); this.attachmentFiles.Events = ((global::Gdk.EventMask)(256)); this.attachmentFiles.Name = "attachmentFiles"; this.notebookMain.Add (this.attachmentFiles); global::Gtk.Notebook.NotebookChild w46 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.attachmentFiles])); w46.Position = 4; // Notebook tab this.label19 = new global::Gtk.Label (); this.label19.Name = "label19"; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString ("Файлы"); this.notebookMain.SetTabLabel (this.attachmentFiles, this.label19); this.label19.ShowAll (); w2.Add (this.notebookMain); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(w2 [this.notebookMain])); w47.Position = 0; // Internal child LeaseAgreement.ContractDlg.ActionArea global::Gtk.HButtonBox w48 = this.ActionArea; w48.Name = "dialog1_ActionArea"; w48.Spacing = 10; w48.BorderWidth = ((uint)(5)); w48.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("О_тменить"); global::Gtk.Image w49 = new global::Gtk.Image (); w49.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w49; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w50 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w48 [this.buttonCancel])); w50.Expand = false; w50.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.Sensitive = false; this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("_OK"); global::Gtk.Image w51 = new global::Gtk.Image (); w51.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu); this.buttonOk.Image = w51; w48.Add (this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w52 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w48 [this.buttonOk])); w52.Position = 1; w52.Expand = false; w52.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 882; this.DefaultHeight = 383; this.Show (); this.yentryreferenceLessee.Changed += new global::System.EventHandler (this.OnYentryreferenceLesseeChanged); this.entryNumber.Changed += new global::System.EventHandler (this.OnEntryNumberChanged); this.entryNumber.Activated += new global::System.EventHandler (this.OnEntryActivated); this.entryNumber.FocusOutEvent += new global::Gtk.FocusOutEventHandler (this.OnEntryNumberFocusOutEvent); this.comboOrg.Changed += new global::System.EventHandler (this.OnComboOrgChanged); this.comboContractType.Changed += new global::System.EventHandler (this.OnComboContractTypeChanged); this.datepickerStart.DateChanged += new global::System.EventHandler (this.OnDatepickerStartDateChanged); this.datepickerEnd.DateChanged += new global::System.EventHandler (this.OnDatepickerEndDateChanged); this.datepickerCancel.DateChanged += new global::System.EventHandler (this.OnDatepickerCancelDateChanged); this.treeviewDocs.CursorChanged += new global::System.EventHandler (this.OnTreeviewDocsCursorChanged); this.treeviewDocs.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewDocsRowActivated); this.buttonPrint.Clicked += new global::System.EventHandler (this.OnButtonPrintClicked); this.buttonEdit.Clicked += new global::System.EventHandler (this.OnButtonEditClicked); this.buttonRemove.Clicked += new global::System.EventHandler (this.OnButtonRemoveClicked); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.PaidRentPackageDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.PaidRentPackageDlg"; // Container child Vodovoz.PaidRentPackageDlg.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox1.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.datatable1 = new global::Gtk.Table(((uint)(8)), ((uint)(2)), false); this.datatable1.Name = "datatable1"; this.datatable1.RowSpacing = ((uint)(6)); this.datatable1.ColumnSpacing = ((uint)(6)); this.datatable1.BorderWidth = ((uint)(6)); // Container child datatable1.Gtk.Table+TableChild this.dataentryName = new global::Gamma.GtkWidgets.yEntry(); this.dataentryName.CanFocus = true; this.dataentryName.Name = "dataentryName"; this.dataentryName.IsEditable = true; this.dataentryName.InvisibleChar = '●'; this.datatable1.Add(this.dataentryName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1[this.dataentryName])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.spinPriceDaily = new global::Gamma.GtkWidgets.ySpinButton(0D, 9000000D, 1D); this.spinPriceDaily.CanFocus = true; this.spinPriceDaily.Name = "spinPriceDaily"; this.spinPriceDaily.Adjustment.PageIncrement = 10D; this.spinPriceDaily.ClimbRate = 1D; this.spinPriceDaily.Digits = ((uint)(2)); this.spinPriceDaily.Numeric = true; this.spinPriceDaily.ValueAsDecimal = 0m; this.spinPriceDaily.ValueAsInt = 0; this.hbox6.Add(this.spinPriceDaily); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.spinPriceDaily])); w7.Position = 0; // Container child hbox6.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.hbox6.Add(this.currencylabel1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.currencylabel1])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.datatable1.Add(this.hbox6); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1[this.hbox6])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.spinPriceMonthly = new global::Gamma.GtkWidgets.ySpinButton(0D, 9000000D, 1D); this.spinPriceMonthly.CanFocus = true; this.spinPriceMonthly.Name = "spinPriceMonthly"; this.spinPriceMonthly.Adjustment.PageIncrement = 10D; this.spinPriceMonthly.ClimbRate = 1D; this.spinPriceMonthly.Digits = ((uint)(2)); this.spinPriceMonthly.Numeric = true; this.spinPriceMonthly.ValueAsDecimal = 0m; this.spinPriceMonthly.ValueAsInt = 0; this.hbox7.Add(this.spinPriceMonthly); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.spinPriceMonthly])); w10.Position = 0; // Container child hbox7.Gtk.Box+BoxChild this.currencylabel2 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel2.Name = "currencylabel2"; this.currencylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.hbox7.Add(this.currencylabel2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.currencylabel2])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.datatable1.Add(this.hbox7); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1[this.hbox7])); w12.TopAttach = ((uint)(3)); w12.BottomAttach = ((uint)(4)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.spinDeposit = new global::Gamma.GtkWidgets.ySpinButton(0D, 99999D, 1D); this.spinDeposit.CanFocus = true; this.spinDeposit.Name = "spinDeposit"; this.spinDeposit.Adjustment.PageIncrement = 10D; this.spinDeposit.ClimbRate = 1D; this.spinDeposit.Digits = ((uint)(2)); this.spinDeposit.Numeric = true; this.spinDeposit.ValueAsDecimal = 0m; this.spinDeposit.ValueAsInt = 0; this.hbox8.Add(this.spinDeposit); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.spinDeposit])); w13.Position = 0; // Container child hbox8.Gtk.Box+BoxChild this.currencylabel3 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel3.Name = "currencylabel3"; this.currencylabel3.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.hbox8.Add(this.currencylabel3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.currencylabel3])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.datatable1.Add(this.hbox8); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable1[this.hbox8])); w15.TopAttach = ((uint)(6)); w15.BottomAttach = ((uint)(7)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.datatable1.Add(this.label1); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label1])); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Услуга посуточной \nаренды:"); this.label3.Justify = ((global::Gtk.Justification)(1)); this.datatable1.Add(this.label3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label3])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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.datatable1.Add(this.label4); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label4])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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.datatable1.Add(this.label5); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label5])); w19.TopAttach = ((uint)(7)); w19.BottomAttach = ((uint)(8)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Стоимость (сутки):"); this.datatable1.Add(this.label6); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label6])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Тип оборудования:"); this.datatable1.Add(this.label7); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label7])); w21.TopAttach = ((uint)(5)); w21.BottomAttach = ((uint)(6)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Услуга долгосрочной\nаренды:"); this.label8.Justify = ((global::Gtk.Justification)(1)); this.datatable1.Add(this.label8); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label8])); w22.TopAttach = ((uint)(4)); w22.BottomAttach = ((uint)(5)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Сумма залога:"); this.datatable1.Add(this.label9); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label9])); w23.TopAttach = ((uint)(6)); w23.BottomAttach = ((uint)(7)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceDepositService = new global::Gamma.Widgets.yEntryReference(); this.referenceDepositService.Events = ((global::Gdk.EventMask)(256)); this.referenceDepositService.Name = "referenceDepositService"; this.datatable1.Add(this.referenceDepositService); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referenceDepositService])); w24.TopAttach = ((uint)(7)); w24.BottomAttach = ((uint)(8)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceEquipmentType = new global::Gamma.Widgets.yEntryReference(); this.referenceEquipmentType.Events = ((global::Gdk.EventMask)(256)); this.referenceEquipmentType.Name = "referenceEquipmentType"; this.datatable1.Add(this.referenceEquipmentType); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referenceEquipmentType])); w25.TopAttach = ((uint)(5)); w25.BottomAttach = ((uint)(6)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceRentServiceDaily = new global::Gamma.Widgets.yEntryReference(); this.referenceRentServiceDaily.Events = ((global::Gdk.EventMask)(256)); this.referenceRentServiceDaily.Name = "referenceRentServiceDaily"; this.datatable1.Add(this.referenceRentServiceDaily); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referenceRentServiceDaily])); w26.TopAttach = ((uint)(2)); w26.BottomAttach = ((uint)(3)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceRentServiceMonthly = new global::Gamma.Widgets.yEntryReference(); this.referenceRentServiceMonthly.Events = ((global::Gdk.EventMask)(256)); this.referenceRentServiceMonthly.Name = "referenceRentServiceMonthly"; this.datatable1.Add(this.referenceRentServiceMonthly); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referenceRentServiceMonthly])); w27.TopAttach = ((uint)(4)); w27.BottomAttach = ((uint)(5)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.datatable1); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.datatable1])); w28.Position = 1; w28.Expand = false; w28.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.SubdivisionDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.SubdivisionDlg"; // Container child Vodovoz.SubdivisionDlg.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox2.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox2.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.table1.Add (this.hbox2); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox2])); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Название подразделения:"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Начальник подразделения:"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryName = new global::Gamma.GtkWidgets.yEntry (); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.InvisibleChar = '●'; this.table1.Add (this.yentryName); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryName])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryreferenceChief = new global::Gamma.Widgets.yEntryReference (); this.yentryreferenceChief.Events = ((global::Gdk.EventMask)(256)); this.yentryreferenceChief.Name = "yentryreferenceChief"; this.table1.Add (this.yentryreferenceChief); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryreferenceChief])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.table1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.FuelDocumentView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.FuelDocumentView"; // Container child Vodovoz.FuelDocumentView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox8.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox8.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add(this.hbox8); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox8])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table(((uint)(9)), ((uint)(3)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.entityviewmodelentryCar = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityviewmodelentryCar.Sensitive = false; this.entityviewmodelentryCar.Events = ((global::Gdk.EventMask)(256)); this.entityviewmodelentryCar.Name = "entityviewmodelentryCar"; this.entityviewmodelentryCar.CanEditReference = true; this.table3.Add(this.entityviewmodelentryCar); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table3[this.entityviewmodelentryCar])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.evmeDriver = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeDriver.Sensitive = false; this.evmeDriver.Events = ((global::Gdk.EventMask)(256)); this.evmeDriver.Name = "evmeDriver"; this.evmeDriver.CanEditReference = true; this.table3.Add(this.evmeDriver); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table3[this.evmeDriver])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.spinFuelPrice = new global::Gamma.GtkWidgets.ySpinButton(0D, 200D, 0.01D); this.spinFuelPrice.WidthRequest = 100; this.spinFuelPrice.Sensitive = false; this.spinFuelPrice.CanFocus = true; this.spinFuelPrice.Name = "spinFuelPrice"; this.spinFuelPrice.Adjustment.PageIncrement = 0.01D; this.spinFuelPrice.ClimbRate = 1D; this.spinFuelPrice.Digits = ((uint)(2)); this.spinFuelPrice.Numeric = true; this.spinFuelPrice.ValueAsDecimal = 0m; this.spinFuelPrice.ValueAsInt = 0; this.hbox3.Add(this.spinFuelPrice); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.spinFuelPrice])); w8.Position = 0; w8.Expand = false; w8.Fill = false; this.table3.Add(this.hbox3); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox3])); w9.TopAttach = ((uint)(6)); w9.BottomAttach = ((uint)(7)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.yenumcomboboxPaymentType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxPaymentType.Name = "yenumcomboboxPaymentType"; this.yenumcomboboxPaymentType.ShowSpecialStateAll = false; this.yenumcomboboxPaymentType.ShowSpecialStateNot = false; this.yenumcomboboxPaymentType.UseShortTitle = false; this.yenumcomboboxPaymentType.DefaultFirst = false; this.hbox4.Add(this.yenumcomboboxPaymentType); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.yenumcomboboxPaymentType])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.disablespinMoney = new global::QSOrmProject.DisableSpinButton(); this.disablespinMoney.Events = ((global::Gdk.EventMask)(256)); this.disablespinMoney.Name = "disablespinMoney"; this.disablespinMoney.Active = false; this.disablespinMoney.Upper = 100000D; this.disablespinMoney.Lower = 0D; this.disablespinMoney.Digits = ((uint)(2)); this.hbox4.Add(this.disablespinMoney); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.disablespinMoney])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonSetRemain = new global::Gamma.GtkWidgets.yButton(); this.buttonSetRemain.CanFocus = true; this.buttonSetRemain.Name = "buttonSetRemain"; this.buttonSetRemain.UseUnderline = true; this.buttonSetRemain.Label = global::Mono.Unix.Catalog.GetString("Весь остаток"); this.hbox4.Add(this.buttonSetRemain); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSetRemain])); w12.Position = 2; w12.Expand = false; w12.Fill = false; this.table3.Add(this.hbox4); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox4])); w13.TopAttach = ((uint)(7)); w13.BottomAttach = ((uint)(8)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; this.table3.Add(this.hbox5); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox5])); w14.TopAttach = ((uint)(6)); w14.BottomAttach = ((uint)(7)); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.yspinFuelTicketLiters = new global::Gamma.GtkWidgets.ySpinButton(0D, 1000D, 10D); this.yspinFuelTicketLiters.WidthRequest = 90; this.yspinFuelTicketLiters.CanFocus = true; this.yspinFuelTicketLiters.Name = "yspinFuelTicketLiters"; this.yspinFuelTicketLiters.Adjustment.PageIncrement = 20D; this.yspinFuelTicketLiters.ClimbRate = 1D; this.yspinFuelTicketLiters.Numeric = true; this.yspinFuelTicketLiters.ValueAsDecimal = 0m; this.yspinFuelTicketLiters.ValueAsInt = 0; this.hbox6.Add(this.yspinFuelTicketLiters); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspinFuelTicketLiters])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.yspeccomboboxSubdivision = new global::Gamma.Widgets.ySpecComboBox(); this.yspeccomboboxSubdivision.Name = "yspeccomboboxSubdivision"; this.yspeccomboboxSubdivision.AddIfNotExist = false; this.yspeccomboboxSubdivision.DefaultFirst = false; this.yspeccomboboxSubdivision.ShowSpecialStateAll = false; this.yspeccomboboxSubdivision.ShowSpecialStateNot = false; this.hbox6.Add(this.yspeccomboboxSubdivision); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspeccomboboxSubdivision])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.table3.Add(this.hbox6); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox6])); w17.TopAttach = ((uint)(4)); w17.BottomAttach = ((uint)(5)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.labelExpenseInfo = new global::Gamma.GtkWidgets.yLabel(); this.labelExpenseInfo.Name = "labelExpenseInfo"; this.labelExpenseInfo.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.hbox7.Add(this.labelExpenseInfo); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.labelExpenseInfo])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonOpenExpense = new global::Gamma.GtkWidgets.yButton(); this.buttonOpenExpense.CanFocus = true; this.buttonOpenExpense.Name = "buttonOpenExpense"; this.buttonOpenExpense.UseUnderline = true; this.buttonOpenExpense.Label = global::Mono.Unix.Catalog.GetString("Открыть расходный ордер"); this.hbox7.Add(this.buttonOpenExpense); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonOpenExpense])); w19.Position = 1; w19.Expand = false; w19.Fill = false; this.table3.Add(this.hbox7); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox7])); w20.TopAttach = ((uint)(8)); w20.BottomAttach = ((uint)(9)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.table3.Add(this.label1); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table3[this.label1])); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Водитель:"); this.table3.Add(this.label2); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table3[this.label2])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Вид топлива:"); this.table3.Add(this.label3); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table3[this.label3])); w23.TopAttach = ((uint)(3)); w23.BottomAttach = ((uint)(4)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.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.table3.Add(this.label4); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table3[this.label4])); w24.TopAttach = ((uint)(2)); w24.BottomAttach = ((uint)(3)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.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.table3.Add(this.label5); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table3[this.label5])); w25.TopAttach = ((uint)(7)); w25.BottomAttach = ((uint)(8)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Выдано талонами(л):"); this.table3.Add(this.label6); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table3[this.label6])); w26.TopAttach = ((uint)(4)); w26.BottomAttach = ((uint)(5)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Стоимость, р/литр:"); this.table3.Add(this.label7); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table3[this.label7])); w27.TopAttach = ((uint)(6)); w27.BottomAttach = ((uint)(7)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.labelAvalilableFuel = new global::Gamma.GtkWidgets.yLabel(); this.labelAvalilableFuel.Name = "labelAvalilableFuel"; this.labelAvalilableFuel.Xalign = 0F; this.labelAvalilableFuel.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.table3.Add(this.labelAvalilableFuel); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table3[this.labelAvalilableFuel])); w28.TopAttach = ((uint)(5)); w28.BottomAttach = ((uint)(6)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.labelResultInfo = new global::Gamma.GtkWidgets.yLabel(); this.labelResultInfo.Name = "labelResultInfo"; this.labelResultInfo.LabelProp = global::Mono.Unix.Catalog.GetString("Итог"); this.table3.Add(this.labelResultInfo); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table3[this.labelResultInfo])); w29.TopAttach = ((uint)(7)); w29.BottomAttach = ((uint)(8)); w29.LeftAttach = ((uint)(2)); w29.RightAttach = ((uint)(3)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ydatepicker = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatepicker.Events = ((global::Gdk.EventMask)(256)); this.ydatepicker.Name = "ydatepicker"; this.ydatepicker.WithTime = false; this.ydatepicker.HideCalendarButton = false; this.ydatepicker.Date = new global::System.DateTime(0); this.ydatepicker.IsEditable = true; this.ydatepicker.AutoSeparation = false; this.table3.Add(this.ydatepicker); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table3[this.ydatepicker])); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(2)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.yentryfuel = new global::Gamma.Widgets.yEntryReference(); this.yentryfuel.Sensitive = false; this.yentryfuel.Events = ((global::Gdk.EventMask)(256)); this.yentryfuel.Name = "yentryfuel"; this.table3.Add(this.yentryfuel); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table3[this.yentryfuel])); w31.TopAttach = ((uint)(3)); w31.BottomAttach = ((uint)(4)); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ytextviewFuelInfo = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewFuelInfo.CanFocus = true; this.ytextviewFuelInfo.Name = "ytextviewFuelInfo"; this.ytextviewFuelInfo.Editable = false; this.table3.Add(this.ytextviewFuelInfo); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table3[this.ytextviewFuelInfo])); w32.BottomAttach = ((uint)(4)); w32.LeftAttach = ((uint)(2)); w32.RightAttach = ((uint)(3)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table3); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table3])); w33.Position = 1; w33.Expand = false; w33.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.buttonOpenExpense.Clicked += new global::System.EventHandler(this.OnButtonOpenExpenseClicked); this.disablespinMoney.ValueChanged += new global::System.EventHandler(this.OnDisablespinMoneyValueChanged); this.buttonSetRemain.Clicked += new global::System.EventHandler(this.OnButtonSetRemainClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.OrganizationDlg Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); this.UIManager.InsertActionGroup (w2, 0); this.Name = "Vodovoz.OrganizationDlg"; // Container child Vodovoz.OrganizationDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w3; this.hbox1.Add (this.buttonSave); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonSave])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w5 = new global::Gtk.Image (); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w5; this.hbox1.Add (this.buttonCancel); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator (); this.vseparator1.Name = "vseparator1"; this.hbox1.Add (this.vseparator1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vseparator1])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.radioTabInfo = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Основное")); this.radioTabInfo.CanFocus = true; this.radioTabInfo.Name = "radioTabInfo"; this.radioTabInfo.DrawIndicator = false; this.radioTabInfo.UseUnderline = true; this.radioTabInfo.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.hbox1.Add (this.radioTabInfo); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.radioTabInfo])); w8.Position = 3; // Container child hbox1.Gtk.Box+BoxChild this.radioTabAccounts = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Счета")); this.radioTabAccounts.CanFocus = true; this.radioTabAccounts.Name = "radioTabAccounts"; this.radioTabAccounts.DrawIndicator = false; this.radioTabAccounts.UseUnderline = true; this.radioTabAccounts.Group = this.radioTabInfo.Group; this.hbox1.Add (this.radioTabAccounts); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.radioTabAccounts])); w9.Position = 4; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notebookMain = new global::Gtk.Notebook (); this.notebookMain.CanFocus = true; this.notebookMain.Name = "notebookMain"; this.notebookMain.CurrentPage = 0; // Container child notebookMain.Gtk.Notebook+NotebookChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w11 = new global::Gtk.Viewport (); w11.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.datatableMain = new global::Gtk.Table (((uint)(11)), ((uint)(2)), false); this.datatableMain.Name = "datatableMain"; this.datatableMain.RowSpacing = ((uint)(6)); this.datatableMain.ColumnSpacing = ((uint)(6)); this.datatableMain.BorderWidth = ((uint)(2)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryEmail = new global::Gamma.Widgets.yValidatedEntry (); this.dataentryEmail.CanFocus = true; this.dataentryEmail.Name = "dataentryEmail"; this.dataentryEmail.IsEditable = true; this.dataentryEmail.MaxLength = 45; this.dataentryEmail.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryEmail); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryEmail])); w12.TopAttach = ((uint)(3)); w12.BottomAttach = ((uint)(4)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryFullName = new global::Gamma.GtkWidgets.yEntry (); this.dataentryFullName.CanFocus = true; this.dataentryFullName.Name = "dataentryFullName"; this.dataentryFullName.IsEditable = true; this.dataentryFullName.MaxLength = 200; this.dataentryFullName.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryFullName); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryFullName])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryINN = new global::Gamma.Widgets.yValidatedEntry (); this.dataentryINN.CanFocus = true; this.dataentryINN.Name = "dataentryINN"; this.dataentryINN.IsEditable = true; this.dataentryINN.MaxLength = 12; this.dataentryINN.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryINN); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryINN])); w14.TopAttach = ((uint)(6)); w14.BottomAttach = ((uint)(7)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryKPP = new global::Gamma.Widgets.yValidatedEntry (); this.dataentryKPP.CanFocus = true; this.dataentryKPP.Name = "dataentryKPP"; this.dataentryKPP.IsEditable = true; this.dataentryKPP.MaxLength = 9; this.dataentryKPP.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryKPP); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryKPP])); w15.TopAttach = ((uint)(7)); w15.BottomAttach = ((uint)(8)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryName = new global::Gamma.GtkWidgets.yEntry (); this.dataentryName.CanFocus = true; this.dataentryName.Name = "dataentryName"; this.dataentryName.IsEditable = true; this.dataentryName.MaxLength = 100; this.dataentryName.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryName); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryName])); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryOGRN = new global::Gamma.Widgets.yValidatedEntry (); this.dataentryOGRN.CanFocus = true; this.dataentryOGRN.Name = "dataentryOGRN"; this.dataentryOGRN.IsEditable = true; this.dataentryOGRN.MaxLength = 13; this.dataentryOGRN.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryOGRN); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryOGRN])); w17.TopAttach = ((uint)(8)); w17.BottomAttach = ((uint)(9)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.datatextviewJurAddress = new global::Gamma.GtkWidgets.yTextView (); this.datatextviewJurAddress.CanFocus = true; this.datatextviewJurAddress.Name = "datatextviewJurAddress"; this.datatextviewJurAddress.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow1.Add (this.datatextviewJurAddress); this.datatableMain.Add (this.GtkScrolledWindow1); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.GtkScrolledWindow1])); w19.TopAttach = ((uint)(10)); w19.BottomAttach = ((uint)(11)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.datatextviewAddress = new global::Gamma.GtkWidgets.yTextView (); this.datatextviewAddress.CanFocus = true; this.datatextviewAddress.Name = "datatextviewAddress"; this.datatextviewAddress.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow2.Add (this.datatextviewAddress); this.datatableMain.Add (this.GtkScrolledWindow2); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.GtkScrolledWindow2])); w21.TopAttach = ((uint)(9)); w21.BottomAttach = ((uint)(10)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("ОГРН:"); this.datatableMain.Add (this.label10); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label10])); w22.TopAttach = ((uint)(8)); w22.BottomAttach = ((uint)(9)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("E-mail:"); this.datatableMain.Add (this.label11); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label11])); w23.TopAttach = ((uint)(3)); w23.BottomAttach = ((uint)(4)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label13 = new global::Gtk.Label (); this.label13.Name = "label13"; this.label13.Xalign = 1F; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Руководитель:"); this.datatableMain.Add (this.label13); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label13])); w24.TopAttach = ((uint)(4)); w24.BottomAttach = ((uint)(5)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label14 = new global::Gtk.Label (); this.label14.Name = "label14"; this.label14.Xalign = 1F; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("Главный бухгалтер:"); this.datatableMain.Add (this.label14); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label14])); w25.TopAttach = ((uint)(5)); w25.BottomAttach = ((uint)(6)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Полное название:"); this.datatableMain.Add (this.label3); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label3])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.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 ("Название<span foreground=\"red\">*</span>:"); this.label4.UseMarkup = true; this.datatableMain.Add (this.label4); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label4])); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.Yalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Адрес:"); this.datatableMain.Add (this.label5); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label5])); w28.TopAttach = ((uint)(9)); w28.BottomAttach = ((uint)(10)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.Yalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Юр. адрес:"); this.datatableMain.Add (this.label6); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label6])); w29.TopAttach = ((uint)(10)); w29.BottomAttach = ((uint)(11)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("ИНН:"); this.datatableMain.Add (this.label7); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label7])); w30.TopAttach = ((uint)(6)); w30.BottomAttach = ((uint)(7)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("КПП:"); this.datatableMain.Add (this.label8); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label8])); w31.TopAttach = ((uint)(7)); w31.BottomAttach = ((uint)(8)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.Yalign = 0F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Телефоны:"); this.datatableMain.Add (this.label9); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label9])); w32.TopAttach = ((uint)(2)); w32.BottomAttach = ((uint)(3)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.phonesview1 = new global::QSContacts.PhonesView (); this.phonesview1.Events = ((global::Gdk.EventMask)(256)); this.phonesview1.Name = "phonesview1"; this.datatableMain.Add (this.phonesview1); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.phonesview1])); w33.TopAttach = ((uint)(2)); w33.BottomAttach = ((uint)(3)); w33.LeftAttach = ((uint)(1)); w33.RightAttach = ((uint)(2)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.referenceBuhgalter = new global::Gamma.Widgets.yEntryReference (); this.referenceBuhgalter.Events = ((global::Gdk.EventMask)(256)); this.referenceBuhgalter.Name = "referenceBuhgalter"; this.referenceBuhgalter.DisplayFields = new string[] { "FullName" }; this.referenceBuhgalter.DisplayFormatString = "{0}"; this.datatableMain.Add (this.referenceBuhgalter); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.referenceBuhgalter])); w34.TopAttach = ((uint)(5)); w34.BottomAttach = ((uint)(6)); w34.LeftAttach = ((uint)(1)); w34.RightAttach = ((uint)(2)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.referenceLeader = new global::Gamma.Widgets.yEntryReference (); this.referenceLeader.Events = ((global::Gdk.EventMask)(256)); this.referenceLeader.Name = "referenceLeader"; this.referenceLeader.DisplayFields = new string[] { "FullName" }; this.referenceLeader.DisplayFormatString = "{0}"; this.datatableMain.Add (this.referenceLeader); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.referenceLeader])); w35.TopAttach = ((uint)(4)); w35.BottomAttach = ((uint)(5)); w35.LeftAttach = ((uint)(1)); w35.RightAttach = ((uint)(2)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); w11.Add (this.datatableMain); this.scrolledwindow1.Add (w11); this.notebookMain.Add (this.scrolledwindow1); // Notebook tab this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Информация"); this.notebookMain.SetTabLabel (this.scrolledwindow1, this.label1); this.label1.ShowAll (); // Container child notebookMain.Gtk.Notebook+NotebookChild this.accountsview1 = new global::QSBanks.AccountsView (); this.accountsview1.Events = ((global::Gdk.EventMask)(256)); this.accountsview1.Name = "accountsview1"; this.notebookMain.Add (this.accountsview1); global::Gtk.Notebook.NotebookChild w39 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.accountsview1])); w39.Position = 1; // Notebook tab this.label12 = new global::Gtk.Label (); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Счет"); this.notebookMain.SetTabLabel (this.accountsview1, this.label12); this.label12.ShowAll (); this.vbox1.Add (this.notebookMain); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebookMain])); w40.Position = 1; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } w1.SetUiManager (UIManager); this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); this.radioTabInfo.Toggled += new global::System.EventHandler (this.OnRadioTabInfoToggled); this.radioTabAccounts.Toggled += new global::System.EventHandler (this.OnRadioTabAccountsToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.UnclosedAdvancesFilter global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.UnclosedAdvancesFilter"; // Container child Vodovoz.UnclosedAdvancesFilter.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(1)), ((uint)(6)), false); this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.evmeAccountable = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeAccountable.Events = ((global::Gdk.EventMask)(256)); this.evmeAccountable.Name = "evmeAccountable"; this.evmeAccountable.CanEditReference = true; this.table1.Add(this.evmeAccountable); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.evmeAccountable])); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Сотрудник:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w3.LeftAttach = ((uint)(2)); w3.RightAttach = ((uint)(3)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label4); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w4.LeftAttach = ((uint)(4)); w4.RightAttach = ((uint)(5)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yAdvancePeriod = new global::QS.Widgets.GtkUI.DateRangePicker(); this.yAdvancePeriod.Events = ((global::Gdk.EventMask)(256)); this.yAdvancePeriod.Name = "yAdvancePeriod"; this.yAdvancePeriod.StartDate = new global::System.DateTime(0); this.yAdvancePeriod.EndDate = new global::System.DateTime(0); this.table1.Add(this.yAdvancePeriod); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.yAdvancePeriod])); w5.LeftAttach = ((uint)(5)); w5.RightAttach = ((uint)(6)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryExpense = new global::Gamma.Widgets.yEntryReference(); this.yentryExpense.Events = ((global::Gdk.EventMask)(256)); this.yentryExpense.Name = "yentryExpense"; this.table1.Add(this.yentryExpense); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryExpense])); w6.LeftAttach = ((uint)(3)); w6.RightAttach = ((uint)(4)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.FuelDocumentDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.FuelDocumentDlg"; // Container child Vodovoz.FuelDocumentDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox (); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox8.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox8.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add (this.hbox8); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox8])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table (((uint)(6)), ((uint)(3)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.disablespinMoney = new global::QSOrmProject.DisableSpinButton (); this.disablespinMoney.Events = ((global::Gdk.EventMask)(256)); this.disablespinMoney.Name = "disablespinMoney"; this.disablespinMoney.Active = false; this.disablespinMoney.Upper = 100000; this.disablespinMoney.Lower = 0; this.disablespinMoney.Digits = ((uint)(2)); this.hbox4.Add (this.disablespinMoney); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.disablespinMoney])); w6.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.buttonSetRemain = new global::Gtk.Button (); this.buttonSetRemain.CanFocus = true; this.buttonSetRemain.Name = "buttonSetRemain"; this.buttonSetRemain.UseUnderline = true; this.buttonSetRemain.Label = global::Mono.Unix.Catalog.GetString ("Весь остаток"); this.hbox4.Add (this.buttonSetRemain); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSetRemain])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.table3.Add (this.hbox4); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table3 [this.hbox4])); w8.TopAttach = ((uint)(4)); w8.BottomAttach = ((uint)(5)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; this.table3.Add (this.hbox5); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table3 [this.hbox5])); w9.TopAttach = ((uint)(4)); w9.BottomAttach = ((uint)(5)); w9.LeftAttach = ((uint)(2)); w9.RightAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.labelExpenseInfo = new global::Gtk.Label (); this.labelExpenseInfo.Name = "labelExpenseInfo"; this.labelExpenseInfo.LabelProp = global::Mono.Unix.Catalog.GetString ("Расходный ордер"); this.hbox7.Add (this.labelExpenseInfo); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.labelExpenseInfo])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonOpenExpense = new global::Gtk.Button (); this.buttonOpenExpense.CanFocus = true; this.buttonOpenExpense.Name = "buttonOpenExpense"; this.buttonOpenExpense.UseUnderline = true; this.buttonOpenExpense.Label = global::Mono.Unix.Catalog.GetString ("Открыть расходный ордер"); this.hbox7.Add (this.buttonOpenExpense); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonOpenExpense])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.table3.Add (this.hbox7); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table3 [this.hbox7])); w12.TopAttach = ((uint)(5)); w12.BottomAttach = ((uint)(6)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата:"); this.table3.Add (this.label1); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table3 [this.label1])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Водитель:"); this.table3.Add (this.label2); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table3 [this.label2])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Вид топлива:"); this.table3.Add (this.label3); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table3 [this.label3])); w15.TopAttach = ((uint)(3)); w15.BottomAttach = ((uint)(4)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.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.table3.Add (this.label4); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table3 [this.label4])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.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.table3.Add (this.label5); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table3 [this.label5])); w17.TopAttach = ((uint)(4)); w17.BottomAttach = ((uint)(5)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.labelResultInfo = new global::Gtk.Label (); this.labelResultInfo.Name = "labelResultInfo"; this.labelResultInfo.LabelProp = global::Mono.Unix.Catalog.GetString ("Итог"); this.table3.Add (this.labelResultInfo); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table3 [this.labelResultInfo])); w18.TopAttach = ((uint)(5)); w18.BottomAttach = ((uint)(6)); w18.LeftAttach = ((uint)(2)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ydatepicker = new global::Gamma.Widgets.yDatePicker (); this.ydatepicker.Events = ((global::Gdk.EventMask)(256)); this.ydatepicker.Name = "ydatepicker"; this.ydatepicker.WithTime = false; this.ydatepicker.Date = new global::System.DateTime (0); this.ydatepicker.IsEditable = false; this.ydatepicker.AutoSeparation = false; this.table3.Add (this.ydatepicker); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table3 [this.ydatepicker])); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.yentryCar = new global::Gamma.Widgets.yEntryReference (); this.yentryCar.Sensitive = false; this.yentryCar.Events = ((global::Gdk.EventMask)(256)); this.yentryCar.Name = "yentryCar"; this.table3.Add (this.yentryCar); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table3 [this.yentryCar])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.yentrydriver = new global::Gamma.Widgets.yEntryReference (); this.yentrydriver.Sensitive = false; this.yentrydriver.Events = ((global::Gdk.EventMask)(256)); this.yentrydriver.Name = "yentrydriver"; this.table3.Add (this.yentrydriver); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table3 [this.yentrydriver])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.yentryfuel = new global::Gamma.Widgets.yEntryReference (); this.yentryfuel.Sensitive = false; this.yentryfuel.Events = ((global::Gdk.EventMask)(256)); this.yentryfuel.Name = "yentryfuel"; this.table3.Add (this.yentryfuel); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table3 [this.yentryfuel])); w22.TopAttach = ((uint)(3)); w22.BottomAttach = ((uint)(4)); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(2)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ytextviewFuelInfo = new global::Gamma.GtkWidgets.yTextView (); this.ytextviewFuelInfo.CanFocus = true; this.ytextviewFuelInfo.Name = "ytextviewFuelInfo"; this.ytextviewFuelInfo.Editable = false; this.table3.Add (this.ytextviewFuelInfo); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table3 [this.ytextviewFuelInfo])); w23.BottomAttach = ((uint)(4)); w23.LeftAttach = ((uint)(2)); w23.RightAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add (this.table3); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table3])); w24.Position = 1; w24.Expand = false; w24.Fill = false; // Container child vbox1.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.ytreeTickets = new global::Gamma.GtkWidgets.yTreeView (); this.ytreeTickets.CanFocus = true; this.ytreeTickets.Name = "ytreeTickets"; this.GtkScrolledWindow.Add (this.ytreeTickets); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w26.Position = 2; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); this.buttonOpenExpense.Clicked += new global::System.EventHandler (this.OnButtonOpenExpenseClicked); this.disablespinMoney.ValueChanged += new global::System.EventHandler (this.OnDisablespinMoneyValueChanged); this.buttonSetRemain.Clicked += new global::System.EventHandler (this.OnButtonSetRemainClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.CounterpartyDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.CounterpartyDlg"; // Container child Vodovoz.CounterpartyDlg.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.HeightRequest = 400; this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(6)); // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-floppy", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox1.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отмена"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.menuActions = new global::QSWidgetLib.MenuButton(); this.menuActions.CanFocus = true; this.menuActions.Name = "menuActions"; this.menuActions.UseUnderline = true; this.menuActions.UseMarkup = false; global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.menu.png"); this.menuActions.Image = w5; this.hbox1.Add(this.menuActions); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.menuActions])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox2.Add(this.hseparator1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hseparator1])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox19 = new global::Gtk.HBox(); this.hbox19.Name = "hbox19"; this.hbox19.Spacing = 6; // Container child hbox19.Gtk.Box+BoxChild this.radioInfo = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Информация")); this.radioInfo.CanFocus = true; this.radioInfo.Name = "radioInfo"; this.radioInfo.DrawIndicator = false; this.radioInfo.UseUnderline = true; this.radioInfo.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.hbox19.Add(this.radioInfo); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioInfo])); w9.Position = 0; // Container child hbox19.Gtk.Box+BoxChild this.radioContacts = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Контакты")); this.radioContacts.CanFocus = true; this.radioContacts.Name = "radioContacts"; this.radioContacts.DrawIndicator = false; this.radioContacts.UseUnderline = true; this.radioContacts.Group = this.radioInfo.Group; this.hbox19.Add(this.radioContacts); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioContacts])); w10.Position = 1; // Container child hbox19.Gtk.Box+BoxChild this.radioDetails = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Реквизиты")); this.radioDetails.CanFocus = true; this.radioDetails.Name = "radioDetails"; this.radioDetails.DrawIndicator = false; this.radioDetails.UseUnderline = true; this.radioDetails.Group = this.radioInfo.Group; this.hbox19.Add(this.radioDetails); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioDetails])); w11.Position = 2; // Container child hbox19.Gtk.Box+BoxChild this.radioCurators = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Кураторы")); this.radioCurators.CanFocus = true; this.radioCurators.Name = "radioCurators"; this.radioCurators.DrawIndicator = false; this.radioCurators.UseUnderline = true; this.radioCurators.Group = this.radioInfo.Group; this.hbox19.Add(this.radioCurators); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioCurators])); w12.Position = 3; // Container child hbox19.Gtk.Box+BoxChild this.radioContactPersons = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Контактные лица")); this.radioContactPersons.CanFocus = true; this.radioContactPersons.Name = "radioContactPersons"; this.radioContactPersons.DrawIndicator = false; this.radioContactPersons.UseUnderline = true; this.radioContactPersons.Group = this.radioInfo.Group; this.hbox19.Add(this.radioContactPersons); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioContactPersons])); w13.Position = 4; // Container child hbox19.Gtk.Box+BoxChild this.radiobuttonProxies = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Доверенности")); this.radiobuttonProxies.CanFocus = true; this.radiobuttonProxies.Name = "radiobuttonProxies"; this.radiobuttonProxies.DrawIndicator = false; this.radiobuttonProxies.UseUnderline = true; this.radiobuttonProxies.Group = this.radioInfo.Group; this.hbox19.Add(this.radiobuttonProxies); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radiobuttonProxies])); w14.Position = 5; // Container child hbox19.Gtk.Box+BoxChild this.radioContracts = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Договор")); this.radioContracts.CanFocus = true; this.radioContracts.Name = "radioContracts"; this.radioContracts.DrawIndicator = false; this.radioContracts.UseUnderline = true; this.radioContracts.Group = this.radioInfo.Group; this.hbox19.Add(this.radioContracts); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioContracts])); w15.Position = 6; // Container child hbox19.Gtk.Box+BoxChild this.radioDeliveryPoint = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Точки доставки")); this.radioDeliveryPoint.CanFocus = true; this.radioDeliveryPoint.Name = "radioDeliveryPoint"; this.radioDeliveryPoint.DrawIndicator = false; this.radioDeliveryPoint.UseUnderline = true; this.radioDeliveryPoint.Group = this.radioInfo.Group; this.hbox19.Add(this.radioDeliveryPoint); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioDeliveryPoint])); w16.Position = 7; this.vbox2.Add(this.hbox19); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox19])); w17.Position = 2; w17.Expand = false; w17.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild global::Gtk.Viewport w18 = new global::Gtk.Viewport(); w18.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(11)), ((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.datalegalname1 = new global::QSOrmProject.yLegalName(); this.datalegalname1.Events = ((global::Gdk.EventMask)(256)); this.datalegalname1.Name = "datalegalname1"; this.table1.Add(this.datalegalname1); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.datalegalname1])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(4)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryFIO = new global::Gamma.GtkWidgets.yEntry(); this.entryFIO.CanFocus = true; this.entryFIO.Name = "entryFIO"; this.entryFIO.IsEditable = true; this.entryFIO.InvisibleChar = '●'; this.table1.Add(this.entryFIO); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.entryFIO])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryFullName = new global::Gamma.GtkWidgets.yEntry(); this.entryFullName.CanFocus = true; this.entryFullName.Name = "entryFullName"; this.entryFullName.IsEditable = true; this.entryFullName.MaxLength = 300; this.entryFullName.InvisibleChar = '●'; this.table1.Add(this.entryFullName); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.entryFullName])); w21.TopAttach = ((uint)(3)); w21.BottomAttach = ((uint)(4)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumDefaultDocumentType = new global::Gamma.Widgets.yEnumComboBox(); this.enumDefaultDocumentType.Name = "enumDefaultDocumentType"; this.enumDefaultDocumentType.ShowSpecialStateAll = false; this.enumDefaultDocumentType.ShowSpecialStateNot = false; this.enumDefaultDocumentType.UseShortTitle = false; this.enumDefaultDocumentType.DefaultFirst = false; this.table1.Add(this.enumDefaultDocumentType); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.enumDefaultDocumentType])); w22.TopAttach = ((uint)(8)); w22.BottomAttach = ((uint)(9)); w22.LeftAttach = ((uint)(3)); w22.RightAttach = ((uint)(4)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumPayment = new global::Gamma.Widgets.yEnumComboBox(); this.enumPayment.Name = "enumPayment"; this.enumPayment.ShowSpecialStateAll = false; this.enumPayment.ShowSpecialStateNot = false; this.enumPayment.UseShortTitle = false; this.enumPayment.DefaultFirst = false; this.table1.Add(this.enumPayment); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.enumPayment])); w23.TopAttach = ((uint)(8)); w23.BottomAttach = ((uint)(9)); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(2)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow5 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow5.Name = "GtkScrolledWindow5"; this.GtkScrolledWindow5.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow5.Gtk.Container+ContainerChild this.dataWaybillComment = new global::Gamma.GtkWidgets.yTextView(); this.dataWaybillComment.CanFocus = true; this.dataWaybillComment.Name = "dataWaybillComment"; this.GtkScrolledWindow5.Add(this.dataWaybillComment); this.table1.Add(this.GtkScrolledWindow5); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow5])); w25.TopAttach = ((uint)(10)); w25.BottomAttach = ((uint)(11)); w25.LeftAttach = ((uint)(3)); w25.RightAttach = ((uint)(4)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow6 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow6.Name = "GtkScrolledWindow6"; this.GtkScrolledWindow6.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow6.Gtk.Container+ContainerChild this.dataComment = new global::Gamma.GtkWidgets.yTextView(); this.dataComment.CanFocus = true; this.dataComment.Name = "dataComment"; this.GtkScrolledWindow6.Add(this.dataComment); this.table1.Add(this.GtkScrolledWindow6); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow6])); w27.TopAttach = ((uint)(10)); w27.BottomAttach = ((uint)(11)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox17 = new global::Gtk.HBox(); this.hbox17.Name = "hbox17"; this.hbox17.Spacing = 6; // Container child hbox17.Gtk.Box+BoxChild this.enumPersonType = new global::Gamma.Widgets.yEnumComboBox(); this.enumPersonType.Name = "enumPersonType"; this.enumPersonType.ShowSpecialStateAll = false; this.enumPersonType.ShowSpecialStateNot = false; this.enumPersonType.UseShortTitle = false; this.enumPersonType.DefaultFirst = false; this.hbox17.Add(this.enumPersonType); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.enumPersonType])); w28.Position = 0; // Container child hbox17.Gtk.Box+BoxChild this.ycheckIsArchived = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckIsArchived.TooltipMarkup = "Больше не работаем с этим клиентом"; this.ycheckIsArchived.CanFocus = true; this.ycheckIsArchived.Name = "ycheckIsArchived"; this.ycheckIsArchived.Label = global::Mono.Unix.Catalog.GetString("Архивный"); this.ycheckIsArchived.DrawIndicator = true; this.ycheckIsArchived.UseUnderline = true; this.hbox17.Add(this.ycheckIsArchived); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.ycheckIsArchived])); w29.Position = 1; w29.Expand = false; w29.Fill = false; this.table1.Add(this.hbox17); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox17])); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label19 = new global::Gtk.Label(); this.label19.Name = "label19"; this.label19.Xalign = 1F; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString(" Максимальная\nсумма кредита:"); this.table1.Add(this.label19); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1[this.label19])); w31.TopAttach = ((uint)(9)); w31.BottomAttach = ((uint)(10)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label25 = new global::Gtk.Label(); this.label25.Name = "label25"; this.label25.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий\nдля накладной:"); this.label25.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.label25); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1[this.label25])); w32.TopAttach = ((uint)(10)); w32.BottomAttach = ((uint)(11)); w32.LeftAttach = ((uint)(2)); w32.RightAttach = ((uint)(3)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label26 = new global::Gtk.Label(); this.label26.Name = "label26"; this.label26.Xalign = 1F; this.label26.LabelProp = global::Mono.Unix.Catalog.GetString(" Форма оплаты \n(по умолчанию):"); this.table1.Add(this.label26); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1[this.label26])); w33.TopAttach = ((uint)(8)); w33.BottomAttach = ((uint)(9)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label31 = new global::Gtk.Label(); this.label31.Name = "label31"; this.label31.Xalign = 1F; this.label31.LabelProp = global::Mono.Unix.Catalog.GetString("Внутренний\nкомментарий:"); this.label31.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.label31); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1[this.label31])); w34.TopAttach = ((uint)(10)); w34.BottomAttach = ((uint)(11)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label4); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w35.TopAttach = ((uint)(5)); w35.BottomAttach = ((uint)(6)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label5); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w36.TopAttach = ((uint)(6)); w36.BottomAttach = ((uint)(7)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Значимость:"); this.table1.Add(this.label6); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table1[this.label6])); w37.TopAttach = ((uint)(7)); w37.BottomAttach = ((uint)(8)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Форма контрагента:"); this.table1.Add(this.label8); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Тип контрагента:"); this.table1.Add(this.label9); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1[this.label9])); w39.TopAttach = ((uint)(6)); w39.BottomAttach = ((uint)(7)); w39.LeftAttach = ((uint)(2)); w39.RightAttach = ((uint)(3)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDefaultDocumentType = new global::Gtk.Label(); this.labelDefaultDocumentType.Name = "labelDefaultDocumentType"; this.labelDefaultDocumentType.Xalign = 1F; this.labelDefaultDocumentType.LabelProp = global::Mono.Unix.Catalog.GetString("Тип документов\n(по умолчанию):"); this.table1.Add(this.labelDefaultDocumentType); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDefaultDocumentType])); w40.TopAttach = ((uint)(8)); w40.BottomAttach = ((uint)(9)); w40.LeftAttach = ((uint)(2)); w40.RightAttach = ((uint)(3)); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDefaultExpense = new global::Gtk.Label(); this.labelDefaultExpense.Name = "labelDefaultExpense"; this.labelDefaultExpense.Xalign = 1F; this.labelDefaultExpense.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода\nпо-умолчанию:"); this.table1.Add(this.labelDefaultExpense); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDefaultExpense])); w41.TopAttach = ((uint)(9)); w41.BottomAttach = ((uint)(10)); w41.LeftAttach = ((uint)(2)); w41.RightAttach = ((uint)(3)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelFIO = new global::Gtk.Label(); this.labelFIO.Name = "labelFIO"; this.labelFIO.Xalign = 1F; this.labelFIO.LabelProp = global::Mono.Unix.Catalog.GetString("Ф.И.О.:"); this.table1.Add(this.labelFIO); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table1[this.labelFIO])); w42.TopAttach = ((uint)(1)); w42.BottomAttach = ((uint)(2)); w42.XOptions = ((global::Gtk.AttachOptions)(4)); w42.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelFullName = new global::Gtk.Label(); this.labelFullName.Name = "labelFullName"; this.labelFullName.Xalign = 1F; this.labelFullName.LabelProp = global::Mono.Unix.Catalog.GetString("Полное наименование:"); this.table1.Add(this.labelFullName); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table1[this.labelFullName])); w43.TopAttach = ((uint)(3)); w43.BottomAttach = ((uint)(4)); w43.XOptions = ((global::Gtk.AttachOptions)(4)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelMainCounterparty = new global::Gtk.Label(); this.labelMainCounterparty.Name = "labelMainCounterparty"; this.labelMainCounterparty.Xalign = 1F; this.labelMainCounterparty.LabelProp = global::Mono.Unix.Catalog.GetString("Головная организация:"); this.table1.Add(this.labelMainCounterparty); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table1[this.labelMainCounterparty])); w44.TopAttach = ((uint)(4)); w44.BottomAttach = ((uint)(5)); w44.XOptions = ((global::Gtk.AttachOptions)(4)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelShort = new global::Gtk.Label(); this.labelShort.Name = "labelShort"; this.labelShort.Xalign = 1F; this.labelShort.LabelProp = global::Mono.Unix.Catalog.GetString("Наименование:"); this.table1.Add(this.labelShort); global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.table1[this.labelShort])); w45.TopAttach = ((uint)(2)); w45.BottomAttach = ((uint)(3)); w45.XOptions = ((global::Gtk.AttachOptions)(4)); w45.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referenceDefaultExpense = new global::Gamma.Widgets.yEntryReference(); this.referenceDefaultExpense.Events = ((global::Gdk.EventMask)(256)); this.referenceDefaultExpense.Name = "referenceDefaultExpense"; this.referenceDefaultExpense.DisplayFields = new string[] { "Name"}; this.table1.Add(this.referenceDefaultExpense); global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceDefaultExpense])); w46.TopAttach = ((uint)(9)); w46.BottomAttach = ((uint)(10)); w46.LeftAttach = ((uint)(3)); w46.RightAttach = ((uint)(4)); w46.XOptions = ((global::Gtk.AttachOptions)(4)); w46.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referenceMainCounterparty = new global::Gamma.Widgets.yEntryReferenceVM(); this.referenceMainCounterparty.Events = ((global::Gdk.EventMask)(256)); this.referenceMainCounterparty.Name = "referenceMainCounterparty"; this.table1.Add(this.referenceMainCounterparty); global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceMainCounterparty])); w47.TopAttach = ((uint)(4)); w47.BottomAttach = ((uint)(5)); w47.LeftAttach = ((uint)(1)); w47.RightAttach = ((uint)(4)); w47.XOptions = ((global::Gtk.AttachOptions)(4)); w47.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referencePreviousCounterparty = new global::Gamma.Widgets.yEntryReferenceVM(); this.referencePreviousCounterparty.Events = ((global::Gdk.EventMask)(256)); this.referencePreviousCounterparty.Name = "referencePreviousCounterparty"; this.table1.Add(this.referencePreviousCounterparty); global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.table1[this.referencePreviousCounterparty])); w48.TopAttach = ((uint)(5)); w48.BottomAttach = ((uint)(6)); w48.LeftAttach = ((uint)(1)); w48.RightAttach = ((uint)(4)); w48.XOptions = ((global::Gtk.AttachOptions)(4)); w48.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referenceSignificance = new global::Gamma.Widgets.yEntryReference(); this.referenceSignificance.Events = ((global::Gdk.EventMask)(256)); this.referenceSignificance.Name = "referenceSignificance"; this.referenceSignificance.DisplayFields = new string[] { "Name"}; this.table1.Add(this.referenceSignificance); global::Gtk.Table.TableChild w49 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceSignificance])); w49.TopAttach = ((uint)(7)); w49.BottomAttach = ((uint)(8)); w49.LeftAttach = ((uint)(1)); w49.RightAttach = ((uint)(2)); w49.XOptions = ((global::Gtk.AttachOptions)(4)); w49.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referenceStatus = new global::Gamma.Widgets.yEntryReference(); this.referenceStatus.Events = ((global::Gdk.EventMask)(256)); this.referenceStatus.Name = "referenceStatus"; this.referenceStatus.DisplayFields = new string[] { "Name"}; this.table1.Add(this.referenceStatus); global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceStatus])); w50.TopAttach = ((uint)(6)); w50.BottomAttach = ((uint)(7)); w50.LeftAttach = ((uint)(1)); w50.RightAttach = ((uint)(2)); w50.XOptions = ((global::Gtk.AttachOptions)(4)); w50.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinMaxCredit = new global::Gamma.GtkWidgets.ySpinButton(0, 1000000, 100); this.spinMaxCredit.CanFocus = true; this.spinMaxCredit.Name = "spinMaxCredit"; this.spinMaxCredit.ValueAsDecimal = 0m; this.spinMaxCredit.ValueAsInt = 0; this.table1.Add(this.spinMaxCredit); global::Gtk.Table.TableChild w51 = ((global::Gtk.Table.TableChild)(this.table1[this.spinMaxCredit])); w51.TopAttach = ((uint)(9)); w51.BottomAttach = ((uint)(10)); w51.LeftAttach = ((uint)(1)); w51.RightAttach = ((uint)(2)); w51.XOptions = ((global::Gtk.AttachOptions)(4)); w51.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vboxCooperation = new global::Gtk.VBox(); this.vboxCooperation.Name = "vboxCooperation"; this.vboxCooperation.Spacing = 1; // Container child vboxCooperation.Gtk.Box+BoxChild this.checkCustomer = new global::Gamma.GtkWidgets.yCheckButton(); this.checkCustomer.CanFocus = true; this.checkCustomer.Name = "checkCustomer"; this.checkCustomer.Label = global::Mono.Unix.Catalog.GetString("Покупатель"); this.checkCustomer.DrawIndicator = true; this.checkCustomer.UseUnderline = true; this.vboxCooperation.Add(this.checkCustomer); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vboxCooperation[this.checkCustomer])); w52.Position = 0; w52.Expand = false; w52.Fill = false; // Container child vboxCooperation.Gtk.Box+BoxChild this.checkSupplier = new global::Gamma.GtkWidgets.yCheckButton(); this.checkSupplier.CanFocus = true; this.checkSupplier.Name = "checkSupplier"; this.checkSupplier.Label = global::Mono.Unix.Catalog.GetString("Поставщик"); this.checkSupplier.DrawIndicator = true; this.checkSupplier.UseUnderline = true; this.vboxCooperation.Add(this.checkSupplier); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vboxCooperation[this.checkSupplier])); w53.Position = 1; w53.Expand = false; w53.Fill = false; // Container child vboxCooperation.Gtk.Box+BoxChild this.checkPartner = new global::Gamma.GtkWidgets.yCheckButton(); this.checkPartner.CanFocus = true; this.checkPartner.Name = "checkPartner"; this.checkPartner.Label = global::Mono.Unix.Catalog.GetString("Партнер"); this.checkPartner.DrawIndicator = true; this.checkPartner.UseUnderline = true; this.vboxCooperation.Add(this.checkPartner); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vboxCooperation[this.checkPartner])); w54.Position = 2; w54.Expand = false; w54.Fill = false; this.table1.Add(this.vboxCooperation); global::Gtk.Table.TableChild w55 = ((global::Gtk.Table.TableChild)(this.table1[this.vboxCooperation])); w55.TopAttach = ((uint)(6)); w55.BottomAttach = ((uint)(8)); w55.LeftAttach = ((uint)(3)); w55.RightAttach = ((uint)(4)); w55.XOptions = ((global::Gtk.AttachOptions)(4)); w55.YOptions = ((global::Gtk.AttachOptions)(0)); w18.Add(this.table1); this.GtkScrolledWindow4.Add(w18); this.notebook1.Add(this.GtkScrolledWindow4); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Информация"); this.notebook1.SetTabLabel(this.GtkScrolledWindow4, this.label1); this.label1.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.datatable2 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.datatable2.Name = "datatable2"; this.datatable2.RowSpacing = ((uint)(6)); this.datatable2.ColumnSpacing = ((uint)(6)); this.datatable2.BorderWidth = ((uint)(6)); // Container child datatable2.Gtk.Table+TableChild this.dataentryFinancialContact = new global::Gamma.Widgets.yEntryReferenceVM(); this.dataentryFinancialContact.Events = ((global::Gdk.EventMask)(256)); this.dataentryFinancialContact.Name = "dataentryFinancialContact"; this.datatable2.Add(this.dataentryFinancialContact); global::Gtk.Table.TableChild w59 = ((global::Gtk.Table.TableChild)(this.datatable2[this.dataentryFinancialContact])); w59.TopAttach = ((uint)(3)); w59.BottomAttach = ((uint)(4)); w59.LeftAttach = ((uint)(1)); w59.RightAttach = ((uint)(2)); w59.XOptions = ((global::Gtk.AttachOptions)(4)); w59.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.dataentryMainContact = new global::Gamma.Widgets.yEntryReferenceVM(); this.dataentryMainContact.Events = ((global::Gdk.EventMask)(256)); this.dataentryMainContact.Name = "dataentryMainContact"; this.datatable2.Add(this.dataentryMainContact); global::Gtk.Table.TableChild w60 = ((global::Gtk.Table.TableChild)(this.datatable2[this.dataentryMainContact])); w60.TopAttach = ((uint)(2)); w60.BottomAttach = ((uint)(3)); w60.LeftAttach = ((uint)(1)); w60.RightAttach = ((uint)(2)); w60.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.emailsView = new global::QSContacts.EmailsView(); this.emailsView.Events = ((global::Gdk.EventMask)(256)); this.emailsView.Name = "emailsView"; this.datatable2.Add(this.emailsView); global::Gtk.Table.TableChild w61 = ((global::Gtk.Table.TableChild)(this.datatable2[this.emailsView])); w61.TopAttach = ((uint)(1)); w61.BottomAttach = ((uint)(2)); w61.LeftAttach = ((uint)(1)); w61.RightAttach = ((uint)(2)); w61.XOptions = ((global::Gtk.AttachOptions)(4)); w61.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Общий e-mail:"); this.datatable2.Add(this.label11); global::Gtk.Table.TableChild w62 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label11])); w62.TopAttach = ((uint)(1)); w62.BottomAttach = ((uint)(2)); w62.XOptions = ((global::Gtk.AttachOptions)(4)); w62.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.Xalign = 1F; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Главное контактное лицо:"); this.datatable2.Add(this.label12); global::Gtk.Table.TableChild w63 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label12])); w63.TopAttach = ((uint)(2)); w63.BottomAttach = ((uint)(3)); w63.XOptions = ((global::Gtk.AttachOptions)(4)); w63.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.Xalign = 1F; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Контактное лицо по \nфинансовым вопросам:"); this.label13.UseMarkup = true; this.datatable2.Add(this.label13); global::Gtk.Table.TableChild w64 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label13])); w64.TopAttach = ((uint)(3)); w64.BottomAttach = ((uint)(4)); w64.XOptions = ((global::Gtk.AttachOptions)(4)); w64.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.label18 = new global::Gtk.Label(); this.label18.Name = "label18"; this.label18.Xalign = 1F; this.label18.LabelProp = global::Mono.Unix.Catalog.GetString("Общие телефоны:"); this.datatable2.Add(this.label18); global::Gtk.Table.TableChild w65 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label18])); w65.XOptions = ((global::Gtk.AttachOptions)(4)); w65.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.phonesView = new global::QSContacts.PhonesView(); this.phonesView.Events = ((global::Gdk.EventMask)(256)); this.phonesView.Name = "phonesView"; this.datatable2.Add(this.phonesView); global::Gtk.Table.TableChild w66 = ((global::Gtk.Table.TableChild)(this.datatable2[this.phonesView])); w66.LeftAttach = ((uint)(1)); w66.RightAttach = ((uint)(2)); w66.XOptions = ((global::Gtk.AttachOptions)(4)); w66.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebook1.Add(this.datatable2); global::Gtk.Notebook.NotebookChild w67 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.datatable2])); w67.Position = 1; // Notebook tab this.label20 = new global::Gtk.Label(); this.label20.Name = "label20"; this.label20.LabelProp = global::Mono.Unix.Catalog.GetString("Контакты"); this.notebook1.SetTabLabel(this.datatable2, this.label20); this.label20.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; this.vbox6.BorderWidth = ((uint)(6)); // Container child vbox6.Gtk.Box+BoxChild this.datatable4 = new global::Gtk.Table(((uint)(3)), ((uint)(4)), false); this.datatable4.Name = "datatable4"; this.datatable4.RowSpacing = ((uint)(6)); this.datatable4.ColumnSpacing = ((uint)(6)); // Container child datatable4.Gtk.Table+TableChild this.entryJurAddress = new global::Gamma.GtkWidgets.yEntry(); this.entryJurAddress.CanFocus = true; this.entryJurAddress.Name = "entryJurAddress"; this.entryJurAddress.IsEditable = true; this.entryJurAddress.InvisibleChar = '●'; this.datatable4.Add(this.entryJurAddress); global::Gtk.Table.TableChild w68 = ((global::Gtk.Table.TableChild)(this.datatable4[this.entryJurAddress])); w68.TopAttach = ((uint)(2)); w68.BottomAttach = ((uint)(3)); w68.LeftAttach = ((uint)(1)); w68.RightAttach = ((uint)(2)); w68.XOptions = ((global::Gtk.AttachOptions)(4)); w68.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label17 = new global::Gtk.Label(); this.label17.Name = "label17"; this.label17.Xalign = 1F; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString("В лице:"); this.datatable4.Add(this.label17); global::Gtk.Table.TableChild w69 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label17])); w69.TopAttach = ((uint)(1)); w69.BottomAttach = ((uint)(2)); w69.LeftAttach = ((uint)(2)); w69.RightAttach = ((uint)(3)); w69.XOptions = ((global::Gtk.AttachOptions)(4)); w69.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label27 = new global::Gtk.Label(); this.label27.Name = "label27"; this.label27.Xalign = 1F; this.label27.LabelProp = global::Mono.Unix.Catalog.GetString("ИНН:"); this.datatable4.Add(this.label27); global::Gtk.Table.TableChild w70 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label27])); w70.XOptions = ((global::Gtk.AttachOptions)(4)); w70.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label28 = new global::Gtk.Label(); this.label28.Name = "label28"; this.label28.Xalign = 1F; this.label28.LabelProp = global::Mono.Unix.Catalog.GetString("КПП:"); this.datatable4.Add(this.label28); global::Gtk.Table.TableChild w71 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label28])); w71.TopAttach = ((uint)(1)); w71.BottomAttach = ((uint)(2)); w71.XOptions = ((global::Gtk.AttachOptions)(4)); w71.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label29 = new global::Gtk.Label(); this.label29.Name = "label29"; this.label29.Xalign = 1F; this.label29.LabelProp = global::Mono.Unix.Catalog.GetString("Юр. адрес:"); this.datatable4.Add(this.label29); global::Gtk.Table.TableChild w72 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label29])); w72.TopAttach = ((uint)(2)); w72.BottomAttach = ((uint)(3)); w72.XOptions = ((global::Gtk.AttachOptions)(4)); w72.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label32 = new global::Gtk.Label(); this.label32.Name = "label32"; this.label32.Xalign = 1F; this.label32.LabelProp = global::Mono.Unix.Catalog.GetString("На основании:"); this.datatable4.Add(this.label32); global::Gtk.Table.TableChild w73 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label32])); w73.TopAttach = ((uint)(2)); w73.BottomAttach = ((uint)(3)); w73.LeftAttach = ((uint)(2)); w73.RightAttach = ((uint)(3)); w73.XOptions = ((global::Gtk.AttachOptions)(4)); w73.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("ФИО для договора:"); this.datatable4.Add(this.label7); global::Gtk.Table.TableChild w74 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label7])); w74.LeftAttach = ((uint)(2)); w74.RightAttach = ((uint)(3)); w74.XOptions = ((global::Gtk.AttachOptions)(4)); w74.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.validatedINN = new global::Gamma.Widgets.yValidatedEntry(); this.validatedINN.CanFocus = true; this.validatedINN.Name = "validatedINN"; this.validatedINN.IsEditable = true; this.validatedINN.MaxLength = 12; this.validatedINN.InvisibleChar = '●'; this.datatable4.Add(this.validatedINN); global::Gtk.Table.TableChild w75 = ((global::Gtk.Table.TableChild)(this.datatable4[this.validatedINN])); w75.LeftAttach = ((uint)(1)); w75.RightAttach = ((uint)(2)); w75.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.validatedKPP = new global::Gamma.Widgets.yValidatedEntry(); this.validatedKPP.CanFocus = true; this.validatedKPP.Name = "validatedKPP"; this.validatedKPP.IsEditable = true; this.validatedKPP.MaxLength = 9; this.validatedKPP.InvisibleChar = '●'; this.datatable4.Add(this.validatedKPP); global::Gtk.Table.TableChild w76 = ((global::Gtk.Table.TableChild)(this.datatable4[this.validatedKPP])); w76.TopAttach = ((uint)(1)); w76.BottomAttach = ((uint)(2)); w76.LeftAttach = ((uint)(1)); w76.RightAttach = ((uint)(2)); w76.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.yentrySignBaseOf = new global::Gamma.GtkWidgets.yEntry(); this.yentrySignBaseOf.CanFocus = true; this.yentrySignBaseOf.Name = "yentrySignBaseOf"; this.yentrySignBaseOf.IsEditable = true; this.yentrySignBaseOf.InvisibleChar = '●'; this.datatable4.Add(this.yentrySignBaseOf); global::Gtk.Table.TableChild w77 = ((global::Gtk.Table.TableChild)(this.datatable4[this.yentrySignBaseOf])); w77.TopAttach = ((uint)(2)); w77.BottomAttach = ((uint)(3)); w77.LeftAttach = ((uint)(3)); w77.RightAttach = ((uint)(4)); w77.XOptions = ((global::Gtk.AttachOptions)(4)); w77.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.yentrySignFIO = new global::Gamma.GtkWidgets.yEntry(); this.yentrySignFIO.CanFocus = true; this.yentrySignFIO.Name = "yentrySignFIO"; this.yentrySignFIO.IsEditable = true; this.yentrySignFIO.InvisibleChar = '●'; this.datatable4.Add(this.yentrySignFIO); global::Gtk.Table.TableChild w78 = ((global::Gtk.Table.TableChild)(this.datatable4[this.yentrySignFIO])); w78.LeftAttach = ((uint)(3)); w78.RightAttach = ((uint)(4)); w78.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.yentrySignPost = new global::Gamma.GtkWidgets.yEntry(); this.yentrySignPost.CanFocus = true; this.yentrySignPost.Name = "yentrySignPost"; this.yentrySignPost.IsEditable = true; this.yentrySignPost.InvisibleChar = '●'; this.datatable4.Add(this.yentrySignPost); global::Gtk.Table.TableChild w79 = ((global::Gtk.Table.TableChild)(this.datatable4[this.yentrySignPost])); w79.TopAttach = ((uint)(1)); w79.BottomAttach = ((uint)(2)); w79.LeftAttach = ((uint)(3)); w79.RightAttach = ((uint)(4)); w79.XOptions = ((global::Gtk.AttachOptions)(4)); w79.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox6.Add(this.datatable4); global::Gtk.Box.BoxChild w80 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.datatable4])); w80.Position = 0; w80.Expand = false; w80.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.accountsView = new global::QSBanks.AccountsView(); this.accountsView.Events = ((global::Gdk.EventMask)(256)); this.accountsView.Name = "accountsView"; this.vbox6.Add(this.accountsView); global::Gtk.Box.BoxChild w81 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.accountsView])); w81.Position = 1; this.notebook1.Add(this.vbox6); global::Gtk.Notebook.NotebookChild w82 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox6])); w82.Position = 2; // Notebook tab this.label21 = new global::Gtk.Label(); this.label21.Name = "label21"; this.label21.LabelProp = global::Mono.Unix.Catalog.GetString("Реквизиты"); this.notebook1.SetTabLabel(this.vbox6, this.label21); this.label21.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.datatable3 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.datatable3.Name = "datatable3"; this.datatable3.RowSpacing = ((uint)(6)); this.datatable3.ColumnSpacing = ((uint)(6)); this.datatable3.BorderWidth = ((uint)(6)); // Container child datatable3.Gtk.Table+TableChild this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.Xalign = 1F; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Менеджер по продажам:"); this.datatable3.Add(this.label14); global::Gtk.Table.TableChild w83 = ((global::Gtk.Table.TableChild)(this.datatable3[this.label14])); w83.XOptions = ((global::Gtk.AttachOptions)(4)); w83.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable3.Gtk.Table+TableChild this.label22 = new global::Gtk.Label(); this.label22.Name = "label22"; this.label22.Xalign = 1F; this.label22.LabelProp = global::Mono.Unix.Catalog.GetString("Бухгалтер:"); this.datatable3.Add(this.label22); global::Gtk.Table.TableChild w84 = ((global::Gtk.Table.TableChild)(this.datatable3[this.label22])); w84.TopAttach = ((uint)(1)); w84.BottomAttach = ((uint)(2)); w84.XOptions = ((global::Gtk.AttachOptions)(4)); w84.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable3.Gtk.Table+TableChild this.label23 = new global::Gtk.Label(); this.label23.Name = "label23"; this.label23.Xalign = 1F; this.label23.LabelProp = global::Mono.Unix.Catalog.GetString("Менеджер по бутылям:"); this.datatable3.Add(this.label23); global::Gtk.Table.TableChild w85 = ((global::Gtk.Table.TableChild)(this.datatable3[this.label23])); w85.TopAttach = ((uint)(2)); w85.BottomAttach = ((uint)(3)); w85.XOptions = ((global::Gtk.AttachOptions)(4)); w85.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable3.Gtk.Table+TableChild this.referenceAccountant = new global::Gamma.Widgets.yEntryReference(); this.referenceAccountant.Events = ((global::Gdk.EventMask)(256)); this.referenceAccountant.Name = "referenceAccountant"; this.referenceAccountant.DisplayFields = new string[] { "LastName", "Name", "Patronymic"}; this.referenceAccountant.DisplayFormatString = "{0} {1} {2}"; this.datatable3.Add(this.referenceAccountant); global::Gtk.Table.TableChild w86 = ((global::Gtk.Table.TableChild)(this.datatable3[this.referenceAccountant])); w86.TopAttach = ((uint)(1)); w86.BottomAttach = ((uint)(2)); w86.LeftAttach = ((uint)(1)); w86.RightAttach = ((uint)(2)); w86.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable3.Gtk.Table+TableChild this.referenceBottleManager = new global::Gamma.Widgets.yEntryReference(); this.referenceBottleManager.Events = ((global::Gdk.EventMask)(256)); this.referenceBottleManager.Name = "referenceBottleManager"; this.referenceBottleManager.DisplayFields = new string[] { "LastName", "Name", "Patronymic"}; this.referenceBottleManager.DisplayFormatString = "{0} {1} {2}"; this.datatable3.Add(this.referenceBottleManager); global::Gtk.Table.TableChild w87 = ((global::Gtk.Table.TableChild)(this.datatable3[this.referenceBottleManager])); w87.TopAttach = ((uint)(2)); w87.BottomAttach = ((uint)(3)); w87.LeftAttach = ((uint)(1)); w87.RightAttach = ((uint)(2)); w87.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable3.Gtk.Table+TableChild this.referenceSalesManager = new global::Gamma.Widgets.yEntryReference(); this.referenceSalesManager.Events = ((global::Gdk.EventMask)(256)); this.referenceSalesManager.Name = "referenceSalesManager"; this.referenceSalesManager.DisplayFields = new string[] { "LastName", "Name", "Patronymic"}; this.referenceSalesManager.DisplayFormatString = "{0} {1} {2}"; this.datatable3.Add(this.referenceSalesManager); global::Gtk.Table.TableChild w88 = ((global::Gtk.Table.TableChild)(this.datatable3[this.referenceSalesManager])); w88.LeftAttach = ((uint)(1)); w88.RightAttach = ((uint)(2)); w88.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebook1.Add(this.datatable3); global::Gtk.Notebook.NotebookChild w89 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.datatable3])); w89.Position = 3; // Notebook tab this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Кураторы"); this.notebook1.SetTabLabel(this.datatable3, this.label10); this.label10.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.contactsview1 = new global::Vodovoz.ContactsView(); this.contactsview1.Events = ((global::Gdk.EventMask)(256)); this.contactsview1.Name = "contactsview1"; this.notebook1.Add(this.contactsview1); global::Gtk.Notebook.NotebookChild w90 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.contactsview1])); w90.Position = 4; // Notebook tab this.label24 = new global::Gtk.Label(); this.label24.Name = "label24"; this.label24.LabelProp = global::Mono.Unix.Catalog.GetString("Контактные лица"); this.notebook1.SetTabLabel(this.contactsview1, this.label24); this.label24.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.proxiesview1 = new global::Vodovoz.ProxyView(); this.proxiesview1.Events = ((global::Gdk.EventMask)(256)); this.proxiesview1.Name = "proxiesview1"; this.notebook1.Add(this.proxiesview1); global::Gtk.Notebook.NotebookChild w91 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.proxiesview1])); w91.Position = 5; // Notebook tab this.label30 = new global::Gtk.Label(); this.label30.Name = "label30"; this.label30.LabelProp = global::Mono.Unix.Catalog.GetString("Доверенности"); this.notebook1.SetTabLabel(this.proxiesview1, this.label30); this.label30.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.counterpartyContractsView = new global::Vodovoz.CounterpartyContractsView(); this.counterpartyContractsView.Events = ((global::Gdk.EventMask)(256)); this.counterpartyContractsView.Name = "counterpartyContractsView"; this.notebook1.Add(this.counterpartyContractsView); global::Gtk.Notebook.NotebookChild w92 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.counterpartyContractsView])); w92.Position = 6; // Notebook tab this.label34 = new global::Gtk.Label(); this.label34.Name = "label34"; this.label34.LabelProp = global::Mono.Unix.Catalog.GetString("Договор"); this.notebook1.SetTabLabel(this.counterpartyContractsView, this.label34); this.label34.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox9 = new global::Gtk.VBox(); this.vbox9.Name = "vbox9"; this.vbox9.Spacing = 6; this.vbox9.BorderWidth = ((uint)(6)); // Container child vbox9.Gtk.Box+BoxChild this.deliveryPointView = new global::Vodovoz.DeliveryPointView(); this.deliveryPointView.Events = ((global::Gdk.EventMask)(256)); this.deliveryPointView.Name = "deliveryPointView"; this.vbox9.Add(this.deliveryPointView); global::Gtk.Box.BoxChild w93 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.deliveryPointView])); w93.Position = 0; this.notebook1.Add(this.vbox9); global::Gtk.Notebook.NotebookChild w94 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox9])); w94.Position = 7; // Notebook tab this.label40 = new global::Gtk.Label(); this.label40.Name = "label40"; this.label40.LabelProp = global::Mono.Unix.Catalog.GetString("Точки доставки"); this.notebook1.SetTabLabel(this.vbox9, this.label40); this.label40.ShowAll(); this.vbox2.Add(this.notebook1); global::Gtk.Box.BoxChild w95 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.notebook1])); w95.Position = 3; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.labelDefaultExpense.Hide(); this.referenceDefaultExpense.Hide(); this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.radioInfo.Toggled += new global::System.EventHandler(this.OnRadioInfoToggled); this.radioContacts.Toggled += new global::System.EventHandler(this.OnRadioContactsToggled); this.radioDetails.Toggled += new global::System.EventHandler(this.OnRadioDetailsToggled); this.radioCurators.Toggled += new global::System.EventHandler(this.OnRadioCuratorsToggled); this.radioContactPersons.Toggled += new global::System.EventHandler(this.OnRadioContactPersonsToggled); this.radiobuttonProxies.Toggled += new global::System.EventHandler(this.OnRadiobuttonProxiesToggled); this.radioContracts.Toggled += new global::System.EventHandler(this.OnRadioContractsToggled); this.radioDeliveryPoint.Toggled += new global::System.EventHandler(this.OnRadioDeliveryPointToggled); this.checkSupplier.Toggled += new global::System.EventHandler(this.OnCheckSupplierToggled); this.referencePreviousCounterparty.ChangedByUser += new global::System.EventHandler(this.OnReferencePreviousCounterpartyChangedByUser); this.referenceMainCounterparty.ChangedByUser += new global::System.EventHandler(this.OnReferenceMainCounterpartyChangedByUser); this.enumPersonType.Changed += new global::System.EventHandler(this.OnEnumPersonTypeChanged); this.enumPayment.EnumItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnEnumPaymentEnumItemSelected); this.yentrySignPost.FocusInEvent += new global::Gtk.FocusInEventHandler(this.OnYentrySignPostFocusInEvent); this.yentrySignBaseOf.FocusInEvent += new global::Gtk.FocusInEventHandler(this.OnYentrySignBaseOfFocusInEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.AdvanceReportDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.AdvanceReportDlg"; // Container child Vodovoz.AdvanceReportDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox2.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox2.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(4)), ((uint)(6)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboExpense = new global::Gamma.Widgets.ySpecComboBox (); this.comboExpense.Name = "comboExpense"; this.comboExpense.AddIfNotExist = false; this.comboExpense.DefaultFirst = false; this.comboExpense.ShowSpecialStateAll = false; this.comboExpense.ShowSpecialStateNot = true; this.table1.Add (this.comboExpense); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboExpense])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(4)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.yspinMoney = new global::Gamma.GtkWidgets.ySpinButton (0, 1000000, 100); this.yspinMoney.CanFocus = true; this.yspinMoney.Name = "yspinMoney"; this.yspinMoney.Adjustment.PageIncrement = 1000; this.yspinMoney.ClimbRate = 1; this.yspinMoney.Digits = ((uint)(2)); this.yspinMoney.Numeric = true; this.yspinMoney.ValueAsDecimal = 0m; this.yspinMoney.ValueAsInt = 0; this.hbox5.Add (this.yspinMoney); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.yspinMoney])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel (); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("currencylabel1"); this.hbox5.Add (this.currencylabel1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.currencylabel1])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.table1.Add (this.hbox5); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox5])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hboxDebt = new global::Gtk.HBox (); this.hboxDebt.Name = "hboxDebt"; this.hboxDebt.Spacing = 6; // Container child hboxDebt.Gtk.Box+BoxChild this.labelCurrentDebt = new global::Gtk.Label (); this.labelCurrentDebt.Name = "labelCurrentDebt"; this.labelCurrentDebt.LabelProp = global::Mono.Unix.Catalog.GetString ("label2"); this.hboxDebt.Add (this.labelCurrentDebt); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxDebt [this.labelCurrentDebt])); w10.Position = 0; w10.Expand = false; w10.Fill = false; this.table1.Add (this.hboxDebt); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.hboxDebt])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата:"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(4)); w12.RightAttach = ((uint)(5)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Кассир:"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w13.LeftAttach = ((uint)(4)); w13.RightAttach = ((uint)(5)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Сумма выбранных авансов:"); this.table1.Add (this.label3); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add (this.label4); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add (this.label5); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Подотчетное лицо:"); this.table1.Add (this.label7); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelChangeSum = new global::Gtk.Label (); this.labelChangeSum.Name = "labelChangeSum"; this.labelChangeSum.LabelProp = global::Mono.Unix.Catalog.GetString ("--//--"); this.labelChangeSum.UseMarkup = true; this.table1.Add (this.labelChangeSum); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelChangeSum])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.LeftAttach = ((uint)(3)); w18.RightAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelChangeType = new global::Gtk.Label (); this.labelChangeType.Name = "labelChangeType"; this.labelChangeType.Xalign = 1F; this.labelChangeType.LabelProp = global::Mono.Unix.Catalog.GetString ("--//--"); this.table1.Add (this.labelChangeType); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelChangeType])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.LeftAttach = ((uint)(2)); w19.RightAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelClosingSum = new global::Gtk.Label (); this.labelClosingSum.Name = "labelClosingSum"; this.labelClosingSum.LabelProp = global::Mono.Unix.Catalog.GetString ("--//--"); this.table1.Add (this.labelClosingSum); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelClosingSum])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(3)); w20.RightAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDebtTitle = new global::Gtk.Label (); this.labelDebtTitle.Name = "labelDebtTitle"; this.labelDebtTitle.Xalign = 1F; this.labelDebtTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Текущий долг:"); this.table1.Add (this.labelDebtTitle); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelDebtTitle])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydateDocument = new global::Gamma.Widgets.yDatePicker (); this.ydateDocument.Events = ((global::Gdk.EventMask)(256)); this.ydateDocument.Name = "ydateDocument"; this.ydateDocument.WithTime = false; this.ydateDocument.Date = new global::System.DateTime (0); this.ydateDocument.IsEditable = true; this.ydateDocument.AutoSeparation = true; this.table1.Add (this.ydateDocument); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.ydateDocument])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.LeftAttach = ((uint)(5)); w22.RightAttach = ((uint)(6)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryCasher = new global::Gamma.Widgets.yEntryReference (); this.yentryCasher.Sensitive = false; this.yentryCasher.Events = ((global::Gdk.EventMask)(256)); this.yentryCasher.Name = "yentryCasher"; this.table1.Add (this.yentryCasher); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryCasher])); w23.LeftAttach = ((uint)(5)); w23.RightAttach = ((uint)(6)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryEmploeey = new global::Gamma.Widgets.yEntryReference (); this.yentryEmploeey.Events = ((global::Gdk.EventMask)(256)); this.yentryEmploeey.Name = "yentryEmploeey"; this.table1.Add (this.yentryEmploeey); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryEmploeey])); w24.TopAttach = ((uint)(1)); w24.BottomAttach = ((uint)(2)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add (this.table1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1])); w25.Position = 1; w25.Expand = false; w25.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.labelCreating = new global::Gtk.Label (); this.labelCreating.Name = "labelCreating"; this.labelCreating.Xpad = 9; this.labelCreating.Xalign = 0F; this.labelCreating.LabelProp = global::Mono.Unix.Catalog.GetString ("Рачет не производился"); this.vbox1.Add (this.labelCreating); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.labelCreating])); w26.Position = 2; w26.Expand = false; w26.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.labelTableTitle = new global::Gtk.Label (); this.labelTableTitle.Name = "labelTableTitle"; this.labelTableTitle.Xalign = 0F; this.labelTableTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Последние выданные авансы:"); this.vbox1.Add (this.labelTableTitle); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.labelTableTitle])); w27.Position = 3; w27.Expand = false; w27.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeviewDebts = new global::Gamma.GtkWidgets.yTreeView (); this.ytreeviewDebts.CanFocus = true; this.ytreeviewDebts.Name = "ytreeviewDebts"; this.GtkScrolledWindow1.Add (this.ytreeviewDebts); this.vbox1.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow1])); w29.Position = 4; // Container child vbox1.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Основание:"); this.vbox1.Add (this.label6); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label6])); w30.Position = 5; w30.Expand = false; w30.Fill = false; // Container child vbox1.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.ytextviewDescription = new global::Gamma.GtkWidgets.yTextView (); this.ytextviewDescription.CanFocus = true; this.ytextviewDescription.Name = "ytextviewDescription"; this.ytextviewDescription.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add (this.ytextviewDescription); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w32.Position = 6; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); this.yentryEmploeey.Changed += new global::System.EventHandler (this.OnYentryEmploeeyChanged); this.yspinMoney.ValueChanged += new global::System.EventHandler (this.OnYspinMoneyValueChanged); this.comboExpense.Changed += new global::System.EventHandler (this.OnComboExpenseChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Filters.GtkViews.FineFilterView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Filters.GtkViews.FineFilterView"; // Container child Vodovoz.Filters.GtkViews.FineFilterView.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Подраздление:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydateperiodpickerFineDate = new global::QS.Widgets.GtkUI.DateRangePicker(); this.ydateperiodpickerFineDate.Events = ((global::Gdk.EventMask)(256)); this.ydateperiodpickerFineDate.Name = "ydateperiodpickerFineDate"; this.ydateperiodpickerFineDate.StartDate = new global::System.DateTime(0); this.ydateperiodpickerFineDate.EndDate = new global::System.DateTime(0); this.table1.Add(this.ydateperiodpickerFineDate); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateperiodpickerFineDate])); 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 table1.Gtk.Table+TableChild this.ydateperiodpickerRouteList = new global::QS.Widgets.GtkUI.DateRangePicker(); this.ydateperiodpickerRouteList.Events = ((global::Gdk.EventMask)(256)); this.ydateperiodpickerRouteList.Name = "ydateperiodpickerRouteList"; this.ydateperiodpickerRouteList.StartDate = new global::System.DateTime(0); this.ydateperiodpickerRouteList.EndDate = new global::System.DateTime(0); this.table1.Add(this.ydateperiodpickerRouteList); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateperiodpickerRouteList])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryreferenceSubdivisions = new global::Gamma.Widgets.yEntryReference(); this.yentryreferenceSubdivisions.Events = ((global::Gdk.EventMask)(256)); this.yentryreferenceSubdivisions.Name = "yentryreferenceSubdivisions"; this.table1.Add(this.yentryreferenceSubdivisions); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryreferenceSubdivisions])); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.Xalign = 1F; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата создания штрафа:"); this.table1.Add(this.ylabel1); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.Xalign = 1F; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Дата МЛ:"); this.table1.Add(this.ylabel2); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel2])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.FreeRentPackageDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.FreeRentPackageDlg"; // Container child Vodovoz.FreeRentPackageDlg.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox3.Add(this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.datatable1 = new global::Gtk.Table(((uint)(5)), ((uint)(2)), false); this.datatable1.Name = "datatable1"; this.datatable1.RowSpacing = ((uint)(6)); this.datatable1.ColumnSpacing = ((uint)(6)); this.datatable1.BorderWidth = ((uint)(6)); // Container child datatable1.Gtk.Table+TableChild this.dataentryName = new global::Gamma.GtkWidgets.yEntry(); this.dataentryName.CanFocus = true; this.dataentryName.Name = "dataentryName"; this.dataentryName.IsEditable = true; this.dataentryName.InvisibleChar = '●'; this.datatable1.Add(this.dataentryName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1[this.dataentryName])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.spinDeposit = new global::Gamma.GtkWidgets.ySpinButton(0D, 99999D, 1D); this.spinDeposit.CanFocus = true; this.spinDeposit.Name = "spinDeposit"; this.spinDeposit.Adjustment.PageIncrement = 10D; this.spinDeposit.ClimbRate = 1D; this.spinDeposit.Numeric = true; this.spinDeposit.ValueAsDecimal = 0m; this.spinDeposit.ValueAsInt = 0; this.hbox5.Add(this.spinDeposit); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.spinDeposit])); w7.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.currencylabel2 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel2.Name = "currencylabel2"; this.currencylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel2"); this.hbox5.Add(this.currencylabel2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.currencylabel2])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.datatable1.Add(this.hbox5); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1[this.hbox5])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Минимальное\nкол-во бутылей:"); this.label10.Justify = ((global::Gtk.Justification)(1)); this.datatable1.Add(this.label10); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label10])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.datatable1.Add(this.label11); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label11])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Услуга залога:"); this.datatable1.Add(this.label7); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label7])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Сумма залога:"); this.datatable1.Add(this.label8); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label8])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Вид оборудования:"); this.datatable1.Add(this.label9); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label9])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceDepositService = new global::Gamma.Widgets.yEntryReference(); this.referenceDepositService.Events = ((global::Gdk.EventMask)(256)); this.referenceDepositService.Name = "referenceDepositService"; this.datatable1.Add(this.referenceDepositService); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referenceDepositService])); w15.TopAttach = ((uint)(4)); w15.BottomAttach = ((uint)(5)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceEquipmentKind = new global::Gamma.Widgets.yEntryReference(); this.referenceEquipmentKind.Events = ((global::Gdk.EventMask)(256)); this.referenceEquipmentKind.Name = "referenceEquipmentKind"; this.datatable1.Add(this.referenceEquipmentKind); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referenceEquipmentKind])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.spinMinWaterAmount = new global::Gamma.GtkWidgets.ySpinButton(0D, 100D, 1D); this.spinMinWaterAmount.CanFocus = true; this.spinMinWaterAmount.Name = "spinMinWaterAmount"; this.spinMinWaterAmount.Adjustment.PageIncrement = 10D; this.spinMinWaterAmount.ClimbRate = 1D; this.spinMinWaterAmount.Numeric = true; this.spinMinWaterAmount.ValueAsDecimal = 0m; this.spinMinWaterAmount.ValueAsInt = 0; this.datatable1.Add(this.spinMinWaterAmount); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable1[this.spinMinWaterAmount])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add(this.datatable1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.datatable1])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.CarUnloadDocumentDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.CarUnloadDocumentDlg"; // Container child Vodovoz.CarUnloadDocumentDlg.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(6)); // Container child vbox4.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox5.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox5.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonPrint = new global::Gtk.Button (); this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString ("Печать"); global::Gtk.Image w5 = new global::Gtk.Image (); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w5; this.hbox5.Add (this.buttonPrint); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonPrint])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox4.Add (this.hbox5); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox5])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.tableWriteoff = new global::Gtk.DataBindings.DataTable (((uint)(3)), ((uint)(4)), false); this.tableWriteoff.Name = "tableWriteoff"; this.tableWriteoff.RowSpacing = ((uint)(6)); this.tableWriteoff.ColumnSpacing = ((uint)(6)); this.tableWriteoff.InheritedDataSource = false; this.tableWriteoff.InheritedBoundaryDataSource = false; this.tableWriteoff.InheritedDataSource = false; this.tableWriteoff.InheritedBoundaryDataSource = false; // Container child tableWriteoff.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewCommnet = new global::Gamma.GtkWidgets.yTextView (); this.ytextviewCommnet.CanFocus = true; this.ytextviewCommnet.Name = "ytextviewCommnet"; this.GtkScrolledWindow.Add (this.ytextviewCommnet); this.tableWriteoff.Add (this.GtkScrolledWindow); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.GtkScrolledWindow])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.VscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow1.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytextviewRouteListInfo = new global::Gamma.GtkWidgets.yTextView (); this.ytextviewRouteListInfo.CanFocus = true; this.ytextviewRouteListInfo.Name = "ytextviewRouteListInfo"; this.ytextviewRouteListInfo.Editable = false; this.GtkScrolledWindow1.Add (this.ytextviewRouteListInfo); this.tableWriteoff.Add (this.GtkScrolledWindow1); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.GtkScrolledWindow1])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(3)); w11.RightAttach = ((uint)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата:"); this.tableWriteoff.Add (this.label1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label1])); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Маршрутный лист:"); this.tableWriteoff.Add (this.label2); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label2])); w13.LeftAttach = ((uint)(2)); w13.RightAttach = ((uint)(3)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Информация:"); this.tableWriteoff.Add (this.label3); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label3])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.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.tableWriteoff.Add (this.label4); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label4])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.Yalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Комментарий:"); this.tableWriteoff.Add (this.label5); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label5])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.yentryrefRouteList = new global::Gamma.Widgets.yEntryReferenceVM (); this.yentryrefRouteList.Events = ((global::Gdk.EventMask)(256)); this.yentryrefRouteList.Name = "yentryrefRouteList"; this.tableWriteoff.Add (this.yentryrefRouteList); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.yentryrefRouteList])); w17.LeftAttach = ((uint)(3)); w17.RightAttach = ((uint)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.yentryrefWarehouse = new global::Gamma.Widgets.yEntryReference (); this.yentryrefWarehouse.Events = ((global::Gdk.EventMask)(256)); this.yentryrefWarehouse.Name = "yentryrefWarehouse"; this.tableWriteoff.Add (this.yentryrefWarehouse); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.yentryrefWarehouse])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child tableWriteoff.Gtk.Table+TableChild this.ylabelDate = new global::Gamma.GtkWidgets.yLabel (); this.ylabelDate.Name = "ylabelDate"; this.ylabelDate.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1"); this.tableWriteoff.Add (this.ylabelDate); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.ylabelDate])); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add (this.tableWriteoff); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.tableWriteoff])); w20.Position = 1; w20.Expand = false; w20.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.bottlereceptionview1 = new global::Vodovoz.BottleReceptionView (); this.bottlereceptionview1.Events = ((global::Gdk.EventMask)(256)); this.bottlereceptionview1.Name = "bottlereceptionview1"; this.vbox1.Add (this.bottlereceptionview1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.bottlereceptionview1])); w21.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.equipmentreceptionview1 = new global::Vodovoz.EquipmentReceptionView (); this.equipmentreceptionview1.Events = ((global::Gdk.EventMask)(256)); this.equipmentreceptionview1.Name = "equipmentreceptionview1"; this.vbox1.Add (this.equipmentreceptionview1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.equipmentreceptionview1])); w22.Position = 1; this.hbox4.Add (this.vbox1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox1])); w23.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.returnsreceptionview1 = new global::Vodovoz.ReturnsReceptionView (); this.returnsreceptionview1.Events = ((global::Gdk.EventMask)(256)); this.returnsreceptionview1.Name = "returnsreceptionview1"; this.hbox4.Add (this.returnsreceptionview1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.returnsreceptionview1])); w24.Position = 1; this.vbox4.Add (this.hbox4); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox4])); w25.Position = 2; this.Add (this.vbox4); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); this.buttonPrint.Clicked += new global::System.EventHandler (this.OnButtonPrintClicked); this.yentryrefWarehouse.Changed += new global::System.EventHandler (this.OnYentryrefWarehouseChanged); this.yentryrefRouteList.Changed += new global::System.EventHandler (this.OnYentryrefRouteListChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.CashIncomeDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.CashIncomeDlg"; // Container child Vodovoz.CashIncomeDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox2.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox2.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonPrint = new global::Gtk.Button(); this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w5; this.hbox2.Add(this.buttonPrint); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonPrint])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.hboxSubdivision = new global::Gtk.HBox(); this.hboxSubdivision.Name = "hboxSubdivision"; this.hboxSubdivision.Spacing = 6; // Container child hboxSubdivision.Gtk.Box+BoxChild this.accessfilteredsubdivisionselectorwidget = new global::Vodovoz.Core.Permissions.AccessFilteredSubdivisionSelectorWidget(); this.accessfilteredsubdivisionselectorwidget.Events = ((global::Gdk.EventMask)(256)); this.accessfilteredsubdivisionselectorwidget.Name = "accessfilteredsubdivisionselectorwidget"; this.accessfilteredsubdivisionselectorwidget.NeedChooseSubdivision = false; this.hboxSubdivision.Add(this.accessfilteredsubdivisionselectorwidget); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxSubdivision[this.accessfilteredsubdivisionselectorwidget])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 2; w7.Expand = false; w7.Fill = false; this.hbox2.Add(this.hboxSubdivision); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.hboxSubdivision])); w8.Position = 3; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(9)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checkNoClose = new global::Gamma.GtkWidgets.yCheckButton(); this.checkNoClose.CanFocus = true; this.checkNoClose.Name = "checkNoClose"; this.checkNoClose.Label = global::Mono.Unix.Catalog.GetString("Частичный возврат"); this.checkNoClose.DrawIndicator = true; this.checkNoClose.UseUnderline = true; this.table1.Add(this.checkNoClose); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.checkNoClose])); w10.TopAttach = ((uint)(7)); w10.BottomAttach = ((uint)(8)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboCategory = new global::Gamma.Widgets.ySpecComboBox(); this.comboCategory.Name = "comboCategory"; this.comboCategory.AddIfNotExist = false; this.comboCategory.DefaultFirst = false; this.comboCategory.ShowSpecialStateAll = false; this.comboCategory.ShowSpecialStateNot = true; this.table1.Add(this.comboCategory); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.comboCategory])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboExpense = new global::Gamma.Widgets.ySpecComboBox(); this.comboExpense.Name = "comboExpense"; this.comboExpense.AddIfNotExist = false; this.comboExpense.DefaultFirst = false; this.comboExpense.ShowSpecialStateAll = false; this.comboExpense.ShowSpecialStateNot = true; this.table1.Add(this.comboExpense); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.comboExpense])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumcomboOperation = new global::Gamma.Widgets.yEnumComboBox(); this.enumcomboOperation.Name = "enumcomboOperation"; this.enumcomboOperation.ShowSpecialStateAll = false; this.enumcomboOperation.ShowSpecialStateNot = false; this.enumcomboOperation.UseShortTitle = false; this.enumcomboOperation.DefaultFirst = false; this.table1.Add(this.enumcomboOperation); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.enumcomboOperation])); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.yspinMoney = new global::Gamma.GtkWidgets.ySpinButton(0D, 2147483647D, 100D); this.yspinMoney.CanDefault = true; this.yspinMoney.CanFocus = true; this.yspinMoney.Name = "yspinMoney"; this.yspinMoney.Adjustment.PageIncrement = 1000D; this.yspinMoney.ClimbRate = 1D; this.yspinMoney.Digits = ((uint)(2)); this.yspinMoney.Numeric = true; this.yspinMoney.ValueAsDecimal = 0m; this.yspinMoney.ValueAsInt = 0; this.hbox7.Add(this.yspinMoney); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.yspinMoney])); w14.Position = 0; // Container child hbox7.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.hbox7.Add(this.currencylabel1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.currencylabel1])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.table1.Add(this.hbox7); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox7])); w16.TopAttach = ((uint)(8)); w16.BottomAttach = ((uint)(9)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Кассир:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w18.LeftAttach = ((uint)(2)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Тип операции:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label5); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w20.TopAttach = ((uint)(8)); w20.BottomAttach = ((uint)(9)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelClientTitle = new global::Gtk.Label(); this.labelClientTitle.Name = "labelClientTitle"; this.labelClientTitle.Xalign = 1F; this.labelClientTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Клиент:"); this.table1.Add(this.labelClientTitle); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.labelClientTitle])); w21.TopAttach = ((uint)(5)); w21.BottomAttach = ((uint)(6)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelEmploeey = new global::Gtk.Label(); this.labelEmploeey.Name = "labelEmploeey"; this.labelEmploeey.Xalign = 1F; this.labelEmploeey.LabelProp = global::Mono.Unix.Catalog.GetString("Сотрудник:"); this.table1.Add(this.labelEmploeey); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.labelEmploeey])); w22.TopAttach = ((uint)(6)); w22.BottomAttach = ((uint)(7)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelExpenseTitle = new global::Gtk.Label(); this.labelExpenseTitle.Name = "labelExpenseTitle"; this.labelExpenseTitle.Xalign = 1F; this.labelExpenseTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.table1.Add(this.labelExpenseTitle); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.labelExpenseTitle])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelIncomeTitle = new global::Gtk.Label(); this.labelIncomeTitle.Name = "labelIncomeTitle"; this.labelIncomeTitle.Xalign = 1F; this.labelIncomeTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Статья дохода:"); this.table1.Add(this.labelIncomeTitle); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.labelIncomeTitle])); w24.TopAttach = ((uint)(1)); w24.BottomAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblRouteList = new global::Gtk.Label(); this.lblRouteList.Name = "lblRouteList"; this.lblRouteList.Xalign = 1F; this.lblRouteList.LabelProp = global::Mono.Unix.Catalog.GetString("Маршрутный лист:"); this.table1.Add(this.lblRouteList); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.lblRouteList])); w25.TopAttach = ((uint)(3)); w25.BottomAttach = ((uint)(4)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.specialListCmbOrganisation = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.specialListCmbOrganisation.Name = "specialListCmbOrganisation"; this.specialListCmbOrganisation.AddIfNotExist = false; this.specialListCmbOrganisation.DefaultFirst = false; this.specialListCmbOrganisation.ShowSpecialStateAll = false; this.specialListCmbOrganisation.ShowSpecialStateNot = false; this.table1.Add(this.specialListCmbOrganisation); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.specialListCmbOrganisation])); w26.TopAttach = ((uint)(4)); w26.BottomAttach = ((uint)(5)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydateDocument = new global::QS.Widgets.GtkUI.DatePicker(); this.ydateDocument.Events = ((global::Gdk.EventMask)(256)); this.ydateDocument.Name = "ydateDocument"; this.ydateDocument.WithTime = false; this.ydateDocument.HideCalendarButton = false; this.ydateDocument.Date = new global::System.DateTime(0); this.ydateDocument.IsEditable = true; this.ydateDocument.AutoSeparation = true; this.table1.Add(this.ydateDocument); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateDocument])); w27.TopAttach = ((uint)(1)); w27.BottomAttach = ((uint)(2)); w27.LeftAttach = ((uint)(3)); w27.RightAttach = ((uint)(4)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryCasher = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryCasher.Sensitive = false; this.yentryCasher.Events = ((global::Gdk.EventMask)(256)); this.yentryCasher.Name = "yentryCasher"; this.table1.Add(this.yentryCasher); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryCasher])); w28.LeftAttach = ((uint)(3)); w28.RightAttach = ((uint)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryClient = new global::Gamma.Widgets.yEntryReference(); this.yentryClient.Events = ((global::Gdk.EventMask)(256)); this.yentryClient.Name = "yentryClient"; this.table1.Add(this.yentryClient); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryClient])); w29.TopAttach = ((uint)(5)); w29.BottomAttach = ((uint)(6)); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryEmployee = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryEmployee.Events = ((global::Gdk.EventMask)(256)); this.yentryEmployee.Name = "yentryEmployee"; this.table1.Add(this.yentryEmployee); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryEmployee])); w30.TopAttach = ((uint)(6)); w30.BottomAttach = ((uint)(7)); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(2)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yEntryRouteList = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yEntryRouteList.Events = ((global::Gdk.EventMask)(256)); this.yEntryRouteList.Name = "yEntryRouteList"; this.table1.Add(this.yEntryRouteList); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1[this.yEntryRouteList])); w31.TopAttach = ((uint)(3)); w31.BottomAttach = ((uint)(4)); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.Xalign = 1F; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Организация:"); this.table1.Add(this.ylabel1); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1])); w32.TopAttach = ((uint)(4)); w32.BottomAttach = ((uint)(5)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w33.Position = 1; w33.Expand = false; w33.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vboxDebts = new global::Gtk.VBox(); this.vboxDebts.Name = "vboxDebts"; this.vboxDebts.Spacing = 6; this.vboxDebts.BorderWidth = ((uint)(6)); // Container child vboxDebts.Gtk.Box+BoxChild this.labelTableTitle = new global::Gtk.Label(); this.labelTableTitle.Name = "labelTableTitle"; this.labelTableTitle.Xalign = 0F; this.labelTableTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Последние выданные авансы:"); this.vboxDebts.Add(this.labelTableTitle); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vboxDebts[this.labelTableTitle])); w34.Position = 0; w34.Expand = false; w34.Fill = false; // Container child vboxDebts.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeviewDebts = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewDebts.CanFocus = true; this.ytreeviewDebts.Name = "ytreeviewDebts"; this.GtkScrolledWindow1.Add(this.ytreeviewDebts); this.vboxDebts.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vboxDebts[this.GtkScrolledWindow1])); w36.Position = 1; this.vbox1.Add(this.vboxDebts); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vboxDebts])); w37.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Основание:"); this.vbox1.Add(this.label6); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label6])); w38.Position = 3; w38.Expand = false; w38.Fill = false; // Container child vbox1.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.ytextviewDescription = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewDescription.CanFocus = true; this.ytextviewDescription.Name = "ytextviewDescription"; this.ytextviewDescription.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add(this.ytextviewDescription); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w40.Position = 4; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.comboExpense.Hide(); this.labelExpenseTitle.Hide(); this.lblRouteList.Hide(); this.vboxDebts.Hide(); this.Hide(); this.buttonPrint.Clicked += new global::System.EventHandler(this.OnButtonPrintClicked); this.yentryEmployee.Changed += new global::System.EventHandler(this.OnYentryEmployeeChanged); this.enumcomboOperation.EnumItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnEnumcomboOperationEnumItemSelected); this.comboExpense.ItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnComboExpenseItemSelected); this.checkNoClose.Toggled += new global::System.EventHandler(this.OnCheckNoCloseToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Reports.StockMovements global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Reports.StockMovements"; // Container child Vodovoz.Reports.StockMovements.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(7)), ((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.buttonRun = new global::Gtk.Button(); this.buttonRun.Sensitive = false; this.buttonRun.CanFocus = true; this.buttonRun.Name = "buttonRun"; this.buttonRun.UseUnderline = true; this.buttonRun.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.table1.Add(this.buttonRun); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonRun])); w1.TopAttach = ((uint)(6)); w1.BottomAttach = ((uint)(7)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(0)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.dateperiodpicker1 = new global::QS.Widgets.GtkUI.DateRangePicker(); this.dateperiodpicker1.Events = ((global::Gdk.EventMask)(256)); this.dateperiodpicker1.Name = "dateperiodpicker1"; this.dateperiodpicker1.StartDate = new global::System.DateTime(0); this.dateperiodpicker1.EndDate = new global::System.DateTime(0); this.table1.Add(this.dateperiodpicker1); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodpicker1])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytreeSortPriority = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeSortPriority.CanFocus = true; this.ytreeSortPriority.Name = "ytreeSortPriority"; this.GtkScrolledWindow.Add(this.ytreeSortPriority); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w4.TopAttach = ((uint)(5)); w4.BottomAttach = ((uint)(6)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Период:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Склад:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Сортировка ↑↓ :"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w7.TopAttach = ((uint)(5)); w7.BottomAttach = ((uint)(6)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vboxParameters = new global::Gtk.VBox(); this.vboxParameters.Name = "vboxParameters"; this.vboxParameters.Spacing = 6; this.table1.Add(this.vboxParameters); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.vboxParameters])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryrefWarehouse = new global::Gamma.Widgets.yEntryReference(); this.yentryrefWarehouse.Events = ((global::Gdk.EventMask)(256)); this.yentryrefWarehouse.Name = "yentryrefWarehouse"; this.table1.Add(this.yentryrefWarehouse); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryrefWarehouse])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.dateperiodpicker1.PeriodChanged += new global::System.EventHandler(this.OnDateperiodpicker1PeriodChanged); this.buttonRun.Clicked += new global::System.EventHandler(this.OnButtonRunClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Fittings.PriceDlg global::Stetic.BinContainer.Attach(this); this.Name = "Fittings.PriceDlg"; // Container child Fittings.PriceDlg.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); this.hbox7.Add(this.buttonSave); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonSave])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); this.hbox7.Add(this.buttonCancel); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonCancel])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vbox3.Add(this.hbox7); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox7])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.table4 = new global::Gtk.Table(((uint)(3)), ((uint)(3)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.buttonLoadFile = new global::Gtk.Button(); this.buttonLoadFile.CanFocus = true; this.buttonLoadFile.Name = "buttonLoadFile"; this.buttonLoadFile.UseUnderline = true; this.buttonLoadFile.Label = global::Mono.Unix.Catalog.GetString("Загрузить из файла"); this.table4.Add(this.buttonLoadFile); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table4 [this.buttonLoadFile])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(2)); w4.RightAttach = ((uint)(3)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.datepicker = new global::Gamma.Widgets.yDatePicker(); this.datepicker.Events = ((global::Gdk.EventMask)(256)); this.datepicker.Name = "datepicker"; this.datepicker.WithTime = false; this.datepicker.Date = new global::System.DateTime(0); this.datepicker.IsEditable = true; this.datepicker.AutoSeparation = false; this.table4.Add(this.datepicker); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table4 [this.datepicker])); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.commentTextview = new global::Gamma.GtkWidgets.yTextView(); this.commentTextview.CanFocus = true; this.commentTextview.Name = "commentTextview"; this.GtkScrolledWindow.Add(this.commentTextview); this.table4.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table4 [this.GtkScrolledWindow])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(3)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.Xalign = 1F; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.table4.Add(this.label13); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table4 [this.label13])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.Xalign = 1F; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Поставщик:"); this.table4.Add(this.label14); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table4 [this.label14])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label15 = new global::Gtk.Label(); this.label15.Name = "label15"; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.table4.Add(this.label15); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table4 [this.label15])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.providerReference = new global::Gamma.Widgets.yEntryReference(); this.providerReference.Events = ((global::Gdk.EventMask)(256)); this.providerReference.Name = "providerReference"; this.table4.Add(this.providerReference); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table4 [this.providerReference])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add(this.table4); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.table4])); w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.pricesTreeView = new global::Gamma.GtkWidgets.yTreeView(); this.pricesTreeView.CanFocus = true; this.pricesTreeView.Name = "pricesTreeView"; this.GtkScrolledWindow1.Add(this.pricesTreeView); this.vbox3.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow1])); w14.Position = 2; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.buttonAdd = new global::Gtk.Button(); this.buttonAdd.CanFocus = true; this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.UseUnderline = true; this.buttonAdd.Label = global::Mono.Unix.Catalog.GetString("Добавить"); this.hbox3.Add(this.buttonAdd); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.buttonAdd])); w15.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.buttonEdit1 = new global::Gtk.Button(); this.buttonEdit1.CanFocus = true; this.buttonEdit1.Name = "buttonEdit1"; this.buttonEdit1.UseUnderline = true; this.buttonEdit1.Label = global::Mono.Unix.Catalog.GetString("Изменить"); this.hbox3.Add(this.buttonEdit1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.buttonEdit1])); w16.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.buttonRemove = new global::Gtk.Button(); this.buttonRemove.CanFocus = true; this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.UseUnderline = true; this.buttonRemove.Label = global::Mono.Unix.Catalog.GetString("Удалить"); this.hbox3.Add(this.buttonRemove); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.buttonRemove])); w17.Position = 2; this.vbox3.Add(this.hbox3); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3])); w18.Position = 3; w18.Expand = false; w18.Fill = false; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.buttonLoadFile.Clicked += new global::System.EventHandler(this.OnButtonLoadFileClicked); this.buttonAdd.Clicked += new global::System.EventHandler(this.OnButtonAddClicked); this.buttonEdit1.Clicked += new global::System.EventHandler(this.OnButtonEdit1Clicked); this.buttonRemove.Clicked += new global::System.EventHandler(this.OnButtonRemoveClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.JournalViewers.RouteListJournalFilterView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.JournalViewers.RouteListJournalFilterView"; // Container child Vodovoz.JournalViewers.RouteListJournalFilterView.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(7)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.buttonStatusAll = new global::Gtk.Button(); this.buttonStatusAll.CanFocus = true; this.buttonStatusAll.Name = "buttonStatusAll"; this.buttonStatusAll.UseUnderline = true; this.buttonStatusAll.Label = global::Mono.Unix.Catalog.GetString("Выбрать все"); this.table1.Add(this.buttonStatusAll); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonStatusAll])); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.buttonStatusNone = new global::Gtk.Button(); this.buttonStatusNone.CanFocus = true; this.buttonStatusNone.Name = "buttonStatusNone"; this.buttonStatusNone.UseUnderline = true; this.buttonStatusNone.Label = global::Mono.Unix.Catalog.GetString("Снять выбор"); this.table1.Add(this.buttonStatusNone); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonStatusNone])); 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 table1.Gtk.Table+TableChild this.dateperiodOrders = new global::QS.Widgets.GtkUI.DateRangePicker(); this.dateperiodOrders.Events = ((global::Gdk.EventMask)(256)); this.dateperiodOrders.Name = "dateperiodOrders"; this.dateperiodOrders.StartDate = new global::System.DateTime(0); this.dateperiodOrders.EndDate = new global::System.DateTime(0); this.table1.Add(this.dateperiodOrders); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodOrders])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(3)); w3.RightAttach = ((uint)(4)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.WidthRequest = 220; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytreeviewRouteListStatuses = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewRouteListStatuses.CanFocus = true; this.ytreeviewRouteListStatuses.Name = "ytreeviewRouteListStatuses"; this.ytreeviewRouteListStatuses.HeadersVisible = false; this.GtkScrolledWindow.Add(this.ytreeviewRouteListStatuses); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w5.BottomAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(0)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Смена:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(4)); w6.RightAttach = ((uint)(5)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Район города:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w7.LeftAttach = ((uint)(2)); w7.RightAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label4); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(2)); w8.RightAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label5); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w9.LeftAttach = ((uint)(4)); w9.RightAttach = ((uint)(5)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryreferenceShift = new global::Gamma.Widgets.yEntryReference(); this.yentryreferenceShift.Events = ((global::Gdk.EventMask)(256)); this.yentryreferenceShift.Name = "yentryreferenceShift"; this.table1.Add(this.yentryreferenceShift); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryreferenceShift])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(5)); w10.RightAttach = ((uint)(6)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yEnumCmbTransport = new global::Gamma.Widgets.yEnumComboBox(); this.yEnumCmbTransport.Name = "yEnumCmbTransport"; this.yEnumCmbTransport.ShowSpecialStateAll = true; this.yEnumCmbTransport.ShowSpecialStateNot = false; this.yEnumCmbTransport.UseShortTitle = false; this.yEnumCmbTransport.DefaultFirst = false; this.table1.Add(this.yEnumCmbTransport); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.yEnumCmbTransport])); w11.LeftAttach = ((uint)(5)); w11.RightAttach = ((uint)(6)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ySpecCmbGeographicGroup = new global::Gamma.Widgets.ySpecComboBox(); this.ySpecCmbGeographicGroup.Name = "ySpecCmbGeographicGroup"; this.ySpecCmbGeographicGroup.AddIfNotExist = false; this.ySpecCmbGeographicGroup.DefaultFirst = false; this.ySpecCmbGeographicGroup.ShowSpecialStateAll = true; this.ySpecCmbGeographicGroup.ShowSpecialStateNot = false; this.table1.Add(this.ySpecCmbGeographicGroup); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.ySpecCmbGeographicGroup])); w12.LeftAttach = ((uint)(3)); w12.RightAttach = ((uint)(4)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ytreeviewAddressTypes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewAddressTypes.CanFocus = true; this.ytreeviewAddressTypes.Name = "ytreeviewAddressTypes"; this.ytreeviewAddressTypes.HeadersVisible = false; this.table1.Add(this.ytreeviewAddressTypes); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.ytreeviewAddressTypes])); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(6)); w13.RightAttach = ((uint)(7)); w13.XOptions = ((global::Gtk.AttachOptions)(0)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.ySpecCmbGeographicGroup.ItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnYSpecCmbGeographicGroupItemSelected); this.yEnumCmbTransport.ChangedByUser += new global::System.EventHandler(this.OnYEnumCmbTransportChangedByUser); this.yentryreferenceShift.ChangedByUser += new global::System.EventHandler(this.OnYentryreferenceShiftChangedByUser); this.dateperiodOrders.PeriodChangedByUser += new global::System.EventHandler(this.OnDateperiodOrdersPeriodChangedByUser); this.buttonStatusNone.Clicked += new global::System.EventHandler(this.OnButtonStatusNoneActivated); this.buttonStatusAll.Clicked += new global::System.EventHandler(this.OnButtonStatusAllActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.Payments.PaymentsFromBankClientReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Payments.PaymentsFromBankClientReport"; // Container child Vodovoz.ReportsParameters.Payments.PaymentsFromBankClientReport.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение: "); this.hbox1.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.yentryRefSubdivision = new global::Gamma.Widgets.yEntryReference(); this.yentryRefSubdivision.Events = ((global::Gdk.EventMask)(256)); this.yentryRefSubdivision.Name = "yentryRefSubdivision"; this.hbox1.Add(this.yentryRefSubdivision); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.yentryRefSubdivision])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.checkAllSubdivisions = new global::Gamma.GtkWidgets.yCheckButton(); this.checkAllSubdivisions.CanFocus = true; this.checkAllSubdivisions.Name = "checkAllSubdivisions"; this.checkAllSubdivisions.Label = global::Mono.Unix.Catalog.GetString("Не ограничивать по подразделению"); this.checkAllSubdivisions.DrawIndicator = true; this.checkAllSubdivisions.UseUnderline = true; this.vbox1.Add(this.checkAllSubdivisions); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.checkAllSubdivisions])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.btnCreateReport = new global::Gamma.GtkWidgets.yButton(); this.btnCreateReport.CanFocus = true; this.btnCreateReport.Name = "btnCreateReport"; this.btnCreateReport.UseUnderline = true; this.btnCreateReport.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.vbox1.Add(this.btnCreateReport); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.btnCreateReport])); w5.Position = 3; w5.Expand = false; w5.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget BioGorod.Dialogs.Client.ContractLongLeaseDlg global::Stetic.BinContainer.Attach(this); this.Name = "BioGorod.Dialogs.Client.ContractLongLeaseDlg"; // Container child BioGorod.Dialogs.Client.ContractLongLeaseDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox1.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox1.Add(this.vseparator1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vseparator1])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(5)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Номер:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w7.LeftAttach = ((uint)(2)); w7.RightAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Организация:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Контрагент:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label4); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label5); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(2)); w11.RightAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("В наличии:"); this.table1.Add(this.label6); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.LeftAttach = ((uint)(2)); w12.RightAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.templatewidget1 = new global::QSDocTemplates.TemplateWidget(); this.templatewidget1.Events = ((global::Gdk.EventMask)(256)); this.templatewidget1.Name = "templatewidget1"; this.table1.Add(this.templatewidget1); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.templatewidget1])); w13.BottomAttach = ((uint)(3)); w13.LeftAttach = ((uint)(4)); w13.RightAttach = ((uint)(5)); w13.XOptions = ((global::Gtk.AttachOptions)(0)); w13.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.ycheckOrigin = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckOrigin.CanFocus = true; this.ycheckOrigin.Name = "ycheckOrigin"; this.ycheckOrigin.Label = global::Mono.Unix.Catalog.GetString("Оригинал"); this.ycheckOrigin.DrawIndicator = true; this.ycheckOrigin.UseUnderline = true; this.vbox2.Add(this.ycheckOrigin); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ycheckOrigin])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.ycheckScanned = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckScanned.CanFocus = true; this.ycheckScanned.Name = "ycheckScanned"; this.ycheckScanned.Label = global::Mono.Unix.Catalog.GetString("Скан"); this.ycheckScanned.DrawIndicator = true; this.ycheckScanned.UseUnderline = true; this.vbox2.Add(this.ycheckScanned); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ycheckScanned])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.table1.Add(this.vbox2); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox2])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.LeftAttach = ((uint)(3)); w16.RightAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycheckArchive = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckArchive.CanFocus = true; this.ycheckArchive.Name = "ycheckArchive"; this.ycheckArchive.Label = global::Mono.Unix.Catalog.GetString("Да"); this.ycheckArchive.DrawIndicator = true; this.ycheckArchive.UseUnderline = true; this.table1.Add(this.ycheckArchive); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycheckArchive])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(3)); w17.RightAttach = ((uint)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydateIssue = new global::Gamma.Widgets.yDatePicker(); this.ydateIssue.Events = ((global::Gdk.EventMask)(256)); this.ydateIssue.Name = "ydateIssue"; this.ydateIssue.WithTime = false; this.ydateIssue.Date = new global::System.DateTime(0); this.ydateIssue.IsEditable = true; this.ydateIssue.AutoSeparation = true; this.table1.Add(this.ydateIssue); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.ydateIssue])); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryreferenceCounterparty = new global::Gamma.Widgets.yEntryReferenceVM(); this.yentryreferenceCounterparty.Events = ((global::Gdk.EventMask)(256)); this.yentryreferenceCounterparty.Name = "yentryreferenceCounterparty"; this.table1.Add(this.yentryreferenceCounterparty); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryreferenceCounterparty])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.yentryreferenceOrg = new global::Gamma.Widgets.yEntryReference(); this.yentryreferenceOrg.Events = ((global::Gdk.EventMask)(256)); this.yentryreferenceOrg.Name = "yentryreferenceOrg"; this.table1.Add(this.yentryreferenceOrg); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryreferenceOrg])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelNumber = new global::Gamma.GtkWidgets.yLabel(); this.ylabelNumber.Name = "ylabelNumber"; this.ylabelNumber.Xalign = 0F; this.ylabelNumber.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.table1.Add(this.ylabelNumber); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.ylabelNumber])); w21.LeftAttach = ((uint)(3)); w21.RightAttach = ((uint)(4)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notebookAddresses = new global::Gtk.Notebook(); this.notebookAddresses.CanFocus = true; this.notebookAddresses.Name = "notebookAddresses"; this.notebookAddresses.CurrentPage = 0; // Notebook tab global::Gtk.Label w23 = new global::Gtk.Label(); w23.Visible = true; this.notebookAddresses.Add(w23); this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("page1"); this.notebookAddresses.SetTabLabel(w23, this.label7); this.label7.ShowAll(); this.vbox1.Add(this.notebookAddresses); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebookAddresses])); w24.Position = 2; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.NuanceDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.NuanceDlg"; // Container child Vodovoz.Dialogs.NuanceDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.datatable5 = new global::Gtk.Table(((uint)(6)), ((uint)(4)), false); this.datatable5.Name = "datatable5"; this.datatable5.RowSpacing = ((uint)(6)); this.datatable5.ColumnSpacing = ((uint)(6)); this.datatable5.BorderWidth = ((uint)(6)); // Container child datatable5.Gtk.Table+TableChild this.buttonCreateTemplate = new global::Gtk.Button(); this.buttonCreateTemplate.CanFocus = true; this.buttonCreateTemplate.Name = "buttonCreateTemplate"; this.buttonCreateTemplate.UseUnderline = true; this.buttonCreateTemplate.Label = global::Mono.Unix.Catalog.GetString("Создать шаблон"); this.datatable5.Add(this.buttonCreateTemplate); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable5[this.buttonCreateTemplate])); w6.TopAttach = ((uint)(5)); w6.BottomAttach = ((uint)(6)); w6.LeftAttach = ((uint)(3)); w6.RightAttach = ((uint)(4)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child datatable5.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.representationtreeview1 = new global::QSOrmProject.RepresentationTreeView(); this.representationtreeview1.CanFocus = true; this.representationtreeview1.Name = "representationtreeview1"; this.GtkScrolledWindow.Add(this.representationtreeview1); this.datatable5.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable5[this.GtkScrolledWindow])); w8.TopAttach = ((uint)(3)); w8.BottomAttach = ((uint)(4)); w8.RightAttach = ((uint)(3)); // Container child datatable5.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytextCommentFinal = new global::Gamma.GtkWidgets.yTextView(); this.ytextCommentFinal.CanFocus = true; this.ytextCommentFinal.Name = "ytextCommentFinal"; this.GtkScrolledWindow1.Add(this.ytextCommentFinal); this.datatable5.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable5[this.GtkScrolledWindow1])); w10.TopAttach = ((uint)(5)); w10.BottomAttach = ((uint)(6)); w10.RightAttach = ((uint)(3)); w10.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child datatable5.Gtk.Table+TableChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSelectTemplate = new global::Gtk.Button(); this.buttonSelectTemplate.CanFocus = true; this.buttonSelectTemplate.Name = "buttonSelectTemplate"; this.buttonSelectTemplate.UseUnderline = true; this.buttonSelectTemplate.Label = global::Mono.Unix.Catalog.GetString("Выбрать шаблон"); this.hbox1.Add(this.buttonSelectTemplate); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSelectTemplate])); w11.Position = 0; w11.Expand = false; w11.Fill = false; this.datatable5.Add(this.hbox1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable5[this.hbox1])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 0F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Автор:"); this.datatable5.Add(this.label11); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable5[this.label11])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(3)); w13.RightAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.referenceAuthor = new global::Gamma.Widgets.yEntryReference(); this.referenceAuthor.Sensitive = false; this.referenceAuthor.Events = ((global::Gdk.EventMask)(256)); this.referenceAuthor.Name = "referenceAuthor"; this.datatable5.Add(this.referenceAuthor); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatable5[this.referenceAuthor])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.LeftAttach = ((uint)(3)); w14.RightAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.searchentity2 = new global::QSWidgetLib.SearchEntity(); this.searchentity2.Events = ((global::Gdk.EventMask)(256)); this.searchentity2.Name = "searchentity2"; this.datatable5.Add(this.searchentity2); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable5[this.searchentity2])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.table2 = new global::Gtk.Table(((uint)(13)), ((uint)(1)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.checkCommentFixed = new global::Gamma.GtkWidgets.yCheckButton(); this.checkCommentFixed.CanFocus = true; this.checkCommentFixed.Name = "checkCommentFixed"; this.checkCommentFixed.Label = global::Mono.Unix.Catalog.GetString("Фиксированный"); this.checkCommentFixed.Active = true; this.checkCommentFixed.DrawIndicator = true; this.checkCommentFixed.UseUnderline = true; this.checkCommentFixed.Xalign = 0F; this.table2.Add(this.checkCommentFixed); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2[this.checkCommentFixed])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.enumAncorPoint = new global::Gamma.Widgets.yEnumComboBox(); this.enumAncorPoint.Name = "enumAncorPoint"; this.enumAncorPoint.ShowSpecialStateAll = false; this.enumAncorPoint.ShowSpecialStateNot = false; this.enumAncorPoint.UseShortTitle = false; this.enumAncorPoint.DefaultFirst = false; this.table2.Add(this.enumAncorPoint); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2[this.enumAncorPoint])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.Xalign = 0F; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Поля привязки:"); this.table2.Add(this.label12); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2[this.label12])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.Xalign = 0F; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Клиент:"); this.table2.Add(this.label13); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2[this.label13])); w19.TopAttach = ((uint)(4)); w19.BottomAttach = ((uint)(5)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Точка доставки:"); this.table2.Add(this.label3); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table2[this.label3])); w20.TopAttach = ((uint)(6)); w20.BottomAttach = ((uint)(7)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Заказ:"); this.table2.Add(this.label4); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table2[this.label4])); w21.TopAttach = ((uint)(8)); w21.BottomAttach = ((uint)(9)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.referenceClient = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.referenceClient.Events = ((global::Gdk.EventMask)(256)); this.referenceClient.Name = "referenceClient"; this.table2.Add(this.referenceClient); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table2[this.referenceClient])); w22.TopAttach = ((uint)(5)); w22.BottomAttach = ((uint)(6)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.referenceDeliveryPoint = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.referenceDeliveryPoint.Events = ((global::Gdk.EventMask)(256)); this.referenceDeliveryPoint.Name = "referenceDeliveryPoint"; this.table2.Add(this.referenceDeliveryPoint); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table2[this.referenceDeliveryPoint])); w23.TopAttach = ((uint)(7)); w23.BottomAttach = ((uint)(8)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.referenceOrder = new global::Gamma.Widgets.yEntryReference(); this.referenceOrder.TooltipMarkup = "При проставлении логистического района у данной точки доставки он проставится у в" + "сех точек доставки с совпадающим до номера дома включительно адресом."; this.referenceOrder.Events = ((global::Gdk.EventMask)(256)); this.referenceOrder.Name = "referenceOrder"; this.table2.Add(this.referenceOrder); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2[this.referenceOrder])); w24.TopAttach = ((uint)(9)); w24.BottomAttach = ((uint)(10)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.spinbutton1 = new global::Gtk.SpinButton(0D, 100D, 1D); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10D; this.spinbutton1.ClimbRate = 1D; this.spinbutton1.Numeric = true; this.table2.Add(this.spinbutton1); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2[this.spinbutton1])); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryreferencevm1 = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryreferencevm1.Events = ((global::Gdk.EventMask)(256)); this.yentryreferencevm1.Name = "yentryreferencevm1"; this.table2.Add(this.yentryreferencevm1); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2[this.yentryreferencevm1])); w26.TopAttach = ((uint)(10)); w26.BottomAttach = ((uint)(11)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); this.datatable5.Add(this.table2); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.datatable5[this.table2])); w27.TopAttach = ((uint)(3)); w27.BottomAttach = ((uint)(4)); w27.LeftAttach = ((uint)(3)); w27.RightAttach = ((uint)(4)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.datatable5); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.datatable5])); w28.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.enumAncorPoint.ChangedByUser += new global::System.EventHandler(this.OnEnumAncorPointChangedByUser); this.searchentity2.TextChanged += new global::System.EventHandler(this.OnSearchentity2TextChanged); this.buttonSelectTemplate.Clicked += new global::System.EventHandler(this.OnButtonSelectTemplateClicked); this.buttonCreateTemplate.Clicked += new global::System.EventHandler(this.OnButtonCreateTemplateClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ViewWidgets.UndeliveredOrderView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ViewWidgets.UndeliveredOrderView"; // Container child Vodovoz.ViewWidgets.UndeliveredOrderView.Gtk.Container+ContainerChild this.mainBox = new global::Gtk.VBox(); this.mainBox.Name = "mainBox"; this.mainBox.Spacing = 6; // Container child mainBox.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.hbxInProcessAtDepartment = new global::Gtk.HBox(); this.hbxInProcessAtDepartment.Name = "hbxInProcessAtDepartment"; this.hbxInProcessAtDepartment.Spacing = 6; // Container child hbxInProcessAtDepartment.Gtk.Box+BoxChild this.lblInProcAtDep = new global::Gtk.Label(); this.lblInProcAtDep.Name = "lblInProcAtDep"; this.lblInProcAtDep.Xalign = 1F; this.lblInProcAtDep.LabelProp = global::Mono.Unix.Catalog.GetString("В работе у отдела:"); this.hbxInProcessAtDepartment.Add(this.lblInProcAtDep); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbxInProcessAtDepartment[this.lblInProcAtDep])); w1.Position = 0; w1.Expand = false; // Container child hbxInProcessAtDepartment.Gtk.Box+BoxChild this.yentInProcessAtDepartment = new global::Gamma.Widgets.yEntryReference(); this.yentInProcessAtDepartment.Events = ((global::Gdk.EventMask)(256)); this.yentInProcessAtDepartment.Name = "yentInProcessAtDepartment"; this.hbxInProcessAtDepartment.Add(this.yentInProcessAtDepartment); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbxInProcessAtDepartment[this.yentInProcessAtDepartment])); w2.Position = 1; this.hbox4.Add(this.hbxInProcessAtDepartment); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.hbxInProcessAtDepartment])); w3.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.hbxStatus = new global::Gtk.HBox(); this.hbxStatus.Name = "hbxStatus"; this.hbxStatus.Spacing = 6; // Container child hbxStatus.Gtk.Box+BoxChild this.lblStatus = new global::Gtk.Label(); this.lblStatus.Name = "lblStatus"; this.lblStatus.Xalign = 1F; this.lblStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус недовоза:"); this.hbxStatus.Add(this.lblStatus); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbxStatus[this.lblStatus])); w4.Position = 0; w4.Expand = false; // Container child hbxStatus.Gtk.Box+BoxChild this.yEnumCMBStatus = new global::Gamma.Widgets.yEnumComboBox(); this.yEnumCMBStatus.Name = "yEnumCMBStatus"; this.yEnumCMBStatus.ShowSpecialStateAll = false; this.yEnumCMBStatus.ShowSpecialStateNot = false; this.yEnumCMBStatus.UseShortTitle = false; this.yEnumCMBStatus.DefaultFirst = false; this.hbxStatus.Add(this.yEnumCMBStatus); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbxStatus[this.yEnumCMBStatus])); w5.Position = 1; this.hbox4.Add(this.hbxStatus); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.hbxStatus])); w6.Position = 1; this.mainBox.Add(this.hbox4); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.mainBox[this.hbox4])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child mainBox.Gtk.Box+BoxChild this.vbxWithControls = new global::Gtk.VBox(); this.vbxWithControls.Name = "vbxWithControls"; this.vbxWithControls.Spacing = 6; // Container child vbxWithControls.Gtk.Box+BoxChild this.hbxUndelivery = new global::Gtk.HBox(); this.hbxUndelivery.Name = "hbxUndelivery"; this.hbxUndelivery.Spacing = 6; // Container child hbxUndelivery.Gtk.Box+BoxChild this.lblUndeliveredOrder = new global::Gtk.Label(); this.lblUndeliveredOrder.Name = "lblUndeliveredOrder"; this.lblUndeliveredOrder.Xalign = 1F; this.lblUndeliveredOrder.LabelProp = global::Mono.Unix.Catalog.GetString("Недовоз:"); this.hbxUndelivery.Add(this.lblUndeliveredOrder); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbxUndelivery[this.lblUndeliveredOrder])); w8.Position = 0; w8.Expand = false; // Container child hbxUndelivery.Gtk.Box+BoxChild this.evmeOldUndeliveredOrder = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeOldUndeliveredOrder.Events = ((global::Gdk.EventMask)(256)); this.evmeOldUndeliveredOrder.Name = "evmeOldUndeliveredOrder"; this.evmeOldUndeliveredOrder.CanEditReference = true; this.hbxUndelivery.Add(this.evmeOldUndeliveredOrder); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbxUndelivery[this.evmeOldUndeliveredOrder])); w9.Position = 1; this.vbxWithControls.Add(this.hbxUndelivery); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbxWithControls[this.hbxUndelivery])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbxWithControls.Gtk.Box+BoxChild this.tblUndeliveryFields = new global::Gtk.Table(((uint)(9)), ((uint)(3)), false); this.tblUndeliveryFields.Name = "tblUndeliveryFields"; this.tblUndeliveryFields.RowSpacing = ((uint)(6)); this.tblUndeliveryFields.ColumnSpacing = ((uint)(6)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.comboProblemSource = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.comboProblemSource.Name = "comboProblemSource"; this.comboProblemSource.AddIfNotExist = false; this.comboProblemSource.DefaultFirst = false; this.comboProblemSource.ShowSpecialStateAll = false; this.comboProblemSource.ShowSpecialStateNot = false; this.tblUndeliveryFields.Add(this.comboProblemSource); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.comboProblemSource])); w11.TopAttach = ((uint)(7)); w11.BottomAttach = ((uint)(8)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.comboTransferAbsenceReason = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.comboTransferAbsenceReason.Name = "comboTransferAbsenceReason"; this.comboTransferAbsenceReason.AddIfNotExist = false; this.comboTransferAbsenceReason.DefaultFirst = false; this.comboTransferAbsenceReason.ShowSpecialStateAll = false; this.comboTransferAbsenceReason.ShowSpecialStateNot = false; this.tblUndeliveryFields.Add(this.comboTransferAbsenceReason); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.comboTransferAbsenceReason])); w12.TopAttach = ((uint)(8)); w12.BottomAttach = ((uint)(9)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.evmeRegisteredBy = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeRegisteredBy.Events = ((global::Gdk.EventMask)(256)); this.evmeRegisteredBy.Name = "evmeRegisteredBy"; this.evmeRegisteredBy.CanEditReference = true; this.tblUndeliveryFields.Add(this.evmeRegisteredBy); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.evmeRegisteredBy])); w13.TopAttach = ((uint)(6)); w13.BottomAttach = ((uint)(7)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.BorderWidth = ((uint)(3)); // Container child frame1.Gtk.Container+ContainerChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w14 = new global::Gtk.Viewport(); w14.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.GtkAlignment6 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment6.Name = "GtkAlignment6"; this.GtkAlignment6.LeftPadding = ((uint)(12)); // Container child GtkAlignment6.Gtk.Container+ContainerChild this.lblInfo = new global::Gtk.Label(); this.lblInfo.Name = "lblInfo"; this.lblInfo.Xalign = 0F; this.lblInfo.LabelProp = global::Mono.Unix.Catalog.GetString("<b>?</b>"); this.lblInfo.UseMarkup = true; this.lblInfo.Selectable = true; this.GtkAlignment6.Add(this.lblInfo); w14.Add(this.GtkAlignment6); this.GtkScrolledWindow1.Add(w14); this.frame1.Add(this.GtkScrolledWindow1); this.lblInfoCaption = new global::Gtk.Label(); this.lblInfoCaption.Name = "lblInfoCaption"; this.lblInfoCaption.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Информация</b>"); this.lblInfoCaption.UseMarkup = true; this.frame1.LabelWidget = this.lblInfoCaption; this.tblUndeliveryFields.Add(this.frame1); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.frame1])); w19.BottomAttach = ((uint)(8)); w19.LeftAttach = ((uint)(2)); w19.RightAttach = ((uint)(3)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.guiltyInUndeliveryView = new global::Vodovoz.ViewWidgets.GuiltyInUndeliveryView(); this.guiltyInUndeliveryView.Events = ((global::Gdk.EventMask)(256)); this.guiltyInUndeliveryView.Name = "guiltyInUndeliveryView"; this.tblUndeliveryFields.Add(this.guiltyInUndeliveryView); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.guiltyInUndeliveryView])); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.hbxForNewOrder = new global::Gtk.HBox(); this.hbxForNewOrder.Name = "hbxForNewOrder"; this.hbxForNewOrder.Spacing = 6; // Container child hbxForNewOrder.Gtk.Box+BoxChild this.lblTransferDate = new global::Gtk.Label(); this.lblTransferDate.Name = "lblTransferDate"; this.lblTransferDate.LabelProp = global::Mono.Unix.Catalog.GetString("Заказ не\nсоздан "); this.lblTransferDate.Justify = ((global::Gtk.Justification)(2)); this.hbxForNewOrder.Add(this.lblTransferDate); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbxForNewOrder[this.lblTransferDate])); w21.Position = 0; w21.Expand = false; // Container child hbxForNewOrder.Gtk.Box+BoxChild this.btnChooseOrder = new global::Gtk.Button(); this.btnChooseOrder.CanFocus = true; this.btnChooseOrder.Name = "btnChooseOrder"; this.btnChooseOrder.UseUnderline = true; this.btnChooseOrder.Label = global::Mono.Unix.Catalog.GetString("Выбрать заказ"); this.hbxForNewOrder.Add(this.btnChooseOrder); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbxForNewOrder[this.btnChooseOrder])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child hbxForNewOrder.Gtk.Box+BoxChild this.btnNewOrder = new global::Gtk.Button(); this.btnNewOrder.CanFocus = true; this.btnNewOrder.Name = "btnNewOrder"; this.btnNewOrder.UseUnderline = true; this.btnNewOrder.Label = global::Mono.Unix.Catalog.GetString("Создать заказ"); this.hbxForNewOrder.Add(this.btnNewOrder); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbxForNewOrder[this.btnNewOrder])); w23.Position = 2; w23.Expand = false; // Container child hbxForNewOrder.Gtk.Box+BoxChild this.yenumcomboboxTransferType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxTransferType.Name = "yenumcomboboxTransferType"; this.yenumcomboboxTransferType.ShowSpecialStateAll = false; this.yenumcomboboxTransferType.ShowSpecialStateNot = false; this.yenumcomboboxTransferType.UseShortTitle = false; this.yenumcomboboxTransferType.DefaultFirst = false; this.hbxForNewOrder.Add(this.yenumcomboboxTransferType); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbxForNewOrder[this.yenumcomboboxTransferType])); w24.Position = 3; w24.Expand = false; w24.Fill = false; this.tblUndeliveryFields.Add(this.hbxForNewOrder); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.hbxForNewOrder])); w25.TopAttach = ((uint)(4)); w25.BottomAttach = ((uint)(5)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.lblDispatcherCallTime = new global::Gtk.Label(); this.lblDispatcherCallTime.Name = "lblDispatcherCallTime"; this.lblDispatcherCallTime.Xalign = 1F; this.lblDispatcherCallTime.LabelProp = global::Mono.Unix.Catalog.GetString("Время звонка клиенту:"); this.tblUndeliveryFields.Add(this.lblDispatcherCallTime); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblDispatcherCallTime])); w26.TopAttach = ((uint)(3)); w26.BottomAttach = ((uint)(4)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.lblDriverCallPlace = new global::Gtk.Label(); this.lblDriverCallPlace.Name = "lblDriverCallPlace"; this.lblDriverCallPlace.Xalign = 1F; this.lblDriverCallPlace.LabelProp = global::Mono.Unix.Catalog.GetString("Место звонка водителя:"); this.tblUndeliveryFields.Add(this.lblDriverCallPlace); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblDriverCallPlace])); w27.TopAttach = ((uint)(1)); w27.BottomAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.lblDriverCallTime = new global::Gtk.Label(); this.lblDriverCallTime.Name = "lblDriverCallTime"; this.lblDriverCallTime.Xalign = 1F; this.lblDriverCallTime.LabelProp = global::Mono.Unix.Catalog.GetString("Время звонка водителя:"); this.tblUndeliveryFields.Add(this.lblDriverCallTime); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblDriverCallTime])); w28.TopAttach = ((uint)(2)); w28.BottomAttach = ((uint)(3)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.lblGuilty = new global::Gtk.Label(); this.lblGuilty.Name = "lblGuilty"; this.lblGuilty.Xalign = 1F; this.lblGuilty.LabelProp = global::Mono.Unix.Catalog.GetString("Виновники:"); this.tblUndeliveryFields.Add(this.lblGuilty); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblGuilty])); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.lblNewDeliverySchedule = new global::Gtk.Label(); this.lblNewDeliverySchedule.Name = "lblNewDeliverySchedule"; this.lblNewDeliverySchedule.Xalign = 1F; this.lblNewDeliverySchedule.LabelProp = global::Mono.Unix.Catalog.GetString("Новый интервал переноса:"); this.tblUndeliveryFields.Add(this.lblNewDeliverySchedule); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblNewDeliverySchedule])); w30.TopAttach = ((uint)(5)); w30.BottomAttach = ((uint)(6)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.lblRegisteredBy = new global::Gtk.Label(); this.lblRegisteredBy.Name = "lblRegisteredBy"; this.lblRegisteredBy.Xalign = 1F; this.lblRegisteredBy.LabelProp = global::Mono.Unix.Catalog.GetString("Зарегистрировал:"); this.tblUndeliveryFields.Add(this.lblRegisteredBy); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblRegisteredBy])); w31.TopAttach = ((uint)(6)); w31.BottomAttach = ((uint)(7)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.lblTransferDateCaption = new global::Gtk.Label(); this.lblTransferDateCaption.Name = "lblTransferDateCaption"; this.lblTransferDateCaption.Xalign = 1F; this.lblTransferDateCaption.LabelProp = global::Mono.Unix.Catalog.GetString("Дата переноса:"); this.tblUndeliveryFields.Add(this.lblTransferDateCaption); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblTransferDateCaption])); w32.TopAttach = ((uint)(4)); w32.BottomAttach = ((uint)(5)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.referenceNewDeliverySchedule = new global::Gamma.Widgets.yEntryReference(); this.referenceNewDeliverySchedule.Events = ((global::Gdk.EventMask)(256)); this.referenceNewDeliverySchedule.Name = "referenceNewDeliverySchedule"; this.tblUndeliveryFields.Add(this.referenceNewDeliverySchedule); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.referenceNewDeliverySchedule])); w33.TopAttach = ((uint)(5)); w33.BottomAttach = ((uint)(6)); w33.LeftAttach = ((uint)(1)); w33.RightAttach = ((uint)(2)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.yDateDispatcherCallTime = new global::QS.Widgets.GtkUI.DatePicker(); this.yDateDispatcherCallTime.Events = ((global::Gdk.EventMask)(256)); this.yDateDispatcherCallTime.Name = "yDateDispatcherCallTime"; this.yDateDispatcherCallTime.WithTime = true; this.yDateDispatcherCallTime.HideCalendarButton = false; this.yDateDispatcherCallTime.Date = new global::System.DateTime(0); this.yDateDispatcherCallTime.IsEditable = true; this.yDateDispatcherCallTime.AutoSeparation = true; this.tblUndeliveryFields.Add(this.yDateDispatcherCallTime); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.yDateDispatcherCallTime])); w34.TopAttach = ((uint)(3)); w34.BottomAttach = ((uint)(4)); w34.LeftAttach = ((uint)(1)); w34.RightAttach = ((uint)(2)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.yDateDriverCallTime = new global::QS.Widgets.GtkUI.DatePicker(); this.yDateDriverCallTime.Events = ((global::Gdk.EventMask)(256)); this.yDateDriverCallTime.Name = "yDateDriverCallTime"; this.yDateDriverCallTime.WithTime = true; this.yDateDriverCallTime.HideCalendarButton = false; this.yDateDriverCallTime.Date = new global::System.DateTime(0); this.yDateDriverCallTime.IsEditable = true; this.yDateDriverCallTime.AutoSeparation = true; this.tblUndeliveryFields.Add(this.yDateDriverCallTime); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.yDateDriverCallTime])); w35.TopAttach = ((uint)(2)); w35.BottomAttach = ((uint)(3)); w35.LeftAttach = ((uint)(1)); w35.RightAttach = ((uint)(2)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.yEnumCMBDriverCallPlace = new global::Gamma.Widgets.yEnumComboBox(); this.yEnumCMBDriverCallPlace.Name = "yEnumCMBDriverCallPlace"; this.yEnumCMBDriverCallPlace.ShowSpecialStateAll = false; this.yEnumCMBDriverCallPlace.ShowSpecialStateNot = false; this.yEnumCMBDriverCallPlace.UseShortTitle = false; this.yEnumCMBDriverCallPlace.DefaultFirst = false; this.tblUndeliveryFields.Add(this.yEnumCMBDriverCallPlace); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.yEnumCMBDriverCallPlace])); w36.TopAttach = ((uint)(1)); w36.BottomAttach = ((uint)(2)); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.ylabelProblemSource = new global::Gamma.GtkWidgets.yLabel(); this.ylabelProblemSource.Name = "ylabelProblemSource"; this.ylabelProblemSource.Xalign = 1F; this.ylabelProblemSource.LabelProp = global::Mono.Unix.Catalog.GetString("Источник проблемы:"); this.tblUndeliveryFields.Add(this.ylabelProblemSource); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.ylabelProblemSource])); w37.TopAttach = ((uint)(7)); w37.BottomAttach = ((uint)(8)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.ylabelTransferAbsenceReason = new global::Gamma.GtkWidgets.yLabel(); this.ylabelTransferAbsenceReason.Name = "ylabelTransferAbsenceReason"; this.ylabelTransferAbsenceReason.Xalign = 1F; this.ylabelTransferAbsenceReason.LabelProp = global::Mono.Unix.Catalog.GetString("Причина отсутствия переноса:"); this.tblUndeliveryFields.Add(this.ylabelTransferAbsenceReason); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.ylabelTransferAbsenceReason])); w38.TopAttach = ((uint)(8)); w38.BottomAttach = ((uint)(9)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbxWithControls.Add(this.tblUndeliveryFields); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbxWithControls[this.tblUndeliveryFields])); w39.Position = 1; w39.Expand = false; w39.Fill = false; // Container child vbxWithControls.Gtk.Box+BoxChild this.vbxReasonAndFines = new global::Gtk.VBox(); this.vbxReasonAndFines.Name = "vbxReasonAndFines"; this.vbxReasonAndFines.Spacing = 6; // Container child vbxReasonAndFines.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.BorderWidth = ((uint)(3)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment7 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment7.Name = "GtkAlignment7"; this.GtkAlignment7.LeftPadding = ((uint)(12)); // Container child GtkAlignment7.Gtk.Container+ContainerChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.txtReason = new global::Gamma.GtkWidgets.yTextView(); this.txtReason.CanFocus = true; this.txtReason.Name = "txtReason"; this.txtReason.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow2.Add(this.txtReason); this.GtkAlignment7.Add(this.GtkScrolledWindow2); this.frame2.Add(this.GtkAlignment7); this.lblReason = new global::Gtk.Label(); this.lblReason.Name = "lblReason"; this.lblReason.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Что случилось?</b>"); this.lblReason.UseMarkup = true; this.frame2.LabelWidget = this.lblReason; this.vbxReasonAndFines.Add(this.frame2); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbxReasonAndFines[this.frame2])); w43.Position = 0; // Container child vbxReasonAndFines.Gtk.Box+BoxChild this.frame3 = new global::Gtk.Frame(); this.frame3.Name = "frame3"; this.frame3.BorderWidth = ((uint)(3)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment8 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment8.Name = "GtkAlignment8"; this.GtkAlignment8.LeftPadding = ((uint)(12)); // Container child GtkAlignment8.Gtk.Container+ContainerChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.yTreeFines = new global::Gamma.GtkWidgets.yTreeView(); this.yTreeFines.CanFocus = true; this.yTreeFines.Name = "yTreeFines"; this.GtkScrolledWindow3.Add(this.yTreeFines); this.GtkAlignment8.Add(this.GtkScrolledWindow3); this.frame3.Add(this.GtkAlignment8); this.lblFines = new global::Gtk.Label(); this.lblFines.Name = "lblFines"; this.lblFines.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Штрафы</b>"); this.lblFines.UseMarkup = true; this.frame3.LabelWidget = this.lblFines; this.vbxReasonAndFines.Add(this.frame3); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbxReasonAndFines[this.frame3])); w47.Position = 1; // Container child vbxReasonAndFines.Gtk.Box+BoxChild this.buttonAddFine = new global::Gtk.Button(); this.buttonAddFine.CanFocus = true; this.buttonAddFine.Name = "buttonAddFine"; this.buttonAddFine.UseUnderline = true; this.buttonAddFine.Label = global::Mono.Unix.Catalog.GetString("Добавить штраф"); global::Gtk.Image w48 = new global::Gtk.Image(); w48.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddFine.Image = w48; this.vbxReasonAndFines.Add(this.buttonAddFine); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbxReasonAndFines[this.buttonAddFine])); w49.PackType = ((global::Gtk.PackType)(1)); w49.Position = 2; w49.Fill = false; this.vbxWithControls.Add(this.vbxReasonAndFines); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbxWithControls[this.vbxReasonAndFines])); w50.Position = 2; this.mainBox.Add(this.vbxWithControls); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.mainBox[this.vbxWithControls])); w51.Position = 1; this.Add(this.mainBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.yenumcomboboxTransferType.Hide(); this.Hide(); this.yEnumCMBDriverCallPlace.EnumItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnYEnumCMBDriverCallPlaceEnumItemSelected); this.btnChooseOrder.Clicked += new global::System.EventHandler(this.OnBtnChooseOrderClicked); this.btnNewOrder.Clicked += new global::System.EventHandler(this.OnBtnNewOrderClicked); this.buttonAddFine.Clicked += new global::System.EventHandler(this.OnButtonAddFineClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget BioGorod.Dialogs.Client.ContractShortLeaseDlg global::Stetic.BinContainer.Attach(this); this.Name = "BioGorod.Dialogs.Client.ContractShortLeaseDlg"; // Container child BioGorod.Dialogs.Client.ContractShortLeaseDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox1.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox1.Add(this.vseparator1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vseparator1])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(5)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Номер:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w7.LeftAttach = ((uint)(2)); w7.RightAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Организация:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Контрагент:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label4); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label5); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(2)); w11.RightAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("В наличии:"); this.table1.Add(this.label6); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.LeftAttach = ((uint)(2)); w12.RightAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.templatewidget1 = new global::QSDocTemplates.TemplateWidget(); this.templatewidget1.Events = ((global::Gdk.EventMask)(256)); this.templatewidget1.Name = "templatewidget1"; this.table1.Add(this.templatewidget1); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.templatewidget1])); w13.BottomAttach = ((uint)(3)); w13.LeftAttach = ((uint)(4)); w13.RightAttach = ((uint)(5)); w13.XOptions = ((global::Gtk.AttachOptions)(0)); w13.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.ycheckOrigin = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckOrigin.CanFocus = true; this.ycheckOrigin.Name = "ycheckOrigin"; this.ycheckOrigin.Label = global::Mono.Unix.Catalog.GetString("Оригинал"); this.ycheckOrigin.DrawIndicator = true; this.ycheckOrigin.UseUnderline = true; this.vbox2.Add(this.ycheckOrigin); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ycheckOrigin])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.ycheckScanned = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckScanned.CanFocus = true; this.ycheckScanned.Name = "ycheckScanned"; this.ycheckScanned.Label = global::Mono.Unix.Catalog.GetString("Скан"); this.ycheckScanned.DrawIndicator = true; this.ycheckScanned.UseUnderline = true; this.vbox2.Add(this.ycheckScanned); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ycheckScanned])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.table1.Add(this.vbox2); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox2])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.LeftAttach = ((uint)(3)); w16.RightAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycheckArchive = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckArchive.CanFocus = true; this.ycheckArchive.Name = "ycheckArchive"; this.ycheckArchive.Label = global::Mono.Unix.Catalog.GetString("Да"); this.ycheckArchive.DrawIndicator = true; this.ycheckArchive.UseUnderline = true; this.table1.Add(this.ycheckArchive); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycheckArchive])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(3)); w17.RightAttach = ((uint)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydateIssue = new global::Gamma.Widgets.yDatePicker(); this.ydateIssue.Events = ((global::Gdk.EventMask)(256)); this.ydateIssue.Name = "ydateIssue"; this.ydateIssue.WithTime = false; this.ydateIssue.Date = new global::System.DateTime(0); this.ydateIssue.IsEditable = true; this.ydateIssue.AutoSeparation = true; this.table1.Add(this.ydateIssue); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.ydateIssue])); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryreferenceCounterparty = new global::Gamma.Widgets.yEntryReferenceVM(); this.yentryreferenceCounterparty.Events = ((global::Gdk.EventMask)(256)); this.yentryreferenceCounterparty.Name = "yentryreferenceCounterparty"; this.table1.Add(this.yentryreferenceCounterparty); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryreferenceCounterparty])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.yentryreferenceOrg = new global::Gamma.Widgets.yEntryReference(); this.yentryreferenceOrg.Events = ((global::Gdk.EventMask)(256)); this.yentryreferenceOrg.Name = "yentryreferenceOrg"; this.table1.Add(this.yentryreferenceOrg); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryreferenceOrg])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelNumber = new global::Gamma.GtkWidgets.yLabel(); this.ylabelNumber.Name = "ylabelNumber"; this.ylabelNumber.Xalign = 0F; this.ylabelNumber.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.table1.Add(this.ylabelNumber); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.ylabelNumber])); w21.LeftAttach = ((uint)(3)); w21.RightAttach = ((uint)(4)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(5)), ((uint)(4)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextAdditionalInfo = new global::Gamma.GtkWidgets.yTextView(); this.ytextAdditionalInfo.CanFocus = true; this.ytextAdditionalInfo.Name = "ytextAdditionalInfo"; this.GtkScrolledWindow.Add(this.ytextAdditionalInfo); this.table2.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2 [this.GtkScrolledWindow])); w24.TopAttach = ((uint)(4)); w24.BottomAttach = ((uint)(5)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(3)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Дата и время доставки:"); this.table2.Add(this.label10); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2 [this.label10])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Дата и время вывоза:"); this.table2.Add(this.label11); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2 [this.label11])); w26.TopAttach = ((uint)(2)); w26.BottomAttach = ((uint)(3)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.Xalign = 1F; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Стоимость за кабину:"); this.table2.Add(this.label12); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table2 [this.label12])); w27.TopAttach = ((uint)(2)); w27.BottomAttach = ((uint)(3)); w27.LeftAttach = ((uint)(2)); w27.RightAttach = ((uint)(3)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.Xalign = 1F; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Общая стоимость договора:"); this.table2.Add(this.label13); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table2 [this.label13])); w28.TopAttach = ((uint)(3)); w28.BottomAttach = ((uint)(4)); w28.LeftAttach = ((uint)(2)); w28.RightAttach = ((uint)(3)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Условия краткосрочной аренды</b>"); this.label7.UseMarkup = true; this.table2.Add(this.label7); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table2 [this.label7])); w29.RightAttach = ((uint)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.Yalign = 0F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Дополнительная информация:"); this.table2.Add(this.label8); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8])); w30.TopAttach = ((uint)(4)); w30.BottomAttach = ((uint)(5)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Количество кабин:"); this.table2.Add(this.label9); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table2 [this.label9])); w31.TopAttach = ((uint)(1)); w31.BottomAttach = ((uint)(2)); w31.LeftAttach = ((uint)(2)); w31.RightAttach = ((uint)(3)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.ycheckDispenser = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckDispenser.CanFocus = true; this.ycheckDispenser.Name = "ycheckDispenser"; this.ycheckDispenser.Label = global::Mono.Unix.Catalog.GetString("Наличие рукомойника"); this.ycheckDispenser.DrawIndicator = true; this.ycheckDispenser.UseUnderline = true; this.vbox3.Add(this.ycheckDispenser); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ycheckDispenser])); w32.Position = 0; w32.Expand = false; w32.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.ycheckAdditionalWater = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckAdditionalWater.CanFocus = true; this.ycheckAdditionalWater.Name = "ycheckAdditionalWater"; this.ycheckAdditionalWater.Label = global::Mono.Unix.Catalog.GetString("Дополнительная вода"); this.ycheckAdditionalWater.DrawIndicator = true; this.ycheckAdditionalWater.UseUnderline = true; this.vbox3.Add(this.ycheckAdditionalWater); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ycheckAdditionalWater])); w33.Position = 1; w33.Expand = false; w33.Fill = false; this.table2.Add(this.vbox3); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table2 [this.vbox3])); w34.TopAttach = ((uint)(4)); w34.BottomAttach = ((uint)(5)); w34.LeftAttach = ((uint)(3)); w34.RightAttach = ((uint)(4)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ydateDelivery = new global::Gamma.Widgets.yDatePicker(); this.ydateDelivery.Events = ((global::Gdk.EventMask)(256)); this.ydateDelivery.Name = "ydateDelivery"; this.ydateDelivery.WithTime = true; this.ydateDelivery.Date = new global::System.DateTime(0); this.ydateDelivery.IsEditable = true; this.ydateDelivery.AutoSeparation = true; this.table2.Add(this.ydateDelivery); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table2 [this.ydateDelivery])); w35.TopAttach = ((uint)(1)); w35.BottomAttach = ((uint)(2)); w35.LeftAttach = ((uint)(1)); w35.RightAttach = ((uint)(2)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ydateRemoval = new global::Gamma.Widgets.yDatePicker(); this.ydateRemoval.Events = ((global::Gdk.EventMask)(256)); this.ydateRemoval.Name = "ydateRemoval"; this.ydateRemoval.WithTime = true; this.ydateRemoval.Date = new global::System.DateTime(0); this.ydateRemoval.IsEditable = true; this.ydateRemoval.AutoSeparation = true; this.table2.Add(this.ydateRemoval); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table2 [this.ydateRemoval])); w36.TopAttach = ((uint)(2)); w36.BottomAttach = ((uint)(3)); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.Xalign = 1F; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Стоимость за доставку:"); this.table2.Add(this.ylabel2); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table2 [this.ylabel2])); w37.TopAttach = ((uint)(3)); w37.BottomAttach = ((uint)(4)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ylabelTotalCost = new global::Gamma.GtkWidgets.yLabel(); this.ylabelTotalCost.Name = "ylabelTotalCost"; this.ylabelTotalCost.Xalign = 0F; this.ylabelTotalCost.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel3"); this.table2.Add(this.ylabelTotalCost); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table2 [this.ylabelTotalCost])); w38.TopAttach = ((uint)(3)); w38.BottomAttach = ((uint)(4)); w38.LeftAttach = ((uint)(3)); w38.RightAttach = ((uint)(4)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yspinCabineCost = new global::Gamma.GtkWidgets.ySpinButton(0, 1000000, 100); this.yspinCabineCost.CanFocus = true; this.yspinCabineCost.Name = "yspinCabineCost"; this.yspinCabineCost.Adjustment.PageIncrement = 1000; this.yspinCabineCost.ClimbRate = 1; this.yspinCabineCost.Digits = ((uint)(2)); this.yspinCabineCost.Numeric = true; this.yspinCabineCost.ValueAsDecimal = 0m; this.yspinCabineCost.ValueAsInt = 0; this.table2.Add(this.yspinCabineCost); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table2 [this.yspinCabineCost])); w39.TopAttach = ((uint)(2)); w39.BottomAttach = ((uint)(3)); w39.LeftAttach = ((uint)(3)); w39.RightAttach = ((uint)(4)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yspinCabineCount = new global::Gamma.GtkWidgets.ySpinButton(0, 100, 1); this.yspinCabineCount.CanFocus = true; this.yspinCabineCount.Name = "yspinCabineCount"; this.yspinCabineCount.Adjustment.PageIncrement = 10; this.yspinCabineCount.ClimbRate = 1; this.yspinCabineCount.Numeric = true; this.yspinCabineCount.ValueAsDecimal = 0m; this.yspinCabineCount.ValueAsInt = 0; this.table2.Add(this.yspinCabineCount); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table2 [this.yspinCabineCount])); w40.TopAttach = ((uint)(1)); w40.BottomAttach = ((uint)(2)); w40.LeftAttach = ((uint)(3)); w40.RightAttach = ((uint)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yspinDeliveryCost = new global::Gamma.GtkWidgets.ySpinButton(0, 1000000, 100); this.yspinDeliveryCost.CanFocus = true; this.yspinDeliveryCost.Name = "yspinDeliveryCost"; this.yspinDeliveryCost.Adjustment.PageIncrement = 1000; this.yspinDeliveryCost.ClimbRate = 1; this.yspinDeliveryCost.Digits = ((uint)(2)); this.yspinDeliveryCost.Numeric = true; this.yspinDeliveryCost.ValueAsDecimal = 0m; this.yspinDeliveryCost.ValueAsInt = 0; this.table2.Add(this.yspinDeliveryCost); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table2 [this.yspinDeliveryCost])); w41.TopAttach = ((uint)(3)); w41.BottomAttach = ((uint)(4)); w41.LeftAttach = ((uint)(1)); w41.RightAttach = ((uint)(2)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table2); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table2])); w42.Position = 2; w42.Expand = false; w42.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.contractshortleaseadressesview1 = new global::BioGorod.Dialogs.Client.ContractShortLeaseAdressesView(); this.contractshortleaseadressesview1.Events = ((global::Gdk.EventMask)(256)); this.contractshortleaseadressesview1.Name = "contractshortleaseadressesview1"; this.vbox1.Add(this.contractshortleaseadressesview1); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.contractshortleaseadressesview1])); w43.Position = 3; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.UserSettingsDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.UserSettingsDlg"; // Container child Vodovoz.UserSettingsDlg.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(6)); // Container child vbox4.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox5.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox5.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox4.Add (this.hbox5); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox5])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.tableWriteoff = new global::Gtk.DataBindings.DataTable (((uint)(2)), ((uint)(2)), false); this.tableWriteoff.Name = "tableWriteoff"; this.tableWriteoff.RowSpacing = ((uint)(6)); this.tableWriteoff.ColumnSpacing = ((uint)(6)); this.tableWriteoff.InheritedDataSource = false; this.tableWriteoff.InheritedBoundaryDataSource = false; this.tableWriteoff.InheritedDataSource = false; this.tableWriteoff.InheritedBoundaryDataSource = false; // Container child tableWriteoff.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.tableWriteoff.Add (this.label4); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label4])); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.yentryrefWarehouse = new global::Gamma.Widgets.yEntryReference (); this.yentryrefWarehouse.Events = ((global::Gdk.EventMask)(256)); this.yentryrefWarehouse.Name = "yentryrefWarehouse"; this.tableWriteoff.Add (this.yentryrefWarehouse); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.yentryrefWarehouse])); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add (this.tableWriteoff); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.tableWriteoff])); w8.Position = 1; this.Add (this.vbox4); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Fittings.FittingDlg global::Stetic.BinContainer.Attach(this); this.Name = "Fittings.FittingDlg"; // Container child Fittings.FittingDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); this.hbox1.Add(this.buttonSave); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonSave])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); this.hbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.table1 = new global::Gtk.Table(((uint)(7)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.bodyMaterialReference = new global::Gamma.Widgets.yEntryReference(); this.bodyMaterialReference.Events = ((global::Gdk.EventMask)(256)); this.bodyMaterialReference.Name = "bodyMaterialReference"; this.table1.Add(this.bodyMaterialReference); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.bodyMaterialReference])); w4.TopAttach = ((uint)(5)); w4.BottomAttach = ((uint)(6)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.codeEntry = new global::Gamma.GtkWidgets.yEntry(); this.codeEntry.CanFocus = true; this.codeEntry.Name = "codeEntry"; this.codeEntry.IsEditable = true; this.codeEntry.InvisibleChar = '●'; this.table1.Add(this.codeEntry); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.codeEntry])); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.connectionTypeRreference = new global::Gamma.Widgets.yEntryReference(); this.connectionTypeRreference.Events = ((global::Gdk.EventMask)(256)); this.connectionTypeRreference.Name = "connectionTypeRreference"; this.table1.Add(this.connectionTypeRreference); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.connectionTypeRreference])); w6.TopAttach = ((uint)(4)); w6.BottomAttach = ((uint)(5)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.fittingTypeReference = new global::Gamma.Widgets.yEntryReference(); this.fittingTypeReference.Events = ((global::Gdk.EventMask)(256)); this.fittingTypeReference.Name = "fittingTypeReference"; this.table1.Add(this.fittingTypeReference); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.fittingTypeReference])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.commentTextview = new global::Gamma.GtkWidgets.yTextView(); this.commentTextview.CanFocus = true; this.commentTextview.Name = "commentTextview"; this.GtkScrolledWindow.Add(this.commentTextview); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow])); w9.TopAttach = ((uint)(6)); w9.BottomAttach = ((uint)(7)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); // Container child table1.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.diameterUnitscombobox = new global::Gamma.Widgets.yEnumComboBox(); this.diameterUnitscombobox.Name = "diameterUnitscombobox"; this.diameterUnitscombobox.ShowSpecialStateAll = false; this.diameterUnitscombobox.ShowSpecialStateNot = false; this.diameterUnitscombobox.UseShortTitle = false; this.diameterUnitscombobox.DefaultFirst = true; this.hbox4.Add(this.diameterUnitscombobox); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.diameterUnitscombobox])); w10.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.diameterCombobox = new global::Gamma.Widgets.ySpecComboBox(); this.diameterCombobox.Name = "diameterCombobox"; this.diameterCombobox.AddIfNotExist = false; this.diameterCombobox.DefaultFirst = false; this.diameterCombobox.ShowSpecialStateAll = false; this.diameterCombobox.ShowSpecialStateNot = true; this.hbox4.Add(this.diameterCombobox); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.diameterCombobox])); w11.Position = 1; this.table1.Add(this.hbox4); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox4])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.pressureUnitscombobox = new global::Gamma.Widgets.yEnumComboBox(); this.pressureUnitscombobox.Name = "pressureUnitscombobox"; this.pressureUnitscombobox.ShowSpecialStateAll = false; this.pressureUnitscombobox.ShowSpecialStateNot = false; this.pressureUnitscombobox.UseShortTitle = false; this.pressureUnitscombobox.DefaultFirst = true; this.hbox5.Add(this.pressureUnitscombobox); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.pressureUnitscombobox])); w13.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.pressureCombobox = new global::Gamma.Widgets.ySpecComboBox(); this.pressureCombobox.Name = "pressureCombobox"; this.pressureCombobox.AddIfNotExist = false; this.pressureCombobox.DefaultFirst = false; this.pressureCombobox.ShowSpecialStateAll = false; this.pressureCombobox.ShowSpecialStateNot = true; this.hbox5.Add(this.pressureCombobox); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.pressureCombobox])); w14.Position = 1; this.table1.Add(this.hbox5); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox5])); w15.TopAttach = ((uint)(3)); w15.BottomAttach = ((uint)(4)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Тип арматуры:"); this.table1.Add(this.label10); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label10])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Диаметр:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label4); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w18.TopAttach = ((uint)(4)); w18.BottomAttach = ((uint)(5)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Материал корпуса:"); this.table1.Add(this.label7); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); w19.TopAttach = ((uint)(5)); w19.BottomAttach = ((uint)(6)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Артикул:"); this.table1.Add(this.label8); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8])); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.table1.Add(this.label9); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.label9])); w21.TopAttach = ((uint)(6)); w21.BottomAttach = ((uint)(7)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.Давление = new global::Gtk.Label(); this.Давление.Name = "Давление"; this.Давление.Xalign = 1F; this.Давление.LabelProp = global::Mono.Unix.Catalog.GetString("Давление:"); this.table1.Add(this.Давление); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.Давление])); w22.TopAttach = ((uint)(3)); w22.BottomAttach = ((uint)(4)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebook1.Add(this.table1); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Основное"); this.notebook1.SetTabLabel(this.table1, this.label1); this.label1.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vboxPrice = new global::Gtk.VBox(); this.vboxPrice.Name = "vboxPrice"; this.vboxPrice.Spacing = 6; // Container child vboxPrice.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.treeviewPrice = new global::QSOrmProject.RepresentationTreeView(); this.treeviewPrice.CanFocus = true; this.treeviewPrice.Name = "treeviewPrice"; this.GtkScrolledWindow1.Add(this.treeviewPrice); this.vboxPrice.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vboxPrice [this.GtkScrolledWindow1])); w25.Position = 1; this.notebook1.Add(this.vboxPrice); global::Gtk.Notebook.NotebookChild w26 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vboxPrice])); w26.Position = 1; // Notebook tab this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Цены"); this.notebook1.SetTabLabel(this.vboxPrice, this.label3); this.label3.ShowAll(); this.vbox1.Add(this.notebook1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1])); w27.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.pressureUnitscombobox.Changed += new global::System.EventHandler(this.OnPressureUnitscomboboxChanged); this.diameterUnitscombobox.Changed += new global::System.EventHandler(this.OnDiameterUnitscomboboxChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget BioGorod.Dialogs.Client.ContactDlg global::Stetic.BinContainer.Attach(this); this.Name = "BioGorod.Dialogs.Client.ContactDlg"; // Container child BioGorod.Dialogs.Client.ContactDlg.Gtk.Container+ContainerChild this.datavbox1 = new global::Gtk.VBox(); this.datavbox1.Name = "datavbox1"; this.datavbox1.Spacing = 6; // Container child datavbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox2.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox2.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.datavbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.hbox2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child datavbox1.Gtk.Box+BoxChild this.datatable1 = new global::Gtk.Table(((uint)(8)), ((uint)(2)), false); this.datatable1.Name = "datatable1"; this.datatable1.RowSpacing = ((uint)(6)); this.datatable1.ColumnSpacing = ((uint)(6)); // Container child datatable1.Gtk.Table+TableChild this.checkbuttonFired = new global::Gamma.GtkWidgets.yCheckButton(); this.checkbuttonFired.CanFocus = true; this.checkbuttonFired.Name = "checkbuttonFired"; this.checkbuttonFired.Label = ""; this.checkbuttonFired.DrawIndicator = true; this.checkbuttonFired.UseUnderline = true; this.datatable1.Add(this.checkbuttonFired); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.checkbuttonFired])); w6.TopAttach = ((uint)(4)); w6.BottomAttach = ((uint)(5)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.emailsView = new global::QSContacts.EmailsView(); this.emailsView.Events = ((global::Gdk.EventMask)(256)); this.emailsView.Name = "emailsView"; this.datatable1.Add(this.emailsView); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.emailsView])); w7.TopAttach = ((uint)(6)); w7.BottomAttach = ((uint)(7)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.entryName = new global::Gamma.GtkWidgets.yEntry(); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.InvisibleChar = '●'; this.datatable1.Add(this.entryName); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.entryName])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.entryPatronymic = new global::Gamma.GtkWidgets.yEntry(); this.entryPatronymic.CanFocus = true; this.entryPatronymic.Name = "entryPatronymic"; this.entryPatronymic.IsEditable = true; this.entryPatronymic.InvisibleChar = '●'; this.datatable1.Add(this.entryPatronymic); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.entryPatronymic])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.entrySurname = new global::Gamma.GtkWidgets.yEntry(); this.entrySurname.CanFocus = true; this.entrySurname.Name = "entrySurname"; this.entrySurname.IsEditable = true; this.entrySurname.InvisibleChar = '●'; this.datatable1.Add(this.entrySurname); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.entrySurname])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.dataComment = new global::Gamma.GtkWidgets.yTextView(); this.dataComment.CanFocus = true; this.dataComment.Name = "dataComment"; this.dataComment.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow.Add(this.dataComment); this.datatable1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.GtkScrolledWindow])); w12.TopAttach = ((uint)(7)); w12.BottomAttach = ((uint)(8)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Фамилия:"); this.datatable1.Add(this.label1); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label1])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Должность:"); this.datatable1.Add(this.label2); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label2])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Сотрудник уволен:"); this.datatable1.Add(this.label3); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label3])); w15.TopAttach = ((uint)(4)); w15.BottomAttach = ((uint)(5)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Контактные телефоны:"); this.datatable1.Add(this.label4); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label4])); w16.TopAttach = ((uint)(5)); w16.BottomAttach = ((uint)(6)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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("E-mail:"); this.datatable1.Add(this.label5); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label5])); w17.TopAttach = ((uint)(6)); w17.BottomAttach = ((uint)(7)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.datatable1.Add(this.label6); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label6])); w18.TopAttach = ((uint)(7)); w18.BottomAttach = ((uint)(8)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child datatable1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Имя:"); this.datatable1.Add(this.label7); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label7])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Отчество:"); this.datatable1.Add(this.label8); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label8])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.phonesView = new global::QSContacts.PhonesView(); this.phonesView.Events = ((global::Gdk.EventMask)(256)); this.phonesView.Name = "phonesView"; this.datatable1.Add(this.phonesView); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.phonesView])); w21.TopAttach = ((uint)(5)); w21.BottomAttach = ((uint)(6)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referencePost = new global::Gamma.Widgets.yEntryReference(); this.referencePost.Events = ((global::Gdk.EventMask)(256)); this.referencePost.Name = "referencePost"; this.datatable1.Add(this.referencePost); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referencePost])); w22.TopAttach = ((uint)(3)); w22.BottomAttach = ((uint)(4)); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); this.datavbox1.Add(this.datatable1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.datatable1])); w23.Position = 1; w23.Expand = false; w23.Fill = false; this.Add(this.datavbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.CashIncomeDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.CashIncomeDlg"; // Container child Vodovoz.CashIncomeDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox2.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox2.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonPrint = new global::Gtk.Button(); this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w5; this.hbox2.Add(this.buttonPrint); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonPrint])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(7)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checkNoClose = new global::Gamma.GtkWidgets.yCheckButton(); this.checkNoClose.CanFocus = true; this.checkNoClose.Name = "checkNoClose"; this.checkNoClose.Label = global::Mono.Unix.Catalog.GetString("Частичный возврат"); this.checkNoClose.DrawIndicator = true; this.checkNoClose.UseUnderline = true; this.table1.Add(this.checkNoClose); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.checkNoClose])); w8.TopAttach = ((uint)(5)); w8.BottomAttach = ((uint)(6)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboCategory = new global::Gamma.Widgets.ySpecComboBox(); this.comboCategory.Name = "comboCategory"; this.comboCategory.AddIfNotExist = false; this.comboCategory.DefaultFirst = false; this.comboCategory.ShowSpecialStateAll = false; this.comboCategory.ShowSpecialStateNot = true; this.table1.Add(this.comboCategory); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.comboCategory])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboExpense = new global::Gamma.Widgets.ySpecComboBox(); this.comboExpense.Name = "comboExpense"; this.comboExpense.AddIfNotExist = false; this.comboExpense.DefaultFirst = false; this.comboExpense.ShowSpecialStateAll = false; this.comboExpense.ShowSpecialStateNot = true; this.table1.Add(this.comboExpense); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.comboExpense])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumcomboOperation = new global::Gamma.Widgets.yEnumComboBox(); this.enumcomboOperation.Name = "enumcomboOperation"; this.enumcomboOperation.ShowSpecialStateAll = false; this.enumcomboOperation.ShowSpecialStateNot = false; this.enumcomboOperation.UseShortTitle = false; this.enumcomboOperation.DefaultFirst = false; this.table1.Add(this.enumcomboOperation); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.enumcomboOperation])); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.yspinMoney = new global::Gamma.GtkWidgets.ySpinButton(0, 1000000, 100); this.yspinMoney.CanDefault = true; this.yspinMoney.CanFocus = true; this.yspinMoney.Name = "yspinMoney"; this.yspinMoney.Adjustment.PageIncrement = 1000; this.yspinMoney.ClimbRate = 1; this.yspinMoney.Digits = ((uint)(2)); this.yspinMoney.Numeric = true; this.yspinMoney.ValueAsDecimal = 0m; this.yspinMoney.ValueAsInt = 0; this.hbox6.Add(this.yspinMoney); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspinMoney])); w12.Position = 0; // Container child hbox6.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.hbox6.Add(this.currencylabel1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.currencylabel1])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.table1.Add(this.hbox6); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox6])); w14.TopAttach = ((uint)(6)); w14.BottomAttach = ((uint)(7)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Кассир:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w16.LeftAttach = ((uint)(2)); w16.RightAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Тип операции:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label5); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w18.TopAttach = ((uint)(6)); w18.BottomAttach = ((uint)(7)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelClientTitle = new global::Gtk.Label(); this.labelClientTitle.Name = "labelClientTitle"; this.labelClientTitle.Xalign = 1F; this.labelClientTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Клиент:"); this.table1.Add(this.labelClientTitle); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.labelClientTitle])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelEmploeey = new global::Gtk.Label(); this.labelEmploeey.Name = "labelEmploeey"; this.labelEmploeey.Xalign = 1F; this.labelEmploeey.LabelProp = global::Mono.Unix.Catalog.GetString("Сотрудник:"); this.table1.Add(this.labelEmploeey); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.labelEmploeey])); w20.TopAttach = ((uint)(4)); w20.BottomAttach = ((uint)(5)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelExpenseTitle = new global::Gtk.Label(); this.labelExpenseTitle.Name = "labelExpenseTitle"; this.labelExpenseTitle.Xalign = 1F; this.labelExpenseTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.table1.Add(this.labelExpenseTitle); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.labelExpenseTitle])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelIncomeTitle = new global::Gtk.Label(); this.labelIncomeTitle.Name = "labelIncomeTitle"; this.labelIncomeTitle.Xalign = 1F; this.labelIncomeTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Статья дохода:"); this.table1.Add(this.labelIncomeTitle); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.labelIncomeTitle])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydateDocument = new global::Gamma.Widgets.yDatePicker(); this.ydateDocument.Events = ((global::Gdk.EventMask)(256)); this.ydateDocument.Name = "ydateDocument"; this.ydateDocument.WithTime = false; this.ydateDocument.Date = new global::System.DateTime(0); this.ydateDocument.IsEditable = true; this.ydateDocument.AutoSeparation = true; this.table1.Add(this.ydateDocument); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateDocument])); w23.TopAttach = ((uint)(1)); w23.BottomAttach = ((uint)(2)); w23.LeftAttach = ((uint)(3)); w23.RightAttach = ((uint)(4)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryCasher = new global::Gamma.Widgets.yEntryReference(); this.yentryCasher.Sensitive = false; this.yentryCasher.Events = ((global::Gdk.EventMask)(256)); this.yentryCasher.Name = "yentryCasher"; this.table1.Add(this.yentryCasher); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryCasher])); w24.LeftAttach = ((uint)(3)); w24.RightAttach = ((uint)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryClient = new global::Gamma.Widgets.yEntryReference(); this.yentryClient.Events = ((global::Gdk.EventMask)(256)); this.yentryClient.Name = "yentryClient"; this.table1.Add(this.yentryClient); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryClient])); w25.TopAttach = ((uint)(3)); w25.BottomAttach = ((uint)(4)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryEmploeey = new global::Gamma.Widgets.yEntryReference(); this.yentryEmploeey.Events = ((global::Gdk.EventMask)(256)); this.yentryEmploeey.Name = "yentryEmploeey"; this.table1.Add(this.yentryEmploeey); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryEmploeey])); w26.TopAttach = ((uint)(4)); w26.BottomAttach = ((uint)(5)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w27.Position = 1; w27.Expand = false; w27.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vboxDebts = new global::Gtk.VBox(); this.vboxDebts.Name = "vboxDebts"; this.vboxDebts.Spacing = 6; this.vboxDebts.BorderWidth = ((uint)(6)); // Container child vboxDebts.Gtk.Box+BoxChild this.labelTableTitle = new global::Gtk.Label(); this.labelTableTitle.Name = "labelTableTitle"; this.labelTableTitle.Xalign = 0F; this.labelTableTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Последние выданные авансы:"); this.vboxDebts.Add(this.labelTableTitle); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vboxDebts[this.labelTableTitle])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child vboxDebts.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeviewDebts = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewDebts.CanFocus = true; this.ytreeviewDebts.Name = "ytreeviewDebts"; this.GtkScrolledWindow1.Add(this.ytreeviewDebts); this.vboxDebts.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vboxDebts[this.GtkScrolledWindow1])); w30.Position = 1; this.vbox1.Add(this.vboxDebts); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vboxDebts])); w31.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Основание:"); this.vbox1.Add(this.label6); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label6])); w32.Position = 3; w32.Expand = false; w32.Fill = false; // Container child vbox1.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.ytextviewDescription = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewDescription.CanFocus = true; this.ytextviewDescription.Name = "ytextviewDescription"; this.ytextviewDescription.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add(this.ytextviewDescription); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w34.Position = 4; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.comboExpense.Hide(); this.labelExpenseTitle.Hide(); this.vboxDebts.Hide(); this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.buttonPrint.Clicked += new global::System.EventHandler(this.OnButtonPrintClicked); this.yentryEmploeey.Changed += new global::System.EventHandler(this.OnYentryEmploeeyChanged); this.enumcomboOperation.EnumItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnEnumcomboOperationEnumItemSelected); this.comboExpense.ItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnComboExpenseItemSelected); this.checkNoClose.Toggled += new global::System.EventHandler(this.OnCheckNoCloseToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget QSBanks.AccountDlg global::Stetic.BinContainer.Attach (this); this.Name = "QSBanks.AccountDlg"; // Container child QSBanks.AccountDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add (this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.labelInactive = new global::Gtk.Label (); this.labelInactive.Name = "labelInactive"; this.labelInactive.Justify = ((global::Gtk.Justification)(2)); this.vbox1.Add (this.labelInactive); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.labelInactive])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.datatableMain = new global::Gtk.Table (((uint)(4)), ((uint)(2)), false); this.datatableMain.Name = "datatableMain"; this.datatableMain.RowSpacing = ((uint)(6)); this.datatableMain.ColumnSpacing = ((uint)(6)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryName = new global::Gamma.GtkWidgets.yEntry (); this.dataentryName.CanFocus = true; this.dataentryName.Name = "dataentryName"; this.dataentryName.IsEditable = true; this.dataentryName.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryName); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryName])); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryNumber = new global::Gamma.Widgets.yValidatedEntry (); this.dataentryNumber.CanFocus = true; this.dataentryNumber.Name = "dataentryNumber"; this.dataentryNumber.IsEditable = true; this.dataentryNumber.MaxLength = 25; this.dataentryNumber.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryNumber); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryNumber])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryrefBank = new global::Gamma.Widgets.yEntryReference (); this.dataentryrefBank.Events = ((global::Gdk.EventMask)(256)); this.dataentryrefBank.Name = "dataentryrefBank"; this.dataentryrefBank.DisplayFields = new string[] { "Name" }; this.datatableMain.Add (this.dataentryrefBank); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryrefBank])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataframe1 = new global::Gtk.Frame (); this.dataframe1.Name = "dataframe1"; this.dataframe1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child dataframe1.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.datatableBank = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.datatableBank.Name = "datatableBank"; this.datatableBank.RowSpacing = ((uint)(6)); this.datatableBank.ColumnSpacing = ((uint)(6)); // Container child datatableBank.Gtk.Table+TableChild this.datalabelBik = new global::Gamma.GtkWidgets.yLabel (); this.datalabelBik.Name = "datalabelBik"; this.datalabelBik.LabelProp = global::Mono.Unix.Catalog.GetString ("datalabel1"); this.datatableBank.Add (this.datalabelBik); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatableBank [this.datalabelBik])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableBank.Gtk.Table+TableChild this.datalabelCity = new global::Gamma.GtkWidgets.yLabel (); this.datalabelCity.Name = "datalabelCity"; this.datalabelCity.LabelProp = global::Mono.Unix.Catalog.GetString ("datalabel1"); this.datatableBank.Add (this.datalabelCity); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatableBank [this.datalabelCity])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableBank.Gtk.Table+TableChild this.datalabelRegion = new global::Gamma.GtkWidgets.yLabel (); this.datalabelRegion.Name = "datalabelRegion"; this.datalabelRegion.LabelProp = global::Mono.Unix.Catalog.GetString ("datalabel2"); this.datatableBank.Add (this.datalabelRegion); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatableBank [this.datalabelRegion])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableBank.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.datatableBank.Add (this.label4); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatableBank [this.label4])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableBank.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.datatableBank.Add (this.label5); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatableBank [this.label5])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableBank.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Город:"); this.datatableBank.Add (this.label6); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatableBank [this.label6])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment2.Add (this.datatableBank); this.dataframe1.Add (this.GtkAlignment2); this.datatableMain.Add (this.dataframe1); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataframe1])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Псевдоним:"); this.datatableMain.Add (this.label1); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label1])); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Номер:"); this.datatableMain.Add (this.label2); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label2])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("В банке:"); this.datatableMain.Add (this.label3); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label3])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add (this.datatableMain); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.datatableMain])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.labelInactive.Hide (); this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget CarGlass.Dialogs.StoreItemDlg global::Stetic.BinContainer.Attach(this); this.Name = "CarGlass.Dialogs.StoreItemDlg"; // Container child CarGlass.Dialogs.StoreItemDlg.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(9)), ((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.comboGlass = new global::Gamma.Widgets.yListComboBox(); this.comboGlass.Name = "comboGlass"; this.comboGlass.AddIfNotExist = false; this.comboGlass.DefaultFirst = false; this.table1.Add(this.comboGlass); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.comboGlass])); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboManufacturer = new global::Gamma.Widgets.yListComboBox(); this.comboManufacturer.Name = "comboManufacturer"; this.comboManufacturer.AddIfNotExist = false; this.comboManufacturer.DefaultFirst = false; this.table1.Add(this.comboManufacturer); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.comboManufacturer])); w2.TopAttach = ((uint)(3)); w2.BottomAttach = ((uint)(4)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboModel = new global::Gamma.Widgets.yListComboBox(); this.comboModel.Name = "comboModel"; this.comboModel.AddIfNotExist = false; this.comboModel.DefaultFirst = false; this.table1.Add(this.comboModel); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.comboModel])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryBrand = new global::Gamma.Widgets.yEntryReference(); this.entryBrand.Events = ((global::Gdk.EventMask)(256)); this.entryBrand.Name = "entryBrand"; this.table1.Add(this.entryBrand); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.entryBrand])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.HeightRequest = 100; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextComment.CanFocus = true; this.ytextComment.Name = "ytextComment"; this.GtkScrolledWindow.Add(this.ytextComment); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w6.TopAttach = ((uint)(8)); w6.BottomAttach = ((uint)(9)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Расположение:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Марка:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Модель:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label4); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w10.TopAttach = ((uint)(3)); w10.BottomAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.label5); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Цена:"); this.table1.Add(this.label6); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label6])); w12.TopAttach = ((uint)(5)); w12.BottomAttach = ((uint)(6)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Наличие:"); this.table1.Add(this.label7); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.label7])); w13.TopAttach = ((uint)(6)); w13.BottomAttach = ((uint)(7)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Место:"); this.table1.Add(this.label8); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w14.TopAttach = ((uint)(7)); w14.BottomAttach = ((uint)(8)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.Yalign = 0F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.table1.Add(this.label9); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label9])); w15.TopAttach = ((uint)(8)); w15.BottomAttach = ((uint)(9)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryEurocode = new global::Gamma.GtkWidgets.yEntry(); this.yentryEurocode.CanFocus = true; this.yentryEurocode.Name = "yentryEurocode"; this.yentryEurocode.IsEditable = true; this.yentryEurocode.MaxLength = 45; this.yentryEurocode.InvisibleChar = '●'; this.table1.Add(this.yentryEurocode); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryEurocode])); w16.TopAttach = ((uint)(4)); w16.BottomAttach = ((uint)(5)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryPlacment = new global::Gamma.GtkWidgets.yEntry(); this.yentryPlacment.CanFocus = true; this.yentryPlacment.Name = "yentryPlacment"; this.yentryPlacment.IsEditable = true; this.yentryPlacment.MaxLength = 45; this.yentryPlacment.InvisibleChar = '●'; this.table1.Add(this.yentryPlacment); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryPlacment])); w17.TopAttach = ((uint)(7)); w17.BottomAttach = ((uint)(8)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yspinAmount = new global::Gamma.GtkWidgets.ySpinButton(0D, 100D, 1D); this.yspinAmount.CanFocus = true; this.yspinAmount.Name = "yspinAmount"; this.yspinAmount.Adjustment.PageIncrement = 10D; this.yspinAmount.ClimbRate = 1D; this.yspinAmount.Numeric = true; this.yspinAmount.ValueAsDecimal = 0m; this.yspinAmount.ValueAsInt = 0; this.table1.Add(this.yspinAmount); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.yspinAmount])); w18.TopAttach = ((uint)(6)); w18.BottomAttach = ((uint)(7)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yspinCost = new global::Gamma.GtkWidgets.ySpinButton(0D, 1000000D, 100D); this.yspinCost.CanFocus = true; this.yspinCost.Name = "yspinCost"; this.yspinCost.Adjustment.PageIncrement = 1000D; this.yspinCost.ClimbRate = 1D; this.yspinCost.Numeric = true; this.yspinCost.ValueAsDecimal = 0m; this.yspinCost.ValueAsInt = 0; this.table1.Add(this.yspinCost); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.yspinCost])); w19.TopAttach = ((uint)(5)); w19.BottomAttach = ((uint)(6)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w20.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w21 = new global::Gtk.Image(); w21.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w21; this.hbox5.Add(this.buttonSave); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonSave])); w22.PackType = ((global::Gtk.PackType)(1)); w22.Position = 0; w22.Expand = false; w22.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w23 = new global::Gtk.Image(); w23.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w23; this.hbox5.Add(this.buttonCancel); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonCancel])); w24.PackType = ((global::Gtk.PackType)(1)); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.vbox2.Add(this.hbox5); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox5])); w25.Position = 1; w25.Expand = false; w25.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.entryBrand.Changed += new global::System.EventHandler(this.OnEntryBrandChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Goods.Folder1cDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Goods.Folder1cDlg"; // Container child Vodovoz.Dialogs.Goods.Folder1cDlg.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add(this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Родитель:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelName = new global::Gtk.Label(); this.labelName.Name = "labelName"; this.labelName.Xalign = 1F; this.labelName.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.table1.Add(this.labelName); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.labelName])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelName1 = new global::Gtk.Label(); this.labelName1.Name = "labelName1"; this.labelName1.Xalign = 1F; this.labelName1.LabelProp = global::Mono.Unix.Catalog.GetString("Код 1с:"); this.table1.Add(this.labelName1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.labelName1])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryCode1c = new global::Gamma.GtkWidgets.yEntry(); this.yentryCode1c.CanFocus = true; this.yentryCode1c.Name = "yentryCode1c"; this.yentryCode1c.IsEditable = true; this.yentryCode1c.MaxLength = 10; this.yentryCode1c.InvisibleChar = '●'; this.table1.Add(this.yentryCode1c); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryCode1c])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryName = new global::Gamma.GtkWidgets.yEntry(); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.MaxLength = 100; this.yentryName.InvisibleChar = '•'; this.table1.Add(this.yentryName); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryName])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryParent = new global::Gamma.Widgets.yEntryReference(); this.yentryParent.Events = ((global::Gdk.EventMask)(256)); this.yentryParent.Name = "yentryParent"; this.table1.Add(this.yentryParent); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryParent])); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w12.PackType = ((global::Gtk.PackType)(1)); w12.Position = 1; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Fittings.MultiEditXLSRows global::Stetic.BinContainer.Attach(this); this.Name = "Fittings.MultiEditXLSRows"; // Container child Fittings.MultiEditXLSRows.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.buttonApply = new global::Gtk.Button(); this.buttonApply.CanFocus = true; this.buttonApply.Name = "buttonApply"; this.buttonApply.UseStock = true; this.buttonApply.UseUnderline = true; this.buttonApply.Label = "gtk-apply"; this.hbox6.Add(this.buttonApply); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.buttonApply])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.hbox6.Add(this.buttonCancel); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.buttonCancel])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vbox1.Add(this.hbox6); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox6])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(8)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.bodyMaterialReference = new global::Gamma.Widgets.yEntryReference(); this.bodyMaterialReference.Events = ((global::Gdk.EventMask)(256)); this.bodyMaterialReference.Name = "bodyMaterialReference"; this.table1.Add(this.bodyMaterialReference); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.bodyMaterialReference])); w4.TopAttach = ((uint)(6)); w4.BottomAttach = ((uint)(7)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkComments = new global::Gtk.CheckButton(); this.checkComments.CanFocus = true; this.checkComments.Name = "checkComments"; this.checkComments.Label = global::Mono.Unix.Catalog.GetString("Комментарий"); this.checkComments.Active = true; this.checkComments.DrawIndicator = true; this.checkComments.UseUnderline = true; this.table1.Add(this.checkComments); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkComments])); w5.TopAttach = ((uint)(7)); w5.BottomAttach = ((uint)(8)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkConnections = new global::Gtk.CheckButton(); this.checkConnections.CanFocus = true; this.checkConnections.Name = "checkConnections"; this.checkConnections.Label = global::Mono.Unix.Catalog.GetString("Соединения"); this.checkConnections.Active = true; this.checkConnections.DrawIndicator = true; this.checkConnections.UseUnderline = true; this.table1.Add(this.checkConnections); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkConnections])); w6.TopAttach = ((uint)(5)); w6.BottomAttach = ((uint)(6)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkDiameter = new global::Gtk.CheckButton(); this.checkDiameter.CanFocus = true; this.checkDiameter.Name = "checkDiameter"; this.checkDiameter.Label = global::Mono.Unix.Catalog.GetString("Диаметр"); this.checkDiameter.Active = true; this.checkDiameter.DrawIndicator = true; this.checkDiameter.UseUnderline = true; this.table1.Add(this.checkDiameter); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkDiameter])); w7.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkMaterial = new global::Gtk.CheckButton(); this.checkMaterial.CanFocus = true; this.checkMaterial.Name = "checkMaterial"; this.checkMaterial.Label = global::Mono.Unix.Catalog.GetString("Материал"); this.checkMaterial.Active = true; this.checkMaterial.DrawIndicator = true; this.checkMaterial.UseUnderline = true; this.table1.Add(this.checkMaterial); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkMaterial])); w8.TopAttach = ((uint)(6)); w8.BottomAttach = ((uint)(7)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkModel = new global::Gtk.CheckButton(); this.checkModel.CanFocus = true; this.checkModel.Name = "checkModel"; this.checkModel.Label = global::Mono.Unix.Catalog.GetString("Модель"); this.checkModel.Active = true; this.checkModel.DrawIndicator = true; this.checkModel.UseUnderline = true; this.table1.Add(this.checkModel); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkModel])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkPressure = new global::Gtk.CheckButton(); this.checkPressure.CanFocus = true; this.checkPressure.Name = "checkPressure"; this.checkPressure.Label = global::Mono.Unix.Catalog.GetString("Давление"); this.checkPressure.Active = true; this.checkPressure.DrawIndicator = true; this.checkPressure.UseUnderline = true; this.table1.Add(this.checkPressure); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkPressure])); w10.TopAttach = ((uint)(4)); w10.BottomAttach = ((uint)(5)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkType = new global::Gtk.CheckButton(); this.checkType.CanFocus = true; this.checkType.Name = "checkType"; this.checkType.Label = global::Mono.Unix.Catalog.GetString("Тип"); this.checkType.Active = true; this.checkType.DrawIndicator = true; this.checkType.UseUnderline = true; this.table1.Add(this.checkType); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkType])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.codeEntry = new global::Gamma.GtkWidgets.yEntry(); this.codeEntry.CanFocus = true; this.codeEntry.Name = "codeEntry"; this.codeEntry.IsEditable = true; this.codeEntry.InvisibleChar = '●'; this.table1.Add(this.codeEntry); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.codeEntry])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.connectionTypeRreference = new global::Gamma.Widgets.yEntryReference(); this.connectionTypeRreference.Events = ((global::Gdk.EventMask)(256)); this.connectionTypeRreference.Name = "connectionTypeRreference"; this.table1.Add(this.connectionTypeRreference); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.connectionTypeRreference])); w13.TopAttach = ((uint)(5)); w13.BottomAttach = ((uint)(6)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.fittingTypeReference = new global::Gamma.Widgets.yEntryReference(); this.fittingTypeReference.Events = ((global::Gdk.EventMask)(256)); this.fittingTypeReference.Name = "fittingTypeReference"; this.table1.Add(this.fittingTypeReference); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.fittingTypeReference])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.commentTextview = new global::Gamma.GtkWidgets.yTextView(); this.commentTextview.WidthRequest = 50; this.commentTextview.CanFocus = true; this.commentTextview.Name = "commentTextview"; this.GtkScrolledWindow.Add(this.commentTextview); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow])); w16.TopAttach = ((uint)(7)); w16.BottomAttach = ((uint)(8)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); // Container child table1.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.diameterUnitscombobox = new global::Gamma.Widgets.yEnumComboBox(); this.diameterUnitscombobox.Name = "diameterUnitscombobox"; this.diameterUnitscombobox.ShowSpecialStateAll = false; this.diameterUnitscombobox.ShowSpecialStateNot = false; this.diameterUnitscombobox.UseShortTitle = false; this.diameterUnitscombobox.DefaultFirst = true; this.hbox4.Add(this.diameterUnitscombobox); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.diameterUnitscombobox])); w17.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.diameterCombobox = new global::Gamma.Widgets.ySpecComboBox(); this.diameterCombobox.Name = "diameterCombobox"; this.diameterCombobox.AddIfNotExist = false; this.diameterCombobox.DefaultFirst = false; this.diameterCombobox.ShowSpecialStateAll = false; this.diameterCombobox.ShowSpecialStateNot = true; this.hbox4.Add(this.diameterCombobox); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.diameterCombobox])); w18.Position = 1; this.table1.Add(this.hbox4); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox4])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.pressureUnitscombobox = new global::Gamma.Widgets.yEnumComboBox(); this.pressureUnitscombobox.Name = "pressureUnitscombobox"; this.pressureUnitscombobox.ShowSpecialStateAll = false; this.pressureUnitscombobox.ShowSpecialStateNot = false; this.pressureUnitscombobox.UseShortTitle = false; this.pressureUnitscombobox.DefaultFirst = true; this.hbox5.Add(this.pressureUnitscombobox); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.pressureUnitscombobox])); w20.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.pressureCombobox = new global::Gamma.Widgets.ySpecComboBox(); this.pressureCombobox.Name = "pressureCombobox"; this.pressureCombobox.AddIfNotExist = false; this.pressureCombobox.DefaultFirst = false; this.pressureCombobox.ShowSpecialStateAll = false; this.pressureCombobox.ShowSpecialStateNot = true; this.hbox5.Add(this.pressureCombobox); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.pressureCombobox])); w21.Position = 1; this.table1.Add(this.hbox5); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox5])); w22.TopAttach = ((uint)(4)); w22.BottomAttach = ((uint)(5)); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Редактируем:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelInfo = new global::Gtk.Label(); this.labelInfo.Name = "labelInfo"; this.labelInfo.LabelProp = global::Mono.Unix.Catalog.GetString("label2"); this.table1.Add(this.labelInfo); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelInfo])); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1])); w25.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonApply.Clicked += new global::System.EventHandler(this.OnButtonApplyClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.pressureUnitscombobox.Changed += new global::System.EventHandler(this.OnPressureUnitscomboboxChanged); this.diameterUnitscombobox.Changed += new global::System.EventHandler(this.OnDiameterUnitscomboboxChanged); this.checkType.Clicked += new global::System.EventHandler(this.OnCheckTypeClicked); this.checkPressure.Clicked += new global::System.EventHandler(this.OnCheckPressureClicked); this.checkModel.Clicked += new global::System.EventHandler(this.OnCheckModelClicked); this.checkMaterial.Clicked += new global::System.EventHandler(this.OnCheckMaterialClicked); this.checkDiameter.Clicked += new global::System.EventHandler(this.OnCheckDiameterClicked); this.checkConnections.Clicked += new global::System.EventHandler(this.OnCheckConnectionsClicked); this.checkComments.Clicked += new global::System.EventHandler(this.OnCheckCommentsClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.Payments.PaymentsFromBankClientReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Payments.PaymentsFromBankClientReport"; // Container child Vodovoz.ReportsParameters.Payments.PaymentsFromBankClientReport.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Контрагент:"); this.hbox2.Add(this.label2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entryCounterparty = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryCounterparty.Events = ((global::Gdk.EventMask)(256)); this.entryCounterparty.Name = "entryCounterparty"; this.entryCounterparty.CanEditReference = true; this.hbox2.Add(this.entryCounterparty); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.entryCounterparty])); w2.Position = 1; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение: "); this.hbox3.Add(this.label1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yentryRefSubdivision = new global::Gamma.Widgets.yEntryReference(); this.yentryRefSubdivision.Events = ((global::Gdk.EventMask)(256)); this.yentryRefSubdivision.Name = "yentryRefSubdivision"; this.hbox3.Add(this.yentryRefSubdivision); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yentryRefSubdivision])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.checkSortDate = new global::Gamma.GtkWidgets.yCheckButton(); this.checkSortDate.CanFocus = true; this.checkSortDate.Name = "checkSortDate"; this.checkSortDate.Label = global::Mono.Unix.Catalog.GetString("Сортировка по дате"); this.checkSortDate.DrawIndicator = true; this.checkSortDate.UseUnderline = true; this.hbox4.Add(this.checkSortDate); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.checkSortDate])); w7.Position = 0; w7.Expand = false; w7.Fill = false; this.vbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4])); w8.Position = 3; w8.Expand = false; w8.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.checkAllSubdivisions = new global::Gamma.GtkWidgets.yCheckButton(); this.checkAllSubdivisions.CanFocus = true; this.checkAllSubdivisions.Name = "checkAllSubdivisions"; this.checkAllSubdivisions.Label = global::Mono.Unix.Catalog.GetString("Не ограничивать по подразделению"); this.checkAllSubdivisions.DrawIndicator = true; this.checkAllSubdivisions.UseUnderline = true; this.vbox1.Add(this.checkAllSubdivisions); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.checkAllSubdivisions])); w9.Position = 4; w9.Expand = false; w9.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.btnCreateReport = new global::Gamma.GtkWidgets.yButton(); this.btnCreateReport.CanFocus = true; this.btnCreateReport.Name = "btnCreateReport"; this.btnCreateReport.UseUnderline = true; this.btnCreateReport.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.vbox1.Add(this.btnCreateReport); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.btnCreateReport])); w10.Position = 5; w10.Expand = false; w10.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.Reports.StockMovements global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.Reports.StockMovements"; // Container child Vodovoz.Reports.StockMovements.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table (((uint)(6)), ((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.buttonRun = new global::Gtk.Button (); this.buttonRun.Sensitive = false; this.buttonRun.CanFocus = true; this.buttonRun.Name = "buttonRun"; this.buttonRun.UseUnderline = true; this.buttonRun.Label = global::Mono.Unix.Catalog.GetString ("Сформировать отчет"); this.table1.Add (this.buttonRun); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.buttonRun])); w1.TopAttach = ((uint)(5)); w1.BottomAttach = ((uint)(6)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(0)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.dateperiodpicker1 = new global::QSWidgetLib.DatePeriodPicker (); this.dateperiodpicker1.Events = ((global::Gdk.EventMask)(256)); this.dateperiodpicker1.Name = "dateperiodpicker1"; this.dateperiodpicker1.StartDate = new global::System.DateTime (0); this.dateperiodpicker1.EndDate = new global::System.DateTime (0); this.table1.Add (this.dateperiodpicker1); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.dateperiodpicker1])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Период:"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Склад:"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryrefWarehouse = new global::Gamma.Widgets.yEntryReference (); this.yentryrefWarehouse.Events = ((global::Gdk.EventMask)(256)); this.yentryrefWarehouse.Name = "yentryrefWarehouse"; this.table1.Add (this.yentryrefWarehouse); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryrefWarehouse])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.table1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.yentryrefWarehouse.ChangedByUser += new global::System.EventHandler (this.OnYentryrefWarehouseChangedByUser); this.dateperiodpicker1.PeriodChanged += new global::System.EventHandler (this.OnDateperiodpicker1PeriodChanged); this.buttonRun.Clicked += new global::System.EventHandler (this.OnButtonRunClicked); }