protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Journal.Filter.Views.Regulations.NormFilterView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Journal.Filter.Views.Regulations.NormFilterView"; // Container child workwear.Journal.Filter.Views.Regulations.NormFilterView.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entryPost = new global::QS.Views.Control.EntityEntry(); this.entryPost.Events = ((global::Gdk.EventMask)(256)); this.entryPost.Name = "entryPost"; this.table1.Add(this.entryPost); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.entryPost])); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryProtectionTools = new global::QS.Views.Control.EntityEntry(); this.entryProtectionTools.Events = ((global::Gdk.EventMask)(256)); this.entryProtectionTools.Name = "entryProtectionTools"; this.table1.Add(this.entryProtectionTools); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entryProtectionTools])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w3 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1])); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel4 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel4.Name = "ylabel4"; this.ylabel4.Xalign = 1F; this.ylabel4.LabelProp = global::Mono.Unix.Catalog.GetString("Номенклатура нормы:"); this.table1.Add(this.ylabel4); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel4])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.ReportParameters.Views.NotIssuedSheetSummaryView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.ReportParameters.Views.NotIssuedSheetSummaryView"; // Container child workwear.ReportParameters.Views.NotIssuedSheetSummaryView.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.table1 = new global::Gtk.Table(((uint)(6)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checkShowSex = new global::Gamma.GtkWidgets.yCheckButton(); this.checkShowSex.CanFocus = true; this.checkShowSex.Name = "checkShowSex"; this.checkShowSex.Label = global::Mono.Unix.Catalog.GetString("Да"); this.checkShowSex.DrawIndicator = true; this.checkShowSex.UseUnderline = true; this.table1.Add(this.checkShowSex); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.checkShowSex])); w1.TopAttach = ((uint)(4)); w1.BottomAttach = ((uint)(5)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboIssueType = new global::Gamma.Widgets.yEnumComboBox(); this.comboIssueType.Name = "comboIssueType"; this.comboIssueType.ShowSpecialStateAll = true; this.comboIssueType.ShowSpecialStateNot = false; this.comboIssueType.UseShortTitle = false; this.comboIssueType.DefaultFirst = false; this.table1.Add(this.comboIssueType); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.comboIssueType])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w3 = ((global::Gtk.Table.TableChild)(this.table1[this.entitySubdivision])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата отчета:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.WidthRequest = 250; this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("<i>Обратите внимание:</i> Отчет показывает недополученное по текущим потребностям" + ". При значительном удалении даты отчет от сегодняшнего дня, данные будут некорре" + "тны."); this.label2.UseMarkup = true; this.label2.Wrap = true; this.label2.Justify = ((global::Gtk.Justification)(3)); this.table1.Add(this.label2); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w5.TopAttach = ((uint)(5)); w5.BottomAttach = ((uint)(6)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycheckExcludeInVacation = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckExcludeInVacation.CanFocus = true; this.ycheckExcludeInVacation.Name = "ycheckExcludeInVacation"; this.ycheckExcludeInVacation.Label = ""; this.ycheckExcludeInVacation.Active = true; this.ycheckExcludeInVacation.DrawIndicator = true; this.ycheckExcludeInVacation.UseUnderline = true; this.table1.Add(this.ycheckExcludeInVacation); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.ycheckExcludeInVacation])); 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.ydateReport = new global::Gamma.Widgets.yDatePicker(); this.ydateReport.Events = ((global::Gdk.EventMask)(256)); this.ydateReport.Name = "ydateReport"; this.ydateReport.WithTime = false; this.ydateReport.Date = new global::System.DateTime(0); this.ydateReport.IsEditable = true; this.ydateReport.AutoSeparation = true; this.table1.Add(this.ydateReport); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateReport])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.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 w9 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.Xalign = 1F; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Учитывать пол:"); this.table1.Add(this.ylabel2); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel2])); w10.TopAttach = ((uint)(4)); w10.BottomAttach = ((uint)(5)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel3 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel3.Name = "ylabel3"; this.ylabel3.Xalign = 1F; this.ylabel3.LabelProp = global::Mono.Unix.Catalog.GetString("Исключать сотрудников в отпуске:"); this.table1.Add(this.ylabel3); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel3])); w11.TopAttach = ((uint)(3)); w11.BottomAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.dialog1_VBox.Add(this.table1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.table1])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.buttonRun = new global::Gamma.GtkWidgets.yButton(); this.buttonRun.Sensitive = false; this.buttonRun.CanFocus = true; this.buttonRun.Name = "buttonRun"; this.buttonRun.UseUnderline = true; this.buttonRun.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.dialog1_VBox.Add(this.buttonRun); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.buttonRun])); w13.PackType = ((global::Gtk.PackType)(1)); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.Add(this.dialog1_VBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.buttonRun.Clicked += new global::System.EventHandler(this.OnButtonRunClicked); }
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 workwear.Views.Stock.ExpenseObjectView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Stock.ExpenseObjectView"; // Container child workwear.Views.Stock.ExpenseObjectView.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.entitySubdivision = new global::QS.Views.Control.EntityEntry(); this.entitySubdivision.Events = ((global::Gdk.EventMask)(256)); this.entitySubdivision.Name = "entitySubdivision"; this.table2.Add(this.entitySubdivision); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2[this.entitySubdivision])); 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 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.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.hboxIssuanceSheet = new global::Gtk.HBox(); this.hboxIssuanceSheet.Name = "hboxIssuanceSheet"; this.hboxIssuanceSheet.Spacing = 6; this.table2.Add(this.hboxIssuanceSheet); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2[this.hboxIssuanceSheet])); w8.TopAttach = ((uint)(3)); w8.BottomAttach = ((uint)(4)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((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 w9 = ((global::Gtk.Table.TableChild)(this.table2[this.label2])); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.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 w10 = ((global::Gtk.Table.TableChild)(this.table2[this.label3])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelObject = new global::Gtk.Label(); this.labelObject.Name = "labelObject"; this.labelObject.Xalign = 1F; this.labelObject.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение<span foreground=\"red\">*</span>:"); this.labelObject.UseMarkup = true; this.table2.Add(this.labelObject); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2[this.labelObject])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.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 w12 = ((global::Gtk.Table.TableChild)(this.table2[this.ycomboOperation])); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table2])); w13.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 w15 = ((global::Gtk.Table.TableChild)(this.table3[this.GtkScrolledWindowComments])); w15.TopAttach = ((uint)(3)); w15.BottomAttach = ((uint)(4)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child 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 w16 = ((global::Gtk.Table.TableChild)(this.table3[this.label26])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.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 w17 = ((global::Gtk.Table.TableChild)(this.table3[this.label4])); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.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 w18 = ((global::Gtk.Table.TableChild)(this.table3[this.label5])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.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 w19 = ((global::Gtk.Table.TableChild)(this.table3[this.label6])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.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 w20 = ((global::Gtk.Table.TableChild)(this.table3[this.ydateDoc])); 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.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 w21 = ((global::Gtk.Table.TableChild)(this.table3[this.ylabelCreatedBy])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.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 w22 = ((global::Gtk.Table.TableChild)(this.table3[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.table3); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table3])); w23.Position = 1; this.dialog1_VBox.Add(this.hbox1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox1])); w24.Position = 1; w24.Expand = false; w24.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.expensedocitemobjectview1 = new global::workwear.Views.Stock.ExpenseDocItemObjectView(); this.expensedocitemobjectview1.Events = ((global::Gdk.EventMask)(256)); this.expensedocitemobjectview1.Name = "expensedocitemobjectview1"; this.dialog1_VBox.Add(this.expensedocitemobjectview1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.expensedocitemobjectview1])); w25.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.Tools.ReplaceEntityView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Tools.ReplaceEntityView"; // Container child workwear.Views.Tools.ReplaceEntityView.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.ytable2 = new global::Gamma.GtkWidgets.yTable(); this.ytable2.Name = "ytable2"; this.ytable2.NRows = ((uint)(4)); this.ytable2.NColumns = ((uint)(3)); this.ytable2.RowSpacing = ((uint)(6)); this.ytable2.ColumnSpacing = ((uint)(6)); // Container child ytable2.Gtk.Table+TableChild this.checkRemoveSource = new global::Gamma.GtkWidgets.yCheckButton(); this.checkRemoveSource.CanFocus = true; this.checkRemoveSource.Name = "checkRemoveSource"; this.checkRemoveSource.Label = global::Mono.Unix.Catalog.GetString("Удалить исходный объект"); this.checkRemoveSource.DrawIndicator = true; this.checkRemoveSource.UseUnderline = true; this.ytable2.Add(this.checkRemoveSource); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.ytable2[this.checkRemoveSource])); w1.TopAttach = ((uint)(3)); w1.BottomAttach = ((uint)(4)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable2.Gtk.Table+TableChild this.entrySource = new global::QS.Views.Control.EntityEntry(); this.entrySource.Events = ((global::Gdk.EventMask)(256)); this.entrySource.Name = "entrySource"; this.ytable2.Add(this.entrySource); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.ytable2[this.entrySource])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable2.Gtk.Table+TableChild this.entryTarget = new global::QS.Views.Control.EntityEntry(); this.entryTarget.Events = ((global::Gdk.EventMask)(256)); this.entryTarget.Name = "entryTarget"; this.ytable2.Add(this.entryTarget); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.ytable2[this.entryTarget])); 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 ytable2.Gtk.Table+TableChild this.labelTotalLinks = new global::Gamma.GtkWidgets.yLabel(); this.labelTotalLinks.Name = "labelTotalLinks"; this.labelTotalLinks.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel2"); this.ytable2.Add(this.labelTotalLinks); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.ytable2[this.labelTotalLinks])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(2)); w4.RightAttach = ((uint)(3)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable2.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.ytable2.Add(this.ylabel1); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.ytable2[this.ylabel1])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable2.Gtk.Table+TableChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Внимание данная процедура необратима!! Рекомендуем сделать резервную копию БД.\nПр" + "оцедура заменить все ссылки на с одной номенклатуры нормы на другую. Тем самым п" + "озволяя объединять дублированные объекты."); this.ylabel2.Justify = ((global::Gtk.Justification)(2)); this.ytable2.Add(this.ylabel2); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.ytable2[this.ylabel2])); w6.RightAttach = ((uint)(3)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable2.Gtk.Table+TableChild this.ylabel3 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel3.Name = "ylabel3"; this.ylabel3.Xalign = 1F; this.ylabel3.LabelProp = global::Mono.Unix.Catalog.GetString("Заменить на объект:"); this.ytable2.Add(this.ylabel3); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.ytable2[this.ylabel3])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); this.yvbox1.Add(this.ytable2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.ytable2])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child yvbox1.Gtk.Box+BoxChild this.progressTotal = new global::QS.Widgets.ProgressWidget(); this.progressTotal.Name = "progressTotal"; this.yvbox1.Add(this.progressTotal); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.progressTotal])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child yvbox1.Gtk.Box+BoxChild this.buttonReplace = new global::Gamma.GtkWidgets.yButton(); this.buttonReplace.CanFocus = true; this.buttonReplace.Name = "buttonReplace"; this.buttonReplace.UseUnderline = true; this.buttonReplace.Label = global::Mono.Unix.Catalog.GetString("Заменить"); global::Gtk.Image w10 = new global::Gtk.Image(); w10.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-execute", global::Gtk.IconSize.Menu); this.buttonReplace.Image = w10; this.yvbox1.Add(this.buttonReplace); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.buttonReplace])); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.Add(this.yvbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonReplace.Clicked += new global::System.EventHandler(this.OnButtonReplaceClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.ReportParameters.Views.RequestSheetView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.ReportParameters.Views.RequestSheetView"; // Container child workwear.ReportParameters.Views.RequestSheetView.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.table1 = new global::Gtk.Table(((uint)(5)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboQuarter = new global::Gamma.Widgets.ySpecComboBox(); this.comboQuarter.Name = "comboQuarter"; this.comboQuarter.AddIfNotExist = false; this.comboQuarter.DefaultFirst = false; this.comboQuarter.ShowSpecialStateAll = false; this.comboQuarter.ShowSpecialStateNot = false; this.table1.Add(this.comboQuarter); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.comboQuarter])); w1.TopAttach = ((uint)(3)); w1.BottomAttach = ((uint)(4)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // 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 w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entitySubdivision])); 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.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.radioMonth = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Месяц")); this.radioMonth.CanFocus = true; this.radioMonth.Name = "radioMonth"; this.radioMonth.DrawIndicator = true; this.radioMonth.UseUnderline = true; this.radioMonth.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.hbox1.Add(this.radioMonth); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioMonth])); w3.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.radioQuarter = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Квартал")); this.radioQuarter.CanFocus = true; this.radioQuarter.Name = "radioQuarter"; this.radioQuarter.DrawIndicator = true; this.radioQuarter.UseUnderline = true; this.radioQuarter.Group = this.radioMonth.Group; this.hbox1.Add(this.radioQuarter); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioQuarter])); w4.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.radioYear = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Год")); this.radioYear.CanFocus = true; this.radioYear.Name = "radioYear"; this.radioYear.DrawIndicator = true; this.radioYear.UseUnderline = true; this.radioYear.Group = this.radioMonth.Group; this.hbox1.Add(this.radioYear); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioYear])); w5.Position = 2; this.table1.Add(this.hbox1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox1])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Период:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelPeriodType = new global::Gamma.GtkWidgets.yLabel(); this.labelPeriodType.Name = "labelPeriodType"; this.labelPeriodType.Xalign = 1F; this.labelPeriodType.LabelProp = global::Mono.Unix.Catalog.GetString("Квартал:"); this.table1.Add(this.labelPeriodType); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.labelPeriodType])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycheckChild = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckChild.CanFocus = true; this.ycheckChild.Name = "ycheckChild"; this.ycheckChild.Label = global::Mono.Unix.Catalog.GetString("Учитывать дочерние"); this.ycheckChild.DrawIndicator = true; this.ycheckChild.UseUnderline = true; this.table1.Add(this.ycheckChild); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.ycheckChild])); 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.yenumIssueType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumIssueType.Name = "yenumIssueType"; this.yenumIssueType.ShowSpecialStateAll = true; this.yenumIssueType.ShowSpecialStateNot = false; this.yenumIssueType.UseShortTitle = false; this.yenumIssueType.DefaultFirst = true; this.table1.Add(this.yenumIssueType); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumIssueType])); 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.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 w12 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.dialog1_VBox.Add(this.table1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.table1])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Номенклатура нормы"); this.dialog1_VBox.Add(this.ylabel2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.ylabel2])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.ycheckbuttonAllNomenclature = new global::Gamma.GtkWidgets.yButton(); this.ycheckbuttonAllNomenclature.CanFocus = true; this.ycheckbuttonAllNomenclature.Name = "ycheckbuttonAllNomenclature"; this.ycheckbuttonAllNomenclature.UseUnderline = true; this.ycheckbuttonAllNomenclature.Label = global::Mono.Unix.Catalog.GetString("Выделить/снять выделение"); this.dialog1_VBox.Add(this.ycheckbuttonAllNomenclature); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.ycheckbuttonAllNomenclature])); w15.Position = 2; w15.Expand = false; w15.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.buttonRun = new global::Gtk.Button(); this.buttonRun.CanFocus = true; this.buttonRun.Name = "buttonRun"; this.buttonRun.UseUnderline = true; this.buttonRun.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.dialog1_VBox.Add(this.buttonRun); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.buttonRun])); w16.PackType = ((global::Gtk.PackType)(1)); w16.Position = 3; w16.Expand = false; w16.Fill = false; // Container child dialog1_VBox.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.ytreeNomenclature = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeNomenclature.CanFocus = true; this.ytreeNomenclature.Name = "ytreeNomenclature"; this.ytreeNomenclature.HeadersVisible = false; this.scrolledwindow1.Add(this.ytreeNomenclature); this.dialog1_VBox.Add(this.scrolledwindow1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.scrolledwindow1])); w18.PackType = ((global::Gtk.PackType)(1)); w18.Position = 4; this.Add(this.dialog1_VBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.radioMonth.Toggled += new global::System.EventHandler(this.OnRadioMonthToggled); this.radioQuarter.Toggled += new global::System.EventHandler(this.OnRadioQuarterToggled); this.radioYear.Toggled += new global::System.EventHandler(this.OnRadioYearToggled); this.ycheckbuttonAllNomenclature.Clicked += new global::System.EventHandler(this.SelectAll); this.buttonRun.Clicked += new global::System.EventHandler(this.OnButtonRunClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Company.LeadersView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Company.LeadersView"; // Container child workwear.Views.Company.LeadersView.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)(5)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entryEmployee = new global::QS.Views.Control.EntityEntry(); this.entryEmployee.Events = ((global::Gdk.EventMask)(256)); this.entryEmployee.Name = "entryEmployee"; this.table1.Add(this.entryEmployee); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.entryEmployee])); 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.lbFrstName = new global::Gamma.GtkWidgets.yLabel(); this.lbFrstName.Name = "lbFrstName"; this.lbFrstName.Xalign = 1F; this.lbFrstName.LabelProp = global::Mono.Unix.Catalog.GetString("Имя:"); this.table1.Add(this.lbFrstName); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.lbFrstName])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lbPatronymic = new global::Gtk.Label(); this.lbPatronymic.Name = "lbPatronymic"; this.lbPatronymic.Xalign = 1F; this.lbPatronymic.LabelProp = global::Mono.Unix.Catalog.GetString("Отчество:"); this.table1.Add(this.lbPatronymic); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.lbPatronymic])); 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.lbPosition = new global::Gtk.Label(); this.lbPosition.Name = "lbPosition"; this.lbPosition.Xalign = 1F; this.lbPosition.LabelProp = global::Mono.Unix.Catalog.GetString("Должность:"); this.table1.Add(this.lbPosition); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.lbPosition])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lbSurName1 = new global::Gamma.GtkWidgets.yLabel(); this.lbSurName1.Name = "lbSurName1"; this.lbSurName1.Xalign = 1F; this.lbSurName1.LabelProp = global::Mono.Unix.Catalog.GetString("Фамилия:"); this.table1.Add(this.lbSurName1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.lbSurName1])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.tbFirstName = new global::Gamma.GtkWidgets.yEntry(); this.tbFirstName.CanFocus = true; this.tbFirstName.Name = "tbFirstName"; this.tbFirstName.IsEditable = true; this.tbFirstName.InvisibleChar = '●'; this.table1.Add(this.tbFirstName); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.tbFirstName])); 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.tbPatronymic = new global::Gamma.GtkWidgets.yEntry(); this.tbPatronymic.CanFocus = true; this.tbPatronymic.Name = "tbPatronymic"; this.tbPatronymic.IsEditable = true; this.tbPatronymic.InvisibleChar = '●'; this.table1.Add(this.tbPatronymic); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.tbPatronymic])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.tbPosition = new global::Gamma.GtkWidgets.yEntry(); this.tbPosition.CanFocus = true; this.tbPosition.Name = "tbPosition"; this.tbPosition.IsEditable = true; this.tbPosition.InvisibleChar = '●'; this.table1.Add(this.tbPosition); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.tbPosition])); 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.tbSurName = new global::Gamma.GtkWidgets.yEntry(); this.tbSurName.CanFocus = true; this.tbSurName.Name = "tbSurName"; this.tbSurName.IsEditable = true; this.tbSurName.InvisibleChar = '●'; this.table1.Add(this.tbSurName); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.tbSurName])); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.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 w15 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1])); w15.TopAttach = ((uint)(4)); w15.BottomAttach = ((uint)(5)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Stock.CollectiveExpenseView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Stock.CollectiveExpenseView"; // Container child workwear.Views.Stock.CollectiveExpenseView.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; // 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.dialog1_VBox.Add(this.hbox4); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox4])); w6.Position = 0; w6.Expand = false; w6.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.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.XOptions = ((global::Gtk.AttachOptions)(4)); w7.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 w8 = new global::Gtk.Image(); w8.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-new", global::Gtk.IconSize.Menu); this.buttonIssuanceSheetCreate.Image = w8; this.hboxIssuanceSheet.Add(this.buttonIssuanceSheetCreate); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxIssuanceSheet[this.buttonIssuanceSheetCreate])); w9.Position = 0; w9.Expand = false; w9.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 w10 = new global::Gtk.Image(); w10.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonIssuanceSheetOpen.Image = w10; this.hboxIssuanceSheet.Add(this.buttonIssuanceSheetOpen); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxIssuanceSheet[this.buttonIssuanceSheetOpen])); w11.Position = 1; w11.Expand = false; w11.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 w12 = new global::Gtk.Image(); w12.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.enumPrint.Image = w12; this.hboxIssuanceSheet.Add(this.enumPrint); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hboxIssuanceSheet[this.enumPrint])); w13.Position = 2; w13.Expand = false; w13.Fill = false; this.table2.Add(this.hboxIssuanceSheet); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2[this.hboxIssuanceSheet])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); 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.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)(1)); w16.BottomAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table2])); w17.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 w19 = ((global::Gtk.Table.TableChild)(this.table3[this.GtkScrolledWindowComments])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.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 w20 = ((global::Gtk.Table.TableChild)(this.table3[this.label26])); w20.TopAttach = ((uint)(3)); w20.BottomAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.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 w21 = ((global::Gtk.Table.TableChild)(this.table3[this.label4])); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.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 w22 = ((global::Gtk.Table.TableChild)(this.table3[this.label5])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.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 w23 = ((global::Gtk.Table.TableChild)(this.table3[this.label6])); 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.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 w24 = ((global::Gtk.Table.TableChild)(this.table3[this.ydateDoc])); w24.TopAttach = ((uint)(2)); w24.BottomAttach = ((uint)(3)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.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 w25 = ((global::Gtk.Table.TableChild)(this.table3[this.ylabelCreatedBy])); 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 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 w26 = ((global::Gtk.Table.TableChild)(this.table3[this.ylabelId])); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table3); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table3])); w27.Position = 1; this.dialog1_VBox.Add(this.hbox1); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox1])); w28.Position = 1; w28.Expand = false; w28.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.expensedocitememployeeview1 = new global::workwear.Views.Stock.CollectiveExpenseItemsView(); this.expensedocitememployeeview1.Events = ((global::Gdk.EventMask)(256)); this.expensedocitememployeeview1.Name = "expensedocitememployeeview1"; this.dialog1_VBox.Add(this.expensedocitememployeeview1); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.expensedocitememployeeview1])); w29.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 workwear.ReportParameters.Views.AverageAnnualNeedView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.ReportParameters.Views.AverageAnnualNeedView"; // Container child workwear.ReportParameters.Views.AverageAnnualNeedView.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.table1 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checkShowSex = new global::Gamma.GtkWidgets.yCheckButton(); this.checkShowSex.CanFocus = true; this.checkShowSex.Name = "checkShowSex"; this.checkShowSex.Label = global::Mono.Unix.Catalog.GetString("Да"); this.checkShowSex.DrawIndicator = true; this.checkShowSex.UseUnderline = true; this.table1.Add(this.checkShowSex); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.checkShowSex])); w1.TopAttach = ((uint)(2)); w1.BottomAttach = ((uint)(3)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboIssueType = new global::Gamma.Widgets.yEnumComboBox(); this.comboIssueType.Name = "comboIssueType"; this.comboIssueType.ShowSpecialStateAll = true; this.comboIssueType.ShowSpecialStateNot = false; this.comboIssueType.UseShortTitle = false; this.comboIssueType.DefaultFirst = false; this.table1.Add(this.comboIssueType); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.comboIssueType])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w3 = ((global::Gtk.Table.TableChild)(this.table1[this.entitySubdivision])); 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.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.Xalign = 1F; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Тип выдачи:"); this.table1.Add(this.ylabel1); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.Xalign = 1F; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Учитывать пол:"); this.table1.Add(this.ylabel2); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel2])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); this.dialog1_VBox.Add(this.table1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.table1])); w7.Position = 0; // Container child dialog1_VBox.Gtk.Box+BoxChild this.buttonRun = new global::Gamma.GtkWidgets.yButton(); this.buttonRun.Sensitive = false; this.buttonRun.CanFocus = true; this.buttonRun.Name = "buttonRun"; this.buttonRun.UseUnderline = true; this.buttonRun.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.dialog1_VBox.Add(this.buttonRun); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.buttonRun])); w8.PackType = ((global::Gtk.PackType)(1)); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.Add(this.dialog1_VBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.buttonRun.Clicked += new global::System.EventHandler(this.OnButtonRunClicked); }
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 workwear.Journal.Filter.Views.Stock.NomenclatureFilterView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Journal.Filter.Views.Stock.NomenclatureFilterView"; // Container child workwear.Journal.Filter.Views.Stock.NomenclatureFilterView.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entityItemsType = new global::QS.Views.Control.EntityEntry(); this.entityItemsType.Events = ((global::Gdk.EventMask)(256)); this.entityItemsType.Name = "entityItemsType"; this.table1.Add(this.entityItemsType); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.entityItemsType])); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yhbox1 = new global::Gamma.GtkWidgets.yHBox(); this.yhbox1.Name = "yhbox1"; this.yhbox1.Spacing = 6; this.table1.Add(this.yhbox1); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.yhbox1])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Тип номенклатуры:"); this.table1.Add(this.ylabel1); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1])); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yShowArchival = new global::Gamma.GtkWidgets.yCheckButton(); this.yShowArchival.CanFocus = true; this.yShowArchival.Name = "yShowArchival"; this.yShowArchival.Label = global::Mono.Unix.Catalog.GetString("Показать архивные"); this.yShowArchival.DrawIndicator = true; this.yShowArchival.UseUnderline = true; this.table1.Add(this.yShowArchival); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.yShowArchival])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(2)); w4.RightAttach = ((uint)(3)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
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 workwear.Journal.Filter.Views.Stock.StockDocumentsFilterView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Journal.Filter.Views.Stock.StockDocumentsFilterView"; // Container child workwear.Journal.Filter.Views.Stock.StockDocumentsFilterView.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.dateperiodDocs = new global::QS.Widgets.GtkUI.DateRangePicker(); this.dateperiodDocs.Events = ((global::Gdk.EventMask)(256)); this.dateperiodDocs.Name = "dateperiodDocs"; this.dateperiodDocs.StartDate = new global::System.DateTime(0); this.dateperiodDocs.EndDate = new global::System.DateTime(0); this.table1.Add(this.dateperiodDocs); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodDocs])); w1.LeftAttach = ((uint)(3)); w1.RightAttach = ((uint)(4)); w1.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 w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entityWarehouse])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumcomboDocumentType = new global::Gamma.Widgets.yEnumComboBox(); this.enumcomboDocumentType.Name = "enumcomboDocumentType"; this.enumcomboDocumentType.ShowSpecialStateAll = true; this.enumcomboDocumentType.ShowSpecialStateNot = false; this.enumcomboDocumentType.UseShortTitle = false; this.enumcomboDocumentType.DefaultFirst = false; this.table1.Add(this.enumcomboDocumentType); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.enumcomboDocumentType])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Вид документа:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w5.LeftAttach = ((uint)(2)); w5.RightAttach = ((uint)(3)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelWarehouse = new global::Gamma.GtkWidgets.yLabel(); this.labelWarehouse.Name = "labelWarehouse"; this.labelWarehouse.Xalign = 1F; this.labelWarehouse.LabelProp = global::Mono.Unix.Catalog.GetString("Склад:"); this.table1.Add(this.labelWarehouse); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.labelWarehouse])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Journal.Filter.Views.Stock.StockMovementsFilterView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Journal.Filter.Views.Stock.StockMovementsFilterView"; // Container child workwear.Journal.Filter.Views.Stock.StockMovementsFilterView.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.dateperiodDocs = new global::QS.Widgets.GtkUI.DateRangePicker(); this.dateperiodDocs.Events = ((global::Gdk.EventMask)(256)); this.dateperiodDocs.Name = "dateperiodDocs"; this.dateperiodDocs.StartDate = new global::System.DateTime(0); this.dateperiodDocs.EndDate = new global::System.DateTime(0); this.table1.Add(this.dateperiodDocs); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodDocs])); w1.LeftAttach = ((uint)(3)); w1.RightAttach = ((uint)(4)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entityWarehouse])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryNomenclature = new global::QS.Views.Control.EntityEntry(); this.entryNomenclature.Events = ((global::Gdk.EventMask)(256)); this.entryNomenclature.Name = "entryNomenclature"; this.table1.Add(this.entryNomenclature); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.entryNomenclature])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Размер:"); this.hbox3.Add(this.ylabel2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.ylabel2])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.comboSize = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.comboSize.Name = "comboSize"; this.comboSize.AddIfNotExist = false; this.comboSize.DefaultFirst = false; this.comboSize.ShowSpecialStateAll = false; this.comboSize.ShowSpecialStateNot = true; this.hbox3.Add(this.comboSize); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.comboSize])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.ylabel3 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel3.Name = "ylabel3"; this.ylabel3.LabelProp = global::Mono.Unix.Catalog.GetString("Рост:"); this.hbox3.Add(this.ylabel3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.ylabel3])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.comboGrowth = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.comboGrowth.Name = "comboGrowth"; this.comboGrowth.AddIfNotExist = false; this.comboGrowth.DefaultFirst = false; this.comboGrowth.ShowSpecialStateAll = false; this.comboGrowth.ShowSpecialStateNot = true; this.hbox3.Add(this.comboGrowth); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.comboGrowth])); w7.Position = 3; w7.Expand = false; w7.Fill = false; this.table1.Add(this.hbox3); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox3])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(2)); w8.RightAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(0)); w8.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 w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("За период:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w10.LeftAttach = ((uint)(2)); w10.RightAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelWarehouse = new global::Gamma.GtkWidgets.yLabel(); this.labelWarehouse.Name = "labelWarehouse"; this.labelWarehouse.Xalign = 1F; this.labelWarehouse.LabelProp = global::Mono.Unix.Catalog.GetString("Склад:"); this.table1.Add(this.labelWarehouse); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.labelWarehouse])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycheckCollapse = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckCollapse.CanFocus = true; this.ycheckCollapse.Name = "ycheckCollapse"; this.ycheckCollapse.Label = global::Mono.Unix.Catalog.GetString("объединять строки документа"); this.ycheckCollapse.DrawIndicator = true; this.ycheckCollapse.UseUnderline = true; this.table1.Add(this.ycheckCollapse); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.ycheckCollapse])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.LeftAttach = ((uint)(3)); w12.RightAttach = ((uint)(4)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yenumShowDirectionOperation = new global::Gamma.Widgets.yEnumComboBox(); this.yenumShowDirectionOperation.Name = "yenumShowDirectionOperation"; this.yenumShowDirectionOperation.ShowSpecialStateAll = false; this.yenumShowDirectionOperation.ShowSpecialStateNot = false; this.yenumShowDirectionOperation.UseShortTitle = false; this.yenumShowDirectionOperation.DefaultFirst = false; this.table1.Add(this.yenumShowDirectionOperation); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumShowDirectionOperation])); 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.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 w14 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Stock.NomenclatureView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Stock.NomenclatureView"; // Container child workwear.Views.Stock.NomenclatureView.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; // Container child hbox4.Gtk.Box+BoxChild this.menuInternal = new global::QS.Widgets.MenuButton(); this.menuInternal.CanFocus = true; this.menuInternal.Name = "menuInternal"; this.menuInternal.UseUnderline = true; this.menuInternal.UseMarkup = false; this.menuInternal.LabelXAlign = 0F; global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("workwear.icon.buttons.menu.png"); this.menuInternal.Image = w5; this.hbox4.Add(this.menuInternal); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.menuInternal])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.dialog1_VBox.Add(this.hbox4); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox4])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(7)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextComment.CanFocus = true; this.ytextComment.Name = "ytextComment"; this.ytextComment.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add(this.ytextComment); this.table2.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2[this.GtkScrolledWindow])); w9.TopAttach = ((uint)(6)); w9.BottomAttach = ((uint)(7)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; this.table2.Add(this.hbox2); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2[this.hbox2])); w10.TopAttach = ((uint)(4)); w10.BottomAttach = ((uint)(5)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.Yalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.table2.Add(this.label1); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2[this.label1])); w11.TopAttach = ((uint)(6)); w11.BottomAttach = ((uint)(7)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.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 w12 = ((global::Gtk.Table.TableChild)(this.table2[this.label7])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Наименование<span foreground=\"red\">*</span>:"); this.label8.UseMarkup = true; this.table2.Add(this.label8); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2[this.label8])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Тип номенклатуры<span foreground=\"red\">*</span>:"); this.label9.UseMarkup = true; this.table2.Add(this.label9); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2[this.label9])); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ycheckArchival = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckArchival.CanFocus = true; this.ycheckArchival.Name = "ycheckArchival"; this.ycheckArchival.Label = global::Mono.Unix.Catalog.GetString("Архивная"); this.ycheckArchival.DrawIndicator = true; this.ycheckArchival.UseUnderline = true; this.table2.Add(this.ycheckArchival); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2[this.ycheckArchival])); w15.TopAttach = ((uint)(5)); w15.BottomAttach = ((uint)(6)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ycomboClothesSex = new global::Gamma.Widgets.yEnumComboBox(); this.ycomboClothesSex.Name = "ycomboClothesSex"; this.ycomboClothesSex.ShowSpecialStateAll = false; this.ycomboClothesSex.ShowSpecialStateNot = false; this.ycomboClothesSex.UseShortTitle = false; this.ycomboClothesSex.DefaultFirst = false; this.table2.Add(this.ycomboClothesSex); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2[this.ycomboClothesSex])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryItemsType = new global::QS.Views.Control.EntityEntry(); this.yentryItemsType.Events = ((global::Gdk.EventMask)(256)); this.yentryItemsType.Name = "yentryItemsType"; this.table2.Add(this.yentryItemsType); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2[this.yentryItemsType])); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryName = new global::Gamma.GtkWidgets.yEntry(); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.MaxLength = 240; this.yentryName.InvisibleChar = '●'; this.table2.Add(this.yentryName); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2[this.yentryName])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryNumber = new global::Gamma.GtkWidgets.yEntry(); this.yentryNumber.CanFocus = true; this.yentryNumber.Name = "yentryNumber"; this.yentryNumber.IsEditable = true; this.yentryNumber.MaxLength = 240; this.yentryNumber.InvisibleChar = '●'; this.table2.Add(this.yentryNumber); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2[this.yentryNumber])); 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 table2.Gtk.Table+TableChild this.ylabelClothesSex = new global::Gamma.GtkWidgets.yLabel(); this.ylabelClothesSex.Name = "ylabelClothesSex"; this.ylabelClothesSex.Xalign = 1F; this.ylabelClothesSex.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.table2.Add(this.ylabelClothesSex); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table2[this.ylabelClothesSex])); w20.TopAttach = ((uint)(3)); w20.BottomAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); this.dialog1_VBox.Add(this.table2); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.table2])); w21.Position = 1; this.Add(this.dialog1_VBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.ycomboClothesSex.Hide(); this.ylabelClothesSex.Hide(); this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Filters.Views.PaymentsJournalFilterView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Filters.Views.PaymentsJournalFilterView"; // Container child Vodovoz.Filters.Views.PaymentsJournalFilterView.Gtk.Container+ContainerChild this.vboxMain = new global::Gtk.VBox(); this.vboxMain.Name = "vboxMain"; this.vboxMain.Spacing = 6; // Container child vboxMain.Gtk.Box+BoxChild this.hboxMain = new global::Gtk.HBox(); this.hboxMain.Name = "hboxMain"; this.hboxMain.Spacing = 6; // Container child hboxMain.Gtk.Box+BoxChild this.label28 = new global::Gtk.Label(); this.label28.Name = "label28"; this.label28.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.hboxMain.Add(this.label28); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hboxMain[this.label28])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hboxMain.Gtk.Box+BoxChild this.dateRangeFilter = new global::QS.Widgets.GtkUI.DateRangePicker(); this.dateRangeFilter.Events = ((global::Gdk.EventMask)(256)); this.dateRangeFilter.Name = "dateRangeFilter"; this.dateRangeFilter.StartDate = new global::System.DateTime(0); this.dateRangeFilter.EndDate = new global::System.DateTime(0); this.hboxMain.Add(this.dateRangeFilter); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxMain[this.dateRangeFilter])); w2.Position = 1; w2.Expand = false; // Container child hboxMain.Gtk.Box+BoxChild this.yenumcomboPaymentState = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboPaymentState.Name = "yenumcomboPaymentState"; this.yenumcomboPaymentState.ShowSpecialStateAll = true; this.yenumcomboPaymentState.ShowSpecialStateNot = false; this.yenumcomboPaymentState.UseShortTitle = false; this.yenumcomboPaymentState.DefaultFirst = false; this.hboxMain.Add(this.yenumcomboPaymentState); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxMain[this.yenumcomboPaymentState])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child hboxMain.Gtk.Box+BoxChild this.ycheckbtnHideCompleted = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckbtnHideCompleted.CanFocus = true; this.ycheckbtnHideCompleted.Name = "ycheckbtnHideCompleted"; this.ycheckbtnHideCompleted.Label = global::Mono.Unix.Catalog.GetString("Скрыть завершенные"); this.ycheckbtnHideCompleted.DrawIndicator = true; this.ycheckbtnHideCompleted.UseUnderline = true; this.hboxMain.Add(this.ycheckbtnHideCompleted); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxMain[this.ycheckbtnHideCompleted])); w4.Position = 3; w4.Expand = false; w4.Fill = false; // Container child hboxMain.Gtk.Box+BoxChild this.chkIsManualCreate = new global::Gamma.GtkWidgets.yCheckButton(); this.chkIsManualCreate.CanFocus = true; this.chkIsManualCreate.Name = "chkIsManualCreate"; this.chkIsManualCreate.Label = global::Mono.Unix.Catalog.GetString("Созданы вручную"); this.chkIsManualCreate.DrawIndicator = true; this.chkIsManualCreate.UseUnderline = true; this.hboxMain.Add(this.chkIsManualCreate); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxMain[this.chkIsManualCreate])); w5.Position = 4; w5.Expand = false; w5.Fill = false; // Container child hboxMain.Gtk.Box+BoxChild this.chkHideAllocatedPayments = new global::Gamma.GtkWidgets.yCheckButton(); this.chkHideAllocatedPayments.CanFocus = true; this.chkHideAllocatedPayments.Name = "chkHideAllocatedPayments"; this.chkHideAllocatedPayments.Label = global::Mono.Unix.Catalog.GetString("Скрыть полностью\nраспределенные платежи"); this.chkHideAllocatedPayments.DrawIndicator = true; this.chkHideAllocatedPayments.UseUnderline = true; this.hboxMain.Add(this.chkHideAllocatedPayments); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hboxMain[this.chkHideAllocatedPayments])); w6.Position = 5; w6.Expand = false; w6.Fill = false; this.vboxMain.Add(this.hboxMain); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.hboxMain])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vboxMain.Gtk.Box+BoxChild this.hboxCounterparty = new global::Gamma.GtkWidgets.yHBox(); this.hboxCounterparty.Name = "hboxCounterparty"; this.hboxCounterparty.Spacing = 6; // Container child hboxCounterparty.Gtk.Box+BoxChild this.lblCounterparty = new global::Gamma.GtkWidgets.yLabel(); this.lblCounterparty.Name = "lblCounterparty"; this.lblCounterparty.LabelProp = global::Mono.Unix.Catalog.GetString("Контрагент:"); this.hboxCounterparty.Add(this.lblCounterparty); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hboxCounterparty[this.lblCounterparty])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hboxCounterparty.Gtk.Box+BoxChild this.counterpartyEntry = new global::QS.Views.Control.EntityEntry(); this.counterpartyEntry.Events = ((global::Gdk.EventMask)(256)); this.counterpartyEntry.Name = "counterpartyEntry"; this.hboxCounterparty.Add(this.counterpartyEntry); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxCounterparty[this.counterpartyEntry])); w9.Position = 1; w9.Expand = false; // Container child hboxCounterparty.Gtk.Box+BoxChild this.chkPaymentsWithoutCounterparty = new global::Gamma.GtkWidgets.yCheckButton(); this.chkPaymentsWithoutCounterparty.CanFocus = true; this.chkPaymentsWithoutCounterparty.Name = "chkPaymentsWithoutCounterparty"; this.chkPaymentsWithoutCounterparty.Label = global::Mono.Unix.Catalog.GetString("Скрыть платежи без контрагента"); this.chkPaymentsWithoutCounterparty.DrawIndicator = true; this.chkPaymentsWithoutCounterparty.UseUnderline = true; this.hboxCounterparty.Add(this.chkPaymentsWithoutCounterparty); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxCounterparty[this.chkPaymentsWithoutCounterparty])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.vboxMain.Add(this.hboxCounterparty); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.hboxCounterparty])); w11.Position = 1; w11.Expand = false; w11.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.Journal.Filter.Views.Stock.StockBalanceFilterView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Journal.Filter.Views.Stock.StockBalanceFilterView"; // Container child workwear.Journal.Filter.Views.Stock.StockBalanceFilterView.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.chShowNegative = new global::Gamma.GtkWidgets.yCheckButton(); this.chShowNegative.CanFocus = true; this.chShowNegative.Name = "chShowNegative"; this.chShowNegative.Label = global::Mono.Unix.Catalog.GetString("Показать отрицательный баланс"); this.chShowNegative.DrawIndicator = true; this.chShowNegative.UseUnderline = true; this.chShowNegative.Xalign = 1F; this.table1.Add(this.chShowNegative); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.chShowNegative])); w1.LeftAttach = ((uint)(2)); w1.RightAttach = ((uint)(3)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.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 w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entityWarehouse])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelWarehouse = new global::Gamma.GtkWidgets.yLabel(); this.labelWarehouse.Name = "labelWarehouse"; this.labelWarehouse.LabelProp = global::Mono.Unix.Catalog.GetString("Склад:"); this.table1.Add(this.labelWarehouse); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.labelWarehouse])); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yhbox1 = new global::Gamma.GtkWidgets.yHBox(); this.yhbox1.Name = "yhbox1"; this.yhbox1.Spacing = 6; // Container child yhbox1.Gtk.Box+BoxChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.Xalign = 1F; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.yhbox1.Add(this.ylabel1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.ylabel1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child yhbox1.Gtk.Box+BoxChild this.ydateDate = new global::Gamma.Widgets.yDatePicker(); this.ydateDate.Events = ((global::Gdk.EventMask)(256)); this.ydateDate.Name = "ydateDate"; this.ydateDate.WithTime = false; this.ydateDate.Date = new global::System.DateTime(0); this.ydateDate.IsEditable = true; this.ydateDate.AutoSeparation = true; this.yhbox1.Add(this.ydateDate); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.ydateDate])); w5.Position = 1; this.table1.Add(this.yhbox1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.yhbox1])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(2)); w6.RightAttach = ((uint)(3)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Statements.IssuanceSheetView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Statements.IssuanceSheetView"; // Container child workwear.Views.Statements.IssuanceSheetView.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; // Container child hbox4.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hbox4.Add(this.vseparator2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vseparator2])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child hbox4.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 w6 = new global::Gtk.Image(); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.enumPrint.Image = w6; this.hbox4.Add(this.enumPrint); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.enumPrint])); w7.Position = 3; w7.Expand = false; w7.Fill = false; this.vbox2.Add(this.hbox4); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox4])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox2.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.dateOfPreparation = new global::Gamma.Widgets.yDatePicker(); this.dateOfPreparation.Events = ((global::Gdk.EventMask)(256)); this.dateOfPreparation.Name = "dateOfPreparation"; this.dateOfPreparation.WithTime = false; this.dateOfPreparation.Date = new global::System.DateTime(0); this.dateOfPreparation.IsEditable = true; this.dateOfPreparation.AutoSeparation = true; this.table1.Add(this.dateOfPreparation); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.dateOfPreparation])); 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.entityentryHeadOfDivisionPerson = new global::QS.Views.Control.EntityEntry(); this.entityentryHeadOfDivisionPerson.Events = ((global::Gdk.EventMask)(256)); this.entityentryHeadOfDivisionPerson.Name = "entityentryHeadOfDivisionPerson"; this.table1.Add(this.entityentryHeadOfDivisionPerson); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.entityentryHeadOfDivisionPerson])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(3)); w10.RightAttach = ((uint)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entityentryOrganization = new global::QS.Views.Control.EntityEntry(); this.entityentryOrganization.Events = ((global::Gdk.EventMask)(256)); this.entityentryOrganization.Name = "entityentryOrganization"; this.table1.Add(this.entityentryOrganization); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.entityentryOrganization])); 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.entityentryResponsiblePerson = new global::QS.Views.Control.EntityEntry(); this.entityentryResponsiblePerson.Events = ((global::Gdk.EventMask)(256)); this.entityentryResponsiblePerson.Name = "entityentryResponsiblePerson"; this.table1.Add(this.entityentryResponsiblePerson); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.entityentryResponsiblePerson])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(3)); w12.RightAttach = ((uint)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entityentrySubdivision = new global::QS.Views.Control.EntityEntry(); this.entityentrySubdivision.Events = ((global::Gdk.EventMask)(256)); this.entityentrySubdivision.Name = "entityentrySubdivision"; this.table1.Add(this.entityentrySubdivision); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.entityentrySubdivision])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); 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.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.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.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.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.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.Xalign = 1F; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Организация:"); this.table1.Add(this.ylabel2); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel2])); w17.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.ylabel3 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel3.Name = "ylabel3"; this.ylabel3.Xalign = 1F; this.ylabel3.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение:"); this.table1.Add(this.ylabel3); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel3])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Спецодежда:</b>"); this.label4.UseMarkup = true; this.hbox7.Add(this.label4); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.label4])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.hboxExpense = new global::Gtk.HBox(); this.hboxExpense.Name = "hboxExpense"; this.hboxExpense.Spacing = 6; // Container child hboxExpense.Gtk.Box+BoxChild this.labelExpense = new global::Gtk.Label(); this.labelExpense.Name = "labelExpense"; this.labelExpense.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.hboxExpense.Add(this.labelExpense); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hboxExpense[this.labelExpense])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child hboxExpense.Gtk.Box+BoxChild this.buttonExpenseOpen = new global::Gtk.Button(); this.buttonExpenseOpen.CanFocus = true; this.buttonExpenseOpen.Name = "buttonExpenseOpen"; this.buttonExpenseOpen.UseUnderline = true; this.buttonExpenseOpen.Label = global::Mono.Unix.Catalog.GetString("Открыть выдачу"); global::Gtk.Image w22 = new global::Gtk.Image(); w22.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonExpenseOpen.Image = w22; this.hboxExpense.Add(this.buttonExpenseOpen); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hboxExpense[this.buttonExpenseOpen])); w23.Position = 1; w23.Expand = false; w23.Fill = false; this.hbox7.Add(this.hboxExpense); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.hboxExpense])); w24.Position = 1; w24.Expand = false; w24.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonCloseFillBy = new global::Gamma.GtkWidgets.yButton(); this.buttonCloseFillBy.CanFocus = true; this.buttonCloseFillBy.Name = "buttonCloseFillBy"; this.buttonCloseFillBy.UseStock = true; this.buttonCloseFillBy.UseUnderline = true; this.buttonCloseFillBy.Label = "gtk-close"; this.hbox7.Add(this.buttonCloseFillBy); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonCloseFillBy])); w25.PackType = ((global::Gtk.PackType)(1)); w25.Position = 2; w25.Expand = false; w25.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonFillBy = new global::Gtk.Button(); this.buttonFillBy.CanFocus = true; this.buttonFillBy.Name = "buttonFillBy"; this.buttonFillBy.UseUnderline = true; this.buttonFillBy.Label = global::Mono.Unix.Catalog.GetString("Заполнить..."); global::Gtk.Image w26 = new global::Gtk.Image(); w26.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-down", global::Gtk.IconSize.Menu); this.buttonFillBy.Image = w26; this.hbox7.Add(this.buttonFillBy); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonFillBy])); w27.PackType = ((global::Gtk.PackType)(1)); w27.Position = 3; w27.Expand = false; w27.Fill = false; this.vbox2.Add(this.hbox7); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox7])); w28.Position = 2; w28.Expand = false; w28.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hboxTable = new global::Gtk.HBox(); this.hboxTable.Name = "hboxTable"; this.hboxTable.Spacing = 6; // Container child hboxTable.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytreeviewItems = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewItems.CanFocus = true; this.ytreeviewItems.Name = "ytreeviewItems"; this.GtkScrolledWindow.Add(this.ytreeviewItems); this.hboxTable.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hboxTable[this.GtkScrolledWindow])); w30.Position = 0; this.vbox2.Add(this.hboxTable); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hboxTable])); w31.Position = 3; // Container child vbox2.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.buttonAdd = new global::Gamma.GtkWidgets.yButton(); this.buttonAdd.CanFocus = true; this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.UseUnderline = true; this.buttonAdd.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w32 = new global::Gtk.Image(); w32.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAdd.Image = w32; this.hbox8.Add(this.buttonAdd); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonAdd])); w33.Position = 0; w33.Expand = false; w33.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.buttonDel = new global::Gtk.Button(); this.buttonDel.Sensitive = false; this.buttonDel.CanFocus = true; this.buttonDel.Name = "buttonDel"; this.buttonDel.UseUnderline = true; this.buttonDel.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w34 = new global::Gtk.Image(); w34.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonDel.Image = w34; this.hbox8.Add(this.buttonDel); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonDel])); w35.Position = 1; w35.Expand = false; w35.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox8.Add(this.vseparator1); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.vseparator1])); w36.Position = 2; w36.Expand = false; w36.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.buttonSetEmployee = new global::Gtk.Button(); this.buttonSetEmployee.CanFocus = true; this.buttonSetEmployee.Name = "buttonSetEmployee"; this.buttonSetEmployee.UseUnderline = true; this.buttonSetEmployee.Label = global::Mono.Unix.Catalog.GetString("Изменить сотрудника"); this.hbox8.Add(this.buttonSetEmployee); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonSetEmployee])); w37.Position = 3; w37.Expand = false; w37.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.labelFooter = new global::Gamma.GtkWidgets.yLabel(); this.labelFooter.Name = "labelFooter"; this.labelFooter.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.labelFooter.UseMarkup = true; this.hbox8.Add(this.labelFooter); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.labelFooter])); w38.PackType = ((global::Gtk.PackType)(1)); w38.Position = 4; w38.Expand = false; w38.Fill = false; this.vbox2.Add(this.hbox8); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox8])); w39.Position = 4; w39.Expand = false; w39.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.enumPrint.EnumItemClicked += new global::System.EventHandler <QSOrmProject.EnumItemClickedEventArgs>(this.OnEnumPrintEnumItemClicked); this.buttonExpenseOpen.Clicked += new global::System.EventHandler(this.OnButtonExpenseOpenClicked); this.buttonFillBy.Clicked += new global::System.EventHandler(this.OnButtonFillByExpenseClicked); this.buttonCloseFillBy.Clicked += new global::System.EventHandler(this.OnButtonCloseFillByClicked); this.ytreeviewItems.RowActivated += new global::Gtk.RowActivatedHandler(this.OnYtreeviewItemsRowActivated); this.buttonAdd.Clicked += new global::System.EventHandler(this.OnButtonAddClicked); this.buttonDel.Clicked += new global::System.EventHandler(this.OnButtonDelClicked); this.buttonSetEmployee.Clicked += new global::System.EventHandler(this.OnButtonSetEmployeeClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Regulations.ProtectionToolsView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Regulations.ProtectionToolsView"; // Container child workwear.Views.Regulations.ProtectionToolsView.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.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.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.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.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add(this.ytextComment); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w7.TopAttach = ((uint)(4)); w7.BottomAttach = ((uint)(5)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label = new global::Gtk.Label(); this.label.Name = "label"; this.label.Xalign = 1F; this.label.LabelProp = global::Mono.Unix.Catalog.GetString("Код:"); this.table1.Add(this.label); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Оценочная стоимость:"); this.label10.UseMarkup = true; this.table1.Add(this.label10); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label10])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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.table1.Add(this.label2); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.Yalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Тип номенклатуры<span foreground=\"red\">*</span>:"); this.label9.UseMarkup = true; this.table1.Add(this.label9); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label9])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryItemsType = new global::QS.Views.Control.EntityEntry(); this.yentryItemsType.Events = ((global::Gdk.EventMask)(256)); this.yentryItemsType.Name = "yentryItemsType"; this.table1.Add(this.yentryItemsType); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryItemsType])); 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 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 = 240; this.yentryName.InvisibleChar = '●'; this.table1.Add(this.yentryName); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryName])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.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 w15 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelId])); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yspinAssessedCost = new global::Gamma.GtkWidgets.ySpinButton(0D, 99999999D, 10D); this.yspinAssessedCost.CanFocus = true; this.yspinAssessedCost.Name = "yspinAssessedCost"; this.yspinAssessedCost.Adjustment.PageIncrement = 100D; this.yspinAssessedCost.ClimbRate = 1D; this.yspinAssessedCost.Digits = ((uint)(2)); this.yspinAssessedCost.Numeric = true; this.yspinAssessedCost.ValueAsDecimal = 0m; this.yspinAssessedCost.ValueAsInt = 0; this.table1.Add(this.yspinAssessedCost); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.yspinAssessedCost])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox5.Add(this.table1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.table1])); w17.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // 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.ytreeNormAnalog = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeNormAnalog.CanFocus = true; this.ytreeNormAnalog.Name = "ytreeNormAnalog"; this.GtkScrolledWindow1.Add(this.ytreeNormAnalog); this.vbox1.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow1])); w19.Position = 0; // 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.buttonAddNormAnalog = new global::Gtk.Button(); this.buttonAddNormAnalog.CanFocus = true; this.buttonAddNormAnalog.Name = "buttonAddNormAnalog"; this.buttonAddNormAnalog.UseUnderline = true; this.buttonAddNormAnalog.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w20 = new global::Gtk.Image(); w20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddNormAnalog.Image = w20; this.hbox6.Add(this.buttonAddNormAnalog); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonAddNormAnalog])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonRemoveNormAnalog = new global::Gtk.Button(); this.buttonRemoveNormAnalog.Sensitive = false; this.buttonRemoveNormAnalog.CanFocus = true; this.buttonRemoveNormAnalog.Name = "buttonRemoveNormAnalog"; this.buttonRemoveNormAnalog.UseUnderline = true; this.buttonRemoveNormAnalog.Label = global::Mono.Unix.Catalog.GetString("Убрать"); global::Gtk.Image w22 = new global::Gtk.Image(); w22.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveNormAnalog.Image = w22; this.hbox6.Add(this.buttonRemoveNormAnalog); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonRemoveNormAnalog])); w23.Position = 1; w23.Expand = false; w23.Fill = false; this.vbox1.Add(this.hbox6); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox6])); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.hbox5.Add(this.vbox1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox1])); w25.Position = 1; this.dialog1_VBox.Add(this.hbox5); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox5])); w26.Position = 1; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.buttonAddNomenclature = new global::Gtk.Button(); this.buttonAddNomenclature.CanFocus = true; this.buttonAddNomenclature.Name = "buttonAddNomenclature"; this.buttonAddNomenclature.UseUnderline = true; this.buttonAddNomenclature.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.buttonAddNomenclature.Image = w27; this.hbox7.Add(this.buttonAddNomenclature); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonAddNomenclature])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonRemoveNomeclature = new global::Gtk.Button(); this.buttonRemoveNomeclature.Sensitive = false; this.buttonRemoveNomeclature.CanFocus = true; this.buttonRemoveNomeclature.Name = "buttonRemoveNomeclature"; this.buttonRemoveNomeclature.UseUnderline = true; this.buttonRemoveNomeclature.Label = global::Mono.Unix.Catalog.GetString("Убрать"); global::Gtk.Image w29 = new global::Gtk.Image(); w29.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveNomeclature.Image = w29; this.hbox7.Add(this.buttonRemoveNomeclature); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonRemoveNomeclature])); w30.Position = 1; w30.Expand = false; w30.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonCreateNomenclature = new global::Gamma.GtkWidgets.yButton(); this.buttonCreateNomenclature.TooltipMarkup = "Создать складскую номенклатуру с тем же названием."; this.buttonCreateNomenclature.CanFocus = true; this.buttonCreateNomenclature.Name = "buttonCreateNomenclature"; this.buttonCreateNomenclature.UseUnderline = true; this.buttonCreateNomenclature.Label = global::Mono.Unix.Catalog.GetString("Создать идентичную номенклатуру"); this.hbox7.Add(this.buttonCreateNomenclature); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonCreateNomenclature])); w31.PackType = ((global::Gtk.PackType)(1)); w31.Position = 2; w31.Expand = false; w31.Fill = false; this.dialog1_VBox.Add(this.hbox7); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox7])); w32.PackType = ((global::Gtk.PackType)(1)); w32.Position = 2; w32.Expand = false; w32.Fill = false; // 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.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.ytreeItems = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeItems.CanFocus = true; this.ytreeItems.Name = "ytreeItems"; this.GtkScrolledWindow2.Add(this.ytreeItems); this.hbox2.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.GtkScrolledWindow2])); w34.Position = 0; this.dialog1_VBox.Add(this.hbox2); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox2])); w35.PackType = ((global::Gtk.PackType)(1)); w35.Position = 3; // 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 w36 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.label5])); w36.PackType = ((global::Gtk.PackType)(1)); w36.Position = 4; w36.Expand = false; w36.Fill = false; this.Add(this.dialog1_VBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonAddNormAnalog.Clicked += new global::System.EventHandler(this.OnButtonAddNormAnalogClicked); this.buttonRemoveNormAnalog.Clicked += new global::System.EventHandler(this.OnButtonRemoveNormAnalogClicked); this.buttonAddNomenclature.Clicked += new global::System.EventHandler(this.OnButtonAddNomenclatureClicked); this.buttonRemoveNomeclature.Clicked += new global::System.EventHandler(this.OnButtonRemoveNomeclatureClicked); this.buttonCreateNomenclature.Clicked += new global::System.EventHandler(this.OnButtonCreateNomenclatureClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Filters.Views.UnallocatedBalancesJournalFilterView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Filters.Views.UnallocatedBalancesJournalFilterView"; // Container child Vodovoz.Filters.Views.UnallocatedBalancesJournalFilterView.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.tableMain = new global::Gamma.GtkWidgets.yTable(); this.tableMain.Name = "tableMain"; this.tableMain.NRows = ((uint)(2)); this.tableMain.NColumns = ((uint)(3)); this.tableMain.RowSpacing = ((uint)(6)); this.tableMain.ColumnSpacing = ((uint)(6)); // Container child tableMain.Gtk.Table+TableChild this.btnHelp = new global::Gamma.GtkWidgets.yButton(); this.btnHelp.TooltipMarkup = "Справка по работе отчета"; this.btnHelp.CanFocus = true; this.btnHelp.Name = "btnHelp"; this.btnHelp.UseUnderline = true; this.btnHelp.Relief = ((global::Gtk.ReliefStyle)(1)); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-help", global::Gtk.IconSize.Menu); this.btnHelp.Image = w1; this.tableMain.Add(this.btnHelp); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.tableMain[this.btnHelp])); w2.LeftAttach = ((uint)(2)); w2.RightAttach = ((uint)(3)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.counterpartyEntry = new global::QS.Views.Control.EntityEntry(); this.counterpartyEntry.Events = ((global::Gdk.EventMask)(256)); this.counterpartyEntry.Name = "counterpartyEntry"; this.tableMain.Add(this.counterpartyEntry); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.tableMain[this.counterpartyEntry])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(0)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.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.tableMain.Add(this.lblCounterparty); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.tableMain[this.lblCounterparty])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.lblOrganization = new global::Gamma.GtkWidgets.yLabel(); this.lblOrganization.Name = "lblOrganization"; this.lblOrganization.Xalign = 1F; this.lblOrganization.LabelProp = global::Mono.Unix.Catalog.GetString("Организация:"); this.tableMain.Add(this.lblOrganization); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.tableMain[this.lblOrganization])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.organizationEntry = new global::QS.Views.Control.EntityEntry(); this.organizationEntry.Events = ((global::Gdk.EventMask)(256)); this.organizationEntry.Name = "organizationEntry"; this.tableMain.Add(this.organizationEntry); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableMain[this.organizationEntry])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(0)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxMain.Add(this.tableMain); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.tableMain])); w7.Position = 0; w7.Expand = false; w7.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.Journal.Filter.Views.Communications.EmployeeNotificationFilterView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Journal.Filter.Views.Communications.EmployeeNotificationFilterView"; // Container child workwear.Journal.Filter.Views.Communications.EmployeeNotificationFilterView.Gtk.Container+ContainerChild this.ytable1 = new global::Gamma.GtkWidgets.yTable(); this.ytable1.Name = "ytable1"; this.ytable1.NRows = ((uint)(5)); this.ytable1.NColumns = ((uint)(4)); this.ytable1.RowSpacing = ((uint)(6)); this.ytable1.ColumnSpacing = ((uint)(6)); // Container child ytable1.Gtk.Table+TableChild this.checkLkEnabled = new global::Gamma.GtkWidgets.yCheckButton(); this.checkLkEnabled.CanFocus = true; this.checkLkEnabled.Name = "checkLkEnabled"; this.checkLkEnabled.Label = global::Mono.Unix.Catalog.GetString("Только с мобильным кабинетом"); this.checkLkEnabled.Active = true; this.checkLkEnabled.DrawIndicator = true; this.checkLkEnabled.UseUnderline = true; this.ytable1.Add(this.checkLkEnabled); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.ytable1[this.checkLkEnabled])); w1.TopAttach = ((uint)(2)); w1.BottomAttach = ((uint)(3)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.checkShowOnlyWork = new global::Gamma.GtkWidgets.yCheckButton(); this.checkShowOnlyWork.CanFocus = true; this.checkShowOnlyWork.Name = "checkShowOnlyWork"; this.checkShowOnlyWork.Label = global::Mono.Unix.Catalog.GetString("Только работающие"); this.checkShowOnlyWork.Active = true; this.checkShowOnlyWork.DrawIndicator = true; this.checkShowOnlyWork.UseUnderline = true; this.ytable1.Add(this.checkShowOnlyWork); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.ytable1[this.checkShowOnlyWork])); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.datePeriodBirth = new global::Gamma.Widgets.yDatePeriodPicker(); this.datePeriodBirth.Events = ((global::Gdk.EventMask)(256)); this.datePeriodBirth.Name = "datePeriodBirth"; this.datePeriodBirth.StartDate = new global::System.DateTime(0); this.datePeriodBirth.EndDate = new global::System.DateTime(0); this.ytable1.Add(this.datePeriodBirth); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.ytable1[this.datePeriodBirth])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.LeftAttach = ((uint)(3)); w3.RightAttach = ((uint)(4)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.datePeriodIssue = new global::Gamma.Widgets.yDatePeriodPicker(); this.datePeriodIssue.Events = ((global::Gdk.EventMask)(256)); this.datePeriodIssue.Name = "datePeriodIssue"; this.datePeriodIssue.StartDate = new global::System.DateTime(0); this.datePeriodIssue.EndDate = new global::System.DateTime(0); this.ytable1.Add(this.datePeriodIssue); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.ytable1[this.datePeriodIssue])); w4.TopAttach = ((uint)(2)); w4.BottomAttach = ((uint)(3)); w4.LeftAttach = ((uint)(2)); w4.RightAttach = ((uint)(3)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.entitySubdivision = new global::QS.Views.Control.EntityEntry(); this.entitySubdivision.Events = ((global::Gdk.EventMask)(256)); this.entitySubdivision.Name = "entitySubdivision"; this.ytable1.Add(this.entitySubdivision); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.ytable1[this.entitySubdivision])); w5.LeftAttach = ((uint)(2)); w5.RightAttach = ((uint)(3)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.ycheckBirthday = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckBirthday.CanFocus = true; this.ycheckBirthday.Name = "ycheckBirthday"; this.ycheckBirthday.Label = global::Mono.Unix.Catalog.GetString("День рождения"); this.ycheckBirthday.DrawIndicator = true; this.ycheckBirthday.UseUnderline = true; this.ytable1.Add(this.ycheckBirthday); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.ytable1[this.ycheckBirthday])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(3)); w6.RightAttach = ((uint)(4)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.ycheckOffPeriod = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckOffPeriod.CanFocus = true; this.ycheckOffPeriod.Name = "ycheckOffPeriod"; this.ycheckOffPeriod.Label = global::Mono.Unix.Catalog.GetString("Следующее получение в период"); this.ycheckOffPeriod.DrawIndicator = true; this.ycheckOffPeriod.UseUnderline = true; this.ytable1.Add(this.ycheckOffPeriod); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.ytable1[this.ycheckOffPeriod])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(2)); w7.RightAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.ycheckShowOverdue = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckShowOverdue.CanFocus = true; this.ycheckShowOverdue.Name = "ycheckShowOverdue"; this.ycheckShowOverdue.Label = global::Mono.Unix.Catalog.GetString("Просроченный"); this.ycheckShowOverdue.DrawIndicator = true; this.ycheckShowOverdue.UseUnderline = true; this.ytable1.Add(this.ycheckShowOverdue); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.ytable1[this.ycheckShowOverdue])); w8.TopAttach = ((uint)(3)); w8.BottomAttach = ((uint)(4)); w8.LeftAttach = ((uint)(2)); w8.RightAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.yIssueType = new global::Gamma.Widgets.yEnumComboBox(); this.yIssueType.Name = "yIssueType"; this.yIssueType.ShowSpecialStateAll = false; this.yIssueType.ShowSpecialStateNot = false; this.yIssueType.UseShortTitle = false; this.yIssueType.DefaultFirst = false; this.ytable1.Add(this.yIssueType); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.ytable1[this.yIssueType])); 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 ytable1.Gtk.Table+TableChild this.ylabel3 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel3.Name = "ylabel3"; this.ylabel3.Xalign = 1F; this.ylabel3.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение:"); this.ytable1.Add(this.ylabel3); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.ytable1[this.ylabel3])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.ylabel4 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel4.Name = "ylabel4"; this.ylabel4.Xalign = 1F; this.ylabel4.LabelProp = global::Mono.Unix.Catalog.GetString("Период получения:"); this.ytable1.Add(this.ylabel4); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.ytable1[this.ylabel4])); 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 ytable1.Gtk.Table+TableChild this.ylabel5 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel5.Name = "ylabel5"; this.ylabel5.Xalign = 1F; this.ylabel5.LabelProp = global::Mono.Unix.Catalog.GetString("Тип выдачи:"); this.ytable1.Add(this.ylabel5); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.ytable1[this.ylabel5])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.ytable1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Journal.Filter.Views.Company.EmployeeFilterView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Journal.Filter.Views.Company.EmployeeFilterView"; // Container child workwear.Journal.Filter.Views.Company.EmployeeFilterView.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checkShowOnlyWork = new global::Gamma.GtkWidgets.yCheckButton(); this.checkShowOnlyWork.CanFocus = true; this.checkShowOnlyWork.Name = "checkShowOnlyWork"; this.checkShowOnlyWork.Label = global::Mono.Unix.Catalog.GetString("Только работающие"); this.checkShowOnlyWork.Active = true; this.checkShowOnlyWork.DrawIndicator = true; this.checkShowOnlyWork.UseUnderline = true; this.table1.Add(this.checkShowOnlyWork); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.checkShowOnlyWork])); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entityDepartment = new global::QS.Views.Control.EntityEntry(); this.entityDepartment.Events = ((global::Gdk.EventMask)(256)); this.entityDepartment.Name = "entityDepartment"; this.table1.Add(this.entityDepartment); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entityDepartment])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(2)); w2.RightAttach = ((uint)(3)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // 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 w3 = ((global::Gtk.Table.TableChild)(this.table1[this.entitySubdivision])); w3.LeftAttach = ((uint)(2)); w3.RightAttach = ((uint)(3)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Отдел:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Stock.IssueByIdentifierView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Stock.IssueByIdentifierView"; // Container child workwear.Views.Stock.IssueByIdentifierView.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.eventboxStatus = new global::Gamma.GtkWidgets.yEventBox(); this.eventboxStatus.Name = "eventboxStatus"; // Container child eventboxStatus.Gtk.Container+ContainerChild this.ylabelStatus = new global::Gamma.GtkWidgets.yLabel(); this.ylabelStatus.Name = "ylabelStatus"; this.ylabelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.eventboxStatus.Add(this.ylabelStatus); this.hbox2.Add(this.eventboxStatus); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.eventboxStatus])); w2.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.checkSettings = new global::Gamma.GtkWidgets.yCheckButton(); this.checkSettings.CanFocus = true; this.checkSettings.Name = "checkSettings"; this.checkSettings.Label = global::Mono.Unix.Catalog.GetString("Настройка"); this.checkSettings.DrawIndicator = false; this.checkSettings.UseUnderline = true; this.hbox2.Add(this.checkSettings); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.checkSettings])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.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.labelFIO = new global::Gamma.GtkWidgets.yLabel(); this.labelFIO.Name = "labelFIO"; this.labelFIO.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.labelFIO.UseMarkup = true; this.yhbox1.Add(this.labelFIO); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.labelFIO])); w5.Position = 0; // Container child yhbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.TooltipMarkup = "Отменить выдачу сотруднику"; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Relief = ((global::Gtk.ReliefStyle)(2)); global::Gtk.Image w6 = new global::Gtk.Image(); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-cancel", global::Gtk.IconSize.LargeToolbar); this.buttonCancel.Image = w6; this.yhbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.buttonCancel])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.vbox2.Add(this.yhbox1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.yhbox1])); w8.Position = 0; w8.Expand = false; w8.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.treeItems = new global::Gamma.GtkWidgets.yTreeView(); this.treeItems.CanFocus = true; this.treeItems.Name = "treeItems"; this.GtkScrolledWindow.Add(this.treeItems); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow])); w10.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.eventboxSuccessfully = new global::Gamma.GtkWidgets.yEventBox(); this.eventboxSuccessfully.Name = "eventboxSuccessfully"; // Container child eventboxSuccessfully.Gtk.Container+ContainerChild this.labelSuccessfully = new global::Gamma.GtkWidgets.yLabel(); this.labelSuccessfully.Name = "labelSuccessfully"; this.labelSuccessfully.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.labelSuccessfully.UseMarkup = true; this.eventboxSuccessfully.Add(this.labelSuccessfully); this.vbox2.Add(this.eventboxSuccessfully); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.eventboxSuccessfully])); w12.Position = 2; w12.Expand = false; w12.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hboxRecommendedActions = new global::Gamma.GtkWidgets.yHBox(); this.hboxRecommendedActions.Name = "hboxRecommendedActions"; this.hboxRecommendedActions.Spacing = 6; // Container child hboxRecommendedActions.Gtk.Box+BoxChild this.imageHand = new global::Gamma.GtkWidgets.yImage(); this.imageHand.Name = "imageHand"; this.imageHand.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("workwear.icon.art.hand-holding-rfid.png"); this.hboxRecommendedActions.Add(this.imageHand); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hboxRecommendedActions[this.imageHand])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child hboxRecommendedActions.Gtk.Box+BoxChild this.labelRecommendedActions = new global::Gamma.GtkWidgets.yLabel(); this.labelRecommendedActions.Name = "labelRecommendedActions"; this.labelRecommendedActions.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.labelRecommendedActions.UseMarkup = true; this.hboxRecommendedActions.Add(this.labelRecommendedActions); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hboxRecommendedActions[this.labelRecommendedActions])); w14.Position = 1; this.vbox2.Add(this.hboxRecommendedActions); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hboxRecommendedActions])); w15.Position = 3; w15.Expand = false; w15.Fill = false; this.hbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2])); w16.Position = 0; // 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 w17 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator1])); w17.Position = 1; w17.Expand = false; w17.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.tableSettings = new global::Gamma.GtkWidgets.yTable(); this.tableSettings.Name = "tableSettings"; this.tableSettings.NRows = ((uint)(3)); this.tableSettings.NColumns = ((uint)(2)); this.tableSettings.RowSpacing = ((uint)(6)); this.tableSettings.ColumnSpacing = ((uint)(6)); // Container child tableSettings.Gtk.Table+TableChild this.comboDevice = new global::Gamma.Widgets.yListComboBox(); this.comboDevice.Name = "comboDevice"; this.comboDevice.AddIfNotExist = false; this.comboDevice.DefaultFirst = true; this.tableSettings.Add(this.comboDevice); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableSettings[this.comboDevice])); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.entityWarehouse = new global::QS.Views.Control.EntityEntry(); this.entityWarehouse.Events = ((global::Gdk.EventMask)(256)); this.entityWarehouse.Name = "entityWarehouse"; this.tableSettings.Add(this.entityWarehouse); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableSettings[this.entityWarehouse])); 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 tableSettings.Gtk.Table+TableChild this.labelWarehouse = new global::Gamma.GtkWidgets.yLabel(); this.labelWarehouse.Name = "labelWarehouse"; this.labelWarehouse.Xalign = 1F; this.labelWarehouse.LabelProp = global::Mono.Unix.Catalog.GetString("Склад выдачи:"); this.tableSettings.Add(this.labelWarehouse); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableSettings[this.labelWarehouse])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.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.tableSettings.Add(this.ylabel1); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableSettings[this.ylabel1])); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.Xalign = 1F; this.ylabel2.Yalign = 0F; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Типы карт:"); this.tableSettings.Add(this.ylabel2); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableSettings[this.ylabel2])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.ytreeviewCardTypes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewCardTypes.CanFocus = true; this.ytreeviewCardTypes.Name = "ytreeviewCardTypes"; this.ytreeviewCardTypes.HeadersVisible = false; this.tableSettings.Add(this.ytreeviewCardTypes); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableSettings[this.ytreeviewCardTypes])); w23.TopAttach = ((uint)(1)); w23.BottomAttach = ((uint)(2)); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(2)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.tableSettings); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.tableSettings])); w24.Position = 2; w24.Expand = false; w24.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w25.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.User.UserSettingsView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.User.UserSettingsView"; // Container child workwear.Views.User.UserSettingsView.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)(5)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entityentryLeader = new global::QS.Views.Control.EntityEntry(); this.entityentryLeader.Events = ((global::Gdk.EventMask)(256)); this.entityentryLeader.Name = "entityentryLeader"; this.table1.Add(this.entityentryLeader); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.entityentryLeader])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entityentryOrganization = new global::QS.Views.Control.EntityEntry(); this.entityentryOrganization.Events = ((global::Gdk.EventMask)(256)); this.entityentryOrganization.Name = "entityentryOrganization"; this.table1.Add(this.entityentryOrganization); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entityentryOrganization])); 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.entityentryResponsiblePerson = new global::QS.Views.Control.EntityEntry(); this.entityentryResponsiblePerson.Events = ((global::Gdk.EventMask)(256)); this.entityentryResponsiblePerson.Name = "entityentryResponsiblePerson"; this.table1.Add(this.entityentryResponsiblePerson); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.entityentryResponsiblePerson])); w8.TopAttach = ((uint)(3)); w8.BottomAttach = ((uint)(4)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entityentryWarehouse = new global::QS.Views.Control.EntityEntry(); this.entityentryWarehouse.Events = ((global::Gdk.EventMask)(256)); this.entityentryWarehouse.Name = "entityentryWarehouse"; this.table1.Add(this.entityentryWarehouse); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.entityentryWarehouse])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.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 w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label13])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.Xalign = 1F; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Руководитель по умолчанию:"); this.table1.Add(this.label14); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label14])); 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.label15 = new global::Gtk.Label(); this.label15.Name = "label15"; this.label15.Xalign = 1F; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString("Организация по умолчанию:"); this.table1.Add(this.label15); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label15])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label16 = new global::Gtk.Label(); this.label16.Name = "label16"; this.label16.Xalign = 1F; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString("Материально ответственное \nлицо по умолчанию:"); this.table1.Add(this.label16); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.label16])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w14.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Company.PostView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Company.PostView"; // Container child workwear.Views.Company.PostView.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)(5)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entityDepartment = new global::QS.Views.Control.EntityEntry(); this.entityDepartment.Events = ((global::Gdk.EventMask)(256)); this.entityDepartment.Name = "entityDepartment"; this.table1.Add(this.entityDepartment); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.entityDepartment])); w6.TopAttach = ((uint)(3)); w6.BottomAttach = ((uint)(4)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entityProfession = new global::QS.Views.Control.EntityEntry(); this.entityProfession.Events = ((global::Gdk.EventMask)(256)); this.entityProfession.Name = "entityProfession"; this.table1.Add(this.entityProfession); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entityProfession])); 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.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 w8 = ((global::Gtk.Table.TableChild)(this.table1[this.entitySubdivision])); 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)(0)); // 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 w9 = ((global::Gtk.Table.TableChild)(this.table1[this.entryName])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); 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.ytextComments = new global::Gamma.GtkWidgets.yTextView(); this.ytextComments.CanFocus = true; this.ytextComments.Name = "ytextComments"; this.GtkScrolledWindow.Add(this.ytextComments); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lbFrstName = new global::Gamma.GtkWidgets.yLabel(); this.lbFrstName.Name = "lbFrstName"; this.lbFrstName.Xalign = 1F; this.lbFrstName.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение:"); this.table1.Add(this.lbFrstName); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.lbFrstName])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lbPatronymic = new global::Gtk.Label(); this.lbPatronymic.Name = "lbPatronymic"; this.lbPatronymic.Xalign = 1F; this.lbPatronymic.Yalign = 0F; this.lbPatronymic.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарии:"); this.table1.Add(this.lbPatronymic); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.lbPatronymic])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lbSurName1 = new global::Gamma.GtkWidgets.yLabel(); this.lbSurName1.Name = "lbSurName1"; this.lbSurName1.Xalign = 1F; this.lbSurName1.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.table1.Add(this.lbSurName1); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.lbSurName1])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w15 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1])); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.Xalign = 1F; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Отдел:"); this.table1.Add(this.ylabel2); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel2])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w17.Position = 1; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Journal.Filter.Views.Company.EmployeeBalanceFilterView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Journal.Filter.Views.Company.EmployeeBalanceFilterView"; // Container child workwear.Journal.Filter.Views.Company.EmployeeBalanceFilterView.Gtk.Container+ContainerChild this.ytable1 = new global::Gamma.GtkWidgets.yTable(); this.ytable1.Name = "ytable1"; this.ytable1.NRows = ((uint)(3)); this.ytable1.NColumns = ((uint)(3)); this.ytable1.RowSpacing = ((uint)(6)); this.ytable1.ColumnSpacing = ((uint)(6)); // Container child ytable1.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 = false; this.ytable1.Add(this.datepicker); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.ytable1[this.datepicker])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.yentryEmployee = new global::QS.Views.Control.EntityEntry(); this.yentryEmployee.Events = ((global::Gdk.EventMask)(256)); this.yentryEmployee.Name = "yentryEmployee"; this.ytable1.Add(this.yentryEmployee); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.ytable1[this.yentryEmployee])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.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.ytable1.Add(this.ylabel1); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.ytable1[this.ylabel1])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Сотрудник"); this.ytable1.Add(this.ylabel2); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.ytable1[this.ylabel2])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.ytable1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
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); }