protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Payments.CreateManualPaymentFromBankClientView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Payments.CreateManualPaymentFromBankClientView"; // Container child Vodovoz.Views.Payments.CreateManualPaymentFromBankClientView.Gtk.Container+ContainerChild this.vboxMain = new global::Gamma.GtkWidgets.yVBox(); this.vboxMain.Name = "vboxMain"; this.vboxMain.Spacing = 6; // Container child vboxMain.Gtk.Box+BoxChild this.hboxSaveAndCloseBtns = new global::Gamma.GtkWidgets.yHBox(); this.hboxSaveAndCloseBtns.Name = "hboxSaveAndCloseBtns"; this.hboxSaveAndCloseBtns.Spacing = 6; // Container child hboxSaveAndCloseBtns.Gtk.Box+BoxChild this.btnSave = new global::Gamma.GtkWidgets.yButton(); this.btnSave.CanFocus = true; this.btnSave.Name = "btnSave"; this.btnSave.UseUnderline = true; this.btnSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); this.hboxSaveAndCloseBtns.Add(this.btnSave); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hboxSaveAndCloseBtns[this.btnSave])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hboxSaveAndCloseBtns.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.hboxSaveAndCloseBtns.Add(this.btnCancel); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxSaveAndCloseBtns[this.btnCancel])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vboxMain.Add(this.hboxSaveAndCloseBtns); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.hboxSaveAndCloseBtns])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vboxMain.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vboxMain.Add(this.hseparator1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.hseparator1])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vboxMain.Gtk.Box+BoxChild this.tablePayment = new global::Gamma.GtkWidgets.yTable(); this.tablePayment.Name = "tablePayment"; this.tablePayment.NRows = ((uint)(6)); this.tablePayment.NColumns = ((uint)(4)); this.tablePayment.RowSpacing = ((uint)(6)); this.tablePayment.ColumnSpacing = ((uint)(6)); // Container child tablePayment.Gtk.Table+TableChild this.chkBtnUpdateBalance = new global::Gamma.GtkWidgets.yCheckButton(); this.chkBtnUpdateBalance.CanFocus = true; this.chkBtnUpdateBalance.Name = "chkBtnUpdateBalance"; this.chkBtnUpdateBalance.Label = global::Mono.Unix.Catalog.GetString("Ввод остатков"); this.chkBtnUpdateBalance.DrawIndicator = true; this.chkBtnUpdateBalance.UseUnderline = true; this.tablePayment.Add(this.chkBtnUpdateBalance); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.tablePayment[this.chkBtnUpdateBalance])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePayment.Gtk.Table+TableChild this.counterpartyEntry = new global::QS.Views.Control.EntityEntry(); this.counterpartyEntry.Events = ((global::Gdk.EventMask)(256)); this.counterpartyEntry.Name = "counterpartyEntry"; this.tablePayment.Add(this.counterpartyEntry); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tablePayment[this.counterpartyEntry])); w6.TopAttach = ((uint)(3)); w6.BottomAttach = ((uint)(4)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(4)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePayment.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textViewPaymentPurpose = new global::Gamma.GtkWidgets.yTextView(); this.textViewPaymentPurpose.CanFocus = true; this.textViewPaymentPurpose.Name = "textViewPaymentPurpose"; this.GtkScrolledWindow.Add(this.textViewPaymentPurpose); this.tablePayment.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tablePayment[this.GtkScrolledWindow])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePayment.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.textViewComment = new global::Gamma.GtkWidgets.yTextView(); this.textViewComment.CanFocus = true; this.textViewComment.Name = "textViewComment"; this.GtkScrolledWindow1.Add(this.textViewComment); this.tablePayment.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tablePayment[this.GtkScrolledWindow1])); w10.TopAttach = ((uint)(5)); w10.BottomAttach = ((uint)(6)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePayment.Gtk.Table+TableChild this.lblCategoryProfit = new global::Gamma.GtkWidgets.yLabel(); this.lblCategoryProfit.Name = "lblCategoryProfit"; this.lblCategoryProfit.Xalign = 1F; this.lblCategoryProfit.LabelProp = global::Mono.Unix.Catalog.GetString("Статья дохода:"); this.tablePayment.Add(this.lblCategoryProfit); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tablePayment[this.lblCategoryProfit])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.LeftAttach = ((uint)(2)); w11.RightAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePayment.Gtk.Table+TableChild this.lblComment = new global::Gamma.GtkWidgets.yLabel(); this.lblComment.Name = "lblComment"; this.lblComment.Xalign = 1F; this.lblComment.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.tablePayment.Add(this.lblComment); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tablePayment[this.lblComment])); w12.TopAttach = ((uint)(5)); w12.BottomAttach = ((uint)(6)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePayment.Gtk.Table+TableChild this.lblCounterparty = new global::Gamma.GtkWidgets.yLabel(); this.lblCounterparty.Name = "lblCounterparty"; this.lblCounterparty.Xalign = 1F; this.lblCounterparty.LabelProp = global::Mono.Unix.Catalog.GetString("Контрагент:"); this.tablePayment.Add(this.lblCounterparty); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tablePayment[this.lblCounterparty])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePayment.Gtk.Table+TableChild this.lblPaymentDate = new global::Gamma.GtkWidgets.yLabel(); this.lblPaymentDate.Name = "lblPaymentDate"; this.lblPaymentDate.Xalign = 1F; this.lblPaymentDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата платежа:"); this.tablePayment.Add(this.lblPaymentDate); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tablePayment[this.lblPaymentDate])); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePayment.Gtk.Table+TableChild this.lblPaymentNum = new global::Gamma.GtkWidgets.yLabel(); this.lblPaymentNum.Name = "lblPaymentNum"; this.lblPaymentNum.Xalign = 1F; this.lblPaymentNum.LabelProp = global::Mono.Unix.Catalog.GetString("Номер платежа:"); this.tablePayment.Add(this.lblPaymentNum); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tablePayment[this.lblPaymentNum])); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePayment.Gtk.Table+TableChild this.lblPaymentPurpose = new global::Gamma.GtkWidgets.yLabel(); this.lblPaymentPurpose.Name = "lblPaymentPurpose"; this.lblPaymentPurpose.Xalign = 1F; this.lblPaymentPurpose.LabelProp = global::Mono.Unix.Catalog.GetString("Назначение платежа:"); this.tablePayment.Add(this.lblPaymentPurpose); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tablePayment[this.lblPaymentPurpose])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePayment.Gtk.Table+TableChild this.lblPaymentTotal = new global::Gamma.GtkWidgets.yLabel(); this.lblPaymentTotal.Name = "lblPaymentTotal"; this.lblPaymentTotal.Xalign = 1F; this.lblPaymentTotal.LabelProp = global::Mono.Unix.Catalog.GetString("Сумма платежа:"); this.tablePayment.Add(this.lblPaymentTotal); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tablePayment[this.lblPaymentTotal])); w17.TopAttach = ((uint)(4)); w17.BottomAttach = ((uint)(5)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePayment.Gtk.Table+TableChild this.paymentDatePicker = new global::QS.Widgets.GtkUI.DatePicker(); this.paymentDatePicker.Events = ((global::Gdk.EventMask)(256)); this.paymentDatePicker.Name = "paymentDatePicker"; this.paymentDatePicker.WithTime = false; this.paymentDatePicker.HideCalendarButton = false; this.paymentDatePicker.Date = new global::System.DateTime(0); this.paymentDatePicker.IsEditable = false; this.paymentDatePicker.AutoSeparation = false; this.tablePayment.Add(this.paymentDatePicker); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tablePayment[this.paymentDatePicker])); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePayment.Gtk.Table+TableChild this.specListCmbCategoryProfit = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.specListCmbCategoryProfit.Name = "specListCmbCategoryProfit"; this.specListCmbCategoryProfit.AddIfNotExist = false; this.specListCmbCategoryProfit.DefaultFirst = false; this.specListCmbCategoryProfit.ShowSpecialStateAll = false; this.specListCmbCategoryProfit.ShowSpecialStateNot = false; this.tablePayment.Add(this.specListCmbCategoryProfit); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tablePayment[this.specListCmbCategoryProfit])); w19.TopAttach = ((uint)(4)); w19.BottomAttach = ((uint)(5)); w19.LeftAttach = ((uint)(3)); w19.RightAttach = ((uint)(4)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePayment.Gtk.Table+TableChild this.yspinPaymentNum = new global::Gamma.GtkWidgets.ySpinButton(0D, 1000000D, 1D); this.yspinPaymentNum.CanFocus = true; this.yspinPaymentNum.Name = "yspinPaymentNum"; this.yspinPaymentNum.Adjustment.PageIncrement = 100D; this.yspinPaymentNum.ClimbRate = 1D; this.yspinPaymentNum.Numeric = true; this.yspinPaymentNum.ValueAsDecimal = 0m; this.yspinPaymentNum.ValueAsInt = 0; this.tablePayment.Add(this.yspinPaymentNum); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tablePayment[this.yspinPaymentNum])); w20.LeftAttach = ((uint)(3)); w20.RightAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePayment.Gtk.Table+TableChild this.yspinPaymentTotal = new global::Gamma.GtkWidgets.ySpinButton(0D, 1000000D, 1D); this.yspinPaymentTotal.CanFocus = true; this.yspinPaymentTotal.Name = "yspinPaymentTotal"; this.yspinPaymentTotal.Adjustment.PageIncrement = 100D; this.yspinPaymentTotal.ClimbRate = 1D; this.yspinPaymentTotal.Digits = ((uint)(2)); this.yspinPaymentTotal.Numeric = true; this.yspinPaymentTotal.ValueAsDecimal = 0m; this.yspinPaymentTotal.ValueAsInt = 0; this.tablePayment.Add(this.yspinPaymentTotal); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tablePayment[this.yspinPaymentTotal])); w21.TopAttach = ((uint)(4)); w21.BottomAttach = ((uint)(5)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxMain.Add(this.tablePayment); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.tablePayment])); w22.Position = 2; w22.Expand = false; w22.Fill = false; // Container child vboxMain.Gtk.Box+BoxChild this.hbox = new global::Gamma.GtkWidgets.yHBox(); this.hbox.Name = "hbox"; this.hbox.Spacing = 6; // Container child hbox.Gtk.Box+BoxChild this.btnGoToManualPaymentMatching = new global::Gamma.GtkWidgets.yButton(); this.btnGoToManualPaymentMatching.CanFocus = true; this.btnGoToManualPaymentMatching.Name = "btnGoToManualPaymentMatching"; this.btnGoToManualPaymentMatching.UseUnderline = true; this.btnGoToManualPaymentMatching.Label = global::Mono.Unix.Catalog.GetString("Сохранить и перейти в ручное распределение"); this.hbox.Add(this.btnGoToManualPaymentMatching); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox[this.btnGoToManualPaymentMatching])); w23.Position = 0; w23.Expand = false; w23.Fill = false; this.vboxMain.Add(this.hbox); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.hbox])); w24.Position = 3; w24.Expand = false; w24.Fill = false; this.Add(this.vboxMain); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.Orders.OrderChangesReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Orders.OrderChangesReport"; // Container child Vodovoz.ReportsParameters.Orders.OrderChangesReport.Gtk.Container+ContainerChild this.vboxReport = new global::Gtk.VBox(); this.vboxReport.Name = "vboxReport"; this.vboxReport.Spacing = 6; // Container child vboxReport.Gtk.Box+BoxChild this.hboxDate = new global::Gtk.HBox(); this.hboxDate.Name = "hboxDate"; this.hboxDate.Spacing = 6; // Container child hboxDate.Gtk.Box+BoxChild this.ylabelDate = new global::Gamma.GtkWidgets.yLabel(); this.ylabelDate.Name = "ylabelDate"; this.ylabelDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.hboxDate.Add(this.ylabelDate); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hboxDate[this.ylabelDate])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hboxDate.Gtk.Box+BoxChild this.dateperiodpicker = new global::QS.Widgets.GtkUI.DateRangePicker(); this.dateperiodpicker.Events = ((global::Gdk.EventMask)(256)); this.dateperiodpicker.Name = "dateperiodpicker"; this.dateperiodpicker.StartDate = new global::System.DateTime(0); this.dateperiodpicker.EndDate = new global::System.DateTime(0); this.hboxDate.Add(this.dateperiodpicker); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDate[this.dateperiodpicker])); w2.Position = 1; this.vboxReport.Add(this.hboxDate); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vboxReport[this.hboxDate])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vboxReport.Gtk.Box+BoxChild this.ylabelDateWarning = new global::Gamma.GtkWidgets.yLabel(); this.ylabelDateWarning.Name = "ylabelDateWarning"; this.ylabelDateWarning.Xalign = 0F; this.ylabelDateWarning.LabelProp = global::Mono.Unix.Catalog.GetString("<span color=\"Red\">Выбранный период более 2-х недель, \nотчет может выполняться оче" + "нь долго!</span>"); this.ylabelDateWarning.UseMarkup = true; this.vboxReport.Add(this.ylabelDateWarning); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxReport[this.ylabelDateWarning])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vboxReport.Gtk.Box+BoxChild this.hboxOrganization = new global::Gtk.HBox(); this.hboxOrganization.Name = "hboxOrganization"; this.hboxOrganization.Spacing = 6; // Container child hboxOrganization.Gtk.Box+BoxChild this.ylabelOrganization = new global::Gamma.GtkWidgets.yLabel(); this.ylabelOrganization.Name = "ylabelOrganization"; this.ylabelOrganization.LabelProp = global::Mono.Unix.Catalog.GetString("Организация:"); this.hboxOrganization.Add(this.ylabelOrganization); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxOrganization[this.ylabelOrganization])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hboxOrganization.Gtk.Box+BoxChild this.comboOrganization = new global::Gamma.Widgets.ySpecComboBox(); this.comboOrganization.Name = "comboOrganization"; this.comboOrganization.AddIfNotExist = false; this.comboOrganization.DefaultFirst = false; this.comboOrganization.ShowSpecialStateAll = false; this.comboOrganization.ShowSpecialStateNot = false; this.hboxOrganization.Add(this.comboOrganization); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hboxOrganization[this.comboOrganization])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.vboxReport.Add(this.hboxOrganization); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxReport[this.hboxOrganization])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child vboxReport.Gtk.Box+BoxChild this.hboxChangeType = new global::Gtk.HBox(); this.hboxChangeType.Name = "hboxChangeType"; this.hboxChangeType.Spacing = 6; // Container child hboxChangeType.Gtk.Box+BoxChild this.ylabelChangeType = new global::Gamma.GtkWidgets.yLabel(); this.ylabelChangeType.Name = "ylabelChangeType"; this.ylabelChangeType.Yalign = 0F; this.ylabelChangeType.LabelProp = global::Mono.Unix.Catalog.GetString("Типы изменений:"); this.hboxChangeType.Add(this.ylabelChangeType); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hboxChangeType[this.ylabelChangeType])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hboxChangeType.Gtk.Box+BoxChild this.ytreeviewChangeTypes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewChangeTypes.CanFocus = true; this.ytreeviewChangeTypes.Name = "ytreeviewChangeTypes"; this.hboxChangeType.Add(this.ytreeviewChangeTypes); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxChangeType[this.ytreeviewChangeTypes])); w9.Position = 1; this.vboxReport.Add(this.hboxChangeType); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxReport[this.hboxChangeType])); w10.Position = 3; w10.Expand = false; w10.Fill = false; // Container child vboxReport.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.ylabelIssuesType = new global::Gamma.GtkWidgets.yLabel(); this.ylabelIssuesType.Name = "ylabelIssuesType"; this.ylabelIssuesType.Yalign = 0F; this.ylabelIssuesType.LabelProp = global::Mono.Unix.Catalog.GetString("Типы проблем:"); this.hbox2.Add(this.ylabelIssuesType); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.ylabelIssuesType])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.ytreeviewIssueTypes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewIssueTypes.CanFocus = true; this.ytreeviewIssueTypes.Name = "ytreeviewIssueTypes"; this.hbox2.Add(this.ytreeviewIssueTypes); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.ytreeviewIssueTypes])); w12.Position = 1; this.vboxReport.Add(this.hbox2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vboxReport[this.hbox2])); w13.Position = 4; w13.Expand = false; w13.Fill = false; // Container child vboxReport.Gtk.Box+BoxChild this.ytextview1 = new global::Gamma.GtkWidgets.yTextView(); this.ytextview1.Buffer.Text = global::Mono.Unix.Catalog.GetString("Описание:\nВ отчет попадает информация об изменении полей заказа \nи товаров заказа" + ", после того как заказ был доставлен.\nПоиск идет по заказам за выбранный интерва" + "л с выбранными \nтипами изменений и организацией ."); this.ytextview1.CanFocus = true; this.ytextview1.Name = "ytextview1"; this.ytextview1.Editable = false; this.vboxReport.Add(this.ytextview1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vboxReport[this.ytextview1])); w14.Position = 5; w14.Expand = false; w14.Fill = false; // Container child vboxReport.Gtk.Box+BoxChild this.buttonCreateReport = new global::Gtk.Button(); this.buttonCreateReport.Sensitive = false; this.buttonCreateReport.CanFocus = true; this.buttonCreateReport.Name = "buttonCreateReport"; this.buttonCreateReport.UseUnderline = true; this.buttonCreateReport.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.vboxReport.Add(this.buttonCreateReport); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vboxReport[this.buttonCreateReport])); w15.PackType = ((global::Gtk.PackType)(1)); w15.Position = 7; w15.Expand = false; w15.Fill = false; this.Add(this.vboxReport); if ((this.Child != null)) { this.Child.ShowAll(); } this.ylabelDateWarning.Hide(); this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.WriteoffDocumentDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.WriteoffDocumentDlg"; // Container child Vodovoz.WriteoffDocumentDlg.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(6)); // Container child vbox4.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox5.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox5.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonPrint = new global::Gtk.Button(); this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w5; this.hbox5.Add(this.buttonPrint); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonPrint])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox4.Add(this.hbox5); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox5])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.tableWriteoff = new global::Gtk.Table(((uint)(4)), ((uint)(4)), false); this.tableWriteoff.Name = "tableWriteoff"; this.tableWriteoff.RowSpacing = ((uint)(6)); this.tableWriteoff.ColumnSpacing = ((uint)(6)); // Container child tableWriteoff.Gtk.Table+TableChild this.comboType = new global::Gamma.Widgets.yEnumComboBox(); this.comboType.CanFocus = true; this.comboType.Name = "comboType"; this.comboType.ShowSpecialStateAll = false; this.comboType.ShowSpecialStateNot = false; this.comboType.UseShortTitle = false; this.comboType.DefaultFirst = false; this.tableWriteoff.Add(this.comboType); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.comboType])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.textComment = new global::Gamma.GtkWidgets.yTextView(); this.textComment.CanFocus = true; this.textComment.Name = "textComment"; this.GtkScrolledWindow1.Add(this.textComment); this.tableWriteoff.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.GtkScrolledWindow1])); w10.TopAttach = ((uint)(3)); w10.BottomAttach = ((uint)(4)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.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 w11 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label1])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Ответственное лицо:"); this.tableWriteoff.Add(this.label12); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label12])); w12.LeftAttach = ((uint)(2)); w12.RightAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Тип списания:"); this.tableWriteoff.Add(this.label2); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label2])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.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 w14 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label4])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.Yalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.tableWriteoff.Add(this.label5); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label5])); w15.TopAttach = ((uint)(3)); w15.BottomAttach = ((uint)(4)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.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 w16 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label6])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.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 w17 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label7])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.labelTimeStamp = new global::Gamma.GtkWidgets.yLabel(); this.labelTimeStamp.Name = "labelTimeStamp"; this.labelTimeStamp.Xalign = 0F; this.tableWriteoff.Add(this.labelTimeStamp); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.labelTimeStamp])); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.referenceCounterparty = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.referenceCounterparty.Events = ((global::Gdk.EventMask)(256)); this.referenceCounterparty.Name = "referenceCounterparty"; this.tableWriteoff.Add(this.referenceCounterparty); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.referenceCounterparty])); 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)); // Container child tableWriteoff.Gtk.Table+TableChild this.referenceDeliveryPoint = new global::Gamma.Widgets.yEntryReference(); this.referenceDeliveryPoint.Events = ((global::Gdk.EventMask)(256)); this.referenceDeliveryPoint.Name = "referenceDeliveryPoint"; this.tableWriteoff.Add(this.referenceDeliveryPoint); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.referenceDeliveryPoint])); 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 tableWriteoff.Gtk.Table+TableChild this.repEntryEmployee = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.repEntryEmployee.Events = ((global::Gdk.EventMask)(256)); this.repEntryEmployee.Name = "repEntryEmployee"; this.tableWriteoff.Add(this.repEntryEmployee); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.repEntryEmployee])); w21.LeftAttach = ((uint)(3)); w21.RightAttach = ((uint)(4)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.ySpecCmbWarehouses = new global::Gamma.Widgets.ySpecComboBox(); this.ySpecCmbWarehouses.Name = "ySpecCmbWarehouses"; this.ySpecCmbWarehouses.AddIfNotExist = false; this.ySpecCmbWarehouses.DefaultFirst = false; this.ySpecCmbWarehouses.ShowSpecialStateAll = false; this.ySpecCmbWarehouses.ShowSpecialStateNot = true; this.tableWriteoff.Add(this.ySpecCmbWarehouses); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.ySpecCmbWarehouses])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.LeftAttach = ((uint)(3)); w22.RightAttach = ((uint)(4)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add(this.tableWriteoff); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.tableWriteoff])); w23.Position = 1; w23.Expand = false; w23.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.writeoffdocumentitemsview1 = new global::Vodovoz.WriteoffDocumentItemsView(); this.writeoffdocumentitemsview1.Events = ((global::Gdk.EventMask)(256)); this.writeoffdocumentitemsview1.Name = "writeoffdocumentitemsview1"; this.vbox4.Add(this.writeoffdocumentitemsview1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.writeoffdocumentitemsview1])); w24.PackType = ((global::Gtk.PackType)(1)); w24.Position = 2; this.Add(this.vbox4); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonPrint.Clicked += new global::System.EventHandler(this.OnButtonPrintClicked); this.referenceCounterparty.Changed += new global::System.EventHandler(this.OnReferenceCounterpartyChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Suppliers.RequestToSupplierView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Suppliers.RequestToSupplierView"; // Container child Vodovoz.Views.Suppliers.RequestToSupplierView.Gtk.Container+ContainerChild this.vbxMain = new global::Gtk.VBox(); this.vbxMain.Name = "vbxMain"; this.vbxMain.Spacing = 6; // Container child vbxMain.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.btnSave = new global::Gamma.GtkWidgets.yButton(); this.btnSave.CanFocus = true; this.btnSave.Name = "btnSave"; this.btnSave.UseUnderline = true; this.btnSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.btnSave.Image = w1; this.hboxDialogButtons.Add(this.btnSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.btnSave])); w2.Position = 0; w2.Expand = false; // Container child hboxDialogButtons.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("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.btnCancel.Image = w3; this.hboxDialogButtons.Add(this.btnCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.btnCancel])); w4.Position = 1; w4.Expand = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.btnRefresh = new global::Gamma.GtkWidgets.yButton(); this.btnRefresh.CanFocus = true; this.btnRefresh.Name = "btnRefresh"; this.btnRefresh.UseUnderline = true; global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu); this.btnRefresh.Image = w5; this.hboxDialogButtons.Add(this.btnRefresh); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.btnRefresh])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 2; w6.Expand = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.lblMsg = new global::Gamma.GtkWidgets.yLabel(); this.lblMsg.Name = "lblMsg"; this.lblMsg.Xalign = 1F; this.lblMsg.LabelProp = global::Mono.Unix.Catalog.GetString("<span foreground=\'red\'>Список цен не актуален! Требуется обновить --></span>"); this.lblMsg.UseMarkup = true; this.lblMsg.Selectable = true; this.hboxDialogButtons.Add(this.lblMsg); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.lblMsg])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 3; w7.Expand = false; this.vbxMain.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbxMain[this.hboxDialogButtons])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbxMain.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.chkDelayDays = new global::Gamma.GtkWidgets.yCheckButton(); this.chkDelayDays.CanFocus = true; this.chkDelayDays.Name = "chkDelayDays"; this.chkDelayDays.Label = global::Mono.Unix.Catalog.GetString("Только с отсрочкой"); this.chkDelayDays.DrawIndicator = true; this.chkDelayDays.UseUnderline = true; this.table1.Add(this.chkDelayDays); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.chkDelayDays])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(2)); w9.RightAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(0)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entName = new global::Gamma.GtkWidgets.yEntry(); this.entName.CanFocus = true; this.entName.Name = "entName"; this.entName.IsEditable = true; this.entName.InvisibleChar = '•'; this.table1.Add(this.entName); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.entName])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumCmbSuppliersOrdering = new global::Gamma.Widgets.yEnumComboBox(); this.enumCmbSuppliersOrdering.Name = "enumCmbSuppliersOrdering"; this.enumCmbSuppliersOrdering.ShowSpecialStateAll = false; this.enumCmbSuppliersOrdering.ShowSpecialStateNot = false; this.enumCmbSuppliersOrdering.UseShortTitle = false; this.enumCmbSuppliersOrdering.DefaultFirst = false; this.table1.Add(this.enumCmbSuppliersOrdering); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.enumCmbSuppliersOrdering])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumStatus = new global::Gamma.Widgets.yEnumComboBox(); this.enumStatus.Name = "enumStatus"; this.enumStatus.ShowSpecialStateAll = false; this.enumStatus.ShowSpecialStateNot = false; this.enumStatus.UseShortTitle = false; this.enumStatus.DefaultFirst = false; this.table1.Add(this.enumStatus); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.enumStatus])); w12.LeftAttach = ((uint)(3)); w12.RightAttach = ((uint)(4)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.txtComment = new global::Gamma.GtkWidgets.yTextView(); this.txtComment.CanFocus = true; this.txtComment.Name = "txtComment"; this.txtComment.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow.Add(this.txtComment); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblComment = new global::Gamma.GtkWidgets.yLabel(); this.lblComment.Name = "lblComment"; this.lblComment.Xalign = 1F; this.lblComment.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.table1.Add(this.lblComment); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.lblComment])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblName = new global::Gamma.GtkWidgets.yLabel(); this.lblName.Name = "lblName"; this.lblName.Xalign = 1F; this.lblName.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.table1.Add(this.lblName); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.lblName])); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblStatus = new global::Gamma.GtkWidgets.yLabel(); this.lblStatus.Name = "lblStatus"; this.lblStatus.Xalign = 1F; this.lblStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус:"); this.table1.Add(this.lblStatus); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.lblStatus])); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblSuppliersOrdering = new global::Gamma.GtkWidgets.yLabel(); this.lblSuppliersOrdering.Name = "lblSuppliersOrdering"; this.lblSuppliersOrdering.Xalign = 1F; this.lblSuppliersOrdering.LabelProp = global::Mono.Unix.Catalog.GetString("Кол-во поставщиков:"); this.table1.Add(this.lblSuppliersOrdering); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.lblSuppliersOrdering])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbxMain.Add(this.table1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbxMain[this.table1])); w19.Position = 1; w19.Expand = false; // Container child vbxMain.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.treeItems = new global::Gamma.GtkWidgets.yTreeView(); this.treeItems.CanFocus = true; this.treeItems.Name = "treeItems"; this.GtkScrolledWindow1.Add(this.treeItems); this.vbxMain.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbxMain[this.GtkScrolledWindow1])); w21.Position = 2; // Container child vbxMain.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.btnOpenItem = new global::Gamma.GtkWidgets.yButton(); this.btnOpenItem.CanFocus = true; this.btnOpenItem.Name = "btnOpenItem"; this.btnOpenItem.UseUnderline = true; this.btnOpenItem.Label = global::Mono.Unix.Catalog.GetString("Открыть"); global::Gtk.Image w22 = new global::Gtk.Image(); w22.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-open", global::Gtk.IconSize.Menu); this.btnOpenItem.Image = w22; this.hbox2.Add(this.btnOpenItem); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.btnOpenItem])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.lblMinimalTotalSum = new global::Gamma.GtkWidgets.yLabel(); this.lblMinimalTotalSum.Name = "lblMinimalTotalSum"; this.lblMinimalTotalSum.Xalign = 1F; this.lblMinimalTotalSum.LabelProp = global::Mono.Unix.Catalog.GetString("lblMinimalTotalSum"); this.hbox2.Add(this.lblMinimalTotalSum); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.lblMinimalTotalSum])); w24.Position = 2; this.vbxMain.Add(this.hbox2); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbxMain[this.hbox2])); w25.Position = 3; w25.Expand = false; w25.Fill = false; // Container child vbxMain.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.btnAdd = new global::Gamma.GtkWidgets.yButton(); this.btnAdd.CanFocus = true; this.btnAdd.Name = "btnAdd"; this.btnAdd.UseUnderline = true; this.btnAdd.Label = global::Mono.Unix.Catalog.GetString("ТМЦ"); global::Gtk.Image w26 = new global::Gtk.Image(); w26.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.btnAdd.Image = w26; this.hbox1.Add(this.btnAdd); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnAdd])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.btnRemove = new global::Gamma.GtkWidgets.yButton(); this.btnRemove.CanFocus = true; this.btnRemove.Name = "btnRemove"; this.btnRemove.UseUnderline = true; this.btnRemove.Label = global::Mono.Unix.Catalog.GetString("ТМЦ"); global::Gtk.Image w28 = new global::Gtk.Image(); w28.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.btnRemove.Image = w28; this.hbox1.Add(this.btnRemove); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnRemove])); w29.Position = 1; w29.Expand = false; w29.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.btnTransfer = new global::Gamma.GtkWidgets.yButton(); this.btnTransfer.CanFocus = true; this.btnTransfer.Name = "btnTransfer"; this.btnTransfer.UseUnderline = true; this.btnTransfer.Label = global::Mono.Unix.Catalog.GetString("Перенести в новую заявку"); global::Gtk.Image w30 = new global::Gtk.Image(); w30.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-redo", global::Gtk.IconSize.Menu); this.btnTransfer.Image = w30; this.hbox1.Add(this.btnTransfer); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnTransfer])); w31.PackType = ((global::Gtk.PackType)(1)); w31.Position = 2; w31.Expand = false; w31.Fill = false; this.vbxMain.Add(this.hbox1); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbxMain[this.hbox1])); w32.Position = 4; w32.Expand = false; w32.Fill = false; this.Add(this.vbxMain); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget QS.Project.Dialogs.GtkUI.UserDialog this.Name = "QS.Project.Dialogs.GtkUI.UserDialog"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.DefaultWidth = 1100; this.DefaultHeight = 850; // Internal child QS.Project.Dialogs.GtkUI.UserDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(5)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(9)); // Container child table1.Gtk.Table+TableChild this.entryEmail = new global::Gamma.GtkWidgets.yEntry(); this.entryEmail.CanFocus = true; this.entryEmail.Name = "entryEmail"; this.entryEmail.IsEditable = true; this.entryEmail.InvisibleChar = '●'; this.table1.Add(this.entryEmail); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entryEmail])); w2.TopAttach = ((uint)(4)); w2.BottomAttach = ((uint)(5)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryLogin = new global::Gamma.GtkWidgets.yEntry(); this.entryLogin.CanFocus = true; this.entryLogin.Name = "entryLogin"; this.entryLogin.IsEditable = true; this.entryLogin.InvisibleChar = '●'; this.table1.Add(this.entryLogin); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.entryLogin])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryName = new global::Gamma.GtkWidgets.yEntry(); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.InvisibleChar = '●'; this.table1.Add(this.entryName); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.entryName])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryPassword = new global::Gamma.GtkWidgets.yEntry(); this.entryPassword.CanFocus = true; this.entryPassword.Name = "entryPassword"; this.entryPassword.IsEditable = true; this.entryPassword.Visibility = false; this.entryPassword.InvisibleChar = '●'; this.table1.Add(this.entryPassword); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.entryPassword])); w5.TopAttach = ((uint)(3)); w5.BottomAttach = ((uint)(4)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("E-mail:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w6.TopAttach = ((uint)(4)); w6.BottomAttach = ((uint)(5)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Код:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.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 w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Пароль:"); this.table1.Add(this.label6); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label6])); w10.TopAttach = ((uint)(3)); w10.BottomAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelId = new global::Gamma.GtkWidgets.yLabel(); this.labelId.Name = "labelId"; this.labelId.Xalign = 0F; this.labelId.Selectable = true; this.table1.Add(this.labelId); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.labelId])); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add(this.table1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.table1])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.checkDeactivated = new global::Gamma.GtkWidgets.yCheckButton(); this.checkDeactivated.CanFocus = true; this.checkDeactivated.Name = "checkDeactivated"; this.checkDeactivated.Label = global::Mono.Unix.Catalog.GetString("Пользователь отключен"); this.checkDeactivated.DrawIndicator = true; this.checkDeactivated.UseUnderline = true; this.vbox4.Add(this.checkDeactivated); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.checkDeactivated])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.checkAdmin = new global::Gamma.GtkWidgets.yCheckButton(); this.checkAdmin.CanFocus = true; this.checkAdmin.Name = "checkAdmin"; this.checkAdmin.Label = global::Mono.Unix.Catalog.GetString("Администратор"); this.checkAdmin.DrawIndicator = true; this.checkAdmin.UseUnderline = true; this.vbox4.Add(this.checkAdmin); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.checkAdmin])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.vbox3.Add(this.vbox4); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.vbox4])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.hbox2.Add(this.vbox3); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox3])); w16.Position = 0; w16.Expand = false; w16.Fill = false; this.vbox5.Add(this.hbox2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox2])); w17.Position = 0; // Container child vbox5.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Комментарии</b>"); this.label5.UseMarkup = true; this.vbox5.Add(this.label5); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.label5])); w18.Position = 1; w18.Expand = false; // Container child vbox5.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textviewComments = new global::Gamma.GtkWidgets.yTextView(); this.textviewComments.CanFocus = true; this.textviewComments.Name = "textviewComments"; this.GtkScrolledWindow.Add(this.textviewComments); this.vbox5.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.GtkScrolledWindow])); w20.Position = 2; this.notebook1.Add(this.vbox5); // Notebook tab this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Информация"); this.notebook1.SetTabLabel(this.vbox5, this.label7); this.label7.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.userpermissionwidget = new global::QS.Widgets.GtkUI.UserPermissionWidget(); this.userpermissionwidget.Events = ((global::Gdk.EventMask)(256)); this.userpermissionwidget.Name = "userpermissionwidget"; this.notebook1.Add(this.userpermissionwidget); global::Gtk.Notebook.NotebookChild w22 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.userpermissionwidget])); w22.Position = 1; // Notebook tab this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Права"); this.notebook1.SetTabLabel(this.userpermissionwidget, this.label8); this.label8.ShowAll(); w1.Add(this.notebook1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(w1[this.notebook1])); w23.Position = 0; // Internal child QS.Project.Dialogs.GtkUI.UserDialog.ActionArea global::Gtk.HButtonBox w24 = this.ActionArea; w24.Name = "dialog1_ActionArea"; w24.Spacing = 10; w24.BorderWidth = ((uint)(5)); w24.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отмена"); global::Gtk.Image w25 = new global::Gtk.Image(); w25.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-cancel", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w25; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w26 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w24[this.buttonCancel])); w26.Expand = false; w26.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; this.buttonOk.Label = global::Mono.Unix.Catalog.GetString("Ок"); global::Gtk.Image w27 = new global::Gtk.Image(); w27.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-ok", global::Gtk.IconSize.Menu); this.buttonOk.Image = w27; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w28 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w24[this.buttonOk])); w28.Position = 1; w28.Expand = false; w28.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.CounterpartyDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.CounterpartyDlg"; // Container child Vodovoz.CounterpartyDlg.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.HeightRequest = 400; this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(6)); // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-floppy", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox1.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отмена"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.menuActions = new global::QSWidgetLib.MenuButton(); this.menuActions.CanFocus = true; this.menuActions.Name = "menuActions"; this.menuActions.UseUnderline = true; this.menuActions.UseMarkup = false; global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.menu.png"); this.menuActions.Image = w5; this.hbox1.Add(this.menuActions); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.menuActions])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox2.Add(this.hseparator1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hseparator1])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox19 = new global::Gtk.HBox(); this.hbox19.Name = "hbox19"; this.hbox19.Spacing = 6; // Container child hbox19.Gtk.Box+BoxChild this.radioInfo = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Информация")); this.radioInfo.CanFocus = true; this.radioInfo.Name = "radioInfo"; this.radioInfo.DrawIndicator = false; this.radioInfo.UseUnderline = true; this.radioInfo.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.hbox19.Add(this.radioInfo); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioInfo])); w9.Position = 0; // Container child hbox19.Gtk.Box+BoxChild this.radioContacts = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Контакты")); this.radioContacts.CanFocus = true; this.radioContacts.Name = "radioContacts"; this.radioContacts.DrawIndicator = false; this.radioContacts.UseUnderline = true; this.radioContacts.Group = this.radioInfo.Group; this.hbox19.Add(this.radioContacts); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioContacts])); w10.Position = 1; // Container child hbox19.Gtk.Box+BoxChild this.radioDetails = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Реквизиты")); this.radioDetails.CanFocus = true; this.radioDetails.Name = "radioDetails"; this.radioDetails.DrawIndicator = false; this.radioDetails.UseUnderline = true; this.radioDetails.Group = this.radioInfo.Group; this.hbox19.Add(this.radioDetails); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioDetails])); w11.Position = 2; // Container child hbox19.Gtk.Box+BoxChild this.radioCurators = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Кураторы")); this.radioCurators.CanFocus = true; this.radioCurators.Name = "radioCurators"; this.radioCurators.DrawIndicator = false; this.radioCurators.UseUnderline = true; this.radioCurators.Group = this.radioInfo.Group; this.hbox19.Add(this.radioCurators); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioCurators])); w12.Position = 3; // Container child hbox19.Gtk.Box+BoxChild this.radioContactPersons = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Контактные лица")); this.radioContactPersons.CanFocus = true; this.radioContactPersons.Name = "radioContactPersons"; this.radioContactPersons.DrawIndicator = false; this.radioContactPersons.UseUnderline = true; this.radioContactPersons.Group = this.radioInfo.Group; this.hbox19.Add(this.radioContactPersons); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioContactPersons])); w13.Position = 4; // Container child hbox19.Gtk.Box+BoxChild this.radiobuttonProxies = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Доверенности")); this.radiobuttonProxies.CanFocus = true; this.radiobuttonProxies.Name = "radiobuttonProxies"; this.radiobuttonProxies.DrawIndicator = false; this.radiobuttonProxies.UseUnderline = true; this.radiobuttonProxies.Group = this.radioInfo.Group; this.hbox19.Add(this.radiobuttonProxies); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radiobuttonProxies])); w14.Position = 5; // Container child hbox19.Gtk.Box+BoxChild this.radioContracts = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Договор")); this.radioContracts.CanFocus = true; this.radioContracts.Name = "radioContracts"; this.radioContracts.DrawIndicator = false; this.radioContracts.UseUnderline = true; this.radioContracts.Group = this.radioInfo.Group; this.hbox19.Add(this.radioContracts); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioContracts])); w15.Position = 6; // Container child hbox19.Gtk.Box+BoxChild this.radioDeliveryPoint = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Точки доставки")); this.radioDeliveryPoint.CanFocus = true; this.radioDeliveryPoint.Name = "radioDeliveryPoint"; this.radioDeliveryPoint.DrawIndicator = false; this.radioDeliveryPoint.UseUnderline = true; this.radioDeliveryPoint.Group = this.radioInfo.Group; this.hbox19.Add(this.radioDeliveryPoint); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioDeliveryPoint])); w16.Position = 7; this.vbox2.Add(this.hbox19); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox19])); w17.Position = 2; w17.Expand = false; w17.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild global::Gtk.Viewport w18 = new global::Gtk.Viewport(); w18.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(11)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.datalegalname1 = new global::QSOrmProject.yLegalName(); this.datalegalname1.Events = ((global::Gdk.EventMask)(256)); this.datalegalname1.Name = "datalegalname1"; this.table1.Add(this.datalegalname1); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.datalegalname1])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(4)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryFIO = new global::Gamma.GtkWidgets.yEntry(); this.entryFIO.CanFocus = true; this.entryFIO.Name = "entryFIO"; this.entryFIO.IsEditable = true; this.entryFIO.InvisibleChar = '●'; this.table1.Add(this.entryFIO); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.entryFIO])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryFullName = new global::Gamma.GtkWidgets.yEntry(); this.entryFullName.CanFocus = true; this.entryFullName.Name = "entryFullName"; this.entryFullName.IsEditable = true; this.entryFullName.MaxLength = 300; this.entryFullName.InvisibleChar = '●'; this.table1.Add(this.entryFullName); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.entryFullName])); w21.TopAttach = ((uint)(3)); w21.BottomAttach = ((uint)(4)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumDefaultDocumentType = new global::Gamma.Widgets.yEnumComboBox(); this.enumDefaultDocumentType.Name = "enumDefaultDocumentType"; this.enumDefaultDocumentType.ShowSpecialStateAll = false; this.enumDefaultDocumentType.ShowSpecialStateNot = false; this.enumDefaultDocumentType.UseShortTitle = false; this.enumDefaultDocumentType.DefaultFirst = false; this.table1.Add(this.enumDefaultDocumentType); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.enumDefaultDocumentType])); w22.TopAttach = ((uint)(8)); w22.BottomAttach = ((uint)(9)); w22.LeftAttach = ((uint)(3)); w22.RightAttach = ((uint)(4)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumPayment = new global::Gamma.Widgets.yEnumComboBox(); this.enumPayment.Name = "enumPayment"; this.enumPayment.ShowSpecialStateAll = false; this.enumPayment.ShowSpecialStateNot = false; this.enumPayment.UseShortTitle = false; this.enumPayment.DefaultFirst = false; this.table1.Add(this.enumPayment); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.enumPayment])); w23.TopAttach = ((uint)(8)); w23.BottomAttach = ((uint)(9)); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(2)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow5 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow5.Name = "GtkScrolledWindow5"; this.GtkScrolledWindow5.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow5.Gtk.Container+ContainerChild this.dataWaybillComment = new global::Gamma.GtkWidgets.yTextView(); this.dataWaybillComment.CanFocus = true; this.dataWaybillComment.Name = "dataWaybillComment"; this.GtkScrolledWindow5.Add(this.dataWaybillComment); this.table1.Add(this.GtkScrolledWindow5); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow5])); w25.TopAttach = ((uint)(10)); w25.BottomAttach = ((uint)(11)); w25.LeftAttach = ((uint)(3)); w25.RightAttach = ((uint)(4)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow6 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow6.Name = "GtkScrolledWindow6"; this.GtkScrolledWindow6.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow6.Gtk.Container+ContainerChild this.dataComment = new global::Gamma.GtkWidgets.yTextView(); this.dataComment.CanFocus = true; this.dataComment.Name = "dataComment"; this.GtkScrolledWindow6.Add(this.dataComment); this.table1.Add(this.GtkScrolledWindow6); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow6])); w27.TopAttach = ((uint)(10)); w27.BottomAttach = ((uint)(11)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox17 = new global::Gtk.HBox(); this.hbox17.Name = "hbox17"; this.hbox17.Spacing = 6; // Container child hbox17.Gtk.Box+BoxChild this.enumPersonType = new global::Gamma.Widgets.yEnumComboBox(); this.enumPersonType.Name = "enumPersonType"; this.enumPersonType.ShowSpecialStateAll = false; this.enumPersonType.ShowSpecialStateNot = false; this.enumPersonType.UseShortTitle = false; this.enumPersonType.DefaultFirst = false; this.hbox17.Add(this.enumPersonType); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.enumPersonType])); w28.Position = 0; // Container child hbox17.Gtk.Box+BoxChild this.ycheckIsArchived = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckIsArchived.TooltipMarkup = "Больше не работаем с этим клиентом"; this.ycheckIsArchived.CanFocus = true; this.ycheckIsArchived.Name = "ycheckIsArchived"; this.ycheckIsArchived.Label = global::Mono.Unix.Catalog.GetString("Архивный"); this.ycheckIsArchived.DrawIndicator = true; this.ycheckIsArchived.UseUnderline = true; this.hbox17.Add(this.ycheckIsArchived); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.ycheckIsArchived])); w29.Position = 1; w29.Expand = false; w29.Fill = false; this.table1.Add(this.hbox17); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox17])); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label19 = new global::Gtk.Label(); this.label19.Name = "label19"; this.label19.Xalign = 1F; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString(" Максимальная\nсумма кредита:"); this.table1.Add(this.label19); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1[this.label19])); w31.TopAttach = ((uint)(9)); w31.BottomAttach = ((uint)(10)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label25 = new global::Gtk.Label(); this.label25.Name = "label25"; this.label25.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий\nдля накладной:"); this.label25.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.label25); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1[this.label25])); w32.TopAttach = ((uint)(10)); w32.BottomAttach = ((uint)(11)); w32.LeftAttach = ((uint)(2)); w32.RightAttach = ((uint)(3)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label26 = new global::Gtk.Label(); this.label26.Name = "label26"; this.label26.Xalign = 1F; this.label26.LabelProp = global::Mono.Unix.Catalog.GetString(" Форма оплаты \n(по умолчанию):"); this.table1.Add(this.label26); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1[this.label26])); w33.TopAttach = ((uint)(8)); w33.BottomAttach = ((uint)(9)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label31 = new global::Gtk.Label(); this.label31.Name = "label31"; this.label31.Xalign = 1F; this.label31.LabelProp = global::Mono.Unix.Catalog.GetString("Внутренний\nкомментарий:"); this.label31.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.label31); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1[this.label31])); w34.TopAttach = ((uint)(10)); w34.BottomAttach = ((uint)(11)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Предыдущий контрагент:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w35.TopAttach = ((uint)(5)); w35.BottomAttach = ((uint)(6)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Статус:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w36.TopAttach = ((uint)(6)); w36.BottomAttach = ((uint)(7)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Значимость:"); this.table1.Add(this.label6); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table1[this.label6])); w37.TopAttach = ((uint)(7)); w37.BottomAttach = ((uint)(8)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Форма контрагента:"); this.table1.Add(this.label8); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Тип контрагента:"); this.table1.Add(this.label9); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1[this.label9])); w39.TopAttach = ((uint)(6)); w39.BottomAttach = ((uint)(7)); w39.LeftAttach = ((uint)(2)); w39.RightAttach = ((uint)(3)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDefaultDocumentType = new global::Gtk.Label(); this.labelDefaultDocumentType.Name = "labelDefaultDocumentType"; this.labelDefaultDocumentType.Xalign = 1F; this.labelDefaultDocumentType.LabelProp = global::Mono.Unix.Catalog.GetString("Тип документов\n(по умолчанию):"); this.table1.Add(this.labelDefaultDocumentType); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDefaultDocumentType])); w40.TopAttach = ((uint)(8)); w40.BottomAttach = ((uint)(9)); w40.LeftAttach = ((uint)(2)); w40.RightAttach = ((uint)(3)); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDefaultExpense = new global::Gtk.Label(); this.labelDefaultExpense.Name = "labelDefaultExpense"; this.labelDefaultExpense.Xalign = 1F; this.labelDefaultExpense.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода\nпо-умолчанию:"); this.table1.Add(this.labelDefaultExpense); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDefaultExpense])); w41.TopAttach = ((uint)(9)); w41.BottomAttach = ((uint)(10)); w41.LeftAttach = ((uint)(2)); w41.RightAttach = ((uint)(3)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelFIO = new global::Gtk.Label(); this.labelFIO.Name = "labelFIO"; this.labelFIO.Xalign = 1F; this.labelFIO.LabelProp = global::Mono.Unix.Catalog.GetString("Ф.И.О.:"); this.table1.Add(this.labelFIO); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table1[this.labelFIO])); w42.TopAttach = ((uint)(1)); w42.BottomAttach = ((uint)(2)); w42.XOptions = ((global::Gtk.AttachOptions)(4)); w42.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelFullName = new global::Gtk.Label(); this.labelFullName.Name = "labelFullName"; this.labelFullName.Xalign = 1F; this.labelFullName.LabelProp = global::Mono.Unix.Catalog.GetString("Полное наименование:"); this.table1.Add(this.labelFullName); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table1[this.labelFullName])); w43.TopAttach = ((uint)(3)); w43.BottomAttach = ((uint)(4)); w43.XOptions = ((global::Gtk.AttachOptions)(4)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelMainCounterparty = new global::Gtk.Label(); this.labelMainCounterparty.Name = "labelMainCounterparty"; this.labelMainCounterparty.Xalign = 1F; this.labelMainCounterparty.LabelProp = global::Mono.Unix.Catalog.GetString("Головная организация:"); this.table1.Add(this.labelMainCounterparty); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table1[this.labelMainCounterparty])); w44.TopAttach = ((uint)(4)); w44.BottomAttach = ((uint)(5)); w44.XOptions = ((global::Gtk.AttachOptions)(4)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelShort = new global::Gtk.Label(); this.labelShort.Name = "labelShort"; this.labelShort.Xalign = 1F; this.labelShort.LabelProp = global::Mono.Unix.Catalog.GetString("Наименование:"); this.table1.Add(this.labelShort); global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.table1[this.labelShort])); w45.TopAttach = ((uint)(2)); w45.BottomAttach = ((uint)(3)); w45.XOptions = ((global::Gtk.AttachOptions)(4)); w45.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referenceDefaultExpense = new global::Gamma.Widgets.yEntryReference(); this.referenceDefaultExpense.Events = ((global::Gdk.EventMask)(256)); this.referenceDefaultExpense.Name = "referenceDefaultExpense"; this.referenceDefaultExpense.DisplayFields = new string[] { "Name"}; this.table1.Add(this.referenceDefaultExpense); global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceDefaultExpense])); w46.TopAttach = ((uint)(9)); w46.BottomAttach = ((uint)(10)); w46.LeftAttach = ((uint)(3)); w46.RightAttach = ((uint)(4)); w46.XOptions = ((global::Gtk.AttachOptions)(4)); w46.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referenceMainCounterparty = new global::Gamma.Widgets.yEntryReferenceVM(); this.referenceMainCounterparty.Events = ((global::Gdk.EventMask)(256)); this.referenceMainCounterparty.Name = "referenceMainCounterparty"; this.table1.Add(this.referenceMainCounterparty); global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceMainCounterparty])); w47.TopAttach = ((uint)(4)); w47.BottomAttach = ((uint)(5)); w47.LeftAttach = ((uint)(1)); w47.RightAttach = ((uint)(4)); w47.XOptions = ((global::Gtk.AttachOptions)(4)); w47.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referencePreviousCounterparty = new global::Gamma.Widgets.yEntryReferenceVM(); this.referencePreviousCounterparty.Events = ((global::Gdk.EventMask)(256)); this.referencePreviousCounterparty.Name = "referencePreviousCounterparty"; this.table1.Add(this.referencePreviousCounterparty); global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.table1[this.referencePreviousCounterparty])); w48.TopAttach = ((uint)(5)); w48.BottomAttach = ((uint)(6)); w48.LeftAttach = ((uint)(1)); w48.RightAttach = ((uint)(4)); w48.XOptions = ((global::Gtk.AttachOptions)(4)); w48.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referenceSignificance = new global::Gamma.Widgets.yEntryReference(); this.referenceSignificance.Events = ((global::Gdk.EventMask)(256)); this.referenceSignificance.Name = "referenceSignificance"; this.referenceSignificance.DisplayFields = new string[] { "Name"}; this.table1.Add(this.referenceSignificance); global::Gtk.Table.TableChild w49 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceSignificance])); w49.TopAttach = ((uint)(7)); w49.BottomAttach = ((uint)(8)); w49.LeftAttach = ((uint)(1)); w49.RightAttach = ((uint)(2)); w49.XOptions = ((global::Gtk.AttachOptions)(4)); w49.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referenceStatus = new global::Gamma.Widgets.yEntryReference(); this.referenceStatus.Events = ((global::Gdk.EventMask)(256)); this.referenceStatus.Name = "referenceStatus"; this.referenceStatus.DisplayFields = new string[] { "Name"}; this.table1.Add(this.referenceStatus); global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceStatus])); w50.TopAttach = ((uint)(6)); w50.BottomAttach = ((uint)(7)); w50.LeftAttach = ((uint)(1)); w50.RightAttach = ((uint)(2)); w50.XOptions = ((global::Gtk.AttachOptions)(4)); w50.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinMaxCredit = new global::Gamma.GtkWidgets.ySpinButton(0, 1000000, 100); this.spinMaxCredit.CanFocus = true; this.spinMaxCredit.Name = "spinMaxCredit"; this.spinMaxCredit.ValueAsDecimal = 0m; this.spinMaxCredit.ValueAsInt = 0; this.table1.Add(this.spinMaxCredit); global::Gtk.Table.TableChild w51 = ((global::Gtk.Table.TableChild)(this.table1[this.spinMaxCredit])); w51.TopAttach = ((uint)(9)); w51.BottomAttach = ((uint)(10)); w51.LeftAttach = ((uint)(1)); w51.RightAttach = ((uint)(2)); w51.XOptions = ((global::Gtk.AttachOptions)(4)); w51.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vboxCooperation = new global::Gtk.VBox(); this.vboxCooperation.Name = "vboxCooperation"; this.vboxCooperation.Spacing = 1; // Container child vboxCooperation.Gtk.Box+BoxChild this.checkCustomer = new global::Gamma.GtkWidgets.yCheckButton(); this.checkCustomer.CanFocus = true; this.checkCustomer.Name = "checkCustomer"; this.checkCustomer.Label = global::Mono.Unix.Catalog.GetString("Покупатель"); this.checkCustomer.DrawIndicator = true; this.checkCustomer.UseUnderline = true; this.vboxCooperation.Add(this.checkCustomer); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vboxCooperation[this.checkCustomer])); w52.Position = 0; w52.Expand = false; w52.Fill = false; // Container child vboxCooperation.Gtk.Box+BoxChild this.checkSupplier = new global::Gamma.GtkWidgets.yCheckButton(); this.checkSupplier.CanFocus = true; this.checkSupplier.Name = "checkSupplier"; this.checkSupplier.Label = global::Mono.Unix.Catalog.GetString("Поставщик"); this.checkSupplier.DrawIndicator = true; this.checkSupplier.UseUnderline = true; this.vboxCooperation.Add(this.checkSupplier); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vboxCooperation[this.checkSupplier])); w53.Position = 1; w53.Expand = false; w53.Fill = false; // Container child vboxCooperation.Gtk.Box+BoxChild this.checkPartner = new global::Gamma.GtkWidgets.yCheckButton(); this.checkPartner.CanFocus = true; this.checkPartner.Name = "checkPartner"; this.checkPartner.Label = global::Mono.Unix.Catalog.GetString("Партнер"); this.checkPartner.DrawIndicator = true; this.checkPartner.UseUnderline = true; this.vboxCooperation.Add(this.checkPartner); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vboxCooperation[this.checkPartner])); w54.Position = 2; w54.Expand = false; w54.Fill = false; this.table1.Add(this.vboxCooperation); global::Gtk.Table.TableChild w55 = ((global::Gtk.Table.TableChild)(this.table1[this.vboxCooperation])); w55.TopAttach = ((uint)(6)); w55.BottomAttach = ((uint)(8)); w55.LeftAttach = ((uint)(3)); w55.RightAttach = ((uint)(4)); w55.XOptions = ((global::Gtk.AttachOptions)(4)); w55.YOptions = ((global::Gtk.AttachOptions)(0)); w18.Add(this.table1); this.GtkScrolledWindow4.Add(w18); this.notebook1.Add(this.GtkScrolledWindow4); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Информация"); this.notebook1.SetTabLabel(this.GtkScrolledWindow4, this.label1); this.label1.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.datatable2 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.datatable2.Name = "datatable2"; this.datatable2.RowSpacing = ((uint)(6)); this.datatable2.ColumnSpacing = ((uint)(6)); this.datatable2.BorderWidth = ((uint)(6)); // Container child datatable2.Gtk.Table+TableChild this.dataentryFinancialContact = new global::Gamma.Widgets.yEntryReferenceVM(); this.dataentryFinancialContact.Events = ((global::Gdk.EventMask)(256)); this.dataentryFinancialContact.Name = "dataentryFinancialContact"; this.datatable2.Add(this.dataentryFinancialContact); global::Gtk.Table.TableChild w59 = ((global::Gtk.Table.TableChild)(this.datatable2[this.dataentryFinancialContact])); w59.TopAttach = ((uint)(3)); w59.BottomAttach = ((uint)(4)); w59.LeftAttach = ((uint)(1)); w59.RightAttach = ((uint)(2)); w59.XOptions = ((global::Gtk.AttachOptions)(4)); w59.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.dataentryMainContact = new global::Gamma.Widgets.yEntryReferenceVM(); this.dataentryMainContact.Events = ((global::Gdk.EventMask)(256)); this.dataentryMainContact.Name = "dataentryMainContact"; this.datatable2.Add(this.dataentryMainContact); global::Gtk.Table.TableChild w60 = ((global::Gtk.Table.TableChild)(this.datatable2[this.dataentryMainContact])); w60.TopAttach = ((uint)(2)); w60.BottomAttach = ((uint)(3)); w60.LeftAttach = ((uint)(1)); w60.RightAttach = ((uint)(2)); w60.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.emailsView = new global::QSContacts.EmailsView(); this.emailsView.Events = ((global::Gdk.EventMask)(256)); this.emailsView.Name = "emailsView"; this.datatable2.Add(this.emailsView); global::Gtk.Table.TableChild w61 = ((global::Gtk.Table.TableChild)(this.datatable2[this.emailsView])); w61.TopAttach = ((uint)(1)); w61.BottomAttach = ((uint)(2)); w61.LeftAttach = ((uint)(1)); w61.RightAttach = ((uint)(2)); w61.XOptions = ((global::Gtk.AttachOptions)(4)); w61.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Общий e-mail:"); this.datatable2.Add(this.label11); global::Gtk.Table.TableChild w62 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label11])); w62.TopAttach = ((uint)(1)); w62.BottomAttach = ((uint)(2)); w62.XOptions = ((global::Gtk.AttachOptions)(4)); w62.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.Xalign = 1F; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Главное контактное лицо:"); this.datatable2.Add(this.label12); global::Gtk.Table.TableChild w63 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label12])); w63.TopAttach = ((uint)(2)); w63.BottomAttach = ((uint)(3)); w63.XOptions = ((global::Gtk.AttachOptions)(4)); w63.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.Xalign = 1F; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Контактное лицо по \nфинансовым вопросам:"); this.label13.UseMarkup = true; this.datatable2.Add(this.label13); global::Gtk.Table.TableChild w64 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label13])); w64.TopAttach = ((uint)(3)); w64.BottomAttach = ((uint)(4)); w64.XOptions = ((global::Gtk.AttachOptions)(4)); w64.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.label18 = new global::Gtk.Label(); this.label18.Name = "label18"; this.label18.Xalign = 1F; this.label18.LabelProp = global::Mono.Unix.Catalog.GetString("Общие телефоны:"); this.datatable2.Add(this.label18); global::Gtk.Table.TableChild w65 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label18])); w65.XOptions = ((global::Gtk.AttachOptions)(4)); w65.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.phonesView = new global::QSContacts.PhonesView(); this.phonesView.Events = ((global::Gdk.EventMask)(256)); this.phonesView.Name = "phonesView"; this.datatable2.Add(this.phonesView); global::Gtk.Table.TableChild w66 = ((global::Gtk.Table.TableChild)(this.datatable2[this.phonesView])); w66.LeftAttach = ((uint)(1)); w66.RightAttach = ((uint)(2)); w66.XOptions = ((global::Gtk.AttachOptions)(4)); w66.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebook1.Add(this.datatable2); global::Gtk.Notebook.NotebookChild w67 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.datatable2])); w67.Position = 1; // Notebook tab this.label20 = new global::Gtk.Label(); this.label20.Name = "label20"; this.label20.LabelProp = global::Mono.Unix.Catalog.GetString("Контакты"); this.notebook1.SetTabLabel(this.datatable2, this.label20); this.label20.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; this.vbox6.BorderWidth = ((uint)(6)); // Container child vbox6.Gtk.Box+BoxChild this.datatable4 = new global::Gtk.Table(((uint)(3)), ((uint)(4)), false); this.datatable4.Name = "datatable4"; this.datatable4.RowSpacing = ((uint)(6)); this.datatable4.ColumnSpacing = ((uint)(6)); // Container child datatable4.Gtk.Table+TableChild this.entryJurAddress = new global::Gamma.GtkWidgets.yEntry(); this.entryJurAddress.CanFocus = true; this.entryJurAddress.Name = "entryJurAddress"; this.entryJurAddress.IsEditable = true; this.entryJurAddress.InvisibleChar = '●'; this.datatable4.Add(this.entryJurAddress); global::Gtk.Table.TableChild w68 = ((global::Gtk.Table.TableChild)(this.datatable4[this.entryJurAddress])); w68.TopAttach = ((uint)(2)); w68.BottomAttach = ((uint)(3)); w68.LeftAttach = ((uint)(1)); w68.RightAttach = ((uint)(2)); w68.XOptions = ((global::Gtk.AttachOptions)(4)); w68.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label17 = new global::Gtk.Label(); this.label17.Name = "label17"; this.label17.Xalign = 1F; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString("В лице:"); this.datatable4.Add(this.label17); global::Gtk.Table.TableChild w69 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label17])); w69.TopAttach = ((uint)(1)); w69.BottomAttach = ((uint)(2)); w69.LeftAttach = ((uint)(2)); w69.RightAttach = ((uint)(3)); w69.XOptions = ((global::Gtk.AttachOptions)(4)); w69.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label27 = new global::Gtk.Label(); this.label27.Name = "label27"; this.label27.Xalign = 1F; this.label27.LabelProp = global::Mono.Unix.Catalog.GetString("ИНН:"); this.datatable4.Add(this.label27); global::Gtk.Table.TableChild w70 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label27])); w70.XOptions = ((global::Gtk.AttachOptions)(4)); w70.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label28 = new global::Gtk.Label(); this.label28.Name = "label28"; this.label28.Xalign = 1F; this.label28.LabelProp = global::Mono.Unix.Catalog.GetString("КПП:"); this.datatable4.Add(this.label28); global::Gtk.Table.TableChild w71 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label28])); w71.TopAttach = ((uint)(1)); w71.BottomAttach = ((uint)(2)); w71.XOptions = ((global::Gtk.AttachOptions)(4)); w71.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label29 = new global::Gtk.Label(); this.label29.Name = "label29"; this.label29.Xalign = 1F; this.label29.LabelProp = global::Mono.Unix.Catalog.GetString("Юр. адрес:"); this.datatable4.Add(this.label29); global::Gtk.Table.TableChild w72 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label29])); w72.TopAttach = ((uint)(2)); w72.BottomAttach = ((uint)(3)); w72.XOptions = ((global::Gtk.AttachOptions)(4)); w72.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label32 = new global::Gtk.Label(); this.label32.Name = "label32"; this.label32.Xalign = 1F; this.label32.LabelProp = global::Mono.Unix.Catalog.GetString("На основании:"); this.datatable4.Add(this.label32); global::Gtk.Table.TableChild w73 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label32])); w73.TopAttach = ((uint)(2)); w73.BottomAttach = ((uint)(3)); w73.LeftAttach = ((uint)(2)); w73.RightAttach = ((uint)(3)); w73.XOptions = ((global::Gtk.AttachOptions)(4)); w73.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("ФИО для договора:"); this.datatable4.Add(this.label7); global::Gtk.Table.TableChild w74 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label7])); w74.LeftAttach = ((uint)(2)); w74.RightAttach = ((uint)(3)); w74.XOptions = ((global::Gtk.AttachOptions)(4)); w74.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.validatedINN = new global::Gamma.Widgets.yValidatedEntry(); this.validatedINN.CanFocus = true; this.validatedINN.Name = "validatedINN"; this.validatedINN.IsEditable = true; this.validatedINN.MaxLength = 12; this.validatedINN.InvisibleChar = '●'; this.datatable4.Add(this.validatedINN); global::Gtk.Table.TableChild w75 = ((global::Gtk.Table.TableChild)(this.datatable4[this.validatedINN])); w75.LeftAttach = ((uint)(1)); w75.RightAttach = ((uint)(2)); w75.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.validatedKPP = new global::Gamma.Widgets.yValidatedEntry(); this.validatedKPP.CanFocus = true; this.validatedKPP.Name = "validatedKPP"; this.validatedKPP.IsEditable = true; this.validatedKPP.MaxLength = 9; this.validatedKPP.InvisibleChar = '●'; this.datatable4.Add(this.validatedKPP); global::Gtk.Table.TableChild w76 = ((global::Gtk.Table.TableChild)(this.datatable4[this.validatedKPP])); w76.TopAttach = ((uint)(1)); w76.BottomAttach = ((uint)(2)); w76.LeftAttach = ((uint)(1)); w76.RightAttach = ((uint)(2)); w76.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.yentrySignBaseOf = new global::Gamma.GtkWidgets.yEntry(); this.yentrySignBaseOf.CanFocus = true; this.yentrySignBaseOf.Name = "yentrySignBaseOf"; this.yentrySignBaseOf.IsEditable = true; this.yentrySignBaseOf.InvisibleChar = '●'; this.datatable4.Add(this.yentrySignBaseOf); global::Gtk.Table.TableChild w77 = ((global::Gtk.Table.TableChild)(this.datatable4[this.yentrySignBaseOf])); w77.TopAttach = ((uint)(2)); w77.BottomAttach = ((uint)(3)); w77.LeftAttach = ((uint)(3)); w77.RightAttach = ((uint)(4)); w77.XOptions = ((global::Gtk.AttachOptions)(4)); w77.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.yentrySignFIO = new global::Gamma.GtkWidgets.yEntry(); this.yentrySignFIO.CanFocus = true; this.yentrySignFIO.Name = "yentrySignFIO"; this.yentrySignFIO.IsEditable = true; this.yentrySignFIO.InvisibleChar = '●'; this.datatable4.Add(this.yentrySignFIO); global::Gtk.Table.TableChild w78 = ((global::Gtk.Table.TableChild)(this.datatable4[this.yentrySignFIO])); w78.LeftAttach = ((uint)(3)); w78.RightAttach = ((uint)(4)); w78.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.yentrySignPost = new global::Gamma.GtkWidgets.yEntry(); this.yentrySignPost.CanFocus = true; this.yentrySignPost.Name = "yentrySignPost"; this.yentrySignPost.IsEditable = true; this.yentrySignPost.InvisibleChar = '●'; this.datatable4.Add(this.yentrySignPost); global::Gtk.Table.TableChild w79 = ((global::Gtk.Table.TableChild)(this.datatable4[this.yentrySignPost])); w79.TopAttach = ((uint)(1)); w79.BottomAttach = ((uint)(2)); w79.LeftAttach = ((uint)(3)); w79.RightAttach = ((uint)(4)); w79.XOptions = ((global::Gtk.AttachOptions)(4)); w79.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox6.Add(this.datatable4); global::Gtk.Box.BoxChild w80 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.datatable4])); w80.Position = 0; w80.Expand = false; w80.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.accountsView = new global::QSBanks.AccountsView(); this.accountsView.Events = ((global::Gdk.EventMask)(256)); this.accountsView.Name = "accountsView"; this.vbox6.Add(this.accountsView); global::Gtk.Box.BoxChild w81 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.accountsView])); w81.Position = 1; this.notebook1.Add(this.vbox6); global::Gtk.Notebook.NotebookChild w82 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox6])); w82.Position = 2; // Notebook tab this.label21 = new global::Gtk.Label(); this.label21.Name = "label21"; this.label21.LabelProp = global::Mono.Unix.Catalog.GetString("Реквизиты"); this.notebook1.SetTabLabel(this.vbox6, this.label21); this.label21.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.datatable3 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.datatable3.Name = "datatable3"; this.datatable3.RowSpacing = ((uint)(6)); this.datatable3.ColumnSpacing = ((uint)(6)); this.datatable3.BorderWidth = ((uint)(6)); // Container child datatable3.Gtk.Table+TableChild this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.Xalign = 1F; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Менеджер по продажам:"); this.datatable3.Add(this.label14); global::Gtk.Table.TableChild w83 = ((global::Gtk.Table.TableChild)(this.datatable3[this.label14])); w83.XOptions = ((global::Gtk.AttachOptions)(4)); w83.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable3.Gtk.Table+TableChild this.label22 = new global::Gtk.Label(); this.label22.Name = "label22"; this.label22.Xalign = 1F; this.label22.LabelProp = global::Mono.Unix.Catalog.GetString("Бухгалтер:"); this.datatable3.Add(this.label22); global::Gtk.Table.TableChild w84 = ((global::Gtk.Table.TableChild)(this.datatable3[this.label22])); w84.TopAttach = ((uint)(1)); w84.BottomAttach = ((uint)(2)); w84.XOptions = ((global::Gtk.AttachOptions)(4)); w84.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable3.Gtk.Table+TableChild this.label23 = new global::Gtk.Label(); this.label23.Name = "label23"; this.label23.Xalign = 1F; this.label23.LabelProp = global::Mono.Unix.Catalog.GetString("Менеджер по бутылям:"); this.datatable3.Add(this.label23); global::Gtk.Table.TableChild w85 = ((global::Gtk.Table.TableChild)(this.datatable3[this.label23])); w85.TopAttach = ((uint)(2)); w85.BottomAttach = ((uint)(3)); w85.XOptions = ((global::Gtk.AttachOptions)(4)); w85.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable3.Gtk.Table+TableChild this.referenceAccountant = new global::Gamma.Widgets.yEntryReference(); this.referenceAccountant.Events = ((global::Gdk.EventMask)(256)); this.referenceAccountant.Name = "referenceAccountant"; this.referenceAccountant.DisplayFields = new string[] { "LastName", "Name", "Patronymic"}; this.referenceAccountant.DisplayFormatString = "{0} {1} {2}"; this.datatable3.Add(this.referenceAccountant); global::Gtk.Table.TableChild w86 = ((global::Gtk.Table.TableChild)(this.datatable3[this.referenceAccountant])); w86.TopAttach = ((uint)(1)); w86.BottomAttach = ((uint)(2)); w86.LeftAttach = ((uint)(1)); w86.RightAttach = ((uint)(2)); w86.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable3.Gtk.Table+TableChild this.referenceBottleManager = new global::Gamma.Widgets.yEntryReference(); this.referenceBottleManager.Events = ((global::Gdk.EventMask)(256)); this.referenceBottleManager.Name = "referenceBottleManager"; this.referenceBottleManager.DisplayFields = new string[] { "LastName", "Name", "Patronymic"}; this.referenceBottleManager.DisplayFormatString = "{0} {1} {2}"; this.datatable3.Add(this.referenceBottleManager); global::Gtk.Table.TableChild w87 = ((global::Gtk.Table.TableChild)(this.datatable3[this.referenceBottleManager])); w87.TopAttach = ((uint)(2)); w87.BottomAttach = ((uint)(3)); w87.LeftAttach = ((uint)(1)); w87.RightAttach = ((uint)(2)); w87.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable3.Gtk.Table+TableChild this.referenceSalesManager = new global::Gamma.Widgets.yEntryReference(); this.referenceSalesManager.Events = ((global::Gdk.EventMask)(256)); this.referenceSalesManager.Name = "referenceSalesManager"; this.referenceSalesManager.DisplayFields = new string[] { "LastName", "Name", "Patronymic"}; this.referenceSalesManager.DisplayFormatString = "{0} {1} {2}"; this.datatable3.Add(this.referenceSalesManager); global::Gtk.Table.TableChild w88 = ((global::Gtk.Table.TableChild)(this.datatable3[this.referenceSalesManager])); w88.LeftAttach = ((uint)(1)); w88.RightAttach = ((uint)(2)); w88.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebook1.Add(this.datatable3); global::Gtk.Notebook.NotebookChild w89 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.datatable3])); w89.Position = 3; // Notebook tab this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Кураторы"); this.notebook1.SetTabLabel(this.datatable3, this.label10); this.label10.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.contactsview1 = new global::Vodovoz.ContactsView(); this.contactsview1.Events = ((global::Gdk.EventMask)(256)); this.contactsview1.Name = "contactsview1"; this.notebook1.Add(this.contactsview1); global::Gtk.Notebook.NotebookChild w90 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.contactsview1])); w90.Position = 4; // Notebook tab this.label24 = new global::Gtk.Label(); this.label24.Name = "label24"; this.label24.LabelProp = global::Mono.Unix.Catalog.GetString("Контактные лица"); this.notebook1.SetTabLabel(this.contactsview1, this.label24); this.label24.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.proxiesview1 = new global::Vodovoz.ProxyView(); this.proxiesview1.Events = ((global::Gdk.EventMask)(256)); this.proxiesview1.Name = "proxiesview1"; this.notebook1.Add(this.proxiesview1); global::Gtk.Notebook.NotebookChild w91 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.proxiesview1])); w91.Position = 5; // Notebook tab this.label30 = new global::Gtk.Label(); this.label30.Name = "label30"; this.label30.LabelProp = global::Mono.Unix.Catalog.GetString("Доверенности"); this.notebook1.SetTabLabel(this.proxiesview1, this.label30); this.label30.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.counterpartyContractsView = new global::Vodovoz.CounterpartyContractsView(); this.counterpartyContractsView.Events = ((global::Gdk.EventMask)(256)); this.counterpartyContractsView.Name = "counterpartyContractsView"; this.notebook1.Add(this.counterpartyContractsView); global::Gtk.Notebook.NotebookChild w92 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.counterpartyContractsView])); w92.Position = 6; // Notebook tab this.label34 = new global::Gtk.Label(); this.label34.Name = "label34"; this.label34.LabelProp = global::Mono.Unix.Catalog.GetString("Договор"); this.notebook1.SetTabLabel(this.counterpartyContractsView, this.label34); this.label34.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox9 = new global::Gtk.VBox(); this.vbox9.Name = "vbox9"; this.vbox9.Spacing = 6; this.vbox9.BorderWidth = ((uint)(6)); // Container child vbox9.Gtk.Box+BoxChild this.deliveryPointView = new global::Vodovoz.DeliveryPointView(); this.deliveryPointView.Events = ((global::Gdk.EventMask)(256)); this.deliveryPointView.Name = "deliveryPointView"; this.vbox9.Add(this.deliveryPointView); global::Gtk.Box.BoxChild w93 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.deliveryPointView])); w93.Position = 0; this.notebook1.Add(this.vbox9); global::Gtk.Notebook.NotebookChild w94 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox9])); w94.Position = 7; // Notebook tab this.label40 = new global::Gtk.Label(); this.label40.Name = "label40"; this.label40.LabelProp = global::Mono.Unix.Catalog.GetString("Точки доставки"); this.notebook1.SetTabLabel(this.vbox9, this.label40); this.label40.ShowAll(); this.vbox2.Add(this.notebook1); global::Gtk.Box.BoxChild w95 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.notebook1])); w95.Position = 3; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.labelDefaultExpense.Hide(); this.referenceDefaultExpense.Hide(); this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.radioInfo.Toggled += new global::System.EventHandler(this.OnRadioInfoToggled); this.radioContacts.Toggled += new global::System.EventHandler(this.OnRadioContactsToggled); this.radioDetails.Toggled += new global::System.EventHandler(this.OnRadioDetailsToggled); this.radioCurators.Toggled += new global::System.EventHandler(this.OnRadioCuratorsToggled); this.radioContactPersons.Toggled += new global::System.EventHandler(this.OnRadioContactPersonsToggled); this.radiobuttonProxies.Toggled += new global::System.EventHandler(this.OnRadiobuttonProxiesToggled); this.radioContracts.Toggled += new global::System.EventHandler(this.OnRadioContractsToggled); this.radioDeliveryPoint.Toggled += new global::System.EventHandler(this.OnRadioDeliveryPointToggled); this.checkSupplier.Toggled += new global::System.EventHandler(this.OnCheckSupplierToggled); this.referencePreviousCounterparty.ChangedByUser += new global::System.EventHandler(this.OnReferencePreviousCounterpartyChangedByUser); this.referenceMainCounterparty.ChangedByUser += new global::System.EventHandler(this.OnReferenceMainCounterpartyChangedByUser); this.enumPersonType.Changed += new global::System.EventHandler(this.OnEnumPersonTypeChanged); this.enumPayment.EnumItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnEnumPaymentEnumItemSelected); this.yentrySignPost.FocusInEvent += new global::Gtk.FocusInEventHandler(this.OnYentrySignPostFocusInEvent); this.yentrySignBaseOf.FocusInEvent += new global::Gtk.FocusInEventHandler(this.OnYentrySignBaseOfFocusInEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Dialogs.Organization.VacationTypeDlg global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Dialogs.Organization.VacationTypeDlg"; // Container child workwear.Dialogs.Organization.VacationTypeDlg.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.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewComments = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewComments.CanFocus = true; this.ytextviewComments.Name = "ytextviewComments"; this.GtkScrolledWindow.Add(this.ytextviewComments); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); // 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 w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.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 w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.Yalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycheckExcludeTime = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckExcludeTime.CanFocus = true; this.ycheckExcludeTime.Name = "ycheckExcludeTime"; this.ycheckExcludeTime.Label = ""; this.ycheckExcludeTime.DrawIndicator = true; this.ycheckExcludeTime.UseUnderline = true; this.table1.Add(this.ycheckExcludeTime); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.ycheckExcludeTime])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryName = new global::Gamma.GtkWidgets.yEntry(); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.InvisibleChar = '●'; this.table1.Add(this.yentryName); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryName])); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add(this.table1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.table1])); w13.Position = 1; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ViewWidgets.DeliveryPriceView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ViewWidgets.DeliveryPriceView"; // Container child Vodovoz.ViewWidgets.DeliveryPriceView.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.wageTypeValueLabel = new global::Gamma.GtkWidgets.yLabel(); this.wageTypeValueLabel.Name = "wageTypeValueLabel"; this.wageTypeValueLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Unknown"); this.hbox7.Add(this.wageTypeValueLabel); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.wageTypeValueLabel])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.yTxtWarehouses = new global::Gamma.GtkWidgets.yTextView(); this.yTxtWarehouses.CanFocus = true; this.yTxtWarehouses.Name = "yTxtWarehouses"; this.yTxtWarehouses.Editable = false; this.yTxtWarehouses.AcceptsTab = false; this.yTxtWarehouses.WrapMode = ((global::Gtk.WrapMode)(2)); this.hbox7.Add(this.yTxtWarehouses); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.yTxtWarehouses])); w2.Position = 1; this.vbox2.Add(this.hbox7); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox7])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Район дост.:"); this.label10.Justify = ((global::Gtk.Justification)(1)); this.hbox4.Add(this.label10); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.label10])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.lblDistrict = new global::Gtk.Label(); this.lblDistrict.Name = "lblDistrict"; this.lblDistrict.LabelProp = global::Mono.Unix.Catalog.GetString("Unknown"); this.hbox4.Add(this.lblDistrict); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.lblDistrict])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.vbox2.Add(this.hbox4); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox4])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w7.Position = 2; // Container child vbox2.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("График доставки:"); this.hbox6.Add(this.label9); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.label9])); w8.Position = 0; w8.Expand = false; w8.Fill = false; this.vbox2.Add(this.hbox6); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox6])); w9.Position = 3; w9.Expand = false; w9.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.ylabelSchedules = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSchedules.Name = "ylabelSchedules"; this.ylabelSchedules.Xalign = 0F; this.vbox2.Add(this.ylabelSchedules); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.ylabelSchedules])); w10.Position = 4; w10.Expand = false; w10.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hboxTreeView = new global::Gtk.HBox(); this.hboxTreeView.Name = "hboxTreeView"; this.hboxTreeView.Spacing = 6; // Container child hboxTreeView.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.ytreeviewPrices = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewPrices.HeightRequest = 300; this.ytreeviewPrices.CanFocus = true; this.ytreeviewPrices.Name = "ytreeviewPrices"; this.GtkScrolledWindow.Add(this.ytreeviewPrices); this.hboxTreeView.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hboxTreeView[this.GtkScrolledWindow])); w12.Position = 0; this.vbox2.Add(this.hboxTreeView); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hboxTreeView])); w13.Position = 5; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Settings.GeneralSettingsView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Settings.GeneralSettingsView"; // Container child Vodovoz.Views.Settings.GeneralSettingsView.Gtk.Container+ContainerChild this.vboxMain = new global::Gamma.GtkWidgets.yVBox(); this.vboxMain.Name = "vboxMain"; this.vboxMain.Spacing = 6; // Container child vboxMain.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.btnSaveCanAddForwardersToLargus = new global::Gamma.GtkWidgets.yButton(); this.btnSaveCanAddForwardersToLargus.CanFocus = true; this.btnSaveCanAddForwardersToLargus.Name = "btnSaveCanAddForwardersToLargus"; this.btnSaveCanAddForwardersToLargus.UseUnderline = true; this.btnSaveCanAddForwardersToLargus.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); this.table1.Add(this.btnSaveCanAddForwardersToLargus); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.btnSaveCanAddForwardersToLargus])); w1.TopAttach = ((uint)(2)); w1.BottomAttach = ((uint)(3)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.btnSaveRouteListPrintedPhones = new global::Gamma.GtkWidgets.yButton(); this.btnSaveRouteListPrintedPhones.CanFocus = true; this.btnSaveRouteListPrintedPhones.Name = "btnSaveRouteListPrintedPhones"; this.btnSaveRouteListPrintedPhones.UseUnderline = true; this.btnSaveRouteListPrintedPhones.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); this.table1.Add(this.btnSaveRouteListPrintedPhones); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.btnSaveRouteListPrintedPhones])); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.table1.Add(this.hseparator1); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.hseparator1])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vboxRouteListPrintedFormPhones = new global::Gamma.GtkWidgets.yVBox(); this.vboxRouteListPrintedFormPhones.HeightRequest = 80; this.vboxRouteListPrintedFormPhones.Name = "vboxRouteListPrintedFormPhones"; this.vboxRouteListPrintedFormPhones.Spacing = 6; // Container child vboxRouteListPrintedFormPhones.Gtk.Box+BoxChild this.lblRouteListPrintedFormPhones = new global::Gamma.GtkWidgets.yLabel(); this.lblRouteListPrintedFormPhones.Name = "lblRouteListPrintedFormPhones"; this.lblRouteListPrintedFormPhones.Xalign = 0F; this.lblRouteListPrintedFormPhones.LabelProp = global::Mono.Unix.Catalog.GetString("Телефоны для печатной формы МЛ:"); this.vboxRouteListPrintedFormPhones.Add(this.lblRouteListPrintedFormPhones); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxRouteListPrintedFormPhones[this.lblRouteListPrintedFormPhones])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vboxRouteListPrintedFormPhones.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.textviewRouteListPrintedFormPhones = new global::Gamma.GtkWidgets.yTextView(); this.textviewRouteListPrintedFormPhones.CanFocus = true; this.textviewRouteListPrintedFormPhones.Name = "textviewRouteListPrintedFormPhones"; this.GtkScrolledWindow.Add(this.textviewRouteListPrintedFormPhones); this.vboxRouteListPrintedFormPhones.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vboxRouteListPrintedFormPhones[this.GtkScrolledWindow])); w6.Position = 1; this.table1.Add(this.vboxRouteListPrintedFormPhones); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.vboxRouteListPrintedFormPhones])); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycheckCanAddForwardersToLargus = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckCanAddForwardersToLargus.CanFocus = true; this.ycheckCanAddForwardersToLargus.Name = "ycheckCanAddForwardersToLargus"; this.ycheckCanAddForwardersToLargus.Label = global::Mono.Unix.Catalog.GetString("Можно добавлять экспедиторов к ларгусам"); this.ycheckCanAddForwardersToLargus.DrawIndicator = true; this.ycheckCanAddForwardersToLargus.UseUnderline = true; this.table1.Add(this.ycheckCanAddForwardersToLargus); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.ycheckCanAddForwardersToLargus])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxMain.Add(this.table1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.table1])); w9.Position = 0; w9.Expand = false; w9.Fill = false; this.Add(this.vboxMain); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Stock.WarehouseTransferView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Stock.WarehouseTransferView"; // Container child workwear.Views.Stock.WarehouseTransferView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox3.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox3.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.hbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.hbox3])); w5.Position = 0; w5.Expand = false; w5.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(4)), ((uint)(4)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.datepicker = new global::QS.Widgets.GtkUI.DatePicker(); this.datepicker.Events = ((global::Gdk.EventMask)(256)); this.datepicker.Name = "datepicker"; this.datepicker.WithTime = false; this.datepicker.HideCalendarButton = false; this.datepicker.Date = new global::System.DateTime(0); this.datepicker.IsEditable = true; this.datepicker.AutoSeparation = true; this.table2.Add(this.datepicker); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2[this.datepicker])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.entityentryWarehouseFrom = new global::QS.Views.Control.EntityEntry(); this.entityentryWarehouseFrom.Events = ((global::Gdk.EventMask)(256)); this.entityentryWarehouseFrom.Name = "entityentryWarehouseFrom"; this.table2.Add(this.entityentryWarehouseFrom); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2[this.entityentryWarehouseFrom])); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(1)); // Container child table2.Gtk.Table+TableChild this.entityentryWarehouseTo = new global::QS.Views.Control.EntityEntry(); this.entityentryWarehouseTo.Events = ((global::Gdk.EventMask)(256)); this.entityentryWarehouseTo.Name = "entityentryWarehouseTo"; this.table2.Add(this.entityentryWarehouseTo); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2[this.entityentryWarehouseTo])); 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 table2.Gtk.Table+TableChild this.entryNumber = new global::Gamma.GtkWidgets.yEntry(); this.entryNumber.Sensitive = false; this.entryNumber.CanFocus = true; this.entryNumber.Name = "entryNumber"; this.entryNumber.IsEditable = true; this.entryNumber.InvisibleChar = '●'; this.table2.Add(this.entryNumber); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2[this.entryNumber])); w10.LeftAttach = ((uint)(3)); w10.RightAttach = ((uint)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entryUser = new global::Gamma.GtkWidgets.yEntry(); this.entryUser.Sensitive = false; this.entryUser.CanFocus = true; this.entryUser.Name = "entryUser"; this.entryUser.IsEditable = false; this.entryUser.InvisibleChar = '●'; this.table2.Add(this.entryUser); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2[this.entryUser])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(3)); w11.RightAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextComment.CanFocus = true; this.ytextComment.Name = "ytextComment"; this.ytextComment.AcceptsTab = false; this.ytextComment.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add(this.ytextComment); this.table2.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2[this.GtkScrolledWindow])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(4)); w13.LeftAttach = ((uint)(3)); w13.RightAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Склад отправитель:"); this.table2.Add(this.label1); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2[this.label1])); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.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.table2.Add(this.label2); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2[this.label2])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.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.table2.Add(this.label3); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2[this.label3])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.LeftAttach = ((uint)(2)); w16.RightAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Номер:"); this.table2.Add(this.label5); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2[this.label5])); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Пользователь:"); this.table2.Add(this.label6); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2[this.label6])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.LeftAttach = ((uint)(2)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.table2.Add(this.label7); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2[this.label7])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table2])); w20.Position = 1; w20.Expand = false; w20.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Номенклатура"); this.hbox7.Add(this.label4); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.label4])); w21.Position = 0; w21.Expand = false; w21.Fill = false; this.vbox1.Add(this.hbox7); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox7])); w22.Position = 2; w22.Expand = false; w22.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.table = new global::Gamma.GtkWidgets.yTreeView(); this.table.CanFocus = true; this.table.Name = "table"; this.GtkScrolledWindow1.Add(this.table); this.vbox1.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow1])); w24.Position = 3; // Container child vbox1.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.buttonAddItem = new global::Gtk.Button(); this.buttonAddItem.CanFocus = true; this.buttonAddItem.Name = "buttonAddItem"; this.buttonAddItem.UseUnderline = true; this.buttonAddItem.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w25 = new global::Gtk.Image(); w25.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddItem.Image = w25; this.hbox9.Add(this.buttonAddItem); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.buttonAddItem])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.buttonRemoveItem = new global::Gtk.Button(); this.buttonRemoveItem.Sensitive = false; this.buttonRemoveItem.CanFocus = true; this.buttonRemoveItem.Name = "buttonRemoveItem"; this.buttonRemoveItem.UseUnderline = true; this.buttonRemoveItem.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w27 = new global::Gtk.Image(); w27.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveItem.Image = w27; this.hbox9.Add(this.buttonRemoveItem); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.buttonRemoveItem])); w28.Position = 1; w28.Expand = false; w28.Fill = false; this.hbox8.Add(this.hbox9); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.hbox9])); w29.Position = 0; w29.Expand = false; w29.Fill = false; this.vbox1.Add(this.hbox8); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox8])); w30.Position = 4; w30.Expand = false; w30.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonAddItem.Clicked += new global::System.EventHandler(this.OnButtonAddClicked); this.buttonRemoveItem.Clicked += new global::System.EventHandler(this.OnButtonDelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.RegradingOfGoodsDocumentDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.RegradingOfGoodsDocumentDlg"; // Container child Vodovoz.RegradingOfGoodsDocumentDlg.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(6)); // Container child vbox4.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox5.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox5.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox4.Add (this.hbox5); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox5])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.tableWriteoff = new global::Gtk.DataBindings.DataTable (((uint)(2)), ((uint)(4)), false); this.tableWriteoff.Name = "tableWriteoff"; this.tableWriteoff.RowSpacing = ((uint)(6)); this.tableWriteoff.ColumnSpacing = ((uint)(6)); this.tableWriteoff.InheritedDataSource = false; this.tableWriteoff.InheritedBoundaryDataSource = false; this.tableWriteoff.InheritedDataSource = false; this.tableWriteoff.InheritedBoundaryDataSource = false; // Container child tableWriteoff.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewCommnet = new global::Gamma.GtkWidgets.yTextView (); this.ytextviewCommnet.CanFocus = true; this.ytextviewCommnet.Name = "ytextviewCommnet"; this.GtkScrolledWindow.Add (this.ytextviewCommnet); this.tableWriteoff.Add (this.GtkScrolledWindow); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.GtkScrolledWindow])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(4)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата:"); this.tableWriteoff.Add (this.label1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label1])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Склад:"); this.tableWriteoff.Add (this.label4); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label4])); w9.LeftAttach = ((uint)(2)); w9.RightAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.Yalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Комментарий:"); this.tableWriteoff.Add (this.label5); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label5])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.yentryrefWarehouse = new global::Gamma.Widgets.yEntryReference (); this.yentryrefWarehouse.Events = ((global::Gdk.EventMask)(256)); this.yentryrefWarehouse.Name = "yentryrefWarehouse"; this.tableWriteoff.Add (this.yentryrefWarehouse); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.yentryrefWarehouse])); w11.LeftAttach = ((uint)(3)); w11.RightAttach = ((uint)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.ylabelDate = new global::Gamma.GtkWidgets.yLabel (); this.ylabelDate.Name = "ylabelDate"; this.ylabelDate.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1"); this.tableWriteoff.Add (this.ylabelDate); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.ylabelDate])); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add (this.tableWriteoff); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.tableWriteoff])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.regradingofgoodsitemsview = new global::Vodovoz.RegradingOfGoodsDocumentItemsView (); this.regradingofgoodsitemsview.Events = ((global::Gdk.EventMask)(256)); this.regradingofgoodsitemsview.Name = "regradingofgoodsitemsview"; this.vbox4.Add (this.regradingofgoodsitemsview); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.regradingofgoodsitemsview])); w14.Position = 2; this.Add (this.vbox4); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Stock.WriteOffView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Stock.WriteOffView"; // Container child workwear.Views.Stock.WriteOffView.Gtk.Container+ContainerChild this.dialog1_VBox = new global::Gtk.VBox(); this.dialog1_VBox.Name = "dialog1_VBox"; this.dialog1_VBox.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.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.dialog1_VBox.Add(this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(3)); // Container child hbox1.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Номер:"); this.table2.Add(this.label4); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2[this.label4])); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ylabelId = new global::Gamma.GtkWidgets.yLabel(); this.ylabelId.Name = "ylabelId"; this.ylabelId.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel3"); this.table2.Add(this.ylabelId); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2[this.ylabelId])); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table2])); w8.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.GtkScrolledWindowComments = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindowComments.Name = "GtkScrolledWindowComments"; this.GtkScrolledWindowComments.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowComments.Gtk.Container+ContainerChild this.ytextComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextComment.CanFocus = true; this.ytextComment.Name = "ytextComment"; this.ytextComment.AcceptsTab = false; this.ytextComment.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindowComments.Add(this.ytextComment); this.table3.Add(this.GtkScrolledWindowComments); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table3[this.GtkScrolledWindowComments])); 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 table3.Gtk.Table+TableChild this.label26 = new global::Gtk.Label(); this.label26.Name = "label26"; this.label26.Xalign = 1F; this.label26.Yalign = 0F; this.label26.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.table3.Add(this.label26); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table3[this.label26])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Пользователь:"); this.table3.Add(this.label5); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table3[this.label5])); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Дата<span foreground=\"red\">*</span>:"); this.label6.UseMarkup = true; this.table3.Add(this.label6); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table3[this.label6])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ydateDoc = new global::QS.Widgets.GtkUI.DatePicker(); this.ydateDoc.Events = ((global::Gdk.EventMask)(256)); this.ydateDoc.Name = "ydateDoc"; this.ydateDoc.WithTime = false; this.ydateDoc.HideCalendarButton = false; this.ydateDoc.Date = new global::System.DateTime(0); this.ydateDoc.IsEditable = true; this.ydateDoc.AutoSeparation = true; this.table3.Add(this.ydateDoc); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table3[this.ydateDoc])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ylabelCreatedBy = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCreatedBy.Name = "ylabelCreatedBy"; this.ylabelCreatedBy.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.table3.Add(this.ylabelCreatedBy); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table3[this.ylabelCreatedBy])); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table3); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table3])); w16.Position = 1; this.dialog1_VBox.Add(this.hbox1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox1])); w17.Position = 1; w17.Expand = false; w17.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Списание материальных ценностей"); this.hbox3.Add(this.label1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label1])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonFillBuhDoc = new global::Gamma.GtkWidgets.yButton(); this.buttonFillBuhDoc.CanFocus = true; this.buttonFillBuhDoc.Name = "buttonFillBuhDoc"; this.buttonFillBuhDoc.Label = global::Mono.Unix.Catalog.GetString("Заменить бух. документ"); global::Gtk.Image w19 = new global::Gtk.Image(); w19.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "stock_copy", global::Gtk.IconSize.Menu); this.buttonFillBuhDoc.Image = w19; this.hbox3.Add(this.buttonFillBuhDoc); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonFillBuhDoc])); w20.PackType = ((global::Gtk.PackType)(1)); w20.Position = 1; w20.Expand = false; w20.Fill = false; this.vbox2.Add(this.hbox3); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child vbox2.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.ytreeItems = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeItems.CanFocus = true; this.ytreeItems.Name = "ytreeItems"; this.GtkScrolledWindow.Add(this.ytreeItems); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow])); w23.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonAddStore = new global::Gtk.Button(); this.buttonAddStore.CanFocus = true; this.buttonAddStore.Name = "buttonAddStore"; this.buttonAddStore.UseUnderline = true; this.buttonAddStore.Label = global::Mono.Unix.Catalog.GetString("Со склада"); global::Gtk.Image w24 = new global::Gtk.Image(); w24.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddStore.Image = w24; this.hbox5.Add(this.buttonAddStore); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonAddStore])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonAddWorker = new global::Gtk.Button(); this.buttonAddWorker.CanFocus = true; this.buttonAddWorker.Name = "buttonAddWorker"; this.buttonAddWorker.UseUnderline = true; this.buttonAddWorker.Label = global::Mono.Unix.Catalog.GetString("С работника"); global::Gtk.Image w26 = new global::Gtk.Image(); w26.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddWorker.Image = w26; this.hbox5.Add(this.buttonAddWorker); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonAddWorker])); w27.Position = 1; w27.Expand = false; w27.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonAddObject = new global::Gtk.Button(); this.buttonAddObject.CanFocus = true; this.buttonAddObject.Name = "buttonAddObject"; this.buttonAddObject.UseUnderline = true; this.buttonAddObject.Label = global::Mono.Unix.Catalog.GetString("С подразделения"); global::Gtk.Image w28 = new global::Gtk.Image(); w28.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddObject.Image = w28; this.hbox5.Add(this.buttonAddObject); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonAddObject])); w29.Position = 2; w29.Expand = false; w29.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonDel = new global::Gamma.GtkWidgets.yButton(); this.buttonDel.CanFocus = true; this.buttonDel.Name = "buttonDel"; this.buttonDel.UseStock = true; this.buttonDel.UseUnderline = true; this.buttonDel.Label = "gtk-remove"; this.hbox5.Add(this.buttonDel); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonDel])); w30.Position = 3; w30.Expand = false; w30.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.labelSum = new global::Gamma.GtkWidgets.yLabel(); this.labelSum.Name = "labelSum"; this.labelSum.Xalign = 1F; this.labelSum.LabelProp = global::Mono.Unix.Catalog.GetString("Количество:"); this.hbox5.Add(this.labelSum); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.labelSum])); w31.Position = 4; this.vbox2.Add(this.hbox5); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox5])); w32.Position = 2; w32.Expand = false; w32.Fill = false; this.dialog1_VBox.Add(this.vbox2); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.vbox2])); w33.Position = 2; this.Add(this.dialog1_VBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Stock.ExpenseEmployeeView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Stock.ExpenseEmployeeView"; // Container child workwear.Views.Stock.ExpenseEmployeeView.Gtk.Container+ContainerChild this.dialog1_VBox = new global::Gtk.VBox(); this.dialog1_VBox.Name = "dialog1_VBox"; this.dialog1_VBox.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.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.dialog1_VBox.Add(this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(3)); // Container child hbox1.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.entityWarehouseExpense = new global::QS.Views.Control.EntityEntry(); this.entityWarehouseExpense.Events = ((global::Gdk.EventMask)(256)); this.entityWarehouseExpense.Name = "entityWarehouseExpense"; this.table2.Add(this.entityWarehouseExpense); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2[this.entityWarehouseExpense])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.hboxIssuanceSheet = new global::Gtk.HBox(); this.hboxIssuanceSheet.Name = "hboxIssuanceSheet"; this.hboxIssuanceSheet.Spacing = 6; // Container child hboxIssuanceSheet.Gtk.Box+BoxChild this.buttonIssuanceSheetCreate = new global::Gtk.Button(); this.buttonIssuanceSheetCreate.CanFocus = true; this.buttonIssuanceSheetCreate.Name = "buttonIssuanceSheetCreate"; this.buttonIssuanceSheetCreate.UseUnderline = true; this.buttonIssuanceSheetCreate.Label = global::Mono.Unix.Catalog.GetString("Создать"); global::Gtk.Image w7 = new global::Gtk.Image(); w7.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-new", global::Gtk.IconSize.Menu); this.buttonIssuanceSheetCreate.Image = w7; this.hboxIssuanceSheet.Add(this.buttonIssuanceSheetCreate); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hboxIssuanceSheet[this.buttonIssuanceSheetCreate])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hboxIssuanceSheet.Gtk.Box+BoxChild this.buttonIssuanceSheetOpen = new global::Gtk.Button(); this.buttonIssuanceSheetOpen.CanFocus = true; this.buttonIssuanceSheetOpen.Name = "buttonIssuanceSheetOpen"; this.buttonIssuanceSheetOpen.UseUnderline = true; this.buttonIssuanceSheetOpen.Label = global::Mono.Unix.Catalog.GetString("Открыть"); global::Gtk.Image w9 = new global::Gtk.Image(); w9.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonIssuanceSheetOpen.Image = w9; this.hboxIssuanceSheet.Add(this.buttonIssuanceSheetOpen); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxIssuanceSheet[this.buttonIssuanceSheetOpen])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child hboxIssuanceSheet.Gtk.Box+BoxChild this.enumPrint = new global::QSOrmProject.EnumMenuButton(); this.enumPrint.CanFocus = true; this.enumPrint.Name = "enumPrint"; this.enumPrint.UseUnderline = true; this.enumPrint.UseMarkup = false; this.enumPrint.LabelXAlign = 0F; this.enumPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w11 = new global::Gtk.Image(); w11.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.enumPrint.Image = w11; this.hboxIssuanceSheet.Add(this.enumPrint); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hboxIssuanceSheet[this.enumPrint])); w12.Position = 2; w12.Expand = false; w12.Fill = false; this.table2.Add(this.hboxIssuanceSheet); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2[this.hboxIssuanceSheet])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.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("Операция<span foreground=\"red\">*</span>:"); this.label2.UseMarkup = true; this.table2.Add(this.label2); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2[this.label2])); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.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("Склад<span foreground=\"red\">*</span>:"); this.label3.UseMarkup = true; this.table2.Add(this.label3); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2[this.label3])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelIssuanceSheet = new global::Gtk.Label(); this.labelIssuanceSheet.Name = "labelIssuanceSheet"; this.labelIssuanceSheet.Xalign = 1F; this.labelIssuanceSheet.LabelProp = global::Mono.Unix.Catalog.GetString("Ведомость:"); this.table2.Add(this.labelIssuanceSheet); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2[this.labelIssuanceSheet])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelWorker = new global::Gtk.Label(); this.labelWorker.Name = "labelWorker"; this.labelWorker.Xalign = 1F; this.labelWorker.LabelProp = global::Mono.Unix.Catalog.GetString("Работник<span foreground=\"red\">*</span>:"); this.labelWorker.UseMarkup = true; this.table2.Add(this.labelWorker); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2[this.labelWorker])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ycomboOperation = new global::Gamma.Widgets.yEnumComboBox(); this.ycomboOperation.Name = "ycomboOperation"; this.ycomboOperation.ShowSpecialStateAll = false; this.ycomboOperation.ShowSpecialStateNot = false; this.ycomboOperation.UseShortTitle = false; this.ycomboOperation.DefaultFirst = false; this.table2.Add(this.ycomboOperation); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2[this.ycomboOperation])); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryEmployee = new global::QS.Views.Control.EntityEntry(); this.yentryEmployee.Events = ((global::Gdk.EventMask)(256)); this.yentryEmployee.Name = "yentryEmployee"; this.table2.Add(this.yentryEmployee); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2[this.yentryEmployee])); 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.table2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table2])); w20.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.GtkScrolledWindowComments = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindowComments.Name = "GtkScrolledWindowComments"; this.GtkScrolledWindowComments.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowComments.Gtk.Container+ContainerChild this.ytextComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextComment.CanFocus = true; this.ytextComment.Name = "ytextComment"; this.ytextComment.AcceptsTab = false; this.ytextComment.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindowComments.Add(this.ytextComment); this.table3.Add(this.GtkScrolledWindowComments); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table3[this.GtkScrolledWindowComments])); w22.TopAttach = ((uint)(3)); w22.BottomAttach = ((uint)(4)); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label26 = new global::Gtk.Label(); this.label26.Name = "label26"; this.label26.Xalign = 1F; this.label26.Yalign = 0F; this.label26.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.table3.Add(this.label26); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table3[this.label26])); w23.TopAttach = ((uint)(3)); w23.BottomAttach = ((uint)(4)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Номер:"); this.table3.Add(this.label4); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table3[this.label4])); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Пользователь:"); this.table3.Add(this.label5); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table3[this.label5])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Дата<span foreground=\"red\">*</span>:"); this.label6.UseMarkup = true; this.table3.Add(this.label6); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table3[this.label6])); w26.TopAttach = ((uint)(2)); w26.BottomAttach = ((uint)(3)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ydateDoc = new global::QS.Widgets.GtkUI.DatePicker(); this.ydateDoc.Events = ((global::Gdk.EventMask)(256)); this.ydateDoc.Name = "ydateDoc"; this.ydateDoc.WithTime = false; this.ydateDoc.HideCalendarButton = false; this.ydateDoc.Date = new global::System.DateTime(0); this.ydateDoc.IsEditable = true; this.ydateDoc.AutoSeparation = true; this.table3.Add(this.ydateDoc); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table3[this.ydateDoc])); w27.TopAttach = ((uint)(2)); w27.BottomAttach = ((uint)(3)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ylabelCreatedBy = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCreatedBy.Name = "ylabelCreatedBy"; this.ylabelCreatedBy.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.table3.Add(this.ylabelCreatedBy); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table3[this.ylabelCreatedBy])); w28.TopAttach = ((uint)(1)); w28.BottomAttach = ((uint)(2)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ylabelId = new global::Gamma.GtkWidgets.yLabel(); this.ylabelId.Name = "ylabelId"; this.ylabelId.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel3"); this.table3.Add(this.ylabelId); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table3[this.ylabelId])); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table3); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table3])); w30.Position = 1; this.dialog1_VBox.Add(this.hbox1); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox1])); w31.Position = 1; w31.Expand = false; w31.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.expensedocitememployeeview1 = new global::workwear.Views.Stock.ExpenseDocItemEmployeeView(); this.expensedocitememployeeview1.Events = ((global::Gdk.EventMask)(256)); this.expensedocitememployeeview1.Name = "expensedocitememployeeview1"; this.dialog1_VBox.Add(this.expensedocitememployeeview1); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.expensedocitememployeeview1])); w32.Position = 2; this.Add(this.dialog1_VBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.buttonIssuanceSheetCreate.Clicked += new global::System.EventHandler(this.OnButtonIssuanceSheetCreateClicked); this.buttonIssuanceSheetOpen.Clicked += new global::System.EventHandler(this.OnButtonIssuanceSheetOpenClicked); this.enumPrint.EnumItemClicked += new global::System.EventHandler <QSOrmProject.EnumItemClickedEventArgs>(this.OnEnumPrintEnumItemClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Cash.CashRequestView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Cash.CashRequestView"; // Container child Vodovoz.Dialogs.Cash.CashRequestView.Gtk.Container+ContainerChild this.vboxDialog = new global::Gtk.VBox(); this.vboxDialog.Name = "vboxDialog"; this.vboxDialog.Spacing = 6; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hboxDialogButtons.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hboxDialogButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.ylabelyourRoleIs = new global::Gamma.GtkWidgets.yLabel(); this.ylabelyourRoleIs.Name = "ylabelyourRoleIs"; this.ylabelyourRoleIs.LabelProp = global::Mono.Unix.Catalog.GetString("Роль:"); this.hboxDialogButtons.Add(this.ylabelyourRoleIs); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.ylabelyourRoleIs])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.ylabelRole = new global::Gamma.GtkWidgets.yLabel(); this.ylabelRole.Name = "ylabelRole"; this.ylabelRole.LabelProp = global::Mono.Unix.Catalog.GetString("."); this.hboxDialogButtons.Add(this.ylabelRole); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.ylabelRole])); w6.Position = 3; w6.Expand = false; w6.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.labelStatus = new global::Gamma.GtkWidgets.yLabel(); this.labelStatus.Name = "labelStatus"; this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус заявки:"); this.hboxDialogButtons.Add(this.labelStatus); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.labelStatus])); w7.Position = 4; w7.Expand = false; w7.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.ylabelStatus = new global::Gamma.GtkWidgets.yLabel(); this.ylabelStatus.Name = "ylabelStatus"; this.ylabelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("."); this.hboxDialogButtons.Add(this.ylabelStatus); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.ylabelStatus])); w8.Position = 5; w8.Expand = false; w8.Fill = false; this.vboxDialog.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxDialogButtons])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w10 = new global::Gtk.Viewport(); w10.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(19)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.AuthorEntityviewmodelentry = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.AuthorEntityviewmodelentry.Events = ((global::Gdk.EventMask)(256)); this.AuthorEntityviewmodelentry.Name = "AuthorEntityviewmodelentry"; this.AuthorEntityviewmodelentry.CanEditReference = false; this.table1.Add(this.AuthorEntityviewmodelentry); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.AuthorEntityviewmodelentry])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ExpenseCategoryEntityviewmodelentry = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.ExpenseCategoryEntityviewmodelentry.Events = ((global::Gdk.EventMask)(256)); this.ExpenseCategoryEntityviewmodelentry.Name = "ExpenseCategoryEntityviewmodelentry"; this.ExpenseCategoryEntityviewmodelentry.CanEditReference = false; this.table1.Add(this.ExpenseCategoryEntityviewmodelentry); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.ExpenseCategoryEntityviewmodelentry])); w12.TopAttach = ((uint)(13)); w12.BottomAttach = ((uint)(14)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytreeviewSums = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewSums.CanFocus = true; this.ytreeviewSums.Name = "ytreeviewSums"; this.GtkScrolledWindow.Add(this.ytreeviewSums); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(5)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.yentryReasonForSendToReapproval = new global::Gamma.GtkWidgets.yTextView(); this.yentryReasonForSendToReapproval.CanFocus = true; this.yentryReasonForSendToReapproval.Name = "yentryReasonForSendToReapproval"; this.GtkScrolledWindow1.Add(this.yentryReasonForSendToReapproval); this.table1.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow1])); w16.TopAttach = ((uint)(15)); w16.BottomAttach = ((uint)(16)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.yentryCancelReason = new global::Gamma.GtkWidgets.yTextView(); this.yentryCancelReason.CanFocus = true; this.yentryCancelReason.Name = "yentryCancelReason"; this.GtkScrolledWindow2.Add(this.yentryCancelReason); this.table1.Add(this.GtkScrolledWindow2); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow2])); w18.TopAttach = ((uint)(16)); w18.BottomAttach = ((uint)(17)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.yentryGround = new global::Gamma.GtkWidgets.yTextView(); this.yentryGround.CanFocus = true; this.yentryGround.Name = "yentryGround"; this.GtkScrolledWindow3.Add(this.yentryGround); this.table1.Add(this.GtkScrolledWindow3); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow3])); w20.TopAttach = ((uint)(6)); w20.BottomAttach = ((uint)(7)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.ybtnAccept = new global::Gamma.GtkWidgets.yButton(); this.ybtnAccept.CanFocus = true; this.ybtnAccept.Name = "ybtnAccept"; this.ybtnAccept.UseUnderline = true; this.ybtnAccept.Label = global::Mono.Unix.Catalog.GetString("Подтвердить"); this.hbox4.Add(this.ybtnAccept); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ybtnAccept])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ybtnApprove = new global::Gamma.GtkWidgets.yButton(); this.ybtnApprove.CanFocus = true; this.ybtnApprove.Name = "ybtnApprove"; this.ybtnApprove.UseUnderline = true; this.ybtnApprove.Label = global::Mono.Unix.Catalog.GetString("Согласовать"); this.hbox4.Add(this.ybtnApprove); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ybtnApprove])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ybtnConveyForResults = new global::Gamma.GtkWidgets.yButton(); this.ybtnConveyForResults.CanFocus = true; this.ybtnConveyForResults.Name = "ybtnConveyForResults"; this.ybtnConveyForResults.UseUnderline = true; this.ybtnConveyForResults.Label = global::Mono.Unix.Catalog.GetString("Передать на выдачу"); this.hbox4.Add(this.ybtnConveyForResults); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ybtnConveyForResults])); w23.Position = 2; w23.Expand = false; w23.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ybtnCancel = new global::Gamma.GtkWidgets.yButton(); this.ybtnCancel.CanFocus = true; this.ybtnCancel.Name = "ybtnCancel"; this.ybtnCancel.UseUnderline = true; this.ybtnCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить заявку"); this.hbox4.Add(this.ybtnCancel); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ybtnCancel])); w24.Position = 3; w24.Expand = false; w24.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ybtnReturnForRenegotiation = new global::Gamma.GtkWidgets.yButton(); this.ybtnReturnForRenegotiation.CanFocus = true; this.ybtnReturnForRenegotiation.Name = "ybtnReturnForRenegotiation"; this.ybtnReturnForRenegotiation.UseUnderline = true; this.ybtnReturnForRenegotiation.Label = global::Mono.Unix.Catalog.GetString("Отправить на пересогласование"); this.hbox4.Add(this.ybtnReturnForRenegotiation); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ybtnReturnForRenegotiation])); w25.Position = 4; w25.Expand = false; w25.Fill = false; this.table1.Add(this.hbox4); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox4])); w26.TopAttach = ((uint)(18)); w26.BottomAttach = ((uint)(19)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(0)); w26.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.comboIfAdminRoleChooser = new global::Gamma.Widgets.yEnumComboBox(); this.comboIfAdminRoleChooser.Name = "comboIfAdminRoleChooser"; this.comboIfAdminRoleChooser.ShowSpecialStateAll = false; this.comboIfAdminRoleChooser.ShowSpecialStateNot = false; this.comboIfAdminRoleChooser.UseShortTitle = false; this.comboIfAdminRoleChooser.DefaultFirst = false; this.hbox5.Add(this.comboIfAdminRoleChooser); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.comboIfAdminRoleChooser])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.ybtnAdminRoleRemember = new global::Gamma.GtkWidgets.yButton(); this.ybtnAdminRoleRemember.CanFocus = true; this.ybtnAdminRoleRemember.Name = "ybtnAdminRoleRemember"; this.ybtnAdminRoleRemember.UseUnderline = true; this.ybtnAdminRoleRemember.Label = global::Mono.Unix.Catalog.GetString("Запомнить роль"); this.hbox5.Add(this.ybtnAdminRoleRemember); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.ybtnAdminRoleRemember])); w28.Position = 1; w28.Expand = false; w28.Fill = false; this.table1.Add(this.hbox5); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox5])); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.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; this.table1.Add(this.hbox6); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox6])); w30.TopAttach = ((uint)(3)); w30.BottomAttach = ((uint)(4)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.ybtnAddSumm = new global::Gamma.GtkWidgets.yButton(); this.ybtnAddSumm.CanFocus = true; this.ybtnAddSumm.Name = "ybtnAddSumm"; this.ybtnAddSumm.UseUnderline = true; this.ybtnAddSumm.Label = global::Mono.Unix.Catalog.GetString("Добавить"); this.hbox7.Add(this.ybtnAddSumm); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.ybtnAddSumm])); w31.Position = 0; w31.Expand = false; w31.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.ybtnEditSum = new global::Gamma.GtkWidgets.yButton(); this.ybtnEditSum.CanFocus = true; this.ybtnEditSum.Name = "ybtnEditSum"; this.ybtnEditSum.UseUnderline = true; this.ybtnEditSum.Label = global::Mono.Unix.Catalog.GetString("Редактировать"); this.hbox7.Add(this.ybtnEditSum); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.ybtnEditSum])); w32.Position = 1; w32.Expand = false; w32.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.ybtnDeleteSumm = new global::Gamma.GtkWidgets.yButton(); this.ybtnDeleteSumm.CanFocus = true; this.ybtnDeleteSumm.Name = "ybtnDeleteSumm"; this.ybtnDeleteSumm.UseUnderline = true; this.ybtnDeleteSumm.Label = global::Mono.Unix.Catalog.GetString("Удалить"); this.hbox7.Add(this.ybtnDeleteSumm); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.ybtnDeleteSumm])); w33.Position = 2; w33.Expand = false; w33.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.ybtnGiveSumm = new global::Gamma.GtkWidgets.yButton(); this.ybtnGiveSumm.CanFocus = true; this.ybtnGiveSumm.Name = "ybtnGiveSumm"; this.ybtnGiveSumm.UseUnderline = true; this.ybtnGiveSumm.Label = global::Mono.Unix.Catalog.GetString("Выдать"); this.hbox7.Add(this.ybtnGiveSumm); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.ybtnGiveSumm])); w34.Position = 3; w34.Expand = false; w34.Fill = false; this.table1.Add(this.hbox7); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox7])); w35.TopAttach = ((uint)(5)); w35.BottomAttach = ((uint)(6)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hboxGivePartially = new global::Gtk.HBox(); this.hboxGivePartially.Name = "hboxGivePartially"; this.hboxGivePartially.Spacing = 6; // Container child hboxGivePartially.Gtk.Box+BoxChild this.ybtnGiveSummPartially = new global::Gamma.GtkWidgets.yButton(); this.ybtnGiveSummPartially.CanFocus = true; this.ybtnGiveSummPartially.Name = "ybtnGiveSummPartially"; this.ybtnGiveSummPartially.UseUnderline = true; this.ybtnGiveSummPartially.Label = global::Mono.Unix.Catalog.GetString("Выдать частично"); this.hboxGivePartially.Add(this.ybtnGiveSummPartially); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hboxGivePartially[this.ybtnGiveSummPartially])); w36.Position = 0; w36.Expand = false; w36.Fill = false; // Container child hboxGivePartially.Gtk.Box+BoxChild this.yspinGivePartially = new global::Gamma.GtkWidgets.ySpinButton(-100000D, 100000D, 1D); this.yspinGivePartially.CanFocus = true; this.yspinGivePartially.Name = "yspinGivePartially"; this.yspinGivePartially.Adjustment.PageIncrement = 10D; this.yspinGivePartially.ClimbRate = 1D; this.yspinGivePartially.Numeric = true; this.yspinGivePartially.ValueAsDecimal = 0m; this.yspinGivePartially.ValueAsInt = 0; this.hboxGivePartially.Add(this.yspinGivePartially); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hboxGivePartially[this.yspinGivePartially])); w37.Position = 1; w37.Expand = false; w37.Fill = false; this.table1.Add(this.hboxGivePartially); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1[this.hboxGivePartially])); w38.TopAttach = ((uint)(5)); w38.BottomAttach = ((uint)(6)); w38.LeftAttach = ((uint)(1)); w38.RightAttach = ((uint)(2)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.table1.Add(this.hseparator1); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1[this.hseparator1])); w39.TopAttach = ((uint)(10)); w39.BottomAttach = ((uint)(11)); w39.RightAttach = ((uint)(2)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.table1.Add(this.hseparator2); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table1[this.hseparator2])); w40.TopAttach = ((uint)(14)); w40.BottomAttach = ((uint)(15)); w40.RightAttach = ((uint)(2)); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hseparator3 = new global::Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.table1.Add(this.hseparator3); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table1[this.hseparator3])); w41.TopAttach = ((uint)(17)); w41.BottomAttach = ((uint)(18)); w41.RightAttach = ((uint)(2)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelBalansOrganizations = new global::Gtk.Label(); this.labelBalansOrganizations.Name = "labelBalansOrganizations"; this.labelBalansOrganizations.Xalign = 0F; this.labelBalansOrganizations.LabelProp = global::Mono.Unix.Catalog.GetString("Баланс по нашим организациям:"); this.labelBalansOrganizations.Wrap = true; this.labelBalansOrganizations.WidthChars = 1; this.labelBalansOrganizations.MaxWidthChars = 0; this.table1.Add(this.labelBalansOrganizations); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table1[this.labelBalansOrganizations])); w42.TopAttach = ((uint)(11)); w42.BottomAttach = ((uint)(12)); w42.XOptions = ((global::Gtk.AttachOptions)(4)); w42.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCancelReason = new global::Gtk.Label(); this.labelCancelReason.Name = "labelCancelReason"; this.labelCancelReason.Xalign = 0F; this.labelCancelReason.LabelProp = global::Mono.Unix.Catalog.GetString("Причина отмены:"); this.table1.Add(this.labelCancelReason); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCancelReason])); w43.TopAttach = ((uint)(16)); w43.BottomAttach = ((uint)(17)); w43.XOptions = ((global::Gtk.AttachOptions)(4)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCategoryEntityviewmodelentry = new global::Gamma.GtkWidgets.yLabel(); this.labelCategoryEntityviewmodelentry.Name = "labelCategoryEntityviewmodelentry"; this.labelCategoryEntityviewmodelentry.Xalign = 0F; this.labelCategoryEntityviewmodelentry.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.table1.Add(this.labelCategoryEntityviewmodelentry); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCategoryEntityviewmodelentry])); w44.TopAttach = ((uint)(13)); w44.BottomAttach = ((uint)(14)); w44.XOptions = ((global::Gtk.AttachOptions)(4)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelcomboOrganization = new global::Gtk.Label(); this.labelcomboOrganization.Name = "labelcomboOrganization"; this.labelcomboOrganization.Xalign = 0F; this.labelcomboOrganization.LabelProp = global::Mono.Unix.Catalog.GetString("Наша организация:"); this.table1.Add(this.labelcomboOrganization); global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.table1[this.labelcomboOrganization])); w45.TopAttach = ((uint)(12)); w45.BottomAttach = ((uint)(13)); w45.XOptions = ((global::Gtk.AttachOptions)(4)); w45.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelExplanation = new global::Gtk.Label(); this.labelExplanation.Name = "labelExplanation"; this.labelExplanation.Xalign = 0F; this.labelExplanation.LabelProp = global::Mono.Unix.Catalog.GetString("Пояснение:"); this.table1.Add(this.labelExplanation); global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table1[this.labelExplanation])); w46.TopAttach = ((uint)(7)); w46.BottomAttach = ((uint)(8)); w46.XOptions = ((global::Gtk.AttachOptions)(4)); w46.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelGround = new global::Gtk.Label(); this.labelGround.Name = "labelGround"; this.labelGround.Xalign = 0F; this.labelGround.LabelProp = global::Mono.Unix.Catalog.GetString("Основание:"); this.table1.Add(this.labelGround); global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.table1[this.labelGround])); w47.TopAttach = ((uint)(6)); w47.BottomAttach = ((uint)(7)); w47.XOptions = ((global::Gtk.AttachOptions)(4)); w47.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelHaveReceipt = new global::Gtk.Label(); this.labelHaveReceipt.Name = "labelHaveReceipt"; this.labelHaveReceipt.Xalign = 0F; this.labelHaveReceipt.LabelProp = global::Mono.Unix.Catalog.GetString("Наличие чека:"); this.table1.Add(this.labelHaveReceipt); global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.table1[this.labelHaveReceipt])); w48.TopAttach = ((uint)(8)); w48.BottomAttach = ((uint)(9)); w48.XOptions = ((global::Gtk.AttachOptions)(4)); w48.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelReasonForSendToReapproval = new global::Gtk.Label(); this.labelReasonForSendToReapproval.Name = "labelReasonForSendToReapproval"; this.labelReasonForSendToReapproval.Xalign = 0F; this.labelReasonForSendToReapproval.LabelProp = global::Mono.Unix.Catalog.GetString("Причина отправки на пересогласование:"); this.labelReasonForSendToReapproval.Wrap = true; this.labelReasonForSendToReapproval.WidthChars = 0; this.labelReasonForSendToReapproval.MaxWidthChars = 20; this.table1.Add(this.labelReasonForSendToReapproval); global::Gtk.Table.TableChild w49 = ((global::Gtk.Table.TableChild)(this.table1[this.labelReasonForSendToReapproval])); w49.TopAttach = ((uint)(15)); w49.BottomAttach = ((uint)(16)); w49.XOptions = ((global::Gtk.AttachOptions)(4)); w49.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelType5 = new global::Gtk.Label(); this.labelType5.Name = "labelType5"; this.labelType5.Xalign = 0F; this.labelType5.LabelProp = global::Mono.Unix.Catalog.GetString("Автор:"); this.table1.Add(this.labelType5); global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.table1[this.labelType5])); w50.TopAttach = ((uint)(1)); w50.BottomAttach = ((uint)(2)); w50.XOptions = ((global::Gtk.AttachOptions)(4)); w50.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelType6 = new global::Gtk.Label(); this.labelType6.Name = "labelType6"; this.labelType6.Xalign = 0F; this.labelType6.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение:"); this.table1.Add(this.labelType6); global::Gtk.Table.TableChild w51 = ((global::Gtk.Table.TableChild)(this.table1[this.labelType6])); w51.TopAttach = ((uint)(2)); w51.BottomAttach = ((uint)(3)); w51.XOptions = ((global::Gtk.AttachOptions)(4)); w51.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.speccomboOrganization = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.speccomboOrganization.Name = "speccomboOrganization"; this.speccomboOrganization.AddIfNotExist = false; this.speccomboOrganization.DefaultFirst = false; this.speccomboOrganization.ShowSpecialStateAll = false; this.speccomboOrganization.ShowSpecialStateNot = false; this.table1.Add(this.speccomboOrganization); global::Gtk.Table.TableChild w52 = ((global::Gtk.Table.TableChild)(this.table1[this.speccomboOrganization])); w52.TopAttach = ((uint)(12)); w52.BottomAttach = ((uint)(13)); w52.LeftAttach = ((uint)(1)); w52.RightAttach = ((uint)(2)); w52.XOptions = ((global::Gtk.AttachOptions)(4)); w52.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.SubdivisionEntityviewmodelentry = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.SubdivisionEntityviewmodelentry.Events = ((global::Gdk.EventMask)(256)); this.SubdivisionEntityviewmodelentry.Name = "SubdivisionEntityviewmodelentry"; this.SubdivisionEntityviewmodelentry.CanEditReference = false; this.table1.Add(this.SubdivisionEntityviewmodelentry); global::Gtk.Table.TableChild w53 = ((global::Gtk.Table.TableChild)(this.table1[this.SubdivisionEntityviewmodelentry])); w53.TopAttach = ((uint)(2)); w53.BottomAttach = ((uint)(3)); w53.LeftAttach = ((uint)(1)); w53.RightAttach = ((uint)(2)); w53.XOptions = ((global::Gtk.AttachOptions)(4)); w53.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycheckHaveReceipt = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckHaveReceipt.CanFocus = true; this.ycheckHaveReceipt.Name = "ycheckHaveReceipt"; this.ycheckHaveReceipt.Label = ""; this.ycheckHaveReceipt.Active = true; this.ycheckHaveReceipt.DrawIndicator = true; this.ycheckHaveReceipt.UseUnderline = true; this.table1.Add(this.ycheckHaveReceipt); global::Gtk.Table.TableChild w54 = ((global::Gtk.Table.TableChild)(this.table1[this.ycheckHaveReceipt])); w54.TopAttach = ((uint)(8)); w54.BottomAttach = ((uint)(9)); w54.LeftAttach = ((uint)(1)); w54.RightAttach = ((uint)(2)); w54.XOptions = ((global::Gtk.AttachOptions)(4)); w54.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycheckPossibilityNotToReconcilePayments = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckPossibilityNotToReconcilePayments.CanFocus = true; this.ycheckPossibilityNotToReconcilePayments.Name = "ycheckPossibilityNotToReconcilePayments"; this.ycheckPossibilityNotToReconcilePayments.Label = ""; this.ycheckPossibilityNotToReconcilePayments.DrawIndicator = true; this.ycheckPossibilityNotToReconcilePayments.UseUnderline = true; this.table1.Add(this.ycheckPossibilityNotToReconcilePayments); global::Gtk.Table.TableChild w55 = ((global::Gtk.Table.TableChild)(this.table1[this.ycheckPossibilityNotToReconcilePayments])); w55.TopAttach = ((uint)(9)); w55.BottomAttach = ((uint)(10)); w55.LeftAttach = ((uint)(1)); w55.RightAttach = ((uint)(2)); w55.XOptions = ((global::Gtk.AttachOptions)(4)); w55.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryExplanation = new global::Gamma.GtkWidgets.yEntry(); this.yentryExplanation.CanFocus = true; this.yentryExplanation.Name = "yentryExplanation"; this.yentryExplanation.IsEditable = true; this.yentryExplanation.InvisibleChar = '•'; this.table1.Add(this.yentryExplanation); global::Gtk.Table.TableChild w56 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryExplanation])); w56.TopAttach = ((uint)(7)); w56.BottomAttach = ((uint)(8)); w56.LeftAttach = ((uint)(1)); w56.RightAttach = ((uint)(2)); w56.XOptions = ((global::Gtk.AttachOptions)(4)); w56.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelBalansOrganizations = new global::Gamma.GtkWidgets.yLabel(); this.ylabelBalansOrganizations.Name = "ylabelBalansOrganizations"; this.ylabelBalansOrganizations.LabelProp = global::Mono.Unix.Catalog.GetString("."); this.table1.Add(this.ylabelBalansOrganizations); global::Gtk.Table.TableChild w57 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelBalansOrganizations])); w57.TopAttach = ((uint)(11)); w57.BottomAttach = ((uint)(12)); w57.LeftAttach = ((uint)(1)); w57.RightAttach = ((uint)(2)); w57.XOptions = ((global::Gtk.AttachOptions)(4)); w57.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelPossibilityNotToReconcilePayments = new global::Gamma.GtkWidgets.yLabel(); this.ylabelPossibilityNotToReconcilePayments.Name = "ylabelPossibilityNotToReconcilePayments"; this.ylabelPossibilityNotToReconcilePayments.Xalign = 0F; this.ylabelPossibilityNotToReconcilePayments.LabelProp = global::Mono.Unix.Catalog.GetString("Утвердить воз-ть не пересогласовывать оплаты:"); this.table1.Add(this.ylabelPossibilityNotToReconcilePayments); global::Gtk.Table.TableChild w58 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelPossibilityNotToReconcilePayments])); w58.TopAttach = ((uint)(9)); w58.BottomAttach = ((uint)(10)); w58.XOptions = ((global::Gtk.AttachOptions)(4)); w58.YOptions = ((global::Gtk.AttachOptions)(4)); w10.Add(this.table1); this.scrolledwindow1.Add(w10); this.vboxDialog.Add(this.scrolledwindow1); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.scrolledwindow1])); w61.Position = 1; this.Add(this.vboxDialog); if ((this.Child != null)) { this.Child.ShowAll(); } this.ybtnAdminRoleRemember.Hide(); this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.OrganizationDlg Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); this.UIManager.InsertActionGroup (w2, 0); this.Name = "Vodovoz.OrganizationDlg"; // Container child Vodovoz.OrganizationDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w3; this.hbox1.Add (this.buttonSave); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonSave])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w5 = new global::Gtk.Image (); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w5; this.hbox1.Add (this.buttonCancel); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator (); this.vseparator1.Name = "vseparator1"; this.hbox1.Add (this.vseparator1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vseparator1])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.radioTabInfo = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Основное")); this.radioTabInfo.CanFocus = true; this.radioTabInfo.Name = "radioTabInfo"; this.radioTabInfo.DrawIndicator = false; this.radioTabInfo.UseUnderline = true; this.radioTabInfo.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.hbox1.Add (this.radioTabInfo); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.radioTabInfo])); w8.Position = 3; // Container child hbox1.Gtk.Box+BoxChild this.radioTabAccounts = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Счета")); this.radioTabAccounts.CanFocus = true; this.radioTabAccounts.Name = "radioTabAccounts"; this.radioTabAccounts.DrawIndicator = false; this.radioTabAccounts.UseUnderline = true; this.radioTabAccounts.Group = this.radioTabInfo.Group; this.hbox1.Add (this.radioTabAccounts); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.radioTabAccounts])); w9.Position = 4; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notebookMain = new global::Gtk.Notebook (); this.notebookMain.CanFocus = true; this.notebookMain.Name = "notebookMain"; this.notebookMain.CurrentPage = 0; // Container child notebookMain.Gtk.Notebook+NotebookChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w11 = new global::Gtk.Viewport (); w11.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.datatableMain = new global::Gtk.Table (((uint)(11)), ((uint)(2)), false); this.datatableMain.Name = "datatableMain"; this.datatableMain.RowSpacing = ((uint)(6)); this.datatableMain.ColumnSpacing = ((uint)(6)); this.datatableMain.BorderWidth = ((uint)(2)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryEmail = new global::Gamma.Widgets.yValidatedEntry (); this.dataentryEmail.CanFocus = true; this.dataentryEmail.Name = "dataentryEmail"; this.dataentryEmail.IsEditable = true; this.dataentryEmail.MaxLength = 45; this.dataentryEmail.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryEmail); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryEmail])); w12.TopAttach = ((uint)(3)); w12.BottomAttach = ((uint)(4)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryFullName = new global::Gamma.GtkWidgets.yEntry (); this.dataentryFullName.CanFocus = true; this.dataentryFullName.Name = "dataentryFullName"; this.dataentryFullName.IsEditable = true; this.dataentryFullName.MaxLength = 200; this.dataentryFullName.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryFullName); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryFullName])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryINN = new global::Gamma.Widgets.yValidatedEntry (); this.dataentryINN.CanFocus = true; this.dataentryINN.Name = "dataentryINN"; this.dataentryINN.IsEditable = true; this.dataentryINN.MaxLength = 12; this.dataentryINN.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryINN); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryINN])); w14.TopAttach = ((uint)(6)); w14.BottomAttach = ((uint)(7)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryKPP = new global::Gamma.Widgets.yValidatedEntry (); this.dataentryKPP.CanFocus = true; this.dataentryKPP.Name = "dataentryKPP"; this.dataentryKPP.IsEditable = true; this.dataentryKPP.MaxLength = 9; this.dataentryKPP.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryKPP); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryKPP])); w15.TopAttach = ((uint)(7)); w15.BottomAttach = ((uint)(8)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryName = new global::Gamma.GtkWidgets.yEntry (); this.dataentryName.CanFocus = true; this.dataentryName.Name = "dataentryName"; this.dataentryName.IsEditable = true; this.dataentryName.MaxLength = 100; this.dataentryName.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryName); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryName])); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryOGRN = new global::Gamma.Widgets.yValidatedEntry (); this.dataentryOGRN.CanFocus = true; this.dataentryOGRN.Name = "dataentryOGRN"; this.dataentryOGRN.IsEditable = true; this.dataentryOGRN.MaxLength = 13; this.dataentryOGRN.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryOGRN); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryOGRN])); w17.TopAttach = ((uint)(8)); w17.BottomAttach = ((uint)(9)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.datatextviewJurAddress = new global::Gamma.GtkWidgets.yTextView (); this.datatextviewJurAddress.CanFocus = true; this.datatextviewJurAddress.Name = "datatextviewJurAddress"; this.datatextviewJurAddress.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow1.Add (this.datatextviewJurAddress); this.datatableMain.Add (this.GtkScrolledWindow1); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.GtkScrolledWindow1])); w19.TopAttach = ((uint)(10)); w19.BottomAttach = ((uint)(11)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.datatextviewAddress = new global::Gamma.GtkWidgets.yTextView (); this.datatextviewAddress.CanFocus = true; this.datatextviewAddress.Name = "datatextviewAddress"; this.datatextviewAddress.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow2.Add (this.datatextviewAddress); this.datatableMain.Add (this.GtkScrolledWindow2); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.GtkScrolledWindow2])); w21.TopAttach = ((uint)(9)); w21.BottomAttach = ((uint)(10)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("ОГРН:"); this.datatableMain.Add (this.label10); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label10])); w22.TopAttach = ((uint)(8)); w22.BottomAttach = ((uint)(9)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("E-mail:"); this.datatableMain.Add (this.label11); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label11])); w23.TopAttach = ((uint)(3)); w23.BottomAttach = ((uint)(4)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label13 = new global::Gtk.Label (); this.label13.Name = "label13"; this.label13.Xalign = 1F; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Руководитель:"); this.datatableMain.Add (this.label13); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label13])); w24.TopAttach = ((uint)(4)); w24.BottomAttach = ((uint)(5)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label14 = new global::Gtk.Label (); this.label14.Name = "label14"; this.label14.Xalign = 1F; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("Главный бухгалтер:"); this.datatableMain.Add (this.label14); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label14])); w25.TopAttach = ((uint)(5)); w25.BottomAttach = ((uint)(6)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Полное название:"); this.datatableMain.Add (this.label3); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label3])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Название<span foreground=\"red\">*</span>:"); this.label4.UseMarkup = true; this.datatableMain.Add (this.label4); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label4])); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.Yalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Адрес:"); this.datatableMain.Add (this.label5); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label5])); w28.TopAttach = ((uint)(9)); w28.BottomAttach = ((uint)(10)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.Yalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Юр. адрес:"); this.datatableMain.Add (this.label6); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label6])); w29.TopAttach = ((uint)(10)); w29.BottomAttach = ((uint)(11)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("ИНН:"); this.datatableMain.Add (this.label7); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label7])); w30.TopAttach = ((uint)(6)); w30.BottomAttach = ((uint)(7)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("КПП:"); this.datatableMain.Add (this.label8); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label8])); w31.TopAttach = ((uint)(7)); w31.BottomAttach = ((uint)(8)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.Yalign = 0F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Телефоны:"); this.datatableMain.Add (this.label9); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label9])); w32.TopAttach = ((uint)(2)); w32.BottomAttach = ((uint)(3)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.phonesview1 = new global::QSContacts.PhonesView (); this.phonesview1.Events = ((global::Gdk.EventMask)(256)); this.phonesview1.Name = "phonesview1"; this.datatableMain.Add (this.phonesview1); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.phonesview1])); w33.TopAttach = ((uint)(2)); w33.BottomAttach = ((uint)(3)); w33.LeftAttach = ((uint)(1)); w33.RightAttach = ((uint)(2)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.referenceBuhgalter = new global::Gamma.Widgets.yEntryReference (); this.referenceBuhgalter.Events = ((global::Gdk.EventMask)(256)); this.referenceBuhgalter.Name = "referenceBuhgalter"; this.referenceBuhgalter.DisplayFields = new string[] { "FullName" }; this.referenceBuhgalter.DisplayFormatString = "{0}"; this.datatableMain.Add (this.referenceBuhgalter); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.referenceBuhgalter])); w34.TopAttach = ((uint)(5)); w34.BottomAttach = ((uint)(6)); w34.LeftAttach = ((uint)(1)); w34.RightAttach = ((uint)(2)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.referenceLeader = new global::Gamma.Widgets.yEntryReference (); this.referenceLeader.Events = ((global::Gdk.EventMask)(256)); this.referenceLeader.Name = "referenceLeader"; this.referenceLeader.DisplayFields = new string[] { "FullName" }; this.referenceLeader.DisplayFormatString = "{0}"; this.datatableMain.Add (this.referenceLeader); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.referenceLeader])); w35.TopAttach = ((uint)(4)); w35.BottomAttach = ((uint)(5)); w35.LeftAttach = ((uint)(1)); w35.RightAttach = ((uint)(2)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); w11.Add (this.datatableMain); this.scrolledwindow1.Add (w11); this.notebookMain.Add (this.scrolledwindow1); // Notebook tab this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Информация"); this.notebookMain.SetTabLabel (this.scrolledwindow1, this.label1); this.label1.ShowAll (); // Container child notebookMain.Gtk.Notebook+NotebookChild this.accountsview1 = new global::QSBanks.AccountsView (); this.accountsview1.Events = ((global::Gdk.EventMask)(256)); this.accountsview1.Name = "accountsview1"; this.notebookMain.Add (this.accountsview1); global::Gtk.Notebook.NotebookChild w39 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.accountsview1])); w39.Position = 1; // Notebook tab this.label12 = new global::Gtk.Label (); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Счет"); this.notebookMain.SetTabLabel (this.accountsview1, this.label12); this.label12.ShowAll (); this.vbox1.Add (this.notebookMain); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebookMain])); w40.Position = 1; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } w1.SetUiManager (UIManager); this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); this.radioTabInfo.Toggled += new global::System.EventHandler (this.OnRadioTabInfoToggled); this.radioTabAccounts.Toggled += new global::System.EventHandler (this.OnRadioTabAccountsToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.FuelDocumentView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.FuelDocumentView"; // Container child Vodovoz.FuelDocumentView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox8.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox8.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add(this.hbox8); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox8])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table(((uint)(9)), ((uint)(3)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.entityviewmodelentryCar = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityviewmodelentryCar.Sensitive = false; this.entityviewmodelentryCar.Events = ((global::Gdk.EventMask)(256)); this.entityviewmodelentryCar.Name = "entityviewmodelentryCar"; this.entityviewmodelentryCar.CanEditReference = true; this.table3.Add(this.entityviewmodelentryCar); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table3[this.entityviewmodelentryCar])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.spinFuelPrice = new global::Gamma.GtkWidgets.ySpinButton(0D, 200D, 0.01D); this.spinFuelPrice.WidthRequest = 100; this.spinFuelPrice.Sensitive = false; this.spinFuelPrice.CanFocus = true; this.spinFuelPrice.Name = "spinFuelPrice"; this.spinFuelPrice.Adjustment.PageIncrement = 0.01D; this.spinFuelPrice.ClimbRate = 1D; this.spinFuelPrice.Digits = ((uint)(2)); this.spinFuelPrice.Numeric = true; this.spinFuelPrice.ValueAsDecimal = 0m; this.spinFuelPrice.ValueAsInt = 0; this.hbox3.Add(this.spinFuelPrice); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.spinFuelPrice])); w7.Position = 0; w7.Expand = false; w7.Fill = false; this.table3.Add(this.hbox3); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox3])); w8.TopAttach = ((uint)(6)); w8.BottomAttach = ((uint)(7)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.yenumcomboboxPaymentType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxPaymentType.Name = "yenumcomboboxPaymentType"; this.yenumcomboboxPaymentType.ShowSpecialStateAll = false; this.yenumcomboboxPaymentType.ShowSpecialStateNot = false; this.yenumcomboboxPaymentType.UseShortTitle = false; this.yenumcomboboxPaymentType.DefaultFirst = false; this.hbox4.Add(this.yenumcomboboxPaymentType); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.yenumcomboboxPaymentType])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.disablespinMoney = new global::QSOrmProject.DisableSpinButton(); this.disablespinMoney.Events = ((global::Gdk.EventMask)(256)); this.disablespinMoney.Name = "disablespinMoney"; this.disablespinMoney.Active = false; this.disablespinMoney.Upper = 100000D; this.disablespinMoney.Lower = 0D; this.disablespinMoney.Digits = ((uint)(2)); this.hbox4.Add(this.disablespinMoney); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.disablespinMoney])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonSetRemain = new global::Gamma.GtkWidgets.yButton(); this.buttonSetRemain.CanFocus = true; this.buttonSetRemain.Name = "buttonSetRemain"; this.buttonSetRemain.UseUnderline = true; this.buttonSetRemain.Label = global::Mono.Unix.Catalog.GetString("Весь остаток"); this.hbox4.Add(this.buttonSetRemain); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSetRemain])); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.table3.Add(this.hbox4); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox4])); w12.TopAttach = ((uint)(7)); w12.BottomAttach = ((uint)(8)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; this.table3.Add(this.hbox5); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox5])); w13.TopAttach = ((uint)(6)); w13.BottomAttach = ((uint)(7)); w13.LeftAttach = ((uint)(2)); w13.RightAttach = ((uint)(3)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.yspinFuelTicketLiters = new global::Gamma.GtkWidgets.ySpinButton(0D, 1000D, 10D); this.yspinFuelTicketLiters.WidthRequest = 90; this.yspinFuelTicketLiters.CanFocus = true; this.yspinFuelTicketLiters.Name = "yspinFuelTicketLiters"; this.yspinFuelTicketLiters.Adjustment.PageIncrement = 20D; this.yspinFuelTicketLiters.ClimbRate = 1D; this.yspinFuelTicketLiters.Numeric = true; this.yspinFuelTicketLiters.ValueAsDecimal = 0m; this.yspinFuelTicketLiters.ValueAsInt = 0; this.hbox6.Add(this.yspinFuelTicketLiters); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspinFuelTicketLiters])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.yspeccomboboxSubdivision = new global::Gamma.Widgets.ySpecComboBox(); this.yspeccomboboxSubdivision.Name = "yspeccomboboxSubdivision"; this.yspeccomboboxSubdivision.AddIfNotExist = false; this.yspeccomboboxSubdivision.DefaultFirst = false; this.yspeccomboboxSubdivision.ShowSpecialStateAll = false; this.yspeccomboboxSubdivision.ShowSpecialStateNot = false; this.hbox6.Add(this.yspeccomboboxSubdivision); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspeccomboboxSubdivision])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.table3.Add(this.hbox6); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox6])); w16.TopAttach = ((uint)(4)); w16.BottomAttach = ((uint)(5)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.labelExpenseInfo = new global::Gamma.GtkWidgets.yLabel(); this.labelExpenseInfo.Name = "labelExpenseInfo"; this.labelExpenseInfo.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.hbox7.Add(this.labelExpenseInfo); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.labelExpenseInfo])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonOpenExpense = new global::Gamma.GtkWidgets.yButton(); this.buttonOpenExpense.CanFocus = true; this.buttonOpenExpense.Name = "buttonOpenExpense"; this.buttonOpenExpense.UseUnderline = true; this.buttonOpenExpense.Label = global::Mono.Unix.Catalog.GetString("Открыть расходный ордер"); this.hbox7.Add(this.buttonOpenExpense); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonOpenExpense])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.table3.Add(this.hbox7); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox7])); w19.TopAttach = ((uint)(8)); w19.BottomAttach = ((uint)(9)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.table3.Add(this.label1); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table3[this.label1])); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Водитель:"); this.table3.Add(this.label2); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table3[this.label2])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Вид топлива:"); this.table3.Add(this.label3); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table3[this.label3])); w22.TopAttach = ((uint)(3)); w22.BottomAttach = ((uint)(4)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Автомобиль:"); this.table3.Add(this.label4); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table3[this.label4])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Выдано деньгами:"); this.table3.Add(this.label5); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table3[this.label5])); w24.TopAttach = ((uint)(7)); w24.BottomAttach = ((uint)(8)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Выдано талонами(л):"); this.table3.Add(this.label6); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table3[this.label6])); w25.TopAttach = ((uint)(4)); w25.BottomAttach = ((uint)(5)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Стоимость, р/литр:"); this.table3.Add(this.label7); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table3[this.label7])); w26.TopAttach = ((uint)(6)); w26.BottomAttach = ((uint)(7)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.labelAvalilableFuel = new global::Gamma.GtkWidgets.yLabel(); this.labelAvalilableFuel.Name = "labelAvalilableFuel"; this.labelAvalilableFuel.Xalign = 0F; this.labelAvalilableFuel.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.table3.Add(this.labelAvalilableFuel); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table3[this.labelAvalilableFuel])); w27.TopAttach = ((uint)(5)); w27.BottomAttach = ((uint)(6)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.labelResultInfo = new global::Gamma.GtkWidgets.yLabel(); this.labelResultInfo.Name = "labelResultInfo"; this.labelResultInfo.LabelProp = global::Mono.Unix.Catalog.GetString("Итог"); this.table3.Add(this.labelResultInfo); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table3[this.labelResultInfo])); w28.TopAttach = ((uint)(7)); w28.BottomAttach = ((uint)(8)); w28.LeftAttach = ((uint)(2)); w28.RightAttach = ((uint)(3)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ydatepicker = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatepicker.Events = ((global::Gdk.EventMask)(256)); this.ydatepicker.Name = "ydatepicker"; this.ydatepicker.WithTime = false; this.ydatepicker.HideCalendarButton = false; this.ydatepicker.Date = new global::System.DateTime(0); this.ydatepicker.IsEditable = true; this.ydatepicker.AutoSeparation = false; this.table3.Add(this.ydatepicker); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table3[this.ydatepicker])); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.yentrydriver = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentrydriver.Sensitive = false; this.yentrydriver.Events = ((global::Gdk.EventMask)(256)); this.yentrydriver.Name = "yentrydriver"; this.table3.Add(this.yentrydriver); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table3[this.yentrydriver])); w30.TopAttach = ((uint)(1)); w30.BottomAttach = ((uint)(2)); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(2)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.yentryfuel = new global::Gamma.Widgets.yEntryReference(); this.yentryfuel.Sensitive = false; this.yentryfuel.Events = ((global::Gdk.EventMask)(256)); this.yentryfuel.Name = "yentryfuel"; this.table3.Add(this.yentryfuel); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table3[this.yentryfuel])); w31.TopAttach = ((uint)(3)); w31.BottomAttach = ((uint)(4)); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ytextviewFuelInfo = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewFuelInfo.CanFocus = true; this.ytextviewFuelInfo.Name = "ytextviewFuelInfo"; this.ytextviewFuelInfo.Editable = false; this.table3.Add(this.ytextviewFuelInfo); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table3[this.ytextviewFuelInfo])); w32.BottomAttach = ((uint)(4)); w32.LeftAttach = ((uint)(2)); w32.RightAttach = ((uint)(3)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table3); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table3])); w33.Position = 1; w33.Expand = false; w33.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.buttonOpenExpense.Clicked += new global::System.EventHandler(this.OnButtonOpenExpenseClicked); this.disablespinMoney.ValueChanged += new global::System.EventHandler(this.OnDisablespinMoneyValueChanged); this.buttonSetRemain.Clicked += new global::System.EventHandler(this.OnButtonSetRemainClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.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.Dialogs.DocumentDialogs.ShiftChangeWarehouseDocumentDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.DocumentDialogs.ShiftChangeWarehouseDocumentDlg"; // Container child Vodovoz.Dialogs.DocumentDialogs.ShiftChangeWarehouseDocumentDlg.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(6)); // Container child vbox4.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox5.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox5.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonPrint = new global::Gtk.Button(); this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w5; this.hbox5.Add(this.buttonPrint); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonPrint])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox4.Add(this.hbox5); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox5])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.tableWriteoff = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.tableWriteoff.Name = "tableWriteoff"; this.tableWriteoff.RowSpacing = ((uint)(6)); this.tableWriteoff.ColumnSpacing = ((uint)(6)); // Container child tableWriteoff.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewCommnet = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewCommnet.CanFocus = true; this.ytextviewCommnet.Name = "ytextviewCommnet"; this.GtkScrolledWindow.Add(this.ytextviewCommnet); this.tableWriteoff.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.GtkScrolledWindow])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); 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.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.Yalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.tableWriteoff.Add(this.label5); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label5])); w12.TopAttach = ((uint)(3)); w12.BottomAttach = ((uint)(4)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.vboxParameters = new global::Gtk.VBox(); this.vboxParameters.Name = "vboxParameters"; this.vboxParameters.Spacing = 6; this.tableWriteoff.Add(this.vboxParameters); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.vboxParameters])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.RightAttach = ((uint)(2)); // Container child tableWriteoff.Gtk.Table+TableChild this.ydatepickerDocDate = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatepickerDocDate.Events = ((global::Gdk.EventMask)(256)); this.ydatepickerDocDate.Name = "ydatepickerDocDate"; this.ydatepickerDocDate.WithTime = true; this.ydatepickerDocDate.HideCalendarButton = false; this.ydatepickerDocDate.Date = new global::System.DateTime(0); this.ydatepickerDocDate.IsEditable = true; this.ydatepickerDocDate.AutoSeparation = true; this.tableWriteoff.Add(this.ydatepickerDocDate); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.ydatepickerDocDate])); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.yentryrefWarehouse = new global::Gamma.Widgets.yEntryReference(); this.yentryrefWarehouse.Events = ((global::Gdk.EventMask)(256)); this.yentryrefWarehouse.Name = "yentryrefWarehouse"; this.tableWriteoff.Add(this.yentryrefWarehouse); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.yentryrefWarehouse])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox3.Add(this.tableWriteoff); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.tableWriteoff])); w16.Position = 0; this.vbox4.Add(this.hbox3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox3])); w17.Position = 1; this.hbox1.Add(this.vbox4); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox4])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Список номенклатур:"); this.vbox2.Add(this.label3); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label3])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.ytreeviewNomenclatures = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewNomenclatures.CanFocus = true; this.ytreeviewNomenclatures.Name = "ytreeviewNomenclatures"; this.GtkScrolledWindow3.Add(this.ytreeviewNomenclatures); this.vbox2.Add(this.GtkScrolledWindow3); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow3])); w21.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.buttonFillItems = new global::Gtk.Button(); this.buttonFillItems.CanFocus = true; this.buttonFillItems.Name = "buttonFillItems"; this.buttonFillItems.UseUnderline = true; this.buttonFillItems.Label = global::Mono.Unix.Catalog.GetString("Заполнить по складу"); global::Gtk.Image w22 = new global::Gtk.Image(); w22.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.insert-object.png"); this.buttonFillItems.Image = w22; this.hbox6.Add(this.buttonFillItems); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonFillItems])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child hbox6.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 w24 = new global::Gtk.Image(); w24.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAdd.Image = w24; this.hbox6.Add(this.buttonAdd); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonAdd])); w25.Position = 1; w25.Expand = false; w25.Fill = false; this.vbox2.Add(this.hbox6); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox6])); w26.Position = 2; w26.Expand = false; w26.Fill = false; this.hbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2])); w27.Position = 1; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonPrint.Clicked += new global::System.EventHandler(this.OnButtonPrintClicked); this.yentryrefWarehouse.BeforeChangeByUser += new global::System.EventHandler <QSOrmProject.EntryReferenceBeforeChangeEventArgs>(this.OnYentryrefWarehouseBeforeChangeByUser); this.buttonFillItems.Clicked += new global::System.EventHandler(this.OnButtonFillItemsClicked); this.buttonAdd.Clicked += new global::System.EventHandler(this.OnButtonAddClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ViewWidgets.Logistics.FastDeliveryVerificationView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ViewWidgets.Logistics.FastDeliveryVerificationView"; // Container child Vodovoz.ViewWidgets.Logistics.FastDeliveryVerificationView.Gtk.Container+ContainerChild this.hboxMain = new global::Gamma.GtkWidgets.yHBox(); this.hboxMain.Name = "hboxMain"; this.hboxMain.Spacing = 6; // Container child hboxMain.Gtk.Box+BoxChild this.vboxMain = new global::Gamma.GtkWidgets.yVBox(); this.vboxMain.Name = "vboxMain"; this.vboxMain.Spacing = 6; // Container child vboxMain.Gtk.Box+BoxChild this.lblMessage = new global::Gamma.GtkWidgets.yLabel(); this.lblMessage.Name = "lblMessage"; this.lblMessage.LabelProp = global::Mono.Unix.Catalog.GetString("Message"); this.vboxMain.Add(this.lblMessage); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.lblMessage])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vboxMain.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vboxMain.Add(this.hseparator1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.hseparator1])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vboxMain.Gtk.Box+BoxChild this.expanderDetails = new global::Gtk.Expander(null); this.expanderDetails.CanFocus = true; this.expanderDetails.Name = "expanderDetails"; this.expanderDetails.Expanded = true; // Container child expanderDetails.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeViewDetails = new global::Gamma.GtkWidgets.yTreeView(); this.treeViewDetails.CanFocus = true; this.treeViewDetails.Name = "treeViewDetails"; this.GtkScrolledWindow.Add(this.treeViewDetails); this.expanderDetails.Add(this.GtkScrolledWindow); this.GtkLblDetails = new global::Gtk.Label(); this.GtkLblDetails.Name = "GtkLblDetails"; this.GtkLblDetails.LabelProp = global::Mono.Unix.Catalog.GetString("Детализация"); this.GtkLblDetails.UseUnderline = true; this.expanderDetails.LabelWidget = this.GtkLblDetails; this.vboxMain.Add(this.expanderDetails); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.expanderDetails])); w5.Position = 2; // Container child vboxMain.Gtk.Box+BoxChild this.expanderAdditional = new global::Gtk.Expander(null); this.expanderAdditional.HeightRequest = 200; this.expanderAdditional.CanFocus = true; this.expanderAdditional.Name = "expanderAdditional"; this.expanderAdditional.Expanded = true; // Container child expanderAdditional.Gtk.Container+ContainerChild this.yhboxAdditional = new global::Gamma.GtkWidgets.yHBox(); this.yhboxAdditional.Name = "yhboxAdditional"; this.yhboxAdditional.Spacing = 6; // Container child yhboxAdditional.Gtk.Box+BoxChild this.scrolledWindowAdditional = new global::Gtk.ScrolledWindow(); this.scrolledWindowAdditional.Name = "scrolledWindowAdditional"; this.scrolledWindowAdditional.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledWindowAdditional.Gtk.Container+ContainerChild this.treeViewNomenclatures = new global::Gamma.GtkWidgets.yTreeView(); this.treeViewNomenclatures.CanFocus = true; this.treeViewNomenclatures.Name = "treeViewNomenclatures"; this.scrolledWindowAdditional.Add(this.treeViewNomenclatures); this.yhboxAdditional.Add(this.scrolledWindowAdditional); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.yhboxAdditional[this.scrolledWindowAdditional])); w7.Position = 0; // Container child yhboxAdditional.Gtk.Box+BoxChild this.yvboxLogisticianComment = new global::Gamma.GtkWidgets.yVBox(); this.yvboxLogisticianComment.Name = "yvboxLogisticianComment"; this.yvboxLogisticianComment.Spacing = 6; // Container child yvboxLogisticianComment.Gtk.Box+BoxChild this.ylabelLogisticiaComment = new global::Gamma.GtkWidgets.yLabel(); this.ylabelLogisticiaComment.Name = "ylabelLogisticiaComment"; this.ylabelLogisticiaComment.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий логиста:"); this.yvboxLogisticianComment.Add(this.ylabelLogisticiaComment); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.yvboxLogisticianComment[this.ylabelLogisticiaComment])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child yvboxLogisticianComment.Gtk.Box+BoxChild this.scrolledWindowLogisticiaComment = new global::Gtk.ScrolledWindow(); this.scrolledWindowLogisticiaComment.CanFocus = true; this.scrolledWindowLogisticiaComment.Name = "scrolledWindowLogisticiaComment"; this.scrolledWindowLogisticiaComment.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledWindowLogisticiaComment.Gtk.Container+ContainerChild this.ytextviewLogisticiaComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewLogisticiaComment.CanFocus = true; this.ytextviewLogisticiaComment.Name = "ytextviewLogisticiaComment"; this.scrolledWindowLogisticiaComment.Add(this.ytextviewLogisticiaComment); this.yvboxLogisticianComment.Add(this.scrolledWindowLogisticiaComment); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.yvboxLogisticianComment[this.scrolledWindowLogisticiaComment])); w10.Position = 1; // Container child yvboxLogisticianComment.Gtk.Box+BoxChild this.ybuttonSaveLogisticianComment = new global::Gamma.GtkWidgets.yButton(); this.ybuttonSaveLogisticianComment.CanFocus = true; this.ybuttonSaveLogisticianComment.Name = "ybuttonSaveLogisticianComment"; this.ybuttonSaveLogisticianComment.UseUnderline = true; this.ybuttonSaveLogisticianComment.Label = global::Mono.Unix.Catalog.GetString("Сохранить комментарий"); global::Gtk.Image w11 = new global::Gtk.Image(); w11.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-floppy", global::Gtk.IconSize.Menu); this.ybuttonSaveLogisticianComment.Image = w11; this.yvboxLogisticianComment.Add(this.ybuttonSaveLogisticianComment); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.yvboxLogisticianComment[this.ybuttonSaveLogisticianComment])); w12.Position = 2; w12.Expand = false; w12.Fill = false; this.yhboxAdditional.Add(this.yvboxLogisticianComment); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.yhboxAdditional[this.yvboxLogisticianComment])); w13.Position = 1; this.expanderAdditional.Add(this.yhboxAdditional); this.GtkLblAdditional = new global::Gtk.Label(); this.GtkLblAdditional.Name = "GtkLblAdditional"; this.GtkLblAdditional.LabelProp = global::Mono.Unix.Catalog.GetString("Дополнительно"); this.GtkLblAdditional.UseUnderline = true; this.expanderAdditional.LabelWidget = this.GtkLblAdditional; this.vboxMain.Add(this.expanderAdditional); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.expanderAdditional])); w15.Position = 3; w15.Expand = false; this.hboxMain.Add(this.vboxMain); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hboxMain[this.vboxMain])); w16.Position = 0; this.Add(this.hboxMain); if ((this.Child != null)) { this.Child.ShowAll(); } this.yvboxLogisticianComment.Hide(); this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Fuel.FuelTransferDocumentView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Fuel.FuelTransferDocumentView"; // Container child Vodovoz.Dialogs.Fuel.FuelTransferDocumentView.Gtk.Container+ContainerChild this.vboxDialog = new global::Gtk.VBox(); this.vboxDialog.Name = "vboxDialog"; this.vboxDialog.Spacing = 6; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hboxDialogButtons.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hboxDialogButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonPrint = new global::Gamma.GtkWidgets.yButton(); this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w5; this.hbox5.Add(this.buttonPrint); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonPrint])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.hboxDialogButtons.Add(this.hbox5); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.hbox5])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 3; this.vboxDialog.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxDialogButtons])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.tableState = new global::Gtk.Table(((uint)(1)), ((uint)(6)), false); this.tableState.Name = "tableState"; this.tableState.RowSpacing = ((uint)(6)); this.tableState.ColumnSpacing = ((uint)(6)); // Container child tableState.Gtk.Table+TableChild this.labelAuthor = new global::Gtk.Label(); this.labelAuthor.Name = "labelAuthor"; this.labelAuthor.Xalign = 1F; this.labelAuthor.LabelProp = global::Mono.Unix.Catalog.GetString("Автор:"); this.tableState.Add(this.labelAuthor); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableState[this.labelAuthor])); w9.LeftAttach = ((uint)(2)); w9.RightAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.labelCreationDate = new global::Gtk.Label(); this.labelCreationDate.Name = "labelCreationDate"; this.labelCreationDate.Xalign = 1F; this.labelCreationDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата создания:"); this.tableState.Add(this.labelCreationDate); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableState[this.labelCreationDate])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.labelStatus = new global::Gtk.Label(); this.labelStatus.Name = "labelStatus"; this.labelStatus.Xalign = 1F; this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус:"); this.tableState.Add(this.labelStatus); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableState[this.labelStatus])); w11.LeftAttach = ((uint)(4)); w11.RightAttach = ((uint)(5)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.ylabelAuthor = new global::Gamma.GtkWidgets.yLabel(); this.ylabelAuthor.Name = "ylabelAuthor"; this.ylabelAuthor.Xalign = 0F; this.tableState.Add(this.ylabelAuthor); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableState[this.ylabelAuthor])); w12.LeftAttach = ((uint)(3)); w12.RightAttach = ((uint)(4)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.ylabelCreationDate = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCreationDate.Name = "ylabelCreationDate"; this.ylabelCreationDate.Xalign = 0F; this.tableState.Add(this.ylabelCreationDate); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableState[this.ylabelCreationDate])); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.ylabelStatus = new global::Gamma.GtkWidgets.yLabel(); this.ylabelStatus.Name = "ylabelStatus"; this.ylabelStatus.Xalign = 0F; this.tableState.Add(this.ylabelStatus); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableState[this.ylabelStatus])); w14.LeftAttach = ((uint)(5)); w14.RightAttach = ((uint)(6)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxDialog.Add(this.tableState); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.tableState])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.vboxDialog.Add(this.hseparator2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hseparator2])); w16.Position = 2; w16.Expand = false; w16.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.labelDriver = new global::Gtk.Label(); this.labelDriver.Name = "labelDriver"; this.labelDriver.Xalign = 1F; this.labelDriver.LabelProp = global::Mono.Unix.Catalog.GetString("Водитель:"); this.hbox2.Add(this.labelDriver); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.labelDriver])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entryDriver = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryDriver.Events = ((global::Gdk.EventMask)(256)); this.entryDriver.Name = "entryDriver"; this.entryDriver.CanEditReference = false; this.hbox2.Add(this.entryDriver); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.entryDriver])); w18.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.labelCar = new global::Gtk.Label(); this.labelCar.Name = "labelCar"; this.labelCar.Xalign = 1F; this.labelCar.LabelProp = global::Mono.Unix.Catalog.GetString("Автомобиль:"); this.hbox2.Add(this.labelCar); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.labelCar])); w19.Position = 2; w19.Expand = false; w19.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entryCar = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryCar.Events = ((global::Gdk.EventMask)(256)); this.entryCar.Name = "entryCar"; this.entryCar.CanEditReference = false; this.hbox2.Add(this.entryCar); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.entryCar])); w20.Position = 3; this.vboxDialog.Add(this.hbox2); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hbox2])); w21.Position = 3; w21.Expand = false; w21.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxTransferInfo = new global::Gtk.HBox(); this.hboxTransferInfo.Name = "hboxTransferInfo"; this.hboxTransferInfo.Spacing = 6; // Container child hboxTransferInfo.Gtk.Box+BoxChild this.tableFrom = new global::Gtk.Table(((uint)(3)), ((uint)(3)), false); this.tableFrom.Name = "tableFrom"; this.tableFrom.RowSpacing = ((uint)(6)); this.tableFrom.ColumnSpacing = ((uint)(6)); // Container child tableFrom.Gtk.Table+TableChild this.buttonSend = new global::Gamma.GtkWidgets.yButton(); this.buttonSend.CanFocus = true; this.buttonSend.Name = "buttonSend"; this.buttonSend.UseUnderline = true; this.buttonSend.Label = global::Mono.Unix.Catalog.GetString("Отправить"); this.tableFrom.Add(this.buttonSend); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.buttonSend])); w22.TopAttach = ((uint)(2)); w22.BottomAttach = ((uint)(3)); w22.LeftAttach = ((uint)(2)); w22.RightAttach = ((uint)(3)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.comboboxCashSubdivisionFrom = new global::Gamma.Widgets.ySpecComboBox(); this.comboboxCashSubdivisionFrom.Name = "comboboxCashSubdivisionFrom"; this.comboboxCashSubdivisionFrom.AddIfNotExist = false; this.comboboxCashSubdivisionFrom.DefaultFirst = false; this.comboboxCashSubdivisionFrom.ShowSpecialStateAll = false; this.comboboxCashSubdivisionFrom.ShowSpecialStateNot = true; this.tableFrom.Add(this.comboboxCashSubdivisionFrom); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.comboboxCashSubdivisionFrom])); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(3)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.labelCashierSender = new global::Gtk.Label(); this.labelCashierSender.Name = "labelCashierSender"; this.labelCashierSender.Xalign = 1F; this.labelCashierSender.LabelProp = global::Mono.Unix.Catalog.GetString("Отправил:"); this.tableFrom.Add(this.labelCashierSender); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.labelCashierSender])); w24.TopAttach = ((uint)(1)); w24.BottomAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.labelCashSubdivisionFrom = new global::Gtk.Label(); this.labelCashSubdivisionFrom.Name = "labelCashSubdivisionFrom"; this.labelCashSubdivisionFrom.Xalign = 1F; this.labelCashSubdivisionFrom.LabelProp = global::Mono.Unix.Catalog.GetString("Из кассы:"); this.tableFrom.Add(this.labelCashSubdivisionFrom); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.labelCashSubdivisionFrom])); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.labelSendDate = new global::Gtk.Label(); this.labelSendDate.Name = "labelSendDate"; this.labelSendDate.Xalign = 1F; this.labelSendDate.LabelProp = global::Mono.Unix.Catalog.GetString("Время отправки:"); this.tableFrom.Add(this.labelSendDate); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.labelSendDate])); w26.TopAttach = ((uint)(2)); w26.BottomAttach = ((uint)(3)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.ylabelCashierSender = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCashierSender.Name = "ylabelCashierSender"; this.ylabelCashierSender.Xalign = 0F; this.tableFrom.Add(this.ylabelCashierSender); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.ylabelCashierSender])); w27.TopAttach = ((uint)(1)); w27.BottomAttach = ((uint)(2)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(3)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.ylabelSendTime = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSendTime.Name = "ylabelSendTime"; this.ylabelSendTime.Xalign = 0F; this.tableFrom.Add(this.ylabelSendTime); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.ylabelSendTime])); w28.TopAttach = ((uint)(2)); w28.BottomAttach = ((uint)(3)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); this.hboxTransferInfo.Add(this.tableFrom); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hboxTransferInfo[this.tableFrom])); w29.Position = 0; // Container child hboxTransferInfo.Gtk.Box+BoxChild this.tableTo = new global::Gtk.Table(((uint)(3)), ((uint)(3)), false); this.tableTo.Name = "tableTo"; this.tableTo.RowSpacing = ((uint)(6)); this.tableTo.ColumnSpacing = ((uint)(6)); // Container child tableTo.Gtk.Table+TableChild this.buttonReceive = new global::Gamma.GtkWidgets.yButton(); this.buttonReceive.CanFocus = true; this.buttonReceive.Name = "buttonReceive"; this.buttonReceive.UseUnderline = true; this.buttonReceive.Label = global::Mono.Unix.Catalog.GetString("Принять"); this.tableTo.Add(this.buttonReceive); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.tableTo[this.buttonReceive])); w30.TopAttach = ((uint)(2)); w30.BottomAttach = ((uint)(3)); w30.LeftAttach = ((uint)(2)); w30.RightAttach = ((uint)(3)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.comboboxCashSubdivisionTo = new global::Gamma.Widgets.ySpecComboBox(); this.comboboxCashSubdivisionTo.Name = "comboboxCashSubdivisionTo"; this.comboboxCashSubdivisionTo.AddIfNotExist = false; this.comboboxCashSubdivisionTo.DefaultFirst = false; this.comboboxCashSubdivisionTo.ShowSpecialStateAll = false; this.comboboxCashSubdivisionTo.ShowSpecialStateNot = true; this.tableTo.Add(this.comboboxCashSubdivisionTo); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.tableTo[this.comboboxCashSubdivisionTo])); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(3)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.labelCashierReceiver = new global::Gtk.Label(); this.labelCashierReceiver.Name = "labelCashierReceiver"; this.labelCashierReceiver.Xalign = 1F; this.labelCashierReceiver.LabelProp = global::Mono.Unix.Catalog.GetString("Получил:"); this.tableTo.Add(this.labelCashierReceiver); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.tableTo[this.labelCashierReceiver])); w32.TopAttach = ((uint)(1)); w32.BottomAttach = ((uint)(2)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.labelCashSubdivisionFrom1 = new global::Gtk.Label(); this.labelCashSubdivisionFrom1.Name = "labelCashSubdivisionFrom1"; this.labelCashSubdivisionFrom1.Xalign = 1F; this.labelCashSubdivisionFrom1.LabelProp = global::Mono.Unix.Catalog.GetString("В кассу:"); this.tableTo.Add(this.labelCashSubdivisionFrom1); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.tableTo[this.labelCashSubdivisionFrom1])); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.labelReceiveDate = new global::Gtk.Label(); this.labelReceiveDate.Name = "labelReceiveDate"; this.labelReceiveDate.Xalign = 1F; this.labelReceiveDate.LabelProp = global::Mono.Unix.Catalog.GetString("Время получения:"); this.tableTo.Add(this.labelReceiveDate); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.tableTo[this.labelReceiveDate])); w34.TopAttach = ((uint)(2)); w34.BottomAttach = ((uint)(3)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.ylabelCashierReceiver = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCashierReceiver.Name = "ylabelCashierReceiver"; this.ylabelCashierReceiver.Xalign = 0F; this.tableTo.Add(this.ylabelCashierReceiver); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.tableTo[this.ylabelCashierReceiver])); w35.TopAttach = ((uint)(1)); w35.BottomAttach = ((uint)(2)); w35.LeftAttach = ((uint)(1)); w35.RightAttach = ((uint)(3)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.ylabelReceiveTime = new global::Gamma.GtkWidgets.yLabel(); this.ylabelReceiveTime.Name = "ylabelReceiveTime"; this.ylabelReceiveTime.Xalign = 0F; this.tableTo.Add(this.ylabelReceiveTime); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.tableTo[this.ylabelReceiveTime])); w36.TopAttach = ((uint)(2)); w36.BottomAttach = ((uint)(3)); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); this.hboxTransferInfo.Add(this.tableTo); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hboxTransferInfo[this.tableTo])); w37.Position = 1; this.vboxDialog.Add(this.hboxTransferInfo); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxTransferInfo])); w38.Position = 4; w38.Expand = false; w38.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vboxDialog.Add(this.hseparator1); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hseparator1])); w39.Position = 5; w39.Expand = false; w39.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hboxFuelInfo = new global::Gtk.HBox(); this.hboxFuelInfo.Name = "hboxFuelInfo"; this.hboxFuelInfo.Spacing = 6; // Container child hboxFuelInfo.Gtk.Box+BoxChild this.labelFuelType = new global::Gtk.Label(); this.labelFuelType.Name = "labelFuelType"; this.labelFuelType.Xalign = 1F; this.labelFuelType.LabelProp = global::Mono.Unix.Catalog.GetString("Тип топлива:"); this.hboxFuelInfo.Add(this.labelFuelType); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hboxFuelInfo[this.labelFuelType])); w40.Position = 0; w40.Expand = false; w40.Fill = false; // Container child hboxFuelInfo.Gtk.Box+BoxChild this.ycomboFuelType = new global::Gamma.Widgets.ySpecComboBox(); this.ycomboFuelType.Name = "ycomboFuelType"; this.ycomboFuelType.AddIfNotExist = false; this.ycomboFuelType.DefaultFirst = false; this.ycomboFuelType.ShowSpecialStateAll = false; this.ycomboFuelType.ShowSpecialStateNot = false; this.hboxFuelInfo.Add(this.ycomboFuelType); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hboxFuelInfo[this.ycomboFuelType])); w41.Position = 1; w41.Expand = false; w41.Fill = false; this.vbox2.Add(this.hboxFuelInfo); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hboxFuelInfo])); w42.Position = 0; w42.Expand = false; w42.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hboxLiters = new global::Gtk.HBox(); this.hboxLiters.Name = "hboxLiters"; this.hboxLiters.Spacing = 6; // Container child hboxLiters.Gtk.Box+BoxChild this.labelLiters = new global::Gtk.Label(); this.labelLiters.Name = "labelLiters"; this.labelLiters.Xalign = 1F; this.labelLiters.LabelProp = global::Mono.Unix.Catalog.GetString("Литров к отправке:"); this.hboxLiters.Add(this.labelLiters); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hboxLiters[this.labelLiters])); w43.Position = 0; w43.Expand = false; w43.Fill = false; // Container child hboxLiters.Gtk.Box+BoxChild this.yspinLiters = new global::Gamma.GtkWidgets.ySpinButton(0D, 1000000D, 100D); this.yspinLiters.CanDefault = true; this.yspinLiters.CanFocus = true; this.yspinLiters.Name = "yspinLiters"; this.yspinLiters.Adjustment.PageIncrement = 1000D; this.yspinLiters.ClimbRate = 1D; this.yspinLiters.Digits = ((uint)(2)); this.yspinLiters.Numeric = true; this.yspinLiters.ValueAsDecimal = 0m; this.yspinLiters.ValueAsInt = 0; this.hboxLiters.Add(this.yspinLiters); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hboxLiters[this.yspinLiters])); w44.Position = 1; w44.Expand = false; w44.Fill = false; // Container child hboxLiters.Gtk.Box+BoxChild this.ylabelLitersAvailableValue = new global::Gamma.GtkWidgets.yLabel(); this.ylabelLitersAvailableValue.Name = "ylabelLitersAvailableValue"; this.ylabelLitersAvailableValue.Xalign = 0F; this.ylabelLitersAvailableValue.LabelProp = global::Mono.Unix.Catalog.GetString("###"); this.hboxLiters.Add(this.ylabelLitersAvailableValue); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hboxLiters[this.ylabelLitersAvailableValue])); w45.Position = 2; w45.Expand = false; w45.Fill = false; this.vbox2.Add(this.hboxLiters); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hboxLiters])); w46.Position = 1; w46.Expand = false; w46.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.labelComment = new global::Gtk.Label(); this.labelComment.Name = "labelComment"; this.labelComment.Xalign = 0F; this.labelComment.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.vbox2.Add(this.labelComment); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.labelComment])); w47.Position = 2; w47.Expand = false; w47.Fill = false; // Container child vbox2.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.ytextviewComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewComment.CanFocus = true; this.ytextviewComment.Name = "ytextviewComment"; this.GtkScrolledWindow.Add(this.ytextviewComment); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow])); w49.Position = 3; this.hbox4.Add(this.vbox2); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vbox2])); w50.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.fuelbalanceview = new global::Vodovoz.Dialogs.Fuel.FuelBalanceView(); this.fuelbalanceview.Events = ((global::Gdk.EventMask)(256)); this.fuelbalanceview.Name = "fuelbalanceview"; this.vbox5.Add(this.fuelbalanceview); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.fuelbalanceview])); w51.Position = 0; w51.Expand = false; w51.Fill = false; this.hbox4.Add(this.vbox5); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vbox5])); w52.PackType = ((global::Gtk.PackType)(1)); w52.Position = 1; w52.Expand = false; w52.Fill = false; this.vboxDialog.Add(this.hbox4); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hbox4])); w53.Position = 6; this.Add(this.vboxDialog); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Complaints.CreateInnerComplaintView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Complaints.CreateInnerComplaintView"; // Container child Vodovoz.Views.Complaints.CreateInnerComplaintView.Gtk.Container+ContainerChild this.vboxDialog = new global::Gtk.VBox(); this.vboxDialog.Name = "vboxDialog"; this.vboxDialog.Spacing = 6; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hboxDialogButtons.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hboxDialogButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vboxDialog.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxDialogButtons])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.tableFields = new global::Gtk.Table(((uint)(5)), ((uint)(2)), false); this.tableFields.Name = "tableFields"; this.tableFields.RowSpacing = ((uint)(6)); this.tableFields.ColumnSpacing = ((uint)(6)); // Container child tableFields.Gtk.Table+TableChild this.complaintfilesview = new global::Vodovoz.Views.Complaints.ComplaintFilesView(); this.complaintfilesview.Events = ((global::Gdk.EventMask)(256)); this.complaintfilesview.Name = "complaintfilesview"; this.tableFields.Add(this.complaintfilesview); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableFields[this.complaintfilesview])); w6.TopAttach = ((uint)(4)); w6.BottomAttach = ((uint)(5)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytextviewComplaintText = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewComplaintText.CanFocus = true; this.ytextviewComplaintText.Name = "ytextviewComplaintText"; this.GtkScrolledWindow1.Add(this.ytextviewComplaintText); this.tableFields.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableFields[this.GtkScrolledWindow1])); w8.TopAttach = ((uint)(3)); w8.BottomAttach = ((uint)(4)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.guiltyitemsview = new global::Vodovoz.Views.Complaints.GuiltyItemsView(); this.guiltyitemsview.Events = ((global::Gdk.EventMask)(256)); this.guiltyitemsview.Name = "guiltyitemsview"; this.tableFields.Add(this.guiltyitemsview); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableFields[this.guiltyitemsview])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.hboxObjectAndKind = new global::Gtk.HBox(); this.hboxObjectAndKind.Name = "hboxObjectAndKind"; this.hboxObjectAndKind.Spacing = 6; // Container child hboxObjectAndKind.Gtk.Box+BoxChild this.yspeccomboboxComplaintObject = new global::Gamma.Widgets.ySpecComboBox(); this.yspeccomboboxComplaintObject.Name = "yspeccomboboxComplaintObject"; this.yspeccomboboxComplaintObject.AddIfNotExist = false; this.yspeccomboboxComplaintObject.DefaultFirst = false; this.yspeccomboboxComplaintObject.ShowSpecialStateAll = false; this.yspeccomboboxComplaintObject.ShowSpecialStateNot = false; this.hboxObjectAndKind.Add(this.yspeccomboboxComplaintObject); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxObjectAndKind[this.yspeccomboboxComplaintObject])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hboxObjectAndKind.Gtk.Box+BoxChild this.labelComplaintKind = new global::Gtk.Label(); this.labelComplaintKind.Name = "labelComplaintKind"; this.labelComplaintKind.Xalign = 1F; this.labelComplaintKind.LabelProp = global::Mono.Unix.Catalog.GetString("Вид рекламации:"); this.hboxObjectAndKind.Add(this.labelComplaintKind); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxObjectAndKind[this.labelComplaintKind])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child hboxObjectAndKind.Gtk.Box+BoxChild this.spLstComplaintKind = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.spLstComplaintKind.Name = "spLstComplaintKind"; this.spLstComplaintKind.AddIfNotExist = false; this.spLstComplaintKind.DefaultFirst = false; this.spLstComplaintKind.ShowSpecialStateAll = false; this.spLstComplaintKind.ShowSpecialStateNot = false; this.hboxObjectAndKind.Add(this.spLstComplaintKind); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hboxObjectAndKind[this.spLstComplaintKind])); w12.Position = 2; w12.Expand = false; w12.Fill = false; this.tableFields.Add(this.hboxObjectAndKind); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableFields[this.hboxObjectAndKind])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelComplaintText = new global::Gtk.Label(); this.labelComplaintText.Name = "labelComplaintText"; this.labelComplaintText.Xalign = 1F; this.labelComplaintText.Yalign = 0F; this.labelComplaintText.LabelProp = global::Mono.Unix.Catalog.GetString("Проблема:"); this.tableFields.Add(this.labelComplaintText); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelComplaintText])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child tableFields.Gtk.Table+TableChild this.labelGuilty = new global::Gtk.Label(); this.labelGuilty.Name = "labelGuilty"; this.labelGuilty.Xalign = 1F; this.labelGuilty.Yalign = 0F; this.labelGuilty.LabelProp = global::Mono.Unix.Catalog.GetString("Виновники:"); this.tableFields.Add(this.labelGuilty); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelGuilty])); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.lblComplaintObject = new global::Gtk.Label(); this.lblComplaintObject.Name = "lblComplaintObject"; this.lblComplaintObject.Xalign = 1F; this.lblComplaintObject.LabelProp = global::Mono.Unix.Catalog.GetString("Объект рекламаций:"); this.tableFields.Add(this.lblComplaintObject); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableFields[this.lblComplaintObject])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxDialog.Add(this.tableFields); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.tableFields])); w17.Position = 1; // Container child vboxDialog.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vboxDialog.Add(this.hseparator1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hseparator1])); w18.Position = 2; w18.Expand = false; w18.Fill = false; this.Add(this.vboxDialog); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.ManualPaymentMatchingView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.ManualPaymentMatchingView"; // Container child Vodovoz.Views.ManualPaymentMatchingView.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.btnSave = new global::Gtk.Button(); this.btnSave.CanFocus = true; this.btnSave.Name = "btnSave"; this.btnSave.UseUnderline = true; this.btnSave.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.btnSave.Image = w1; this.hbox1.Add(this.btnSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.btnCancel = new global::Gtk.Button(); this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseUnderline = true; this.btnCancel.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.btnCancel.Image = w3; this.hbox1.Add(this.btnCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox1.Add(this.vseparator1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator1])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.radioBtnAllocateOrders = new global::Gamma.GtkWidgets.yRadioButton(); this.radioBtnAllocateOrders.CanFocus = true; this.radioBtnAllocateOrders.Name = "radioBtnAllocateOrders"; this.radioBtnAllocateOrders.Label = global::Mono.Unix.Catalog.GetString("Распределение платежа"); this.radioBtnAllocateOrders.DrawIndicator = false; this.radioBtnAllocateOrders.UseUnderline = true; this.radioBtnAllocateOrders.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.hbox1.Add(this.radioBtnAllocateOrders); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioBtnAllocateOrders])); w6.Position = 3; w6.Expand = false; w6.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.radioBtnAllocatedOrders = new global::Gamma.GtkWidgets.yRadioButton(); this.radioBtnAllocatedOrders.CanFocus = true; this.radioBtnAllocatedOrders.Name = "radioBtnAllocatedOrders"; this.radioBtnAllocatedOrders.Label = global::Mono.Unix.Catalog.GetString("Распределенные заказы"); this.radioBtnAllocatedOrders.DrawIndicator = false; this.radioBtnAllocatedOrders.UseUnderline = true; this.radioBtnAllocatedOrders.Group = this.radioBtnAllocateOrders.Group; this.hbox1.Add(this.radioBtnAllocatedOrders); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioBtnAllocatedOrders])); w7.Position = 4; w7.Expand = false; w7.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox2.Add(this.hseparator1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hseparator1])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.scrolledwindow3 = new global::Gtk.ScrolledWindow(); this.scrolledwindow3.CanFocus = true; this.scrolledwindow3.Name = "scrolledwindow3"; this.scrolledwindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow3.Gtk.Container+ContainerChild global::Gtk.Viewport w10 = new global::Gtk.Viewport(); w10.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.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.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("№ платежа:"); this.hbox2.Add(this.label5); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label5])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.labelPaymentNum = new global::Gtk.Label(); this.labelPaymentNum.Name = "labelPaymentNum"; this.labelPaymentNum.LabelProp = global::Mono.Unix.Catalog.GetString("paymentNum"); this.hbox2.Add(this.labelPaymentNum); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.labelPaymentNum])); w12.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Плательщик:"); this.hbox2.Add(this.label6); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label6])); w13.Position = 2; w13.Expand = false; w13.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.labelPayer = new global::Gtk.Label(); this.labelPayer.Name = "labelPayer"; this.labelPayer.LabelProp = global::Mono.Unix.Catalog.GetString("Payer"); this.hbox2.Add(this.labelPayer); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.labelPayer])); w14.Position = 3; // Container child hbox2.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.hbox2.Add(this.label7); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label7])); w15.Position = 4; w15.Expand = false; w15.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.labelDate = new global::Gtk.Label(); this.labelDate.Name = "labelDate"; this.labelDate.LabelProp = global::Mono.Unix.Catalog.GetString("Date"); this.hbox2.Add(this.labelDate); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.labelDate])); w16.Position = 5; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Основание:"); this.hbox3.Add(this.label11); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label11])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child hbox3.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.ytextviewPaymentPurpose = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewPaymentPurpose.CanFocus = true; this.ytextviewPaymentPurpose.Name = "ytextviewPaymentPurpose"; this.ytextviewPaymentPurpose.Editable = false; this.ytextviewPaymentPurpose.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow.Add(this.ytextviewPaymentPurpose); this.hbox3.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.GtkScrolledWindow])); w20.Position = 1; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); w21.Position = 1; w21.Expand = false; w21.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Сумма платежа:"); this.hbox4.Add(this.label13); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.label13])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.labelTotalSum = new global::Gtk.Label(); this.labelTotalSum.Name = "labelTotalSum"; this.labelTotalSum.LabelProp = global::Mono.Unix.Catalog.GetString("OrderSum"); this.hbox4.Add(this.labelTotalSum); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.labelTotalSum])); w23.Position = 1; // Container child hbox4.Gtk.Box+BoxChild this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Прошлый остаток:"); this.hbox4.Add(this.label14); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.label14])); w24.Position = 2; w24.Expand = false; w24.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.labelLastBalance = new global::Gamma.GtkWidgets.yLabel(); this.labelLastBalance.Name = "labelLastBalance"; this.labelLastBalance.LabelProp = global::Mono.Unix.Catalog.GetString("LastBalance"); this.hbox4.Add(this.labelLastBalance); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.labelLastBalance])); w25.Position = 3; // Container child hbox4.Gtk.Box+BoxChild this.label15 = new global::Gtk.Label(); this.label15.Name = "label15"; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString("К распределению:"); this.hbox4.Add(this.label15); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.label15])); w26.Position = 4; w26.Expand = false; w26.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.labelToAllocate = new global::Gamma.GtkWidgets.yLabel(); this.labelToAllocate.Name = "labelToAllocate"; this.labelToAllocate.LabelProp = global::Mono.Unix.Catalog.GetString("ToAllocate"); this.hbox4.Add(this.labelToAllocate); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.labelToAllocate])); w27.Position = 5; this.vbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4])); w28.Position = 2; w28.Expand = false; w28.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox(); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; // Container child hbox11.Gtk.Box+BoxChild this.label25 = new global::Gtk.Label(); this.label25.Name = "label25"; this.label25.LabelProp = global::Mono.Unix.Catalog.GetString("Период:"); this.hbox11.Add(this.label25); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.label25])); w29.Position = 0; w29.Expand = false; w29.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.daterangepicker1 = new global::QS.Widgets.GtkUI.DateRangePicker(); this.daterangepicker1.Events = ((global::Gdk.EventMask)(256)); this.daterangepicker1.Name = "daterangepicker1"; this.daterangepicker1.StartDate = new global::System.DateTime(0); this.daterangepicker1.EndDate = new global::System.DateTime(0); this.hbox11.Add(this.daterangepicker1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.daterangepicker1])); w30.Position = 1; // Container child hbox11.Gtk.Box+BoxChild this.label26 = new global::Gtk.Label(); this.label26.Name = "label26"; this.label26.LabelProp = global::Mono.Unix.Catalog.GetString("Статус заказов:"); this.hbox11.Add(this.label26); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.label26])); w31.Position = 2; w31.Expand = false; w31.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.yenumcomboOrderStatus = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboOrderStatus.Name = "yenumcomboOrderStatus"; this.yenumcomboOrderStatus.ShowSpecialStateAll = true; this.yenumcomboOrderStatus.ShowSpecialStateNot = false; this.yenumcomboOrderStatus.UseShortTitle = false; this.yenumcomboOrderStatus.DefaultFirst = false; this.hbox11.Add(this.yenumcomboOrderStatus); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.yenumcomboOrderStatus])); w32.Position = 3; // Container child hbox11.Gtk.Box+BoxChild this.label27 = new global::Gtk.Label(); this.label27.Name = "label27"; this.label27.LabelProp = global::Mono.Unix.Catalog.GetString("Статус оплаты:"); this.hbox11.Add(this.label27); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.label27])); w33.Position = 4; w33.Expand = false; w33.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.yenumcomboOrderPaymentStatus = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboOrderPaymentStatus.Name = "yenumcomboOrderPaymentStatus"; this.yenumcomboOrderPaymentStatus.ShowSpecialStateAll = true; this.yenumcomboOrderPaymentStatus.ShowSpecialStateNot = false; this.yenumcomboOrderPaymentStatus.UseShortTitle = false; this.yenumcomboOrderPaymentStatus.DefaultFirst = false; this.hbox11.Add(this.yenumcomboOrderPaymentStatus); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.yenumcomboOrderPaymentStatus])); w34.Position = 5; this.vbox1.Add(this.hbox11); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox11])); w35.Position = 3; w35.Expand = false; w35.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.label19 = new global::Gtk.Label(); this.label19.Name = "label19"; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString("Контрагент:"); this.hbox6.Add(this.label19); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.label19])); w36.Position = 0; w36.Expand = false; w36.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.entryCounterparty = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryCounterparty.Events = ((global::Gdk.EventMask)(256)); this.entryCounterparty.Name = "entryCounterparty"; this.entryCounterparty.CanEditReference = true; this.hbox6.Add(this.entryCounterparty); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.entryCounterparty])); w37.Position = 1; w37.Expand = false; w37.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.btnAddCounterparty = new global::Gamma.GtkWidgets.yButton(); this.btnAddCounterparty.CanFocus = true; this.btnAddCounterparty.Name = "btnAddCounterparty"; this.btnAddCounterparty.UseUnderline = true; this.btnAddCounterparty.Label = global::Mono.Unix.Catalog.GetString("Добавить контрагента"); this.hbox6.Add(this.btnAddCounterparty); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnAddCounterparty])); w38.Position = 2; w38.Expand = false; w38.Fill = false; this.vbox1.Add(this.hbox6); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox6])); w39.Position = 4; w39.Expand = false; w39.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hboxSearch = new global::Gtk.HBox(); this.hboxSearch.Name = "hboxSearch"; this.hboxSearch.Spacing = 6; this.vbox1.Add(this.hboxSearch); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxSearch])); w40.Position = 5; w40.Expand = false; w40.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.ytreeviewOrdersAllocate = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewOrdersAllocate.CanFocus = true; this.ytreeviewOrdersAllocate.Name = "ytreeviewOrdersAllocate"; this.scrolledwindow1.Add(this.ytreeviewOrdersAllocate); this.vbox1.Add(this.scrolledwindow1); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.scrolledwindow1])); w42.Position = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.label20 = new global::Gtk.Label(); this.label20.Name = "label20"; this.label20.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.hbox9.Add(this.label20); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.label20])); w43.Position = 0; w43.Expand = false; w43.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.scrolledwindow2 = new global::Gtk.ScrolledWindow(); this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow2.Gtk.Container+ContainerChild this.ytextviewComments = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewComments.CanFocus = true; this.ytextviewComments.Name = "ytextviewComments"; this.scrolledwindow2.Add(this.ytextviewComments); this.hbox9.Add(this.scrolledwindow2); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.scrolledwindow2])); w45.Position = 1; // Container child hbox9.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // 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.label21 = new global::Gtk.Label(); this.label21.Name = "label21"; this.label21.LabelProp = global::Mono.Unix.Catalog.GetString("Распределено:"); this.hbox10.Add(this.label21); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.label21])); w46.Position = 0; w46.Expand = false; w46.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.ylabelAllocated = new global::Gamma.GtkWidgets.yLabel(); this.ylabelAllocated.Name = "ylabelAllocated"; this.ylabelAllocated.LabelProp = global::Mono.Unix.Catalog.GetString("Allocated"); this.hbox10.Add(this.ylabelAllocated); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.ylabelAllocated])); w47.Position = 1; w47.Expand = false; w47.Fill = false; this.vbox3.Add(this.hbox10); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox10])); w48.Position = 0; w48.Expand = false; w48.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox12 = new global::Gtk.HBox(); this.hbox12.Name = "hbox12"; this.hbox12.Spacing = 6; // Container child hbox12.Gtk.Box+BoxChild this.label22 = new global::Gtk.Label(); this.label22.Name = "label22"; this.label22.LabelProp = global::Mono.Unix.Catalog.GetString("Остаток:"); this.hbox12.Add(this.label22); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.label22])); w49.Position = 0; w49.Expand = false; w49.Fill = false; // Container child hbox12.Gtk.Box+BoxChild this.ylabelCurBalance = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCurBalance.Name = "ylabelCurBalance"; this.ylabelCurBalance.LabelProp = global::Mono.Unix.Catalog.GetString("CurBalance"); this.hbox12.Add(this.ylabelCurBalance); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.ylabelCurBalance])); w50.Position = 1; w50.Expand = false; w50.Fill = false; this.vbox3.Add(this.hbox12); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox12])); w51.Position = 1; w51.Expand = false; w51.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.lblCounterpartyDebtTitle = new global::Gamma.GtkWidgets.yLabel(); this.lblCounterpartyDebtTitle.Name = "lblCounterpartyDebtTitle"; this.lblCounterpartyDebtTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Долг контрагента\n+ Ожидает оплаты\n+ Закр.Док: "); this.hbox8.Add(this.lblCounterpartyDebtTitle); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.lblCounterpartyDebtTitle])); w52.Position = 0; w52.Expand = false; w52.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.ylabelCounterpartyDebt = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCounterpartyDebt.Name = "ylabelCounterpartyDebt"; this.ylabelCounterpartyDebt.LabelProp = global::Mono.Unix.Catalog.GetString("CounterpartyDebt"); this.hbox8.Add(this.ylabelCounterpartyDebt); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.ylabelCounterpartyDebt])); w53.Position = 1; w53.Expand = false; w53.Fill = false; this.vbox3.Add(this.hbox8); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox8])); w54.Position = 2; w54.Expand = false; w54.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.buttonComplete = new global::Gtk.Button(); this.buttonComplete.CanFocus = true; this.buttonComplete.Name = "buttonComplete"; this.buttonComplete.UseUnderline = true; this.buttonComplete.Label = global::Mono.Unix.Catalog.GetString("Завершить распределение"); this.vbox3.Add(this.buttonComplete); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.buttonComplete])); w55.Position = 3; w55.Expand = false; w55.Fill = false; this.hbox9.Add(this.vbox3); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.vbox3])); w56.Position = 2; w56.Expand = false; w56.Fill = false; this.vbox1.Add(this.hbox9); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox9])); w57.Position = 7; w57.Expand = false; w57.Fill = false; w10.Add(this.vbox1); this.scrolledwindow3.Add(w10); this.notebook1.Add(this.scrolledwindow3); // Notebook tab this.lblAllocateOrders = new global::Gtk.Label(); this.lblAllocateOrders.Name = "lblAllocateOrders"; this.lblAllocateOrders.LabelProp = global::Mono.Unix.Catalog.GetString("Распределение платежа"); this.notebook1.SetTabLabel(this.scrolledwindow3, this.lblAllocateOrders); this.lblAllocateOrders.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.scrolledwindow4 = new global::Gtk.ScrolledWindow(); this.scrolledwindow4.CanFocus = true; this.scrolledwindow4.Name = "scrolledwindow4"; this.scrolledwindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow4.Gtk.Container+ContainerChild global::Gtk.Viewport w61 = new global::Gtk.Viewport(); w61.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport1.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.Xalign = 0F; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Распределенные заказы:"); this.vbox4.Add(this.ylabel2); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.ylabel2])); w62.Position = 0; w62.Expand = false; w62.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.yTreeViewAllocatedOrders = new global::Gamma.GtkWidgets.yTreeView(); this.yTreeViewAllocatedOrders.CanFocus = true; this.yTreeViewAllocatedOrders.Name = "yTreeViewAllocatedOrders"; this.GtkScrolledWindow1.Add(this.yTreeViewAllocatedOrders); this.vbox4.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.GtkScrolledWindow1])); w64.Position = 1; // Container child vbox4.Gtk.Box+BoxChild this.hbox13 = new global::Gtk.HBox(); this.hbox13.Name = "hbox13"; this.hbox13.Spacing = 6; // Container child hbox13.Gtk.Box+BoxChild this.ybtnRevertPayment = new global::Gamma.GtkWidgets.yButton(); this.ybtnRevertPayment.CanFocus = true; this.ybtnRevertPayment.Name = "ybtnRevertPayment"; this.ybtnRevertPayment.UseUnderline = true; this.ybtnRevertPayment.Label = global::Mono.Unix.Catalog.GetString("Снять оплату"); this.hbox13.Add(this.ybtnRevertPayment); global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.hbox13[this.ybtnRevertPayment])); w65.Position = 0; w65.Expand = false; w65.Fill = false; this.vbox4.Add(this.hbox13); global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox13])); w66.Position = 2; w66.Expand = false; w66.Fill = false; w61.Add(this.vbox4); this.scrolledwindow4.Add(w61); this.notebook1.Add(this.scrolledwindow4); global::Gtk.Notebook.NotebookChild w69 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.scrolledwindow4])); w69.Position = 1; // Notebook tab this.lblAllocatedOrders = new global::Gtk.Label(); this.lblAllocatedOrders.Name = "lblAllocatedOrders"; this.lblAllocatedOrders.LabelProp = global::Mono.Unix.Catalog.GetString("Распределенные заказы"); this.notebook1.SetTabLabel(this.scrolledwindow4, this.lblAllocatedOrders); this.lblAllocatedOrders.ShowAll(); this.vbox2.Add(this.notebook1); global::Gtk.Box.BoxChild w70 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.notebook1])); w70.Position = 2; // Container child vbox2.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.vbox2.Add(this.hseparator2); global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hseparator2])); w71.Position = 3; w71.Expand = false; w71.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 workwear.Views.Regulations.NormView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Regulations.NormView"; // Container child workwear.Views.Regulations.NormView.Gtk.Container+ContainerChild this.dialog1_VBox = new global::Gtk.VBox(); this.dialog1_VBox.Name = "dialog1_VBox"; this.dialog1_VBox.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.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::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.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::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.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.dialog1_VBox.Add(this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child dialog1_VBox.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)(8)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.datefrom = new global::QS.Widgets.GtkUI.DatePicker(); this.datefrom.Events = ((global::Gdk.EventMask)(256)); this.datefrom.Name = "datefrom"; this.datefrom.WithTime = false; this.datefrom.HideCalendarButton = false; this.datefrom.Date = new global::System.DateTime(0); this.datefrom.IsEditable = true; this.datefrom.AutoSeparation = true; this.table1.Add(this.datefrom); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.datefrom])); w6.TopAttach = ((uint)(5)); w6.BottomAttach = ((uint)(6)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.dateto = new global::QS.Widgets.GtkUI.DatePicker(); this.dateto.Events = ((global::Gdk.EventMask)(256)); this.dateto.Name = "dateto"; this.dateto.WithTime = false; this.dateto.HideCalendarButton = false; this.dateto.Date = new global::System.DateTime(0); this.dateto.IsEditable = true; this.dateto.AutoSeparation = true; this.table1.Add(this.dateto); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.dateto])); w7.TopAttach = ((uint)(6)); w7.BottomAttach = ((uint)(7)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindowComments = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindowComments.Name = "GtkScrolledWindowComments"; this.GtkScrolledWindowComments.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowComments.Gtk.Container+ContainerChild this.ytextComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextComment.CanFocus = true; this.ytextComment.Name = "ytextComment"; this.ytextComment.AcceptsTab = false; this.ytextComment.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindowComments.Add(this.ytextComment); this.table1.Add(this.GtkScrolledWindowComments); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindowComments])); w9.TopAttach = ((uint)(7)); w9.BottomAttach = ((uint)(8)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.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 w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.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 w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label26 = new global::Gtk.Label(); this.label26.Name = "label26"; this.label26.Xalign = 1F; this.label26.Yalign = 0F; this.label26.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.table1.Add(this.label26); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label26])); w12.TopAttach = ((uint)(7)); w12.BottomAttach = ((uint)(8)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.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 w13 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.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 w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Дата начала действия:"); this.table1.Add(this.label6); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label6])); w15.TopAttach = ((uint)(5)); w15.BottomAttach = ((uint)(6)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.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 w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label7])); w16.TopAttach = ((uint)(6)); w16.BottomAttach = ((uint)(7)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Название нормы:"); this.table1.Add(this.label8); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w17.TopAttach = ((uint)(4)); w17.BottomAttach = ((uint)(5)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboAnnex = new global::Gamma.Widgets.yListComboBox(); this.ycomboAnnex.Name = "ycomboAnnex"; this.ycomboAnnex.AddIfNotExist = false; this.ycomboAnnex.DefaultFirst = false; this.table1.Add(this.ycomboAnnex); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.ycomboAnnex])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryName = new global::Gamma.GtkWidgets.yEntry(); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.MaxLength = 200; this.yentryName.InvisibleChar = '●'; this.table1.Add(this.yentryName); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryName])); w19.TopAttach = ((uint)(4)); w19.BottomAttach = ((uint)(5)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryRegulationDoc = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.yentryRegulationDoc.Name = "yentryRegulationDoc"; this.yentryRegulationDoc.AddIfNotExist = false; this.yentryRegulationDoc.DefaultFirst = false; this.yentryRegulationDoc.ShowSpecialStateAll = false; this.yentryRegulationDoc.ShowSpecialStateNot = true; this.table1.Add(this.yentryRegulationDoc); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryRegulationDoc])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryTonParagraph = new global::Gamma.GtkWidgets.yEntry(); this.yentryTonParagraph.CanFocus = true; this.yentryTonParagraph.Name = "yentryTonParagraph"; this.yentryTonParagraph.IsEditable = true; this.yentryTonParagraph.MaxLength = 15; this.yentryTonParagraph.InvisibleChar = '●'; this.table1.Add(this.yentryTonParagraph); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryTonParagraph])); w21.TopAttach = ((uint)(3)); w21.BottomAttach = ((uint)(4)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelId = new global::Gamma.GtkWidgets.yLabel(); this.ylabelId.Name = "ylabelId"; this.ylabelId.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.table1.Add(this.ylabelId); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelId])); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table1])); w23.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytreeProfessions = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeProfessions.CanFocus = true; this.ytreeProfessions.Name = "ytreeProfessions"; this.GtkScrolledWindow.Add(this.ytreeProfessions); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow])); w25.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonNewProfession = new global::Gtk.Button(); this.buttonNewProfession.CanFocus = true; this.buttonNewProfession.Name = "buttonNewProfession"; this.buttonNewProfession.UseUnderline = true; this.buttonNewProfession.Label = global::Mono.Unix.Catalog.GetString("Новая"); global::Gtk.Image w26 = new global::Gtk.Image(); w26.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-new", global::Gtk.IconSize.Menu); this.buttonNewProfession.Image = w26; this.hbox5.Add(this.buttonNewProfession); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonNewProfession])); w27.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.buttonAddProfession = new global::Gtk.Button(); this.buttonAddProfession.CanFocus = true; this.buttonAddProfession.Name = "buttonAddProfession"; this.buttonAddProfession.UseUnderline = true; this.buttonAddProfession.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w28 = new global::Gtk.Image(); w28.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddProfession.Image = w28; this.hbox5.Add(this.buttonAddProfession); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonAddProfession])); w29.Position = 1; // Container child hbox5.Gtk.Box+BoxChild this.buttonRemoveProfession = new global::Gtk.Button(); this.buttonRemoveProfession.Sensitive = false; this.buttonRemoveProfession.CanFocus = true; this.buttonRemoveProfession.Name = "buttonRemoveProfession"; this.buttonRemoveProfession.UseUnderline = true; this.buttonRemoveProfession.Label = global::Mono.Unix.Catalog.GetString("Убрать"); global::Gtk.Image w30 = new global::Gtk.Image(); w30.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveProfession.Image = w30; this.hbox5.Add(this.buttonRemoveProfession); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonRemoveProfession])); w31.Position = 2; this.vbox2.Add(this.hbox5); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox5])); w32.Position = 1; w32.Expand = false; w32.Fill = false; this.hbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2])); w33.Position = 1; this.dialog1_VBox.Add(this.hbox1); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox1])); w34.Position = 1; w34.Expand = false; w34.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Выдаваемая по норме номенклатура</b>"); this.label5.UseMarkup = true; this.dialog1_VBox.Add(this.label5); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.label5])); w35.Position = 2; w35.Expand = false; w35.Fill = false; // Container child dialog1_VBox.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.ytreeItems = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeItems.CanFocus = true; this.ytreeItems.Name = "ytreeItems"; this.GtkScrolledWindow1.Add(this.ytreeItems); this.dialog1_VBox.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.GtkScrolledWindow1])); w37.Position = 3; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.buttonAddItem = new global::Gtk.Button(); this.buttonAddItem.CanFocus = true; this.buttonAddItem.Name = "buttonAddItem"; this.buttonAddItem.UseUnderline = true; this.buttonAddItem.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w38 = new global::Gtk.Image(); w38.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddItem.Image = w38; this.hbox6.Add(this.buttonAddItem); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonAddItem])); w39.Position = 0; w39.Expand = false; w39.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonRemoveItem = new global::Gtk.Button(); this.buttonRemoveItem.Sensitive = false; this.buttonRemoveItem.CanFocus = true; this.buttonRemoveItem.Name = "buttonRemoveItem"; this.buttonRemoveItem.UseUnderline = true; this.buttonRemoveItem.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w40 = new global::Gtk.Image(); w40.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveItem.Image = w40; this.hbox6.Add(this.buttonRemoveItem); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonRemoveItem])); w41.Position = 1; w41.Expand = false; w41.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonReplaceNomeclature = new global::Gamma.GtkWidgets.yButton(); this.buttonReplaceNomeclature.TooltipMarkup = "Заменяет одну номенклатуру в норме на другую, при этом так же заменяя номенклатур" + "у в выдачах и потребностях сотрудников в которых использовалась данная строка но" + "рмы."; this.buttonReplaceNomeclature.Sensitive = false; this.buttonReplaceNomeclature.CanFocus = true; this.buttonReplaceNomeclature.Name = "buttonReplaceNomeclature"; this.buttonReplaceNomeclature.UseUnderline = true; this.buttonReplaceNomeclature.Label = global::Mono.Unix.Catalog.GetString("Заменить номенклатуру"); global::Gtk.Image w42 = new global::Gtk.Image(); w42.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("workwear.icon.buttons.arrows.png"); this.buttonReplaceNomeclature.Image = w42; this.hbox6.Add(this.buttonReplaceNomeclature); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonReplaceNomeclature])); w43.Position = 2; w43.Expand = false; w43.Fill = false; this.dialog1_VBox.Add(this.hbox6); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox6])); w44.Position = 4; w44.Expand = false; w44.Fill = false; this.Add(this.dialog1_VBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.buttonNewProfession.Clicked += new global::System.EventHandler(this.OnButtonNewProfessionClicked); this.buttonAddProfession.Clicked += new global::System.EventHandler(this.OnButtonAddProfessionClicked); this.buttonRemoveProfession.Clicked += new global::System.EventHandler(this.OnButtonRemoveProfessionClicked); this.buttonAddItem.Clicked += new global::System.EventHandler(this.OnButtonAddItemClicked); this.buttonRemoveItem.Clicked += new global::System.EventHandler(this.OnButtonRemoveItemClicked); this.buttonReplaceNomeclature.Clicked += new global::System.EventHandler(this.OnButtonReplaceNomeclatureClicked); }
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.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 w12 = ((global::Gtk.Table.TableChild)(this.table1[this.evmeCashier])); w12.LeftAttach = ((uint)(3)); w12.RightAttach = ((uint)(4)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w13 = ((global::Gtk.Table.TableChild)(this.table1[this.evmeEmployee])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); 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.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 w14 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspinMoney])); w14.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 w15 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.currencylabel1])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.table1.Add(this.hbox6); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox6])); w16.TopAttach = ((uint)(4)); w16.BottomAttach = ((uint)(5)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Кассир:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w18.LeftAttach = ((uint)(2)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Тип операции:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w20 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w21 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w21.TopAttach = ((uint)(4)); w21.BottomAttach = ((uint)(5)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.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 w22 = ((global::Gtk.Table.TableChild)(this.table1[this.labelEmployee])); w22.TopAttach = ((uint)(3)); w22.BottomAttach = ((uint)(4)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w23 = ((global::Gtk.Table.TableChild)(this.table1[this.specialListCmbOrganisation])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(2)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w24 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateDocument])); w24.TopAttach = ((uint)(1)); w24.BottomAttach = ((uint)(2)); 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.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.EquipmentDlg Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this); this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default"); this.UIManager.InsertActionGroup(w2, 0); this.Name = "Vodovoz.EquipmentDlg"; // Container child Vodovoz.EquipmentDlg.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 w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w3; this.hbox4.Add(this.buttonSave); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave])); w4.Position = 0; w4.Expand = false; w4.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 w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w5; this.hbox4.Add(this.buttonCancel); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox4.Add(this.vseparator1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vseparator1])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.radiobuttonSticker = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Наклейка")); this.radiobuttonSticker.CanFocus = true; this.radiobuttonSticker.Name = "radiobuttonSticker"; this.radiobuttonSticker.DrawIndicator = false; this.radiobuttonSticker.UseUnderline = true; this.radiobuttonSticker.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.hbox4.Add(this.radiobuttonSticker); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.radiobuttonSticker])); w8.PackType = ((global::Gtk.PackType)(1)); w8.Position = 3; // Container child hbox4.Gtk.Box+BoxChild this.radiobuttonInfo = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Информация")); this.radiobuttonInfo.CanFocus = true; this.radiobuttonInfo.Name = "radiobuttonInfo"; this.radiobuttonInfo.DrawIndicator = false; this.radiobuttonInfo.UseUnderline = true; this.radiobuttonInfo.Group = this.radiobuttonSticker.Group; this.hbox4.Add(this.radiobuttonInfo); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.radiobuttonInfo])); w9.PackType = ((global::Gtk.PackType)(1)); w9.Position = 4; this.vbox3.Add(this.hbox4); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox4])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.datatable1 = new global::Gtk.Table(((uint)(7)), ((uint)(2)), false); this.datatable1.Name = "datatable1"; this.datatable1.RowSpacing = ((uint)(6)); this.datatable1.ColumnSpacing = ((uint)(6)); // Container child datatable1.Gtk.Table+TableChild this.checkOnDuty = new global::Gamma.GtkWidgets.yCheckButton(); this.checkOnDuty.CanFocus = true; this.checkOnDuty.Name = "checkOnDuty"; this.checkOnDuty.Label = ""; this.checkOnDuty.DrawIndicator = true; this.checkOnDuty.UseUnderline = true; this.datatable1.Add(this.checkOnDuty); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatable1[this.checkOnDuty])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.dataLastService = new global::QS.Widgets.GtkUI.DatePicker(); this.dataLastService.Events = ((global::Gdk.EventMask)(256)); this.dataLastService.Name = "dataLastService"; this.dataLastService.WithTime = false; this.dataLastService.Date = new global::System.DateTime(0); this.dataLastService.IsEditable = true; this.dataLastService.AutoSeparation = false; this.datatable1.Add(this.dataLastService); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1[this.dataLastService])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.entrySerialNumber = new global::Gamma.GtkWidgets.yEntry(); this.entrySerialNumber.CanFocus = true; this.entrySerialNumber.Name = "entrySerialNumber"; this.entrySerialNumber.IsEditable = false; this.entrySerialNumber.InvisibleChar = '●'; this.datatable1.Add(this.entrySerialNumber); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable1[this.entrySerialNumber])); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment6 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment6.Name = "GtkAlignment6"; this.GtkAlignment6.LeftPadding = ((uint)(12)); // Container child GtkAlignment6.Gtk.Container+ContainerChild this.labelWhere = new global::Gtk.Label(); this.labelWhere.Name = "labelWhere"; this.labelWhere.Xalign = 0F; this.labelWhere.Yalign = 0F; this.labelWhere.LabelProp = global::Mono.Unix.Catalog.GetString("Не определено"); this.labelWhere.Wrap = true; this.labelWhere.Selectable = true; this.GtkAlignment6.Add(this.labelWhere); this.frame1.Add(this.GtkAlignment6); this.GtkLabel10 = new global::Gtk.Label(); this.GtkLabel10.Name = "GtkLabel10"; this.GtkLabel10.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Текущее расположение:</b>"); this.GtkLabel10.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel10; this.datatable1.Add(this.frame1); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable1[this.frame1])); w16.TopAttach = ((uint)(6)); w16.BottomAttach = ((uint)(7)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textComment = new global::Gamma.GtkWidgets.yTextView(); this.textComment.CanFocus = true; this.textComment.Name = "textComment"; this.GtkScrolledWindow.Add(this.textComment); this.datatable1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatable1[this.GtkScrolledWindow])); w18.TopAttach = ((uint)(5)); w18.BottomAttach = ((uint)(6)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.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 w19 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label1])); w19.TopAttach = ((uint)(5)); w19.BottomAttach = ((uint)(6)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.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("Номенклатура:"); this.label10.Justify = ((global::Gtk.Justification)(1)); this.datatable1.Add(this.label10); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label10])); 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.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 w21 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label11])); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.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 w22 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label7])); 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.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 w23 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label8])); w23.TopAttach = ((uint)(3)); w23.BottomAttach = ((uint)(4)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.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("Дата последней\nсан. обработки:"); this.datatable1.Add(this.label9); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label9])); w24.TopAttach = ((uint)(2)); w24.BottomAttach = ((uint)(3)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceNomenclature = new global::Gamma.Widgets.yEntryReference(); this.referenceNomenclature.Events = ((global::Gdk.EventMask)(256)); this.referenceNomenclature.Name = "referenceNomenclature"; this.datatable1.Add(this.referenceNomenclature); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referenceNomenclature])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.ydatepickerWarrantyEnd = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatepickerWarrantyEnd.Events = ((global::Gdk.EventMask)(256)); this.ydatepickerWarrantyEnd.Name = "ydatepickerWarrantyEnd"; this.ydatepickerWarrantyEnd.WithTime = false; this.ydatepickerWarrantyEnd.Date = new global::System.DateTime(0); this.ydatepickerWarrantyEnd.IsEditable = true; this.ydatepickerWarrantyEnd.AutoSeparation = false; this.datatable1.Add(this.ydatepickerWarrantyEnd); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.datatable1[this.ydatepickerWarrantyEnd])); w26.TopAttach = ((uint)(3)); w26.BottomAttach = ((uint)(4)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebook1.Add(this.datatable1); // Notebook tab this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Информация"); this.notebook1.SetTabLabel(this.datatable1, this.label2); this.label2.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.reportviewerSticker = new global::fyiReporting.RdlGtkViewer.ReportViewer(); this.reportviewerSticker.WidthRequest = 0; this.reportviewerSticker.HeightRequest = 0; this.reportviewerSticker.Events = ((global::Gdk.EventMask)(256)); this.reportviewerSticker.Name = "reportviewerSticker"; this.reportviewerSticker.ShowErrors = false; this.reportviewerSticker.ShowParameters = false; this.notebook1.Add(this.reportviewerSticker); global::Gtk.Notebook.NotebookChild w28 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.reportviewerSticker])); w28.Position = 1; // Notebook tab this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Наклейка"); this.notebook1.SetTabLabel(this.reportviewerSticker, this.label3); this.label3.ShowAll(); this.vbox3.Add(this.notebook1); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.notebook1])); w29.Position = 1; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } w1.SetUiManager(UIManager); this.Hide(); this.radiobuttonInfo.Toggled += new global::System.EventHandler(this.OnRadiobuttonInfoToggled); this.radiobuttonSticker.Toggled += new global::System.EventHandler(this.OnRadiobuttonStickerToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Communications.MessageTemplateView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Communications.MessageTemplateView"; // Container child workwear.Views.Communications.MessageTemplateView.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add(this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.ytable1 = new global::Gamma.GtkWidgets.yTable(); this.ytable1.Name = "ytable1"; this.ytable1.NRows = ((uint)(3)); this.ytable1.NColumns = ((uint)(2)); this.ytable1.RowSpacing = ((uint)(6)); this.ytable1.ColumnSpacing = ((uint)(6)); // Container child ytable1.Gtk.Table+TableChild this.entityTitle = new global::Gamma.GtkWidgets.yEntry(); this.entityTitle.CanFocus = true; this.entityTitle.Name = "entityTitle"; this.entityTitle.IsEditable = true; this.entityTitle.MaxLength = 200; this.entityTitle.InvisibleChar = '•'; this.ytable1.Add(this.entityTitle); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.ytable1[this.entityTitle])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.entryName = new global::Gamma.GtkWidgets.yEntry(); this.entryName.WidthRequest = 400; this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.MaxLength = 100; this.entryName.InvisibleChar = '•'; this.ytable1.Add(this.entryName); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.ytable1[this.entryName])); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.HeightRequest = 100; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextText = new global::Gamma.GtkWidgets.yTextView(); this.ytextText.CanFocus = true; this.ytextText.Name = "ytextText"; this.GtkScrolledWindow.Add(this.ytextText); this.ytable1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.ytable1[this.GtkScrolledWindow])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.ylabel10 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel10.Name = "ylabel10"; this.ylabel10.Xalign = 1F; this.ylabel10.Yalign = 0F; this.ylabel10.LabelProp = global::Mono.Unix.Catalog.GetString("Текст:"); this.ytable1.Add(this.ylabel10); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.ytable1[this.ylabel10])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.ylabel8 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel8.Name = "ylabel8"; this.ylabel8.Xalign = 1F; this.ylabel8.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.ytable1.Add(this.ylabel8); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.ytable1[this.ylabel8])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.ylabel9 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel9.Name = "ylabel9"; this.ylabel9.Xalign = 1F; this.ylabel9.LabelProp = global::Mono.Unix.Catalog.GetString("Заголовок:"); this.ytable1.Add(this.ylabel9); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.ytable1[this.ylabel9])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.ytable1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.ytable1])); w13.Position = 1; w13.Expand = false; w13.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 workwear.Views.Communications.SendMessangeView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Communications.SendMessangeView"; // Container child workwear.Views.Communications.SendMessangeView.Gtk.Container+ContainerChild this.yvbox1 = new global::Gamma.GtkWidgets.yVBox(); this.yvbox1.Name = "yvbox1"; this.yvbox1.Spacing = 6; // Container child yvbox1.Gtk.Box+BoxChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Отправка сообщений"); this.yvbox1.Add(this.ylabel2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.ylabel2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child yvbox1.Gtk.Box+BoxChild this.ylistcomboboxTemplates = new global::Gamma.Widgets.yListComboBox(); this.ylistcomboboxTemplates.Name = "ylistcomboboxTemplates"; this.ylistcomboboxTemplates.AddIfNotExist = false; this.ylistcomboboxTemplates.DefaultFirst = false; this.yvbox1.Add(this.ylistcomboboxTemplates); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.ylistcomboboxTemplates])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child yvbox1.Gtk.Box+BoxChild this.yentryTitle = new global::Gamma.GtkWidgets.yEntry(); this.yentryTitle.WidthRequest = 400; this.yentryTitle.CanFocus = true; this.yentryTitle.Name = "yentryTitle"; this.yentryTitle.IsEditable = true; this.yentryTitle.MaxLength = 200; this.yentryTitle.InvisibleChar = '•'; this.yvbox1.Add(this.yentryTitle); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.yentryTitle])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child yvbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.HeightRequest = 100; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextTemplate = new global::Gamma.GtkWidgets.yTextView(); this.ytextTemplate.CanFocus = true; this.ytextTemplate.Name = "ytextTemplate"; this.GtkScrolledWindow.Add(this.ytextTemplate); this.yvbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.GtkScrolledWindow])); w5.Position = 3; // Container child yvbox1.Gtk.Box+BoxChild this.yhbox1 = new global::Gamma.GtkWidgets.yHBox(); this.yhbox1.Name = "yhbox1"; this.yhbox1.Spacing = 6; // Container child yhbox1.Gtk.Box+BoxChild this.ybuttonSend = new global::Gamma.GtkWidgets.yButton(); this.ybuttonSend.CanFocus = true; this.ybuttonSend.Name = "ybuttonSend"; this.ybuttonSend.UseUnderline = true; this.ybuttonSend.Label = global::Mono.Unix.Catalog.GetString("Отправить"); global::Gtk.Image w6 = new global::Gtk.Image(); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "stock_mail-send", global::Gtk.IconSize.Menu); this.ybuttonSend.Image = w6; this.yhbox1.Add(this.ybuttonSend); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.ybuttonSend])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child yhbox1.Gtk.Box+BoxChild this.ybuttonCancel = new global::Gamma.GtkWidgets.yButton(); this.ybuttonCancel.CanFocus = true; this.ybuttonCancel.Name = "ybuttonCancel"; this.ybuttonCancel.UseUnderline = true; this.ybuttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w8 = new global::Gtk.Image(); w8.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-cancel", global::Gtk.IconSize.Menu); this.ybuttonCancel.Image = w8; this.yhbox1.Add(this.ybuttonCancel); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.ybuttonCancel])); w9.PackType = ((global::Gtk.PackType)(1)); w9.Position = 1; w9.Expand = false; w9.Fill = false; this.yvbox1.Add(this.yhbox1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.yhbox1])); w10.Position = 4; w10.Expand = false; w10.Fill = false; this.Add(this.yvbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.ybuttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancel); this.ybuttonSend.Clicked += new global::System.EventHandler(this.OnButtonSend); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ViewWidgets.PermissionCommentView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ViewWidgets.PermissionCommentView"; // Container child Vodovoz.ViewWidgets.PermissionCommentView.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.labelTitle = new global::Gtk.Label(); this.labelTitle.Name = "labelTitle"; this.labelTitle.Xalign = 0F; this.labelTitle.UseMarkup = true; this.vbox2.Add(this.labelTitle); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.labelTitle])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox2.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.ytextviewComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewComment.CanFocus = true; this.ytextviewComment.Name = "ytextviewComment"; this.GtkScrolledWindow.Add(this.ytextviewComment); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow])); w3.Position = 1; // 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.buttonSaveComment = new global::Gtk.Button(); this.buttonSaveComment.CanFocus = true; this.buttonSaveComment.Name = "buttonSaveComment"; this.buttonSaveComment.UseUnderline = true; this.buttonSaveComment.Label = global::Mono.Unix.Catalog.GetString("Сохранить комментарий"); global::Gtk.Image w4 = new global::Gtk.Image(); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSaveComment.Image = w4; this.hbox1.Add(this.buttonSaveComment); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSaveComment])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonEditComment = new global::Gtk.Button(); this.buttonEditComment.CanFocus = true; this.buttonEditComment.Name = "buttonEditComment"; this.buttonEditComment.UseUnderline = true; this.buttonEditComment.Label = global::Mono.Unix.Catalog.GetString("Изменить комментарий"); global::Gtk.Image w6 = new global::Gtk.Image(); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonEditComment.Image = w6; this.hbox1.Add(this.buttonEditComment); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonEditComment])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.buttonSaveComment.Hide(); this.buttonEditComment.Hide(); this.Hide(); this.buttonSaveComment.Clicked += new global::System.EventHandler(this.OnButtonSaveCloseCommentClicked); this.buttonEditComment.Clicked += new global::System.EventHandler(this.OnButtonEditCloseDeliveryCommentClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Fuel.FuelIncomeInvoiceView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Fuel.FuelIncomeInvoiceView"; // Container child Vodovoz.Dialogs.Fuel.FuelIncomeInvoiceView.Gtk.Container+ContainerChild this.vboxDialog = new global::Gtk.VBox(); this.vboxDialog.Name = "vboxDialog"; this.vboxDialog.Spacing = 6; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hboxDialogButtons.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hboxDialogButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vboxDialog.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxDialogButtons])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.tableState = new global::Gtk.Table(((uint)(1)), ((uint)(5)), false); this.tableState.Name = "tableState"; this.tableState.RowSpacing = ((uint)(6)); this.tableState.ColumnSpacing = ((uint)(6)); // Container child tableState.Gtk.Table+TableChild this.labelAuthor = new global::Gtk.Label(); this.labelAuthor.Name = "labelAuthor"; this.labelAuthor.Xalign = 1F; this.labelAuthor.LabelProp = global::Mono.Unix.Catalog.GetString("Автор:"); this.tableState.Add(this.labelAuthor); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableState[this.labelAuthor])); w6.LeftAttach = ((uint)(2)); w6.RightAttach = ((uint)(3)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.labelCreationDate = new global::Gtk.Label(); this.labelCreationDate.Name = "labelCreationDate"; this.labelCreationDate.Xalign = 1F; this.labelCreationDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата создания:"); this.tableState.Add(this.labelCreationDate); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tableState[this.labelCreationDate])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.ylabelAuthor = new global::Gamma.GtkWidgets.yLabel(); this.ylabelAuthor.Name = "ylabelAuthor"; this.ylabelAuthor.Xalign = 0F; this.tableState.Add(this.ylabelAuthor); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableState[this.ylabelAuthor])); w8.LeftAttach = ((uint)(3)); w8.RightAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.ylabelCreationDate = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCreationDate.Name = "ylabelCreationDate"; this.ylabelCreationDate.Xalign = 0F; this.tableState.Add(this.ylabelCreationDate); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableState[this.ylabelCreationDate])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxDialog.Add(this.tableState); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.tableState])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.tableFields = new global::Gtk.Table(((uint)(4)), ((uint)(3)), false); this.tableFields.Name = "tableFields"; this.tableFields.RowSpacing = ((uint)(6)); this.tableFields.ColumnSpacing = ((uint)(6)); // Container child tableFields.Gtk.Table+TableChild this.entryCounterparty = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryCounterparty.Events = ((global::Gdk.EventMask)(256)); this.entryCounterparty.Name = "entryCounterparty"; this.entryCounterparty.CanEditReference = false; this.tableFields.Add(this.entryCounterparty); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableFields[this.entryCounterparty])); 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 tableFields.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewComment.CanFocus = true; this.ytextviewComment.Name = "ytextviewComment"; this.GtkScrolledWindow.Add(this.ytextviewComment); this.tableFields.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableFields[this.GtkScrolledWindow])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(4)); w13.LeftAttach = ((uint)(2)); w13.RightAttach = ((uint)(3)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelCashSubdivision = new global::Gtk.Label(); this.labelCashSubdivision.Name = "labelCashSubdivision"; this.labelCashSubdivision.Xalign = 1F; this.labelCashSubdivision.LabelProp = global::Mono.Unix.Catalog.GetString("Касса:"); this.labelCashSubdivision.Justify = ((global::Gtk.Justification)(1)); this.tableFields.Add(this.labelCashSubdivision); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelCashSubdivision])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelComment = new global::Gtk.Label(); this.labelComment.Name = "labelComment"; this.labelComment.Xalign = 0F; this.labelComment.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.labelComment.Justify = ((global::Gtk.Justification)(1)); this.tableFields.Add(this.labelComment); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelComment])); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelCounterparty = new global::Gtk.Label(); this.labelCounterparty.Name = "labelCounterparty"; this.labelCounterparty.Xalign = 1F; this.labelCounterparty.LabelProp = global::Mono.Unix.Catalog.GetString("Контрагент:"); this.labelCounterparty.Justify = ((global::Gtk.Justification)(1)); this.tableFields.Add(this.labelCounterparty); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelCounterparty])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelInvoiceBillDoc = new global::Gtk.Label(); this.labelInvoiceBillDoc.Name = "labelInvoiceBillDoc"; this.labelInvoiceBillDoc.Xalign = 1F; this.labelInvoiceBillDoc.LabelProp = global::Mono.Unix.Catalog.GetString("Счет-фактура:"); this.labelInvoiceBillDoc.Justify = ((global::Gtk.Justification)(1)); this.tableFields.Add(this.labelInvoiceBillDoc); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelInvoiceBillDoc])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelInvoiceDoc = new global::Gtk.Label(); this.labelInvoiceDoc.Name = "labelInvoiceDoc"; this.labelInvoiceDoc.Xalign = 1F; this.labelInvoiceDoc.LabelProp = global::Mono.Unix.Catalog.GetString("Накладная:"); this.labelInvoiceDoc.Justify = ((global::Gtk.Justification)(1)); this.tableFields.Add(this.labelInvoiceDoc); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelInvoiceDoc])); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.ycomboboxCashSubdivision = new global::Gamma.Widgets.ySpecComboBox(); this.ycomboboxCashSubdivision.Name = "ycomboboxCashSubdivision"; this.ycomboboxCashSubdivision.AddIfNotExist = false; this.ycomboboxCashSubdivision.DefaultFirst = false; this.ycomboboxCashSubdivision.ShowSpecialStateAll = false; this.ycomboboxCashSubdivision.ShowSpecialStateNot = false; this.tableFields.Add(this.ycomboboxCashSubdivision); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableFields[this.ycomboboxCashSubdivision])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.yentryInvoiceBillDoc = new global::Gamma.GtkWidgets.yEntry(); this.yentryInvoiceBillDoc.CanFocus = true; this.yentryInvoiceBillDoc.Name = "yentryInvoiceBillDoc"; this.yentryInvoiceBillDoc.IsEditable = true; this.yentryInvoiceBillDoc.InvisibleChar = '●'; this.tableFields.Add(this.yentryInvoiceBillDoc); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableFields[this.yentryInvoiceBillDoc])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.yentryInvoiceDoc = new global::Gamma.GtkWidgets.yEntry(); this.yentryInvoiceDoc.CanFocus = true; this.yentryInvoiceDoc.Name = "yentryInvoiceDoc"; this.yentryInvoiceDoc.IsEditable = true; this.yentryInvoiceDoc.InvisibleChar = '●'; this.tableFields.Add(this.yentryInvoiceDoc); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableFields[this.yentryInvoiceDoc])); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxDialog.Add(this.tableFields); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.tableFields])); w22.Position = 2; w22.Expand = false; w22.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.vboxItems = new global::Gtk.VBox(); this.vboxItems.Name = "vboxItems"; this.vboxItems.Spacing = 6; // Container child vboxItems.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeviewItems = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewItems.CanFocus = true; this.ytreeviewItems.Name = "ytreeviewItems"; this.GtkScrolledWindow1.Add(this.ytreeviewItems); this.vboxItems.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vboxItems[this.GtkScrolledWindow1])); w24.Position = 0; // Container child vboxItems.Gtk.Box+BoxChild this.hboxItemsButtons = new global::Gtk.HBox(); this.hboxItemsButtons.Name = "hboxItemsButtons"; this.hboxItemsButtons.Spacing = 6; // Container child hboxItemsButtons.Gtk.Box+BoxChild this.ybuttonAdd = new global::Gamma.GtkWidgets.yButton(); this.ybuttonAdd.CanFocus = true; this.ybuttonAdd.Name = "ybuttonAdd"; this.ybuttonAdd.UseUnderline = true; this.ybuttonAdd.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w25 = new global::Gtk.Image(); w25.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.ybuttonAdd.Image = w25; this.hboxItemsButtons.Add(this.ybuttonAdd); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hboxItemsButtons[this.ybuttonAdd])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child hboxItemsButtons.Gtk.Box+BoxChild this.ybuttonDelete = new global::Gamma.GtkWidgets.yButton(); this.ybuttonDelete.CanFocus = true; this.ybuttonDelete.Name = "ybuttonDelete"; this.ybuttonDelete.UseUnderline = true; this.ybuttonDelete.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w27 = new global::Gtk.Image(); w27.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.ybuttonDelete.Image = w27; this.hboxItemsButtons.Add(this.ybuttonDelete); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hboxItemsButtons[this.ybuttonDelete])); w28.Position = 1; w28.Expand = false; w28.Fill = false; this.vboxItems.Add(this.hboxItemsButtons); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vboxItems[this.hboxItemsButtons])); w29.Position = 1; w29.Expand = false; w29.Fill = false; this.hbox2.Add(this.vboxItems); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vboxItems])); w30.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.fuelbalanceview = new global::Vodovoz.Dialogs.Fuel.FuelBalanceView(); this.fuelbalanceview.Events = ((global::Gdk.EventMask)(256)); this.fuelbalanceview.Name = "fuelbalanceview"; this.vbox5.Add(this.fuelbalanceview); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.fuelbalanceview])); w31.Position = 0; w31.Expand = false; w31.Fill = false; this.hbox2.Add(this.vbox5); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox5])); w32.Position = 1; w32.Expand = false; w32.Fill = false; this.vboxDialog.Add(this.hbox2); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hbox2])); w33.Position = 3; this.Add(this.vboxDialog); 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.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 w9 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspinMoney])); w9.Position = 0; w9.Expand = false; w9.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 w10 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.currencylabel1])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.table1.Add(this.hbox6); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox6])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); 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.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 w12 = ((global::Gtk.Box.BoxChild)(this.hboxDebt[this.labelCurrentDebt])); w12.Position = 0; w12.Expand = false; w12.Fill = false; this.table1.Add(this.hboxDebt); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.hboxDebt])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); 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.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 w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.LeftAttach = ((uint)(4)); w14.RightAttach = ((uint)(5)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.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 w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w15.LeftAttach = ((uint)(4)); w15.RightAttach = ((uint)(5)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.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 w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); 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.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 w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); 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)(4)); w18.BottomAttach = ((uint)(5)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Подотчетное лицо:"); this.table1.Add(this.label7); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label7])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.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 w20 = ((global::Gtk.Table.TableChild)(this.table1[this.labelChangeSum])); w20.TopAttach = ((uint)(4)); w20.BottomAttach = ((uint)(5)); 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.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 w21 = ((global::Gtk.Table.TableChild)(this.table1[this.labelChangeType])); w21.TopAttach = ((uint)(4)); w21.BottomAttach = ((uint)(5)); w21.LeftAttach = ((uint)(2)); w21.RightAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.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 w22 = ((global::Gtk.Table.TableChild)(this.table1[this.labelClosingSum])); w22.TopAttach = ((uint)(3)); w22.BottomAttach = ((uint)(4)); 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.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 w23 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDebtTitle])); w23.TopAttach = ((uint)(3)); w23.BottomAttach = ((uint)(4)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.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 w24 = ((global::Gtk.Table.TableChild)(this.table1[this.specialListCmbOrganisation])); w24.TopAttach = ((uint)(2)); w24.BottomAttach = ((uint)(3)); 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.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 w25 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateDocument])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.LeftAttach = ((uint)(5)); w25.RightAttach = ((uint)(6)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.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 w26 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryCasher])); w26.LeftAttach = ((uint)(5)); w26.RightAttach = ((uint)(6)); w26.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 w27 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryEmployee])); w27.TopAttach = ((uint)(1)); w27.BottomAttach = ((uint)(2)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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.yentryEmployee.Changed += new global::System.EventHandler(this.OnYentryEmployeeChanged); 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.ResidueDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.ResidueDlg"; // Container child Vodovoz.ResidueDlg.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add (this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(8)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.disablespinBottlesDeposit = new global::QSOrmProject.DisableSpinButton (); this.disablespinBottlesDeposit.Events = ((global::Gdk.EventMask)(256)); this.disablespinBottlesDeposit.Name = "disablespinBottlesDeposit"; this.disablespinBottlesDeposit.Active = false; this.disablespinBottlesDeposit.Upper = 100000; this.disablespinBottlesDeposit.Lower = -100000; this.disablespinBottlesDeposit.Digits = ((uint)(2)); this.table1.Add (this.disablespinBottlesDeposit); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.disablespinBottlesDeposit])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.LeftAttach = ((uint)(3)); w6.RightAttach = ((uint)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.disablespinBottlesResidue = new global::QSOrmProject.DisableSpinButton (); this.disablespinBottlesResidue.Events = ((global::Gdk.EventMask)(256)); this.disablespinBottlesResidue.Name = "disablespinBottlesResidue"; this.disablespinBottlesResidue.Active = false; this.disablespinBottlesResidue.Upper = 100000; this.disablespinBottlesResidue.Lower = -100000; this.disablespinBottlesResidue.Digits = ((uint)(0)); this.table1.Add (this.disablespinBottlesResidue); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.disablespinBottlesResidue])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.disablespinEquipmentDeposit = new global::QSOrmProject.DisableSpinButton (); this.disablespinEquipmentDeposit.Events = ((global::Gdk.EventMask)(256)); this.disablespinEquipmentDeposit.Name = "disablespinEquipmentDeposit"; this.disablespinEquipmentDeposit.Active = false; this.disablespinEquipmentDeposit.Upper = 100000; this.disablespinEquipmentDeposit.Lower = -100000; this.disablespinEquipmentDeposit.Digits = ((uint)(2)); this.table1.Add (this.disablespinEquipmentDeposit); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.disablespinEquipmentDeposit])); w8.TopAttach = ((uint)(4)); w8.BottomAttach = ((uint)(5)); w8.LeftAttach = ((uint)(3)); w8.RightAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.disablespinMoneyDebt = new global::QSOrmProject.DisableSpinButton (); this.disablespinMoneyDebt.Events = ((global::Gdk.EventMask)(256)); this.disablespinMoneyDebt.Name = "disablespinMoneyDebt"; this.disablespinMoneyDebt.Active = false; this.disablespinMoneyDebt.Upper = 10000000; this.disablespinMoneyDebt.Lower = -10000000; this.disablespinMoneyDebt.Digits = ((uint)(2)); this.table1.Add (this.disablespinMoneyDebt); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.disablespinMoneyDebt])); w9.TopAttach = ((uint)(4)); w9.BottomAttach = ((uint)(5)); 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.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewComment = new global::Gamma.GtkWidgets.yTextView (); this.ytextviewComment.CanFocus = true; this.ytextviewComment.Name = "ytextviewComment"; this.GtkScrolledWindow.Add (this.ytextviewComment); this.table1.Add (this.GtkScrolledWindow); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow])); w11.TopAttach = ((uint)(7)); w11.BottomAttach = ((uint)(8)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата документа:"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Текущий долг:"); this.table1.Add (this.label11); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label11])); w13.TopAttach = ((uint)(6)); w13.BottomAttach = ((uint)(7)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label13 = new global::Gtk.Label (); this.label13.Name = "label13"; this.label13.Xalign = 1F; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Текущие залоги:"); this.table1.Add (this.label13); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label13])); w14.TopAttach = ((uint)(6)); w14.BottomAttach = ((uint)(7)); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child 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 w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); 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.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 w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.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 w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child 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)(2)); w18.BottomAttach = ((uint)(3)); 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.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Залог за оборудование:"); this.table1.Add (this.label6); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6])); w19.TopAttach = ((uint)(4)); w19.BottomAttach = ((uint)(5)); 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.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 w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); 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.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.Yalign = 0F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Комментарий:"); this.table1.Add (this.label8); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8])); w21.TopAttach = ((uint)(7)); w21.BottomAttach = ((uint)(8)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCurrent = new global::Gtk.Label (); this.labelCurrent.Name = "labelCurrent"; this.labelCurrent.Xalign = 1F; this.labelCurrent.LabelProp = global::Mono.Unix.Catalog.GetString ("Текущие залоги:"); this.table1.Add (this.labelCurrent); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelCurrent])); w22.TopAttach = ((uint)(3)); w22.BottomAttach = ((uint)(4)); w22.LeftAttach = ((uint)(2)); w22.RightAttach = ((uint)(3)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCurrentBootle = new global::Gtk.Label (); this.labelCurrentBootle.Name = "labelCurrentBootle"; this.labelCurrentBootle.LabelProp = global::Mono.Unix.Catalog.GetString ("label3"); this.table1.Add (this.labelCurrentBootle); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelCurrentBootle])); w23.TopAttach = ((uint)(3)); w23.BottomAttach = ((uint)(4)); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(2)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCurrentBottleDeposit = new global::Gtk.Label (); this.labelCurrentBottleDeposit.Name = "labelCurrentBottleDeposit"; this.labelCurrentBottleDeposit.LabelProp = global::Mono.Unix.Catalog.GetString ("label4"); this.table1.Add (this.labelCurrentBottleDeposit); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelCurrentBottleDeposit])); 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.labelCurrentEquipmentDeposit = new global::Gtk.Label (); this.labelCurrentEquipmentDeposit.Name = "labelCurrentEquipmentDeposit"; this.labelCurrentEquipmentDeposit.LabelProp = global::Mono.Unix.Catalog.GetString ("label8"); this.table1.Add (this.labelCurrentEquipmentDeposit); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelCurrentEquipmentDeposit])); w25.TopAttach = ((uint)(6)); w25.BottomAttach = ((uint)(7)); w25.LeftAttach = ((uint)(3)); w25.RightAttach = ((uint)(4)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCurrentMoneyDebt = new global::Gtk.Label (); this.labelCurrentMoneyDebt.Name = "labelCurrentMoneyDebt"; this.labelCurrentMoneyDebt.LabelProp = global::Mono.Unix.Catalog.GetString ("label6"); this.table1.Add (this.labelCurrentMoneyDebt); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelCurrentMoneyDebt])); w26.TopAttach = ((uint)(6)); w26.BottomAttach = ((uint)(7)); 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.moneyLabel = new global::Gtk.Label (); this.moneyLabel.Name = "moneyLabel"; this.moneyLabel.Xalign = 1F; this.moneyLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Долги по деньгам:"); this.table1.Add (this.moneyLabel); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1 [this.moneyLabel])); w27.TopAttach = ((uint)(4)); w27.BottomAttach = ((uint)(5)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yenumcomboDebtPaymentType = new global::Gamma.Widgets.yEnumComboBox (); this.yenumcomboDebtPaymentType.Name = "yenumcomboDebtPaymentType"; this.yenumcomboDebtPaymentType.ShowSpecialStateAll = false; this.yenumcomboDebtPaymentType.ShowSpecialStateNot = false; this.yenumcomboDebtPaymentType.UseShortTitle = false; this.yenumcomboDebtPaymentType.DefaultFirst = false; this.table1.Add (this.yenumcomboDebtPaymentType); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1 [this.yenumcomboDebtPaymentType])); w28.TopAttach = ((uint)(5)); w28.BottomAttach = ((uint)(6)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ypickerDocDate = new global::Gamma.Widgets.yDatePicker (); this.ypickerDocDate.Events = ((global::Gdk.EventMask)(256)); this.ypickerDocDate.Name = "ypickerDocDate"; this.ypickerDocDate.WithTime = false; this.ypickerDocDate.Date = new global::System.DateTime (0); this.ypickerDocDate.IsEditable = true; this.ypickerDocDate.AutoSeparation = false; this.table1.Add (this.ypickerDocDate); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1 [this.ypickerDocDate])); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yreferenceClientSelector = new global::Gamma.Widgets.yEntryReferenceVM (); this.yreferenceClientSelector.Events = ((global::Gdk.EventMask)(256)); this.yreferenceClientSelector.Name = "yreferenceClientSelector"; this.table1.Add (this.yreferenceClientSelector); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1 [this.yreferenceClientSelector])); w30.LeftAttach = ((uint)(3)); w30.RightAttach = ((uint)(4)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yreferenceDeliveryPoint = new global::Gamma.Widgets.yEntryReferenceVM (); this.yreferenceDeliveryPoint.Events = ((global::Gdk.EventMask)(256)); this.yreferenceDeliveryPoint.Name = "yreferenceDeliveryPoint"; this.table1.Add (this.yreferenceDeliveryPoint); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1 [this.yreferenceDeliveryPoint])); w31.TopAttach = ((uint)(1)); w31.BottomAttach = ((uint)(2)); w31.LeftAttach = ((uint)(3)); w31.RightAttach = ((uint)(4)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add (this.table1); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1])); w32.Position = 1; 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); this.yreferenceDeliveryPoint.Changed += new global::System.EventHandler (this.OnYreferenceDeliveryPointChanged); this.yreferenceClientSelector.Changed += new global::System.EventHandler (this.OnYentryreferencevmClientSelectorChanged); this.disablespinMoneyDebt.ActiveChanged += new global::System.EventHandler (this.OnDisablespinMoneyDebtActiveChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Stock.CompletionView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Stock.CompletionView"; // Container child workwear.Views.Stock.CompletionView.Gtk.Container+ContainerChild this.yvbox1 = new global::Gamma.GtkWidgets.yVBox(); this.yvbox1.Name = "yvbox1"; this.yvbox1.Spacing = 6; // Container child yvbox1.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; // Container child hbox4.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox4.Add(this.vseparator1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vseparator1])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.yvbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.hbox4])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child yvbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(3)); // Container child hbox1.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.entityWarehouseExpense = new global::QS.Views.Control.EntityEntry(); this.entityWarehouseExpense.Events = ((global::Gdk.EventMask)(256)); this.entityWarehouseExpense.Name = "entityWarehouseExpense"; this.table2.Add(this.entityWarehouseExpense); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2[this.entityWarehouseExpense])); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entityWarehouseReceipt = new global::QS.Views.Control.EntityEntry(); this.entityWarehouseReceipt.Events = ((global::Gdk.EventMask)(256)); this.entityWarehouseReceipt.Name = "entityWarehouseReceipt"; this.table2.Add(this.entityWarehouseReceipt); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2[this.entityWarehouseReceipt])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelResult = new global::Gtk.Label(); this.labelResult.Name = "labelResult"; this.labelResult.Xalign = 1F; this.labelResult.LabelProp = global::Mono.Unix.Catalog.GetString("Склад получения результа<span foreground=\"red\">*</span>:"); this.labelResult.UseMarkup = true; this.table2.Add(this.labelResult); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2[this.labelResult])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelSource = new global::Gtk.Label(); this.labelSource.Name = "labelSource"; this.labelSource.Xalign = 1F; this.labelSource.LabelProp = global::Mono.Unix.Catalog.GetString("Склад комплектующих<span foreground=\"red\">*</span>:"); this.labelSource.UseMarkup = true; this.table2.Add(this.labelSource); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2[this.labelSource])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table2])); w11.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.GtkScrolledWindowComments = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindowComments.Name = "GtkScrolledWindowComments"; this.GtkScrolledWindowComments.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowComments.Gtk.Container+ContainerChild this.ytextComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextComment.CanFocus = true; this.ytextComment.Name = "ytextComment"; this.ytextComment.AcceptsTab = false; this.ytextComment.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindowComments.Add(this.ytextComment); this.table3.Add(this.GtkScrolledWindowComments); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table3[this.GtkScrolledWindowComments])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label26 = new global::Gtk.Label(); this.label26.Name = "label26"; this.label26.Xalign = 1F; this.label26.Yalign = 0F; this.label26.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.table3.Add(this.label26); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table3[this.label26])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Номер:"); this.table3.Add(this.label4); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table3[this.label4])); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Пользователь:"); this.table3.Add(this.label5); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table3[this.label5])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Дата<span foreground=\"red\">*</span>:"); this.label6.UseMarkup = true; this.table3.Add(this.label6); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table3[this.label6])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ydateDoc = new global::QS.Widgets.GtkUI.DatePicker(); this.ydateDoc.Events = ((global::Gdk.EventMask)(256)); this.ydateDoc.Name = "ydateDoc"; this.ydateDoc.WithTime = false; this.ydateDoc.HideCalendarButton = false; this.ydateDoc.Date = new global::System.DateTime(0); this.ydateDoc.IsEditable = true; this.ydateDoc.AutoSeparation = true; this.table3.Add(this.ydateDoc); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table3[this.ydateDoc])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ylabelCreatedBy = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCreatedBy.Name = "ylabelCreatedBy"; this.ylabelCreatedBy.LabelProp = global::Mono.Unix.Catalog.GetString("user"); this.table3.Add(this.ylabelCreatedBy); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table3[this.ylabelCreatedBy])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ylabelId = new global::Gamma.GtkWidgets.yLabel(); this.ylabelId.Name = "ylabelId"; this.ylabelId.LabelProp = global::Mono.Unix.Catalog.GetString("id"); this.table3.Add(this.ylabelId); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table3[this.ylabelId])); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table3); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table3])); w21.Position = 1; this.yvbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.hbox1])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child yvbox1.Gtk.Box+BoxChild this.yhbox1 = new global::Gamma.GtkWidgets.yHBox(); this.yhbox1.WidthRequest = 0; this.yhbox1.HeightRequest = 0; this.yhbox1.Name = "yhbox1"; this.yhbox1.Spacing = 6; // Container child yhbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Комплектующие"); this.hbox6.Add(this.label1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.label1])); w23.Position = 0; w23.Expand = false; w23.Fill = false; this.vbox2.Add(this.hbox6); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox6])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child vbox2.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.ytreeExpenseItems = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeExpenseItems.CanFocus = true; this.ytreeExpenseItems.Name = "ytreeExpenseItems"; this.GtkScrolledWindow.Add(this.ytreeExpenseItems); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow])); w26.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.buttonAddExpenseNomenclature = new global::Gamma.GtkWidgets.yButton(); this.buttonAddExpenseNomenclature.CanFocus = true; this.buttonAddExpenseNomenclature.Name = "buttonAddExpenseNomenclature"; this.buttonAddExpenseNomenclature.UseUnderline = true; this.buttonAddExpenseNomenclature.Label = global::Mono.Unix.Catalog.GetString("Добавить номенклатуру"); global::Gtk.Image w27 = new global::Gtk.Image(); w27.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddExpenseNomenclature.Image = w27; this.hbox7.Add(this.buttonAddExpenseNomenclature); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonAddExpenseNomenclature])); w28.Position = 0; w28.Expand = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonDelExpenseNomenclature = new global::Gamma.GtkWidgets.yButton(); this.buttonDelExpenseNomenclature.CanFocus = true; this.buttonDelExpenseNomenclature.Name = "buttonDelExpenseNomenclature"; this.buttonDelExpenseNomenclature.UseUnderline = true; this.buttonDelExpenseNomenclature.Label = global::Mono.Unix.Catalog.GetString("Удалить"); this.hbox7.Add(this.buttonDelExpenseNomenclature); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonDelExpenseNomenclature])); w29.Position = 1; w29.Expand = false; w29.Fill = false; this.vbox2.Add(this.hbox7); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox7])); w30.Position = 2; w30.Expand = false; w30.Fill = false; this.yhbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.vbox2])); w31.Position = 0; // Container child yhbox1.Gtk.Box+BoxChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Sensitive = false; this.ylabel1.Name = "ylabel1"; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString(">"); this.yhbox1.Add(this.ylabel1); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.ylabel1])); w32.Position = 1; w32.Expand = false; w32.Fill = false; // Container child yhbox1.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.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.hbox8.Add(this.label2); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.label2])); w33.Position = 0; w33.Expand = false; w33.Fill = false; this.vbox3.Add(this.hbox8); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox8])); w34.Position = 0; w34.Expand = false; w34.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeReceiptItems = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeReceiptItems.CanFocus = true; this.ytreeReceiptItems.Name = "ytreeReceiptItems"; this.GtkScrolledWindow1.Add(this.ytreeReceiptItems); this.vbox3.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow1])); w36.Position = 1; // 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.buttonAddReceiptNomenclature = new global::Gamma.GtkWidgets.yButton(); this.buttonAddReceiptNomenclature.CanFocus = true; this.buttonAddReceiptNomenclature.Name = "buttonAddReceiptNomenclature"; this.buttonAddReceiptNomenclature.UseUnderline = true; this.buttonAddReceiptNomenclature.Label = global::Mono.Unix.Catalog.GetString("Добавить номенклатуру"); global::Gtk.Image w37 = new global::Gtk.Image(); w37.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddReceiptNomenclature.Image = w37; this.hbox9.Add(this.buttonAddReceiptNomenclature); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.buttonAddReceiptNomenclature])); w38.Position = 0; w38.Expand = false; // Container child hbox9.Gtk.Box+BoxChild this.buttonDelReceiptNomenclature = new global::Gamma.GtkWidgets.yButton(); this.buttonDelReceiptNomenclature.CanFocus = true; this.buttonDelReceiptNomenclature.Name = "buttonDelReceiptNomenclature"; this.buttonDelReceiptNomenclature.UseUnderline = true; this.buttonDelReceiptNomenclature.Label = global::Mono.Unix.Catalog.GetString("Удалить"); this.hbox9.Add(this.buttonDelReceiptNomenclature); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.buttonDelReceiptNomenclature])); w39.Position = 1; w39.Expand = false; w39.Fill = false; this.vbox3.Add(this.hbox9); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox9])); w40.Position = 2; w40.Expand = false; w40.Fill = false; this.yhbox1.Add(this.vbox3); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.vbox3])); w41.Position = 2; this.yvbox1.Add(this.yhbox1); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.yhbox1])); w42.Position = 2; this.Add(this.yvbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.FuelDocumentDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.FuelDocumentDlg"; // Container child Vodovoz.FuelDocumentDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox (); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox8.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox8.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add (this.hbox8); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox8])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table (((uint)(6)), ((uint)(3)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.disablespinMoney = new global::QSOrmProject.DisableSpinButton (); this.disablespinMoney.Events = ((global::Gdk.EventMask)(256)); this.disablespinMoney.Name = "disablespinMoney"; this.disablespinMoney.Active = false; this.disablespinMoney.Upper = 100000; this.disablespinMoney.Lower = 0; this.disablespinMoney.Digits = ((uint)(2)); this.hbox4.Add (this.disablespinMoney); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.disablespinMoney])); w6.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.buttonSetRemain = new global::Gtk.Button (); this.buttonSetRemain.CanFocus = true; this.buttonSetRemain.Name = "buttonSetRemain"; this.buttonSetRemain.UseUnderline = true; this.buttonSetRemain.Label = global::Mono.Unix.Catalog.GetString ("Весь остаток"); this.hbox4.Add (this.buttonSetRemain); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSetRemain])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.table3.Add (this.hbox4); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table3 [this.hbox4])); w8.TopAttach = ((uint)(4)); w8.BottomAttach = ((uint)(5)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; this.table3.Add (this.hbox5); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table3 [this.hbox5])); w9.TopAttach = ((uint)(4)); w9.BottomAttach = ((uint)(5)); w9.LeftAttach = ((uint)(2)); w9.RightAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.labelExpenseInfo = new global::Gtk.Label (); this.labelExpenseInfo.Name = "labelExpenseInfo"; this.labelExpenseInfo.LabelProp = global::Mono.Unix.Catalog.GetString ("Расходный ордер"); this.hbox7.Add (this.labelExpenseInfo); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.labelExpenseInfo])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonOpenExpense = new global::Gtk.Button (); this.buttonOpenExpense.CanFocus = true; this.buttonOpenExpense.Name = "buttonOpenExpense"; this.buttonOpenExpense.UseUnderline = true; this.buttonOpenExpense.Label = global::Mono.Unix.Catalog.GetString ("Открыть расходный ордер"); this.hbox7.Add (this.buttonOpenExpense); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonOpenExpense])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.table3.Add (this.hbox7); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table3 [this.hbox7])); w12.TopAttach = ((uint)(5)); w12.BottomAttach = ((uint)(6)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата:"); this.table3.Add (this.label1); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table3 [this.label1])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Водитель:"); this.table3.Add (this.label2); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table3 [this.label2])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Вид топлива:"); this.table3.Add (this.label3); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table3 [this.label3])); w15.TopAttach = ((uint)(3)); w15.BottomAttach = ((uint)(4)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Автомобиль:"); this.table3.Add (this.label4); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table3 [this.label4])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Выдано деньгами:"); this.table3.Add (this.label5); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table3 [this.label5])); w17.TopAttach = ((uint)(4)); w17.BottomAttach = ((uint)(5)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.labelResultInfo = new global::Gtk.Label (); this.labelResultInfo.Name = "labelResultInfo"; this.labelResultInfo.LabelProp = global::Mono.Unix.Catalog.GetString ("Итог"); this.table3.Add (this.labelResultInfo); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table3 [this.labelResultInfo])); w18.TopAttach = ((uint)(5)); w18.BottomAttach = ((uint)(6)); w18.LeftAttach = ((uint)(2)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ydatepicker = new global::Gamma.Widgets.yDatePicker (); this.ydatepicker.Events = ((global::Gdk.EventMask)(256)); this.ydatepicker.Name = "ydatepicker"; this.ydatepicker.WithTime = false; this.ydatepicker.Date = new global::System.DateTime (0); this.ydatepicker.IsEditable = false; this.ydatepicker.AutoSeparation = false; this.table3.Add (this.ydatepicker); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table3 [this.ydatepicker])); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.yentryCar = new global::Gamma.Widgets.yEntryReference (); this.yentryCar.Sensitive = false; this.yentryCar.Events = ((global::Gdk.EventMask)(256)); this.yentryCar.Name = "yentryCar"; this.table3.Add (this.yentryCar); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table3 [this.yentryCar])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.yentrydriver = new global::Gamma.Widgets.yEntryReference (); this.yentrydriver.Sensitive = false; this.yentrydriver.Events = ((global::Gdk.EventMask)(256)); this.yentrydriver.Name = "yentrydriver"; this.table3.Add (this.yentrydriver); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table3 [this.yentrydriver])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.yentryfuel = new global::Gamma.Widgets.yEntryReference (); this.yentryfuel.Sensitive = false; this.yentryfuel.Events = ((global::Gdk.EventMask)(256)); this.yentryfuel.Name = "yentryfuel"; this.table3.Add (this.yentryfuel); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table3 [this.yentryfuel])); w22.TopAttach = ((uint)(3)); w22.BottomAttach = ((uint)(4)); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(2)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ytextviewFuelInfo = new global::Gamma.GtkWidgets.yTextView (); this.ytextviewFuelInfo.CanFocus = true; this.ytextviewFuelInfo.Name = "ytextviewFuelInfo"; this.ytextviewFuelInfo.Editable = false; this.table3.Add (this.ytextviewFuelInfo); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table3 [this.ytextviewFuelInfo])); w23.BottomAttach = ((uint)(4)); w23.LeftAttach = ((uint)(2)); w23.RightAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add (this.table3); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table3])); w24.Position = 1; w24.Expand = false; w24.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytreeTickets = new global::Gamma.GtkWidgets.yTreeView (); this.ytreeTickets.CanFocus = true; this.ytreeTickets.Name = "ytreeTickets"; this.GtkScrolledWindow.Add (this.ytreeTickets); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w26.Position = 2; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); this.buttonOpenExpense.Clicked += new global::System.EventHandler (this.OnButtonOpenExpenseClicked); this.disablespinMoney.ValueChanged += new global::System.EventHandler (this.OnDisablespinMoneyValueChanged); this.buttonSetRemain.Clicked += new global::System.EventHandler (this.OnButtonSetRemainClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.RegradingOfGoodsDocumentDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.RegradingOfGoodsDocumentDlg"; // Container child Vodovoz.RegradingOfGoodsDocumentDlg.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(6)); // Container child vbox4.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox5.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox5.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox4.Add(this.hbox5); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox5])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.tableWriteoff = new global::Gtk.Table(((uint)(2)), ((uint)(4)), false); this.tableWriteoff.Name = "tableWriteoff"; this.tableWriteoff.RowSpacing = ((uint)(6)); this.tableWriteoff.ColumnSpacing = ((uint)(6)); // Container child tableWriteoff.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewCommnet = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewCommnet.CanFocus = true; this.ytextviewCommnet.Name = "ytextviewCommnet"; this.GtkScrolledWindow.Add(this.ytextviewCommnet); this.tableWriteoff.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.GtkScrolledWindow])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(4)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.tableWriteoff.Add(this.label1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label1])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Склад:"); this.tableWriteoff.Add(this.label4); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label4])); w9.LeftAttach = ((uint)(2)); w9.RightAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.Yalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.tableWriteoff.Add(this.label5); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label5])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.yentryrefWarehouse = new global::Gamma.Widgets.yEntryReference(); this.yentryrefWarehouse.Events = ((global::Gdk.EventMask)(256)); this.yentryrefWarehouse.Name = "yentryrefWarehouse"; this.tableWriteoff.Add(this.yentryrefWarehouse); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.yentryrefWarehouse])); w11.LeftAttach = ((uint)(3)); w11.RightAttach = ((uint)(4)); w11.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.regradingofgoodsitemsview = new global::Vodovoz.RegradingOfGoodsDocumentItemsView(); this.regradingofgoodsitemsview.Events = ((global::Gdk.EventMask)(256)); this.regradingofgoodsitemsview.Name = "regradingofgoodsitemsview"; this.vbox4.Add(this.regradingofgoodsitemsview); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.regradingofgoodsitemsview])); w14.Position = 2; this.Add(this.vbox4); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.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.ViewWidgets.UndeliveredOrderView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ViewWidgets.UndeliveredOrderView"; // Container child Vodovoz.ViewWidgets.UndeliveredOrderView.Gtk.Container+ContainerChild this.mainBox = new global::Gtk.VBox(); this.mainBox.Name = "mainBox"; this.mainBox.Spacing = 6; // Container child mainBox.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.hbxInProcessAtDepartment = new global::Gtk.HBox(); this.hbxInProcessAtDepartment.Name = "hbxInProcessAtDepartment"; this.hbxInProcessAtDepartment.Spacing = 6; // Container child hbxInProcessAtDepartment.Gtk.Box+BoxChild this.lblInProcAtDep = new global::Gtk.Label(); this.lblInProcAtDep.Name = "lblInProcAtDep"; this.lblInProcAtDep.Xalign = 1F; this.lblInProcAtDep.LabelProp = global::Mono.Unix.Catalog.GetString("В работе у отдела:"); this.hbxInProcessAtDepartment.Add(this.lblInProcAtDep); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbxInProcessAtDepartment[this.lblInProcAtDep])); w1.Position = 0; w1.Expand = false; // Container child hbxInProcessAtDepartment.Gtk.Box+BoxChild this.yentInProcessAtDepartment = new global::Gamma.Widgets.yEntryReference(); this.yentInProcessAtDepartment.Events = ((global::Gdk.EventMask)(256)); this.yentInProcessAtDepartment.Name = "yentInProcessAtDepartment"; this.hbxInProcessAtDepartment.Add(this.yentInProcessAtDepartment); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbxInProcessAtDepartment[this.yentInProcessAtDepartment])); w2.Position = 1; this.hbox4.Add(this.hbxInProcessAtDepartment); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.hbxInProcessAtDepartment])); w3.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.hbxStatus = new global::Gtk.HBox(); this.hbxStatus.Name = "hbxStatus"; this.hbxStatus.Spacing = 6; // Container child hbxStatus.Gtk.Box+BoxChild this.lblStatus = new global::Gtk.Label(); this.lblStatus.Name = "lblStatus"; this.lblStatus.Xalign = 1F; this.lblStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус недовоза:"); this.hbxStatus.Add(this.lblStatus); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbxStatus[this.lblStatus])); w4.Position = 0; w4.Expand = false; // Container child hbxStatus.Gtk.Box+BoxChild this.yEnumCMBStatus = new global::Gamma.Widgets.yEnumComboBox(); this.yEnumCMBStatus.Name = "yEnumCMBStatus"; this.yEnumCMBStatus.ShowSpecialStateAll = false; this.yEnumCMBStatus.ShowSpecialStateNot = false; this.yEnumCMBStatus.UseShortTitle = false; this.yEnumCMBStatus.DefaultFirst = false; this.hbxStatus.Add(this.yEnumCMBStatus); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbxStatus[this.yEnumCMBStatus])); w5.Position = 1; this.hbox4.Add(this.hbxStatus); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.hbxStatus])); w6.Position = 1; this.mainBox.Add(this.hbox4); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.mainBox[this.hbox4])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child mainBox.Gtk.Box+BoxChild this.vbxWithControls = new global::Gtk.VBox(); this.vbxWithControls.Name = "vbxWithControls"; this.vbxWithControls.Spacing = 6; // Container child vbxWithControls.Gtk.Box+BoxChild this.hbxUndelivery = new global::Gtk.HBox(); this.hbxUndelivery.Name = "hbxUndelivery"; this.hbxUndelivery.Spacing = 6; // Container child hbxUndelivery.Gtk.Box+BoxChild this.lblUndeliveredOrder = new global::Gtk.Label(); this.lblUndeliveredOrder.Name = "lblUndeliveredOrder"; this.lblUndeliveredOrder.Xalign = 1F; this.lblUndeliveredOrder.LabelProp = global::Mono.Unix.Catalog.GetString("Недовоз:"); this.hbxUndelivery.Add(this.lblUndeliveredOrder); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbxUndelivery[this.lblUndeliveredOrder])); w8.Position = 0; w8.Expand = false; // Container child hbxUndelivery.Gtk.Box+BoxChild this.yEForUndeliveredOrder = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yEForUndeliveredOrder.Events = ((global::Gdk.EventMask)(256)); this.yEForUndeliveredOrder.Name = "yEForUndeliveredOrder"; this.hbxUndelivery.Add(this.yEForUndeliveredOrder); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbxUndelivery[this.yEForUndeliveredOrder])); w9.Position = 1; this.vbxWithControls.Add(this.hbxUndelivery); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbxWithControls[this.hbxUndelivery])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbxWithControls.Gtk.Box+BoxChild this.tblUndeliveryFields = new global::Gtk.Table(((uint)(9)), ((uint)(3)), false); this.tblUndeliveryFields.Name = "tblUndeliveryFields"; this.tblUndeliveryFields.RowSpacing = ((uint)(6)); this.tblUndeliveryFields.ColumnSpacing = ((uint)(6)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.comboProblemSource = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.comboProblemSource.Name = "comboProblemSource"; this.comboProblemSource.AddIfNotExist = false; this.comboProblemSource.DefaultFirst = false; this.comboProblemSource.ShowSpecialStateAll = false; this.comboProblemSource.ShowSpecialStateNot = false; this.tblUndeliveryFields.Add(this.comboProblemSource); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.comboProblemSource])); w11.TopAttach = ((uint)(7)); w11.BottomAttach = ((uint)(8)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.comboTransferAbsenceReason = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.comboTransferAbsenceReason.Name = "comboTransferAbsenceReason"; this.comboTransferAbsenceReason.AddIfNotExist = false; this.comboTransferAbsenceReason.DefaultFirst = false; this.comboTransferAbsenceReason.ShowSpecialStateAll = false; this.comboTransferAbsenceReason.ShowSpecialStateNot = false; this.tblUndeliveryFields.Add(this.comboTransferAbsenceReason); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.comboTransferAbsenceReason])); w12.TopAttach = ((uint)(8)); w12.BottomAttach = ((uint)(9)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.BorderWidth = ((uint)(3)); // Container child frame1.Gtk.Container+ContainerChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w13 = new global::Gtk.Viewport(); w13.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.GtkAlignment6 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment6.Name = "GtkAlignment6"; this.GtkAlignment6.LeftPadding = ((uint)(12)); // Container child GtkAlignment6.Gtk.Container+ContainerChild this.lblInfo = new global::Gtk.Label(); this.lblInfo.Name = "lblInfo"; this.lblInfo.Xalign = 0F; this.lblInfo.LabelProp = global::Mono.Unix.Catalog.GetString("<b>?</b>"); this.lblInfo.UseMarkup = true; this.lblInfo.Selectable = true; this.GtkAlignment6.Add(this.lblInfo); w13.Add(this.GtkAlignment6); this.GtkScrolledWindow1.Add(w13); this.frame1.Add(this.GtkScrolledWindow1); this.lblInfoCaption = new global::Gtk.Label(); this.lblInfoCaption.Name = "lblInfoCaption"; this.lblInfoCaption.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Информация</b>"); this.lblInfoCaption.UseMarkup = true; this.frame1.LabelWidget = this.lblInfoCaption; this.tblUndeliveryFields.Add(this.frame1); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.frame1])); w18.BottomAttach = ((uint)(8)); w18.LeftAttach = ((uint)(2)); w18.RightAttach = ((uint)(3)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.guiltyInUndeliveryView = new global::Vodovoz.ViewWidgets.GuiltyInUndeliveryView(); this.guiltyInUndeliveryView.Events = ((global::Gdk.EventMask)(256)); this.guiltyInUndeliveryView.Name = "guiltyInUndeliveryView"; this.tblUndeliveryFields.Add(this.guiltyInUndeliveryView); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.guiltyInUndeliveryView])); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.hbxForNewOrder = new global::Gtk.HBox(); this.hbxForNewOrder.Name = "hbxForNewOrder"; this.hbxForNewOrder.Spacing = 6; // Container child hbxForNewOrder.Gtk.Box+BoxChild this.lblTransferDate = new global::Gtk.Label(); this.lblTransferDate.Name = "lblTransferDate"; this.lblTransferDate.LabelProp = global::Mono.Unix.Catalog.GetString("Заказ не\nсоздан "); this.lblTransferDate.Justify = ((global::Gtk.Justification)(2)); this.hbxForNewOrder.Add(this.lblTransferDate); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbxForNewOrder[this.lblTransferDate])); w20.Position = 0; w20.Expand = false; // Container child hbxForNewOrder.Gtk.Box+BoxChild this.btnChooseOrder = new global::Gtk.Button(); this.btnChooseOrder.CanFocus = true; this.btnChooseOrder.Name = "btnChooseOrder"; this.btnChooseOrder.UseUnderline = true; this.btnChooseOrder.Label = global::Mono.Unix.Catalog.GetString("Выбрать заказ"); this.hbxForNewOrder.Add(this.btnChooseOrder); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbxForNewOrder[this.btnChooseOrder])); w21.Position = 1; w21.Expand = false; w21.Fill = false; // Container child hbxForNewOrder.Gtk.Box+BoxChild this.btnNewOrder = new global::Gtk.Button(); this.btnNewOrder.CanFocus = true; this.btnNewOrder.Name = "btnNewOrder"; this.btnNewOrder.UseUnderline = true; this.btnNewOrder.Label = global::Mono.Unix.Catalog.GetString("Создать заказ"); this.hbxForNewOrder.Add(this.btnNewOrder); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbxForNewOrder[this.btnNewOrder])); w22.Position = 2; w22.Expand = false; // Container child hbxForNewOrder.Gtk.Box+BoxChild this.yenumcomboboxTransferType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxTransferType.Name = "yenumcomboboxTransferType"; this.yenumcomboboxTransferType.ShowSpecialStateAll = false; this.yenumcomboboxTransferType.ShowSpecialStateNot = false; this.yenumcomboboxTransferType.UseShortTitle = false; this.yenumcomboboxTransferType.DefaultFirst = false; this.hbxForNewOrder.Add(this.yenumcomboboxTransferType); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbxForNewOrder[this.yenumcomboboxTransferType])); w23.Position = 3; w23.Expand = false; w23.Fill = false; this.tblUndeliveryFields.Add(this.hbxForNewOrder); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.hbxForNewOrder])); w24.TopAttach = ((uint)(4)); w24.BottomAttach = ((uint)(5)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.lblDispatcherCallTime = new global::Gtk.Label(); this.lblDispatcherCallTime.Name = "lblDispatcherCallTime"; this.lblDispatcherCallTime.Xalign = 1F; this.lblDispatcherCallTime.LabelProp = global::Mono.Unix.Catalog.GetString("Время звонка клиенту:"); this.tblUndeliveryFields.Add(this.lblDispatcherCallTime); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblDispatcherCallTime])); w25.TopAttach = ((uint)(3)); w25.BottomAttach = ((uint)(4)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.lblDriverCallPlace = new global::Gtk.Label(); this.lblDriverCallPlace.Name = "lblDriverCallPlace"; this.lblDriverCallPlace.Xalign = 1F; this.lblDriverCallPlace.LabelProp = global::Mono.Unix.Catalog.GetString("Место звонка водителя:"); this.tblUndeliveryFields.Add(this.lblDriverCallPlace); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblDriverCallPlace])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.lblDriverCallTime = new global::Gtk.Label(); this.lblDriverCallTime.Name = "lblDriverCallTime"; this.lblDriverCallTime.Xalign = 1F; this.lblDriverCallTime.LabelProp = global::Mono.Unix.Catalog.GetString("Время звонка водителя:"); this.tblUndeliveryFields.Add(this.lblDriverCallTime); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblDriverCallTime])); w27.TopAttach = ((uint)(2)); w27.BottomAttach = ((uint)(3)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.lblGuilty = new global::Gtk.Label(); this.lblGuilty.Name = "lblGuilty"; this.lblGuilty.Xalign = 1F; this.lblGuilty.LabelProp = global::Mono.Unix.Catalog.GetString("Виновники:"); this.tblUndeliveryFields.Add(this.lblGuilty); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblGuilty])); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.lblNewDeliverySchedule = new global::Gtk.Label(); this.lblNewDeliverySchedule.Name = "lblNewDeliverySchedule"; this.lblNewDeliverySchedule.Xalign = 1F; this.lblNewDeliverySchedule.LabelProp = global::Mono.Unix.Catalog.GetString("Новый интервал переноса:"); this.tblUndeliveryFields.Add(this.lblNewDeliverySchedule); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblNewDeliverySchedule])); w29.TopAttach = ((uint)(5)); w29.BottomAttach = ((uint)(6)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.lblRegisteredBy = new global::Gtk.Label(); this.lblRegisteredBy.Name = "lblRegisteredBy"; this.lblRegisteredBy.Xalign = 1F; this.lblRegisteredBy.LabelProp = global::Mono.Unix.Catalog.GetString("Зарегистрировал:"); this.tblUndeliveryFields.Add(this.lblRegisteredBy); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblRegisteredBy])); w30.TopAttach = ((uint)(6)); w30.BottomAttach = ((uint)(7)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.lblTransferDateCaption = new global::Gtk.Label(); this.lblTransferDateCaption.Name = "lblTransferDateCaption"; this.lblTransferDateCaption.Xalign = 1F; this.lblTransferDateCaption.LabelProp = global::Mono.Unix.Catalog.GetString("Дата переноса:"); this.tblUndeliveryFields.Add(this.lblTransferDateCaption); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblTransferDateCaption])); w31.TopAttach = ((uint)(4)); w31.BottomAttach = ((uint)(5)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.referenceNewDeliverySchedule = new global::Gamma.Widgets.yEntryReference(); this.referenceNewDeliverySchedule.Events = ((global::Gdk.EventMask)(256)); this.referenceNewDeliverySchedule.Name = "referenceNewDeliverySchedule"; this.tblUndeliveryFields.Add(this.referenceNewDeliverySchedule); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.referenceNewDeliverySchedule])); w32.TopAttach = ((uint)(5)); w32.BottomAttach = ((uint)(6)); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.refRegisteredBy = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.refRegisteredBy.Events = ((global::Gdk.EventMask)(256)); this.refRegisteredBy.Name = "refRegisteredBy"; this.tblUndeliveryFields.Add(this.refRegisteredBy); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.refRegisteredBy])); w33.TopAttach = ((uint)(6)); w33.BottomAttach = ((uint)(7)); w33.LeftAttach = ((uint)(1)); w33.RightAttach = ((uint)(2)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.yDateDispatcherCallTime = new global::QS.Widgets.GtkUI.DatePicker(); this.yDateDispatcherCallTime.Events = ((global::Gdk.EventMask)(256)); this.yDateDispatcherCallTime.Name = "yDateDispatcherCallTime"; this.yDateDispatcherCallTime.WithTime = true; this.yDateDispatcherCallTime.HideCalendarButton = false; this.yDateDispatcherCallTime.Date = new global::System.DateTime(0); this.yDateDispatcherCallTime.IsEditable = true; this.yDateDispatcherCallTime.AutoSeparation = true; this.tblUndeliveryFields.Add(this.yDateDispatcherCallTime); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.yDateDispatcherCallTime])); w34.TopAttach = ((uint)(3)); w34.BottomAttach = ((uint)(4)); w34.LeftAttach = ((uint)(1)); w34.RightAttach = ((uint)(2)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.yDateDriverCallTime = new global::QS.Widgets.GtkUI.DatePicker(); this.yDateDriverCallTime.Events = ((global::Gdk.EventMask)(256)); this.yDateDriverCallTime.Name = "yDateDriverCallTime"; this.yDateDriverCallTime.WithTime = true; this.yDateDriverCallTime.HideCalendarButton = false; this.yDateDriverCallTime.Date = new global::System.DateTime(0); this.yDateDriverCallTime.IsEditable = true; this.yDateDriverCallTime.AutoSeparation = true; this.tblUndeliveryFields.Add(this.yDateDriverCallTime); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.yDateDriverCallTime])); w35.TopAttach = ((uint)(2)); w35.BottomAttach = ((uint)(3)); w35.LeftAttach = ((uint)(1)); w35.RightAttach = ((uint)(2)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.yEnumCMBDriverCallPlace = new global::Gamma.Widgets.yEnumComboBox(); this.yEnumCMBDriverCallPlace.Name = "yEnumCMBDriverCallPlace"; this.yEnumCMBDriverCallPlace.ShowSpecialStateAll = false; this.yEnumCMBDriverCallPlace.ShowSpecialStateNot = false; this.yEnumCMBDriverCallPlace.UseShortTitle = false; this.yEnumCMBDriverCallPlace.DefaultFirst = false; this.tblUndeliveryFields.Add(this.yEnumCMBDriverCallPlace); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.yEnumCMBDriverCallPlace])); w36.TopAttach = ((uint)(1)); w36.BottomAttach = ((uint)(2)); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.ylabelProblemSource = new global::Gamma.GtkWidgets.yLabel(); this.ylabelProblemSource.Name = "ylabelProblemSource"; this.ylabelProblemSource.Xalign = 1F; this.ylabelProblemSource.LabelProp = global::Mono.Unix.Catalog.GetString("Источник проблемы:"); this.tblUndeliveryFields.Add(this.ylabelProblemSource); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.ylabelProblemSource])); w37.TopAttach = ((uint)(7)); w37.BottomAttach = ((uint)(8)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.ylabelTransferAbsenceReason = new global::Gamma.GtkWidgets.yLabel(); this.ylabelTransferAbsenceReason.Name = "ylabelTransferAbsenceReason"; this.ylabelTransferAbsenceReason.Xalign = 1F; this.ylabelTransferAbsenceReason.LabelProp = global::Mono.Unix.Catalog.GetString("Причина отсутствия переноса:"); this.tblUndeliveryFields.Add(this.ylabelTransferAbsenceReason); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.ylabelTransferAbsenceReason])); w38.TopAttach = ((uint)(8)); w38.BottomAttach = ((uint)(9)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbxWithControls.Add(this.tblUndeliveryFields); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbxWithControls[this.tblUndeliveryFields])); w39.Position = 1; w39.Expand = false; w39.Fill = false; // Container child vbxWithControls.Gtk.Box+BoxChild this.vbxReasonAndFines = new global::Gtk.VBox(); this.vbxReasonAndFines.Name = "vbxReasonAndFines"; this.vbxReasonAndFines.Spacing = 6; // Container child vbxReasonAndFines.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.BorderWidth = ((uint)(3)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment7 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment7.Name = "GtkAlignment7"; this.GtkAlignment7.LeftPadding = ((uint)(12)); // Container child GtkAlignment7.Gtk.Container+ContainerChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.txtReason = new global::Gamma.GtkWidgets.yTextView(); this.txtReason.CanFocus = true; this.txtReason.Name = "txtReason"; this.txtReason.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow2.Add(this.txtReason); this.GtkAlignment7.Add(this.GtkScrolledWindow2); this.frame2.Add(this.GtkAlignment7); this.lblReason = new global::Gtk.Label(); this.lblReason.Name = "lblReason"; this.lblReason.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Что случилось?</b>"); this.lblReason.UseMarkup = true; this.frame2.LabelWidget = this.lblReason; this.vbxReasonAndFines.Add(this.frame2); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbxReasonAndFines[this.frame2])); w43.Position = 0; // Container child vbxReasonAndFines.Gtk.Box+BoxChild this.frame3 = new global::Gtk.Frame(); this.frame3.Name = "frame3"; this.frame3.BorderWidth = ((uint)(3)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment8 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment8.Name = "GtkAlignment8"; this.GtkAlignment8.LeftPadding = ((uint)(12)); // Container child GtkAlignment8.Gtk.Container+ContainerChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.yTreeFines = new global::Gamma.GtkWidgets.yTreeView(); this.yTreeFines.CanFocus = true; this.yTreeFines.Name = "yTreeFines"; this.GtkScrolledWindow3.Add(this.yTreeFines); this.GtkAlignment8.Add(this.GtkScrolledWindow3); this.frame3.Add(this.GtkAlignment8); this.lblFines = new global::Gtk.Label(); this.lblFines.Name = "lblFines"; this.lblFines.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Штрафы</b>"); this.lblFines.UseMarkup = true; this.frame3.LabelWidget = this.lblFines; this.vbxReasonAndFines.Add(this.frame3); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbxReasonAndFines[this.frame3])); w47.Position = 1; // Container child vbxReasonAndFines.Gtk.Box+BoxChild this.buttonAddFine = new global::Gtk.Button(); this.buttonAddFine.CanFocus = true; this.buttonAddFine.Name = "buttonAddFine"; this.buttonAddFine.UseUnderline = true; this.buttonAddFine.Label = global::Mono.Unix.Catalog.GetString("Добавить штраф"); global::Gtk.Image w48 = new global::Gtk.Image(); w48.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddFine.Image = w48; this.vbxReasonAndFines.Add(this.buttonAddFine); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbxReasonAndFines[this.buttonAddFine])); w49.PackType = ((global::Gtk.PackType)(1)); w49.Position = 2; w49.Fill = false; this.vbxWithControls.Add(this.vbxReasonAndFines); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbxWithControls[this.vbxReasonAndFines])); w50.Position = 2; this.mainBox.Add(this.vbxWithControls); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.mainBox[this.vbxWithControls])); w51.Position = 1; this.Add(this.mainBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.yenumcomboboxTransferType.Hide(); this.Hide(); this.yEnumCMBDriverCallPlace.EnumItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnYEnumCMBDriverCallPlaceEnumItemSelected); this.btnChooseOrder.Clicked += new global::System.EventHandler(this.OnBtnChooseOrderClicked); this.btnNewOrder.Clicked += new global::System.EventHandler(this.OnBtnNewOrderClicked); this.buttonAddFine.Clicked += new global::System.EventHandler(this.OnButtonAddFineClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.CarUnloadDocumentDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.CarUnloadDocumentDlg"; // Container child Vodovoz.CarUnloadDocumentDlg.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(6)); // Container child vbox4.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox5.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox5.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonPrint = new global::Gtk.Button (); this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString ("Печать"); global::Gtk.Image w5 = new global::Gtk.Image (); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w5; this.hbox5.Add (this.buttonPrint); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonPrint])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox4.Add (this.hbox5); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox5])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.tableWriteoff = new global::Gtk.DataBindings.DataTable (((uint)(3)), ((uint)(4)), false); this.tableWriteoff.Name = "tableWriteoff"; this.tableWriteoff.RowSpacing = ((uint)(6)); this.tableWriteoff.ColumnSpacing = ((uint)(6)); this.tableWriteoff.InheritedDataSource = false; this.tableWriteoff.InheritedBoundaryDataSource = false; this.tableWriteoff.InheritedDataSource = false; this.tableWriteoff.InheritedBoundaryDataSource = false; // Container child tableWriteoff.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewCommnet = new global::Gamma.GtkWidgets.yTextView (); this.ytextviewCommnet.CanFocus = true; this.ytextviewCommnet.Name = "ytextviewCommnet"; this.GtkScrolledWindow.Add (this.ytextviewCommnet); this.tableWriteoff.Add (this.GtkScrolledWindow); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.GtkScrolledWindow])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.VscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow1.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytextviewRouteListInfo = new global::Gamma.GtkWidgets.yTextView (); this.ytextviewRouteListInfo.CanFocus = true; this.ytextviewRouteListInfo.Name = "ytextviewRouteListInfo"; this.ytextviewRouteListInfo.Editable = false; this.GtkScrolledWindow1.Add (this.ytextviewRouteListInfo); this.tableWriteoff.Add (this.GtkScrolledWindow1); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.GtkScrolledWindow1])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(3)); w11.RightAttach = ((uint)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата:"); this.tableWriteoff.Add (this.label1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label1])); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Маршрутный лист:"); this.tableWriteoff.Add (this.label2); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label2])); w13.LeftAttach = ((uint)(2)); w13.RightAttach = ((uint)(3)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Информация:"); this.tableWriteoff.Add (this.label3); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label3])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Склад:"); this.tableWriteoff.Add (this.label4); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label4])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.Yalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Комментарий:"); this.tableWriteoff.Add (this.label5); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label5])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.yentryrefRouteList = new global::Gamma.Widgets.yEntryReferenceVM (); this.yentryrefRouteList.Events = ((global::Gdk.EventMask)(256)); this.yentryrefRouteList.Name = "yentryrefRouteList"; this.tableWriteoff.Add (this.yentryrefRouteList); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.yentryrefRouteList])); w17.LeftAttach = ((uint)(3)); w17.RightAttach = ((uint)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.yentryrefWarehouse = new global::Gamma.Widgets.yEntryReference (); this.yentryrefWarehouse.Events = ((global::Gdk.EventMask)(256)); this.yentryrefWarehouse.Name = "yentryrefWarehouse"; this.tableWriteoff.Add (this.yentryrefWarehouse); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.yentryrefWarehouse])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child tableWriteoff.Gtk.Table+TableChild this.ylabelDate = new global::Gamma.GtkWidgets.yLabel (); this.ylabelDate.Name = "ylabelDate"; this.ylabelDate.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1"); this.tableWriteoff.Add (this.ylabelDate); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.ylabelDate])); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add (this.tableWriteoff); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.tableWriteoff])); w20.Position = 1; w20.Expand = false; w20.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.bottlereceptionview1 = new global::Vodovoz.BottleReceptionView (); this.bottlereceptionview1.Events = ((global::Gdk.EventMask)(256)); this.bottlereceptionview1.Name = "bottlereceptionview1"; this.vbox1.Add (this.bottlereceptionview1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.bottlereceptionview1])); w21.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.equipmentreceptionview1 = new global::Vodovoz.EquipmentReceptionView (); this.equipmentreceptionview1.Events = ((global::Gdk.EventMask)(256)); this.equipmentreceptionview1.Name = "equipmentreceptionview1"; this.vbox1.Add (this.equipmentreceptionview1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.equipmentreceptionview1])); w22.Position = 1; this.hbox4.Add (this.vbox1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox1])); w23.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.returnsreceptionview1 = new global::Vodovoz.ReturnsReceptionView (); this.returnsreceptionview1.Events = ((global::Gdk.EventMask)(256)); this.returnsreceptionview1.Name = "returnsreceptionview1"; this.hbox4.Add (this.returnsreceptionview1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.returnsreceptionview1])); w24.Position = 1; this.vbox4.Add (this.hbox4); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox4])); w25.Position = 2; this.Add (this.vbox4); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); this.buttonPrint.Clicked += new global::System.EventHandler (this.OnButtonPrintClicked); this.yentryrefWarehouse.Changed += new global::System.EventHandler (this.OnYentryrefWarehouseChanged); this.yentryrefRouteList.Changed += new global::System.EventHandler (this.OnYentryrefRouteListChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Company.SubdivisionView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Company.SubdivisionView"; // Container child workwear.Views.Company.SubdivisionView.Gtk.Container+ContainerChild this.dialog1_VBox = new global::Gtk.VBox(); this.dialog1_VBox.Name = "dialog1_VBox"; this.dialog1_VBox.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.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.dialog1_VBox.Add(this.hbox2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(5)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entitySubdivision = new global::QS.Views.Control.EntityEntry(); this.entitySubdivision.Events = ((global::Gdk.EventMask)(256)); this.entitySubdivision.Name = "entitySubdivision"; this.table1.Add(this.entitySubdivision); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.entitySubdivision])); w6.TopAttach = ((uint)(4)); w6.BottomAttach = ((uint)(5)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entitywarehouse = new global::QS.Views.Control.EntityEntry(); this.entitywarehouse.Events = ((global::Gdk.EventMask)(256)); this.entitywarehouse.Name = "entitywarehouse"; this.table1.Add(this.entitywarehouse); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entitywarehouse])); w7.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryName = new global::Gamma.GtkWidgets.yEntry(); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.MaxLength = 240; this.entryName.InvisibleChar = '●'; this.table1.Add(this.entryName); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.entryName])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textviewAddress = new global::Gamma.GtkWidgets.yTextView(); this.textviewAddress.CanFocus = true; this.textviewAddress.Name = "textviewAddress"; this.GtkScrolledWindow.Add(this.textviewAddress); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.entryCode = new global::Gamma.GtkWidgets.yEntry(); this.entryCode.TooltipMarkup = "Сокращенное название подразделения для быстрого поиска или ориентации."; this.entryCode.CanFocus = true; this.entryCode.Name = "entryCode"; this.entryCode.IsEditable = true; this.entryCode.MaxLength = 20; this.entryCode.InvisibleChar = '●'; this.hbox1.Add(this.entryCode); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.entryCode])); w11.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.buttonPlacement = new global::Gtk.Button(); this.buttonPlacement.Sensitive = false; this.buttonPlacement.CanFocus = true; this.buttonPlacement.Name = "buttonPlacement"; this.buttonPlacement.UseUnderline = true; this.buttonPlacement.Label = global::Mono.Unix.Catalog.GetString("Справочник размещений"); global::Gtk.Image w12 = new global::Gtk.Image(); w12.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-directory", global::Gtk.IconSize.Menu); this.buttonPlacement.Image = w12; this.hbox1.Add(this.buttonPlacement); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonPlacement])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.table1.Add(this.hbox1); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox1])); 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.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 w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.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("Название<span foreground=\"red\">*</span>:"); this.label3.UseMarkup = true; this.table1.Add(this.label3); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lbSubdivision = new global::Gtk.Label(); this.lbSubdivision.Name = "lbSubdivision"; this.lbSubdivision.Xalign = 1F; this.lbSubdivision.LabelProp = global::Mono.Unix.Catalog.GetString("Головное подразделение:"); this.table1.Add(this.lbSubdivision); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.lbSubdivision])); w18.TopAttach = ((uint)(4)); w18.BottomAttach = ((uint)(5)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lbWarehouse = new global::Gtk.Label(); this.lbWarehouse.Name = "lbWarehouse"; this.lbWarehouse.Xalign = 1F; this.lbWarehouse.LabelProp = global::Mono.Unix.Catalog.GetString("Склад выдачи:"); this.table1.Add(this.lbWarehouse); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.lbWarehouse])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); this.dialog1_VBox.Add(this.table1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.table1])); w20.Position = 1; w20.Expand = false; w20.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Имущество подразделения:</b>"); this.label1.UseMarkup = true; this.dialog1_VBox.Add(this.label1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.label1])); w21.Position = 2; w21.Expand = false; w21.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); this.GtkScrolledWindow1.BorderWidth = ((uint)(3)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.treeviewProperty = new global::Gamma.GtkWidgets.yTreeView(); this.treeviewProperty.CanFocus = true; this.treeviewProperty.Name = "treeviewProperty"; this.GtkScrolledWindow1.Add(this.treeviewProperty); this.dialog1_VBox.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.GtkScrolledWindow1])); w23.Position = 3; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.buttonGive = new global::Gtk.Button(); this.buttonGive.Sensitive = false; this.buttonGive.CanFocus = true; this.buttonGive.Name = "buttonGive"; this.buttonGive.UseUnderline = true; this.buttonGive.Label = global::Mono.Unix.Catalog.GetString("Выдача"); global::Gtk.Image w24 = new global::Gtk.Image(); w24.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonGive.Image = w24; this.hbox6.Add(this.buttonGive); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonGive])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonReturn = new global::Gtk.Button(); this.buttonReturn.Sensitive = false; this.buttonReturn.CanFocus = true; this.buttonReturn.Name = "buttonReturn"; this.buttonReturn.UseUnderline = true; this.buttonReturn.Label = global::Mono.Unix.Catalog.GetString("Возврат на склад"); global::Gtk.Image w26 = new global::Gtk.Image(); w26.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-redo", global::Gtk.IconSize.Menu); this.buttonReturn.Image = w26; this.hbox6.Add(this.buttonReturn); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonReturn])); w27.Position = 1; w27.Expand = false; w27.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonWriteOff = new global::Gtk.Button(); this.buttonWriteOff.Sensitive = false; this.buttonWriteOff.CanFocus = true; this.buttonWriteOff.Name = "buttonWriteOff"; this.buttonWriteOff.UseUnderline = true; this.buttonWriteOff.Label = global::Mono.Unix.Catalog.GetString("Списание"); global::Gtk.Image w28 = new global::Gtk.Image(); w28.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.buttonWriteOff.Image = w28; this.hbox6.Add(this.buttonWriteOff); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonWriteOff])); w29.Position = 2; w29.Expand = false; w29.Fill = false; this.dialog1_VBox.Add(this.hbox6); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox6])); w30.Position = 4; w30.Expand = false; w30.Fill = false; this.Add(this.dialog1_VBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.buttonPlacement.Clicked += new global::System.EventHandler(this.OnButtonPlacementClicked); this.buttonGive.Clicked += new global::System.EventHandler(this.OnButtonGiveClicked); this.buttonReturn.Clicked += new global::System.EventHandler(this.OnButtonReturnClicked); this.buttonWriteOff.Clicked += new global::System.EventHandler(this.OnButtonWriteOffClicked); }