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.CashDocumentsFilter global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.CashDocumentsFilter"; // Container child Vodovoz.CashDocumentsFilter.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(4)), ((uint)(4)), false); this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.accessfilteredsubdivisionselectorwidget = new global::Vodovoz.Core.Permissions.AccessFilteredSubdivisionSelectorWidget(); this.accessfilteredsubdivisionselectorwidget.Events = ((global::Gdk.EventMask)(256)); this.accessfilteredsubdivisionselectorwidget.Name = "accessfilteredsubdivisionselectorwidget"; this.accessfilteredsubdivisionselectorwidget.NeedChooseSubdivision = false; this.table1.Add(this.accessfilteredsubdivisionselectorwidget); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.accessfilteredsubdivisionselectorwidget])); w1.TopAttach = ((uint)(3)); w1.BottomAttach = ((uint)(4)); w1.RightAttach = ((uint)(4)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.dateperiodDocs = new global::QS.Widgets.GtkUI.DateRangePicker(); this.dateperiodDocs.Events = ((global::Gdk.EventMask)(256)); this.dateperiodDocs.Name = "dateperiodDocs"; this.dateperiodDocs.StartDate = new global::System.DateTime(0); this.dateperiodDocs.EndDate = new global::System.DateTime(0); this.table1.Add(this.dateperiodDocs); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodDocs])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entityVMEntryCashExpenseCategory = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityVMEntryCashExpenseCategory.Events = ((global::Gdk.EventMask)(256)); this.entityVMEntryCashExpenseCategory.Name = "entityVMEntryCashExpenseCategory"; this.entityVMEntryCashExpenseCategory.CanEditReference = false; this.table1.Add(this.entityVMEntryCashExpenseCategory); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.entityVMEntryCashExpenseCategory])); 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.entityVMEntryCashIncomeCategory = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityVMEntryCashIncomeCategory.Events = ((global::Gdk.EventMask)(256)); this.entityVMEntryCashIncomeCategory.Name = "entityVMEntryCashIncomeCategory"; this.entityVMEntryCashIncomeCategory.CanEditReference = false; this.table1.Add(this.entityVMEntryCashIncomeCategory); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.entityVMEntryCashIncomeCategory])); w4.LeftAttach = ((uint)(3)); w4.RightAttach = ((uint)(4)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumcomboDocumentType = new global::Gamma.Widgets.yEnumComboBox(); this.enumcomboDocumentType.Name = "enumcomboDocumentType"; this.enumcomboDocumentType.ShowSpecialStateAll = true; this.enumcomboDocumentType.ShowSpecialStateNot = false; this.enumcomboDocumentType.UseShortTitle = false; this.enumcomboDocumentType.DefaultFirst = false; this.table1.Add(this.enumcomboDocumentType); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.enumcomboDocumentType])); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.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 w6 = ((global::Gtk.Table.TableChild)(this.table1[this.evmeEmployee])); 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.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Вид документа:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Статья дохода:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w8.LeftAttach = ((uint)(2)); w8.RightAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w9.TopAttach = ((uint)(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.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("За период:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Сотрудник:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.enumcomboDocumentType.EnumItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnEnumcomboDocumentTypeEnumItemSelected); this.entityVMEntryCashIncomeCategory.Changed += new global::System.EventHandler(this.OnEntityVMEntryCashIncomeCategoryChanged); this.entityVMEntryCashExpenseCategory.Changed += new global::System.EventHandler(this.OnEntityVMEntryCashExpenseCategoryChanged); this.dateperiodDocs.PeriodChanged += new global::System.EventHandler(this.OnDateperiodDocsPeriodChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.CashExpenseDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.CashExpenseDlg"; // Container child Vodovoz.CashExpenseDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox2.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox2.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonPrint = new global::Gtk.Button(); this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w5; this.hbox2.Add(this.buttonPrint); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonPrint])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.hboxSubdivision = new global::Gtk.HBox(); this.hboxSubdivision.Name = "hboxSubdivision"; this.hboxSubdivision.Spacing = 6; // Container child hboxSubdivision.Gtk.Box+BoxChild this.accessfilteredsubdivisionselectorwidget = new global::Vodovoz.Core.Permissions.AccessFilteredSubdivisionSelectorWidget(); this.accessfilteredsubdivisionselectorwidget.Events = ((global::Gdk.EventMask)(256)); this.accessfilteredsubdivisionselectorwidget.Name = "accessfilteredsubdivisionselectorwidget"; this.accessfilteredsubdivisionselectorwidget.NeedChooseSubdivision = false; this.hboxSubdivision.Add(this.accessfilteredsubdivisionselectorwidget); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxSubdivision[this.accessfilteredsubdivisionselectorwidget])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 2; w7.Expand = false; w7.Fill = false; this.hbox2.Add(this.hboxSubdivision); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.hboxSubdivision])); w8.Position = 3; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(5)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entityVMEntryExpenseCategory = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityVMEntryExpenseCategory.Events = ((global::Gdk.EventMask)(256)); this.entityVMEntryExpenseCategory.Name = "entityVMEntryExpenseCategory"; this.entityVMEntryExpenseCategory.CanEditReference = false; this.table1.Add(this.entityVMEntryExpenseCategory); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.entityVMEntryExpenseCategory])); 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.enumcomboOperation = new global::Gamma.Widgets.yEnumComboBox(); this.enumcomboOperation.Name = "enumcomboOperation"; this.enumcomboOperation.ShowSpecialStateAll = false; this.enumcomboOperation.ShowSpecialStateNot = false; this.enumcomboOperation.UseShortTitle = false; this.enumcomboOperation.DefaultFirst = false; this.table1.Add(this.enumcomboOperation); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.enumcomboOperation])); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.yspinMoney = new global::Gamma.GtkWidgets.ySpinButton(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 w12 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspinMoney])); w12.Position = 0; // Container child hbox6.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.hbox6.Add(this.currencylabel1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.currencylabel1])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.table1.Add(this.hbox6); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox6])); w14.TopAttach = ((uint)(4)); w14.BottomAttach = ((uint)(5)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Кассир:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w16.LeftAttach = ((uint)(2)); w16.RightAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Тип операции:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.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 w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w19.TopAttach = ((uint)(4)); w19.BottomAttach = ((uint)(5)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.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.table1.Add(this.labelEmployee); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.labelEmployee])); w20.TopAttach = ((uint)(3)); w20.BottomAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.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 w21 = ((global::Gtk.Table.TableChild)(this.table1[this.specialListCmbOrganisation])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); 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.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 w22 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateDocument])); 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)); // Container child table1.Gtk.Table+TableChild this.yentryCasher = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryCasher.Sensitive = false; this.yentryCasher.Events = ((global::Gdk.EventMask)(256)); this.yentryCasher.Name = "yentryCasher"; this.table1.Add(this.yentryCasher); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryCasher])); w23.LeftAttach = ((uint)(3)); w23.RightAttach = ((uint)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryEmployee = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryEmployee.Events = ((global::Gdk.EventMask)(256)); this.yentryEmployee.Name = "yentryEmployee"; this.table1.Add(this.yentryEmployee); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryEmployee])); w24.TopAttach = ((uint)(3)); w24.BottomAttach = ((uint)(4)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.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 w25 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1])); w25.TopAttach = ((uint)(2)); w25.BottomAttach = ((uint)(3)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelEmployeeWageBalance = new global::Gamma.GtkWidgets.yLabel(); this.ylabelEmployeeWageBalance.Name = "ylabelEmployeeWageBalance"; this.ylabelEmployeeWageBalance.Xalign = 0F; this.ylabelEmployeeWageBalance.LabelProp = global::Mono.Unix.Catalog.GetString("Текущий баланс сотрудника:"); this.table1.Add(this.ylabelEmployeeWageBalance); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelEmployeeWageBalance])); w26.TopAttach = ((uint)(3)); w26.BottomAttach = ((uint)(4)); w26.LeftAttach = ((uint)(3)); w26.RightAttach = ((uint)(4)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w27.Position = 1; w27.Expand = false; w27.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.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 w28 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label6])); w28.Position = 2; w28.Expand = false; w28.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 w30 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w30.Position = 3; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonPrint.Clicked += new global::System.EventHandler(this.OnButtonPrintClicked); this.yspinMoney.FocusInEvent += new global::Gtk.FocusInEventHandler(this.OnYspinMoneyFocusInEvent); this.enumcomboOperation.EnumItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnEnumcomboOperationEnumItemSelected); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Cash.CashIncomeSelfDeliveryDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Cash.CashIncomeSelfDeliveryDlg"; // Container child Vodovoz.Dialogs.Cash.CashIncomeSelfDeliveryDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox2.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox2.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonPrint = new global::Gtk.Button(); this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w5; this.hbox2.Add(this.buttonPrint); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonPrint])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.hboxSubdivision = new global::Gtk.HBox(); this.hboxSubdivision.Name = "hboxSubdivision"; this.hboxSubdivision.Spacing = 6; // Container child hboxSubdivision.Gtk.Box+BoxChild this.accessfilteredsubdivisionselectorwidget = new global::Vodovoz.Core.Permissions.AccessFilteredSubdivisionSelectorWidget(); this.accessfilteredsubdivisionselectorwidget.Events = ((global::Gdk.EventMask)(256)); this.accessfilteredsubdivisionselectorwidget.Name = "accessfilteredsubdivisionselectorwidget"; this.accessfilteredsubdivisionselectorwidget.NeedChooseSubdivision = false; this.hboxSubdivision.Add(this.accessfilteredsubdivisionselectorwidget); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxSubdivision[this.accessfilteredsubdivisionselectorwidget])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 2; w7.Expand = false; w7.Fill = false; this.hbox2.Add(this.hboxSubdivision); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.hboxSubdivision])); w8.Position = 3; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild 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)); // Container child table1.Gtk.Table+TableChild this.comboCategory = new global::Gamma.Widgets.ySpecComboBox(); this.comboCategory.Name = "comboCategory"; this.comboCategory.AddIfNotExist = false; this.comboCategory.DefaultFirst = false; this.comboCategory.ShowSpecialStateAll = false; this.comboCategory.ShowSpecialStateNot = true; this.table1.Add(this.comboCategory); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.comboCategory])); 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.enumcomboOperation = new global::Gamma.Widgets.yEnumComboBox(); this.enumcomboOperation.Name = "enumcomboOperation"; this.enumcomboOperation.ShowSpecialStateAll = false; this.enumcomboOperation.ShowSpecialStateNot = false; this.enumcomboOperation.UseShortTitle = false; this.enumcomboOperation.DefaultFirst = false; this.table1.Add(this.enumcomboOperation); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.enumcomboOperation])); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.yspinMoney = new global::Gamma.GtkWidgets.ySpinButton(0D, 1000000D, 100D); this.yspinMoney.CanDefault = true; this.yspinMoney.CanFocus = true; this.yspinMoney.Name = "yspinMoney"; this.yspinMoney.Adjustment.PageIncrement = 1000D; this.yspinMoney.ClimbRate = 1D; this.yspinMoney.Digits = ((uint)(2)); this.yspinMoney.Numeric = true; this.yspinMoney.ValueAsDecimal = 0m; this.yspinMoney.ValueAsInt = 0; this.hbox8.Add(this.yspinMoney); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.yspinMoney])); w12.Position = 0; // Container child hbox8.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.hbox8.Add(this.currencylabel1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.currencylabel1])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.table1.Add(this.hbox8); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox8])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child 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 w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Сумма:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelIncomeTitle = new global::Gtk.Label(); this.labelIncomeTitle.Name = "labelIncomeTitle"; this.labelIncomeTitle.Xalign = 1F; this.labelIncomeTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Статья дохода:"); this.table1.Add(this.labelIncomeTitle); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.labelIncomeTitle])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelOrderTitle = new global::Gtk.Label(); this.labelOrderTitle.Name = "labelOrderTitle"; this.labelOrderTitle.Xalign = 1F; this.labelOrderTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Заказ:"); this.table1.Add(this.labelOrderTitle); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.labelOrderTitle])); 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.yentryOrder = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryOrder.Events = ((global::Gdk.EventMask)(256)); this.yentryOrder.Name = "yentryOrder"; this.table1.Add(this.yentryOrder); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryOrder])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table1])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.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.hbox9.Add(this.label2); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.label2])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.yentryCasher = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryCasher.Sensitive = false; this.yentryCasher.Events = ((global::Gdk.EventMask)(256)); this.yentryCasher.Name = "yentryCasher"; this.hbox9.Add(this.yentryCasher); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.yentryCasher])); w22.Position = 1; this.vbox3.Add(this.hbox9); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox9])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.hbox10.Add(this.label1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.label1])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child hbox10.Gtk.Box+BoxChild 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.hbox10.Add(this.ydateDocument); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.ydateDocument])); w25.Position = 1; this.vbox3.Add(this.hbox10); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox10])); w26.Position = 1; w26.Expand = false; w26.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox(); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; // Container child hbox11.Gtk.Box+BoxChild this.permissioncommentview = new global::Vodovoz.ViewWidgets.PermissionCommentView(); this.permissioncommentview.Events = ((global::Gdk.EventMask)(256)); this.permissioncommentview.Name = "permissioncommentview"; this.permissioncommentview.AddCommentInfo = false; this.hbox11.Add(this.permissioncommentview); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.permissioncommentview])); w27.Position = 0; w27.Expand = false; w27.Fill = false; this.vbox3.Add(this.hbox11); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox11])); w28.Position = 2; // Container child vbox3.Gtk.Box+BoxChild this.hbox12 = new global::Gtk.HBox(); this.hbox12.Name = "hbox12"; this.hbox12.Spacing = 6; this.vbox3.Add(this.hbox12); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox12])); w29.Position = 3; this.hbox1.Add(this.vbox3); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox3])); w30.Position = 1; w30.Expand = false; w30.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w31.Position = 1; w31.Expand = false; w31.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Основание:"); this.vbox1.Add(this.label6); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label6])); w32.Position = 2; w32.Expand = false; w32.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.ytextviewDescription = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewDescription.CanFocus = true; this.ytextviewDescription.Name = "ytextviewDescription"; this.ytextviewDescription.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow1.Add(this.ytextviewDescription); this.vbox1.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow1])); w34.Position = 3; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonPrint.Clicked += new global::System.EventHandler(this.OnButtonPrintClicked); this.yentryOrder.Changed += new global::System.EventHandler(this.OnYentryOrderChanged); }