protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.PaidRentPackageDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.PaidRentPackageDlg"; // Container child Vodovoz.PaidRentPackageDlg.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox1.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.datatable1 = new global::Gtk.Table(((uint)(8)), ((uint)(2)), false); this.datatable1.Name = "datatable1"; this.datatable1.RowSpacing = ((uint)(6)); this.datatable1.ColumnSpacing = ((uint)(6)); this.datatable1.BorderWidth = ((uint)(6)); // Container child datatable1.Gtk.Table+TableChild this.dataentryName = new global::Gamma.GtkWidgets.yEntry(); this.dataentryName.CanFocus = true; this.dataentryName.Name = "dataentryName"; this.dataentryName.IsEditable = true; this.dataentryName.InvisibleChar = '●'; this.datatable1.Add(this.dataentryName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1[this.dataentryName])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.spinPriceDaily = new global::Gamma.GtkWidgets.ySpinButton(0D, 9000000D, 1D); this.spinPriceDaily.CanFocus = true; this.spinPriceDaily.Name = "spinPriceDaily"; this.spinPriceDaily.Adjustment.PageIncrement = 10D; this.spinPriceDaily.ClimbRate = 1D; this.spinPriceDaily.Digits = ((uint)(2)); this.spinPriceDaily.Numeric = true; this.spinPriceDaily.ValueAsDecimal = 0m; this.spinPriceDaily.ValueAsInt = 0; this.hbox6.Add(this.spinPriceDaily); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.spinPriceDaily])); w7.Position = 0; // Container child hbox6.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.hbox6.Add(this.currencylabel1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.currencylabel1])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.datatable1.Add(this.hbox6); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1[this.hbox6])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.spinPriceMonthly = new global::Gamma.GtkWidgets.ySpinButton(0D, 9000000D, 1D); this.spinPriceMonthly.CanFocus = true; this.spinPriceMonthly.Name = "spinPriceMonthly"; this.spinPriceMonthly.Adjustment.PageIncrement = 10D; this.spinPriceMonthly.ClimbRate = 1D; this.spinPriceMonthly.Digits = ((uint)(2)); this.spinPriceMonthly.Numeric = true; this.spinPriceMonthly.ValueAsDecimal = 0m; this.spinPriceMonthly.ValueAsInt = 0; this.hbox7.Add(this.spinPriceMonthly); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.spinPriceMonthly])); w10.Position = 0; // Container child hbox7.Gtk.Box+BoxChild this.currencylabel2 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel2.Name = "currencylabel2"; this.currencylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.hbox7.Add(this.currencylabel2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.currencylabel2])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.datatable1.Add(this.hbox7); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1[this.hbox7])); w12.TopAttach = ((uint)(3)); w12.BottomAttach = ((uint)(4)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.spinDeposit = new global::Gamma.GtkWidgets.ySpinButton(0D, 99999D, 1D); this.spinDeposit.CanFocus = true; this.spinDeposit.Name = "spinDeposit"; this.spinDeposit.Adjustment.PageIncrement = 10D; this.spinDeposit.ClimbRate = 1D; this.spinDeposit.Digits = ((uint)(2)); this.spinDeposit.Numeric = true; this.spinDeposit.ValueAsDecimal = 0m; this.spinDeposit.ValueAsInt = 0; this.hbox8.Add(this.spinDeposit); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.spinDeposit])); w13.Position = 0; // Container child hbox8.Gtk.Box+BoxChild this.currencylabel3 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel3.Name = "currencylabel3"; this.currencylabel3.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.hbox8.Add(this.currencylabel3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.currencylabel3])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.datatable1.Add(this.hbox8); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable1[this.hbox8])); w15.TopAttach = ((uint)(6)); w15.BottomAttach = ((uint)(7)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.datatable1.Add(this.label1); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label1])); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Услуга посуточной \nаренды:"); this.label3.Justify = ((global::Gtk.Justification)(1)); this.datatable1.Add(this.label3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label3])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Стоимость (месяц):"); this.datatable1.Add(this.label4); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label4])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Услуга залога:"); this.datatable1.Add(this.label5); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label5])); w19.TopAttach = ((uint)(7)); w19.BottomAttach = ((uint)(8)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Стоимость (сутки):"); this.datatable1.Add(this.label6); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label6])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Тип оборудования:"); this.datatable1.Add(this.label7); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label7])); w21.TopAttach = ((uint)(5)); w21.BottomAttach = ((uint)(6)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Услуга долгосрочной\nаренды:"); this.label8.Justify = ((global::Gtk.Justification)(1)); this.datatable1.Add(this.label8); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label8])); w22.TopAttach = ((uint)(4)); w22.BottomAttach = ((uint)(5)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Сумма залога:"); this.datatable1.Add(this.label9); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label9])); w23.TopAttach = ((uint)(6)); w23.BottomAttach = ((uint)(7)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceDepositService = new global::Gamma.Widgets.yEntryReference(); this.referenceDepositService.Events = ((global::Gdk.EventMask)(256)); this.referenceDepositService.Name = "referenceDepositService"; this.datatable1.Add(this.referenceDepositService); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referenceDepositService])); w24.TopAttach = ((uint)(7)); w24.BottomAttach = ((uint)(8)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceEquipmentType = new global::Gamma.Widgets.yEntryReference(); this.referenceEquipmentType.Events = ((global::Gdk.EventMask)(256)); this.referenceEquipmentType.Name = "referenceEquipmentType"; this.datatable1.Add(this.referenceEquipmentType); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referenceEquipmentType])); w25.TopAttach = ((uint)(5)); w25.BottomAttach = ((uint)(6)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceRentServiceDaily = new global::Gamma.Widgets.yEntryReference(); this.referenceRentServiceDaily.Events = ((global::Gdk.EventMask)(256)); this.referenceRentServiceDaily.Name = "referenceRentServiceDaily"; this.datatable1.Add(this.referenceRentServiceDaily); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referenceRentServiceDaily])); w26.TopAttach = ((uint)(2)); w26.BottomAttach = ((uint)(3)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceRentServiceMonthly = new global::Gamma.Widgets.yEntryReference(); this.referenceRentServiceMonthly.Events = ((global::Gdk.EventMask)(256)); this.referenceRentServiceMonthly.Name = "referenceRentServiceMonthly"; this.datatable1.Add(this.referenceRentServiceMonthly); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referenceRentServiceMonthly])); w27.TopAttach = ((uint)(4)); w27.BottomAttach = ((uint)(5)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.datatable1); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.datatable1])); w28.Position = 1; w28.Expand = false; w28.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.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.Views.Cash.CashlessRequestView global::Stetic.BinContainer.Attach(this); this.WidthRequest = 450; this.Name = "Vodovoz.Views.Cash.CashlessRequestView"; // Container child Vodovoz.Views.Cash.CashlessRequestView.Gtk.Container+ContainerChild this.vboxDialog = new global::Gtk.VBox(); this.vboxDialog.Name = "vboxDialog"; this.vboxDialog.Spacing = 6; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxDialogHeader = new global::Gtk.HBox(); this.hboxDialogHeader.Name = "hboxDialogHeader"; this.hboxDialogHeader.Spacing = 6; // Container child hboxDialogHeader.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.hboxDialogHeader.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogHeader[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxDialogHeader.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.hboxDialogHeader.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogHeader[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hboxDialogHeader.Gtk.Box+BoxChild this.labelRoleTitle = new global::Gamma.GtkWidgets.yLabel(); this.labelRoleTitle.Name = "labelRoleTitle"; this.labelRoleTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Роль:"); this.hboxDialogHeader.Add(this.labelRoleTitle); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxDialogHeader[this.labelRoleTitle])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child hboxDialogHeader.Gtk.Box+BoxChild this.comboRoleChooser = new global::Gamma.Widgets.yListComboBox(); this.comboRoleChooser.Name = "comboRoleChooser"; this.comboRoleChooser.AddIfNotExist = false; this.comboRoleChooser.DefaultFirst = false; this.hboxDialogHeader.Add(this.comboRoleChooser); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hboxDialogHeader[this.comboRoleChooser])); w6.Position = 3; w6.Expand = false; w6.Fill = false; // Container child hboxDialogHeader.Gtk.Box+BoxChild this.labelStatusTitle = new global::Gamma.GtkWidgets.yLabel(); this.labelStatusTitle.Name = "labelStatusTitle"; this.labelStatusTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Статус заявки:"); this.hboxDialogHeader.Add(this.labelStatusTitle); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxDialogHeader[this.labelStatusTitle])); w7.Position = 4; w7.Expand = false; w7.Fill = false; // Container child hboxDialogHeader.Gtk.Box+BoxChild this.labelStatus = new global::Gamma.GtkWidgets.yLabel(); this.labelStatus.Name = "labelStatus"; this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("."); this.hboxDialogHeader.Add(this.labelStatus); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hboxDialogHeader[this.labelStatus])); w8.Position = 5; w8.Expand = false; w8.Fill = false; this.vboxDialog.Add(this.hboxDialogHeader); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxDialogHeader])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.scrolledMain = new global::Gtk.ScrolledWindow(); this.scrolledMain.CanFocus = true; this.scrolledMain.Name = "scrolledMain"; this.scrolledMain.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledMain.Gtk.Container+ContainerChild global::Gtk.Viewport w10 = new global::Gtk.Viewport(); w10.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.tableMain = new global::Gtk.Table(((uint)(16)), ((uint)(2)), false); this.tableMain.Name = "tableMain"; this.tableMain.RowSpacing = ((uint)(6)); this.tableMain.ColumnSpacing = ((uint)(6)); this.tableMain.BorderWidth = ((uint)(10)); // Container child tableMain.Gtk.Table+TableChild this.alignmentFiles = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignmentFiles.WidthRequest = 400; this.alignmentFiles.HeightRequest = 100; this.alignmentFiles.Name = "alignmentFiles"; // Container child alignmentFiles.Gtk.Container+ContainerChild this.filesView = new global::Vodovoz.Views.Cash.CashlessRequestFilesView(); this.filesView.Events = ((global::Gdk.EventMask)(256)); this.filesView.Name = "filesView"; this.alignmentFiles.Add(this.filesView); this.tableMain.Add(this.alignmentFiles); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableMain[this.alignmentFiles])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(0)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.checkNotToReconcile = new global::Gamma.GtkWidgets.yCheckButton(); this.checkNotToReconcile.WidthRequest = 400; this.checkNotToReconcile.CanFocus = true; this.checkNotToReconcile.Name = "checkNotToReconcile"; this.checkNotToReconcile.Label = global::Mono.Unix.Catalog.GetString("Утвердить возможность не пересогласовывать оплаты"); this.checkNotToReconcile.DrawIndicator = true; this.checkNotToReconcile.UseUnderline = true; this.checkNotToReconcile.FocusOnClick = false; this.checkNotToReconcile.Xalign = 0F; this.checkNotToReconcile.Yalign = 0F; this.tableMain.Add(this.checkNotToReconcile); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableMain[this.checkNotToReconcile])); w13.TopAttach = ((uint)(7)); w13.BottomAttach = ((uint)(8)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(0)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.comboOrganisation = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.comboOrganisation.WidthRequest = 400; this.comboOrganisation.Name = "comboOrganisation"; this.comboOrganisation.AddIfNotExist = false; this.comboOrganisation.DefaultFirst = false; this.comboOrganisation.ShowSpecialStateAll = false; this.comboOrganisation.ShowSpecialStateNot = false; this.tableMain.Add(this.comboOrganisation); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableMain[this.comboOrganisation])); w14.TopAttach = ((uint)(9)); w14.BottomAttach = ((uint)(10)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(0)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.eventBoxCancelReason = new global::Gamma.GtkWidgets.yEventBox(); this.eventBoxCancelReason.Name = "eventBoxCancelReason"; // Container child eventBoxCancelReason.Gtk.Container+ContainerChild this.scrollCancelReason = new global::Gtk.ScrolledWindow(); this.scrollCancelReason.WidthRequest = 400; this.scrollCancelReason.HeightRequest = 65; this.scrollCancelReason.Name = "scrollCancelReason"; this.scrollCancelReason.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrollCancelReason.Gtk.Container+ContainerChild this.entryCancelReason = new global::Gamma.GtkWidgets.yTextView(); this.entryCancelReason.CanFocus = true; this.entryCancelReason.Name = "entryCancelReason"; this.entryCancelReason.WrapMode = ((global::Gtk.WrapMode)(3)); this.scrollCancelReason.Add(this.entryCancelReason); this.eventBoxCancelReason.Add(this.scrollCancelReason); this.tableMain.Add(this.eventBoxCancelReason); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableMain[this.eventBoxCancelReason])); w17.TopAttach = ((uint)(13)); w17.BottomAttach = ((uint)(14)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.eventBoxOrganisationSeparator = new global::Gamma.GtkWidgets.yEventBox(); this.eventBoxOrganisationSeparator.Name = "eventBoxOrganisationSeparator"; // Container child eventBoxOrganisationSeparator.Gtk.Container+ContainerChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.eventBoxOrganisationSeparator.Add(this.hseparator1); this.tableMain.Add(this.eventBoxOrganisationSeparator); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableMain[this.eventBoxOrganisationSeparator])); w19.TopAttach = ((uint)(8)); w19.BottomAttach = ((uint)(9)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.eventBoxReasonsSeparator = new global::Gamma.GtkWidgets.yEventBox(); this.eventBoxReasonsSeparator.Name = "eventBoxReasonsSeparator"; // Container child eventBoxReasonsSeparator.Gtk.Container+ContainerChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.eventBoxReasonsSeparator.Add(this.hseparator2); this.tableMain.Add(this.eventBoxReasonsSeparator); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableMain[this.eventBoxReasonsSeparator])); w21.TopAttach = ((uint)(11)); w21.BottomAttach = ((uint)(12)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.eventBoxWhySentToReapproval = new global::Gamma.GtkWidgets.yEventBox(); this.eventBoxWhySentToReapproval.Name = "eventBoxWhySentToReapproval"; // Container child eventBoxWhySentToReapproval.Gtk.Container+ContainerChild this.scrollWhySentToReapproval = new global::Gtk.ScrolledWindow(); this.scrollWhySentToReapproval.WidthRequest = 400; this.scrollWhySentToReapproval.HeightRequest = 65; this.scrollWhySentToReapproval.Name = "scrollWhySentToReapproval"; this.scrollWhySentToReapproval.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrollWhySentToReapproval.Gtk.Container+ContainerChild this.entryWhySentToReapproval = new global::Gamma.GtkWidgets.yTextView(); this.entryWhySentToReapproval.CanFocus = true; this.entryWhySentToReapproval.Name = "entryWhySentToReapproval"; this.entryWhySentToReapproval.WrapMode = ((global::Gtk.WrapMode)(3)); this.scrollWhySentToReapproval.Add(this.entryWhySentToReapproval); this.eventBoxWhySentToReapproval.Add(this.scrollWhySentToReapproval); this.tableMain.Add(this.eventBoxWhySentToReapproval); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tableMain[this.eventBoxWhySentToReapproval])); w24.TopAttach = ((uint)(12)); w24.BottomAttach = ((uint)(13)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.evmeAuthor = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeAuthor.WidthRequest = 400; this.evmeAuthor.Events = ((global::Gdk.EventMask)(256)); this.evmeAuthor.Name = "evmeAuthor"; this.evmeAuthor.CanEditReference = false; this.tableMain.Add(this.evmeAuthor); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tableMain[this.evmeAuthor])); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(0)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.evmeCounterparty = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeCounterparty.WidthRequest = 400; this.evmeCounterparty.Events = ((global::Gdk.EventMask)(256)); this.evmeCounterparty.Name = "evmeCounterparty"; this.evmeCounterparty.CanEditReference = false; this.tableMain.Add(this.evmeCounterparty); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.tableMain[this.evmeCounterparty])); w26.TopAttach = ((uint)(2)); w26.BottomAttach = ((uint)(3)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(0)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.evmeExpenceCategory = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeExpenceCategory.WidthRequest = 400; this.evmeExpenceCategory.Events = ((global::Gdk.EventMask)(256)); this.evmeExpenceCategory.Name = "evmeExpenceCategory"; this.evmeExpenceCategory.CanEditReference = false; this.tableMain.Add(this.evmeExpenceCategory); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.tableMain[this.evmeExpenceCategory])); w27.TopAttach = ((uint)(10)); w27.BottomAttach = ((uint)(11)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(0)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.evmeSubdivision = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeSubdivision.WidthRequest = 400; this.evmeSubdivision.Events = ((global::Gdk.EventMask)(256)); this.evmeSubdivision.Name = "evmeSubdivision"; this.evmeSubdivision.CanEditReference = false; this.tableMain.Add(this.evmeSubdivision); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tableMain[this.evmeSubdivision])); w28.TopAttach = ((uint)(1)); w28.BottomAttach = ((uint)(2)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.XOptions = ((global::Gtk.AttachOptions)(0)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // 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.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.vbox3.Add(this.btnCancel); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.btnCancel])); w29.Position = 0; w29.Expand = false; w29.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.btnReapprove = new global::Gamma.GtkWidgets.yButton(); this.btnReapprove.CanFocus = true; this.btnReapprove.Name = "btnReapprove"; this.btnReapprove.UseUnderline = true; this.btnReapprove.Label = global::Mono.Unix.Catalog.GetString("Отправить на пересогласование"); this.vbox3.Add(this.btnReapprove); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.btnReapprove])); w30.Position = 1; w30.Expand = false; w30.Fill = false; this.hbox5.Add(this.vbox3); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox3])); w31.Position = 0; w31.Expand = false; w31.Fill = false; this.tableMain.Add(this.hbox5); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.tableMain[this.hbox5])); w32.TopAttach = ((uint)(15)); w32.BottomAttach = ((uint)(16)); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.buttonPayout = new global::Gamma.GtkWidgets.yButton(); this.buttonPayout.CanFocus = true; this.buttonPayout.Name = "buttonPayout"; this.buttonPayout.UseUnderline = true; this.buttonPayout.Label = global::Mono.Unix.Catalog.GetString("Оплатить"); this.vbox2.Add(this.buttonPayout); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.buttonPayout])); w33.Position = 0; w33.Expand = false; w33.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.btnConveyForPayout = new global::Gamma.GtkWidgets.yButton(); this.btnConveyForPayout.CanFocus = true; this.btnConveyForPayout.Name = "btnConveyForPayout"; this.btnConveyForPayout.UseUnderline = true; this.btnConveyForPayout.Label = global::Mono.Unix.Catalog.GetString("Передать на выдачу"); this.vbox2.Add(this.btnConveyForPayout); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.btnConveyForPayout])); w34.Position = 1; w34.Expand = false; w34.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.btnAccept = new global::Gamma.GtkWidgets.yButton(); this.btnAccept.CanFocus = true; this.btnAccept.Name = "btnAccept"; this.btnAccept.UseUnderline = true; this.btnAccept.Label = global::Mono.Unix.Catalog.GetString("Подтвердить"); this.vbox2.Add(this.btnAccept); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.btnAccept])); w35.Position = 2; w35.Expand = false; w35.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.btnApprove = new global::Gamma.GtkWidgets.yButton(); this.btnApprove.CanFocus = true; this.btnApprove.Name = "btnApprove"; this.btnApprove.UseUnderline = true; this.btnApprove.Label = global::Mono.Unix.Catalog.GetString("Согласовать"); this.vbox2.Add(this.btnApprove); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.btnApprove])); w36.Position = 3; w36.Expand = false; w36.Fill = false; this.hbox6.Add(this.vbox2); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.vbox2])); w37.PackType = ((global::Gtk.PackType)(1)); w37.Position = 0; w37.Expand = false; w37.Fill = false; this.tableMain.Add(this.hbox6); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.tableMain[this.hbox6])); w38.TopAttach = ((uint)(15)); w38.BottomAttach = ((uint)(16)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.hseparator3 = new global::Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.tableMain.Add(this.hseparator3); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.tableMain[this.hseparator3])); w39.TopAttach = ((uint)(14)); w39.BottomAttach = ((uint)(15)); w39.RightAttach = ((uint)(2)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.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.tableMain.Add(this.labelAuthor); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelAuthor])); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.labelBasis = new global::Gamma.GtkWidgets.yLabel(); this.labelBasis.Name = "labelBasis"; this.labelBasis.Xalign = 1F; this.labelBasis.Yalign = 0F; this.labelBasis.LabelProp = global::Mono.Unix.Catalog.GetString("Основание:"); this.tableMain.Add(this.labelBasis); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelBasis])); w41.TopAttach = ((uint)(5)); w41.BottomAttach = ((uint)(6)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.labelCancelReason = new global::Gamma.GtkWidgets.yLabel(); this.labelCancelReason.Name = "labelCancelReason"; this.labelCancelReason.Xalign = 1F; this.labelCancelReason.Yalign = 0F; this.labelCancelReason.LabelProp = global::Mono.Unix.Catalog.GetString("Причина отмены:"); this.tableMain.Add(this.labelCancelReason); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelCancelReason])); w42.TopAttach = ((uint)(13)); w42.BottomAttach = ((uint)(14)); w42.XOptions = ((global::Gtk.AttachOptions)(4)); w42.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.labelComboOrganization = new global::Gamma.GtkWidgets.yLabel(); this.labelComboOrganization.Name = "labelComboOrganization"; this.labelComboOrganization.Xalign = 1F; this.labelComboOrganization.LabelProp = global::Mono.Unix.Catalog.GetString("Наша организация:"); this.tableMain.Add(this.labelComboOrganization); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelComboOrganization])); w43.TopAttach = ((uint)(9)); w43.BottomAttach = ((uint)(10)); w43.XOptions = ((global::Gtk.AttachOptions)(4)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.labelCounterparty = new global::Gamma.GtkWidgets.yLabel(); this.labelCounterparty.Name = "labelCounterparty"; this.labelCounterparty.Xalign = 1F; this.labelCounterparty.LabelProp = global::Mono.Unix.Catalog.GetString("Поставщик:"); this.tableMain.Add(this.labelCounterparty); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelCounterparty])); w44.TopAttach = ((uint)(2)); w44.BottomAttach = ((uint)(3)); w44.XOptions = ((global::Gtk.AttachOptions)(4)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.labelExpenceCategory = new global::Gamma.GtkWidgets.yLabel(); this.labelExpenceCategory.Name = "labelExpenceCategory"; this.labelExpenceCategory.Xalign = 1F; this.labelExpenceCategory.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.tableMain.Add(this.labelExpenceCategory); global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelExpenceCategory])); w45.TopAttach = ((uint)(10)); w45.BottomAttach = ((uint)(11)); w45.XOptions = ((global::Gtk.AttachOptions)(4)); w45.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.labelExplanation = new global::Gamma.GtkWidgets.yLabel(); this.labelExplanation.Name = "labelExplanation"; this.labelExplanation.Xalign = 1F; this.labelExplanation.Yalign = 0F; this.labelExplanation.LabelProp = global::Mono.Unix.Catalog.GetString("Пояснение:"); this.tableMain.Add(this.labelExplanation); global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelExplanation])); w46.TopAttach = ((uint)(6)); w46.BottomAttach = ((uint)(7)); w46.XOptions = ((global::Gtk.AttachOptions)(4)); w46.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.labelFiles = new global::Gamma.GtkWidgets.yLabel(); this.labelFiles.Name = "labelFiles"; this.labelFiles.Xalign = 1F; this.labelFiles.Yalign = 0F; this.labelFiles.LabelProp = global::Mono.Unix.Catalog.GetString("Файлы:"); this.tableMain.Add(this.labelFiles); global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelFiles])); w47.TopAttach = ((uint)(4)); w47.BottomAttach = ((uint)(5)); w47.XOptions = ((global::Gtk.AttachOptions)(4)); w47.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.labelSubdivision = new global::Gtk.Label(); this.labelSubdivision.Name = "labelSubdivision"; this.labelSubdivision.Xalign = 1F; this.labelSubdivision.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение:"); this.tableMain.Add(this.labelSubdivision); global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelSubdivision])); w48.TopAttach = ((uint)(1)); w48.BottomAttach = ((uint)(2)); w48.XOptions = ((global::Gtk.AttachOptions)(4)); w48.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.labelSum = new global::Gamma.GtkWidgets.yLabel(); this.labelSum.Name = "labelSum"; this.labelSum.Xalign = 1F; this.labelSum.LabelProp = global::Mono.Unix.Catalog.GetString("Сумма:"); this.tableMain.Add(this.labelSum); global::Gtk.Table.TableChild w49 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelSum])); w49.TopAttach = ((uint)(3)); w49.BottomAttach = ((uint)(4)); w49.XOptions = ((global::Gtk.AttachOptions)(4)); w49.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.labelWhySentToReapproval = new global::Gamma.GtkWidgets.yLabel(); this.labelWhySentToReapproval.Name = "labelWhySentToReapproval"; this.labelWhySentToReapproval.Xalign = 1F; this.labelWhySentToReapproval.Yalign = 0F; this.labelWhySentToReapproval.LabelProp = global::Mono.Unix.Catalog.GetString("Причина отправки\nна пересогласование:\n"); this.tableMain.Add(this.labelWhySentToReapproval); global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelWhySentToReapproval])); w50.TopAttach = ((uint)(12)); w50.BottomAttach = ((uint)(13)); w50.XOptions = ((global::Gtk.AttachOptions)(4)); w50.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.scrollBasis = new global::Gtk.ScrolledWindow(); this.scrollBasis.WidthRequest = 400; this.scrollBasis.HeightRequest = 65; this.scrollBasis.Name = "scrollBasis"; this.scrollBasis.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrollBasis.Gtk.Container+ContainerChild this.entryBasis = new global::Gamma.GtkWidgets.yTextView(); this.entryBasis.CanFocus = true; this.entryBasis.Name = "entryBasis"; this.entryBasis.WrapMode = ((global::Gtk.WrapMode)(3)); this.scrollBasis.Add(this.entryBasis); this.tableMain.Add(this.scrollBasis); global::Gtk.Table.TableChild w52 = ((global::Gtk.Table.TableChild)(this.tableMain[this.scrollBasis])); w52.TopAttach = ((uint)(5)); w52.BottomAttach = ((uint)(6)); w52.LeftAttach = ((uint)(1)); w52.RightAttach = ((uint)(2)); w52.XOptions = ((global::Gtk.AttachOptions)(0)); w52.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.scrollExplanation = new global::Gtk.ScrolledWindow(); this.scrollExplanation.WidthRequest = 400; this.scrollExplanation.HeightRequest = 65; this.scrollExplanation.Name = "scrollExplanation"; this.scrollExplanation.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrollExplanation.Gtk.Container+ContainerChild this.entryExplanation = new global::Gamma.GtkWidgets.yTextView(); this.entryExplanation.CanFocus = true; this.entryExplanation.Name = "entryExplanation"; this.entryExplanation.WrapMode = ((global::Gtk.WrapMode)(3)); this.scrollExplanation.Add(this.entryExplanation); this.tableMain.Add(this.scrollExplanation); global::Gtk.Table.TableChild w54 = ((global::Gtk.Table.TableChild)(this.tableMain[this.scrollExplanation])); w54.TopAttach = ((uint)(6)); w54.BottomAttach = ((uint)(7)); w54.LeftAttach = ((uint)(1)); w54.RightAttach = ((uint)(2)); w54.XOptions = ((global::Gtk.AttachOptions)(0)); w54.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.yhboxSum = new global::Gamma.GtkWidgets.yHBox(); this.yhboxSum.WidthRequest = 400; this.yhboxSum.Name = "yhboxSum"; this.yhboxSum.Spacing = 6; // Container child yhboxSum.Gtk.Box+BoxChild this.spinSum = new global::Gamma.GtkWidgets.ySpinButton(0D, 2147483647D, 100D); this.spinSum.WidthRequest = 190; this.spinSum.CanFocus = true; this.spinSum.Name = "spinSum"; this.spinSum.Adjustment.PageIncrement = 1000D; this.spinSum.ClimbRate = 1D; this.spinSum.Digits = ((uint)(2)); this.spinSum.Numeric = true; this.spinSum.ValueAsDecimal = 0m; this.spinSum.ValueAsInt = 0; this.yhboxSum.Add(this.spinSum); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.yhboxSum[this.spinSum])); w55.Position = 0; w55.Expand = false; w55.Fill = false; // Container child yhboxSum.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.yhboxSum.Add(this.currencylabel1); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.yhboxSum[this.currencylabel1])); w56.Position = 1; w56.Expand = false; w56.Fill = false; this.tableMain.Add(this.yhboxSum); global::Gtk.Table.TableChild w57 = ((global::Gtk.Table.TableChild)(this.tableMain[this.yhboxSum])); w57.TopAttach = ((uint)(3)); w57.BottomAttach = ((uint)(4)); w57.LeftAttach = ((uint)(1)); w57.RightAttach = ((uint)(2)); w57.XOptions = ((global::Gtk.AttachOptions)(0)); w57.YOptions = ((global::Gtk.AttachOptions)(4)); w10.Add(this.tableMain); this.scrolledMain.Add(w10); this.vboxDialog.Add(this.scrolledMain); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.scrolledMain])); w60.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.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.CashIncomeDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.CashIncomeDlg"; // Container child Vodovoz.CashIncomeDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox2.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox2.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonPrint = new global::Gtk.Button(); this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w5; this.hbox2.Add(this.buttonPrint); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonPrint])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(7)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checkNoClose = new global::Gamma.GtkWidgets.yCheckButton(); this.checkNoClose.CanFocus = true; this.checkNoClose.Name = "checkNoClose"; this.checkNoClose.Label = global::Mono.Unix.Catalog.GetString("Частичный возврат"); this.checkNoClose.DrawIndicator = true; this.checkNoClose.UseUnderline = true; this.table1.Add(this.checkNoClose); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.checkNoClose])); w8.TopAttach = ((uint)(5)); w8.BottomAttach = ((uint)(6)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboCategory = new global::Gamma.Widgets.ySpecComboBox(); this.comboCategory.Name = "comboCategory"; this.comboCategory.AddIfNotExist = false; this.comboCategory.DefaultFirst = false; this.comboCategory.ShowSpecialStateAll = false; this.comboCategory.ShowSpecialStateNot = true; this.table1.Add(this.comboCategory); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.comboCategory])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboExpense = new global::Gamma.Widgets.ySpecComboBox(); this.comboExpense.Name = "comboExpense"; this.comboExpense.AddIfNotExist = false; this.comboExpense.DefaultFirst = false; this.comboExpense.ShowSpecialStateAll = false; this.comboExpense.ShowSpecialStateNot = true; this.table1.Add(this.comboExpense); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.comboExpense])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumcomboOperation = new global::Gamma.Widgets.yEnumComboBox(); this.enumcomboOperation.Name = "enumcomboOperation"; this.enumcomboOperation.ShowSpecialStateAll = false; this.enumcomboOperation.ShowSpecialStateNot = false; this.enumcomboOperation.UseShortTitle = false; this.enumcomboOperation.DefaultFirst = false; this.table1.Add(this.enumcomboOperation); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.enumcomboOperation])); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.yspinMoney = new global::Gamma.GtkWidgets.ySpinButton(0, 1000000, 100); this.yspinMoney.CanDefault = true; this.yspinMoney.CanFocus = true; this.yspinMoney.Name = "yspinMoney"; this.yspinMoney.Adjustment.PageIncrement = 1000; this.yspinMoney.ClimbRate = 1; this.yspinMoney.Digits = ((uint)(2)); this.yspinMoney.Numeric = true; this.yspinMoney.ValueAsDecimal = 0m; this.yspinMoney.ValueAsInt = 0; this.hbox6.Add(this.yspinMoney); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspinMoney])); w12.Position = 0; // Container child hbox6.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.hbox6.Add(this.currencylabel1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.currencylabel1])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.table1.Add(this.hbox6); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox6])); w14.TopAttach = ((uint)(6)); w14.BottomAttach = ((uint)(7)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Кассир:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w16.LeftAttach = ((uint)(2)); w16.RightAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Тип операции:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Сумма:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w18.TopAttach = ((uint)(6)); w18.BottomAttach = ((uint)(7)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelClientTitle = new global::Gtk.Label(); this.labelClientTitle.Name = "labelClientTitle"; this.labelClientTitle.Xalign = 1F; this.labelClientTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Клиент:"); this.table1.Add(this.labelClientTitle); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.labelClientTitle])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelEmploeey = new global::Gtk.Label(); this.labelEmploeey.Name = "labelEmploeey"; this.labelEmploeey.Xalign = 1F; this.labelEmploeey.LabelProp = global::Mono.Unix.Catalog.GetString("Сотрудник:"); this.table1.Add(this.labelEmploeey); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.labelEmploeey])); w20.TopAttach = ((uint)(4)); w20.BottomAttach = ((uint)(5)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelExpenseTitle = new global::Gtk.Label(); this.labelExpenseTitle.Name = "labelExpenseTitle"; this.labelExpenseTitle.Xalign = 1F; this.labelExpenseTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.table1.Add(this.labelExpenseTitle); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.labelExpenseTitle])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelIncomeTitle = new global::Gtk.Label(); this.labelIncomeTitle.Name = "labelIncomeTitle"; this.labelIncomeTitle.Xalign = 1F; this.labelIncomeTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Статья дохода:"); this.table1.Add(this.labelIncomeTitle); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.labelIncomeTitle])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydateDocument = new global::Gamma.Widgets.yDatePicker(); this.ydateDocument.Events = ((global::Gdk.EventMask)(256)); this.ydateDocument.Name = "ydateDocument"; this.ydateDocument.WithTime = false; this.ydateDocument.Date = new global::System.DateTime(0); this.ydateDocument.IsEditable = true; this.ydateDocument.AutoSeparation = true; this.table1.Add(this.ydateDocument); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateDocument])); w23.TopAttach = ((uint)(1)); w23.BottomAttach = ((uint)(2)); w23.LeftAttach = ((uint)(3)); w23.RightAttach = ((uint)(4)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryCasher = new global::Gamma.Widgets.yEntryReference(); this.yentryCasher.Sensitive = false; this.yentryCasher.Events = ((global::Gdk.EventMask)(256)); this.yentryCasher.Name = "yentryCasher"; this.table1.Add(this.yentryCasher); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryCasher])); w24.LeftAttach = ((uint)(3)); w24.RightAttach = ((uint)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryClient = new global::Gamma.Widgets.yEntryReference(); this.yentryClient.Events = ((global::Gdk.EventMask)(256)); this.yentryClient.Name = "yentryClient"; this.table1.Add(this.yentryClient); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryClient])); w25.TopAttach = ((uint)(3)); w25.BottomAttach = ((uint)(4)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryEmploeey = new global::Gamma.Widgets.yEntryReference(); this.yentryEmploeey.Events = ((global::Gdk.EventMask)(256)); this.yentryEmploeey.Name = "yentryEmploeey"; this.table1.Add(this.yentryEmploeey); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryEmploeey])); w26.TopAttach = ((uint)(4)); w26.BottomAttach = ((uint)(5)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w27.Position = 1; w27.Expand = false; w27.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vboxDebts = new global::Gtk.VBox(); this.vboxDebts.Name = "vboxDebts"; this.vboxDebts.Spacing = 6; this.vboxDebts.BorderWidth = ((uint)(6)); // Container child vboxDebts.Gtk.Box+BoxChild this.labelTableTitle = new global::Gtk.Label(); this.labelTableTitle.Name = "labelTableTitle"; this.labelTableTitle.Xalign = 0F; this.labelTableTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Последние выданные авансы:"); this.vboxDebts.Add(this.labelTableTitle); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vboxDebts[this.labelTableTitle])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child vboxDebts.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeviewDebts = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewDebts.CanFocus = true; this.ytreeviewDebts.Name = "ytreeviewDebts"; this.GtkScrolledWindow1.Add(this.ytreeviewDebts); this.vboxDebts.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vboxDebts[this.GtkScrolledWindow1])); w30.Position = 1; this.vbox1.Add(this.vboxDebts); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vboxDebts])); w31.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Основание:"); this.vbox1.Add(this.label6); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label6])); w32.Position = 3; w32.Expand = false; w32.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewDescription = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewDescription.CanFocus = true; this.ytextviewDescription.Name = "ytextviewDescription"; this.ytextviewDescription.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add(this.ytextviewDescription); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w34.Position = 4; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.comboExpense.Hide(); this.labelExpenseTitle.Hide(); this.vboxDebts.Hide(); this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.buttonPrint.Clicked += new global::System.EventHandler(this.OnButtonPrintClicked); this.yentryEmploeey.Changed += new global::System.EventHandler(this.OnYentryEmploeeyChanged); this.enumcomboOperation.EnumItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnEnumcomboOperationEnumItemSelected); this.comboExpense.ItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnComboExpenseItemSelected); this.checkNoClose.Toggled += new global::System.EventHandler(this.OnCheckNoCloseToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Employees.PremiumView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Employees.PremiumView"; // Container child Vodovoz.Views.Employees.PremiumView.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.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.vbox3.Add(this.hbox5); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox5])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.tablePremium = new global::Gtk.Table(((uint)(3)), ((uint)(4)), false); this.tablePremium.Name = "tablePremium"; this.tablePremium.RowSpacing = ((uint)(6)); this.tablePremium.ColumnSpacing = ((uint)(6)); // Container child tablePremium.Gtk.Table+TableChild this.employeeViewModelEntry = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.employeeViewModelEntry.Events = ((global::Gdk.EventMask)(256)); this.employeeViewModelEntry.Name = "employeeViewModelEntry"; this.employeeViewModelEntry.CanEditReference = true; this.tablePremium.Add(this.employeeViewModelEntry); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.employeeViewModelEntry])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(4)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePremium.Gtk.Table+TableChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.yspinMoney = new global::Gamma.GtkWidgets.ySpinButton(0D, 100000D, 1D); this.yspinMoney.CanFocus = true; this.yspinMoney.Name = "yspinMoney"; this.yspinMoney.Adjustment.PageIncrement = 100D; this.yspinMoney.ClimbRate = 1D; this.yspinMoney.Digits = ((uint)(2)); this.yspinMoney.Numeric = true; this.yspinMoney.ValueAsDecimal = 0m; this.yspinMoney.ValueAsInt = 0; this.hbox2.Add(this.yspinMoney); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.yspinMoney])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = "currencylabel1"; this.hbox2.Add(this.currencylabel1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.currencylabel1])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonDivideAtAll = new global::Gtk.Button(); this.buttonDivideAtAll.CanFocus = true; this.buttonDivideAtAll.Name = "buttonDivideAtAll"; this.buttonDivideAtAll.UseUnderline = true; this.buttonDivideAtAll.Label = global::Mono.Unix.Catalog.GetString("Разбить на всех"); this.hbox2.Add(this.buttonDivideAtAll); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonDivideAtAll])); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.tablePremium.Add(this.hbox2); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.hbox2])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(3)); w10.RightAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePremium.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.yentryPremiumReasonString = new global::Gamma.GtkWidgets.yEntry(); this.yentryPremiumReasonString.CanFocus = true; this.yentryPremiumReasonString.Name = "yentryPremiumReasonString"; this.yentryPremiumReasonString.IsEditable = true; this.yentryPremiumReasonString.InvisibleChar = '●'; this.hbox4.Add(this.yentryPremiumReasonString); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.yentryPremiumReasonString])); w11.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.buttonGetReasonFromTemplate = new global::Gtk.Button(); this.buttonGetReasonFromTemplate.CanFocus = true; this.buttonGetReasonFromTemplate.Name = "buttonGetReasonFromTemplate"; this.buttonGetReasonFromTemplate.UseUnderline = true; this.buttonGetReasonFromTemplate.Label = global::Mono.Unix.Catalog.GetString("Заполнить из шаблона"); this.hbox4.Add(this.buttonGetReasonFromTemplate); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonGetReasonFromTemplate])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.tablePremium.Add(this.hbox4); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.hbox4])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePremium.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.tablePremium.Add(this.label1); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.label1])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePremium.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.tablePremium.Add(this.label3); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.label3])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePremium.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.tablePremium.Add(this.label4); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.label4])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.LeftAttach = ((uint)(2)); w16.RightAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePremium.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.tablePremium.Add(this.label7); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.label7])); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePremium.Gtk.Table+TableChild this.ylabelDate = new global::Gamma.GtkWidgets.yLabel(); this.ylabelDate.Name = "ylabelDate"; this.ylabelDate.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.tablePremium.Add(this.ylabelDate); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.ylabelDate])); 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)(4)); this.vbox3.Add(this.tablePremium); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.tablePremium])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Премированные сотрудники:"); this.vbox3.Add(this.label2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.label2])); w20.Position = 2; w20.Expand = false; w20.Fill = false; // Container child vbox3.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.ytreeviewItems = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewItems.CanFocus = true; this.ytreeviewItems.Name = "ytreeviewItems"; this.GtkScrolledWindow.Add(this.ytreeviewItems); this.vbox3.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow])); w22.Position = 3; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.buttonAdd = new global::Gtk.Button(); this.buttonAdd.CanFocus = true; this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.UseUnderline = true; this.buttonAdd.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w23 = new global::Gtk.Image(); w23.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAdd.Image = w23; this.hbox3.Add(this.buttonAdd); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonAdd])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonRemove = new global::Gtk.Button(); this.buttonRemove.CanFocus = true; this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.UseUnderline = true; this.buttonRemove.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w25 = new global::Gtk.Image(); w25.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.buttonRemove.Image = w25; this.hbox3.Add(this.buttonRemove); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonRemove])); w26.Position = 1; w26.Expand = false; w26.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.ylabelTotal = new global::Gamma.GtkWidgets.yLabel(); this.ylabelTotal.Name = "ylabelTotal"; this.hbox3.Add(this.ylabelTotal); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.ylabelTotal])); w27.PackType = ((global::Gtk.PackType)(1)); w27.Position = 2; w27.Expand = false; w27.Fill = false; this.vbox3.Add(this.hbox3); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox3])); w28.Position = 4; w28.Expand = false; w28.Fill = false; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.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); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.FreeRentPackageDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.FreeRentPackageDlg"; // Container child Vodovoz.FreeRentPackageDlg.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox3.Add(this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.datatable1 = new global::Gtk.Table(((uint)(5)), ((uint)(2)), false); this.datatable1.Name = "datatable1"; this.datatable1.RowSpacing = ((uint)(6)); this.datatable1.ColumnSpacing = ((uint)(6)); this.datatable1.BorderWidth = ((uint)(6)); // Container child datatable1.Gtk.Table+TableChild this.dataentryName = new global::Gamma.GtkWidgets.yEntry(); this.dataentryName.CanFocus = true; this.dataentryName.Name = "dataentryName"; this.dataentryName.IsEditable = true; this.dataentryName.InvisibleChar = '●'; this.datatable1.Add(this.dataentryName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1[this.dataentryName])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.spinDeposit = new global::Gamma.GtkWidgets.ySpinButton(0D, 99999D, 1D); this.spinDeposit.CanFocus = true; this.spinDeposit.Name = "spinDeposit"; this.spinDeposit.Adjustment.PageIncrement = 10D; this.spinDeposit.ClimbRate = 1D; this.spinDeposit.Numeric = true; this.spinDeposit.ValueAsDecimal = 0m; this.spinDeposit.ValueAsInt = 0; this.hbox5.Add(this.spinDeposit); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.spinDeposit])); w7.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.currencylabel2 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel2.Name = "currencylabel2"; this.currencylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel2"); this.hbox5.Add(this.currencylabel2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.currencylabel2])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.datatable1.Add(this.hbox5); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1[this.hbox5])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Минимальное\nкол-во бутылей:"); this.label10.Justify = ((global::Gtk.Justification)(1)); this.datatable1.Add(this.label10); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label10])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.datatable1.Add(this.label11); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label11])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Услуга залога:"); this.datatable1.Add(this.label7); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label7])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Сумма залога:"); this.datatable1.Add(this.label8); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label8])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Вид оборудования:"); this.datatable1.Add(this.label9); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label9])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceDepositService = new global::Gamma.Widgets.yEntryReference(); this.referenceDepositService.Events = ((global::Gdk.EventMask)(256)); this.referenceDepositService.Name = "referenceDepositService"; this.datatable1.Add(this.referenceDepositService); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referenceDepositService])); w15.TopAttach = ((uint)(4)); w15.BottomAttach = ((uint)(5)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceEquipmentKind = new global::Gamma.Widgets.yEntryReference(); this.referenceEquipmentKind.Events = ((global::Gdk.EventMask)(256)); this.referenceEquipmentKind.Name = "referenceEquipmentKind"; this.datatable1.Add(this.referenceEquipmentKind); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referenceEquipmentKind])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.spinMinWaterAmount = new global::Gamma.GtkWidgets.ySpinButton(0D, 100D, 1D); this.spinMinWaterAmount.CanFocus = true; this.spinMinWaterAmount.Name = "spinMinWaterAmount"; this.spinMinWaterAmount.Adjustment.PageIncrement = 10D; this.spinMinWaterAmount.ClimbRate = 1D; this.spinMinWaterAmount.Numeric = true; this.spinMinWaterAmount.ValueAsDecimal = 0m; this.spinMinWaterAmount.ValueAsInt = 0; this.datatable1.Add(this.spinMinWaterAmount); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable1[this.spinMinWaterAmount])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add(this.datatable1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.datatable1])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.AdvanceReportDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.AdvanceReportDlg"; // Container child Vodovoz.AdvanceReportDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox2.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox2.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(4)), ((uint)(6)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboExpense = new global::Gamma.Widgets.ySpecComboBox (); this.comboExpense.Name = "comboExpense"; this.comboExpense.AddIfNotExist = false; this.comboExpense.DefaultFirst = false; this.comboExpense.ShowSpecialStateAll = false; this.comboExpense.ShowSpecialStateNot = true; this.table1.Add (this.comboExpense); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboExpense])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(4)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.yspinMoney = new global::Gamma.GtkWidgets.ySpinButton (0, 1000000, 100); this.yspinMoney.CanFocus = true; this.yspinMoney.Name = "yspinMoney"; this.yspinMoney.Adjustment.PageIncrement = 1000; this.yspinMoney.ClimbRate = 1; this.yspinMoney.Digits = ((uint)(2)); this.yspinMoney.Numeric = true; this.yspinMoney.ValueAsDecimal = 0m; this.yspinMoney.ValueAsInt = 0; this.hbox5.Add (this.yspinMoney); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.yspinMoney])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel (); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("currencylabel1"); this.hbox5.Add (this.currencylabel1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.currencylabel1])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.table1.Add (this.hbox5); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox5])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hboxDebt = new global::Gtk.HBox (); this.hboxDebt.Name = "hboxDebt"; this.hboxDebt.Spacing = 6; // Container child hboxDebt.Gtk.Box+BoxChild this.labelCurrentDebt = new global::Gtk.Label (); this.labelCurrentDebt.Name = "labelCurrentDebt"; this.labelCurrentDebt.LabelProp = global::Mono.Unix.Catalog.GetString ("label2"); this.hboxDebt.Add (this.labelCurrentDebt); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxDebt [this.labelCurrentDebt])); w10.Position = 0; w10.Expand = false; w10.Fill = false; this.table1.Add (this.hboxDebt); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.hboxDebt])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата:"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(4)); w12.RightAttach = ((uint)(5)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Кассир:"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w13.LeftAttach = ((uint)(4)); w13.RightAttach = ((uint)(5)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Сумма выбранных авансов:"); this.table1.Add (this.label3); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Статья расхода:"); this.table1.Add (this.label4); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Сумма расхода:"); this.table1.Add (this.label5); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Подотчетное лицо:"); this.table1.Add (this.label7); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelChangeSum = new global::Gtk.Label (); this.labelChangeSum.Name = "labelChangeSum"; this.labelChangeSum.LabelProp = global::Mono.Unix.Catalog.GetString ("--//--"); this.labelChangeSum.UseMarkup = true; this.table1.Add (this.labelChangeSum); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelChangeSum])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.LeftAttach = ((uint)(3)); w18.RightAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelChangeType = new global::Gtk.Label (); this.labelChangeType.Name = "labelChangeType"; this.labelChangeType.Xalign = 1F; this.labelChangeType.LabelProp = global::Mono.Unix.Catalog.GetString ("--//--"); this.table1.Add (this.labelChangeType); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelChangeType])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.LeftAttach = ((uint)(2)); w19.RightAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelClosingSum = new global::Gtk.Label (); this.labelClosingSum.Name = "labelClosingSum"; this.labelClosingSum.LabelProp = global::Mono.Unix.Catalog.GetString ("--//--"); this.table1.Add (this.labelClosingSum); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelClosingSum])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(3)); w20.RightAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDebtTitle = new global::Gtk.Label (); this.labelDebtTitle.Name = "labelDebtTitle"; this.labelDebtTitle.Xalign = 1F; this.labelDebtTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Текущий долг:"); this.table1.Add (this.labelDebtTitle); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelDebtTitle])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydateDocument = new global::Gamma.Widgets.yDatePicker (); this.ydateDocument.Events = ((global::Gdk.EventMask)(256)); this.ydateDocument.Name = "ydateDocument"; this.ydateDocument.WithTime = false; this.ydateDocument.Date = new global::System.DateTime (0); this.ydateDocument.IsEditable = true; this.ydateDocument.AutoSeparation = true; this.table1.Add (this.ydateDocument); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.ydateDocument])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.LeftAttach = ((uint)(5)); w22.RightAttach = ((uint)(6)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryCasher = new global::Gamma.Widgets.yEntryReference (); this.yentryCasher.Sensitive = false; this.yentryCasher.Events = ((global::Gdk.EventMask)(256)); this.yentryCasher.Name = "yentryCasher"; this.table1.Add (this.yentryCasher); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryCasher])); w23.LeftAttach = ((uint)(5)); w23.RightAttach = ((uint)(6)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryEmploeey = new global::Gamma.Widgets.yEntryReference (); this.yentryEmploeey.Events = ((global::Gdk.EventMask)(256)); this.yentryEmploeey.Name = "yentryEmploeey"; this.table1.Add (this.yentryEmploeey); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryEmploeey])); w24.TopAttach = ((uint)(1)); w24.BottomAttach = ((uint)(2)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add (this.table1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1])); w25.Position = 1; w25.Expand = false; w25.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.labelCreating = new global::Gtk.Label (); this.labelCreating.Name = "labelCreating"; this.labelCreating.Xpad = 9; this.labelCreating.Xalign = 0F; this.labelCreating.LabelProp = global::Mono.Unix.Catalog.GetString ("Рачет не производился"); this.vbox1.Add (this.labelCreating); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.labelCreating])); w26.Position = 2; w26.Expand = false; w26.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.labelTableTitle = new global::Gtk.Label (); this.labelTableTitle.Name = "labelTableTitle"; this.labelTableTitle.Xalign = 0F; this.labelTableTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Последние выданные авансы:"); this.vbox1.Add (this.labelTableTitle); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.labelTableTitle])); w27.Position = 3; w27.Expand = false; w27.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeviewDebts = new global::Gamma.GtkWidgets.yTreeView (); this.ytreeviewDebts.CanFocus = true; this.ytreeviewDebts.Name = "ytreeviewDebts"; this.GtkScrolledWindow1.Add (this.ytreeviewDebts); this.vbox1.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow1])); w29.Position = 4; // Container child vbox1.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Основание:"); this.vbox1.Add (this.label6); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label6])); w30.Position = 5; w30.Expand = false; w30.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewDescription = new global::Gamma.GtkWidgets.yTextView (); this.ytextviewDescription.CanFocus = true; this.ytextviewDescription.Name = "ytextviewDescription"; this.ytextviewDescription.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add (this.ytextviewDescription); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w32.Position = 6; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); this.yentryEmploeey.Changed += new global::System.EventHandler (this.OnYentryEmploeeyChanged); this.yspinMoney.ValueChanged += new global::System.EventHandler (this.OnYspinMoneyValueChanged); this.comboExpense.Changed += new global::System.EventHandler (this.OnComboExpenseChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.FineDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.FineDlg"; // Container child Vodovoz.FineDlg.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)(4)), ((uint)(6)), false); this.tableWriteoff.Name = "tableWriteoff"; this.tableWriteoff.RowSpacing = ((uint)(6)); this.tableWriteoff.ColumnSpacing = ((uint)(6)); // Container child tableWriteoff.Gtk.Table+TableChild this.btnShowUndelivery = new global::Gtk.Button(); this.btnShowUndelivery.CanFocus = true; this.btnShowUndelivery.Name = "btnShowUndelivery"; this.btnShowUndelivery.UseUnderline = true; this.btnShowUndelivery.Label = global::Mono.Unix.Catalog.GetString("Перейти в недовоз"); this.tableWriteoff.Add(this.btnShowUndelivery); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.btnShowUndelivery])); w6.TopAttach = ((uint)(3)); w6.BottomAttach = ((uint)(4)); w6.LeftAttach = ((uint)(4)); w6.RightAttach = ((uint)(5)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.enumFineType = new global::Gamma.Widgets.yEnumComboBox(); this.enumFineType.Name = "enumFineType"; this.enumFineType.ShowSpecialStateAll = false; this.enumFineType.ShowSpecialStateNot = false; this.enumFineType.UseShortTitle = false; this.enumFineType.DefaultFirst = false; this.hbox3.Add(this.enumFineType); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.enumFineType])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.labelOverspending = new global::Gtk.Label(); this.labelOverspending.Name = "labelOverspending"; this.labelOverspending.LabelProp = global::Mono.Unix.Catalog.GetString("Перерасход (л.):"); this.hbox3.Add(this.labelOverspending); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.labelOverspending])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yspinLiters = new global::Gamma.GtkWidgets.ySpinButton(0D, 100000D, 1D); this.yspinLiters.CanFocus = true; this.yspinLiters.Name = "yspinLiters"; this.yspinLiters.Adjustment.PageIncrement = 10D; this.yspinLiters.ClimbRate = 1D; this.yspinLiters.Digits = ((uint)(2)); this.yspinLiters.Numeric = true; this.yspinLiters.ValueAsDecimal = 0m; this.yspinLiters.ValueAsInt = 0; this.hbox3.Add(this.yspinLiters); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yspinLiters])); w9.Position = 2; w9.Expand = false; w9.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.labelRequestRouteList = new global::Gtk.Label(); this.labelRequestRouteList.Name = "labelRequestRouteList"; this.labelRequestRouteList.LabelProp = global::Mono.Unix.Catalog.GetString("<span color=\"red\">Необходимо выбрать маршрутный лист</span>"); this.labelRequestRouteList.UseMarkup = true; this.hbox3.Add(this.labelRequestRouteList); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.labelRequestRouteList])); w10.Position = 3; w10.Expand = false; w10.Fill = false; this.tableWriteoff.Add(this.hbox3); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.hbox3])); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.yentryFineReasonString = new global::Gamma.GtkWidgets.yEntry(); this.yentryFineReasonString.CanFocus = true; this.yentryFineReasonString.Name = "yentryFineReasonString"; this.yentryFineReasonString.IsEditable = true; this.yentryFineReasonString.InvisibleChar = '●'; this.hbox4.Add(this.yentryFineReasonString); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.yentryFineReasonString])); w12.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.buttonGetReasonFromTemplate = new global::Gtk.Button(); this.buttonGetReasonFromTemplate.CanFocus = true; this.buttonGetReasonFromTemplate.Name = "buttonGetReasonFromTemplate"; this.buttonGetReasonFromTemplate.UseUnderline = true; this.buttonGetReasonFromTemplate.Label = global::Mono.Unix.Catalog.GetString("Заполнить из шаблона"); this.hbox4.Add(this.buttonGetReasonFromTemplate); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonGetReasonFromTemplate])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.tableWriteoff.Add(this.hbox4); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.hbox4])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.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, 100000D, 1D); this.yspinMoney.CanFocus = true; this.yspinMoney.Name = "yspinMoney"; this.yspinMoney.Adjustment.PageIncrement = 100D; 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 w15 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspinMoney])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = "currencylabel1"; this.hbox6.Add(this.currencylabel1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.currencylabel1])); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonDivideAtAll = new global::Gtk.Button(); this.buttonDivideAtAll.CanFocus = true; this.buttonDivideAtAll.Name = "buttonDivideAtAll"; this.buttonDivideAtAll.UseUnderline = true; this.buttonDivideAtAll.Label = global::Mono.Unix.Catalog.GetString("Разбить на всех"); this.hbox6.Add(this.buttonDivideAtAll); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonDivideAtAll])); w17.Position = 2; w17.Expand = false; w17.Fill = false; this.tableWriteoff.Add(this.hbox6); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.hbox6])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.LeftAttach = ((uint)(3)); w18.RightAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.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 w19 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label1])); 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.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Причина штрафа:"); this.tableWriteoff.Add(this.label3); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label3])); w20.TopAttach = ((uint)(3)); w20.BottomAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.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 w21 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label4])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.LeftAttach = ((uint)(2)); w21.RightAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.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.LabelProp = global::Mono.Unix.Catalog.GetString("№ МЛ"); this.tableWriteoff.Add(this.label5); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label5])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.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 w23 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label6])); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.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 w24 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label7])); w24.LeftAttach = ((uint)(4)); w24.RightAttach = ((uint)(5)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.yentryAuthor = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryAuthor.Sensitive = false; this.yentryAuthor.Events = ((global::Gdk.EventMask)(256)); this.yentryAuthor.Name = "yentryAuthor"; this.tableWriteoff.Add(this.yentryAuthor); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.yentryAuthor])); w25.LeftAttach = ((uint)(5)); w25.RightAttach = ((uint)(6)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.yentryreferenceRouteList = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryreferenceRouteList.Events = ((global::Gdk.EventMask)(256)); this.yentryreferenceRouteList.Name = "yentryreferenceRouteList"; this.tableWriteoff.Add(this.yentryreferenceRouteList); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.yentryreferenceRouteList])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(4)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.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 w27 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.ylabelDate])); w27.TopAttach = ((uint)(2)); w27.BottomAttach = ((uint)(3)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add(this.tableWriteoff); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.tableWriteoff])); w28.Position = 1; w28.Expand = false; w28.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.fineitemsview1 = new global::Vodovoz.FineItemsView(); this.fineitemsview1.Events = ((global::Gdk.EventMask)(256)); this.fineitemsview1.Name = "fineitemsview1"; this.fineitemsview1.IsFuelOverspending = false; this.vbox4.Add(this.fineitemsview1); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.fineitemsview1])); w29.Position = 2; this.Add(this.vbox4); if ((this.Child != null)) { this.Child.ShowAll(); } this.btnShowUndelivery.Hide(); this.Hide(); this.yentryreferenceRouteList.ChangedByUser += new global::System.EventHandler(this.OnYentryreferenceRouteListChangedByUser); this.buttonDivideAtAll.Clicked += new global::System.EventHandler(this.OnButtonDivideAtAllClicked); this.buttonGetReasonFromTemplate.Clicked += new global::System.EventHandler(this.OnButtonGetReasonFromTemplateClicked); this.enumFineType.ChangedByUser += new global::System.EventHandler(this.OnEnumFineTypeChangedByUser); this.yspinLiters.ValueChanged += new global::System.EventHandler(this.OnYspinLitersValueChanged); this.btnShowUndelivery.Clicked += new global::System.EventHandler(this.OnBtnShowUndeliveryClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.PaidRentPackageDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.PaidRentPackageDlg"; // Container child Vodovoz.PaidRentPackageDlg.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox1.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox1.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.datatable1 = new global::Gtk.DataBindings.DataTable (((uint)(8)), ((uint)(2)), false); this.datatable1.Name = "datatable1"; this.datatable1.RowSpacing = ((uint)(6)); this.datatable1.ColumnSpacing = ((uint)(6)); this.datatable1.BorderWidth = ((uint)(6)); this.datatable1.InheritedDataSource = false; this.datatable1.InheritedBoundaryDataSource = false; this.datatable1.InheritedDataSource = false; this.datatable1.InheritedBoundaryDataSource = false; // Container child datatable1.Gtk.Table+TableChild this.dataentryName = new global::Gtk.DataBindings.DataEntry (); this.dataentryName.CanFocus = true; this.dataentryName.Name = "dataentryName"; this.dataentryName.IsEditable = true; this.dataentryName.InvisibleChar = '●'; this.dataentryName.InheritedDataSource = true; this.dataentryName.Mappings = "Name"; this.dataentryName.InheritedBoundaryDataSource = false; this.dataentryName.InheritedDataSource = true; this.dataentryName.Mappings = "Name"; this.dataentryName.InheritedBoundaryDataSource = false; this.datatable1.Add (this.dataentryName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentryName])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox (); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.spinPriceDaily = new global::Gtk.DataBindings.DataSpinButton (0, 9000000, 1); this.spinPriceDaily.CanFocus = true; this.spinPriceDaily.Name = "spinPriceDaily"; this.spinPriceDaily.Adjustment.PageIncrement = 10; this.spinPriceDaily.ClimbRate = 1; this.spinPriceDaily.Digits = ((uint)(2)); this.spinPriceDaily.Numeric = true; this.spinPriceDaily.InheritedDataSource = true; this.spinPriceDaily.Mappings = "PriceDaily"; this.spinPriceDaily.InheritedBoundaryDataSource = false; this.spinPriceDaily.InheritedDataSource = true; this.spinPriceDaily.Mappings = "PriceDaily"; this.spinPriceDaily.InheritedBoundaryDataSource = false; this.hbox6.Add (this.spinPriceDaily); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.spinPriceDaily])); w7.Position = 0; // Container child hbox6.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel (); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("currencylabel1"); this.hbox6.Add (this.currencylabel1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.currencylabel1])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.datatable1.Add (this.hbox6); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.hbox6])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.spinPriceMonthly = new global::Gtk.DataBindings.DataSpinButton (0, 9000000, 1); this.spinPriceMonthly.CanFocus = true; this.spinPriceMonthly.Name = "spinPriceMonthly"; this.spinPriceMonthly.Adjustment.PageIncrement = 10; this.spinPriceMonthly.ClimbRate = 1; this.spinPriceMonthly.Digits = ((uint)(2)); this.spinPriceMonthly.Numeric = true; this.spinPriceMonthly.InheritedDataSource = true; this.spinPriceMonthly.Mappings = "PriceMonthly"; this.spinPriceMonthly.InheritedBoundaryDataSource = false; this.spinPriceMonthly.InheritedDataSource = true; this.spinPriceMonthly.Mappings = "PriceMonthly"; this.spinPriceMonthly.InheritedBoundaryDataSource = false; this.hbox7.Add (this.spinPriceMonthly); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.spinPriceMonthly])); w10.Position = 0; // Container child hbox7.Gtk.Box+BoxChild this.currencylabel2 = new global::QSProjectsLib.CurrencyLabel (); this.currencylabel2.Name = "currencylabel2"; this.currencylabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("currencylabel1"); this.hbox7.Add (this.currencylabel2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.currencylabel2])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.datatable1.Add (this.hbox7); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.hbox7])); w12.TopAttach = ((uint)(3)); w12.BottomAttach = ((uint)(4)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.hbox8 = new global::Gtk.HBox (); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.spinDeposit = new global::Gtk.DataBindings.DataSpinButton (0, 99999, 1); this.spinDeposit.CanFocus = true; this.spinDeposit.Name = "spinDeposit"; this.spinDeposit.Adjustment.PageIncrement = 10; this.spinDeposit.ClimbRate = 1; this.spinDeposit.Digits = ((uint)(2)); this.spinDeposit.Numeric = true; this.spinDeposit.InheritedDataSource = true; this.spinDeposit.Mappings = "Deposit"; this.spinDeposit.InheritedBoundaryDataSource = false; this.spinDeposit.InheritedDataSource = true; this.spinDeposit.Mappings = "Deposit"; this.spinDeposit.InheritedBoundaryDataSource = false; this.hbox8.Add (this.spinDeposit); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.spinDeposit])); w13.Position = 0; // Container child hbox8.Gtk.Box+BoxChild this.currencylabel3 = new global::QSProjectsLib.CurrencyLabel (); this.currencylabel3.Name = "currencylabel3"; this.currencylabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("currencylabel1"); this.hbox8.Add (this.currencylabel3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.currencylabel3])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.datatable1.Add (this.hbox8); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.hbox8])); w15.TopAttach = ((uint)(6)); w15.BottomAttach = ((uint)(7)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Название:"); this.datatable1.Add (this.label1); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label1])); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Услуга посуточной \nаренды:"); this.label3.Justify = ((global::Gtk.Justification)(1)); this.datatable1.Add (this.label3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label3])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Стоимость (месяц):"); this.datatable1.Add (this.label4); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label4])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Услуга залога:"); this.datatable1.Add (this.label5); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label5])); w19.TopAttach = ((uint)(7)); w19.BottomAttach = ((uint)(8)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Стоимость (сутки):"); this.datatable1.Add (this.label6); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label6])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Тип оборудования:"); this.datatable1.Add (this.label7); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label7])); w21.TopAttach = ((uint)(5)); w21.BottomAttach = ((uint)(6)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Услуга долгосрочной\nаренды:"); this.label8.Justify = ((global::Gtk.Justification)(1)); this.datatable1.Add (this.label8); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label8])); w22.TopAttach = ((uint)(4)); w22.BottomAttach = ((uint)(5)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Сумма залога:"); this.datatable1.Add (this.label9); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label9])); w23.TopAttach = ((uint)(6)); w23.BottomAttach = ((uint)(7)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceDepositService = new global::Gtk.DataBindings.DataEntryReference (); this.referenceDepositService.Events = ((global::Gdk.EventMask)(256)); this.referenceDepositService.Name = "referenceDepositService"; this.referenceDepositService.DisplayFields = new string[] { "Name" }; this.referenceDepositService.DisplayFormatString = "{0}"; this.referenceDepositService.InheritedDataSource = true; this.referenceDepositService.Mappings = "DepositService"; this.referenceDepositService.InheritedBoundaryDataSource = false; this.referenceDepositService.CursorPointsEveryType = false; this.datatable1.Add (this.referenceDepositService); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceDepositService])); w24.TopAttach = ((uint)(7)); w24.BottomAttach = ((uint)(8)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceEquipmentType = new global::Gtk.DataBindings.DataEntryReference (); this.referenceEquipmentType.Events = ((global::Gdk.EventMask)(256)); this.referenceEquipmentType.Name = "referenceEquipmentType"; this.referenceEquipmentType.DisplayFields = new string[] { "Name" }; this.referenceEquipmentType.DisplayFormatString = "{0}"; this.referenceEquipmentType.InheritedDataSource = true; this.referenceEquipmentType.Mappings = "EquipmentType"; this.referenceEquipmentType.InheritedBoundaryDataSource = false; this.referenceEquipmentType.CursorPointsEveryType = false; this.datatable1.Add (this.referenceEquipmentType); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceEquipmentType])); w25.TopAttach = ((uint)(5)); w25.BottomAttach = ((uint)(6)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceRentServiceDaily = new global::Gtk.DataBindings.DataEntryReference (); this.referenceRentServiceDaily.Events = ((global::Gdk.EventMask)(256)); this.referenceRentServiceDaily.Name = "referenceRentServiceDaily"; this.referenceRentServiceDaily.DisplayFields = new string[] { "Name" }; this.referenceRentServiceDaily.DisplayFormatString = "{0}"; this.referenceRentServiceDaily.InheritedDataSource = true; this.referenceRentServiceDaily.Mappings = "RentServiceDaily"; this.referenceRentServiceDaily.InheritedBoundaryDataSource = false; this.referenceRentServiceDaily.CursorPointsEveryType = false; this.datatable1.Add (this.referenceRentServiceDaily); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceRentServiceDaily])); w26.TopAttach = ((uint)(2)); w26.BottomAttach = ((uint)(3)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceRentServiceMonthly = new global::Gtk.DataBindings.DataEntryReference (); this.referenceRentServiceMonthly.Events = ((global::Gdk.EventMask)(256)); this.referenceRentServiceMonthly.Name = "referenceRentServiceMonthly"; this.referenceRentServiceMonthly.DisplayFields = new string[] { "Name" }; this.referenceRentServiceMonthly.DisplayFormatString = "{0}"; this.referenceRentServiceMonthly.InheritedDataSource = true; this.referenceRentServiceMonthly.Mappings = "RentServiceMonthly"; this.referenceRentServiceMonthly.InheritedBoundaryDataSource = false; this.referenceRentServiceMonthly.CursorPointsEveryType = false; this.datatable1.Add (this.referenceRentServiceMonthly); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceRentServiceMonthly])); w27.TopAttach = ((uint)(4)); w27.BottomAttach = ((uint)(5)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add (this.datatable1); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.datatable1])); w28.Position = 1; w28.Expand = false; w28.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.FreeRentPackageDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.FreeRentPackageDlg"; // Container child Vodovoz.FreeRentPackageDlg.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox3.Add (this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.datatable1 = new global::Gtk.DataBindings.DataTable (((uint)(5)), ((uint)(2)), false); this.datatable1.Name = "datatable1"; this.datatable1.RowSpacing = ((uint)(6)); this.datatable1.ColumnSpacing = ((uint)(6)); this.datatable1.BorderWidth = ((uint)(6)); this.datatable1.InheritedDataSource = false; this.datatable1.InheritedBoundaryDataSource = false; this.datatable1.InheritedDataSource = false; this.datatable1.InheritedBoundaryDataSource = false; // Container child datatable1.Gtk.Table+TableChild this.dataentryName = new global::Gtk.DataBindings.DataEntry (); this.dataentryName.CanFocus = true; this.dataentryName.Name = "dataentryName"; this.dataentryName.IsEditable = true; this.dataentryName.InvisibleChar = '●'; this.dataentryName.InheritedDataSource = true; this.dataentryName.Mappings = "Name"; this.dataentryName.InheritedBoundaryDataSource = false; this.dataentryName.InheritedDataSource = true; this.dataentryName.Mappings = "Name"; this.dataentryName.InheritedBoundaryDataSource = false; this.datatable1.Add (this.dataentryName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentryName])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.spinDeposit = new global::Gtk.DataBindings.DataSpinButton (0, 99999, 1); this.spinDeposit.CanFocus = true; this.spinDeposit.Name = "spinDeposit"; this.spinDeposit.Adjustment.PageIncrement = 10; this.spinDeposit.ClimbRate = 1; this.spinDeposit.Numeric = true; this.spinDeposit.InheritedDataSource = true; this.spinDeposit.Mappings = "Deposit"; this.spinDeposit.InheritedBoundaryDataSource = false; this.spinDeposit.InheritedDataSource = true; this.spinDeposit.Mappings = "Deposit"; this.spinDeposit.InheritedBoundaryDataSource = false; this.hbox5.Add (this.spinDeposit); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.spinDeposit])); w7.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.currencylabel2 = new global::QSProjectsLib.CurrencyLabel (); this.currencylabel2.Name = "currencylabel2"; this.currencylabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("currencylabel2"); this.hbox5.Add (this.currencylabel2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.currencylabel2])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.datatable1.Add (this.hbox5); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.hbox5])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Минимальное\nкол-во бутылей:"); this.label10.Justify = ((global::Gtk.Justification)(1)); this.datatable1.Add (this.label10); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label10])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Название:"); this.datatable1.Add (this.label11); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label11])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Услуга залога:"); this.datatable1.Add (this.label7); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label7])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Сумма залога:"); this.datatable1.Add (this.label8); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label8])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Тип оборудования:"); this.datatable1.Add (this.label9); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label9])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceDepositService = new global::Gtk.DataBindings.DataEntryReference (); this.referenceDepositService.Events = ((global::Gdk.EventMask)(256)); this.referenceDepositService.Name = "referenceDepositService"; this.referenceDepositService.DisplayFields = new string[] { "Name" }; this.referenceDepositService.DisplayFormatString = "{0}"; this.referenceDepositService.InheritedDataSource = true; this.referenceDepositService.Mappings = "DepositService"; this.referenceDepositService.InheritedBoundaryDataSource = false; this.referenceDepositService.CursorPointsEveryType = false; this.datatable1.Add (this.referenceDepositService); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceDepositService])); w15.TopAttach = ((uint)(4)); w15.BottomAttach = ((uint)(5)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceEquipmentType = new global::Gtk.DataBindings.DataEntryReference (); this.referenceEquipmentType.Events = ((global::Gdk.EventMask)(256)); this.referenceEquipmentType.Name = "referenceEquipmentType"; this.referenceEquipmentType.DisplayFields = new string[] { "Name" }; this.referenceEquipmentType.DisplayFormatString = "{0}"; this.referenceEquipmentType.InheritedDataSource = true; this.referenceEquipmentType.Mappings = "EquipmentType"; this.referenceEquipmentType.ColumnMappings = ""; this.referenceEquipmentType.InheritedBoundaryDataSource = false; this.referenceEquipmentType.CursorPointsEveryType = false; this.datatable1.Add (this.referenceEquipmentType); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceEquipmentType])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.spinMinWaterAmount = new global::Gtk.DataBindings.DataSpinButton (0, 100, 1); this.spinMinWaterAmount.CanFocus = true; this.spinMinWaterAmount.Name = "spinMinWaterAmount"; this.spinMinWaterAmount.Adjustment.PageIncrement = 10; this.spinMinWaterAmount.ClimbRate = 1; this.spinMinWaterAmount.Numeric = true; this.spinMinWaterAmount.InheritedDataSource = true; this.spinMinWaterAmount.Mappings = "MinWaterAmount"; this.spinMinWaterAmount.InheritedBoundaryDataSource = false; this.spinMinWaterAmount.InheritedDataSource = true; this.spinMinWaterAmount.Mappings = "MinWaterAmount"; this.spinMinWaterAmount.InheritedBoundaryDataSource = false; this.datatable1.Add (this.spinMinWaterAmount); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.spinMinWaterAmount])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add (this.datatable1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.datatable1])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.Add (this.vbox3); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.FineDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.FineDlg"; // Container child Vodovoz.FineDlg.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(6)); // Container child vbox4.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox5.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox5.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox4.Add (this.hbox5); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox5])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.tableWriteoff = new global::Gtk.DataBindings.DataTable (((uint)(1)), ((uint)(4)), false); this.tableWriteoff.Name = "tableWriteoff"; this.tableWriteoff.RowSpacing = ((uint)(6)); this.tableWriteoff.ColumnSpacing = ((uint)(6)); this.tableWriteoff.InheritedDataSource = false; this.tableWriteoff.InheritedBoundaryDataSource = false; this.tableWriteoff.InheritedDataSource = false; this.tableWriteoff.InheritedBoundaryDataSource = false; // Container child tableWriteoff.Gtk.Table+TableChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.yspinMoney = new global::Gamma.GtkWidgets.ySpinButton (0, 100000, 1); this.yspinMoney.CanFocus = true; this.yspinMoney.Name = "yspinMoney"; this.yspinMoney.Adjustment.PageIncrement = 100; this.yspinMoney.ClimbRate = 1; this.yspinMoney.Digits = ((uint)(2)); this.yspinMoney.Numeric = true; this.yspinMoney.ValueAsDecimal = 0m; this.yspinMoney.ValueAsInt = 0; this.hbox1.Add (this.yspinMoney); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.yspinMoney])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel (); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("currencylabel1"); this.hbox1.Add (this.currencylabel1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.currencylabel1])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonDivideAtAll = new global::Gtk.Button (); this.buttonDivideAtAll.CanFocus = true; this.buttonDivideAtAll.Name = "buttonDivideAtAll"; this.buttonDivideAtAll.UseUnderline = true; this.buttonDivideAtAll.Label = global::Mono.Unix.Catalog.GetString ("Разбить на всех"); this.hbox1.Add (this.buttonDivideAtAll); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonDivideAtAll])); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.tableWriteoff.Add (this.hbox1); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.hbox1])); w9.LeftAttach = ((uint)(3)); w9.RightAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.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 w10 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label1])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.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 w11 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label4])); w11.LeftAttach = ((uint)(2)); w11.RightAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(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.fineitemsview = new global::Vodovoz.FineItemsView (); this.fineitemsview.Events = ((global::Gdk.EventMask)(256)); this.fineitemsview.Name = "fineitemsview"; this.vbox4.Add (this.fineitemsview); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.fineitemsview])); w14.Position = 2; this.Add (this.vbox4); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); this.buttonDivideAtAll.Clicked += new global::System.EventHandler (this.OnButtonDivideAtAllClicked); }