protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Filters.GtkViews.PremiumJournalFilterView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Filters.GtkViews.PremiumJournalFilterView"; // Container child Vodovoz.Filters.GtkViews.PremiumJournalFilterView.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.dateperiodpickerPremiumDate = new global::QS.Widgets.GtkUI.DateRangePicker(); this.dateperiodpickerPremiumDate.Events = ((global::Gdk.EventMask)(256)); this.dateperiodpickerPremiumDate.Name = "dateperiodpickerPremiumDate"; this.dateperiodpickerPremiumDate.StartDate = new global::System.DateTime(0); this.dateperiodpickerPremiumDate.EndDate = new global::System.DateTime(0); this.table1.Add(this.dateperiodpickerPremiumDate); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodpickerPremiumDate])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); 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.yentrySubdivision = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.yentrySubdivision.Events = ((global::Gdk.EventMask)(256)); this.yentrySubdivision.Name = "yentrySubdivision"; this.yentrySubdivision.CanEditReference = false; this.table1.Add(this.yentrySubdivision); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.yentrySubdivision])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.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 w4 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.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.Views.Complaints.GuiltyItemView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Complaints.GuiltyItemView"; // Container child Vodovoz.Views.Complaints.GuiltyItemView.Gtk.Container+ContainerChild this.vbxCreateGuilty = new global::Gtk.VBox(); this.vbxCreateGuilty.Name = "vbxCreateGuilty"; this.vbxCreateGuilty.Spacing = 6; // Container child vbxCreateGuilty.Gtk.Box+BoxChild this.yEnumGuiltyType = new global::Gamma.Widgets.yEnumComboBox(); this.yEnumGuiltyType.Name = "yEnumGuiltyType"; this.yEnumGuiltyType.ShowSpecialStateAll = true; this.yEnumGuiltyType.ShowSpecialStateNot = false; this.yEnumGuiltyType.UseShortTitle = false; this.yEnumGuiltyType.DefaultFirst = false; this.vbxCreateGuilty.Add(this.yEnumGuiltyType); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbxCreateGuilty[this.yEnumGuiltyType])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbxCreateGuilty.Gtk.Box+BoxChild this.entVmEmployee = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entVmEmployee.Events = ((global::Gdk.EventMask)(256)); this.entVmEmployee.Name = "entVmEmployee"; this.entVmEmployee.CanEditReference = false; this.vbxCreateGuilty.Add(this.entVmEmployee); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbxCreateGuilty[this.entVmEmployee])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbxCreateGuilty.Gtk.Box+BoxChild this.yCmbSubdivision = new global::Gamma.Widgets.ySpecComboBox(); this.yCmbSubdivision.Name = "yCmbSubdivision"; this.yCmbSubdivision.AddIfNotExist = false; this.yCmbSubdivision.DefaultFirst = false; this.yCmbSubdivision.ShowSpecialStateAll = false; this.yCmbSubdivision.ShowSpecialStateNot = false; this.yCmbSubdivision.NameForSpecialStateNot = "Выберите отдел"; this.vbxCreateGuilty.Add(this.yCmbSubdivision); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbxCreateGuilty[this.yCmbSubdivision])); w3.Position = 2; w3.Expand = false; w3.Fill = false; this.Add(this.vbxCreateGuilty); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReadyForShipmentFilter global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReadyForShipmentFilter"; // Container child Vodovoz.ReadyForShipmentFilter.Gtk.Container+ContainerChild 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 w1 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yspeccomboWarehouse = new global::Gamma.Widgets.ySpecComboBox(); this.yspeccomboWarehouse.Name = "yspeccomboWarehouse"; this.yspeccomboWarehouse.AddIfNotExist = false; this.yspeccomboWarehouse.DefaultFirst = false; this.yspeccomboWarehouse.ShowSpecialStateAll = true; this.yspeccomboWarehouse.ShowSpecialStateNot = false; this.hbox3.Add(this.yspeccomboWarehouse); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yspeccomboWarehouse])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.entryWarehouses = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryWarehouses.WidthRequest = 350; this.entryWarehouses.Events = ((global::Gdk.EventMask)(256)); this.entryWarehouses.Name = "entryWarehouses"; this.entryWarehouses.CanEditReference = false; this.hbox3.Add(this.entryWarehouses); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.entryWarehouses])); w3.Position = 2; w3.Expand = false; this.Add(this.hbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.yspeccomboWarehouse.Hide(); this.entryWarehouses.Hide(); this.Hide(); this.yspeccomboWarehouse.ItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnYspeccomboWarehouseItemSelected); this.entryWarehouses.ChangedByUser += new global::System.EventHandler(this.OnEntryWarehousesChangedByUser); }
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; // 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 w5 = ((global::Gtk.Box.BoxChild)(this.hboxSubdivision[this.accessfilteredsubdivisionselectorwidget])); w5.PackType = ((global::Gtk.PackType)(1)); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.hbox2.Add(this.hboxSubdivision); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.hboxSubdivision])); w6.Position = 2; 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)(5)), ((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 w8 = ((global::Gtk.Table.TableChild)(this.table1[this.comboExpense])); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.evmeCashier = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeCashier.Sensitive = false; this.evmeCashier.Events = ((global::Gdk.EventMask)(256)); this.evmeCashier.Name = "evmeCashier"; this.evmeCashier.CanEditReference = true; this.table1.Add(this.evmeCashier); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.evmeCashier])); w9.LeftAttach = ((uint)(5)); w9.RightAttach = ((uint)(6)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.evmeEmployee = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeEmployee.Events = ((global::Gdk.EventMask)(256)); this.evmeEmployee.Name = "evmeEmployee"; this.evmeEmployee.CanEditReference = true; this.table1.Add(this.evmeEmployee); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.evmeEmployee])); 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)); // 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(0D, 2147483647D, 100D); 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.hbox6.Add(this.yspinMoney); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspinMoney])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // 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 w12 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.currencylabel1])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.table1.Add(this.hbox6); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox6])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); 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.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.hboxDebt.Add(this.labelCurrentDebt); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hboxDebt[this.labelCurrentDebt])); w14.Position = 0; w14.Expand = false; w14.Fill = false; this.table1.Add(this.hboxDebt); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.hboxDebt])); 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.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 w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.LeftAttach = ((uint)(4)); w16.RightAttach = ((uint)(5)); 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.LeftAttach = ((uint)(4)); w17.RightAttach = ((uint)(5)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.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 w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); 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.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 w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); 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)(4)); w20.BottomAttach = ((uint)(5)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.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 w21 = ((global::Gtk.Table.TableChild)(this.table1[this.label7])); 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.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 w22 = ((global::Gtk.Table.TableChild)(this.table1[this.labelChangeSum])); w22.TopAttach = ((uint)(4)); w22.BottomAttach = ((uint)(5)); 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.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 w23 = ((global::Gtk.Table.TableChild)(this.table1[this.labelChangeType])); w23.TopAttach = ((uint)(4)); w23.BottomAttach = ((uint)(5)); w23.LeftAttach = ((uint)(2)); w23.RightAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.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 w24 = ((global::Gtk.Table.TableChild)(this.table1[this.labelClosingSum])); w24.TopAttach = ((uint)(3)); w24.BottomAttach = ((uint)(4)); 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.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 w25 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDebtTitle])); 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)(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 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)(5)); w27.RightAttach = ((uint)(6)); w27.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 w28 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1])); w28.TopAttach = ((uint)(2)); w28.BottomAttach = ((uint)(3)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w29.Position = 1; w29.Expand = false; w29.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 w30 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.labelCreating])); w30.Position = 2; w30.Expand = false; w30.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 w31 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.labelTableTitle])); w31.Position = 3; w31.Expand = false; w31.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 w33 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow1])); w33.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 w34 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label6])); w34.Position = 5; w34.Expand = false; w34.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 w36 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w36.Position = 6; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); 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.CallTaskFilterView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Filters.GtkViews.CallTaskFilterView"; // Container child Vodovoz.Filters.GtkViews.CallTaskFilterView.Gtk.Container+ContainerChild this.vboxFilter = new global::Gtk.VBox(); this.vboxFilter.Name = "vboxFilter"; this.vboxFilter.Spacing = 6; // Container child vboxFilter.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("ФИО оператора :"); this.hbox1.Add(this.label3); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label3])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.entVMEmployee = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entVMEmployee.Events = ((global::Gdk.EventMask)(256)); this.entVMEmployee.Name = "entVMEmployee"; this.entVMEmployee.CanEditReference = false; this.hbox1.Add(this.entVMEmployee); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.entVMEmployee])); w2.Position = 1; w2.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.showWithoutCheckButton = new global::Gamma.GtkWidgets.yCheckButton(); this.showWithoutCheckButton.CanFocus = true; this.showWithoutCheckButton.Name = "showWithoutCheckButton"; this.showWithoutCheckButton.Label = global::Mono.Unix.Catalog.GetString("Только задачи без ответственного"); this.showWithoutCheckButton.Active = true; this.showWithoutCheckButton.DrawIndicator = true; this.showWithoutCheckButton.UseUnderline = true; this.hbox1.Add(this.showWithoutCheckButton); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.showWithoutCheckButton])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.checkbuttonHideCompleted = new global::Gamma.GtkWidgets.yCheckButton(); this.checkbuttonHideCompleted.CanFocus = true; this.checkbuttonHideCompleted.Name = "checkbuttonHideCompleted"; this.checkbuttonHideCompleted.Label = global::Mono.Unix.Catalog.GetString("Скрыть выполненые"); this.checkbuttonHideCompleted.Active = true; this.checkbuttonHideCompleted.DrawIndicator = true; this.checkbuttonHideCompleted.UseUnderline = true; this.hbox1.Add(this.checkbuttonHideCompleted); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.checkbuttonHideCompleted])); w4.Position = 3; w4.Expand = false; w4.Fill = false; this.vboxFilter.Add(this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxFilter[this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vboxFilter.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.comboboxDateType = new global::Gamma.Widgets.yEnumComboBox(); this.comboboxDateType.Name = "comboboxDateType"; this.comboboxDateType.ShowSpecialStateAll = false; this.comboboxDateType.ShowSpecialStateNot = false; this.comboboxDateType.UseShortTitle = false; this.comboboxDateType.DefaultFirst = false; this.hbox3.Add(this.comboboxDateType); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.comboboxDateType])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.dateperiodpickerDateFilter = new global::QS.Widgets.GtkUI.DateRangePicker(); this.dateperiodpickerDateFilter.Events = ((global::Gdk.EventMask)(256)); this.dateperiodpickerDateFilter.Name = "dateperiodpickerDateFilter"; this.dateperiodpickerDateFilter.StartDate = new global::System.DateTime(0); this.dateperiodpickerDateFilter.EndDate = new global::System.DateTime(0); this.hbox3.Add(this.dateperiodpickerDateFilter); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.dateperiodpickerDateFilter])); w7.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hbox3.Add(this.vseparator2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vseparator2])); w8.Position = 2; w8.Expand = false; w8.Fill = false; // 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 w9 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label1])); w9.Position = 3; w9.Expand = false; w9.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.specialListCmbboxDlvPointCategory = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.specialListCmbboxDlvPointCategory.Name = "specialListCmbboxDlvPointCategory"; this.specialListCmbboxDlvPointCategory.AddIfNotExist = false; this.specialListCmbboxDlvPointCategory.DefaultFirst = false; this.specialListCmbboxDlvPointCategory.ShowSpecialStateAll = false; this.specialListCmbboxDlvPointCategory.ShowSpecialStateNot = true; this.hbox3.Add(this.specialListCmbboxDlvPointCategory); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.specialListCmbboxDlvPointCategory])); w10.Position = 4; w10.Expand = false; w10.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yenumcomboboxSortingDirection = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxSortingDirection.Name = "yenumcomboboxSortingDirection"; this.yenumcomboboxSortingDirection.ShowSpecialStateAll = false; this.yenumcomboboxSortingDirection.ShowSpecialStateNot = false; this.yenumcomboboxSortingDirection.UseShortTitle = false; this.yenumcomboboxSortingDirection.DefaultFirst = false; this.hbox3.Add(this.yenumcomboboxSortingDirection); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yenumcomboboxSortingDirection])); w11.Position = 5; w11.Expand = false; w11.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yenumcomboboxSortingParam = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxSortingParam.Name = "yenumcomboboxSortingParam"; this.yenumcomboboxSortingParam.ShowSpecialStateAll = false; this.yenumcomboboxSortingParam.ShowSpecialStateNot = false; this.yenumcomboboxSortingParam.UseShortTitle = false; this.yenumcomboboxSortingParam.DefaultFirst = false; this.hbox3.Add(this.yenumcomboboxSortingParam); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yenumcomboboxSortingParam])); w12.Position = 6; w12.Expand = false; w12.Fill = false; this.vboxFilter.Add(this.hbox3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vboxFilter[this.hbox3])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child vboxFilter.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonExpired = new global::Gtk.Button(); this.buttonExpired.CanFocus = true; this.buttonExpired.Name = "buttonExpired"; this.buttonExpired.UseUnderline = true; this.buttonExpired.Label = global::Mono.Unix.Catalog.GetString("Просрочено"); this.hbox5.Add(this.buttonExpired); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonExpired])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonToday = new global::Gtk.Button(); this.buttonToday.CanFocus = true; this.buttonToday.Name = "buttonToday"; this.buttonToday.UseUnderline = true; this.buttonToday.Label = global::Mono.Unix.Catalog.GetString("Сегодня"); this.hbox5.Add(this.buttonToday); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonToday])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonTomorrow = new global::Gtk.Button(); this.buttonTomorrow.CanFocus = true; this.buttonTomorrow.Name = "buttonTomorrow"; this.buttonTomorrow.UseUnderline = true; this.buttonTomorrow.Label = global::Mono.Unix.Catalog.GetString("Завтра"); this.hbox5.Add(this.buttonTomorrow); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonTomorrow])); w16.Position = 2; w16.Expand = false; w16.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonThisWeek = new global::Gtk.Button(); this.buttonThisWeek.CanFocus = true; this.buttonThisWeek.Name = "buttonThisWeek"; this.buttonThisWeek.UseUnderline = true; this.buttonThisWeek.Label = global::Mono.Unix.Catalog.GetString("На этой неделе"); this.hbox5.Add(this.buttonThisWeek); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonThisWeek])); w17.Position = 3; w17.Expand = false; w17.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonNextWeek = new global::Gtk.Button(); this.buttonNextWeek.CanFocus = true; this.buttonNextWeek.Name = "buttonNextWeek"; this.buttonNextWeek.UseUnderline = true; this.buttonNextWeek.Label = global::Mono.Unix.Catalog.GetString("На следующей неделе"); this.hbox5.Add(this.buttonNextWeek); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonNextWeek])); w18.Position = 4; w18.Expand = false; w18.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox5.Add(this.vseparator1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vseparator1])); w19.Position = 5; w19.Expand = false; w19.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Район города:"); this.hbox5.Add(this.label7); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.label7])); w20.Position = 6; w20.Expand = false; w20.Fill = false; // Container child hbox5.Gtk.Box+BoxChild 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.hbox5.Add(this.ySpecCmbGeographicGroup); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.ySpecCmbGeographicGroup])); w21.Position = 7; w21.Expand = false; w21.Fill = false; this.vboxFilter.Add(this.hbox5); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vboxFilter[this.hbox5])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.Add(this.vboxFilter); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Warehouse.MovementDocumentView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Warehouse.MovementDocumentView"; // Container child Vodovoz.Views.Warehouse.MovementDocumentView.Gtk.Container+ContainerChild this.vboxView = new global::Gtk.VBox(); this.vboxView.Name = "vboxView"; this.vboxView.Spacing = 6; // Container child vboxView.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonSend = new global::Gamma.GtkWidgets.yButton(); this.buttonSend.CanFocus = true; this.buttonSend.Name = "buttonSend"; this.buttonSend.UseUnderline = true; this.buttonSend.Label = global::Mono.Unix.Catalog.GetString("Отправить"); this.hboxDialogButtons.Add(this.buttonSend); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSend])); w1.Position = 0; w1.Expand = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonReceive = new global::Gamma.GtkWidgets.yButton(); this.buttonReceive.CanFocus = true; this.buttonReceive.Name = "buttonReceive"; this.buttonReceive.UseUnderline = true; this.buttonReceive.Label = global::Mono.Unix.Catalog.GetString("Принять"); this.hboxDialogButtons.Add(this.buttonReceive); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonReceive])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonAcceptDiscrepancy = new global::Gamma.GtkWidgets.yButton(); this.buttonAcceptDiscrepancy.CanFocus = true; this.buttonAcceptDiscrepancy.Name = "buttonAcceptDiscrepancy"; this.buttonAcceptDiscrepancy.UseUnderline = true; this.buttonAcceptDiscrepancy.Label = global::Mono.Unix.Catalog.GetString("Подтвердить расхождения"); this.hboxDialogButtons.Add(this.buttonAcceptDiscrepancy); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonAcceptDiscrepancy])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w4 = new global::Gtk.Image(); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w4; this.hboxDialogButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel])); w5.Position = 3; w5.Expand = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.hboxPrint = new global::Gtk.HBox(); this.hboxPrint.Name = "hboxPrint"; this.hboxPrint.Spacing = 6; // Container child hboxPrint.Gtk.Box+BoxChild this.buttonPrint = new global::Gamma.GtkWidgets.yButton(); this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w6 = new global::Gtk.Image(); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w6; this.hboxPrint.Add(this.buttonPrint); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxPrint[this.buttonPrint])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 2; w7.Expand = false; w7.Fill = false; this.hboxDialogButtons.Add(this.hboxPrint); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.hboxPrint])); w8.PackType = ((global::Gtk.PackType)(1)); w8.Position = 5; this.vboxView.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vboxView[this.hboxDialogButtons])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vboxView.Gtk.Box+BoxChild this.tableInfo = new global::Gtk.Table(((uint)(5)), ((uint)(4)), false); this.tableInfo.Name = "tableInfo"; this.tableInfo.RowSpacing = ((uint)(6)); this.tableInfo.ColumnSpacing = ((uint)(6)); // Container child tableInfo.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.ytextviewComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewComment.CanFocus = true; this.ytextviewComment.Name = "ytextviewComment"; this.GtkScrolledWindow.Add(this.ytextviewComment); this.tableInfo.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.GtkScrolledWindow])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.hboxAuthor = new global::Gtk.HBox(); this.hboxAuthor.Name = "hboxAuthor"; this.hboxAuthor.Spacing = 6; // Container child hboxAuthor.Gtk.Box+BoxChild this.ylabelAuthorValue = new global::Gamma.GtkWidgets.yLabel(); this.ylabelAuthorValue.Name = "ylabelAuthorValue"; this.ylabelAuthorValue.Xalign = 0F; this.ylabelAuthorValue.LabelProp = global::Mono.Unix.Catalog.GetString("###"); this.hboxAuthor.Add(this.ylabelAuthorValue); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hboxAuthor[this.ylabelAuthorValue])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hboxAuthor.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hboxAuthor.Add(this.vseparator1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hboxAuthor[this.vseparator1])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child hboxAuthor.Gtk.Box+BoxChild this.ylabelEditor = new global::Gamma.GtkWidgets.yLabel(); this.ylabelEditor.Name = "ylabelEditor"; this.ylabelEditor.Xalign = 1F; this.ylabelEditor.LabelProp = global::Mono.Unix.Catalog.GetString("Изменил:"); this.hboxAuthor.Add(this.ylabelEditor); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hboxAuthor[this.ylabelEditor])); w14.Position = 2; w14.Expand = false; w14.Fill = false; // Container child hboxAuthor.Gtk.Box+BoxChild this.ylabelEditorValue = new global::Gamma.GtkWidgets.yLabel(); this.ylabelEditorValue.Name = "ylabelEditorValue"; this.ylabelEditorValue.Xalign = 0F; this.ylabelEditorValue.LabelProp = global::Mono.Unix.Catalog.GetString("###"); this.hboxAuthor.Add(this.ylabelEditorValue); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hboxAuthor[this.ylabelEditorValue])); w15.Position = 3; w15.Expand = false; w15.Fill = false; this.tableInfo.Add(this.hboxAuthor); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.hboxAuthor])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.hboxWagon = new global::Gtk.HBox(); this.hboxWagon.Name = "hboxWagon"; this.hboxWagon.Spacing = 6; // Container child hboxWagon.Gtk.Box+BoxChild this.yentryrefWagon = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.yentryrefWagon.Events = ((global::Gdk.EventMask)(256)); this.yentryrefWagon.Name = "yentryrefWagon"; this.hboxWagon.Add(this.yentryrefWagon); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hboxWagon[this.yentryrefWagon])); w17.Position = 0; this.tableInfo.Add(this.hboxWagon); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.hboxWagon])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.ylabelAuthor = new global::Gamma.GtkWidgets.yLabel(); this.ylabelAuthor.Name = "ylabelAuthor"; this.ylabelAuthor.Xalign = 1F; this.ylabelAuthor.LabelProp = global::Mono.Unix.Catalog.GetString("Автор:"); this.tableInfo.Add(this.ylabelAuthor); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.ylabelAuthor])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.ylabelAuthorStatus = new global::Gamma.GtkWidgets.yLabel(); this.ylabelAuthorStatus.Name = "ylabelAuthorStatus"; this.ylabelAuthorStatus.Xalign = 1F; this.ylabelAuthorStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус:"); this.tableInfo.Add(this.ylabelAuthorStatus); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.ylabelAuthorStatus])); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.ylabelComment = new global::Gamma.GtkWidgets.yLabel(); this.ylabelComment.Name = "ylabelComment"; this.ylabelComment.Xalign = 1F; this.ylabelComment.Yalign = 0F; this.ylabelComment.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.tableInfo.Add(this.ylabelComment); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.ylabelComment])); w21.TopAttach = ((uint)(4)); w21.BottomAttach = ((uint)(5)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.ylabelDiscrepancyAccepter = new global::Gamma.GtkWidgets.yLabel(); this.ylabelDiscrepancyAccepter.Name = "ylabelDiscrepancyAccepter"; this.ylabelDiscrepancyAccepter.Xalign = 1F; this.ylabelDiscrepancyAccepter.Yalign = 1F; this.ylabelDiscrepancyAccepter.LabelProp = global::Mono.Unix.Catalog.GetString("Подтвердил расхождения:"); this.ylabelDiscrepancyAccepter.Justify = ((global::Gtk.Justification)(1)); this.tableInfo.Add(this.ylabelDiscrepancyAccepter); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.ylabelDiscrepancyAccepter])); w22.TopAttach = ((uint)(2)); w22.BottomAttach = ((uint)(3)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.ylabelDiscrepancyAccepterValue = new global::Gamma.GtkWidgets.yLabel(); this.ylabelDiscrepancyAccepterValue.Name = "ylabelDiscrepancyAccepterValue"; this.ylabelDiscrepancyAccepterValue.Xalign = 0F; this.ylabelDiscrepancyAccepterValue.LabelProp = global::Mono.Unix.Catalog.GetString("###"); this.tableInfo.Add(this.ylabelDiscrepancyAccepterValue); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.ylabelDiscrepancyAccepterValue])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(4)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.ylabelStatusValue = new global::Gamma.GtkWidgets.yLabel(); this.ylabelStatusValue.Name = "ylabelStatusValue"; this.ylabelStatusValue.Xalign = 0F; this.ylabelStatusValue.LabelProp = global::Mono.Unix.Catalog.GetString("###"); this.tableInfo.Add(this.ylabelStatusValue); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.ylabelStatusValue])); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(4)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.ylabelWagon = new global::Gamma.GtkWidgets.yLabel(); this.ylabelWagon.Name = "ylabelWagon"; this.ylabelWagon.Xalign = 1F; this.ylabelWagon.LabelProp = global::Mono.Unix.Catalog.GetString("Фура:"); this.tableInfo.Add(this.ylabelWagon); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.ylabelWagon])); w25.TopAttach = ((uint)(3)); w25.BottomAttach = ((uint)(4)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxView.Add(this.tableInfo); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vboxView[this.tableInfo])); w26.Position = 1; w26.Expand = false; w26.Fill = false; // Container child vboxView.Gtk.Box+BoxChild this.tableSenderReceiver = new global::Gtk.Table(((uint)(3)), ((uint)(5)), false); this.tableSenderReceiver.Name = "tableSenderReceiver"; this.tableSenderReceiver.RowSpacing = ((uint)(6)); this.tableSenderReceiver.ColumnSpacing = ((uint)(6)); // Container child tableSenderReceiver.Gtk.Table+TableChild this.hboxReceiver = new global::Gtk.HBox(); this.hboxReceiver.Name = "hboxReceiver"; this.hboxReceiver.Spacing = 6; // Container child hboxReceiver.Gtk.Box+BoxChild this.ylabelReceiverValue = new global::Gamma.GtkWidgets.yLabel(); this.ylabelReceiverValue.Name = "ylabelReceiverValue"; this.ylabelReceiverValue.LabelProp = global::Mono.Unix.Catalog.GetString("###"); this.hboxReceiver.Add(this.ylabelReceiverValue); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hboxReceiver[this.ylabelReceiverValue])); w27.Position = 0; w27.Expand = false; w27.Fill = false; this.tableSenderReceiver.Add(this.hboxReceiver); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tableSenderReceiver[this.hboxReceiver])); w28.TopAttach = ((uint)(2)); w28.BottomAttach = ((uint)(3)); w28.LeftAttach = ((uint)(3)); w28.RightAttach = ((uint)(4)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSenderReceiver.Gtk.Table+TableChild this.hboxSender = new global::Gtk.HBox(); this.hboxSender.Name = "hboxSender"; this.hboxSender.Spacing = 6; // Container child hboxSender.Gtk.Box+BoxChild this.ylabelSenderValue = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSenderValue.Name = "ylabelSenderValue"; this.ylabelSenderValue.LabelProp = global::Mono.Unix.Catalog.GetString("###"); this.hboxSender.Add(this.ylabelSenderValue); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hboxSender[this.ylabelSenderValue])); w29.Position = 0; w29.Expand = false; w29.Fill = false; this.tableSenderReceiver.Add(this.hboxSender); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.tableSenderReceiver[this.hboxSender])); w30.TopAttach = ((uint)(2)); w30.BottomAttach = ((uint)(3)); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(2)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSenderReceiver.Gtk.Table+TableChild this.hboxWarehouseFrom = new global::Gtk.HBox(); this.hboxWarehouseFrom.Name = "hboxWarehouseFrom"; this.hboxWarehouseFrom.Spacing = 6; // Container child hboxWarehouseFrom.Gtk.Box+BoxChild this.comboWarehouseFrom = new global::Gamma.Widgets.ySpecComboBox(); this.comboWarehouseFrom.Name = "comboWarehouseFrom"; this.comboWarehouseFrom.AddIfNotExist = false; this.comboWarehouseFrom.DefaultFirst = false; this.comboWarehouseFrom.ShowSpecialStateAll = false; this.comboWarehouseFrom.ShowSpecialStateNot = true; this.comboWarehouseFrom.NameForSpecialStateNot = "Выбрать"; this.hboxWarehouseFrom.Add(this.comboWarehouseFrom); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hboxWarehouseFrom[this.comboWarehouseFrom])); w31.Position = 0; w31.Expand = false; w31.Fill = false; this.tableSenderReceiver.Add(this.hboxWarehouseFrom); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.tableSenderReceiver[this.hboxWarehouseFrom])); w32.TopAttach = ((uint)(1)); w32.BottomAttach = ((uint)(2)); w32.RightAttach = ((uint)(2)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSenderReceiver.Gtk.Table+TableChild this.hboxWarehouseTo = new global::Gtk.HBox(); this.hboxWarehouseTo.Name = "hboxWarehouseTo"; this.hboxWarehouseTo.Spacing = 6; // Container child hboxWarehouseTo.Gtk.Box+BoxChild this.comboWarehouseTo = new global::Gamma.Widgets.ySpecComboBox(); this.comboWarehouseTo.Name = "comboWarehouseTo"; this.comboWarehouseTo.AddIfNotExist = false; this.comboWarehouseTo.DefaultFirst = false; this.comboWarehouseTo.ShowSpecialStateAll = false; this.comboWarehouseTo.ShowSpecialStateNot = true; this.comboWarehouseTo.NameForSpecialStateNot = "Выбрать"; this.hboxWarehouseTo.Add(this.comboWarehouseTo); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hboxWarehouseTo[this.comboWarehouseTo])); w33.Position = 0; w33.Expand = false; w33.Fill = false; this.tableSenderReceiver.Add(this.hboxWarehouseTo); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.tableSenderReceiver[this.hboxWarehouseTo])); w34.TopAttach = ((uint)(1)); w34.BottomAttach = ((uint)(2)); w34.LeftAttach = ((uint)(2)); w34.RightAttach = ((uint)(4)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSenderReceiver.Gtk.Table+TableChild this.ylabelReceiverTitle = new global::Gamma.GtkWidgets.yLabel(); this.ylabelReceiverTitle.Name = "ylabelReceiverTitle"; this.ylabelReceiverTitle.Xalign = 0F; this.ylabelReceiverTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Получатель:"); this.tableSenderReceiver.Add(this.ylabelReceiverTitle); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.tableSenderReceiver[this.ylabelReceiverTitle])); w35.LeftAttach = ((uint)(2)); w35.RightAttach = ((uint)(4)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSenderReceiver.Gtk.Table+TableChild this.ylabelReceiveTime = new global::Gamma.GtkWidgets.yLabel(); this.ylabelReceiveTime.Name = "ylabelReceiveTime"; this.ylabelReceiveTime.Xalign = 1F; this.ylabelReceiveTime.LabelProp = global::Mono.Unix.Catalog.GetString("Получено:"); this.tableSenderReceiver.Add(this.ylabelReceiveTime); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.tableSenderReceiver[this.ylabelReceiveTime])); w36.TopAttach = ((uint)(2)); w36.BottomAttach = ((uint)(3)); w36.LeftAttach = ((uint)(2)); w36.RightAttach = ((uint)(3)); w36.XOptions = ((global::Gtk.AttachOptions)(0)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSenderReceiver.Gtk.Table+TableChild this.ylabelSenderTitle = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSenderTitle.Name = "ylabelSenderTitle"; this.ylabelSenderTitle.Xalign = 0F; this.ylabelSenderTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Отправитель:"); this.tableSenderReceiver.Add(this.ylabelSenderTitle); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.tableSenderReceiver[this.ylabelSenderTitle])); w37.RightAttach = ((uint)(2)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSenderReceiver.Gtk.Table+TableChild this.ylabelSendTime = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSendTime.Name = "ylabelSendTime"; this.ylabelSendTime.Xalign = 1F; this.ylabelSendTime.LabelProp = global::Mono.Unix.Catalog.GetString("Отправлено:"); this.tableSenderReceiver.Add(this.ylabelSendTime); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.tableSenderReceiver[this.ylabelSendTime])); w38.TopAttach = ((uint)(2)); w38.BottomAttach = ((uint)(3)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxView.Add(this.tableSenderReceiver); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vboxView[this.tableSenderReceiver])); w39.Position = 2; w39.Expand = false; w39.Fill = false; // Container child vboxView.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.ytreeviewItems = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewItems.CanFocus = true; this.ytreeviewItems.Name = "ytreeviewItems"; this.GtkScrolledWindow1.Add(this.ytreeviewItems); this.vboxView.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vboxView[this.GtkScrolledWindow1])); w41.Position = 3; // Container child vboxView.Gtk.Box+BoxChild this.hboxItemsActions = new global::Gtk.HBox(); this.hboxItemsActions.Name = "hboxItemsActions"; this.hboxItemsActions.Spacing = 6; // Container child hboxItemsActions.Gtk.Box+BoxChild this.ybuttonAddItem = new global::Gamma.GtkWidgets.yButton(); this.ybuttonAddItem.CanFocus = true; this.ybuttonAddItem.Name = "ybuttonAddItem"; this.ybuttonAddItem.UseUnderline = true; this.ybuttonAddItem.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.ybuttonAddItem.Image = w42; this.hboxItemsActions.Add(this.ybuttonAddItem); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hboxItemsActions[this.ybuttonAddItem])); w43.Position = 0; w43.Expand = false; w43.Fill = false; // Container child hboxItemsActions.Gtk.Box+BoxChild this.ybuttonFillFromOrders = new global::Gamma.GtkWidgets.yButton(); this.ybuttonFillFromOrders.CanFocus = true; this.ybuttonFillFromOrders.Name = "ybuttonFillFromOrders"; this.ybuttonFillFromOrders.UseUnderline = true; this.ybuttonFillFromOrders.Label = global::Mono.Unix.Catalog.GetString("Добавить из заказов"); global::Gtk.Image w44 = new global::Gtk.Image(); w44.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.ybuttonFillFromOrders.Image = w44; this.hboxItemsActions.Add(this.ybuttonFillFromOrders); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hboxItemsActions[this.ybuttonFillFromOrders])); w45.Position = 1; w45.Expand = false; w45.Fill = false; // Container child hboxItemsActions.Gtk.Box+BoxChild this.ybuttonDeleteItem = new global::Gamma.GtkWidgets.yButton(); this.ybuttonDeleteItem.CanFocus = true; this.ybuttonDeleteItem.Name = "ybuttonDeleteItem"; this.ybuttonDeleteItem.UseUnderline = true; this.ybuttonDeleteItem.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w46 = new global::Gtk.Image(); w46.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.ybuttonDeleteItem.Image = w46; this.hboxItemsActions.Add(this.ybuttonDeleteItem); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hboxItemsActions[this.ybuttonDeleteItem])); w47.Position = 2; w47.Expand = false; w47.Fill = false; this.vboxView.Add(this.hboxItemsActions); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vboxView[this.hboxItemsActions])); w48.Position = 4; w48.Expand = false; w48.Fill = false; this.Add(this.vboxView); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
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.Filters.GtkViews.CarEventFilterView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Filters.GtkViews.CarEventFilterView"; // Container child Vodovoz.Filters.GtkViews.CarEventFilterView.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)(3)), ((uint)(6)), 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 w1 = ((global::Gtk.Table.TableChild)(this.table1[this.entityviewmodelentryCar])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.LeftAttach = ((uint)(3)); w1.RightAttach = ((uint)(4)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entityviewmodelentryCarEventType = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityviewmodelentryCarEventType.Events = ((global::Gdk.EventMask)(256)); this.entityviewmodelentryCarEventType.Name = "entityviewmodelentryCarEventType"; this.entityviewmodelentryCarEventType.CanEditReference = true; this.table1.Add(this.entityviewmodelentryCarEventType); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entityviewmodelentryCarEventType])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelAuthor = new global::Gtk.Label(); this.labelAuthor.Name = "labelAuthor"; this.labelAuthor.Xalign = 1F; this.labelAuthor.LabelProp = global::Mono.Unix.Catalog.GetString("Автор:"); this.table1.Add(this.labelAuthor); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.labelAuthor])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.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.table1.Add(this.labelCar); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCar])); 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 table1.Gtk.Table+TableChild this.labelCarEventType = new global::Gtk.Label(); this.labelCarEventType.Name = "labelCarEventType"; this.labelCarEventType.Xalign = 1F; this.labelCarEventType.LabelProp = global::Mono.Unix.Catalog.GetString("Вид события ТС:"); this.table1.Add(this.labelCarEventType); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCarEventType])); 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.labelDateCreate = new global::Gtk.Label(); this.labelDateCreate.Name = "labelDateCreate"; this.labelDateCreate.Xalign = 1F; this.labelDateCreate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата создания:"); this.table1.Add(this.labelDateCreate); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDateCreate])); 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.labelDateEventEnd = new global::Gtk.Label(); this.labelDateEventEnd.Name = "labelDateEventEnd"; this.labelDateEventEnd.Xalign = 1F; this.labelDateEventEnd.LabelProp = global::Mono.Unix.Catalog.GetString("Дата окончания события:"); this.table1.Add(this.labelDateEventEnd); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDateEventEnd])); 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.labelDateEventStart = new global::Gtk.Label(); this.labelDateEventStart.Name = "labelDateEventStart"; this.labelDateEventStart.Xalign = 1F; this.labelDateEventStart.LabelProp = global::Mono.Unix.Catalog.GetString("Дата начала события:"); this.table1.Add(this.labelDateEventStart); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDateEventStart])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.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.table1.Add(this.labelDriver); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDriver])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); 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.referenceAuthor = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.referenceAuthor.Events = ((global::Gdk.EventMask)(256)); this.referenceAuthor.Name = "referenceAuthor"; this.table1.Add(this.referenceAuthor); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceAuthor])); 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.referenceDriver = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.referenceDriver.Events = ((global::Gdk.EventMask)(256)); this.referenceDriver.Name = "referenceDriver"; this.table1.Add(this.referenceDriver); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceDriver])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(5)); w11.RightAttach = ((uint)(6)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydateperiodpickerCreateEventDate = new global::Gamma.Widgets.yDatePeriodPicker(); this.ydateperiodpickerCreateEventDate.Events = ((global::Gdk.EventMask)(256)); this.ydateperiodpickerCreateEventDate.Name = "ydateperiodpickerCreateEventDate"; this.ydateperiodpickerCreateEventDate.StartDate = new global::System.DateTime(0); this.ydateperiodpickerCreateEventDate.EndDate = new global::System.DateTime(0); this.table1.Add(this.ydateperiodpickerCreateEventDate); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateperiodpickerCreateEventDate])); w12.LeftAttach = ((uint)(5)); w12.RightAttach = ((uint)(6)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydateperiodpickerEndEventDate = new global::Gamma.Widgets.yDatePeriodPicker(); this.ydateperiodpickerEndEventDate.Events = ((global::Gdk.EventMask)(256)); this.ydateperiodpickerEndEventDate.Name = "ydateperiodpickerEndEventDate"; this.ydateperiodpickerEndEventDate.StartDate = new global::System.DateTime(0); this.ydateperiodpickerEndEventDate.EndDate = new global::System.DateTime(0); this.table1.Add(this.ydateperiodpickerEndEventDate); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateperiodpickerEndEventDate])); w13.LeftAttach = ((uint)(3)); w13.RightAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydateperiodpickerStartEventDate = new global::Gamma.Widgets.yDatePeriodPicker(); this.ydateperiodpickerStartEventDate.Events = ((global::Gdk.EventMask)(256)); this.ydateperiodpickerStartEventDate.Name = "ydateperiodpickerStartEventDate"; this.ydateperiodpickerStartEventDate.StartDate = new global::System.DateTime(0); this.ydateperiodpickerStartEventDate.EndDate = new global::System.DateTime(0); this.table1.Add(this.ydateperiodpickerStartEventDate); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateperiodpickerStartEventDate])); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w15.Position = 0; 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.ReportsParameters.Orders.FirstClientsReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Orders.FirstClientsReport"; // Container child Vodovoz.ReportsParameters.Orders.FirstClientsReport.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.chkBtnWithPromotionalSets = new global::Gamma.GtkWidgets.yCheckButton(); this.chkBtnWithPromotionalSets.CanFocus = true; this.chkBtnWithPromotionalSets.Name = "chkBtnWithPromotionalSets"; this.chkBtnWithPromotionalSets.Label = global::Mono.Unix.Catalog.GetString("С промонаборами"); this.chkBtnWithPromotionalSets.DrawIndicator = true; this.chkBtnWithPromotionalSets.UseUnderline = true; this.table1.Add(this.chkBtnWithPromotionalSets); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.chkBtnWithPromotionalSets])); w2.TopAttach = ((uint)(4)); w2.BottomAttach = ((uint)(5)); 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.datePeriodPicker = new global::QS.Widgets.GtkUI.DateRangePicker(); 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.table1.Add(this.datePeriodPicker); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.datePeriodPicker])); 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.entryDistrict = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryDistrict.Events = ((global::Gdk.EventMask)(256)); this.entryDistrict.Name = "entryDistrict"; this.entryDistrict.CanEditReference = true; this.table1.Add(this.entryDistrict); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.entryDistrict])); 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.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Район:"); this.label3.Justify = ((global::Gtk.Justification)(1)); 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.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)(2)); w8.BottomAttach = ((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.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yChooseOrderStatus = new global::Gamma.Widgets.yEnumComboBox(); this.yChooseOrderStatus.Name = "yChooseOrderStatus"; this.yChooseOrderStatus.ShowSpecialStateAll = true; this.yChooseOrderStatus.ShowSpecialStateNot = false; this.yChooseOrderStatus.UseShortTitle = false; this.yChooseOrderStatus.DefaultFirst = false; this.table1.Add(this.yChooseOrderStatus); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.yChooseOrderStatus])); 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.yChooseThePaymentTypeForTheOrder = new global::Gamma.Widgets.yEnumComboBox(); this.yChooseThePaymentTypeForTheOrder.Name = "yChooseThePaymentTypeForTheOrder"; this.yChooseThePaymentTypeForTheOrder.ShowSpecialStateAll = true; this.yChooseThePaymentTypeForTheOrder.ShowSpecialStateNot = false; this.yChooseThePaymentTypeForTheOrder.UseShortTitle = false; this.yChooseThePaymentTypeForTheOrder.DefaultFirst = false; this.table1.Add(this.yChooseThePaymentTypeForTheOrder); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.yChooseThePaymentTypeForTheOrder])); w11.TopAttach = ((uint)(3)); w11.BottomAttach = ((uint)(4)); 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.yCpecCmbDiscountReason = new global::Gamma.Widgets.ySpecComboBox(); this.yCpecCmbDiscountReason.Name = "yCpecCmbDiscountReason"; this.yCpecCmbDiscountReason.AddIfNotExist = false; this.yCpecCmbDiscountReason.DefaultFirst = false; this.yCpecCmbDiscountReason.ShowSpecialStateAll = true; this.yCpecCmbDiscountReason.ShowSpecialStateNot = false; this.table1.Add(this.yCpecCmbDiscountReason); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.yCpecCmbDiscountReason])); 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.datePeriodPicker.PeriodChanged += new global::System.EventHandler(this.OnDatePeriodPickerPeriodChanged); this.buttonRun.Clicked += new global::System.EventHandler(this.OnButtonRunClicked); }
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 Vodovoz.Filters.GtkViews.OrderFilterView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Filters.GtkViews.OrderFilterView"; // Container child Vodovoz.Filters.GtkViews.OrderFilterView.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)(4)), ((uint)(7)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // 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 w1 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodOrders])); w1.LeftAttach = ((uint)(5)); w1.RightAttach = ((uint)(6)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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.table1.Add(this.entryCounterparty); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entryCounterparty])); 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.enumcomboPaymentType = new global::Gamma.Widgets.yEnumComboBox(); this.enumcomboPaymentType.Name = "enumcomboPaymentType"; this.enumcomboPaymentType.ShowSpecialStateAll = true; this.enumcomboPaymentType.ShowSpecialStateNot = false; this.enumcomboPaymentType.UseShortTitle = false; this.enumcomboPaymentType.DefaultFirst = false; this.table1.Add(this.enumcomboPaymentType); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.enumcomboPaymentType])); 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.enumcomboStatus = new global::Gamma.Widgets.yEnumComboBox(); this.enumcomboStatus.Name = "enumcomboStatus"; this.enumcomboStatus.ShowSpecialStateAll = true; this.enumcomboStatus.ShowSpecialStateNot = false; this.enumcomboStatus.UseShortTitle = false; this.enumcomboStatus.DefaultFirst = false; this.table1.Add(this.enumcomboStatus); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.enumcomboStatus])); 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.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.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.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)(3)); w6.BottomAttach = ((uint)(4)); 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.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); 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.LeftAttach = ((uint)(4)); w8.RightAttach = ((uint)(5)); 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.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(2)); w9.RightAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.representationentryDeliveryPoint = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.representationentryDeliveryPoint.Events = ((global::Gdk.EventMask)(256)); this.representationentryDeliveryPoint.Name = "representationentryDeliveryPoint"; this.table1.Add(this.representationentryDeliveryPoint); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.representationentryDeliveryPoint])); w10.TopAttach = ((uint)(3)); w10.BottomAttach = ((uint)(4)); w10.LeftAttach = ((uint)(3)); w10.RightAttach = ((uint)(6)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.speciallistCmbOrganisations = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.speciallistCmbOrganisations.Name = "speciallistCmbOrganisations"; this.speciallistCmbOrganisations.AddIfNotExist = false; this.speciallistCmbOrganisations.DefaultFirst = false; this.speciallistCmbOrganisations.ShowSpecialStateAll = true; this.speciallistCmbOrganisations.ShowSpecialStateNot = false; this.table1.Add(this.speciallistCmbOrganisations); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.speciallistCmbOrganisations])); 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.speciallistCmbPaymentsFrom = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.speciallistCmbPaymentsFrom.Name = "speciallistCmbPaymentsFrom"; this.speciallistCmbPaymentsFrom.AddIfNotExist = false; this.speciallistCmbPaymentsFrom.DefaultFirst = false; this.speciallistCmbPaymentsFrom.ShowSpecialStateAll = true; this.speciallistCmbPaymentsFrom.ShowSpecialStateNot = false; this.table1.Add(this.speciallistCmbPaymentsFrom); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.speciallistCmbPaymentsFrom])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); 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.yenumcomboboxPaymentOrder = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxPaymentOrder.Name = "yenumcomboboxPaymentOrder"; this.yenumcomboboxPaymentOrder.ShowSpecialStateAll = true; this.yenumcomboboxPaymentOrder.ShowSpecialStateNot = false; this.yenumcomboboxPaymentOrder.UseShortTitle = false; this.yenumcomboboxPaymentOrder.DefaultFirst = false; this.table1.Add(this.yenumcomboboxPaymentOrder); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumcomboboxPaymentOrder])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(5)); w13.RightAttach = ((uint)(6)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yenumcomboboxViewTypes = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxViewTypes.Name = "yenumcomboboxViewTypes"; this.yenumcomboboxViewTypes.ShowSpecialStateAll = false; this.yenumcomboboxViewTypes.ShowSpecialStateNot = false; this.yenumcomboboxViewTypes.UseShortTitle = false; this.yenumcomboboxViewTypes.DefaultFirst = false; this.table1.Add(this.yenumcomboboxViewTypes); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumcomboboxViewTypes])); 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.yenumСmbboxOrderPaymentStatus = new global::Gamma.Widgets.yEnumComboBox(); this.yenumСmbboxOrderPaymentStatus.Name = "yenumСmbboxOrderPaymentStatus"; this.yenumСmbboxOrderPaymentStatus.ShowSpecialStateAll = true; this.yenumСmbboxOrderPaymentStatus.ShowSpecialStateNot = false; this.yenumСmbboxOrderPaymentStatus.UseShortTitle = false; this.yenumСmbboxOrderPaymentStatus.DefaultFirst = false; this.table1.Add(this.yenumСmbboxOrderPaymentStatus); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumСmbboxOrderPaymentStatus])); w15.LeftAttach = ((uint)(3)); w15.RightAttach = ((uint)(4)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.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 w16 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1])); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.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 w17 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel2])); 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.ylblOrganisation = new global::Gamma.GtkWidgets.yLabel(); this.ylblOrganisation.Name = "ylblOrganisation"; this.ylblOrganisation.Xalign = 1F; this.ylblOrganisation.LabelProp = global::Mono.Unix.Catalog.GetString("Организация:"); this.table1.Add(this.ylblOrganisation); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.ylblOrganisation])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylblPaymentFrom = new global::Gamma.GtkWidgets.yLabel(); this.ylblPaymentFrom.Name = "ylblPaymentFrom"; this.ylblPaymentFrom.Xalign = 1F; this.ylblPaymentFrom.LabelProp = global::Mono.Unix.Catalog.GetString("Откуда оплата:"); this.table1.Add(this.ylblPaymentFrom); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.ylblPaymentFrom])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(2)); w19.RightAttach = ((uint)(3)); 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; w20.Expand = false; w20.Fill = false; // 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.ycheckOnlySelfdelivery = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckOnlySelfdelivery.CanFocus = true; this.ycheckOnlySelfdelivery.Name = "ycheckOnlySelfdelivery"; this.ycheckOnlySelfdelivery.Label = global::Mono.Unix.Catalog.GetString("Только самовывоз"); this.ycheckOnlySelfdelivery.DrawIndicator = true; this.ycheckOnlySelfdelivery.UseUnderline = true; this.hbox4.Add(this.ycheckOnlySelfdelivery); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ycheckOnlySelfdelivery])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ycheckWithoutSelfdelivery = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckWithoutSelfdelivery.CanFocus = true; this.ycheckWithoutSelfdelivery.Name = "ycheckWithoutSelfdelivery"; this.ycheckWithoutSelfdelivery.Label = global::Mono.Unix.Catalog.GetString("Скрыть самовывозы"); this.ycheckWithoutSelfdelivery.DrawIndicator = true; this.ycheckWithoutSelfdelivery.UseUnderline = true; this.hbox4.Add(this.ycheckWithoutSelfdelivery); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ycheckWithoutSelfdelivery])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ycheckOnlyServices = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckOnlyServices.CanFocus = true; this.ycheckOnlyServices.Name = "ycheckOnlyServices"; this.ycheckOnlyServices.Label = global::Mono.Unix.Catalog.GetString("Только выезд мастера"); this.ycheckOnlyServices.DrawIndicator = true; this.ycheckOnlyServices.UseUnderline = true; this.hbox4.Add(this.ycheckOnlyServices); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ycheckOnlyServices])); w23.Position = 2; w23.Expand = false; w23.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ycheckHideServices = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckHideServices.CanFocus = true; this.ycheckHideServices.Name = "ycheckHideServices"; this.ycheckHideServices.Label = global::Mono.Unix.Catalog.GetString("Скрыть выезд мастера"); this.ycheckHideServices.DrawIndicator = true; this.ycheckHideServices.UseUnderline = true; this.hbox4.Add(this.ycheckHideServices); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ycheckHideServices])); w24.Position = 3; w24.Expand = false; w24.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ycheckLessThreeHours = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckLessThreeHours.CanFocus = true; this.ycheckLessThreeHours.Name = "ycheckLessThreeHours"; this.ycheckLessThreeHours.Label = global::Mono.Unix.Catalog.GetString("Менее 3-х часов"); this.ycheckLessThreeHours.DrawIndicator = true; this.ycheckLessThreeHours.UseUnderline = true; this.hbox4.Add(this.ycheckLessThreeHours); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ycheckLessThreeHours])); w25.Position = 4; w25.Expand = false; w25.Fill = false; this.vbox2.Add(this.hbox4); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox4])); w26.Position = 1; w26.Expand = false; w26.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.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.Reports.FuelReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Reports.FuelReport"; // Container child Vodovoz.Reports.FuelReport.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.Xalign = 0F; 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::QS.Widgets.GtkUI.DateRangePicker(); 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.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.radioDriver = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Баланс по водителям")); this.radioDriver.CanFocus = true; this.radioDriver.Name = "radioDriver"; this.radioDriver.DrawIndicator = true; this.radioDriver.UseUnderline = true; this.radioDriver.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.vbox2.Add(this.radioDriver); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.radioDriver])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.radioCar = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Баланс по автомобилям")); this.radioCar.CanFocus = true; this.radioCar.Name = "radioCar"; this.radioCar.DrawIndicator = true; this.radioCar.UseUnderline = true; this.radioCar.Group = this.radioDriver.Group; this.vbox2.Add(this.radioCar); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.radioCar])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.radioSumm = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Суммарный отчет по топливу")); this.radioSumm.CanFocus = true; this.radioSumm.Name = "radioSumm"; this.radioSumm.DrawIndicator = true; this.radioSumm.UseUnderline = true; this.radioSumm.Group = this.radioDriver.Group; this.vbox2.Add(this.radioSumm); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.radioSumm])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.hbox5.Add(this.vbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox2])); w7.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.yCheckButtonDatailedSummary = new global::Gamma.GtkWidgets.yCheckButton(); this.yCheckButtonDatailedSummary.CanFocus = true; this.yCheckButtonDatailedSummary.Name = "yCheckButtonDatailedSummary"; this.yCheckButtonDatailedSummary.Label = global::Mono.Unix.Catalog.GetString("Детализированный"); this.yCheckButtonDatailedSummary.DrawIndicator = true; this.yCheckButtonDatailedSummary.UseUnderline = true; this.vbox3.Add(this.yCheckButtonDatailedSummary); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.yCheckButtonDatailedSummary])); w8.PackType = ((global::Gtk.PackType)(1)); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.hbox5.Add(this.vbox3); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox3])); w9.Position = 1; this.vbox1.Add(this.hbox5); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox5])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hboxDriver = new global::Gtk.HBox(); this.hboxDriver.Name = "hboxDriver"; this.hboxDriver.Spacing = 6; // Container child hboxDriver.Gtk.Box+BoxChild this.labelDriver = new global::Gtk.Label(); this.labelDriver.Name = "labelDriver"; this.labelDriver.LabelProp = global::Mono.Unix.Catalog.GetString("Водитель:"); this.hboxDriver.Add(this.labelDriver); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxDriver[this.labelDriver])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hboxDriver.Gtk.Box+BoxChild this.evmeDriver = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeDriver.Events = ((global::Gdk.EventMask)(256)); this.evmeDriver.Name = "evmeDriver"; this.evmeDriver.CanEditReference = true; this.hboxDriver.Add(this.evmeDriver); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hboxDriver[this.evmeDriver])); w12.Position = 1; this.vbox1.Add(this.hboxDriver); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxDriver])); w13.Position = 2; w13.Expand = false; w13.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hboxCar = new global::Gtk.HBox(); this.hboxCar.Name = "hboxCar"; this.hboxCar.Spacing = 6; // Container child hboxCar.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Автомобиль:"); this.hboxCar.Add(this.label2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hboxCar[this.label2])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hboxCar.Gtk.Box+BoxChild this.entityviewmodelentryCar = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityviewmodelentryCar.Events = ((global::Gdk.EventMask)(256)); this.entityviewmodelentryCar.Name = "entityviewmodelentryCar"; this.entityviewmodelentryCar.CanEditReference = true; this.hboxCar.Add(this.entityviewmodelentryCar); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hboxCar[this.entityviewmodelentryCar])); w15.Position = 1; this.vbox1.Add(this.hboxCar); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxCar])); w16.Position = 3; w16.Expand = false; w16.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hboxAuthor = new global::Gtk.HBox(); this.hboxAuthor.Name = "hboxAuthor"; this.hboxAuthor.Spacing = 6; // Container child hboxAuthor.Gtk.Box+BoxChild this.labelAuthor = new global::Gtk.Label(); this.labelAuthor.Name = "labelAuthor"; this.labelAuthor.LabelProp = global::Mono.Unix.Catalog.GetString("Автор:"); this.hboxAuthor.Add(this.labelAuthor); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hboxAuthor[this.labelAuthor])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hboxAuthor.Gtk.Box+BoxChild this.evmeAuthor = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeAuthor.Events = ((global::Gdk.EventMask)(256)); this.evmeAuthor.Name = "evmeAuthor"; this.evmeAuthor.CanEditReference = true; this.hboxAuthor.Add(this.evmeAuthor); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hboxAuthor[this.evmeAuthor])); w18.Position = 1; this.vbox1.Add(this.hboxAuthor); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxAuthor])); w19.Position = 4; w19.Expand = false; w19.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 w20 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.buttonCreateReport])); w20.Position = 5; w20.Expand = false; w20.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.yCheckButtonDatailedSummary.Hide(); this.hboxCar.Hide(); this.hboxAuthor.Hide(); this.Hide(); this.radioDriver.Toggled += new global::System.EventHandler(this.OnRadioDriverToggled); this.radioCar.Toggled += new global::System.EventHandler(this.OnRadioCarToggled); this.radioSumm.Toggled += new global::System.EventHandler(this.OnRadioSummToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Cash.CashTransfer.IncomeCashTransferDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Cash.CashTransfer.IncomeCashTransferDlg"; // Container child Vodovoz.Dialogs.Cash.CashTransfer.IncomeCashTransferDlg.Gtk.Container+ContainerChild this.vboxDialog = new global::Gtk.VBox(); this.vboxDialog.Name = "vboxDialog"; this.vboxDialog.Spacing = 6; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.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.hboxDialogButtons.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); 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.hboxDialogButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hboxDialogButtons.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.hboxDialogButtons.Add(this.buttonPrint); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonPrint])); w6.Position = 3; w6.Expand = false; w6.Fill = false; this.vboxDialog.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxDialogButtons])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.tableState = new global::Gtk.Table(((uint)(1)), ((uint)(6)), false); this.tableState.Name = "tableState"; this.tableState.RowSpacing = ((uint)(6)); this.tableState.ColumnSpacing = ((uint)(6)); // Container child tableState.Gtk.Table+TableChild this.labelAuthor = new global::Gtk.Label(); this.labelAuthor.Name = "labelAuthor"; this.labelAuthor.Xalign = 1F; this.labelAuthor.LabelProp = global::Mono.Unix.Catalog.GetString("Автор:"); this.tableState.Add(this.labelAuthor); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableState[this.labelAuthor])); w8.LeftAttach = ((uint)(2)); w8.RightAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.labelCreationDate = new global::Gtk.Label(); this.labelCreationDate.Name = "labelCreationDate"; this.labelCreationDate.Xalign = 1F; this.labelCreationDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата создания:"); this.tableState.Add(this.labelCreationDate); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableState[this.labelCreationDate])); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.labelStatus = new global::Gtk.Label(); this.labelStatus.Name = "labelStatus"; this.labelStatus.Xalign = 1F; this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус:"); this.tableState.Add(this.labelStatus); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableState[this.labelStatus])); w10.LeftAttach = ((uint)(4)); w10.RightAttach = ((uint)(5)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.ylabelAuthor = new global::Gamma.GtkWidgets.yLabel(); this.ylabelAuthor.Name = "ylabelAuthor"; this.ylabelAuthor.Xalign = 0F; this.tableState.Add(this.ylabelAuthor); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableState[this.ylabelAuthor])); w11.LeftAttach = ((uint)(3)); w11.RightAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.ylabelCreationDate = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCreationDate.Name = "ylabelCreationDate"; this.ylabelCreationDate.Xalign = 0F; this.tableState.Add(this.ylabelCreationDate); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableState[this.ylabelCreationDate])); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.ylabelStatus = new global::Gamma.GtkWidgets.yLabel(); this.ylabelStatus.Name = "ylabelStatus"; this.ylabelStatus.Xalign = 0F; this.tableState.Add(this.ylabelStatus); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableState[this.ylabelStatus])); w13.LeftAttach = ((uint)(5)); w13.RightAttach = ((uint)(6)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxDialog.Add(this.tableState); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.tableState])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.vboxDialog.Add(this.hseparator2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hseparator2])); w15.Position = 2; w15.Expand = false; w15.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.labelDriver = new global::Gtk.Label(); this.labelDriver.Name = "labelDriver"; this.labelDriver.Xalign = 1F; this.labelDriver.LabelProp = global::Mono.Unix.Catalog.GetString("Водитель:"); this.hbox2.Add(this.labelDriver); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.labelDriver])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entryDriver = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.entryDriver.Events = ((global::Gdk.EventMask)(256)); this.entryDriver.Name = "entryDriver"; this.hbox2.Add(this.entryDriver); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.entryDriver])); w17.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.labelCar = new global::Gtk.Label(); this.labelCar.Name = "labelCar"; this.labelCar.Xalign = 1F; this.labelCar.LabelProp = global::Mono.Unix.Catalog.GetString("Автомобиль:"); this.hbox2.Add(this.labelCar); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.labelCar])); w18.Position = 2; w18.Expand = false; w18.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entityviewmodelentryCar = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityviewmodelentryCar.Events = ((global::Gdk.EventMask)(256)); this.entityviewmodelentryCar.Name = "entityviewmodelentryCar"; this.entityviewmodelentryCar.CanEditReference = true; this.hbox2.Add(this.entityviewmodelentryCar); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.entityviewmodelentryCar])); w19.Position = 3; this.vboxDialog.Add(this.hbox2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hbox2])); w20.Position = 3; w20.Expand = false; w20.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxTransferInfo = new global::Gtk.HBox(); this.hboxTransferInfo.Name = "hboxTransferInfo"; this.hboxTransferInfo.Spacing = 6; // Container child hboxTransferInfo.Gtk.Box+BoxChild this.tableFrom = new global::Gtk.Table(((uint)(4)), ((uint)(3)), false); this.tableFrom.Name = "tableFrom"; this.tableFrom.RowSpacing = ((uint)(6)); this.tableFrom.ColumnSpacing = ((uint)(6)); // Container child tableFrom.Gtk.Table+TableChild this.buttonSend = new global::Gamma.GtkWidgets.yButton(); this.buttonSend.CanFocus = true; this.buttonSend.Name = "buttonSend"; this.buttonSend.UseUnderline = true; this.buttonSend.Label = global::Mono.Unix.Catalog.GetString("Отправить"); this.tableFrom.Add(this.buttonSend); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.buttonSend])); w21.TopAttach = ((uint)(3)); w21.BottomAttach = ((uint)(4)); w21.LeftAttach = ((uint)(2)); w21.RightAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.comboboxCashSubdivisionFrom = new global::Gamma.Widgets.ySpecComboBox(); this.comboboxCashSubdivisionFrom.Name = "comboboxCashSubdivisionFrom"; this.comboboxCashSubdivisionFrom.AddIfNotExist = false; this.comboboxCashSubdivisionFrom.DefaultFirst = false; this.comboboxCashSubdivisionFrom.ShowSpecialStateAll = false; this.comboboxCashSubdivisionFrom.ShowSpecialStateNot = true; this.tableFrom.Add(this.comboboxCashSubdivisionFrom); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.comboboxCashSubdivisionFrom])); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(3)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.comboExpenseCategory = new global::Gamma.Widgets.ySpecComboBox(); this.comboExpenseCategory.Name = "comboExpenseCategory"; this.comboExpenseCategory.AddIfNotExist = false; this.comboExpenseCategory.DefaultFirst = false; this.comboExpenseCategory.ShowSpecialStateAll = false; this.comboExpenseCategory.ShowSpecialStateNot = true; this.tableFrom.Add(this.comboExpenseCategory); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.comboExpenseCategory])); w23.TopAttach = ((uint)(1)); w23.BottomAttach = ((uint)(2)); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.labelCashierSender = new global::Gtk.Label(); this.labelCashierSender.Name = "labelCashierSender"; this.labelCashierSender.Xalign = 1F; this.labelCashierSender.LabelProp = global::Mono.Unix.Catalog.GetString("Отправил:"); this.tableFrom.Add(this.labelCashierSender); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.labelCashierSender])); w24.TopAttach = ((uint)(2)); w24.BottomAttach = ((uint)(3)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.labelCashSubdivisionFrom = new global::Gtk.Label(); this.labelCashSubdivisionFrom.Name = "labelCashSubdivisionFrom"; this.labelCashSubdivisionFrom.Xalign = 1F; this.labelCashSubdivisionFrom.LabelProp = global::Mono.Unix.Catalog.GetString("Из кассы:"); this.tableFrom.Add(this.labelCashSubdivisionFrom); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.labelCashSubdivisionFrom])); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.labelExpenseCategory = new global::Gtk.Label(); this.labelExpenseCategory.Name = "labelExpenseCategory"; this.labelExpenseCategory.Xalign = 1F; this.labelExpenseCategory.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.tableFrom.Add(this.labelExpenseCategory); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.labelExpenseCategory])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.labelSendDate = new global::Gtk.Label(); this.labelSendDate.Name = "labelSendDate"; this.labelSendDate.Xalign = 1F; this.labelSendDate.LabelProp = global::Mono.Unix.Catalog.GetString("Время отправки:"); this.tableFrom.Add(this.labelSendDate); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.labelSendDate])); w27.TopAttach = ((uint)(3)); w27.BottomAttach = ((uint)(4)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.ylabelCashierSender = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCashierSender.Name = "ylabelCashierSender"; this.ylabelCashierSender.Xalign = 0F; this.tableFrom.Add(this.ylabelCashierSender); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.ylabelCashierSender])); w28.TopAttach = ((uint)(2)); w28.BottomAttach = ((uint)(3)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(3)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.ylabelSendTime = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSendTime.Name = "ylabelSendTime"; this.ylabelSendTime.Xalign = 0F; this.tableFrom.Add(this.ylabelSendTime); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.ylabelSendTime])); w29.TopAttach = ((uint)(3)); w29.BottomAttach = ((uint)(4)); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); this.hboxTransferInfo.Add(this.tableFrom); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hboxTransferInfo[this.tableFrom])); w30.Position = 0; // Container child hboxTransferInfo.Gtk.Box+BoxChild this.tableTo = new global::Gtk.Table(((uint)(4)), ((uint)(3)), false); this.tableTo.Name = "tableTo"; this.tableTo.RowSpacing = ((uint)(6)); this.tableTo.ColumnSpacing = ((uint)(6)); // Container child tableTo.Gtk.Table+TableChild this.buttonReceive = new global::Gamma.GtkWidgets.yButton(); this.buttonReceive.CanFocus = true; this.buttonReceive.Name = "buttonReceive"; this.buttonReceive.UseUnderline = true; this.buttonReceive.Label = global::Mono.Unix.Catalog.GetString("Принять"); this.tableTo.Add(this.buttonReceive); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.tableTo[this.buttonReceive])); w31.TopAttach = ((uint)(3)); w31.BottomAttach = ((uint)(4)); w31.LeftAttach = ((uint)(2)); w31.RightAttach = ((uint)(3)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.comboboxCashSubdivisionTo = new global::Gamma.Widgets.ySpecComboBox(); this.comboboxCashSubdivisionTo.Name = "comboboxCashSubdivisionTo"; this.comboboxCashSubdivisionTo.AddIfNotExist = false; this.comboboxCashSubdivisionTo.DefaultFirst = false; this.comboboxCashSubdivisionTo.ShowSpecialStateAll = false; this.comboboxCashSubdivisionTo.ShowSpecialStateNot = true; this.tableTo.Add(this.comboboxCashSubdivisionTo); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.tableTo[this.comboboxCashSubdivisionTo])); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(3)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.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 = false; this.comboIncomeCategory.ShowSpecialStateNot = true; this.tableTo.Add(this.comboIncomeCategory); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.tableTo[this.comboIncomeCategory])); w33.TopAttach = ((uint)(1)); w33.BottomAttach = ((uint)(2)); w33.LeftAttach = ((uint)(1)); w33.RightAttach = ((uint)(3)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.labelCashierReceiver = new global::Gtk.Label(); this.labelCashierReceiver.Name = "labelCashierReceiver"; this.labelCashierReceiver.Xalign = 1F; this.labelCashierReceiver.LabelProp = global::Mono.Unix.Catalog.GetString("Получил:"); this.tableTo.Add(this.labelCashierReceiver); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.tableTo[this.labelCashierReceiver])); w34.TopAttach = ((uint)(2)); w34.BottomAttach = ((uint)(3)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.labelCashSubdivisionFrom1 = new global::Gtk.Label(); this.labelCashSubdivisionFrom1.Name = "labelCashSubdivisionFrom1"; this.labelCashSubdivisionFrom1.Xalign = 1F; this.labelCashSubdivisionFrom1.LabelProp = global::Mono.Unix.Catalog.GetString("В кассу:"); this.tableTo.Add(this.labelCashSubdivisionFrom1); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.tableTo[this.labelCashSubdivisionFrom1])); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.labelIncomeCategory = new global::Gtk.Label(); this.labelIncomeCategory.Name = "labelIncomeCategory"; this.labelIncomeCategory.Xalign = 1F; this.labelIncomeCategory.LabelProp = global::Mono.Unix.Catalog.GetString("Статья прихода:"); this.tableTo.Add(this.labelIncomeCategory); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.tableTo[this.labelIncomeCategory])); w36.TopAttach = ((uint)(1)); w36.BottomAttach = ((uint)(2)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.labelReceiveDate = new global::Gtk.Label(); this.labelReceiveDate.Name = "labelReceiveDate"; this.labelReceiveDate.Xalign = 1F; this.labelReceiveDate.LabelProp = global::Mono.Unix.Catalog.GetString("Время получения:"); this.tableTo.Add(this.labelReceiveDate); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.tableTo[this.labelReceiveDate])); w37.TopAttach = ((uint)(3)); w37.BottomAttach = ((uint)(4)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.ylabelCashierReceiver = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCashierReceiver.Name = "ylabelCashierReceiver"; this.ylabelCashierReceiver.Xalign = 0F; this.tableTo.Add(this.ylabelCashierReceiver); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.tableTo[this.ylabelCashierReceiver])); w38.TopAttach = ((uint)(2)); w38.BottomAttach = ((uint)(3)); w38.LeftAttach = ((uint)(1)); w38.RightAttach = ((uint)(3)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.ylabelReceiveTime = new global::Gamma.GtkWidgets.yLabel(); this.ylabelReceiveTime.Name = "ylabelReceiveTime"; this.ylabelReceiveTime.Xalign = 0F; this.tableTo.Add(this.ylabelReceiveTime); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.tableTo[this.ylabelReceiveTime])); w39.TopAttach = ((uint)(3)); w39.BottomAttach = ((uint)(4)); w39.LeftAttach = ((uint)(1)); w39.RightAttach = ((uint)(2)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); this.hboxTransferInfo.Add(this.tableTo); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hboxTransferInfo[this.tableTo])); w40.Position = 1; this.vboxDialog.Add(this.hboxTransferInfo); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxTransferInfo])); w41.Position = 4; w41.Expand = false; w41.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vboxDialog.Add(this.hseparator1); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hseparator1])); w42.Position = 5; w42.Expand = false; w42.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxTransferItems = new global::Gtk.HBox(); this.hboxTransferItems.Name = "hboxTransferItems"; this.hboxTransferItems.Spacing = 6; // Container child hboxTransferItems.Gtk.Box+BoxChild this.vboxTransferIncomeItems = new global::Gtk.VBox(); this.vboxTransferIncomeItems.Name = "vboxTransferIncomeItems"; this.vboxTransferIncomeItems.Spacing = 6; // Container child vboxTransferIncomeItems.Gtk.Box+BoxChild this.labelIncomes = new global::Gtk.Label(); this.labelIncomes.Name = "labelIncomes"; this.labelIncomes.LabelProp = global::Mono.Unix.Catalog.GetString("Приходные ордера:"); this.vboxTransferIncomeItems.Add(this.labelIncomes); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vboxTransferIncomeItems[this.labelIncomes])); w43.Position = 0; w43.Expand = false; w43.Fill = false; // Container child vboxTransferIncomeItems.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.ytreeviewIncomes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewIncomes.CanFocus = true; this.ytreeviewIncomes.Name = "ytreeviewIncomes"; this.GtkScrolledWindow.Add(this.ytreeviewIncomes); this.vboxTransferIncomeItems.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.vboxTransferIncomeItems[this.GtkScrolledWindow])); w45.Position = 1; // Container child vboxTransferIncomeItems.Gtk.Box+BoxChild this.hboxIncomesButtons = new global::Gtk.HBox(); this.hboxIncomesButtons.Name = "hboxIncomesButtons"; this.hboxIncomesButtons.Spacing = 6; // Container child hboxIncomesButtons.Gtk.Box+BoxChild this.buttonAddIncomes = new global::Gamma.GtkWidgets.yButton(); this.buttonAddIncomes.CanFocus = true; this.buttonAddIncomes.Name = "buttonAddIncomes"; this.buttonAddIncomes.UseUnderline = true; this.buttonAddIncomes.Label = global::Mono.Unix.Catalog.GetString("Добавить приходные ордера"); this.hboxIncomesButtons.Add(this.buttonAddIncomes); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hboxIncomesButtons[this.buttonAddIncomes])); w46.Position = 0; w46.Expand = false; w46.Fill = false; // Container child hboxIncomesButtons.Gtk.Box+BoxChild this.buttonDeleteSelectedIncomes = new global::Gamma.GtkWidgets.yButton(); this.buttonDeleteSelectedIncomes.CanFocus = true; this.buttonDeleteSelectedIncomes.Name = "buttonDeleteSelectedIncomes"; this.buttonDeleteSelectedIncomes.UseUnderline = true; this.buttonDeleteSelectedIncomes.Label = global::Mono.Unix.Catalog.GetString("Удалить выбранные"); this.hboxIncomesButtons.Add(this.buttonDeleteSelectedIncomes); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hboxIncomesButtons[this.buttonDeleteSelectedIncomes])); w47.Position = 1; w47.Expand = false; w47.Fill = false; this.vboxTransferIncomeItems.Add(this.hboxIncomesButtons); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vboxTransferIncomeItems[this.hboxIncomesButtons])); w48.Position = 2; w48.Expand = false; w48.Fill = false; // Container child vboxTransferIncomeItems.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.labelIncomesSum = new global::Gtk.Label(); this.labelIncomesSum.Name = "labelIncomesSum"; this.labelIncomesSum.LabelProp = global::Mono.Unix.Catalog.GetString("Итого приходные ордера:"); this.hbox4.Add(this.labelIncomesSum); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.labelIncomesSum])); w49.Position = 0; w49.Expand = false; w49.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ylabelIncomesSummary = new global::Gamma.GtkWidgets.yLabel(); this.ylabelIncomesSummary.Name = "ylabelIncomesSummary"; this.hbox4.Add(this.ylabelIncomesSummary); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ylabelIncomesSummary])); w50.Position = 1; w50.Expand = false; w50.Fill = false; this.vboxTransferIncomeItems.Add(this.hbox4); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vboxTransferIncomeItems[this.hbox4])); w51.Position = 3; w51.Expand = false; w51.Fill = false; this.hboxTransferItems.Add(this.vboxTransferIncomeItems); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hboxTransferItems[this.vboxTransferIncomeItems])); w52.Position = 0; // Container child hboxTransferItems.Gtk.Box+BoxChild this.vboxTransferExpenseItems = new global::Gtk.VBox(); this.vboxTransferExpenseItems.Name = "vboxTransferExpenseItems"; this.vboxTransferExpenseItems.Spacing = 6; // Container child vboxTransferExpenseItems.Gtk.Box+BoxChild this.labelExpenses = new global::Gtk.Label(); this.labelExpenses.Name = "labelExpenses"; this.labelExpenses.LabelProp = global::Mono.Unix.Catalog.GetString("Расходные ордера:"); this.vboxTransferExpenseItems.Add(this.labelExpenses); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vboxTransferExpenseItems[this.labelExpenses])); w53.Position = 0; w53.Expand = false; w53.Fill = false; // Container child vboxTransferExpenseItems.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.ytreeviewExpenses = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewExpenses.CanFocus = true; this.ytreeviewExpenses.Name = "ytreeviewExpenses"; this.GtkScrolledWindow1.Add(this.ytreeviewExpenses); this.vboxTransferExpenseItems.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vboxTransferExpenseItems[this.GtkScrolledWindow1])); w55.Position = 1; // Container child vboxTransferExpenseItems.Gtk.Box+BoxChild this.hboxExpenseButtons = new global::Gtk.HBox(); this.hboxExpenseButtons.Name = "hboxExpenseButtons"; this.hboxExpenseButtons.Spacing = 6; // Container child hboxExpenseButtons.Gtk.Box+BoxChild this.buttonAddExpenses = new global::Gamma.GtkWidgets.yButton(); this.buttonAddExpenses.CanFocus = true; this.buttonAddExpenses.Name = "buttonAddExpenses"; this.buttonAddExpenses.UseUnderline = true; this.buttonAddExpenses.Label = global::Mono.Unix.Catalog.GetString("Добавить расходные ордера"); this.hboxExpenseButtons.Add(this.buttonAddExpenses); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.hboxExpenseButtons[this.buttonAddExpenses])); w56.Position = 0; w56.Expand = false; w56.Fill = false; // Container child hboxExpenseButtons.Gtk.Box+BoxChild this.buttonDeleteSelectedExpenses = new global::Gamma.GtkWidgets.yButton(); this.buttonDeleteSelectedExpenses.CanFocus = true; this.buttonDeleteSelectedExpenses.Name = "buttonDeleteSelectedExpenses"; this.buttonDeleteSelectedExpenses.UseUnderline = true; this.buttonDeleteSelectedExpenses.Label = global::Mono.Unix.Catalog.GetString("Удалить выбранные"); this.hboxExpenseButtons.Add(this.buttonDeleteSelectedExpenses); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.hboxExpenseButtons[this.buttonDeleteSelectedExpenses])); w57.Position = 1; w57.Expand = false; w57.Fill = false; this.vboxTransferExpenseItems.Add(this.hboxExpenseButtons); global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.vboxTransferExpenseItems[this.hboxExpenseButtons])); w58.Position = 2; w58.Expand = false; w58.Fill = false; // Container child vboxTransferExpenseItems.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.labelExpensesSum = new global::Gtk.Label(); this.labelExpensesSum.Name = "labelExpensesSum"; this.labelExpensesSum.LabelProp = global::Mono.Unix.Catalog.GetString("Итого расходные ордера:"); this.hbox5.Add(this.labelExpensesSum); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.labelExpensesSum])); w59.Position = 0; w59.Expand = false; w59.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.ylabelExpensesSummary = new global::Gamma.GtkWidgets.yLabel(); this.ylabelExpensesSummary.Name = "ylabelExpensesSummary"; this.hbox5.Add(this.ylabelExpensesSummary); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.ylabelExpensesSummary])); w60.Position = 1; w60.Expand = false; w60.Fill = false; this.vboxTransferExpenseItems.Add(this.hbox5); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.vboxTransferExpenseItems[this.hbox5])); w61.Position = 3; w61.Expand = false; w61.Fill = false; this.hboxTransferItems.Add(this.vboxTransferExpenseItems); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.hboxTransferItems[this.vboxTransferExpenseItems])); w62.Position = 1; this.vboxDialog.Add(this.hboxTransferItems); global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxTransferItems])); w63.Position = 6; // Container child vboxDialog.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.labelSum = new global::Gtk.Label(); this.labelSum.Name = "labelSum"; this.labelSum.Xalign = 1F; this.labelSum.LabelProp = global::Mono.Unix.Catalog.GetString("Итого к отправке:"); this.hbox6.Add(this.labelSum); global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.labelSum])); w64.Position = 0; w64.Expand = false; w64.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.ylabelSum = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSum.Name = "ylabelSum"; this.ylabelSum.Xalign = 0F; this.hbox6.Add(this.ylabelSum); global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.ylabelSum])); w65.Position = 1; w65.Expand = false; w65.Fill = false; this.vboxDialog.Add(this.hbox6); global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hbox6])); w66.Position = 7; w66.Expand = false; w66.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.labelComment = new global::Gtk.Label(); this.labelComment.Name = "labelComment"; this.labelComment.Xalign = 0F; this.labelComment.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.vboxDialog.Add(this.labelComment); global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.labelComment])); w67.Position = 8; w67.Expand = false; w67.Fill = false; // Container child vboxDialog.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.ytextviewComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewComment.CanFocus = true; this.ytextviewComment.Name = "ytextviewComment"; this.GtkScrolledWindow2.Add(this.ytextviewComment); this.vboxDialog.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.GtkScrolledWindow2])); w69.Position = 9; this.Add(this.vboxDialog); 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.buttonSend.Clicked += new global::System.EventHandler(this.OnButtonSendClicked); this.buttonReceive.Clicked += new global::System.EventHandler(this.OnButtonReceiveClicked); this.buttonAddIncomes.Clicked += new global::System.EventHandler(this.OnButtonAddIncomesClicked); this.buttonDeleteSelectedIncomes.Clicked += new global::System.EventHandler(this.OnButtonDeleteSelectedIncomesClicked); this.buttonAddExpenses.Clicked += new global::System.EventHandler(this.OnButtonAddExpensesClicked); this.buttonDeleteSelectedExpenses.Clicked += new global::System.EventHandler(this.OnButtonDeleteSelectedExpensesClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Logistic.CarEventView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Logistic.CarEventView"; // Container child Vodovoz.Views.Logistic.CarEventView.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-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-close", 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.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(11)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checkbuttonDoNotShowInOperation = new global::Gamma.GtkWidgets.yCheckButton(); this.checkbuttonDoNotShowInOperation.CanFocus = true; this.checkbuttonDoNotShowInOperation.Name = "checkbuttonDoNotShowInOperation"; this.checkbuttonDoNotShowInOperation.Label = ""; this.checkbuttonDoNotShowInOperation.DrawIndicator = true; this.checkbuttonDoNotShowInOperation.UseUnderline = true; this.table1.Add(this.checkbuttonDoNotShowInOperation); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.checkbuttonDoNotShowInOperation])); w6.TopAttach = ((uint)(8)); w6.BottomAttach = ((uint)(9)); 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.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 w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entityviewmodelentryCar])); 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 table1.Gtk.Table+TableChild this.entityviewmodelentryCarEventType = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityviewmodelentryCarEventType.Events = ((global::Gdk.EventMask)(256)); this.entityviewmodelentryCarEventType.Name = "entityviewmodelentryCarEventType"; this.entityviewmodelentryCarEventType.CanEditReference = true; this.table1.Add(this.entityviewmodelentryCarEventType); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.entityviewmodelentryCarEventType])); w8.TopAttach = ((uint)(4)); w8.BottomAttach = ((uint)(5)); 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.evmeDriver = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeDriver.Events = ((global::Gdk.EventMask)(256)); this.evmeDriver.Name = "evmeDriver"; this.evmeDriver.CanEditReference = true; this.table1.Add(this.evmeDriver); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.evmeDriver])); 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.GtkScrolledWindowComment = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindowComment.Name = "GtkScrolledWindowComment"; this.GtkScrolledWindowComment.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowComment.Gtk.Container+ContainerChild this.ytextviewCommnet = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewCommnet.WidthRequest = 250; this.ytextviewCommnet.CanFocus = true; this.ytextviewCommnet.Name = "ytextviewCommnet"; this.GtkScrolledWindowComment.Add(this.ytextviewCommnet); this.table1.Add(this.GtkScrolledWindowComment); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindowComment])); w11.TopAttach = ((uint)(10)); w11.BottomAttach = ((uint)(11)); 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.GtkScrolledWindowFoundation = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindowFoundation.Name = "GtkScrolledWindowFoundation"; this.GtkScrolledWindowFoundation.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowFoundation.Gtk.Container+ContainerChild this.ytextviewFoundation = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewFoundation.WidthRequest = 250; this.ytextviewFoundation.CanFocus = true; this.ytextviewFoundation.Name = "ytextviewFoundation"; this.GtkScrolledWindowFoundation.Add(this.ytextviewFoundation); this.table1.Add(this.GtkScrolledWindowFoundation); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindowFoundation])); w13.TopAttach = ((uint)(9)); w13.BottomAttach = ((uint)(10)); 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.labelAuthor = new global::Gtk.Label(); this.labelAuthor.Name = "labelAuthor"; this.labelAuthor.Xalign = 1F; this.labelAuthor.LabelProp = global::Mono.Unix.Catalog.GetString("Автор события:"); this.table1.Add(this.labelAuthor); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.labelAuthor])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.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.table1.Add(this.labelCar); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCar])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCarEventType = new global::Gtk.Label(); this.labelCarEventType.Name = "labelCarEventType"; this.labelCarEventType.Xalign = 1F; this.labelCarEventType.LabelProp = global::Mono.Unix.Catalog.GetString("Вид события ТС:"); this.table1.Add(this.labelCarEventType); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCarEventType])); w16.TopAttach = ((uint)(4)); w16.BottomAttach = ((uint)(5)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelComment = new global::Gtk.Label(); this.labelComment.Name = "labelComment"; this.labelComment.Xalign = 1F; this.labelComment.Yalign = 0F; this.labelComment.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.table1.Add(this.labelComment); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.labelComment])); w17.TopAttach = ((uint)(10)); w17.BottomAttach = ((uint)(11)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelComment1 = new global::Gtk.Label(); this.labelComment1.Name = "labelComment1"; this.labelComment1.Xalign = 1F; this.labelComment1.Yalign = 0F; this.labelComment1.LabelProp = global::Mono.Unix.Catalog.GetString("Основание. Номер и дата документа:"); this.table1.Add(this.labelComment1); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.labelComment1])); w18.TopAttach = ((uint)(9)); w18.BottomAttach = ((uint)(10)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelComment2 = new global::Gtk.Label(); this.labelComment2.Name = "labelComment2"; this.labelComment2.Xalign = 1F; this.labelComment2.Yalign = 0F; this.labelComment2.LabelProp = global::Mono.Unix.Catalog.GetString("Стоимость:"); this.table1.Add(this.labelComment2); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.labelComment2])); w19.TopAttach = ((uint)(7)); w19.BottomAttach = ((uint)(8)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.labelComment3 = new global::Gtk.Label(); this.labelComment3.Name = "labelComment3"; this.labelComment3.Xalign = 1F; this.labelComment3.Yalign = 0F; this.labelComment3.LabelProp = global::Mono.Unix.Catalog.GetString("Не отражать в эксплуатации ТС"); this.table1.Add(this.labelComment3); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.labelComment3])); 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.labelCreateDate = new global::Gtk.Label(); this.labelCreateDate.Name = "labelCreateDate"; this.labelCreateDate.Xalign = 1F; this.labelCreateDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата создания:"); this.table1.Add(this.labelCreateDate); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCreateDate])); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDateEventEnd = new global::Gtk.Label(); this.labelDateEventEnd.Name = "labelDateEventEnd"; this.labelDateEventEnd.Xalign = 1F; this.labelDateEventEnd.LabelProp = global::Mono.Unix.Catalog.GetString("Дата окончания события:"); this.table1.Add(this.labelDateEventEnd); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDateEventEnd])); 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.labelDateEventStart = new global::Gtk.Label(); this.labelDateEventStart.Name = "labelDateEventStart"; this.labelDateEventStart.Xalign = 1F; this.labelDateEventStart.LabelProp = global::Mono.Unix.Catalog.GetString("Дата начала события:"); this.table1.Add(this.labelDateEventStart); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDateEventStart])); w23.TopAttach = ((uint)(5)); w23.BottomAttach = ((uint)(6)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.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.table1.Add(this.labelDriver); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDriver])); 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.ydatepickerEndEventDate = new global::Gamma.Widgets.yDatePicker(); this.ydatepickerEndEventDate.Events = ((global::Gdk.EventMask)(256)); this.ydatepickerEndEventDate.Name = "ydatepickerEndEventDate"; this.ydatepickerEndEventDate.WithTime = false; this.ydatepickerEndEventDate.Date = new global::System.DateTime(0); this.ydatepickerEndEventDate.IsEditable = true; this.ydatepickerEndEventDate.AutoSeparation = false; this.table1.Add(this.ydatepickerEndEventDate); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.ydatepickerEndEventDate])); w25.TopAttach = ((uint)(6)); w25.BottomAttach = ((uint)(7)); 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.ydatepickerStartEventDate = new global::Gamma.Widgets.yDatePicker(); this.ydatepickerStartEventDate.Events = ((global::Gdk.EventMask)(256)); this.ydatepickerStartEventDate.Name = "ydatepickerStartEventDate"; this.ydatepickerStartEventDate.WithTime = false; this.ydatepickerStartEventDate.Date = new global::System.DateTime(0); this.ydatepickerStartEventDate.IsEditable = true; this.ydatepickerStartEventDate.AutoSeparation = false; this.table1.Add(this.ydatepickerStartEventDate); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.ydatepickerStartEventDate])); w26.TopAttach = ((uint)(5)); w26.BottomAttach = ((uint)(6)); 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.ylabelAuthor = new global::Gamma.GtkWidgets.yLabel(); this.ylabelAuthor.Name = "ylabelAuthor"; this.ylabelAuthor.Xalign = 0F; this.ylabelAuthor.LabelProp = global::Mono.Unix.Catalog.GetString("ylabelAuthor"); this.table1.Add(this.ylabelAuthor); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelAuthor])); w27.TopAttach = ((uint)(1)); w27.BottomAttach = ((uint)(2)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelCreateDate = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCreateDate.Name = "ylabelCreateDate"; this.ylabelCreateDate.Xalign = 0F; this.ylabelCreateDate.LabelProp = global::Mono.Unix.Catalog.GetString("ylabelCreateDate"); this.table1.Add(this.ylabelCreateDate); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelCreateDate])); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yspinPaymentTotalCarEvent = new global::Gamma.GtkWidgets.ySpinButton(0D, 1000000D, 1D); this.yspinPaymentTotalCarEvent.CanFocus = true; this.yspinPaymentTotalCarEvent.Name = "yspinPaymentTotalCarEvent"; this.yspinPaymentTotalCarEvent.Adjustment.PageIncrement = 100D; this.yspinPaymentTotalCarEvent.ClimbRate = 1D; this.yspinPaymentTotalCarEvent.Digits = ((uint)(2)); this.yspinPaymentTotalCarEvent.Numeric = true; this.yspinPaymentTotalCarEvent.ValueAsDecimal = 0m; this.yspinPaymentTotalCarEvent.ValueAsInt = 0; this.table1.Add(this.yspinPaymentTotalCarEvent); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1[this.yspinPaymentTotalCarEvent])); w29.TopAttach = ((uint)(7)); w29.BottomAttach = ((uint)(8)); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w30.Position = 1; w30.Expand = false; w30.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.ReportsParameters.Store.DefectiveItemsReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Store.DefectiveItemsReport"; // Container child Vodovoz.ReportsParameters.Store.DefectiveItemsReport.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(4)), ((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)(3)); w1.BottomAttach = ((uint)(4)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(0)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // 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 w2 = ((global::Gtk.Table.TableChild)(this.table1[this.datePeriod])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.evmeDriver = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeDriver.Events = ((global::Gdk.EventMask)(256)); this.evmeDriver.Name = "evmeDriver"; this.evmeDriver.CanEditReference = true; this.table1.Add(this.evmeDriver); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.evmeDriver])); 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.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 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.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.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)(2)); w6.BottomAttach = ((uint)(3)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yEnumCmbSource = new global::Gamma.Widgets.yEnumComboBox(); this.yEnumCmbSource.Name = "yEnumCmbSource"; this.yEnumCmbSource.ShowSpecialStateAll = true; this.yEnumCmbSource.ShowSpecialStateNot = false; this.yEnumCmbSource.UseShortTitle = false; this.yEnumCmbSource.DefaultFirst = false; this.table1.Add(this.yEnumCmbSource); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.yEnumCmbSource])); 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)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Logistic.CarEventView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Logistic.CarEventView"; // Container child Vodovoz.Views.Logistic.CarEventView.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-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-close", 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.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w5.Position = 0; w5.Expand = false; w5.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.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)(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 table1.Gtk.Table+TableChild this.entityviewmodelentryCarEventType = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityviewmodelentryCarEventType.Events = ((global::Gdk.EventMask)(256)); this.entityviewmodelentryCarEventType.Name = "entityviewmodelentryCarEventType"; this.entityviewmodelentryCarEventType.CanEditReference = true; this.table1.Add(this.entityviewmodelentryCarEventType); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entityviewmodelentryCarEventType])); w7.TopAttach = ((uint)(4)); w7.BottomAttach = ((uint)(5)); 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.GtkScrolledWindowComment = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindowComment.Name = "GtkScrolledWindowComment"; this.GtkScrolledWindowComment.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowComment.Gtk.Container+ContainerChild this.ytextviewCommnet = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewCommnet.WidthRequest = 250; this.ytextviewCommnet.CanFocus = true; this.ytextviewCommnet.Name = "ytextviewCommnet"; this.GtkScrolledWindowComment.Add(this.ytextviewCommnet); this.table1.Add(this.GtkScrolledWindowComment); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindowComment])); w9.TopAttach = ((uint)(7)); w9.BottomAttach = ((uint)(8)); 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.labelAuthor = new global::Gtk.Label(); this.labelAuthor.Name = "labelAuthor"; this.labelAuthor.Xalign = 1F; this.labelAuthor.LabelProp = global::Mono.Unix.Catalog.GetString("Автор события:"); this.table1.Add(this.labelAuthor); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.labelAuthor])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.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.table1.Add(this.labelCar); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCar])); 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.labelCarEventType = new global::Gtk.Label(); this.labelCarEventType.Name = "labelCarEventType"; this.labelCarEventType.Xalign = 1F; this.labelCarEventType.LabelProp = global::Mono.Unix.Catalog.GetString("Вид события ТС:"); this.table1.Add(this.labelCarEventType); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCarEventType])); 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.labelComment = new global::Gtk.Label(); this.labelComment.Name = "labelComment"; this.labelComment.Xalign = 1F; this.labelComment.Yalign = 0F; this.labelComment.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.table1.Add(this.labelComment); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.labelComment])); w13.TopAttach = ((uint)(7)); w13.BottomAttach = ((uint)(8)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCreateDate = new global::Gtk.Label(); this.labelCreateDate.Name = "labelCreateDate"; this.labelCreateDate.Xalign = 1F; this.labelCreateDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата создания:"); this.table1.Add(this.labelCreateDate); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCreateDate])); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDateEventEnd = new global::Gtk.Label(); this.labelDateEventEnd.Name = "labelDateEventEnd"; this.labelDateEventEnd.Xalign = 1F; this.labelDateEventEnd.LabelProp = global::Mono.Unix.Catalog.GetString("Дата окончания события:"); this.table1.Add(this.labelDateEventEnd); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDateEventEnd])); w15.TopAttach = ((uint)(6)); w15.BottomAttach = ((uint)(7)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDateEventStart = new global::Gtk.Label(); this.labelDateEventStart.Name = "labelDateEventStart"; this.labelDateEventStart.Xalign = 1F; this.labelDateEventStart.LabelProp = global::Mono.Unix.Catalog.GetString("Дата начала события:"); this.table1.Add(this.labelDateEventStart); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDateEventStart])); w16.TopAttach = ((uint)(5)); w16.BottomAttach = ((uint)(6)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.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.table1.Add(this.labelDriver); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDriver])); w17.TopAttach = ((uint)(3)); w17.BottomAttach = ((uint)(4)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referenceDriver = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.referenceDriver.Events = ((global::Gdk.EventMask)(256)); this.referenceDriver.Name = "referenceDriver"; this.table1.Add(this.referenceDriver); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceDriver])); 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 table1.Gtk.Table+TableChild this.ydatepickerEndEventDate = new global::Gamma.Widgets.yDatePicker(); this.ydatepickerEndEventDate.Events = ((global::Gdk.EventMask)(256)); this.ydatepickerEndEventDate.Name = "ydatepickerEndEventDate"; this.ydatepickerEndEventDate.WithTime = false; this.ydatepickerEndEventDate.Date = new global::System.DateTime(0); this.ydatepickerEndEventDate.IsEditable = true; this.ydatepickerEndEventDate.AutoSeparation = false; this.table1.Add(this.ydatepickerEndEventDate); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.ydatepickerEndEventDate])); w19.TopAttach = ((uint)(6)); w19.BottomAttach = ((uint)(7)); 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.ydatepickerStartEventDate = new global::Gamma.Widgets.yDatePicker(); this.ydatepickerStartEventDate.Events = ((global::Gdk.EventMask)(256)); this.ydatepickerStartEventDate.Name = "ydatepickerStartEventDate"; this.ydatepickerStartEventDate.WithTime = false; this.ydatepickerStartEventDate.Date = new global::System.DateTime(0); this.ydatepickerStartEventDate.IsEditable = true; this.ydatepickerStartEventDate.AutoSeparation = false; this.table1.Add(this.ydatepickerStartEventDate); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.ydatepickerStartEventDate])); w20.TopAttach = ((uint)(5)); w20.BottomAttach = ((uint)(6)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelAuthor = new global::Gamma.GtkWidgets.yLabel(); this.ylabelAuthor.Name = "ylabelAuthor"; this.ylabelAuthor.Xalign = 0F; this.ylabelAuthor.LabelProp = global::Mono.Unix.Catalog.GetString("ylabelAuthor"); this.table1.Add(this.ylabelAuthor); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelAuthor])); 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 table1.Gtk.Table+TableChild this.ylabelCreateDate = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCreateDate.Name = "ylabelCreateDate"; this.ylabelCreateDate.Xalign = 0F; this.ylabelCreateDate.LabelProp = global::Mono.Unix.Catalog.GetString("ylabelCreateDate"); this.table1.Add(this.ylabelCreateDate); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelCreateDate])); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(2)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w23.Position = 1; w23.Expand = false; w23.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.ReportsParameters.Retail.QualityReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Retail.QualityReport"; // Container child Vodovoz.ReportsParameters.Retail.QualityReport.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.labelCreate = new global::Gtk.Label(); this.labelCreate.Name = "labelCreate"; this.labelCreate.Xalign = 0F; this.labelCreate.LabelProp = global::Mono.Unix.Catalog.GetString("Период создания:"); this.hbox1.Add(this.labelCreate); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.labelCreate])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.ydateperiodpickerCreate = new global::Gamma.Widgets.yDatePeriodPicker(); this.ydateperiodpickerCreate.Events = ((global::Gdk.EventMask)(256)); this.ydateperiodpickerCreate.Name = "ydateperiodpickerCreate"; this.ydateperiodpickerCreate.StartDate = new global::System.DateTime(0); this.ydateperiodpickerCreate.EndDate = new global::System.DateTime(0); this.hbox1.Add(this.ydateperiodpickerCreate); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ydateperiodpickerCreate])); 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.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.labelShipping = new global::Gtk.Label(); this.labelShipping.Name = "labelShipping"; this.labelShipping.Xalign = 0F; this.labelShipping.LabelProp = global::Mono.Unix.Catalog.GetString("Период отгрузки:"); this.hbox3.Add(this.labelShipping); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.labelShipping])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.ydateperiodpickerShipping = new global::Gamma.Widgets.yDatePeriodPicker(); this.ydateperiodpickerShipping.Events = ((global::Gdk.EventMask)(256)); this.ydateperiodpickerShipping.Name = "ydateperiodpickerShipping"; this.ydateperiodpickerShipping.StartDate = new global::System.DateTime(0); this.ydateperiodpickerShipping.EndDate = new global::System.DateTime(0); this.hbox3.Add(this.ydateperiodpickerShipping); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.ydateperiodpickerShipping])); w5.Position = 1; this.vbox2.Add(this.hbox3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // 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.labelCounterParty = new global::Gtk.Label(); this.labelCounterParty.Name = "labelCounterParty"; this.labelCounterParty.Xalign = 0F; this.labelCounterParty.LabelProp = global::Mono.Unix.Catalog.GetString("Контрагент:"); this.hbox5.Add(this.labelCounterParty); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.labelCounterParty])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.yEntityCounterParty = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.yEntityCounterParty.Events = ((global::Gdk.EventMask)(256)); this.yEntityCounterParty.Name = "yEntityCounterParty"; this.yEntityCounterParty.CanEditReference = false; this.hbox5.Add(this.yEntityCounterParty); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.yEntityCounterParty])); w8.Position = 1; this.vbox2.Add(this.hbox5); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox5])); w9.Position = 2; w9.Expand = false; w9.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.labelSalesChannel = new global::Gtk.Label(); this.labelSalesChannel.Name = "labelSalesChannel"; this.labelSalesChannel.Xalign = 0F; this.labelSalesChannel.LabelProp = global::Mono.Unix.Catalog.GetString("Канал сбыта:"); this.hbox6.Add(this.labelSalesChannel); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.labelSalesChannel])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.yEntitySalesChannel = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.yEntitySalesChannel.Events = ((global::Gdk.EventMask)(256)); this.yEntitySalesChannel.Name = "yEntitySalesChannel"; this.yEntitySalesChannel.CanEditReference = false; this.hbox6.Add(this.yEntitySalesChannel); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yEntitySalesChannel])); w11.Position = 1; this.vbox2.Add(this.hbox6); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox6])); w12.Position = 3; w12.Expand = false; w12.Fill = false; // 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.labelMainFace = new global::Gtk.Label(); this.labelMainFace.Name = "labelMainFace"; this.labelMainFace.Xalign = 0F; this.labelMainFace.LabelProp = global::Mono.Unix.Catalog.GetString("Ответственное лицо:"); this.hbox8.Add(this.labelMainFace); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.labelMainFace])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.yEntityMainContact = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.yEntityMainContact.Events = ((global::Gdk.EventMask)(256)); this.yEntityMainContact.Name = "yEntityMainContact"; this.yEntityMainContact.CanEditReference = false; this.hbox8.Add(this.yEntityMainContact); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.yEntityMainContact])); w14.Position = 1; this.vbox2.Add(this.hbox8); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox8])); w15.Position = 4; w15.Expand = false; w15.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 w16 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.buttonCreateReport])); w16.Position = 6; w16.Expand = false; w16.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.Reports.WagesOperationsReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Reports.WagesOperationsReport"; // Container child Vodovoz.Reports.WagesOperationsReport.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.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.Xalign = 1F; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.hbox1.Add(this.ylabel1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ylabel1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.dateperiodpicker = new global::QS.Widgets.GtkUI.DateRangePicker(); 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.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.Xalign = 1F; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Сотрудник:"); this.hbox3.Add(this.ylabel2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.ylabel2])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.evmeEmployee = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeEmployee.Events = ((global::Gdk.EventMask)(256)); this.evmeEmployee.Name = "evmeEmployee"; this.evmeEmployee.CanEditReference = true; this.hbox3.Add(this.evmeEmployee); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.evmeEmployee])); 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.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.Table(((uint)(2)), ((uint)(4)), false); this.tableWriteoff.Name = "tableWriteoff"; this.tableWriteoff.RowSpacing = ((uint)(6)); this.tableWriteoff.ColumnSpacing = ((uint)(6)); // 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.warehouseEntry = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.warehouseEntry.Events = ((global::Gdk.EventMask)(256)); this.warehouseEntry.Name = "warehouseEntry"; this.warehouseEntry.CanEditReference = false; this.tableWriteoff.Add(this.warehouseEntry); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.warehouseEntry])); 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(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Orders.OrdersWithoutShipment.OrderWithoutShipmentForPaymentView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Orders.OrdersWithoutShipment.OrderWithoutShipmentForPaymentView"; // Container child Vodovoz.Views.Orders.OrdersWithoutShipment.OrderWithoutShipmentForPaymentView.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // 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.btnCancel = new global::Gamma.GtkWidgets.yButton(); this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseUnderline = true; this.btnCancel.Label = global::Mono.Unix.Catalog.GetString("Отмена"); this.hbox5.Add(this.btnCancel); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.btnCancel])); w1.Position = 0; w1.Expand = false; w1.Fill = false; this.vbox1.Add(this.hbox5); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox5])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // 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.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Счет без отгрузки на постоплату № Ф"); this.hbox1.Add(this.ylabel1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ylabel1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.ylabelOrderNum = new global::Gamma.GtkWidgets.yLabel(); this.ylabelOrderNum.Name = "ylabelOrderNum"; this.ylabelOrderNum.LabelProp = global::Mono.Unix.Catalog.GetString("orderNum"); this.hbox1.Add(this.ylabelOrderNum); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ylabelOrderNum])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.ylabel3 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel3.Name = "ylabel3"; this.ylabel3.LabelProp = global::Mono.Unix.Catalog.GetString(" от "); this.hbox1.Add(this.ylabel3); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ylabel3])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.ylabelOrderDate = new global::Gamma.GtkWidgets.yLabel(); this.ylabelOrderDate.Name = "ylabelOrderDate"; this.ylabelOrderDate.LabelProp = global::Mono.Unix.Catalog.GetString("orderDate"); this.hbox1.Add(this.ylabelOrderDate); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ylabelOrderDate])); w6.Position = 3; w6.Expand = false; w6.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.ylabel5 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel5.Name = "ylabel5"; this.ylabel5.LabelProp = global::Mono.Unix.Catalog.GetString(" Автор: "); this.hbox1.Add(this.ylabel5); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ylabel5])); w7.Position = 4; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.ylabelOrderAuthor = new global::Gamma.GtkWidgets.yLabel(); this.ylabelOrderAuthor.Name = "ylabelOrderAuthor"; this.ylabelOrderAuthor.LabelProp = global::Mono.Unix.Catalog.GetString("author"); this.hbox1.Add(this.ylabelOrderAuthor); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ylabelOrderAuthor])); w8.Position = 5; w8.Expand = false; w8.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // 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.ylabel7 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel7.Name = "ylabel7"; this.ylabel7.LabelProp = global::Mono.Unix.Catalog.GetString("Контрагент: "); this.hbox2.Add(this.ylabel7); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.ylabel7])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entityViewModelEntryCounterparty = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityViewModelEntryCounterparty.Events = ((global::Gdk.EventMask)(256)); this.entityViewModelEntryCounterparty.Name = "entityViewModelEntryCounterparty"; this.entityViewModelEntryCounterparty.CanEditReference = false; this.hbox2.Add(this.entityViewModelEntryCounterparty); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.entityViewModelEntryCounterparty])); w11.Position = 1; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w12.Position = 2; w12.Expand = false; w12.Fill = false; // 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.ybtnOpenBill = new global::Gamma.GtkWidgets.yButton(); this.ybtnOpenBill.CanFocus = true; this.ybtnOpenBill.Name = "ybtnOpenBill"; this.ybtnOpenBill.UseUnderline = true; this.ybtnOpenBill.Label = global::Mono.Unix.Catalog.GetString("Открыть счет"); this.hbox6.Add(this.ybtnOpenBill); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.ybtnOpenBill])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.yCheckBtnHideSignature = new global::Gamma.GtkWidgets.yCheckButton(); this.yCheckBtnHideSignature.CanFocus = true; this.yCheckBtnHideSignature.Name = "yCheckBtnHideSignature"; this.yCheckBtnHideSignature.Label = global::Mono.Unix.Catalog.GetString("Счет без печати и подписей"); this.yCheckBtnHideSignature.DrawIndicator = true; this.yCheckBtnHideSignature.UseUnderline = true; this.hbox6.Add(this.yCheckBtnHideSignature); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yCheckBtnHideSignature])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.vbox1.Add(this.hbox6); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox6])); w15.Position = 3; w15.Expand = false; w15.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hboxSendDocuments = new global::Gtk.HBox(); this.hboxSendDocuments.Name = "hboxSendDocuments"; this.hboxSendDocuments.Spacing = 6; this.vbox1.Add(this.hboxSendDocuments); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxSendDocuments])); w16.Position = 4; this.vbox2.Add(this.vbox1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.vbox1])); w17.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.ylabel13 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel13.Name = "ylabel13"; this.ylabel13.LabelProp = global::Mono.Unix.Catalog.GetString("Период: "); this.hbox10.Add(this.ylabel13); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.ylabel13])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.daterangepickerOrdersDate = new global::QS.Widgets.GtkUI.DateRangePicker(); this.daterangepickerOrdersDate.Events = ((global::Gdk.EventMask)(256)); this.daterangepickerOrdersDate.Name = "daterangepickerOrdersDate"; this.daterangepickerOrdersDate.StartDate = new global::System.DateTime(0); this.daterangepickerOrdersDate.EndDate = new global::System.DateTime(0); this.hbox10.Add(this.daterangepickerOrdersDate); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.daterangepickerOrdersDate])); w19.Position = 1; this.vbox2.Add(this.hbox10); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox10])); w20.Position = 1; w20.Expand = false; w20.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.ylabel11 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel11.Name = "ylabel11"; this.ylabel11.LabelProp = global::Mono.Unix.Catalog.GetString("Заказы: "); this.hbox9.Add(this.ylabel11); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.ylabel11])); w21.Position = 0; w21.Expand = false; w21.Fill = false; this.vbox2.Add(this.hbox9); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox9])); w22.Position = 2; w22.Expand = false; w22.Fill = false; // Container child vbox2.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.ytreeviewOrders = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewOrders.CanFocus = true; this.ytreeviewOrders.Name = "ytreeviewOrders"; this.GtkScrolledWindow1.Add(this.ytreeviewOrders); this.vbox2.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow1])); w24.Position = 3; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.Bottles.ReturnedTareReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Bottles.ReturnedTareReport"; // Container child Vodovoz.ReportsParameters.Bottles.ReturnedTareReport.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)(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.buttonHelp = new global::Gtk.Button(); this.buttonHelp.CanFocus = true; this.buttonHelp.Name = "buttonHelp"; this.buttonHelp.UseUnderline = true; this.buttonHelp.Label = global::Mono.Unix.Catalog.GetString("Справка"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-help", global::Gtk.IconSize.Menu); this.buttonHelp.Image = w1; this.table1.Add(this.buttonHelp); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonHelp])); w2.LeftAttach = ((uint)(4)); w2.RightAttach = ((uint)(5)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.chkClosedOrdersOnly = new global::Gamma.GtkWidgets.yCheckButton(); this.chkClosedOrdersOnly.CanFocus = true; this.chkClosedOrdersOnly.Name = "chkClosedOrdersOnly"; this.chkClosedOrdersOnly.Label = global::Mono.Unix.Catalog.GetString("Закрытые заказы"); this.chkClosedOrdersOnly.DrawIndicator = true; this.chkClosedOrdersOnly.UseUnderline = true; this.table1.Add(this.chkClosedOrdersOnly); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.chkClosedOrdersOnly])); 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.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.table1.Add(this.daterangepicker); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.daterangepicker])); w4.LeftAttach = ((uint)(2)); w4.RightAttach = ((uint)(3)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entityviewmodelentryAuthor = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityviewmodelentryAuthor.Events = ((global::Gdk.EventMask)(256)); this.entityviewmodelentryAuthor.Name = "entityviewmodelentryAuthor"; this.entityviewmodelentryAuthor.CanEditReference = false; this.table1.Add(this.entityviewmodelentryAuthor); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.entityviewmodelentryAuthor])); 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)); // 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 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.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 w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); 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.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.table1.Add(this.vseparator1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.vseparator1])); w8.LeftAttach = ((uint)(3)); w8.RightAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild 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.table1.Add(this.yenumcomboboxDateType); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumcomboboxDateType])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox2.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.vbox2.Add(this.btnCreateReport); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.btnCreateReport])); w11.Position = 1; w11.Expand = false; w11.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.Dialogs.Fuel.FuelWriteoffDocumentView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Fuel.FuelWriteoffDocumentView"; // Container child Vodovoz.Dialogs.Fuel.FuelWriteoffDocumentView.Gtk.Container+ContainerChild this.vboxDialog = new global::Gtk.VBox(); this.vboxDialog.Name = "vboxDialog"; this.vboxDialog.Spacing = 6; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.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.hboxDialogButtons.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); 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.hboxDialogButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonPrint = new global::Gamma.GtkWidgets.yButton(); 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.hboxDialogButtons.Add(this.hbox5); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.hbox5])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 3; this.vboxDialog.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxDialogButtons])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(7)), ((uint)(5)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entryEmployee = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryEmployee.Events = ((global::Gdk.EventMask)(256)); this.entryEmployee.Name = "entryEmployee"; this.entryEmployee.CanEditReference = false; this.table1.Add(this.entryEmployee); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.entryEmployee])); 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 table1.Gtk.Table+TableChild this.entryExpenseCategory = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryExpenseCategory.Events = ((global::Gdk.EventMask)(256)); this.entryExpenseCategory.Name = "entryExpenseCategory"; this.entryExpenseCategory.CanEditReference = false; this.table1.Add(this.entryExpenseCategory); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.entryExpenseCategory])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.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.ytextviewReason = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewReason.CanFocus = true; this.ytextviewReason.Name = "ytextviewReason"; this.GtkScrolledWindow.Add(this.ytextviewReason); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.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.ytreeviewItems = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewItems.CanFocus = true; this.ytreeviewItems.Name = "ytreeviewItems"; this.GtkScrolledWindow1.Add(this.ytreeviewItems); this.table1.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow1])); w14.TopAttach = ((uint)(5)); w14.BottomAttach = ((uint)(6)); w14.RightAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); // 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.ybuttonAddItem = new global::Gamma.GtkWidgets.yButton(); this.ybuttonAddItem.CanFocus = true; this.ybuttonAddItem.Name = "ybuttonAddItem"; this.ybuttonAddItem.UseUnderline = true; this.ybuttonAddItem.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w15 = new global::Gtk.Image(); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.ybuttonAddItem.Image = w15; this.hbox4.Add(this.ybuttonAddItem); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ybuttonAddItem])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ybuttonDeleteItem = new global::Gamma.GtkWidgets.yButton(); this.ybuttonDeleteItem.CanFocus = true; this.ybuttonDeleteItem.Name = "ybuttonDeleteItem"; this.ybuttonDeleteItem.UseUnderline = true; this.ybuttonDeleteItem.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w17 = new global::Gtk.Image(); w17.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.ybuttonDeleteItem.Image = w17; this.hbox4.Add(this.ybuttonDeleteItem); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ybuttonDeleteItem])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.table1.Add(this.hbox4); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox4])); w19.TopAttach = ((uint)(6)); w19.BottomAttach = ((uint)(7)); w19.RightAttach = ((uint)(4)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCashier = new global::Gtk.Label(); this.labelCashier.Name = "labelCashier"; this.labelCashier.Xalign = 1F; this.labelCashier.LabelProp = global::Mono.Unix.Catalog.GetString("Кассир:"); this.labelCashier.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.labelCashier); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCashier])); w20.LeftAttach = ((uint)(2)); w20.RightAttach = ((uint)(3)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCashSubdivision = new global::Gtk.Label(); this.labelCashSubdivision.Name = "labelCashSubdivision"; this.labelCashSubdivision.Xalign = 1F; this.labelCashSubdivision.LabelProp = global::Mono.Unix.Catalog.GetString("Касса:"); this.labelCashSubdivision.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.labelCashSubdivision); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCashSubdivision])); w21.TopAttach = ((uint)(3)); w21.BottomAttach = ((uint)(4)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDate = new global::Gtk.Label(); this.labelDate.Name = "labelDate"; this.labelDate.Xalign = 1F; this.labelDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.labelDate.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.labelDate); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDate])); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelEmployee = new global::Gtk.Label(); this.labelEmployee.Name = "labelEmployee"; this.labelEmployee.Xalign = 1F; this.labelEmployee.LabelProp = global::Mono.Unix.Catalog.GetString("Кому:"); this.labelEmployee.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.labelEmployee); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.labelEmployee])); 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.labelExpenseCategory = new global::Gtk.Label(); this.labelExpenseCategory.Name = "labelExpenseCategory"; this.labelExpenseCategory.Xalign = 1F; this.labelExpenseCategory.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.labelExpenseCategory.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.labelExpenseCategory); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.labelExpenseCategory])); 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.labelReason = new global::Gtk.Label(); this.labelReason.Name = "labelReason"; this.labelReason.Xalign = 1F; this.labelReason.LabelProp = global::Mono.Unix.Catalog.GetString("Основание:"); this.labelReason.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.labelReason); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.labelReason])); w25.TopAttach = ((uint)(4)); w25.BottomAttach = ((uint)(5)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.fuelbalanceview = new global::Vodovoz.Dialogs.Fuel.FuelBalanceView(); this.fuelbalanceview.Events = ((global::Gdk.EventMask)(256)); this.fuelbalanceview.Name = "fuelbalanceview"; this.vbox5.Add(this.fuelbalanceview); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.fuelbalanceview])); w26.Position = 0; w26.Expand = false; w26.Fill = false; this.table1.Add(this.vbox5); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox5])); w27.BottomAttach = ((uint)(6)); w27.LeftAttach = ((uint)(4)); w27.RightAttach = ((uint)(5)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboboxCashSubdivision = new global::Gamma.Widgets.ySpecComboBox(); this.ycomboboxCashSubdivision.Name = "ycomboboxCashSubdivision"; this.ycomboboxCashSubdivision.AddIfNotExist = false; this.ycomboboxCashSubdivision.DefaultFirst = false; this.ycomboboxCashSubdivision.ShowSpecialStateAll = false; this.ycomboboxCashSubdivision.ShowSpecialStateNot = false; this.table1.Add(this.ycomboboxCashSubdivision); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1[this.ycomboboxCashSubdivision])); w28.TopAttach = ((uint)(3)); w28.BottomAttach = ((uint)(4)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(4)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydatepickerDate = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatepickerDate.Events = ((global::Gdk.EventMask)(256)); this.ydatepickerDate.Name = "ydatepickerDate"; this.ydatepickerDate.WithTime = false; this.ydatepickerDate.Date = new global::System.DateTime(0); this.ydatepickerDate.IsEditable = true; this.ydatepickerDate.AutoSeparation = false; this.table1.Add(this.ydatepickerDate); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1[this.ydatepickerDate])); 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.ylabelCashierValue = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCashierValue.Name = "ylabelCashierValue"; this.ylabelCashierValue.Xalign = 0F; this.ylabelCashierValue.LabelProp = global::Mono.Unix.Catalog.GetString("кассир"); this.table1.Add(this.ylabelCashierValue); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelCashierValue])); w30.LeftAttach = ((uint)(3)); w30.RightAttach = ((uint)(4)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxDialog.Add(this.table1); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.table1])); w31.Position = 1; this.Add(this.vboxDialog); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
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 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.Views.Logistic.CarModelView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Logistic.CarModelView"; // Container child Vodovoz.Views.Logistic.CarModelView.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // 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.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.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::Gamma.GtkWidgets.yButton(); 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.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.ytable1 = new global::Gamma.GtkWidgets.yTable(); this.ytable1.Name = "ytable1"; this.ytable1.NRows = ((uint)(6)); this.ytable1.NColumns = ((uint)(2)); this.ytable1.RowSpacing = ((uint)(6)); this.ytable1.ColumnSpacing = ((uint)(6)); // Container child ytable1.Gtk.Table+TableChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.maxWeightSpin = new global::Gamma.GtkWidgets.ySpinButton(0D, 20000D, 1D); this.maxWeightSpin.WidthRequest = 100; this.maxWeightSpin.CanFocus = true; this.maxWeightSpin.Name = "maxWeightSpin"; this.maxWeightSpin.Adjustment.PageIncrement = 10D; this.maxWeightSpin.ClimbRate = 1D; this.maxWeightSpin.Numeric = true; this.maxWeightSpin.ValueAsDecimal = 0m; this.maxWeightSpin.ValueAsInt = 0; this.hbox3.Add(this.maxWeightSpin); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.maxWeightSpin])); w6.Position = 0; w6.Expand = false; w6.Fill = false; this.ytable1.Add(this.hbox3); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.ytable1[this.hbox3])); 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 ytable1.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.maxVolumeSpin = new global::Gamma.GtkWidgets.ySpinButton(0D, 250D, 1D); this.maxVolumeSpin.WidthRequest = 100; this.maxVolumeSpin.CanFocus = true; this.maxVolumeSpin.Name = "maxVolumeSpin"; this.maxVolumeSpin.Adjustment.PageIncrement = 10D; this.maxVolumeSpin.ClimbRate = 1D; this.maxVolumeSpin.Digits = ((uint)(2)); this.maxVolumeSpin.Numeric = true; this.maxVolumeSpin.ValueAsDecimal = 0m; this.maxVolumeSpin.ValueAsInt = 0; this.hbox4.Add(this.maxVolumeSpin); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.maxVolumeSpin])); w8.Position = 0; w8.Expand = false; w8.Fill = false; this.ytable1.Add(this.hbox4); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.ytable1[this.hbox4])); 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 ytable1.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.entryManufacturer = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryManufacturer.WidthRequest = 400; this.entryManufacturer.Events = ((global::Gdk.EventMask)(256)); this.entryManufacturer.Name = "entryManufacturer"; this.entryManufacturer.CanEditReference = true; this.hbox5.Add(this.entryManufacturer); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.entryManufacturer])); w10.Position = 0; w10.Expand = false; this.ytable1.Add(this.hbox5); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.ytable1[this.hbox5])); 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 ytable1.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.comboTypeOfUse = new global::Gamma.Widgets.yEnumComboBox(); this.comboTypeOfUse.Name = "comboTypeOfUse"; this.comboTypeOfUse.ShowSpecialStateAll = false; this.comboTypeOfUse.ShowSpecialStateNot = false; this.comboTypeOfUse.UseShortTitle = false; this.comboTypeOfUse.DefaultFirst = false; this.hbox6.Add(this.comboTypeOfUse); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.comboTypeOfUse])); w12.Position = 0; w12.Expand = false; w12.Fill = false; this.ytable1.Add(this.hbox6); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.ytable1[this.hbox6])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.ycheckIsArchive = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckIsArchive.CanFocus = true; this.ycheckIsArchive.Name = "ycheckIsArchive"; this.ycheckIsArchive.Label = ""; this.ycheckIsArchive.DrawIndicator = true; this.ycheckIsArchive.UseUnderline = true; this.hbox7.Add(this.ycheckIsArchive); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.ycheckIsArchive])); w14.Position = 0; w14.Expand = false; w14.Fill = false; this.ytable1.Add(this.hbox7); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.ytable1[this.hbox7])); w15.TopAttach = ((uint)(5)); w15.BottomAttach = ((uint)(6)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.yentryName = new global::Gamma.GtkWidgets.yEntry(); this.yentryName.WidthRequest = 400; this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.InvisibleChar = '•'; this.hbox9.Add(this.yentryName); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.yentryName])); w16.Position = 0; w16.Expand = false; w16.Fill = false; this.ytable1.Add(this.hbox9); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.ytable1[this.hbox9])); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.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.ytable1.Add(this.label1); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.ytable1[this.label1])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.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.ytable1.Add(this.label2); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.ytable1[this.label2])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.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("Объём груза (м<sup>3</sup>):"); this.label3.UseMarkup = true; this.ytable1.Add(this.label3); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.ytable1[this.label3])); w20.TopAttach = ((uint)(3)); w20.BottomAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.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.ytable1.Add(this.label4); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.ytable1[this.label4])); w21.TopAttach = ((uint)(4)); w21.BottomAttach = ((uint)(5)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.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.ytable1.Add(this.label5); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.ytable1[this.label5])); w22.TopAttach = ((uint)(5)); w22.BottomAttach = ((uint)(6)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.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.ytable1.Add(this.labelName); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.ytable1[this.labelName])); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.ytable1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.ytable1])); w24.Position = 1; w24.Expand = false; w24.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.Views.Flyers.FlyerView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Flyers.FlyerView"; // Container child Vodovoz.Views.Flyers.FlyerView.Gtk.Container+ContainerChild this.vboxMain = new global::Gamma.GtkWidgets.yVBox(); this.vboxMain.Name = "vboxMain"; this.vboxMain.Spacing = 6; // Container child vboxMain.Gtk.Box+BoxChild this.hboxSaveAndClose = new global::Gamma.GtkWidgets.yHBox(); this.hboxSaveAndClose.Name = "hboxSaveAndClose"; this.hboxSaveAndClose.Spacing = 6; // Container child hboxSaveAndClose.Gtk.Box+BoxChild this.btnSave = new global::Gamma.GtkWidgets.yButton(); this.btnSave.CanFocus = true; this.btnSave.Name = "btnSave"; this.btnSave.UseUnderline = true; this.btnSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); this.hboxSaveAndClose.Add(this.btnSave); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hboxSaveAndClose[this.btnSave])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hboxSaveAndClose.Gtk.Box+BoxChild this.btnCancel = new global::Gamma.GtkWidgets.yButton(); this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseUnderline = true; this.btnCancel.Label = global::Mono.Unix.Catalog.GetString("Отмена"); this.hboxSaveAndClose.Add(this.btnCancel); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxSaveAndClose[this.btnCancel])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vboxMain.Add(this.hboxSaveAndClose); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.hboxSaveAndClose])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vboxMain.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vboxMain.Add(this.hseparator1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.hseparator1])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vboxMain.Gtk.Box+BoxChild this.hboxFlyerNomenclature = new global::Gamma.GtkWidgets.yHBox(); this.hboxFlyerNomenclature.Name = "hboxFlyerNomenclature"; this.hboxFlyerNomenclature.Spacing = 6; // Container child hboxFlyerNomenclature.Gtk.Box+BoxChild this.lblFlyerNomenclature = new global::Gamma.GtkWidgets.yLabel(); this.lblFlyerNomenclature.Name = "lblFlyerNomenclature"; this.lblFlyerNomenclature.LabelProp = global::Mono.Unix.Catalog.GetString("Номенклатура:"); this.hboxFlyerNomenclature.Add(this.lblFlyerNomenclature); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxFlyerNomenclature[this.lblFlyerNomenclature])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hboxFlyerNomenclature.Gtk.Box+BoxChild this.entryFlyerNomenclature = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryFlyerNomenclature.Events = ((global::Gdk.EventMask)(256)); this.entryFlyerNomenclature.Name = "entryFlyerNomenclature"; this.entryFlyerNomenclature.CanEditReference = false; this.hboxFlyerNomenclature.Add(this.entryFlyerNomenclature); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hboxFlyerNomenclature[this.entryFlyerNomenclature])); w6.Position = 1; this.vboxMain.Add(this.hboxFlyerNomenclature); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.hboxFlyerNomenclature])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child vboxMain.Gtk.Box+BoxChild this.hboxActivationDeactivation = new global::Gamma.GtkWidgets.yHBox(); this.hboxActivationDeactivation.Name = "hboxActivationDeactivation"; this.hboxActivationDeactivation.Spacing = 6; // Container child hboxActivationDeactivation.Gtk.Box+BoxChild this.hboxActivation = new global::Gamma.GtkWidgets.yHBox(); this.hboxActivation.Name = "hboxActivation"; this.hboxActivation.Spacing = 6; // Container child hboxActivation.Gtk.Box+BoxChild this.lblStartDate = new global::Gamma.GtkWidgets.yLabel(); this.lblStartDate.Name = "lblStartDate"; this.lblStartDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата старта:"); this.hboxActivation.Add(this.lblStartDate); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hboxActivation[this.lblStartDate])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hboxActivation.Gtk.Box+BoxChild this.startDatePicker = new global::QS.Widgets.GtkUI.DatePicker(); this.startDatePicker.Events = ((global::Gdk.EventMask)(256)); this.startDatePicker.Name = "startDatePicker"; this.startDatePicker.WithTime = false; this.startDatePicker.HideCalendarButton = false; this.startDatePicker.Date = new global::System.DateTime(0); this.startDatePicker.IsEditable = false; this.startDatePicker.AutoSeparation = false; this.hboxActivation.Add(this.startDatePicker); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxActivation[this.startDatePicker])); w9.Position = 1; // Container child hboxActivation.Gtk.Box+BoxChild this.btnActivate = new global::Gamma.GtkWidgets.yButton(); this.btnActivate.CanFocus = true; this.btnActivate.Name = "btnActivate"; this.btnActivate.UseUnderline = true; this.btnActivate.Label = global::Mono.Unix.Catalog.GetString("Активировать"); this.hboxActivation.Add(this.btnActivate); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxActivation[this.btnActivate])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.hboxActivationDeactivation.Add(this.hboxActivation); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxActivationDeactivation[this.hboxActivation])); w11.Position = 0; // Container child hboxActivationDeactivation.Gtk.Box+BoxChild this.hboxDeactivation = new global::Gamma.GtkWidgets.yHBox(); this.hboxDeactivation.Name = "hboxDeactivation"; this.hboxDeactivation.Spacing = 6; // Container child hboxDeactivation.Gtk.Box+BoxChild this.lblEndDate = new global::Gamma.GtkWidgets.yLabel(); this.lblEndDate.Name = "lblEndDate"; this.lblEndDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата окончания:"); this.hboxDeactivation.Add(this.lblEndDate); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hboxDeactivation[this.lblEndDate])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hboxDeactivation.Gtk.Box+BoxChild this.endDatePicker = new global::QS.Widgets.GtkUI.DatePicker(); this.endDatePicker.Events = ((global::Gdk.EventMask)(256)); this.endDatePicker.Name = "endDatePicker"; this.endDatePicker.WithTime = false; this.endDatePicker.HideCalendarButton = false; this.endDatePicker.Date = new global::System.DateTime(0); this.endDatePicker.IsEditable = false; this.endDatePicker.AutoSeparation = false; this.hboxDeactivation.Add(this.endDatePicker); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hboxDeactivation[this.endDatePicker])); w13.Position = 1; // Container child hboxDeactivation.Gtk.Box+BoxChild this.btnDeactivate = new global::Gamma.GtkWidgets.yButton(); this.btnDeactivate.CanFocus = true; this.btnDeactivate.Name = "btnDeactivate"; this.btnDeactivate.UseUnderline = true; this.btnDeactivate.Label = global::Mono.Unix.Catalog.GetString("Отключить"); this.hboxDeactivation.Add(this.btnDeactivate); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hboxDeactivation[this.btnDeactivate])); w14.Position = 2; w14.Expand = false; w14.Fill = false; this.hboxActivationDeactivation.Add(this.hboxDeactivation); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hboxActivationDeactivation[this.hboxDeactivation])); w15.Position = 1; this.vboxMain.Add(this.hboxActivationDeactivation); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.hboxActivationDeactivation])); w16.Position = 3; w16.Expand = false; w16.Fill = false; // Container child vboxMain.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.treeViewFlyersActionTimes = new global::Gamma.GtkWidgets.yTreeView(); this.treeViewFlyersActionTimes.CanFocus = true; this.treeViewFlyersActionTimes.Name = "treeViewFlyersActionTimes"; this.GtkScrolledWindow.Add(this.treeViewFlyersActionTimes); this.vboxMain.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.GtkScrolledWindow])); w18.Position = 4; this.Add(this.vboxMain); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.SelfDeliveryDocumentDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.SelfDeliveryDocumentDlg"; // Container child Vodovoz.SelfDeliveryDocumentDlg.Gtk.Container+ContainerChild this.vbxMain = new global::Gtk.VBox(); this.vbxMain.Name = "vbxMain"; this.vbxMain.Spacing = 6; this.vbxMain.BorderWidth = ((uint)(6)); // Container child vbxMain.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.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 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.vbxMain.Add(this.hbox5); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbxMain[this.hbox5])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbxMain.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.tableWriteoff = new global::Gtk.Table(((uint)(3)), ((uint)(4)), false); this.tableWriteoff.Name = "tableWriteoff"; this.tableWriteoff.RowSpacing = ((uint)(6)); this.tableWriteoff.ColumnSpacing = ((uint)(6)); // Container child tableWriteoff.Gtk.Table+TableChild this.evmeOrder = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeOrder.Events = ((global::Gdk.EventMask)(256)); this.evmeOrder.Name = "evmeOrder"; this.evmeOrder.CanEditReference = true; this.tableWriteoff.Add(this.evmeOrder); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.evmeOrder])); w8.LeftAttach = ((uint)(3)); w8.RightAttach = ((uint)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // 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 w10 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.GtkScrolledWindow])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.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.ytextviewOrderInfo = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewOrderInfo.CanFocus = true; this.ytextviewOrderInfo.Name = "ytextviewOrderInfo"; this.ytextviewOrderInfo.Editable = false; this.GtkScrolledWindow1.Add(this.ytextviewOrderInfo); this.tableWriteoff.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.GtkScrolledWindow1])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(3)); w12.RightAttach = ((uint)(4)); w12.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 w13 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label1])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.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 w14 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label2])); 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.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 w15 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label3])); 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 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 w16 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label4])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.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 w17 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label5])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.lstWarehouse = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.lstWarehouse.Name = "lstWarehouse"; this.lstWarehouse.AddIfNotExist = false; this.lstWarehouse.DefaultFirst = false; this.lstWarehouse.ShowSpecialStateAll = false; this.lstWarehouse.ShowSpecialStateNot = false; this.tableWriteoff.Add(this.lstWarehouse); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.lstWarehouse])); 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.hbox2.Add(this.tableWriteoff); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.tableWriteoff])); w20.Position = 0; this.vbxMain.Add(this.hbox2); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbxMain[this.hbox2])); w21.Position = 1; w21.Expand = false; w21.Fill = false; // Container child vbxMain.Gtk.Box+BoxChild this.hbxGoods = new global::Gtk.HBox(); this.hbxGoods.Name = "hbxGoods"; this.hbxGoods.Spacing = 6; // Container child hbxGoods.Gtk.Box+BoxChild this.selfdeliverydocumentitemsview1 = new global::Vodovoz.SelfDeliveryDocumentItemsView(); this.selfdeliverydocumentitemsview1.Events = ((global::Gdk.EventMask)(256)); this.selfdeliverydocumentitemsview1.Name = "selfdeliverydocumentitemsview1"; this.hbxGoods.Add(this.selfdeliverydocumentitemsview1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbxGoods[this.selfdeliverydocumentitemsview1])); w22.Position = 0; // Container child hbxGoods.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbxTareToReturn = new global::Gtk.HBox(); this.hbxTareToReturn.Name = "hbxTareToReturn"; this.hbxTareToReturn.Spacing = 6; // Container child hbxTareToReturn.Gtk.Box+BoxChild this.lblTareToReturn = new global::Gtk.Label(); this.lblTareToReturn.Name = "lblTareToReturn"; this.lblTareToReturn.Xalign = 0F; this.lblTareToReturn.LabelProp = global::Mono.Unix.Catalog.GetString("Тара на возврат:"); this.hbxTareToReturn.Add(this.lblTareToReturn); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbxTareToReturn[this.lblTareToReturn])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child hbxTareToReturn.Gtk.Box+BoxChild this.spnTareToReturn = new global::Gamma.GtkWidgets.ySpinButton(0D, 9999D, 1D); this.spnTareToReturn.CanFocus = true; this.spnTareToReturn.Name = "spnTareToReturn"; this.spnTareToReturn.Adjustment.PageIncrement = 10D; this.spnTareToReturn.ClimbRate = 1D; this.spnTareToReturn.Numeric = true; this.spnTareToReturn.ValueAsDecimal = 0m; this.spnTareToReturn.ValueAsInt = 0; this.hbxTareToReturn.Add(this.spnTareToReturn); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbxTareToReturn[this.spnTareToReturn])); w24.Position = 1; this.vbox2.Add(this.hbxTareToReturn); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbxTareToReturn])); w25.Position = 0; w25.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.lblTareReturnedBefore = new global::Gamma.GtkWidgets.yLabel(); this.lblTareReturnedBefore.Name = "lblTareReturnedBefore"; this.lblTareReturnedBefore.Xalign = 0F; this.lblTareReturnedBefore.Yalign = 0F; this.lblTareReturnedBefore.UseMarkup = true; this.lblTareReturnedBefore.WidthChars = 0; this.lblTareReturnedBefore.MaxWidthChars = 0; this.vbox2.Add(this.lblTareReturnedBefore); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.lblTareReturnedBefore])); w26.Position = 1; w26.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.vBoxOtherGoods = new global::Gtk.VBox(); this.vBoxOtherGoods.Name = "vBoxOtherGoods"; this.vBoxOtherGoods.Spacing = 6; // Container child vBoxOtherGoods.Gtk.Box+BoxChild this.lblOtherGoods = new global::Gtk.Label(); this.lblOtherGoods.Name = "lblOtherGoods"; this.lblOtherGoods.Xalign = 0F; this.lblOtherGoods.LabelProp = global::Mono.Unix.Catalog.GetString("ТМЦ на возврат:"); this.vBoxOtherGoods.Add(this.lblOtherGoods); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vBoxOtherGoods[this.lblOtherGoods])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child vBoxOtherGoods.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.yTreeOtherGoods = new global::Gamma.GtkWidgets.yTreeView(); this.yTreeOtherGoods.CanFocus = true; this.yTreeOtherGoods.Name = "yTreeOtherGoods"; this.GtkScrolledWindow4.Add(this.yTreeOtherGoods); this.vBoxOtherGoods.Add(this.GtkScrolledWindow4); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vBoxOtherGoods[this.GtkScrolledWindow4])); w29.Position = 1; // Container child vBoxOtherGoods.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.btnAddOtherGoods = new global::Gtk.Button(); this.btnAddOtherGoods.CanFocus = true; this.btnAddOtherGoods.Name = "btnAddOtherGoods"; this.btnAddOtherGoods.UseUnderline = true; this.btnAddOtherGoods.Label = global::Mono.Unix.Catalog.GetString("ТМЦ"); global::Gtk.Image w30 = new global::Gtk.Image(); w30.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.btnAddOtherGoods.Image = w30; this.hbox6.Add(this.btnAddOtherGoods); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnAddOtherGoods])); w31.Position = 0; w31.Expand = false; w31.Fill = false; this.vBoxOtherGoods.Add(this.hbox6); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vBoxOtherGoods[this.hbox6])); w32.Position = 2; w32.Expand = false; w32.Fill = false; this.vbox2.Add(this.vBoxOtherGoods); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.vBoxOtherGoods])); w33.Position = 2; this.hbxGoods.Add(this.vbox2); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbxGoods[this.vbox2])); w34.Position = 1; this.vbxMain.Add(this.hbxGoods); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbxMain[this.hbxGoods])); w35.Position = 2; this.Add(this.vbxMain); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.btnAddOtherGoods.Clicked += new global::System.EventHandler(this.OnBtnAddOtherGoodsClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.WriteoffDocumentDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.WriteoffDocumentDlg"; // Container child Vodovoz.WriteoffDocumentDlg.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.Table(((uint)(4)), ((uint)(4)), false); this.tableWriteoff.Name = "tableWriteoff"; this.tableWriteoff.RowSpacing = ((uint)(6)); this.tableWriteoff.ColumnSpacing = ((uint)(6)); // Container child tableWriteoff.Gtk.Table+TableChild this.comboType = new global::Gamma.Widgets.yEnumComboBox(); this.comboType.CanFocus = true; this.comboType.Name = "comboType"; this.comboType.ShowSpecialStateAll = false; this.comboType.ShowSpecialStateNot = false; this.comboType.UseShortTitle = false; this.comboType.DefaultFirst = false; this.tableWriteoff.Add(this.comboType); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.comboType])); 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.evmeCounterparty = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeCounterparty.Events = ((global::Gdk.EventMask)(256)); this.evmeCounterparty.Name = "evmeCounterparty"; this.evmeCounterparty.CanEditReference = true; this.tableWriteoff.Add(this.evmeCounterparty); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.evmeCounterparty])); 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 tableWriteoff.Gtk.Table+TableChild this.evmeDeliveryPoint = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeDeliveryPoint.Events = ((global::Gdk.EventMask)(256)); this.evmeDeliveryPoint.Name = "evmeDeliveryPoint"; this.evmeDeliveryPoint.CanEditReference = false; this.tableWriteoff.Add(this.evmeDeliveryPoint); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.evmeDeliveryPoint])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(3)); w10.RightAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.evmeEmployee = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeEmployee.Events = ((global::Gdk.EventMask)(256)); this.evmeEmployee.Name = "evmeEmployee"; this.evmeEmployee.CanEditReference = true; this.tableWriteoff.Add(this.evmeEmployee); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.evmeEmployee])); w11.LeftAttach = ((uint)(3)); w11.RightAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.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::Gamma.GtkWidgets.yTextView(); this.textComment.CanFocus = true; this.textComment.Name = "textComment"; this.GtkScrolledWindow1.Add(this.textComment); this.tableWriteoff.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.GtkScrolledWindow1])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.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 w14 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label1])); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Ответственное лицо:"); this.tableWriteoff.Add(this.label12); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label12])); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.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 w16 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label2])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.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 w17 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label4])); 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 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 w18 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label5])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.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.tableWriteoff.Add(this.label6); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label6])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.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.tableWriteoff.Add(this.label7); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label7])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(2)); w20.RightAttach = ((uint)(3)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.labelTimeStamp = new global::Gamma.GtkWidgets.yLabel(); this.labelTimeStamp.Name = "labelTimeStamp"; this.labelTimeStamp.Xalign = 0F; this.tableWriteoff.Add(this.labelTimeStamp); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.labelTimeStamp])); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.ySpecCmbWarehouses = new global::Gamma.Widgets.ySpecComboBox(); this.ySpecCmbWarehouses.Name = "ySpecCmbWarehouses"; this.ySpecCmbWarehouses.AddIfNotExist = false; this.ySpecCmbWarehouses.DefaultFirst = false; this.ySpecCmbWarehouses.ShowSpecialStateAll = false; this.ySpecCmbWarehouses.ShowSpecialStateNot = true; this.tableWriteoff.Add(this.ySpecCmbWarehouses); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.ySpecCmbWarehouses])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.LeftAttach = ((uint)(3)); w22.RightAttach = ((uint)(4)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add(this.tableWriteoff); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.tableWriteoff])); w23.Position = 1; w23.Expand = false; w23.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.writeoffdocumentitemsview1 = new global::Vodovoz.WriteoffDocumentItemsView(); this.writeoffdocumentitemsview1.Events = ((global::Gdk.EventMask)(256)); this.writeoffdocumentitemsview1.Name = "writeoffdocumentitemsview1"; this.vbox4.Add(this.writeoffdocumentitemsview1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.writeoffdocumentitemsview1])); w24.PackType = ((global::Gtk.PackType)(1)); w24.Position = 2; this.Add(this.vbox4); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonPrint.Clicked += new global::System.EventHandler(this.OnButtonPrintClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.ReportForBigClient global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.ReportForBigClient"; // Container child Vodovoz.ReportsParameters.ReportForBigClient.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(4)), ((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)(3)); w1.BottomAttach = ((uint)(4)); 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.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.evmeCounterparty = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeCounterparty.Events = ((global::Gdk.EventMask)(256)); this.evmeCounterparty.Name = "evmeCounterparty"; this.evmeCounterparty.CanEditReference = true; this.table1.Add(this.evmeCounterparty); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.evmeCounterparty])); 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.evmeDeliveryPoint = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeDeliveryPoint.Sensitive = false; this.evmeDeliveryPoint.Events = ((global::Gdk.EventMask)(256)); this.evmeDeliveryPoint.Name = "evmeDeliveryPoint"; this.evmeDeliveryPoint.CanEditReference = true; this.table1.Add(this.evmeDeliveryPoint); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.evmeDeliveryPoint])); w4.TopAttach = ((uint)(2)); w4.BottomAttach = ((uint)(3)); 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.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.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.dateperiodpicker1.Hide(); this.label1.Hide(); this.Hide(); this.dateperiodpicker1.PeriodChanged += new global::System.EventHandler(this.OnDateperiodpicker1PeriodChanged); this.buttonRun.Clicked += new global::System.EventHandler(this.OnButtonRunClicked); }