protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Stock.Widgets.BuhDocumentView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Stock.Widgets.BuhDocumentView"; // Container child workwear.Views.Stock.Widgets.BuhDocumentView.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.yentryBuhDocText = new global::Gamma.GtkWidgets.yEntry(); this.yentryBuhDocText.TooltipMarkup = "Бухгалтерский документ по которому было произведено списание. Отобразится вместо " + "подписи сотрудника в карточке."; this.yentryBuhDocText.CanFocus = true; this.yentryBuhDocText.Name = "yentryBuhDocText"; this.yentryBuhDocText.IsEditable = true; this.yentryBuhDocText.InvisibleChar = '•'; this.yvbox1.Add(this.yentryBuhDocText); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.yentryBuhDocText])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child yvbox1.Gtk.Box+BoxChild this.yhbox1 = new global::Gamma.GtkWidgets.yHBox(); this.yhbox1.Name = "yhbox1"; this.yhbox1.Spacing = 6; // Container child yhbox1.Gtk.Box+BoxChild this.ybuttonChange = new global::Gamma.GtkWidgets.yButton(); this.ybuttonChange.CanFocus = true; this.ybuttonChange.Name = "ybuttonChange"; this.ybuttonChange.UseUnderline = true; this.ybuttonChange.Label = global::Mono.Unix.Catalog.GetString("Заменить"); this.yhbox1.Add(this.ybuttonChange); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.ybuttonChange])); w2.Position = 0; w2.Fill = false; // Container child yhbox1.Gtk.Box+BoxChild this.ybuttonCancel = new global::Gamma.GtkWidgets.yButton(); this.ybuttonCancel.CanFocus = true; this.ybuttonCancel.Name = "ybuttonCancel"; this.ybuttonCancel.UseUnderline = true; this.ybuttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); this.yhbox1.Add(this.ybuttonCancel); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.ybuttonCancel])); w3.Position = 1; w3.Fill = false; this.yvbox1.Add(this.yhbox1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.yhbox1])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.Add(this.yvbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget QS.Views.Control.EntitySearch global::Stetic.BinContainer.Attach(this); this.Name = "QS.Views.Control.EntitySearch"; // Container child QS.Views.Control.EntitySearch.Gtk.Container+ContainerChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.tbTextForSearch = new global::Gamma.GtkWidgets.yEntry(); this.tbTextForSearch.CanFocus = true; this.tbTextForSearch.Name = "tbTextForSearch"; this.tbTextForSearch.IsEditable = true; this.tbTextForSearch.InvisibleChar = '●'; this.hbox2.Add(this.tbTextForSearch); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.tbTextForSearch])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.btnClear = new global::Gtk.Button(); this.btnClear.TooltipMarkup = "Удаление"; this.btnClear.Sensitive = false; this.btnClear.CanFocus = true; this.btnClear.Name = "btnClear"; this.btnClear.UseUnderline = true; global::Gtk.Image w2 = new global::Gtk.Image(); w2.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.Menu); this.btnClear.Image = w2; this.hbox2.Add(this.btnClear); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.btnClear])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.Add(this.hbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.tbTextForSearch.WidgetEvent += new global::Gtk.WidgetEventHandler(this.OnEntryObjectWidgetEvent); this.tbTextForSearch.Changed += new global::System.EventHandler(this.OnEntryObjectChanged); this.btnClear.Clicked += new global::System.EventHandler(this.OnButtonClearClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Orders.DiscountReasonView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Orders.DiscountReasonView"; // Container child Vodovoz.Views.Orders.DiscountReasonView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-floppy", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox1.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-close", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox1.Add(this.hseparator1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hseparator1])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.checkIsArchive = new global::Gamma.GtkWidgets.yCheckButton(); this.checkIsArchive.CanFocus = true; this.checkIsArchive.Name = "checkIsArchive"; this.checkIsArchive.Label = ""; this.checkIsArchive.DrawIndicator = true; this.checkIsArchive.UseUnderline = true; this.table3.Add(this.checkIsArchive); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table3[this.checkIsArchive])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.entryName = new global::Gamma.GtkWidgets.yEntry(); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.InvisibleChar = '•'; this.table3.Add(this.entryName); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table3[this.entryName])); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hboxDiscountParams = new global::Gtk.HBox(); this.hboxDiscountParams.Name = "hboxDiscountParams"; this.hboxDiscountParams.Spacing = 6; // Container child hboxDiscountParams.Gtk.Box+BoxChild this.spinDiscount = new global::Gamma.GtkWidgets.ySpinButton(0D, 100000D, 1D); this.spinDiscount.CanFocus = true; this.spinDiscount.Name = "spinDiscount"; this.spinDiscount.Adjustment.PageIncrement = 1D; this.spinDiscount.ClimbRate = 1D; this.spinDiscount.Numeric = true; this.spinDiscount.ValueAsDecimal = 0m; this.spinDiscount.ValueAsInt = 0; this.hboxDiscountParams.Add(this.spinDiscount); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxDiscountParams[this.spinDiscount])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hboxDiscountParams.Gtk.Box+BoxChild this.enumDiscountValueType = new global::Gamma.Widgets.yEnumComboBox(); this.enumDiscountValueType.Name = "enumDiscountValueType"; this.enumDiscountValueType.ShowSpecialStateAll = false; this.enumDiscountValueType.ShowSpecialStateNot = false; this.enumDiscountValueType.UseShortTitle = false; this.enumDiscountValueType.DefaultFirst = false; this.hboxDiscountParams.Add(this.enumDiscountValueType); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxDiscountParams[this.enumDiscountValueType])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child hboxDiscountParams.Gtk.Box+BoxChild this.chkBtnPremiumDiscount = new global::Gamma.GtkWidgets.yCheckButton(); this.chkBtnPremiumDiscount.CanFocus = true; this.chkBtnPremiumDiscount.Name = "chkBtnPremiumDiscount"; this.chkBtnPremiumDiscount.Label = global::Mono.Unix.Catalog.GetString("Премиальная скидка"); this.chkBtnPremiumDiscount.DrawIndicator = true; this.chkBtnPremiumDiscount.UseUnderline = true; this.hboxDiscountParams.Add(this.chkBtnPremiumDiscount); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxDiscountParams[this.chkBtnPremiumDiscount])); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.table3.Add(this.hboxDiscountParams); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table3[this.hboxDiscountParams])); 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 table3.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.label1.Justify = ((global::Gtk.Justification)(1)); this.table3.Add(this.label1); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table3[this.label1])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("В архиве:"); this.label2.Justify = ((global::Gtk.Justification)(1)); this.table3.Add(this.label2); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table3[this.label2])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.labelDiscont = new global::Gtk.Label(); this.labelDiscont.Name = "labelDiscont"; this.labelDiscont.Xalign = 1F; this.labelDiscont.LabelProp = global::Mono.Unix.Catalog.GetString("Скидка на все:"); this.table3.Add(this.labelDiscont); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table3[this.labelDiscont])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table3); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table3])); w16.Position = 2; w16.Expand = false; w16.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vboxReferences = new global::Gamma.GtkWidgets.yVBox(); this.vboxReferences.Name = "vboxReferences"; this.vboxReferences.Spacing = 6; // Container child vboxReferences.Gtk.Box+BoxChild this.hboxNomenclatureCategoriesTitle = new global::Gamma.GtkWidgets.yHBox(); this.hboxNomenclatureCategoriesTitle.Name = "hboxNomenclatureCategoriesTitle"; this.hboxNomenclatureCategoriesTitle.Spacing = 6; // Container child hboxNomenclatureCategoriesTitle.Gtk.Box+BoxChild this.lblNomenclatureCategories = new global::Gamma.GtkWidgets.yLabel(); this.lblNomenclatureCategories.Name = "lblNomenclatureCategories"; this.lblNomenclatureCategories.LabelProp = global::Mono.Unix.Catalog.GetString("Категории номенклатур:"); this.hboxNomenclatureCategoriesTitle.Add(this.lblNomenclatureCategories); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hboxNomenclatureCategoriesTitle[this.lblNomenclatureCategories])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hboxNomenclatureCategoriesTitle.Gtk.Box+BoxChild this.chkBtnSelectAll = new global::Gamma.GtkWidgets.yCheckButton(); this.chkBtnSelectAll.CanFocus = true; this.chkBtnSelectAll.Name = "chkBtnSelectAll"; this.chkBtnSelectAll.Label = global::Mono.Unix.Catalog.GetString("Выбрать все"); this.chkBtnSelectAll.DrawIndicator = true; this.chkBtnSelectAll.UseUnderline = true; this.hboxNomenclatureCategoriesTitle.Add(this.chkBtnSelectAll); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hboxNomenclatureCategoriesTitle[this.chkBtnSelectAll])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.vboxReferences.Add(this.hboxNomenclatureCategoriesTitle); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vboxReferences[this.hboxNomenclatureCategoriesTitle])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child vboxReferences.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.treeViewNomenclatureCategories = new global::Gamma.GtkWidgets.yTreeView(); this.treeViewNomenclatureCategories.CanFocus = true; this.treeViewNomenclatureCategories.Name = "treeViewNomenclatureCategories"; this.GtkScrolledWindow2.Add(this.treeViewNomenclatureCategories); this.vboxReferences.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vboxReferences[this.GtkScrolledWindow2])); w21.Position = 1; // Container child vboxReferences.Gtk.Box+BoxChild this.lblNomenclatures = new global::Gamma.GtkWidgets.yLabel(); this.lblNomenclatures.Name = "lblNomenclatures"; this.lblNomenclatures.Xalign = 0F; this.lblNomenclatures.LabelProp = global::Mono.Unix.Catalog.GetString("Номенклатуры:"); this.vboxReferences.Add(this.lblNomenclatures); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vboxReferences[this.lblNomenclatures])); w22.Position = 2; w22.Expand = false; w22.Fill = false; // Container child vboxReferences.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.treeViewNomenclatures = new global::Gamma.GtkWidgets.yTreeView(); this.treeViewNomenclatures.CanFocus = true; this.treeViewNomenclatures.Name = "treeViewNomenclatures"; this.GtkScrolledWindow1.Add(this.treeViewNomenclatures); this.vboxReferences.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vboxReferences[this.GtkScrolledWindow1])); w24.Position = 3; // Container child vboxReferences.Gtk.Box+BoxChild this.hboxNomenclaturesBtns = new global::Gamma.GtkWidgets.yHBox(); this.hboxNomenclaturesBtns.Name = "hboxNomenclaturesBtns"; this.hboxNomenclaturesBtns.Spacing = 6; // Container child hboxNomenclaturesBtns.Gtk.Box+BoxChild this.btnAddNomenclature = new global::Gamma.GtkWidgets.yButton(); this.btnAddNomenclature.CanFocus = true; this.btnAddNomenclature.Name = "btnAddNomenclature"; this.btnAddNomenclature.UseUnderline = true; this.btnAddNomenclature.Label = global::Mono.Unix.Catalog.GetString("Добавить номенклатуру"); this.hboxNomenclaturesBtns.Add(this.btnAddNomenclature); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hboxNomenclaturesBtns[this.btnAddNomenclature])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child hboxNomenclaturesBtns.Gtk.Box+BoxChild this.btnRemoveNomenclature = new global::Gamma.GtkWidgets.yButton(); this.btnRemoveNomenclature.CanFocus = true; this.btnRemoveNomenclature.Name = "btnRemoveNomenclature"; this.btnRemoveNomenclature.UseUnderline = true; this.btnRemoveNomenclature.Label = global::Mono.Unix.Catalog.GetString("Удалить номенклатуру"); this.hboxNomenclaturesBtns.Add(this.btnRemoveNomenclature); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hboxNomenclaturesBtns[this.btnRemoveNomenclature])); w26.Position = 1; w26.Expand = false; w26.Fill = false; this.vboxReferences.Add(this.hboxNomenclaturesBtns); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vboxReferences[this.hboxNomenclaturesBtns])); w27.Position = 4; w27.Expand = false; w27.Fill = false; // Container child vboxReferences.Gtk.Box+BoxChild this.lblProductGroups = new global::Gamma.GtkWidgets.yLabel(); this.lblProductGroups.Name = "lblProductGroups"; this.lblProductGroups.Xalign = 0F; this.lblProductGroups.LabelProp = global::Mono.Unix.Catalog.GetString("Группы товаров:"); this.vboxReferences.Add(this.lblProductGroups); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vboxReferences[this.lblProductGroups])); w28.Position = 5; w28.Expand = false; w28.Fill = false; // Container child vboxReferences.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.treeViewProductGroups = new global::Gamma.GtkWidgets.yTreeView(); this.treeViewProductGroups.CanFocus = true; this.treeViewProductGroups.Name = "treeViewProductGroups"; this.GtkScrolledWindow.Add(this.treeViewProductGroups); this.vboxReferences.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vboxReferences[this.GtkScrolledWindow])); w30.Position = 6; // Container child vboxReferences.Gtk.Box+BoxChild this.hboxProductGroupBtns = new global::Gamma.GtkWidgets.yHBox(); this.hboxProductGroupBtns.Name = "hboxProductGroupBtns"; this.hboxProductGroupBtns.Spacing = 6; // Container child hboxProductGroupBtns.Gtk.Box+BoxChild this.btnAddProductGroup = new global::Gamma.GtkWidgets.yButton(); this.btnAddProductGroup.CanFocus = true; this.btnAddProductGroup.Name = "btnAddProductGroup"; this.btnAddProductGroup.UseUnderline = true; this.btnAddProductGroup.Label = global::Mono.Unix.Catalog.GetString("Добавить группу товаров"); this.hboxProductGroupBtns.Add(this.btnAddProductGroup); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hboxProductGroupBtns[this.btnAddProductGroup])); w31.Position = 0; w31.Expand = false; w31.Fill = false; // Container child hboxProductGroupBtns.Gtk.Box+BoxChild this.btnRemoveProductGroup = new global::Gamma.GtkWidgets.yButton(); this.btnRemoveProductGroup.CanFocus = true; this.btnRemoveProductGroup.Name = "btnRemoveProductGroup"; this.btnRemoveProductGroup.UseUnderline = true; this.btnRemoveProductGroup.Label = global::Mono.Unix.Catalog.GetString("Удалить группу товаров"); this.hboxProductGroupBtns.Add(this.btnRemoveProductGroup); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hboxProductGroupBtns[this.btnRemoveProductGroup])); w32.Position = 1; w32.Expand = false; w32.Fill = false; this.vboxReferences.Add(this.hboxProductGroupBtns); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vboxReferences[this.hboxProductGroupBtns])); w33.Position = 7; w33.Expand = false; w33.Fill = false; this.vbox1.Add(this.vboxReferences); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vboxReferences])); w34.Position = 3; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Logistic.CarModelView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Logistic.CarModelView"; // Container child Vodovoz.Views.Logistic.CarModelView.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox2.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отмена"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox2.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.ytable1 = new global::Gamma.GtkWidgets.yTable(); this.ytable1.Name = "ytable1"; this.ytable1.NRows = ((uint)(6)); this.ytable1.NColumns = ((uint)(2)); this.ytable1.RowSpacing = ((uint)(6)); this.ytable1.ColumnSpacing = ((uint)(6)); // Container child ytable1.Gtk.Table+TableChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.maxWeightSpin = new global::Gamma.GtkWidgets.ySpinButton(0D, 20000D, 1D); this.maxWeightSpin.WidthRequest = 100; this.maxWeightSpin.CanFocus = true; this.maxWeightSpin.Name = "maxWeightSpin"; this.maxWeightSpin.Adjustment.PageIncrement = 10D; this.maxWeightSpin.ClimbRate = 1D; this.maxWeightSpin.Numeric = true; this.maxWeightSpin.ValueAsDecimal = 0m; this.maxWeightSpin.ValueAsInt = 0; this.hbox3.Add(this.maxWeightSpin); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.maxWeightSpin])); w6.Position = 0; w6.Expand = false; w6.Fill = false; this.ytable1.Add(this.hbox3); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.ytable1[this.hbox3])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.maxVolumeSpin = new global::Gamma.GtkWidgets.ySpinButton(0D, 250D, 1D); this.maxVolumeSpin.WidthRequest = 100; this.maxVolumeSpin.CanFocus = true; this.maxVolumeSpin.Name = "maxVolumeSpin"; this.maxVolumeSpin.Adjustment.PageIncrement = 10D; this.maxVolumeSpin.ClimbRate = 1D; this.maxVolumeSpin.Digits = ((uint)(2)); this.maxVolumeSpin.Numeric = true; this.maxVolumeSpin.ValueAsDecimal = 0m; this.maxVolumeSpin.ValueAsInt = 0; this.hbox4.Add(this.maxVolumeSpin); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.maxVolumeSpin])); w8.Position = 0; w8.Expand = false; w8.Fill = false; this.ytable1.Add(this.hbox4); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.ytable1[this.hbox4])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.entryManufacturer = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryManufacturer.WidthRequest = 400; this.entryManufacturer.Events = ((global::Gdk.EventMask)(256)); this.entryManufacturer.Name = "entryManufacturer"; this.entryManufacturer.CanEditReference = true; this.hbox5.Add(this.entryManufacturer); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.entryManufacturer])); w10.Position = 0; w10.Expand = false; this.ytable1.Add(this.hbox5); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.ytable1[this.hbox5])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.comboTypeOfUse = new global::Gamma.Widgets.yEnumComboBox(); this.comboTypeOfUse.Name = "comboTypeOfUse"; this.comboTypeOfUse.ShowSpecialStateAll = false; this.comboTypeOfUse.ShowSpecialStateNot = false; this.comboTypeOfUse.UseShortTitle = false; this.comboTypeOfUse.DefaultFirst = false; this.hbox6.Add(this.comboTypeOfUse); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.comboTypeOfUse])); w12.Position = 0; w12.Expand = false; w12.Fill = false; this.ytable1.Add(this.hbox6); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.ytable1[this.hbox6])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.ycheckIsArchive = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckIsArchive.CanFocus = true; this.ycheckIsArchive.Name = "ycheckIsArchive"; this.ycheckIsArchive.Label = ""; this.ycheckIsArchive.DrawIndicator = true; this.ycheckIsArchive.UseUnderline = true; this.hbox7.Add(this.ycheckIsArchive); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.ycheckIsArchive])); w14.Position = 0; w14.Expand = false; w14.Fill = false; this.ytable1.Add(this.hbox7); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.ytable1[this.hbox7])); w15.TopAttach = ((uint)(5)); w15.BottomAttach = ((uint)(6)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.yentryName = new global::Gamma.GtkWidgets.yEntry(); this.yentryName.WidthRequest = 400; this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.InvisibleChar = '•'; this.hbox9.Add(this.yentryName); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.yentryName])); w16.Position = 0; w16.Expand = false; w16.Fill = false; this.ytable1.Add(this.hbox9); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.ytable1[this.hbox9])); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Производитель:"); this.ytable1.Add(this.label1); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.ytable1[this.label1])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Грузоподъёмность (кг):"); this.ytable1.Add(this.label2); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.ytable1[this.label2])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Объём груза (м<sup>3</sup>):"); this.label3.UseMarkup = true; this.ytable1.Add(this.label3); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.ytable1[this.label3])); w20.TopAttach = ((uint)(3)); w20.BottomAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Тип:"); this.ytable1.Add(this.label4); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.ytable1[this.label4])); w21.TopAttach = ((uint)(4)); w21.BottomAttach = ((uint)(5)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Архив:"); this.ytable1.Add(this.label5); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.ytable1[this.label5])); w22.TopAttach = ((uint)(5)); w22.BottomAttach = ((uint)(6)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.labelName = new global::Gtk.Label(); this.labelName.Name = "labelName"; this.labelName.Xalign = 1F; this.labelName.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.ytable1.Add(this.labelName); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.ytable1[this.labelName])); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.ytable1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.ytable1])); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Complaints.ComplaintObjectView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Complaints.ComplaintObjectView"; // Container child Vodovoz.Views.Complaints.ComplaintObjectView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; this.vbox1.BorderWidth = ((uint)(6)); // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-floppy", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox1.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-close", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(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.labelName = new global::Gtk.Label(); this.labelName.Name = "labelName"; this.labelName.Xalign = 1F; this.labelName.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.table1.Add(this.labelName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.labelName])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycheckbuttonArchive = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckbuttonArchive.CanFocus = true; this.ycheckbuttonArchive.Name = "ycheckbuttonArchive"; this.ycheckbuttonArchive.Label = global::Mono.Unix.Catalog.GetString("Архивный"); this.ycheckbuttonArchive.DrawIndicator = true; this.ycheckbuttonArchive.UseUnderline = true; this.table1.Add(this.ycheckbuttonArchive); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.ycheckbuttonArchive])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryName = new global::Gamma.GtkWidgets.yEntry(); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.InvisibleChar = '●'; this.table1.Add(this.yentryName); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryName])); 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.ylabelCreateDate = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCreateDate.Name = "ylabelCreateDate"; this.ylabelCreateDate.Xalign = 0F; this.ylabelCreateDate.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel2"); this.table1.Add(this.ylabelCreateDate); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelCreateDate])); 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.ylabelCreateDateName = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCreateDateName.Name = "ylabelCreateDateName"; this.ylabelCreateDateName.Xalign = 1F; this.ylabelCreateDateName.LabelProp = global::Mono.Unix.Catalog.GetString("Дата создания:"); this.table1.Add(this.ylabelCreateDateName); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelCreateDateName])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget 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 Vodovoz.Dialogs.Goods.Folder1cDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Goods.Folder1cDlg"; // Container child Vodovoz.Dialogs.Goods.Folder1cDlg.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)(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.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Родитель:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelName = new global::Gtk.Label(); this.labelName.Name = "labelName"; this.labelName.Xalign = 1F; this.labelName.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.table1.Add(this.labelName); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.labelName])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelName1 = new global::Gtk.Label(); this.labelName1.Name = "labelName1"; this.labelName1.Xalign = 1F; this.labelName1.LabelProp = global::Mono.Unix.Catalog.GetString("Код 1с:"); this.table1.Add(this.labelName1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.labelName1])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryCode1c = new global::Gamma.GtkWidgets.yEntry(); this.yentryCode1c.CanFocus = true; this.yentryCode1c.Name = "yentryCode1c"; this.yentryCode1c.IsEditable = true; this.yentryCode1c.MaxLength = 10; this.yentryCode1c.InvisibleChar = '●'; this.table1.Add(this.yentryCode1c); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryCode1c])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryName = new global::Gamma.GtkWidgets.yEntry(); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.MaxLength = 100; this.yentryName.InvisibleChar = '•'; this.table1.Add(this.yentryName); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryName])); 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.yentryParent = new global::Gamma.Widgets.yEntryReference(); this.yentryParent.Events = ((global::Gdk.EventMask)(256)); this.yentryParent.Name = "yentryParent"; this.table1.Add(this.yentryParent); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryParent])); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w12.PackType = ((global::Gtk.PackType)(1)); w12.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 Fittings.PressureDlg global::Stetic.BinContainer.Attach(this); this.Name = "Fittings.PressureDlg"; // Container child Fittings.PressureDlg.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.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("Сохранить"); this.hbox2.Add(this.buttonSave); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonSave])); w1.Position = 0; w1.Expand = false; w1.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("Отменить"); this.hbox2.Add(this.buttonCancel); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonCancel])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vbox3.Add(this.hbox2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox2])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("PN:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Class:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.pclassEntry = new global::Gamma.GtkWidgets.yEntry(); this.pclassEntry.CanFocus = true; this.pclassEntry.Name = "pclassEntry"; this.pclassEntry.IsEditable = true; this.pclassEntry.MaxLength = 10; this.pclassEntry.InvisibleChar = '●'; this.table1.Add(this.pclassEntry); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.pclassEntry])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.pnEntry = new global::Gamma.GtkWidgets.yEntry(); this.pnEntry.CanFocus = true; this.pnEntry.Name = "pnEntry"; this.pnEntry.IsEditable = true; this.pnEntry.MaxLength = 10; this.pnEntry.InvisibleChar = '●'; this.table1.Add(this.pnEntry); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.pnEntry])); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add(this.table1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.table1])); w8.Position = 1; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget BioGorod.Dialogs.Client.ContactDlg global::Stetic.BinContainer.Attach(this); this.Name = "BioGorod.Dialogs.Client.ContactDlg"; // Container child BioGorod.Dialogs.Client.ContactDlg.Gtk.Container+ContainerChild this.datavbox1 = new global::Gtk.VBox(); this.datavbox1.Name = "datavbox1"; this.datavbox1.Spacing = 6; // Container child datavbox1.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.datavbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.hbox2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child datavbox1.Gtk.Box+BoxChild this.datatable1 = new global::Gtk.Table(((uint)(8)), ((uint)(2)), false); this.datatable1.Name = "datatable1"; this.datatable1.RowSpacing = ((uint)(6)); this.datatable1.ColumnSpacing = ((uint)(6)); // Container child datatable1.Gtk.Table+TableChild this.checkbuttonFired = new global::Gamma.GtkWidgets.yCheckButton(); this.checkbuttonFired.CanFocus = true; this.checkbuttonFired.Name = "checkbuttonFired"; this.checkbuttonFired.Label = ""; this.checkbuttonFired.DrawIndicator = true; this.checkbuttonFired.UseUnderline = true; this.datatable1.Add(this.checkbuttonFired); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.checkbuttonFired])); 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 datatable1.Gtk.Table+TableChild this.emailsView = new global::QSContacts.EmailsView(); this.emailsView.Events = ((global::Gdk.EventMask)(256)); this.emailsView.Name = "emailsView"; this.datatable1.Add(this.emailsView); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.emailsView])); w7.TopAttach = ((uint)(6)); w7.BottomAttach = ((uint)(7)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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.datatable1.Add(this.entryName); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable1 [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 datatable1.Gtk.Table+TableChild this.entryPatronymic = new global::Gamma.GtkWidgets.yEntry(); this.entryPatronymic.CanFocus = true; this.entryPatronymic.Name = "entryPatronymic"; this.entryPatronymic.IsEditable = true; this.entryPatronymic.InvisibleChar = '●'; this.datatable1.Add(this.entryPatronymic); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.entryPatronymic])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.entrySurname = new global::Gamma.GtkWidgets.yEntry(); this.entrySurname.CanFocus = true; this.entrySurname.Name = "entrySurname"; this.entrySurname.IsEditable = true; this.entrySurname.InvisibleChar = '●'; this.datatable1.Add(this.entrySurname); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.entrySurname])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.dataComment = new global::Gamma.GtkWidgets.yTextView(); this.dataComment.CanFocus = true; this.dataComment.Name = "dataComment"; this.dataComment.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow.Add(this.dataComment); this.datatable1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.GtkScrolledWindow])); w12.TopAttach = ((uint)(7)); w12.BottomAttach = ((uint)(8)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Фамилия:"); this.datatable1.Add(this.label1); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label1])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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.datatable1.Add(this.label2); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label2])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Сотрудник уволен:"); this.datatable1.Add(this.label3); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label3])); w15.TopAttach = ((uint)(4)); w15.BottomAttach = ((uint)(5)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Контактные телефоны:"); this.datatable1.Add(this.label4); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label4])); w16.TopAttach = ((uint)(5)); w16.BottomAttach = ((uint)(6)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("E-mail:"); this.datatable1.Add(this.label5); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label5])); w17.TopAttach = ((uint)(6)); w17.BottomAttach = ((uint)(7)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.datatable1.Add(this.label6); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label6])); w18.TopAttach = ((uint)(7)); w18.BottomAttach = ((uint)(8)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child datatable1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Имя:"); this.datatable1.Add(this.label7); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label7])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Отчество:"); this.datatable1.Add(this.label8); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label8])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.phonesView = new global::QSContacts.PhonesView(); this.phonesView.Events = ((global::Gdk.EventMask)(256)); this.phonesView.Name = "phonesView"; this.datatable1.Add(this.phonesView); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.phonesView])); w21.TopAttach = ((uint)(5)); w21.BottomAttach = ((uint)(6)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referencePost = new global::Gamma.Widgets.yEntryReference(); this.referencePost.Events = ((global::Gdk.EventMask)(256)); this.referencePost.Name = "referencePost"; this.datatable1.Add(this.referencePost); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referencePost])); w22.TopAttach = ((uint)(3)); w22.BottomAttach = ((uint)(4)); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); this.datavbox1.Add(this.datatable1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.datatable1])); w23.Position = 1; w23.Expand = false; w23.Fill = false; this.Add(this.datavbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.DeliveryScheduleDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.DeliveryScheduleDlg"; // Container child Vodovoz.DeliveryScheduleDlg.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox3.Add (this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.datatable1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false); this.datatable1.Name = "datatable1"; this.datatable1.RowSpacing = ((uint)(6)); this.datatable1.ColumnSpacing = ((uint)(6)); // Container child datatable1.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.datatable1.Add (this.entryName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.entryName])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.entryFrom = new global::Gamma.Widgets.yTimeEntry (); this.entryFrom.CanFocus = true; this.entryFrom.Name = "entryFrom"; this.entryFrom.IsEditable = true; this.entryFrom.InvisibleChar = '●'; this.entryFrom.ShowSeconds = false; this.entryFrom.AutocompleteStep = 15; this.entryFrom.DateTime = new global::System.DateTime (0); this.entryFrom.Time = new global::System.TimeSpan (0); this.hbox1.Add (this.entryFrom); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryFrom])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("До:"); this.hbox1.Add (this.label1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.entryTo = new global::Gamma.Widgets.yTimeEntry (); this.entryTo.CanFocus = true; this.entryTo.Name = "entryTo"; this.entryTo.IsEditable = true; this.entryTo.InvisibleChar = '●'; this.entryTo.ShowSeconds = false; this.entryTo.AutocompleteStep = 15; this.entryTo.DateTime = new global::System.DateTime (0); this.entryTo.Time = new global::System.TimeSpan (0); this.hbox1.Add (this.entryTo); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryTo])); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.datatable1.Add (this.hbox1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.hbox1])); 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 datatable1.Gtk.Table+TableChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("C:"); this.label10.Justify = ((global::Gtk.Justification)(1)); this.datatable1.Add (this.label10); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label10])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Название:"); this.datatable1.Add (this.label11); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label11])); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add (this.datatable1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.datatable1])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.Add (this.vbox3); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget workwear.ItemTypeDlg this.Name = "workwear.ItemTypeDlg"; this.Title = global::Mono.Unix.Catalog.GetString ("Новый тип номенклатуры"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child workwear.ItemTypeDlg.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.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)); this.table1.BorderWidth = ((uint)(9)); // Container child table1.Gtk.Table+TableChild this.hboxLife = new global::Gtk.HBox (); this.hboxLife.Name = "hboxLife"; this.hboxLife.Spacing = 6; // Container child hboxLife.Gtk.Box+BoxChild this.ycheckLife = new global::Gamma.GtkWidgets.yCheckButton (); this.ycheckLife.CanFocus = true; this.ycheckLife.Name = "ycheckLife"; this.ycheckLife.Label = ""; this.ycheckLife.DrawIndicator = true; this.ycheckLife.UseUnderline = true; this.hboxLife.Add (this.ycheckLife); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxLife [this.ycheckLife])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxLife.Gtk.Box+BoxChild this.yspinMonths = new global::Gamma.GtkWidgets.ySpinButton (0, 100, 1); this.yspinMonths.Sensitive = false; this.yspinMonths.CanFocus = true; this.yspinMonths.Name = "yspinMonths"; this.yspinMonths.Adjustment.PageIncrement = 10; this.yspinMonths.ClimbRate = 1; this.yspinMonths.Numeric = true; this.yspinMonths.ValueAsDecimal = 0m; this.yspinMonths.ValueAsInt = 0; this.hboxLife.Add (this.yspinMonths); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxLife [this.yspinMonths])); w3.Position = 1; // Container child hboxLife.Gtk.Box+BoxChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel (); this.ylabel1.Name = "ylabel1"; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("месяцев"); this.hboxLife.Add (this.ylabel1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxLife [this.ylabel1])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.table1.Add (this.hboxLife); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.hboxLife])); w5.TopAttach = ((uint)(5)); w5.BottomAttach = ((uint)(6)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label])); 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 ("Категория<span foreground=\"red\">*</span>:"); this.label1.UseMarkup = true; this.table1.Add (this.label1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.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.table1.Add (this.label10); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.label10])); w8.TopAttach = ((uint)(4)); w8.BottomAttach = ((uint)(5)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Название группы<span foreground=\"red\">*</span>:"); this.label2.UseMarkup = true; this.table1.Add (this.label2); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Вид спецодежды:"); this.table1.Add (this.label3); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w10.TopAttach = ((uint)(3)); w10.BottomAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelLife = new global::Gtk.Label (); this.labelLife.Name = "labelLife"; this.labelLife.Xalign = 1F; this.labelLife.LabelProp = global::Mono.Unix.Catalog.GetString ("Срок службы:"); this.table1.Add (this.labelLife); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelLife])); w11.TopAttach = ((uint)(5)); w11.BottomAttach = ((uint)(6)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboCategory = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboCategory.Name = "ycomboCategory"; this.ycomboCategory.ShowSpecialStateAll = false; this.ycomboCategory.ShowSpecialStateNot = false; this.ycomboCategory.UseShortTitle = false; this.ycomboCategory.DefaultFirst = false; this.table1.Add (this.ycomboCategory); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboCategory])); 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.ycomboUnits = new global::Gamma.Widgets.ySpecComboBox (); this.ycomboUnits.Name = "ycomboUnits"; this.ycomboUnits.AddIfNotExist = false; this.ycomboUnits.ShowSpecialStateAll = false; this.ycomboUnits.ShowSpecialStateNot = false; this.table1.Add (this.ycomboUnits); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboUnits])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboWearCategory = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboWearCategory.Name = "ycomboWearCategory"; this.ycomboWearCategory.ShowSpecialStateAll = false; this.ycomboWearCategory.ShowSpecialStateNot = true; this.ycomboWearCategory.UseShortTitle = false; this.ycomboWearCategory.DefaultFirst = false; this.table1.Add (this.ycomboWearCategory); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboWearCategory])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryName])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.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 w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.ylabelId])); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); w1.Add (this.table1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(w1 [this.table1])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Internal child workwear.ItemTypeDlg.ActionArea global::Gtk.HButtonBox w18 = this.ActionArea; w18.Name = "dialog1_ActionArea"; w18.Spacing = 10; w18.BorderWidth = ((uint)(5)); w18.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("О_тменить"); global::Gtk.Image w19 = new global::Gtk.Image (); w19.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w19; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w20 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w18 [this.buttonCancel])); w20.Expand = false; w20.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("_OK"); global::Gtk.Image w21 = new global::Gtk.Image (); w21.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu); this.buttonOk.Image = w21; w18.Add (this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w22 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w18 [this.buttonOk])); w22.Position = 1; w22.Expand = false; w22.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 454; this.DefaultHeight = 287; this.Show (); this.ycomboCategory.Changed += new global::System.EventHandler (this.OnYcomboCategoryChanged); this.ycheckLife.Toggled += new global::System.EventHandler (this.OnYcheckLifeToggled); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget workwear.NomenclatureDlg this.Name = "workwear.NomenclatureDlg"; this.Title = global::Mono.Unix.Catalog.GetString ("Новая номенклатура"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child workwear.NomenclatureDlg.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table (((uint)(6)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.ycomboWearStd = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboWearStd.Name = "ycomboWearStd"; this.ycomboWearStd.ShowSpecialStateAll = false; this.ycomboWearStd.ShowSpecialStateNot = false; this.ycomboWearStd.UseShortTitle = true; this.ycomboWearStd.DefaultFirst = true; this.hbox2.Add (this.ycomboWearStd); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.ycomboWearStd])); w2.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.ycomboWearSize = new global::Gamma.GtkWidgets.yComboBox (); this.ycomboWearSize.Name = "ycomboWearSize"; this.hbox2.Add (this.ycomboWearSize); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.ycomboWearSize])); w3.Position = 1; this.table2.Add (this.hbox2); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.hbox2])); w4.TopAttach = ((uint)(4)); w4.BottomAttach = ((uint)(5)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.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 w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.label7])); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.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 w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.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 w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.label9])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelGrowth = new global::Gtk.Label (); this.labelGrowth.Name = "labelGrowth"; this.labelGrowth.Xalign = 1F; this.labelGrowth.LabelProp = global::Mono.Unix.Catalog.GetString ("Рост:"); this.table2.Add (this.labelGrowth); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelGrowth])); w8.TopAttach = ((uint)(5)); w8.BottomAttach = ((uint)(6)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelSize = new global::Gtk.Label (); this.labelSize.Name = "labelSize"; this.labelSize.Xalign = 1F; this.labelSize.LabelProp = global::Mono.Unix.Catalog.GetString ("Размер:"); this.table2.Add (this.labelSize); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelSize])); w9.TopAttach = ((uint)(4)); w9.BottomAttach = ((uint)(5)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.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 w10 = ((global::Gtk.Table.TableChild)(this.table2 [this.ycomboClothesSex])); w10.TopAttach = ((uint)(3)); w10.BottomAttach = ((uint)(4)); 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.ycomboWearGrowth = new global::Gamma.GtkWidgets.yComboBox (); this.ycomboWearGrowth.Name = "ycomboWearGrowth"; this.table2.Add (this.ycomboWearGrowth); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.ycomboWearGrowth])); w11.TopAttach = ((uint)(5)); w11.BottomAttach = ((uint)(6)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryItemsType = new global::Gamma.Widgets.yEntryReference (); this.yentryItemsType.Events = ((global::Gdk.EventMask)(256)); this.yentryItemsType.Name = "yentryItemsType"; this.table2.Add (this.yentryItemsType); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryItemsType])); 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 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 w13 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryName])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.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 w14 = ((global::Gtk.Table.TableChild)(this.table2 [this.ylabelClothesSex])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ylabelId = new global::Gamma.GtkWidgets.yLabel (); this.ylabelId.Name = "ylabelId"; this.ylabelId.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1"); this.table2.Add (this.ylabelId); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2 [this.ylabelId])); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); w1.Add (this.table2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(w1 [this.table2])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Internal child workwear.NomenclatureDlg.ActionArea global::Gtk.HButtonBox w17 = this.ActionArea; w17.Name = "dialog1_ActionArea"; w17.Spacing = 10; w17.BorderWidth = ((uint)(5)); w17.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("О_тменить"); global::Gtk.Image w18 = new global::Gtk.Image (); w18.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w18; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w19 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w17 [this.buttonCancel])); w19.Expand = false; w19.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("_OK"); global::Gtk.Image w20 = new global::Gtk.Image (); w20.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu); this.buttonOk.Image = w20; w17.Add (this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w21 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w17 [this.buttonOk])); w21.Position = 1; w21.Expand = false; w21.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 425; this.DefaultHeight = 269; this.ycomboClothesSex.Hide (); this.ylabelClothesSex.Hide (); this.Show (); this.yentryItemsType.Changed += new global::System.EventHandler (this.OnYentryItemsTypeChanged); this.ycomboClothesSex.Changed += new global::System.EventHandler (this.OnYcomboClothesSexChanged); this.ycomboWearStd.Changed += new global::System.EventHandler (this.OnYcomboWearStdChanged); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.GazTicketDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.GazTicketDlg"; // Container child Vodovoz.GazTicketDlg.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.table2 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.comboFuelType = new global::Gamma.Widgets.yListComboBox (); this.comboFuelType.Name = "comboFuelType"; this.comboFuelType.AddIfNotExist = false; this.comboFuelType.DefaultFirst = false; this.table2.Add (this.comboFuelType); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboFuelType])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.yspinbuttonLitres = new global::Gamma.GtkWidgets.ySpinButton (0, 100, 10); this.yspinbuttonLitres.CanFocus = true; this.yspinbuttonLitres.Name = "yspinbuttonLitres"; this.yspinbuttonLitres.Adjustment.PageIncrement = 10; this.yspinbuttonLitres.ClimbRate = 1; this.yspinbuttonLitres.Numeric = true; this.yspinbuttonLitres.ValueAsDecimal = 0m; this.yspinbuttonLitres.ValueAsInt = 0; this.hbox1.Add (this.yspinbuttonLitres); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.yspinbuttonLitres])); w7.Position = 0; this.table2.Add (this.hbox1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.hbox1])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // 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 w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.label1])); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.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 w10 = ((global::Gtk.Table.TableChild)(this.table2 [this.label2])); 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.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 w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.label3])); 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.yentryName = new global::Gamma.GtkWidgets.yEntry (); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.InvisibleChar = '●'; this.table2.Add (this.yentryName); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryName])); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add (this.table2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table2])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.ProductSpecificationDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.ProductSpecificationDlg"; // Container child Vodovoz.ProductSpecificationDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.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.vbox1.Add (this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.datatable5 = new global::Gtk.DataBindings.DataTable (((uint)(3)), ((uint)(2)), false); this.datatable5.Name = "datatable5"; this.datatable5.RowSpacing = ((uint)(6)); this.datatable5.ColumnSpacing = ((uint)(6)); this.datatable5.BorderWidth = ((uint)(6)); this.datatable5.InheritedDataSource = false; this.datatable5.InheritedBoundaryDataSource = false; this.datatable5.InheritedDataSource = false; this.datatable5.InheritedBoundaryDataSource = false; // Container child datatable5.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.datatable5.Add (this.entryName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable5 [this.entryName])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.label32 = new global::Gtk.Label (); this.label32.Name = "label32"; this.label32.Xalign = 1F; this.label32.LabelProp = global::Mono.Unix.Catalog.GetString ("Название спецификации:"); this.datatable5.Add (this.label32); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.datatable5 [this.label32])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.label35 = new global::Gtk.Label (); this.label35.Name = "label35"; this.label35.Xalign = 1F; this.label35.LabelProp = global::Mono.Unix.Catalog.GetString ("Продукция:"); this.datatable5.Add (this.label35); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable5 [this.label35])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.productspecificationmaterialsview1 = new global::Vodovoz.ProductSpecificationMaterialsView (); this.productspecificationmaterialsview1.Events = ((global::Gdk.EventMask)(256)); this.productspecificationmaterialsview1.Name = "productspecificationmaterialsview1"; this.datatable5.Add (this.productspecificationmaterialsview1); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable5 [this.productspecificationmaterialsview1])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.referenceProduct = new global::Gamma.Widgets.yEntryReference (); this.referenceProduct.Events = ((global::Gdk.EventMask)(256)); this.referenceProduct.Name = "referenceProduct"; this.datatable5.Add (this.referenceProduct); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable5 [this.referenceProduct])); 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)); this.vbox1.Add (this.datatable5); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.datatable5])); w11.Position = 1; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Security.RegisteredRMView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Security.RegisteredRMView"; // Container child Vodovoz.Views.Security.RegisteredRMView.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-floppy", 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; // Container child hbox2.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox2.Add(this.vseparator1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vseparator1])); w5.PackType = ((global::Gtk.PackType)(1)); w5.Position = 3; w5.Expand = false; w5.Fill = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w6.Position = 0; w6.Expand = false; w6.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.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Имя пользователя: "); this.hbox1.Add(this.label1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.yentryUsername = new global::Gamma.GtkWidgets.yEntry(); this.yentryUsername.CanFocus = true; this.yentryUsername.Name = "yentryUsername"; this.yentryUsername.IsEditable = true; this.yentryUsername.InvisibleChar = '•'; this.hbox1.Add(this.yentryUsername); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.yentryUsername])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Домен пользователя: "); this.hbox1.Add(this.label2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label2])); w9.Position = 2; w9.Expand = false; w9.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.yentryDomainame = new global::Gamma.GtkWidgets.yEntry(); this.yentryDomainame.CanFocus = true; this.yentryDomainame.Name = "yentryDomainame"; this.yentryDomainame.IsEditable = true; this.yentryDomainame.InvisibleChar = '•'; this.hbox1.Add(this.yentryDomainame); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.yentryDomainame])); w10.Position = 3; w10.Expand = false; w10.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("SID пользователя: "); this.hbox1.Add(this.label3); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label3])); w11.Position = 4; w11.Expand = false; w11.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.yentrySID = new global::Gamma.GtkWidgets.yEntry(); this.yentrySID.CanFocus = true; this.yentrySID.Name = "yentrySID"; this.yentrySID.IsEditable = true; this.yentrySID.InvisibleChar = '•'; this.hbox1.Add(this.yentrySID); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.yentrySID])); w12.Position = 5; w12.Expand = false; w12.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.ycheckIsActive = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckIsActive.TooltipMarkup = "Больше не работаем с этим клиентом"; this.ycheckIsActive.CanFocus = true; this.ycheckIsActive.Name = "ycheckIsActive"; this.ycheckIsActive.Label = global::Mono.Unix.Catalog.GetString("Активная запись"); this.ycheckIsActive.DrawIndicator = true; this.ycheckIsActive.UseUnderline = true; this.hbox1.Add(this.ycheckIsActive); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ycheckIsActive])); w13.Position = 7; w13.Expand = false; w13.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.buttonAddUser = new global::Gtk.Button(); this.buttonAddUser.CanFocus = true; this.buttonAddUser.Name = "buttonAddUser"; this.buttonAddUser.UseUnderline = true; this.buttonAddUser.Label = global::Mono.Unix.Catalog.GetString("Добавить пользователя"); global::Gtk.Image w15 = new global::Gtk.Image(); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddUser.Image = w15; this.hbox3.Add(this.buttonAddUser); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonAddUser])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonDeleteUser = new global::Gtk.Button(); this.buttonDeleteUser.CanFocus = true; this.buttonDeleteUser.Name = "buttonDeleteUser"; this.buttonDeleteUser.UseUnderline = true; this.buttonDeleteUser.Label = global::Mono.Unix.Catalog.GetString("Удалить пользователя"); global::Gtk.Image w17 = new global::Gtk.Image(); w17.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.buttonDeleteUser.Image = w17; this.hbox3.Add(this.buttonDeleteUser); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonDeleteUser])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); w19.Position = 2; w19.Expand = false; w19.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.ytreeviewUsers = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewUsers.CanFocus = true; this.ytreeviewUsers.Name = "ytreeviewUsers"; this.GtkScrolledWindow1.Add(this.ytreeviewUsers); this.vbox1.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow1])); w21.Position = 3; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonAddUser.Clicked += new global::System.EventHandler(this.OnButtonAddUserClicked); this.buttonDeleteUser.Clicked += new global::System.EventHandler(this.OnButtonDeleteUserClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Sizes.SizeTypeView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Sizes.SizeTypeView"; // Container child workwear.Views.Sizes.SizeTypeView.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox3.Add(this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(5)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.entityname = new global::Gamma.GtkWidgets.yEntry(); this.entityname.CanFocus = true; this.entityname.Name = "entityname"; this.entityname.IsEditable = true; this.entityname.InvisibleChar = '•'; this.table2.Add(this.entityname); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2[this.entityname])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.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.table2.Add(this.label10); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2[this.label10])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.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("Код:"); this.table2.Add(this.label9); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2[this.label9])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelId = new global::Gamma.GtkWidgets.yLabel(); this.labelId.Name = "labelId"; this.labelId.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.table2.Add(this.labelId); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2[this.labelId])); 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.specllistcomCategory = new global::Gamma.Widgets.yEnumComboBox(); this.specllistcomCategory.Name = "specllistcomCategory"; this.specllistcomCategory.ShowSpecialStateAll = false; this.specllistcomCategory.ShowSpecialStateNot = false; this.specllistcomCategory.UseShortTitle = false; this.specllistcomCategory.DefaultFirst = false; this.table2.Add(this.specllistcomCategory); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2[this.specllistcomCategory])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ycheckbuttonUseInEmployee = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckbuttonUseInEmployee.CanFocus = true; this.ycheckbuttonUseInEmployee.Name = "ycheckbuttonUseInEmployee"; this.ycheckbuttonUseInEmployee.Label = global::Mono.Unix.Catalog.GetString("Отображать в сотруднике"); this.ycheckbuttonUseInEmployee.Active = true; this.ycheckbuttonUseInEmployee.DrawIndicator = true; this.ycheckbuttonUseInEmployee.UseUnderline = true; this.table2.Add(this.ycheckbuttonUseInEmployee); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2[this.ycheckbuttonUseInEmployee])); 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 table2.Gtk.Table+TableChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Категория:"); this.table2.Add(this.ylabel1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2[this.ylabel1])); 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.ylabel3 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel3.Name = "ylabel3"; this.ylabel3.LabelProp = global::Mono.Unix.Catalog.GetString("Позиция"); this.table2.Add(this.ylabel3); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2[this.ylabel3])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yspinPosition = new global::Gamma.GtkWidgets.ySpinButton(0D, 100D, 1D); this.yspinPosition.CanFocus = true; this.yspinPosition.Name = "yspinPosition"; this.yspinPosition.Adjustment.PageIncrement = 10D; this.yspinPosition.ClimbRate = 1D; this.yspinPosition.Numeric = true; this.yspinPosition.ValueAsDecimal = 0m; this.yspinPosition.ValueAsInt = 0; this.table2.Add(this.yspinPosition); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2[this.yspinPosition])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add(this.table2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.table2])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.yvbox1 = new global::Gamma.GtkWidgets.yVBox(); this.yvbox1.Name = "yvbox1"; this.yvbox1.Spacing = 6; // Container child yvbox1.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.ytreeviewSizes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewSizes.CanFocus = true; this.ytreeviewSizes.Name = "ytreeviewSizes"; this.scrolledwindow1.Add(this.ytreeviewSizes); this.yvbox1.Add(this.scrolledwindow1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.scrolledwindow1])); w17.Position = 0; // Container child yvbox1.Gtk.Box+BoxChild this.yhbox1 = new global::Gamma.GtkWidgets.yHBox(); this.yhbox1.Name = "yhbox1"; this.yhbox1.Spacing = 6; // Container child yhbox1.Gtk.Box+BoxChild this.ybuttonAddSize = new global::Gamma.GtkWidgets.yButton(); this.ybuttonAddSize.CanFocus = true; this.ybuttonAddSize.Name = "ybuttonAddSize"; this.ybuttonAddSize.UseUnderline = true; this.ybuttonAddSize.Label = global::Mono.Unix.Catalog.GetString("Добавить размер"); this.yhbox1.Add(this.ybuttonAddSize); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.ybuttonAddSize])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child yhbox1.Gtk.Box+BoxChild this.ybuttonRemoveSize = new global::Gamma.GtkWidgets.yButton(); this.ybuttonRemoveSize.CanFocus = true; this.ybuttonRemoveSize.Name = "ybuttonRemoveSize"; this.ybuttonRemoveSize.UseUnderline = true; this.ybuttonRemoveSize.Label = global::Mono.Unix.Catalog.GetString("Удалить размер"); this.yhbox1.Add(this.ybuttonRemoveSize); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.ybuttonRemoveSize])); w19.Position = 1; w19.Expand = false; w19.Fill = false; this.yvbox1.Add(this.yhbox1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.yhbox1])); w20.Position = 1; w20.Expand = false; w20.Fill = false; this.vbox3.Add(this.yvbox1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.yvbox1])); w21.Position = 2; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget workwear.IncomeDocDlg this.Name = "workwear.IncomeDocDlg"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child workwear.IncomeDocDlg.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // 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.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Операция<span foreground=\"red\">*</span>:"); this.label1.UseMarkup = true; this.table2.Add (this.label1); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table2 [this.label1])); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.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 w3 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelObject])); w3.TopAttach = ((uint)(3)); w3.BottomAttach = ((uint)(4)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelTTN = new global::Gtk.Label (); this.labelTTN.Name = "labelTTN"; this.labelTTN.Xalign = 1F; this.labelTTN.LabelProp = global::Mono.Unix.Catalog.GetString ("ТН №<span foreground=\"red\">*</span>:"); this.labelTTN.UseMarkup = true; this.table2.Add (this.labelTTN); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelTTN])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelWorker = new global::Gtk.Label (); this.labelWorker.Name = "labelWorker"; this.labelWorker.LabelProp = global::Mono.Unix.Catalog.GetString ("Работник<span foreground=\"red\">*</span>:"); this.labelWorker.UseMarkup = true; this.table2.Add (this.labelWorker); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelWorker])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.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 w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.ycomboOperation])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryEmployee = new global::Gamma.Widgets.yEntryReference (); this.yentryEmployee.Events = ((global::Gdk.EventMask)(256)); this.yentryEmployee.Name = "yentryEmployee"; this.table2.Add (this.yentryEmployee); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryEmployee])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child 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 = 8; this.yentryNumber.InvisibleChar = '●'; this.table2.Add (this.yentryNumber); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryNumber])); 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 table2.Gtk.Table+TableChild this.yentryObject = new global::Gamma.Widgets.yEntryReference (); this.yentryObject.Events = ((global::Gdk.EventMask)(256)); this.yentryObject.Name = "yentryObject"; this.table2.Add (this.yentryObject); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryObject])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add (this.table2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table2])); w10.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.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 w11 = ((global::Gtk.Table.TableChild)(this.table3 [this.label4])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Пользователь:"); this.table3.Add (this.label5); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table3 [this.label5])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата<span foreground=\"red\">*</span>:"); this.label6.UseMarkup = true; this.table3.Add (this.label6); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table3 [this.label6])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ydateDoc = new global::Gamma.Widgets.yDatePicker (); this.ydateDoc.Events = ((global::Gdk.EventMask)(256)); this.ydateDoc.Name = "ydateDoc"; this.ydateDoc.WithTime = false; this.ydateDoc.Date = new global::System.DateTime (0); this.ydateDoc.IsEditable = true; this.ydateDoc.AutoSeparation = true; this.table3.Add (this.ydateDoc); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table3 [this.ydateDoc])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ylabelCreatedBy = new global::Gamma.GtkWidgets.yLabel (); this.ylabelCreatedBy.Name = "ylabelCreatedBy"; this.ylabelCreatedBy.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1"); this.table3.Add (this.ylabelCreatedBy); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table3 [this.ylabelCreatedBy])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // 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 w16 = ((global::Gtk.Table.TableChild)(this.table3 [this.ylabelId])); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add (this.table3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table3])); w17.Position = 1; w1.Add (this.hbox1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.ItemsTable = new global::workwear.IncomeDocItemsView (); this.ItemsTable.Events = ((global::Gdk.EventMask)(256)); this.ItemsTable.Name = "ItemsTable"; w1.Add (this.ItemsTable); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(w1 [this.ItemsTable])); w19.Position = 1; // Internal child workwear.IncomeDocDlg.ActionArea global::Gtk.HButtonBox w20 = this.ActionArea; w20.Name = "dialog1_ActionArea"; w20.Spacing = 10; w20.BorderWidth = ((uint)(5)); w20.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("О_тменить"); global::Gtk.Image w21 = new global::Gtk.Image (); w21.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w21; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w22 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w20 [this.buttonCancel])); w22.Expand = false; w22.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("_OK"); global::Gtk.Image w23 = new global::Gtk.Image (); w23.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu); this.buttonOk.Image = w23; w20.Add (this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w24 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w20 [this.buttonOk])); w24.Position = 1; w24.Expand = false; w24.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 582; this.DefaultHeight = 436; this.Show (); this.ycomboOperation.Changed += new global::System.EventHandler (this.OnYcomboOperationChanged); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget CarGlass.Dialogs.StockBalance global::Stetic.BinContainer.Attach(this); this.Name = "CarGlass.Dialogs.StockBalance"; // Container child CarGlass.Dialogs.StockBalance.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.glassselector = new global::CarGlass.Widgets.GlassSelector(); this.glassselector.WidthRequest = 300; this.glassselector.HeightRequest = 250; this.glassselector.Name = "glassselector"; this.hbox1.Add(this.glassselector); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.glassselector])); w1.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.yentrySearch = new global::Gamma.GtkWidgets.yEntry(); this.yentrySearch.CanFocus = true; this.yentrySearch.Name = "yentrySearch"; this.yentrySearch.IsEditable = true; this.yentrySearch.InvisibleChar = '●'; this.hbox3.Add(this.yentrySearch); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yentrySearch])); w2.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.buttonSearchClean = new global::Gtk.Button(); this.buttonSearchClean.CanFocus = true; this.buttonSearchClean.Name = "buttonSearchClean"; this.buttonSearchClean.UseUnderline = true; global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonSearchClean.Image = w3; this.hbox3.Add(this.buttonSearchClean); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonSearchClean])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); w5.PackType = ((global::Gtk.PackType)(1)); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Поиск:</b>"); this.ylabel1.UseMarkup = true; this.vbox1.Add(this.ylabel1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.ylabel1])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.hbox1.Add(this.vbox1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox1])); w7.Position = 1; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.representationViewStoreItems = new global::QSOrmProject.RepresentationTreeView(); this.representationViewStoreItems.CanFocus = true; this.representationViewStoreItems.Name = "representationViewStoreItems"; this.GtkScrolledWindow.Add(this.representationViewStoreItems); 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.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonAddRow = new global::Gtk.Button(); this.buttonAddRow.CanFocus = true; this.buttonAddRow.Name = "buttonAddRow"; this.buttonAddRow.UseUnderline = true; this.buttonAddRow.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w11 = new global::Gtk.Image(); w11.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddRow.Image = w11; this.hbox2.Add(this.buttonAddRow); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonAddRow])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonEdit = new global::Gtk.Button(); this.buttonEdit.CanFocus = true; this.buttonEdit.Name = "buttonEdit"; this.buttonEdit.UseUnderline = true; this.buttonEdit.Label = global::Mono.Unix.Catalog.GetString("Изменить"); global::Gtk.Image w13 = new global::Gtk.Image(); w13.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonEdit.Image = w13; this.hbox2.Add(this.buttonEdit); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonEdit])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonDeleteRow = new global::Gtk.Button(); this.buttonDeleteRow.Sensitive = false; this.buttonDeleteRow.CanFocus = true; this.buttonDeleteRow.Name = "buttonDeleteRow"; this.buttonDeleteRow.UseUnderline = true; this.buttonDeleteRow.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w15 = new global::Gtk.Image(); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonDeleteRow.Image = w15; this.hbox2.Add(this.buttonDeleteRow); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonDeleteRow])); w16.Position = 2; w16.Expand = false; w16.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w17.Position = 2; w17.Expand = false; w17.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.glassselector.GlassChanged += new global::System.EventHandler(this.OnGlassselectorGlassChanged); this.yentrySearch.Changed += new global::System.EventHandler(this.OnYentrySearchChanged); this.buttonSearchClean.Clicked += new global::System.EventHandler(this.OnButtonSearchCleanClicked); this.representationViewStoreItems.RowActivated += new global::Gtk.RowActivatedHandler(this.OnRepresentationViewStoreItemsRowActivated); this.buttonAddRow.Clicked += new global::System.EventHandler(this.OnButtonAddRowClicked); this.buttonEdit.Clicked += new global::System.EventHandler(this.OnButtonEditClicked); this.buttonDeleteRow.Clicked += new global::System.EventHandler(this.OnButtonDeleteRowClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget workwear.NormDlg this.Name = "workwear.NormDlg"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child workwear.NormDlg.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(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.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Код:"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((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.TopAttach = ((uint)(2)); w4.BottomAttach = ((uint)(3)); 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.TopAttach = ((uint)(3)); w5.BottomAttach = ((uint)(4)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryTonAttachment = new global::Gamma.GtkWidgets.yEntry (); this.yentryTonAttachment.CanFocus = true; this.yentryTonAttachment.Name = "yentryTonAttachment"; this.yentryTonAttachment.IsEditable = true; this.yentryTonAttachment.MaxLength = 15; this.yentryTonAttachment.InvisibleChar = '●'; this.table1.Add (this.yentryTonAttachment); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryTonAttachment])); 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.yentryTonNumber = new global::Gamma.GtkWidgets.yEntry (); this.yentryTonNumber.CanFocus = true; this.yentryTonNumber.Name = "yentryTonNumber"; this.yentryTonNumber.IsEditable = true; this.yentryTonNumber.MaxLength = 15; this.yentryTonNumber.InvisibleChar = '●'; this.table1.Add (this.yentryTonNumber); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryTonNumber])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryTonParagraph = new global::Gamma.GtkWidgets.yEntry (); this.yentryTonParagraph.CanFocus = true; this.yentryTonParagraph.Name = "yentryTonParagraph"; this.yentryTonParagraph.IsEditable = true; this.yentryTonParagraph.MaxLength = 15; this.yentryTonParagraph.InvisibleChar = '●'; this.table1.Add (this.yentryTonParagraph); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryTonParagraph])); w8.TopAttach = ((uint)(3)); w8.BottomAttach = ((uint)(4)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child 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 w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.ylabelId])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add (this.table1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table1])); w10.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytreeProfessions = new global::Gamma.GtkWidgets.yTreeView (); this.ytreeProfessions.CanFocus = true; this.ytreeProfessions.Name = "ytreeProfessions"; this.GtkScrolledWindow.Add (this.ytreeProfessions); this.vbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); w12.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonNewProfession = new global::Gtk.Button (); this.buttonNewProfession.CanFocus = true; this.buttonNewProfession.Name = "buttonNewProfession"; this.buttonNewProfession.UseUnderline = true; this.buttonNewProfession.Label = global::Mono.Unix.Catalog.GetString ("Новая"); global::Gtk.Image w13 = new global::Gtk.Image (); w13.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-new", global::Gtk.IconSize.Menu); this.buttonNewProfession.Image = w13; this.hbox2.Add (this.buttonNewProfession); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonNewProfession])); w14.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.buttonAddProfession = new global::Gtk.Button (); this.buttonAddProfession.CanFocus = true; this.buttonAddProfession.Name = "buttonAddProfession"; this.buttonAddProfession.UseUnderline = true; this.buttonAddProfession.Label = global::Mono.Unix.Catalog.GetString ("Добавить"); global::Gtk.Image w15 = new global::Gtk.Image (); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddProfession.Image = w15; this.hbox2.Add (this.buttonAddProfession); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonAddProfession])); w16.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.buttonRemoveProfession = new global::Gtk.Button (); this.buttonRemoveProfession.Sensitive = false; this.buttonRemoveProfession.CanFocus = true; this.buttonRemoveProfession.Name = "buttonRemoveProfession"; this.buttonRemoveProfession.UseUnderline = true; this.buttonRemoveProfession.Label = global::Mono.Unix.Catalog.GetString ("Убрать"); global::Gtk.Image w17 = new global::Gtk.Image (); w17.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveProfession.Image = w17; this.hbox2.Add (this.buttonRemoveProfession); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonRemoveProfession])); w18.Position = 2; this.vbox2.Add (this.hbox2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w19.Position = 1; w19.Expand = false; w19.Fill = false; this.hbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2])); w20.Position = 1; w1.Add (this.hbox1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Выдаваемая по норме номенклатура</b>"); this.label5.UseMarkup = true; w1.Add (this.label5); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(w1 [this.label5])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeItems = new global::Gamma.GtkWidgets.yTreeView (); this.ytreeItems.CanFocus = true; this.ytreeItems.Name = "ytreeItems"; this.GtkScrolledWindow1.Add (this.ytreeItems); w1.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(w1 [this.GtkScrolledWindow1])); w24.Position = 2; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.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.hbox3.Add (this.buttonAddItem); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.buttonAddItem])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child hbox3.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.hbox3.Add (this.buttonRemoveItem); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.buttonRemoveItem])); w28.Position = 1; w28.Expand = false; w28.Fill = false; w1.Add (this.hbox3); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox3])); w29.Position = 3; w29.Expand = false; w29.Fill = false; // Internal child workwear.NormDlg.ActionArea global::Gtk.HButtonBox w30 = this.ActionArea; w30.Name = "dialog1_ActionArea"; w30.Spacing = 10; w30.BorderWidth = ((uint)(5)); w30.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w31 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w30 [this.buttonCancel])); w31.Expand = false; w31.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; w30.Add (this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w32 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w30 [this.buttonOk])); w32.Position = 1; w32.Expand = false; w32.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 699; this.DefaultHeight = 368; this.Show (); this.buttonNewProfession.Clicked += new global::System.EventHandler (this.OnButtonNewProfessionClicked); this.buttonAddProfession.Clicked += new global::System.EventHandler (this.OnButtonAddProfessionClicked); this.buttonRemoveProfession.Clicked += new global::System.EventHandler (this.OnButtonRemoveProfessionClicked); this.buttonAddItem.Clicked += new global::System.EventHandler (this.OnButtonAddItemClicked); this.buttonRemoveItem.Clicked += new global::System.EventHandler (this.OnButtonRemoveItemClicked); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Filters.GtkViews.CounterpartyFilterView global::Stetic.BinContainer.Attach(this); this.HeightRequest = 100; this.Name = "Vodovoz.Filters.GtkViews.CounterpartyFilterView"; // Container child Vodovoz.Filters.GtkViews.CounterpartyFilterView.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.filterScrolledWindow = new global::Gtk.ScrolledWindow(); this.filterScrolledWindow.HeightRequest = 100; this.filterScrolledWindow.CanFocus = true; this.filterScrolledWindow.Name = "filterScrolledWindow"; this.filterScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child filterScrolledWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w1 = new global::Gtk.Viewport(); w1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(8)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checkIncludeArhive = new global::Gamma.GtkWidgets.yCheckButton(); this.checkIncludeArhive.CanFocus = true; this.checkIncludeArhive.Name = "checkIncludeArhive"; this.checkIncludeArhive.Label = global::Mono.Unix.Catalog.GetString("Включая архивных"); this.checkIncludeArhive.DrawIndicator = true; this.checkIncludeArhive.UseUnderline = true; this.table1.Add(this.checkIncludeArhive); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.checkIncludeArhive])); w2.LeftAttach = ((uint)(3)); w2.RightAttach = ((uint)(4)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.frame2 = new global::Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment51 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment51.Name = "GtkAlignment51"; this.GtkAlignment51.LeftPadding = ((uint)(12)); // Container child GtkAlignment51.Gtk.Container+ContainerChild this.GtkScrolledWindow15 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow15.WidthRequest = 220; this.GtkScrolledWindow15.Name = "GtkScrolledWindow15"; this.GtkScrolledWindow15.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow15.Gtk.Container+ContainerChild this.ytreeviewSalesChannels = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewSalesChannels.CanFocus = true; this.ytreeviewSalesChannels.Name = "ytreeviewSalesChannels"; this.ytreeviewSalesChannels.HeadersVisible = false; this.GtkScrolledWindow15.Add(this.ytreeviewSalesChannels); this.GtkAlignment51.Add(this.GtkScrolledWindow15); this.frame2.Add(this.GtkAlignment51); this.GtkLabel72 = new global::Gtk.Label(); this.GtkLabel72.Name = "GtkLabel72"; this.GtkLabel72.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Канал сбыта</b>"); this.GtkLabel72.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel72; this.table1.Add(this.frame2); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.frame2])); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(7)); w6.RightAttach = ((uint)(8)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hboxSearchFields = new global::Gtk.HBox(); this.hboxSearchFields.Name = "hboxSearchFields"; this.hboxSearchFields.Spacing = 6; // Container child hboxSearchFields.Gtk.Box+BoxChild this.ylabelName = new global::Gamma.GtkWidgets.yLabel(); this.ylabelName.Name = "ylabelName"; this.ylabelName.LabelProp = global::Mono.Unix.Catalog.GetString("Наименование:"); this.hboxSearchFields.Add(this.ylabelName); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxSearchFields[this.ylabelName])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hboxSearchFields.Gtk.Box+BoxChild this.entryName = new global::Gamma.GtkWidgets.yEntry(); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.InvisibleChar = '•'; this.hboxSearchFields.Add(this.entryName); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hboxSearchFields[this.entryName])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hboxSearchFields.Gtk.Box+BoxChild this.ylabelCounterpartyPhone = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCounterpartyPhone.Name = "ylabelCounterpartyPhone"; this.ylabelCounterpartyPhone.LabelProp = global::Mono.Unix.Catalog.GetString("Телефон контрагента:"); this.hboxSearchFields.Add(this.ylabelCounterpartyPhone); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxSearchFields[this.ylabelCounterpartyPhone])); w9.Position = 2; w9.Expand = false; w9.Fill = false; // Container child hboxSearchFields.Gtk.Box+BoxChild this.entryCounterpartyPhone = new global::QS.Widgets.ValidatedEntry(); this.entryCounterpartyPhone.TooltipMarkup = "Формат телефона: Без +7 и 8 в начале"; this.entryCounterpartyPhone.CanFocus = true; this.entryCounterpartyPhone.Name = "entryCounterpartyPhone"; this.entryCounterpartyPhone.IsEditable = true; this.entryCounterpartyPhone.InvisibleChar = '•'; this.hboxSearchFields.Add(this.entryCounterpartyPhone); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxSearchFields[this.entryCounterpartyPhone])); w10.Position = 3; w10.Expand = false; w10.Fill = false; // Container child hboxSearchFields.Gtk.Box+BoxChild this.ylabelDeliveryPointPhone = new global::Gamma.GtkWidgets.yLabel(); this.ylabelDeliveryPointPhone.Name = "ylabelDeliveryPointPhone"; this.ylabelDeliveryPointPhone.LabelProp = global::Mono.Unix.Catalog.GetString("Телефон точки доставки:"); this.hboxSearchFields.Add(this.ylabelDeliveryPointPhone); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxSearchFields[this.ylabelDeliveryPointPhone])); w11.Position = 4; w11.Expand = false; w11.Fill = false; // Container child hboxSearchFields.Gtk.Box+BoxChild this.entryDeliveryPointPhone = new global::QS.Widgets.ValidatedEntry(); this.entryDeliveryPointPhone.TooltipMarkup = "Формат телефона: Без +7 и 8 в начале"; this.entryDeliveryPointPhone.CanFocus = true; this.entryDeliveryPointPhone.Name = "entryDeliveryPointPhone"; this.entryDeliveryPointPhone.IsEditable = true; this.entryDeliveryPointPhone.InvisibleChar = '•'; this.hboxSearchFields.Add(this.entryDeliveryPointPhone); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hboxSearchFields[this.entryDeliveryPointPhone])); w12.Position = 5; w12.Expand = false; w12.Fill = false; this.table1.Add(this.hboxSearchFields); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.hboxSearchFields])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.RightAttach = ((uint)(7)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(6)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Показывать только:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Тег:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w15.LeftAttach = ((uint)(5)); w15.RightAttach = ((uint)(6)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.table1.Add(this.vseparator1); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.vseparator1])); 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.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.table1.Add(this.vseparator2); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.vseparator2])); w17.LeftAttach = ((uint)(4)); w17.RightAttach = ((uint)(5)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryTag = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryTag.Events = ((global::Gdk.EventMask)(256)); this.yentryTag.Name = "yentryTag"; this.table1.Add(this.yentryTag); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryTag])); w18.LeftAttach = ((uint)(6)); w18.RightAttach = ((uint)(7)); w18.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.yenumCounterpartyType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumCounterpartyType.Name = "yenumCounterpartyType"; this.yenumCounterpartyType.ShowSpecialStateAll = true; this.yenumCounterpartyType.ShowSpecialStateNot = false; this.yenumCounterpartyType.UseShortTitle = false; this.yenumCounterpartyType.DefaultFirst = false; this.table1.Add(this.yenumCounterpartyType); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumCounterpartyType])); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(0)); w1.Add(this.table1); this.filterScrolledWindow.Add(w1); this.vboxMain.Add(this.filterScrolledWindow); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.filterScrolledWindow])); w22.Position = 0; this.Add(this.vboxMain); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.SubdivisionDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.SubdivisionDlg"; // Container child Vodovoz.SubdivisionDlg.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.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.table1.Add (this.hbox2); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox2])); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Название подразделения:"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Начальник подразделения:"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryName = new global::Gamma.GtkWidgets.yEntry (); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.InvisibleChar = '●'; this.table1.Add (this.yentryName); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryName])); 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.yentryreferenceChief = new global::Gamma.Widgets.yEntryReference (); this.yentryreferenceChief.Events = ((global::Gdk.EventMask)(256)); this.yentryreferenceChief.Name = "yentryreferenceChief"; this.table1.Add (this.yentryreferenceChief); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryreferenceChief])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.table1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.EquipmentTypeDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.EquipmentTypeDlg"; // Container child Vodovoz.EquipmentTypeDlg.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)(2)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.enumWarrantyType = new global::Gamma.Widgets.yEnumComboBox (); this.enumWarrantyType.Name = "enumWarrantyType"; this.enumWarrantyType.ShowSpecialStateAll = false; this.enumWarrantyType.ShowSpecialStateNot = false; this.enumWarrantyType.UseShortTitle = false; this.enumWarrantyType.DefaultFirst = false; this.table1.Add (this.enumWarrantyType); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.enumWarrantyType])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelName = new global::Gtk.Label (); this.labelName.Name = "labelName"; this.labelName.Xalign = 1F; this.labelName.LabelProp = global::Mono.Unix.Catalog.GetString ("Название:"); this.table1.Add (this.labelName); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelName])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelName1 = new global::Gtk.Label (); this.labelName1.Name = "labelName1"; this.labelName1.Xalign = 1F; this.labelName1.LabelProp = global::Mono.Unix.Catalog.GetString ("Тип гарантийного талона:"); this.table1.Add (this.labelName1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelName1])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.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 = 80; this.yentryName.InvisibleChar = '•'; this.table1.Add (this.yentryName); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryName])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add (this.table1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1])); w10.PackType = ((global::Gtk.PackType)(1)); w10.Position = 1; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.OrganizationDlg Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); this.UIManager.InsertActionGroup (w2, 0); this.Name = "Vodovoz.OrganizationDlg"; // Container child Vodovoz.OrganizationDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w3; this.hbox1.Add (this.buttonSave); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonSave])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w5 = new global::Gtk.Image (); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w5; this.hbox1.Add (this.buttonCancel); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator (); this.vseparator1.Name = "vseparator1"; this.hbox1.Add (this.vseparator1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vseparator1])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.radioTabInfo = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Основное")); this.radioTabInfo.CanFocus = true; this.radioTabInfo.Name = "radioTabInfo"; this.radioTabInfo.DrawIndicator = false; this.radioTabInfo.UseUnderline = true; this.radioTabInfo.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.hbox1.Add (this.radioTabInfo); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.radioTabInfo])); w8.Position = 3; // Container child hbox1.Gtk.Box+BoxChild this.radioTabAccounts = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Счета")); this.radioTabAccounts.CanFocus = true; this.radioTabAccounts.Name = "radioTabAccounts"; this.radioTabAccounts.DrawIndicator = false; this.radioTabAccounts.UseUnderline = true; this.radioTabAccounts.Group = this.radioTabInfo.Group; this.hbox1.Add (this.radioTabAccounts); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.radioTabAccounts])); w9.Position = 4; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notebookMain = new global::Gtk.Notebook (); this.notebookMain.CanFocus = true; this.notebookMain.Name = "notebookMain"; this.notebookMain.CurrentPage = 0; // Container child notebookMain.Gtk.Notebook+NotebookChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w11 = new global::Gtk.Viewport (); w11.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.datatableMain = new global::Gtk.Table (((uint)(11)), ((uint)(2)), false); this.datatableMain.Name = "datatableMain"; this.datatableMain.RowSpacing = ((uint)(6)); this.datatableMain.ColumnSpacing = ((uint)(6)); this.datatableMain.BorderWidth = ((uint)(2)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryEmail = new global::Gamma.Widgets.yValidatedEntry (); this.dataentryEmail.CanFocus = true; this.dataentryEmail.Name = "dataentryEmail"; this.dataentryEmail.IsEditable = true; this.dataentryEmail.MaxLength = 45; this.dataentryEmail.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryEmail); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryEmail])); w12.TopAttach = ((uint)(3)); w12.BottomAttach = ((uint)(4)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryFullName = new global::Gamma.GtkWidgets.yEntry (); this.dataentryFullName.CanFocus = true; this.dataentryFullName.Name = "dataentryFullName"; this.dataentryFullName.IsEditable = true; this.dataentryFullName.MaxLength = 200; this.dataentryFullName.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryFullName); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryFullName])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryINN = new global::Gamma.Widgets.yValidatedEntry (); this.dataentryINN.CanFocus = true; this.dataentryINN.Name = "dataentryINN"; this.dataentryINN.IsEditable = true; this.dataentryINN.MaxLength = 12; this.dataentryINN.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryINN); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryINN])); w14.TopAttach = ((uint)(6)); w14.BottomAttach = ((uint)(7)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryKPP = new global::Gamma.Widgets.yValidatedEntry (); this.dataentryKPP.CanFocus = true; this.dataentryKPP.Name = "dataentryKPP"; this.dataentryKPP.IsEditable = true; this.dataentryKPP.MaxLength = 9; this.dataentryKPP.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryKPP); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryKPP])); w15.TopAttach = ((uint)(7)); w15.BottomAttach = ((uint)(8)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryName = new global::Gamma.GtkWidgets.yEntry (); this.dataentryName.CanFocus = true; this.dataentryName.Name = "dataentryName"; this.dataentryName.IsEditable = true; this.dataentryName.MaxLength = 100; this.dataentryName.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryName); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryName])); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryOGRN = new global::Gamma.Widgets.yValidatedEntry (); this.dataentryOGRN.CanFocus = true; this.dataentryOGRN.Name = "dataentryOGRN"; this.dataentryOGRN.IsEditable = true; this.dataentryOGRN.MaxLength = 13; this.dataentryOGRN.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryOGRN); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryOGRN])); w17.TopAttach = ((uint)(8)); w17.BottomAttach = ((uint)(9)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.datatextviewJurAddress = new global::Gamma.GtkWidgets.yTextView (); this.datatextviewJurAddress.CanFocus = true; this.datatextviewJurAddress.Name = "datatextviewJurAddress"; this.datatextviewJurAddress.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow1.Add (this.datatextviewJurAddress); this.datatableMain.Add (this.GtkScrolledWindow1); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.GtkScrolledWindow1])); w19.TopAttach = ((uint)(10)); w19.BottomAttach = ((uint)(11)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.datatextviewAddress = new global::Gamma.GtkWidgets.yTextView (); this.datatextviewAddress.CanFocus = true; this.datatextviewAddress.Name = "datatextviewAddress"; this.datatextviewAddress.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow2.Add (this.datatextviewAddress); this.datatableMain.Add (this.GtkScrolledWindow2); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.GtkScrolledWindow2])); w21.TopAttach = ((uint)(9)); w21.BottomAttach = ((uint)(10)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("ОГРН:"); this.datatableMain.Add (this.label10); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label10])); w22.TopAttach = ((uint)(8)); w22.BottomAttach = ((uint)(9)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("E-mail:"); this.datatableMain.Add (this.label11); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label11])); w23.TopAttach = ((uint)(3)); w23.BottomAttach = ((uint)(4)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label13 = new global::Gtk.Label (); this.label13.Name = "label13"; this.label13.Xalign = 1F; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Руководитель:"); this.datatableMain.Add (this.label13); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label13])); w24.TopAttach = ((uint)(4)); w24.BottomAttach = ((uint)(5)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label14 = new global::Gtk.Label (); this.label14.Name = "label14"; this.label14.Xalign = 1F; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("Главный бухгалтер:"); this.datatableMain.Add (this.label14); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label14])); w25.TopAttach = ((uint)(5)); w25.BottomAttach = ((uint)(6)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Полное название:"); this.datatableMain.Add (this.label3); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label3])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Название<span foreground=\"red\">*</span>:"); this.label4.UseMarkup = true; this.datatableMain.Add (this.label4); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label4])); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.Yalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Адрес:"); this.datatableMain.Add (this.label5); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label5])); w28.TopAttach = ((uint)(9)); w28.BottomAttach = ((uint)(10)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.Yalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Юр. адрес:"); this.datatableMain.Add (this.label6); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label6])); w29.TopAttach = ((uint)(10)); w29.BottomAttach = ((uint)(11)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("ИНН:"); this.datatableMain.Add (this.label7); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label7])); w30.TopAttach = ((uint)(6)); w30.BottomAttach = ((uint)(7)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("КПП:"); this.datatableMain.Add (this.label8); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label8])); w31.TopAttach = ((uint)(7)); w31.BottomAttach = ((uint)(8)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.Yalign = 0F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Телефоны:"); this.datatableMain.Add (this.label9); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label9])); w32.TopAttach = ((uint)(2)); w32.BottomAttach = ((uint)(3)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.phonesview1 = new global::QSContacts.PhonesView (); this.phonesview1.Events = ((global::Gdk.EventMask)(256)); this.phonesview1.Name = "phonesview1"; this.datatableMain.Add (this.phonesview1); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.phonesview1])); w33.TopAttach = ((uint)(2)); w33.BottomAttach = ((uint)(3)); w33.LeftAttach = ((uint)(1)); w33.RightAttach = ((uint)(2)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.referenceBuhgalter = new global::Gamma.Widgets.yEntryReference (); this.referenceBuhgalter.Events = ((global::Gdk.EventMask)(256)); this.referenceBuhgalter.Name = "referenceBuhgalter"; this.referenceBuhgalter.DisplayFields = new string[] { "FullName" }; this.referenceBuhgalter.DisplayFormatString = "{0}"; this.datatableMain.Add (this.referenceBuhgalter); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.referenceBuhgalter])); w34.TopAttach = ((uint)(5)); w34.BottomAttach = ((uint)(6)); w34.LeftAttach = ((uint)(1)); w34.RightAttach = ((uint)(2)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.referenceLeader = new global::Gamma.Widgets.yEntryReference (); this.referenceLeader.Events = ((global::Gdk.EventMask)(256)); this.referenceLeader.Name = "referenceLeader"; this.referenceLeader.DisplayFields = new string[] { "FullName" }; this.referenceLeader.DisplayFormatString = "{0}"; this.datatableMain.Add (this.referenceLeader); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.referenceLeader])); w35.TopAttach = ((uint)(4)); w35.BottomAttach = ((uint)(5)); w35.LeftAttach = ((uint)(1)); w35.RightAttach = ((uint)(2)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); w11.Add (this.datatableMain); this.scrolledwindow1.Add (w11); this.notebookMain.Add (this.scrolledwindow1); // Notebook tab this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Информация"); this.notebookMain.SetTabLabel (this.scrolledwindow1, this.label1); this.label1.ShowAll (); // Container child notebookMain.Gtk.Notebook+NotebookChild this.accountsview1 = new global::QSBanks.AccountsView (); this.accountsview1.Events = ((global::Gdk.EventMask)(256)); this.accountsview1.Name = "accountsview1"; this.notebookMain.Add (this.accountsview1); global::Gtk.Notebook.NotebookChild w39 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.accountsview1])); w39.Position = 1; // Notebook tab this.label12 = new global::Gtk.Label (); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Счет"); this.notebookMain.SetTabLabel (this.accountsview1, this.label12); this.label12.ShowAll (); this.vbox1.Add (this.notebookMain); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebookMain])); w40.Position = 1; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } w1.SetUiManager (UIManager); this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); this.radioTabInfo.Toggled += new global::System.EventHandler (this.OnRadioTabInfoToggled); this.radioTabAccounts.Toggled += new global::System.EventHandler (this.OnRadioTabAccountsToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Cash.CashIncomeCategoryDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Cash.CashIncomeCategoryDlg"; // Container child Vodovoz.Dialogs.Cash.CashIncomeCategoryDlg.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)(2)), ((uint)(2)), false); this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.labelName = new global::Gtk.Label(); this.labelName.Name = "labelName"; this.labelName.Xalign = 1F; this.labelName.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.table1.Add(this.labelName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.labelName])); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelType = new global::Gtk.Label(); this.labelType.Name = "labelType"; this.labelType.Xalign = 0F; this.labelType.LabelProp = global::Mono.Unix.Catalog.GetString("Тип документа"); this.table1.Add(this.labelType); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.labelType])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryName = new global::Gamma.GtkWidgets.yEntry(); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.InvisibleChar = '•'; this.table1.Add(this.yentryName); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryName])); 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.yenumTypeDocument = new global::Gamma.Widgets.yEnumComboBox(); this.yenumTypeDocument.Name = "yenumTypeDocument"; this.yenumTypeDocument.ShowSpecialStateAll = false; this.yenumTypeDocument.ShowSpecialStateNot = false; this.yenumTypeDocument.UseShortTitle = false; this.yenumTypeDocument.DefaultFirst = false; this.table1.Add(this.yenumTypeDocument); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumTypeDocument])); 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)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w10.Position = 1; w10.Expand = false; w10.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 QSBanks.BankDlg global::Stetic.BinContainer.Attach (this); this.Name = "QSBanks.BankDlg"; // Container child QSBanks.BankDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox1.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox1.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.labelDeleted = new global::Gtk.Label (); this.labelDeleted.Name = "labelDeleted"; this.vbox1.Add (this.labelDeleted); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.labelDeleted])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.datatableInfo = new global::Gtk.Table (((uint)(5)), ((uint)(2)), false); this.datatableInfo.Name = "datatableInfo"; this.datatableInfo.RowSpacing = ((uint)(6)); this.datatableInfo.ColumnSpacing = ((uint)(6)); // Container child datatableInfo.Gtk.Table+TableChild this.dataentryBik = new global::Gamma.GtkWidgets.yEntry (); this.dataentryBik.CanFocus = true; this.dataentryBik.Name = "dataentryBik"; this.dataentryBik.IsEditable = true; this.dataentryBik.MaxLength = 9; this.dataentryBik.InvisibleChar = '●'; this.datatableInfo.Add (this.dataentryBik); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.datatableInfo [this.dataentryBik])); 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 datatableInfo.Gtk.Table+TableChild this.dataentryCity = new global::Gamma.GtkWidgets.yEntry (); this.dataentryCity.CanFocus = true; this.dataentryCity.Name = "dataentryCity"; this.dataentryCity.IsEditable = true; this.dataentryCity.MaxLength = 45; this.dataentryCity.InvisibleChar = '●'; this.datatableInfo.Add (this.dataentryCity); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatableInfo [this.dataentryCity])); w8.TopAttach = ((uint)(4)); w8.BottomAttach = ((uint)(5)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableInfo.Gtk.Table+TableChild this.dataentryCorAccount = new global::Gamma.GtkWidgets.yEntry (); this.dataentryCorAccount.CanFocus = true; this.dataentryCorAccount.Name = "dataentryCorAccount"; this.dataentryCorAccount.IsEditable = true; this.dataentryCorAccount.MaxLength = 25; this.dataentryCorAccount.InvisibleChar = '●'; this.datatableInfo.Add (this.dataentryCorAccount); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatableInfo [this.dataentryCorAccount])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableInfo.Gtk.Table+TableChild this.dataentryName = new global::Gamma.GtkWidgets.yEntry (); this.dataentryName.CanFocus = true; this.dataentryName.Name = "dataentryName"; this.dataentryName.IsEditable = true; this.dataentryName.MaxLength = 200; this.dataentryName.InvisibleChar = '●'; this.datatableInfo.Add (this.dataentryName); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatableInfo [this.dataentryName])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableInfo.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.datatableInfo.Add (this.label1); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatableInfo [this.label1])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableInfo.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.datatableInfo.Add (this.label2); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatableInfo [this.label2])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableInfo.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.datatableInfo.Add (this.label3); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatableInfo [this.label3])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableInfo.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.datatableInfo.Add (this.label4); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatableInfo [this.label4])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableInfo.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.datatableInfo.Add (this.label5); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatableInfo [this.label5])); w15.TopAttach = ((uint)(4)); w15.BottomAttach = ((uint)(5)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableInfo.Gtk.Table+TableChild this.labelRegion = new global::Gamma.GtkWidgets.yLabel (); this.labelRegion.Name = "labelRegion"; this.labelRegion.LabelProp = global::Mono.Unix.Catalog.GetString ("отсутствует"); this.labelRegion.Selectable = true; this.datatableInfo.Add (this.labelRegion); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatableInfo [this.labelRegion])); 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.vbox1.Add (this.datatableInfo); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.datatableInfo])); w17.Position = 2; w17.Expand = false; w17.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.IncomeDocDlg global::Stetic.BinContainer.Attach(this); this.Name = "workwear.IncomeDocDlg"; // Container child workwear.IncomeDocDlg.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)(5)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.entityWarehouseIncome = new global::QS.Views.Control.EntityEntry(); this.entityWarehouseIncome.Events = ((global::Gdk.EventMask)(256)); this.entityWarehouseIncome.Name = "entityWarehouseIncome"; this.table2.Add(this.entityWarehouseIncome); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2[this.entityWarehouseIncome])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entrySubdivision = new global::QS.Views.Control.EntityEntry(); this.entrySubdivision.Events = ((global::Gdk.EventMask)(256)); this.entrySubdivision.Name = "entrySubdivision"; this.table2.Add(this.entrySubdivision); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2[this.entrySubdivision])); w7.TopAttach = ((uint)(4)); w7.BottomAttach = ((uint)(5)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child 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("Операция<span foreground=\"red\">*</span>:"); this.label1.UseMarkup = true; this.table2.Add(this.label1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2[this.label1])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.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 w9 = ((global::Gtk.Table.TableChild)(this.table2[this.label3])); 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.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 w10 = ((global::Gtk.Table.TableChild)(this.table2[this.labelObject])); w10.TopAttach = ((uint)(4)); w10.BottomAttach = ((uint)(5)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelTTN = new global::Gtk.Label(); this.labelTTN.Name = "labelTTN"; this.labelTTN.Xalign = 1F; this.labelTTN.LabelProp = global::Mono.Unix.Catalog.GetString("ТН №:"); this.labelTTN.UseMarkup = true; this.table2.Add(this.labelTTN); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2[this.labelTTN])); 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.labelWorker = new global::Gtk.Label(); this.labelWorker.Name = "labelWorker"; this.labelWorker.Xalign = 1F; this.labelWorker.LabelProp = global::Mono.Unix.Catalog.GetString("Работник<span foreground=\"red\">*</span>:"); this.labelWorker.UseMarkup = true; this.table2.Add(this.labelWorker); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2[this.labelWorker])); w12.TopAttach = ((uint)(3)); w12.BottomAttach = ((uint)(4)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.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 w13 = ((global::Gtk.Table.TableChild)(this.table2[this.ycomboOperation])); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryEmployee = new global::QS.Views.Control.EntityEntry(); this.yentryEmployee.Events = ((global::Gdk.EventMask)(256)); this.yentryEmployee.Name = "yentryEmployee"; this.table2.Add(this.yentryEmployee); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2[this.yentryEmployee])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child 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 = 8; this.yentryNumber.InvisibleChar = '●'; this.table2.Add(this.yentryNumber); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2[this.yentryNumber])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table2])); w16.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 w18 = ((global::Gtk.Table.TableChild)(this.table3[this.GtkScrolledWindowComments])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child 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 w19 = ((global::Gtk.Table.TableChild)(this.table3[this.label26])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.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 w20 = ((global::Gtk.Table.TableChild)(this.table3[this.label4])); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.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 w21 = ((global::Gtk.Table.TableChild)(this.table3[this.label5])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.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 w22 = ((global::Gtk.Table.TableChild)(this.table3[this.label6])); w22.TopAttach = ((uint)(2)); w22.BottomAttach = ((uint)(3)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.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 w23 = ((global::Gtk.Table.TableChild)(this.table3[this.ydateDoc])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(2)); w23.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 w24 = ((global::Gtk.Table.TableChild)(this.table3[this.ylabelCreatedBy])); w24.TopAttach = ((uint)(1)); w24.BottomAttach = ((uint)(2)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.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 w25 = ((global::Gtk.Table.TableChild)(this.table3[this.ylabelId])); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table3); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table3])); w26.Position = 1; this.dialog1_VBox.Add(this.hbox1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox1])); w27.Position = 1; w27.Expand = false; w27.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.ItemsTable = new global::workwear.Dialogs.Stock.IncomeDocItemsView(); this.ItemsTable.Events = ((global::Gdk.EventMask)(256)); this.ItemsTable.Name = "ItemsTable"; this.dialog1_VBox.Add(this.ItemsTable); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.ItemsTable])); w28.Position = 2; this.Add(this.dialog1_VBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.ycomboOperation.Changed += new global::System.EventHandler(this.OnYcomboOperationChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Employees.PremiumView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Employees.PremiumView"; // Container child Vodovoz.Views.Employees.PremiumView.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox5.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox5.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox3.Add(this.hbox5); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox5])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.tablePremium = new global::Gtk.Table(((uint)(3)), ((uint)(4)), false); this.tablePremium.Name = "tablePremium"; this.tablePremium.RowSpacing = ((uint)(6)); this.tablePremium.ColumnSpacing = ((uint)(6)); // Container child tablePremium.Gtk.Table+TableChild this.employeeViewModelEntry = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.employeeViewModelEntry.Events = ((global::Gdk.EventMask)(256)); this.employeeViewModelEntry.Name = "employeeViewModelEntry"; this.employeeViewModelEntry.CanEditReference = true; this.tablePremium.Add(this.employeeViewModelEntry); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.employeeViewModelEntry])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(4)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePremium.Gtk.Table+TableChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.yspinMoney = new global::Gamma.GtkWidgets.ySpinButton(0D, 100000D, 1D); this.yspinMoney.CanFocus = true; this.yspinMoney.Name = "yspinMoney"; this.yspinMoney.Adjustment.PageIncrement = 100D; this.yspinMoney.ClimbRate = 1D; this.yspinMoney.Digits = ((uint)(2)); this.yspinMoney.Numeric = true; this.yspinMoney.ValueAsDecimal = 0m; this.yspinMoney.ValueAsInt = 0; this.hbox2.Add(this.yspinMoney); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.yspinMoney])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = "currencylabel1"; this.hbox2.Add(this.currencylabel1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.currencylabel1])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonDivideAtAll = new global::Gtk.Button(); this.buttonDivideAtAll.CanFocus = true; this.buttonDivideAtAll.Name = "buttonDivideAtAll"; this.buttonDivideAtAll.UseUnderline = true; this.buttonDivideAtAll.Label = global::Mono.Unix.Catalog.GetString("Разбить на всех"); this.hbox2.Add(this.buttonDivideAtAll); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonDivideAtAll])); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.tablePremium.Add(this.hbox2); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.hbox2])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(3)); w10.RightAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePremium.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.yentryPremiumReasonString = new global::Gamma.GtkWidgets.yEntry(); this.yentryPremiumReasonString.CanFocus = true; this.yentryPremiumReasonString.Name = "yentryPremiumReasonString"; this.yentryPremiumReasonString.IsEditable = true; this.yentryPremiumReasonString.InvisibleChar = '●'; this.hbox4.Add(this.yentryPremiumReasonString); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.yentryPremiumReasonString])); w11.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.buttonGetReasonFromTemplate = new global::Gtk.Button(); this.buttonGetReasonFromTemplate.CanFocus = true; this.buttonGetReasonFromTemplate.Name = "buttonGetReasonFromTemplate"; this.buttonGetReasonFromTemplate.UseUnderline = true; this.buttonGetReasonFromTemplate.Label = global::Mono.Unix.Catalog.GetString("Заполнить из шаблона"); this.hbox4.Add(this.buttonGetReasonFromTemplate); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonGetReasonFromTemplate])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.tablePremium.Add(this.hbox4); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.hbox4])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePremium.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.tablePremium.Add(this.label1); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.label1])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePremium.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Основание:"); this.tablePremium.Add(this.label3); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.label3])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePremium.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Сумма премии:"); this.tablePremium.Add(this.label4); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.label4])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.LeftAttach = ((uint)(2)); w16.RightAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePremium.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Премию выдал:"); this.tablePremium.Add(this.label7); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.label7])); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tablePremium.Gtk.Table+TableChild this.ylabelDate = new global::Gamma.GtkWidgets.yLabel(); this.ylabelDate.Name = "ylabelDate"; this.ylabelDate.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.tablePremium.Add(this.ylabelDate); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tablePremium[this.ylabelDate])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add(this.tablePremium); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.tablePremium])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Премированные сотрудники:"); this.vbox3.Add(this.label2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.label2])); w20.Position = 2; w20.Expand = false; w20.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytreeviewItems = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewItems.CanFocus = true; this.ytreeviewItems.Name = "ytreeviewItems"; this.GtkScrolledWindow.Add(this.ytreeviewItems); this.vbox3.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow])); w22.Position = 3; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.buttonAdd = new global::Gtk.Button(); this.buttonAdd.CanFocus = true; this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.UseUnderline = true; this.buttonAdd.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w23 = new global::Gtk.Image(); w23.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAdd.Image = w23; this.hbox3.Add(this.buttonAdd); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonAdd])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonRemove = new global::Gtk.Button(); this.buttonRemove.CanFocus = true; this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.UseUnderline = true; this.buttonRemove.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w25 = new global::Gtk.Image(); w25.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.buttonRemove.Image = w25; this.hbox3.Add(this.buttonRemove); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonRemove])); w26.Position = 1; w26.Expand = false; w26.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.ylabelTotal = new global::Gamma.GtkWidgets.yLabel(); this.ylabelTotal.Name = "ylabelTotal"; this.hbox3.Add(this.ylabelTotal); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.ylabelTotal])); w27.PackType = ((global::Gtk.PackType)(1)); w27.Position = 2; w27.Expand = false; w27.Fill = false; this.vbox3.Add(this.hbox3); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox3])); w28.Position = 4; w28.Expand = false; w28.Fill = false; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Employees.TraineeDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Employees.TraineeDlg"; // Container child Vodovoz.Dialogs.Employees.TraineeDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; this.vbox1.BorderWidth = ((uint)(6)); // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox1.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox1.Add(this.vseparator1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator1])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.radioTabInfo = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Основное")); this.radioTabInfo.CanFocus = true; this.radioTabInfo.Name = "radioTabInfo"; this.radioTabInfo.DrawIndicator = false; this.radioTabInfo.UseUnderline = true; this.radioTabInfo.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.hbox1.Add(this.radioTabInfo); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioTabInfo])); w6.Position = 3; // Container child hbox1.Gtk.Box+BoxChild this.radioTabAccounting = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Реквизиты")); this.radioTabAccounting.CanFocus = true; this.radioTabAccounting.Name = "radioTabAccounting"; this.radioTabAccounting.DrawIndicator = false; this.radioTabAccounting.UseUnderline = true; this.radioTabAccounting.Group = this.radioTabInfo.Group; this.hbox1.Add(this.radioTabAccounting); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioTabAccounting])); w7.Position = 4; // Container child hbox1.Gtk.Box+BoxChild this.radioTabFiles = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Файлы")); this.radioTabFiles.CanFocus = true; this.radioTabFiles.Name = "radioTabFiles"; this.radioTabFiles.DrawIndicator = false; this.radioTabFiles.UseUnderline = true; this.radioTabFiles.Group = this.radioTabInfo.Group; this.hbox1.Add(this.radioTabFiles); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioTabFiles])); w8.Position = 5; // Container child hbox1.Gtk.Box+BoxChild this.radioTabDocuments = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Документы")); this.radioTabDocuments.CanFocus = true; this.radioTabDocuments.Name = "radioTabDocuments"; this.radioTabDocuments.DrawIndicator = false; this.radioTabDocuments.UseUnderline = true; this.radioTabDocuments.Group = this.radioTabInfo.Group; this.hbox1.Add(this.radioTabDocuments); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioTabDocuments])); w9.Position = 6; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notebookMain = new global::Gtk.Notebook(); this.notebookMain.CanFocus = true; this.notebookMain.Name = "notebookMain"; this.notebookMain.CurrentPage = 0; // Container child notebookMain.Gtk.Notebook+NotebookChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w11 = new global::Gtk.Viewport(); w11.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.datatableMain = new global::Gtk.Table(((uint)(10)), ((uint)(3)), false); this.datatableMain.Name = "datatableMain"; this.datatableMain.RowSpacing = ((uint)(6)); this.datatableMain.ColumnSpacing = ((uint)(6)); this.datatableMain.BorderWidth = ((uint)(6)); // Container child datatableMain.Gtk.Table+TableChild this.checkbuttonRussianCitizen = new global::Gamma.GtkWidgets.yCheckButton(); this.checkbuttonRussianCitizen.CanFocus = true; this.checkbuttonRussianCitizen.Name = "checkbuttonRussianCitizen"; this.checkbuttonRussianCitizen.Label = global::Mono.Unix.Catalog.GetString("Гражданство РФ"); this.checkbuttonRussianCitizen.Active = true; this.checkbuttonRussianCitizen.DrawIndicator = true; this.checkbuttonRussianCitizen.UseUnderline = true; this.checkbuttonRussianCitizen.FocusOnClick = false; this.checkbuttonRussianCitizen.Relief = ((global::Gtk.ReliefStyle)(2)); this.datatableMain.Add(this.checkbuttonRussianCitizen); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.checkbuttonRussianCitizen])); 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)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryDrivingNumber = new global::Gamma.GtkWidgets.yEntry(); this.dataentryDrivingNumber.TooltipMarkup = "Десять символов серии и номера без пробелов."; this.dataentryDrivingNumber.CanFocus = true; this.dataentryDrivingNumber.Name = "dataentryDrivingNumber"; this.dataentryDrivingNumber.IsEditable = true; this.dataentryDrivingNumber.MaxLength = 45; this.dataentryDrivingNumber.InvisibleChar = '●'; this.datatableMain.Add(this.dataentryDrivingNumber); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryDrivingNumber])); w13.TopAttach = ((uint)(9)); w13.BottomAttach = ((uint)(10)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(3)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryLastName = new global::Gamma.GtkWidgets.yEntry(); this.dataentryLastName.CanFocus = true; this.dataentryLastName.Name = "dataentryLastName"; this.dataentryLastName.IsEditable = true; this.dataentryLastName.InvisibleChar = '●'; this.datatableMain.Add(this.dataentryLastName); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryLastName])); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryName = new global::Gamma.GtkWidgets.yEntry(); this.dataentryName.CanFocus = true; this.dataentryName.Name = "dataentryName"; this.dataentryName.IsEditable = true; this.dataentryName.MaxLength = 100; this.dataentryName.InvisibleChar = '●'; this.datatableMain.Add(this.dataentryName); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryName])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryPatronymic = new global::Gamma.GtkWidgets.yEntry(); this.dataentryPatronymic.CanFocus = true; this.dataentryPatronymic.Name = "dataentryPatronymic"; this.dataentryPatronymic.IsEditable = true; this.dataentryPatronymic.InvisibleChar = '●'; this.datatableMain.Add(this.dataentryPatronymic); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.dataentryPatronymic])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.entryAddressCurrent = new global::Gamma.GtkWidgets.yEntry(); this.entryAddressCurrent.CanFocus = true; this.entryAddressCurrent.Name = "entryAddressCurrent"; this.entryAddressCurrent.IsEditable = true; this.entryAddressCurrent.InvisibleChar = '●'; this.datatableMain.Add(this.entryAddressCurrent); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.entryAddressCurrent])); w17.TopAttach = ((uint)(8)); w17.BottomAttach = ((uint)(9)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.entryAddressRegistration = new global::Gamma.GtkWidgets.yEntry(); this.entryAddressRegistration.CanFocus = true; this.entryAddressRegistration.Name = "entryAddressRegistration"; this.entryAddressRegistration.IsEditable = true; this.entryAddressRegistration.InvisibleChar = '●'; this.datatableMain.Add(this.entryAddressRegistration); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.entryAddressRegistration])); w18.TopAttach = ((uint)(7)); w18.BottomAttach = ((uint)(8)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Телефон:"); this.datatableMain.Add(this.label10); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label10])); w19.TopAttach = ((uint)(6)); w19.BottomAttach = ((uint)(7)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Водительское удостоверение:"); this.datatableMain.Add(this.label11); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label11])); w20.TopAttach = ((uint)(9)); w20.BottomAttach = ((uint)(10)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.datatableMain.Add(this.label13); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label13])); w21.TopAttach = ((uint)(4)); w21.BottomAttach = ((uint)(5)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.Xalign = 1F; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Адрес регистрации:"); this.datatableMain.Add(this.label14); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label14])); w22.TopAttach = ((uint)(7)); w22.BottomAttach = ((uint)(8)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.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.datatableMain.Add(this.label15); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label15])); w23.TopAttach = ((uint)(8)); w23.BottomAttach = ((uint)(9)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.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.label2.UseMarkup = true; this.datatableMain.Add(this.label2); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label2])); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Имя:"); this.datatableMain.Add(this.label5); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label5])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Отчество:"); this.datatableMain.Add(this.label6); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label6])); w26.TopAttach = ((uint)(2)); w26.BottomAttach = ((uint)(3)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Национальность:"); this.datatableMain.Add(this.label7); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.label7])); w27.TopAttach = ((uint)(3)); w27.BottomAttach = ((uint)(4)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.labelCitizenship = new global::Gtk.Label(); this.labelCitizenship.Name = "labelCitizenship"; this.labelCitizenship.Xalign = 1F; this.labelCitizenship.LabelProp = global::Mono.Unix.Catalog.GetString("Ин.гражданство:"); this.datatableMain.Add(this.labelCitizenship); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.labelCitizenship])); w28.TopAttach = ((uint)(5)); w28.BottomAttach = ((uint)(6)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.phonesView = new global::Vodovoz.Views.Contacts.PhonesView(); this.phonesView.Events = ((global::Gdk.EventMask)(256)); this.phonesView.Name = "phonesView"; this.phonesView.IsReadOnly = false; this.datatableMain.Add(this.phonesView); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.phonesView])); w29.TopAttach = ((uint)(6)); w29.BottomAttach = ((uint)(7)); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(3)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.photoviewEmployee = new global::QS.Widgets.GtkUI.PhotoView(); this.photoviewEmployee.Events = ((global::Gdk.EventMask)(256)); this.photoviewEmployee.Name = "photoviewEmployee"; this.photoviewEmployee.CanPrint = false; this.datatableMain.Add(this.photoviewEmployee); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.photoviewEmployee])); w30.BottomAttach = ((uint)(4)); w30.LeftAttach = ((uint)(2)); w30.RightAttach = ((uint)(3)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.referenceCitizenship = new global::Gamma.Widgets.yEntryReference(); this.referenceCitizenship.Events = ((global::Gdk.EventMask)(256)); this.referenceCitizenship.Name = "referenceCitizenship"; this.datatableMain.Add(this.referenceCitizenship); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.referenceCitizenship])); w31.TopAttach = ((uint)(5)); w31.BottomAttach = ((uint)(6)); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.referenceNationality = new global::Gamma.Widgets.yEntryReference(); this.referenceNationality.Events = ((global::Gdk.EventMask)(256)); this.referenceNationality.Name = "referenceNationality"; this.datatableMain.Add(this.referenceNationality); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.datatableMain[this.referenceNationality])); w32.TopAttach = ((uint)(3)); w32.BottomAttach = ((uint)(4)); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); w11.Add(this.datatableMain); this.GtkScrolledWindow.Add(w11); this.notebookMain.Add(this.GtkScrolledWindow); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Информация"); this.notebookMain.SetTabLabel(this.GtkScrolledWindow, this.label1); this.label1.ShowAll(); // Container child notebookMain.Gtk.Notebook+NotebookChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; this.vbox5.BorderWidth = ((uint)(6)); // Container child vbox5.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.label19 = new global::Gtk.Label(); this.label19.Name = "label19"; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString("ИНН:"); this.hbox6.Add(this.label19); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.label19])); w36.Position = 0; w36.Expand = false; w36.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.entryInn = new global::Gamma.GtkWidgets.yEntry(); this.entryInn.CanFocus = true; this.entryInn.Name = "entryInn"; this.entryInn.IsEditable = true; this.entryInn.InvisibleChar = '●'; this.hbox6.Add(this.entryInn); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.entryInn])); w37.Position = 1; this.vbox5.Add(this.hbox6); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox6])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.accountsView = new global::QSBanks.AccountsView(); this.accountsView.Events = ((global::Gdk.EventMask)(256)); this.accountsView.Name = "accountsView"; this.accountsView.CanEdit = true; this.vbox5.Add(this.accountsView); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.accountsView])); w39.Position = 1; this.notebookMain.Add(this.vbox5); global::Gtk.Notebook.NotebookChild w40 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain[this.vbox5])); w40.Position = 1; // Notebook tab this.label17 = new global::Gtk.Label(); this.label17.Name = "label17"; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString("Реквизиты"); this.notebookMain.SetTabLabel(this.vbox5, this.label17); this.label17.ShowAll(); // Container child notebookMain.Gtk.Notebook+NotebookChild this.attachmentsView = new global::QSAttachment.Views.Widgets.AttachmentsView(); this.attachmentsView.Events = ((global::Gdk.EventMask)(256)); this.attachmentsView.Name = "attachmentsView"; this.notebookMain.Add(this.attachmentsView); global::Gtk.Notebook.NotebookChild w41 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain[this.attachmentsView])); w41.Position = 2; // Notebook tab this.label24 = new global::Gtk.Label(); this.label24.Name = "label24"; this.label24.LabelProp = global::Mono.Unix.Catalog.GetString("Файлы"); this.notebookMain.SetTabLabel(this.attachmentsView, this.label24); this.label24.ShowAll(); // Container child notebookMain.Gtk.Notebook+NotebookChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.hbox12 = new global::Gtk.HBox(); this.hbox12.Name = "hbox12"; this.hbox12.Spacing = 6; // Container child hbox12.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w42 = new global::Gtk.Image(); w42.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.button1.Image = w42; this.hbox12.Add(this.button1); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.button1])); w43.Position = 0; w43.Expand = false; w43.Fill = false; // Container child hbox12.Gtk.Box+BoxChild this.buttonDocumentEdit = new global::Gtk.Button(); this.buttonDocumentEdit.CanFocus = true; this.buttonDocumentEdit.Name = "buttonDocumentEdit"; this.buttonDocumentEdit.UseUnderline = true; this.buttonDocumentEdit.Label = global::Mono.Unix.Catalog.GetString("Изменить"); global::Gtk.Image w44 = new global::Gtk.Image(); w44.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonDocumentEdit.Image = w44; this.hbox12.Add(this.buttonDocumentEdit); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.buttonDocumentEdit])); w45.Position = 1; w45.Expand = false; w45.Fill = false; // Container child hbox12.Gtk.Box+BoxChild this.button3 = new global::Gtk.Button(); this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w46 = new global::Gtk.Image(); w46.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.button3.Image = w46; this.hbox12.Add(this.button3); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.button3])); w47.Position = 2; w47.Expand = false; w47.Fill = false; this.vbox7.Add(this.hbox12); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox12])); w48.Position = 0; w48.Expand = false; w48.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild this.ytreeviewEmployeeDocument = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewEmployeeDocument.CanFocus = true; this.ytreeviewEmployeeDocument.Name = "ytreeviewEmployeeDocument"; this.GtkScrolledWindow4.Add(this.ytreeviewEmployeeDocument); this.vbox7.Add(this.GtkScrolledWindow4); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.GtkScrolledWindow4])); w50.Position = 1; this.notebookMain.Add(this.vbox7); global::Gtk.Notebook.NotebookChild w51 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain[this.vbox7])); w51.Position = 3; // Notebook tab this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Документы"); this.notebookMain.SetTabLabel(this.vbox7, this.label3); this.label3.ShowAll(); this.vbox1.Add(this.notebookMain); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.notebookMain])); w52.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonChangeToEmployee = new global::Gtk.Button(); this.buttonChangeToEmployee.CanFocus = true; this.buttonChangeToEmployee.Name = "buttonChangeToEmployee"; this.buttonChangeToEmployee.UseUnderline = true; this.buttonChangeToEmployee.Label = global::Mono.Unix.Catalog.GetString("Перевести в сотрудники"); this.hbox5.Add(this.buttonChangeToEmployee); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonChangeToEmployee])); w53.PackType = ((global::Gtk.PackType)(1)); w53.Position = 2; w53.Expand = false; w53.Fill = false; this.vbox1.Add(this.hbox5); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox5])); w54.PackType = ((global::Gtk.PackType)(1)); w54.Position = 2; w54.Expand = false; w54.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.radioTabInfo.Toggled += new global::System.EventHandler(this.OnRadioTabInfoToggled); this.radioTabAccounting.Toggled += new global::System.EventHandler(this.OnRadioTabAccountingToggled); this.radioTabFiles.Toggled += new global::System.EventHandler(this.OnRadioTabFilesToggled); this.radioTabDocuments.Toggled += new global::System.EventHandler(this.OnRadioTabDocumentsToggled); this.checkbuttonRussianCitizen.Toggled += new global::System.EventHandler(this.OnRussianCitizenToggled); this.button1.Clicked += new global::System.EventHandler(this.OnButtonAddDocumentClicked); this.buttonDocumentEdit.Clicked += new global::System.EventHandler(this.OnButtonEditDocumentClicked); this.button3.Clicked += new global::System.EventHandler(this.OnButtonRemoveDocumentClicked); this.ytreeviewEmployeeDocument.RowActivated += new global::Gtk.RowActivatedHandler(this.OnEmployeeDocumentRowActivated); this.buttonChangeToEmployee.Clicked += new global::System.EventHandler(this.OnButtonChangeToEmployeeClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget QSOsm.JsonAddressEntry global::Stetic.BinContainer.Attach(this); this.Name = "QSOsm.JsonAddressEntry"; // Container child QSOsm.JsonAddressEntry.Gtk.Container+ContainerChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(4)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entryBuilding = new global::QSOsm.HouseEntry(); this.entryBuilding.CanFocus = true; this.entryBuilding.Name = "entryBuilding"; this.entryBuilding.IsEditable = true; this.entryBuilding.WidthChars = 17; this.entryBuilding.InvisibleChar = '●'; this.table1.Add(this.entryBuilding); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryBuilding])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.LeftAttach = ((uint)(3)); w1.RightAttach = ((uint)(4)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryCity = new global::QSOsm.CityEntry(); this.entryCity.CanFocus = true; this.entryCity.Name = "entryCity"; this.entryCity.IsEditable = true; this.entryCity.InvisibleChar = '●'; this.table1.Add(this.entryCity); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryCity])); 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.entryStreet = new global::QSOsm.StreetEntry(); this.entryStreet.CanFocus = true; this.entryStreet.Name = "entryStreet"; this.entryStreet.IsEditable = true; this.entryStreet.InvisibleChar = '●'; this.entryStreet.CityId = 0; this.table1.Add(this.entryStreet); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryStreet])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.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.yvalidatedentryPostalCode = new global::Gamma.Widgets.yValidatedEntry(); this.yvalidatedentryPostalCode.CanFocus = true; this.yvalidatedentryPostalCode.Name = "yvalidatedentryPostalCode"; this.yvalidatedentryPostalCode.IsEditable = true; this.yvalidatedentryPostalCode.MaxLength = 6; this.yvalidatedentryPostalCode.InvisibleChar = '●'; this.hbox1.Add(this.yvalidatedentryPostalCode); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.yvalidatedentryPostalCode])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonClean = new global::Gtk.Button(); this.buttonClean.TooltipMarkup = "Очистить адрес"; this.buttonClean.CanFocus = true; this.buttonClean.Name = "buttonClean"; this.buttonClean.UseUnderline = true; this.buttonClean.Relief = ((global::Gtk.ReliefStyle)(1)); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonClean.Image = w5; this.hbox1.Add(this.buttonClean); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonClean])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.table1.Add(this.hbox1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox1])); w7.LeftAttach = ((uint)(3)); w7.RightAttach = ((uint)(4)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.yentryLiter = new global::Gamma.GtkWidgets.yEntry(); this.yentryLiter.CanFocus = true; this.yentryLiter.Name = "yentryLiter"; this.yentryLiter.IsEditable = true; this.yentryLiter.WidthChars = 10; this.yentryLiter.InvisibleChar = '●'; this.hbox9.Add(this.yentryLiter); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.yentryLiter])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.comboRoomType = new global::Gamma.Widgets.yEnumComboBox(); this.comboRoomType.Name = "comboRoomType"; this.comboRoomType.ShowSpecialStateAll = false; this.comboRoomType.ShowSpecialStateNot = false; this.comboRoomType.UseShortTitle = false; this.comboRoomType.DefaultFirst = false; this.hbox9.Add(this.comboRoomType); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.comboRoomType])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("№:"); this.hbox9.Add(this.label5); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.label5])); w10.Position = 2; w10.Expand = false; w10.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.entryRoom = new global::Gamma.GtkWidgets.yEntry(); this.entryRoom.CanFocus = true; this.entryRoom.Name = "entryRoom"; this.entryRoom.IsEditable = true; this.entryRoom.MaxLength = 20; this.entryRoom.InvisibleChar = '●'; this.hbox9.Add(this.entryRoom); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.entryRoom])); w11.Position = 3; this.table1.Add(this.hbox9); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox9])); 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.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 w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Индекс:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Город:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Улица:"); this.table1.Add(this.label6); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6])); 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.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Дом:"); this.table1.Add(this.label7); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Дополнение:"); this.table1.Add(this.label8); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelFloor = new global::Gtk.Label(); this.labelFloor.Name = "labelFloor"; this.labelFloor.Xalign = 1F; this.labelFloor.LabelProp = global::Mono.Unix.Catalog.GetString("Этаж:"); this.table1.Add(this.labelFloor); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelFloor])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(2)); w19.RightAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinFloor = new global::Gamma.GtkWidgets.ySpinButton(-5, 100, 1); this.spinFloor.WidthRequest = 0; this.spinFloor.HeightRequest = 0; this.spinFloor.CanFocus = true; this.spinFloor.Name = "spinFloor"; this.spinFloor.Adjustment.PageIncrement = 10; this.spinFloor.ClimbRate = 1; this.spinFloor.Numeric = true; this.spinFloor.Value = 4; this.spinFloor.ValueAsDecimal = 0m; this.spinFloor.ValueAsInt = 0; this.table1.Add(this.spinFloor); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.spinFloor])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(3)); w20.RightAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryAddition = new global::Gamma.GtkWidgets.yEntry(); this.yentryAddition.CanFocus = true; this.yentryAddition.Name = "yentryAddition"; this.yentryAddition.IsEditable = true; this.yentryAddition.MaxLength = 100; this.yentryAddition.InvisibleChar = '●'; this.table1.Add(this.yentryAddition); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryAddition])); w21.TopAttach = ((uint)(3)); w21.BottomAttach = ((uint)(4)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(4)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.expander1.Add(this.table1); this.ExpanderLabel = new global::Gtk.Label(); this.ExpanderLabel.Name = "ExpanderLabel"; this.ExpanderLabel.LabelProp = global::Mono.Unix.Catalog.GetString("АДРЕС ПУСТОЙ"); this.ExpanderLabel.Selectable = true; this.expander1.LabelWidget = this.ExpanderLabel; this.Add(this.expander1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.spinFloor.Shown += new global::System.EventHandler(this.OnSpinFloorShown); this.labelFloor.Shown += new global::System.EventHandler(this.OnLabelFloorShown); this.buttonClean.Clicked += new global::System.EventHandler(this.OnButtonCleanClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Client.CounterpartyActivityKindDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Client.CounterpartyActivityKindDlg"; // Container child Vodovoz.Dialogs.Client.CounterpartyActivityKindDlg.Gtk.Container+ContainerChild this.datavbox1 = new global::Gtk.VBox(); this.datavbox1.Name = "datavbox1"; this.datavbox1.Spacing = 6; // Container child datavbox1.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.datavbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.datavbox1[this.hbox2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child datavbox1.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.datavbox1.Add(this.hseparator1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.datavbox1[this.hseparator1])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child datavbox1.Gtk.Box+BoxChild this.datatable1 = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false); this.datatable1.Name = "datatable1"; this.datatable1.RowSpacing = ((uint)(6)); this.datatable1.ColumnSpacing = ((uint)(6)); // Container child datatable1.Gtk.Table+TableChild this.entName = new global::Gamma.GtkWidgets.yEntry(); this.entName.CanFocus = true; this.entName.Name = "entName"; this.entName.IsEditable = true; this.entName.InvisibleChar = '●'; this.datatable1.Add(this.entName); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.datatable1[this.entName])); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.lblName = new global::Gtk.Label(); this.lblName.Name = "lblName"; this.lblName.Xalign = 1F; this.lblName.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.datatable1.Add(this.lblName); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable1[this.lblName])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); this.datavbox1.Add(this.datatable1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.datavbox1[this.datatable1])); w9.Position = 2; w9.Expand = false; // Container child datavbox1.Gtk.Box+BoxChild this.frmSubstrings = new global::Gtk.Frame(); this.frmSubstrings.Name = "frmSubstrings"; this.frmSubstrings.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frmSubstrings.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.txtSubstrings = new global::Gamma.GtkWidgets.yTextView(); this.txtSubstrings.CanFocus = true; this.txtSubstrings.Name = "txtSubstrings"; this.txtSubstrings.Justification = ((global::Gtk.Justification)(2)); this.txtSubstrings.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow.Add(this.txtSubstrings); this.GtkAlignment2.Add(this.GtkScrolledWindow); this.frmSubstrings.Add(this.GtkAlignment2); this.lblSubstrings = new global::Gtk.Label(); this.lblSubstrings.Name = "lblSubstrings"; this.lblSubstrings.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Искомые подстроки:</b> (<span foreground=\'Red\'>Должны начинаться с новой строк" + "и</span>)"); this.lblSubstrings.UseMarkup = true; this.frmSubstrings.LabelWidget = this.lblSubstrings; this.datavbox1.Add(this.frmSubstrings); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.datavbox1[this.frmSubstrings])); w13.Position = 3; this.Add(this.datavbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget QSBusinessCommon.MeasurementUnitsDlg Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); this.UIManager.InsertActionGroup (w2, 0); this.Name = "QSBusinessCommon.MeasurementUnitsDlg"; // Container child QSBusinessCommon.MeasurementUnitsDlg.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w3; this.hbox4.Add (this.buttonSave); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSave])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w5 = new global::Gtk.Image (); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w5; this.hbox4.Add (this.buttonCancel); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCancel])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.vbox3.Add (this.hbox4); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.datatable1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.datatable1.Name = "datatable1"; this.datatable1.RowSpacing = ((uint)(6)); this.datatable1.ColumnSpacing = ((uint)(6)); // Container child datatable1.Gtk.Table+TableChild this.dataentryOKEI = new global::Gamma.GtkWidgets.yEntry (); this.dataentryOKEI.CanFocus = true; this.dataentryOKEI.Name = "dataentryOKEI"; this.dataentryOKEI.IsEditable = true; this.dataentryOKEI.MaxLength = 3; this.dataentryOKEI.InvisibleChar = '●'; this.datatable1.Add (this.dataentryOKEI); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentryOKEI])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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 = 10; this.entryName.InvisibleChar = '●'; this.datatable1.Add (this.entryName); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.entryName])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Код ОКЕИ:"); this.datatable1.Add (this.label1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label1])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Знаков после запятой:"); this.label10.Justify = ((global::Gtk.Justification)(1)); this.datatable1.Add (this.label10); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label10])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Название:"); this.datatable1.Add (this.label11); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label11])); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.spinDigits = new global::Gamma.GtkWidgets.ySpinButton (0, 3, 1); this.spinDigits.CanFocus = true; this.spinDigits.Name = "spinDigits"; this.spinDigits.Adjustment.PageIncrement = 10; this.spinDigits.ClimbRate = 1; this.spinDigits.Numeric = true; this.spinDigits.ValueAsDecimal = 0m; this.spinDigits.ValueAsInt = 0; this.datatable1.Add (this.spinDigits); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.spinDigits])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add (this.datatable1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.datatable1])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.Add (this.vbox3); if ((this.Child != null)) { this.Child.ShowAll (); } w1.SetUiManager (UIManager); this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Sizes.SizeView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Sizes.SizeView"; // Container child workwear.Views.Sizes.SizeView.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox3.Add(this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(6)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.entityAlterName = new global::Gamma.GtkWidgets.yEntry(); this.entityAlterName.CanFocus = true; this.entityAlterName.Name = "entityAlterName"; this.entityAlterName.IsEditable = true; this.entityAlterName.InvisibleChar = '•'; this.table2.Add(this.entityAlterName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2[this.entityAlterName])); 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.entityname = new global::Gamma.GtkWidgets.yEntry(); this.entityname.CanFocus = true; this.entityname.Name = "entityname"; this.entityname.IsEditable = true; this.entityname.InvisibleChar = '•'; this.table2.Add(this.entityname); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2[this.entityname])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.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.table2.Add(this.label10); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2[this.label10])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Альтернативное значение:"); this.table2.Add(this.label11); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2[this.label11])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.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("Код:"); this.table2.Add(this.label9); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2[this.label9])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelId = new global::Gamma.GtkWidgets.yLabel(); this.labelId.Name = "labelId"; this.labelId.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.table2.Add(this.labelId); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2[this.labelId])); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.specllistcomSizeType = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.specllistcomSizeType.Name = "specllistcomSizeType"; this.specllistcomSizeType.AddIfNotExist = false; this.specllistcomSizeType.DefaultFirst = false; this.specllistcomSizeType.ShowSpecialStateAll = false; this.specllistcomSizeType.ShowSpecialStateNot = true; this.table2.Add(this.specllistcomSizeType); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2[this.specllistcomSizeType])); w12.TopAttach = ((uint)(3)); w12.BottomAttach = ((uint)(4)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ycheckbuttonUseInEmployee = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckbuttonUseInEmployee.CanFocus = true; this.ycheckbuttonUseInEmployee.Name = "ycheckbuttonUseInEmployee"; this.ycheckbuttonUseInEmployee.Label = global::Mono.Unix.Catalog.GetString("Отображать в сотруднике"); this.ycheckbuttonUseInEmployee.Active = true; this.ycheckbuttonUseInEmployee.DrawIndicator = true; this.ycheckbuttonUseInEmployee.UseUnderline = true; this.table2.Add(this.ycheckbuttonUseInEmployee); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2[this.ycheckbuttonUseInEmployee])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ycheckbuttonUseInNomenclature = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckbuttonUseInNomenclature.CanFocus = true; this.ycheckbuttonUseInNomenclature.Name = "ycheckbuttonUseInNomenclature"; this.ycheckbuttonUseInNomenclature.Label = global::Mono.Unix.Catalog.GetString("Отображать в номенклатуре"); this.ycheckbuttonUseInNomenclature.Active = true; this.ycheckbuttonUseInNomenclature.DrawIndicator = true; this.ycheckbuttonUseInNomenclature.UseUnderline = true; this.table2.Add(this.ycheckbuttonUseInNomenclature); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2[this.ycheckbuttonUseInNomenclature])); w14.TopAttach = ((uint)(5)); w14.BottomAttach = ((uint)(6)); 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.ylabel3 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel3.Name = "ylabel3"; this.ylabel3.Xalign = 1F; this.ylabel3.LabelProp = global::Mono.Unix.Catalog.GetString("Тип размера:"); this.table2.Add(this.ylabel3); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2[this.ylabel3])); w15.TopAttach = ((uint)(3)); w15.BottomAttach = ((uint)(4)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add(this.table2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.table2])); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.Xalign = 0F; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Аналоги"); this.vbox3.Add(this.ylabel1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.ylabel1])); w17.Position = 2; w17.Expand = false; w17.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.yvbox1 = new global::Gamma.GtkWidgets.yVBox(); this.yvbox1.Name = "yvbox1"; this.yvbox1.Spacing = 6; // Container child yvbox1.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.ytreeviewSuitableSizes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewSuitableSizes.CanFocus = true; this.ytreeviewSuitableSizes.Name = "ytreeviewSuitableSizes"; this.scrolledwindow1.Add(this.ytreeviewSuitableSizes); this.yvbox1.Add(this.scrolledwindow1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.scrolledwindow1])); w19.Position = 0; // Container child yvbox1.Gtk.Box+BoxChild this.yhbox1 = new global::Gamma.GtkWidgets.yHBox(); this.yhbox1.Name = "yhbox1"; this.yhbox1.Spacing = 6; // Container child yhbox1.Gtk.Box+BoxChild this.ybuttonAddSuitable = new global::Gamma.GtkWidgets.yButton(); this.ybuttonAddSuitable.CanFocus = true; this.ybuttonAddSuitable.Name = "ybuttonAddSuitable"; this.ybuttonAddSuitable.UseUnderline = true; this.ybuttonAddSuitable.Label = global::Mono.Unix.Catalog.GetString("Добавить аналог"); this.yhbox1.Add(this.ybuttonAddSuitable); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.ybuttonAddSuitable])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child yhbox1.Gtk.Box+BoxChild this.ybuttonRemoveSuitable = new global::Gamma.GtkWidgets.yButton(); this.ybuttonRemoveSuitable.CanFocus = true; this.ybuttonRemoveSuitable.Name = "ybuttonRemoveSuitable"; this.ybuttonRemoveSuitable.UseUnderline = true; this.ybuttonRemoveSuitable.Label = global::Mono.Unix.Catalog.GetString("Удалить аналог"); this.yhbox1.Add(this.ybuttonRemoveSuitable); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.ybuttonRemoveSuitable])); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.yvbox1.Add(this.yhbox1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.yhbox1])); w22.Position = 1; w22.Expand = false; w22.Fill = false; this.vbox3.Add(this.yvbox1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.yvbox1])); w23.Position = 3; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.BulkEmailView this.Name = "Vodovoz.Views.BulkEmailView"; this.Title = global::Mono.Unix.Catalog.GetString("Массовая рассылка"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(3)); this.Modal = true; this.Resizable = false; this.AllowGrow = false; // Internal child Vodovoz.Views.BulkEmailView.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(6)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.attachmentsEmailView = new global::QSAttachment.Views.Widgets.AttachmentsView(); this.attachmentsEmailView.Events = ((global::Gdk.EventMask)(256)); this.attachmentsEmailView.Name = "attachmentsEmailView"; this.table1.Add(this.attachmentsEmailView); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.attachmentsEmailView])); 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.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.HeightRequest = 150; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewText = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewText.CanFocus = true; this.ytextviewText.Name = "ytextviewText"; this.GtkScrolledWindow.Add(this.ytextviewText); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelAttachments = new global::Gtk.Label(); this.labelAttachments.Name = "labelAttachments"; this.labelAttachments.Xalign = 1F; this.labelAttachments.LabelProp = global::Mono.Unix.Catalog.GetString("Вложения:"); this.table1.Add(this.labelAttachments); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.labelAttachments])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelRecepient = new global::Gtk.Label(); this.labelRecepient.Name = "labelRecepient"; this.labelRecepient.Xalign = 1F; this.labelRecepient.LabelProp = global::Mono.Unix.Catalog.GetString("Количество адресатов:"); this.table1.Add(this.labelRecepient); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.labelRecepient])); w6.TopAttach = ((uint)(3)); w6.BottomAttach = ((uint)(4)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelSendingDuration = new global::Gtk.Label(); this.labelSendingDuration.Name = "labelSendingDuration"; this.labelSendingDuration.Xalign = 1F; this.labelSendingDuration.LabelProp = global::Mono.Unix.Catalog.GetString("Время работы:"); this.table1.Add(this.labelSendingDuration); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.labelSendingDuration])); w7.TopAttach = ((uint)(4)); w7.BottomAttach = ((uint)(5)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelSubject = new global::Gtk.Label(); this.labelSubject.Name = "labelSubject"; this.labelSubject.Xalign = 1F; this.labelSubject.LabelProp = global::Mono.Unix.Catalog.GetString("Тема:"); this.table1.Add(this.labelSubject); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.labelSubject])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelText = new global::Gtk.Label(); this.labelText.Name = "labelText"; this.labelText.Xalign = 1F; this.labelText.LabelProp = global::Mono.Unix.Catalog.GetString("Текст:"); this.table1.Add(this.labelText); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.labelText])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentrySubject = new global::Gamma.GtkWidgets.yEntry(); this.yentrySubject.CanFocus = true; this.yentrySubject.Name = "yentrySubject"; this.yentrySubject.IsEditable = true; this.yentrySubject.InvisibleChar = '•'; this.table1.Add(this.yentrySubject); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.yentrySubject])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelAttachmentsInfo = new global::Gamma.GtkWidgets.yLabel(); this.ylabelAttachmentsInfo.Name = "ylabelAttachmentsInfo"; this.ylabelAttachmentsInfo.Xalign = 0F; this.ylabelAttachmentsInfo.LabelProp = global::Mono.Unix.Catalog.GetString("0/15Мб"); this.ylabelAttachmentsInfo.UseMarkup = true; this.table1.Add(this.ylabelAttachmentsInfo); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelAttachmentsInfo])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(2)); w11.RightAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelRecepientInfo = new global::Gamma.GtkWidgets.yLabel(); this.ylabelRecepientInfo.Name = "ylabelRecepientInfo"; this.ylabelRecepientInfo.Xalign = 0F; this.ylabelRecepientInfo.LabelProp = global::Mono.Unix.Catalog.GetString("0/1000 за раз (0 адресатов уже получали письмо массовой рассылки в течение послед" + "них 2 часов) и 0/20000 в месяц писем вида массовой рассылки"); this.ylabelRecepientInfo.UseMarkup = true; this.ylabelRecepientInfo.Wrap = true; this.ylabelRecepientInfo.Selectable = true; this.ylabelRecepientInfo.WidthChars = 100; this.table1.Add(this.ylabelRecepientInfo); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelRecepientInfo])); w12.TopAttach = ((uint)(3)); w12.BottomAttach = ((uint)(4)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelSendingDuration = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSendingDuration.Name = "ylabelSendingDuration"; this.ylabelSendingDuration.Xalign = 0F; this.ylabelSendingDuration.LabelProp = global::Mono.Unix.Catalog.GetString("0 секунд"); this.table1.Add(this.ylabelSendingDuration); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelSendingDuration])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelSubjectInfo = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSubjectInfo.Name = "ylabelSubjectInfo"; this.ylabelSubjectInfo.Xalign = 0F; this.ylabelSubjectInfo.LabelProp = global::Mono.Unix.Catalog.GetString("0/255 символов"); this.ylabelSubjectInfo.UseMarkup = true; this.table1.Add(this.ylabelSubjectInfo); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelSubjectInfo])); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yprogressbarSending = new global::Gamma.GtkWidgets.yProgressBar(); this.yprogressbarSending.Name = "yprogressbarSending"; this.table1.Add(this.yprogressbarSending); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.yprogressbarSending])); w15.TopAttach = ((uint)(5)); w15.BottomAttach = ((uint)(6)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(0)); w1.Add(this.table1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(w1[this.table1])); w16.Position = 0; // Internal child Vodovoz.Views.BulkEmailView.ActionArea global::Gtk.HButtonBox w17 = this.ActionArea; w17.Name = "dialog1_ActionArea"; w17.Spacing = 10; w17.BorderWidth = ((uint)(5)); w17.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonSend = new global::Gtk.Button(); this.buttonSend.Sensitive = false; this.buttonSend.CanDefault = true; this.buttonSend.CanFocus = true; this.buttonSend.Name = "buttonSend"; this.buttonSend.UseUnderline = true; this.buttonSend.Label = global::Mono.Unix.Catalog.GetString("Запустить рассылку"); w17.Add(this.buttonSend); global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w17[this.buttonSend])); w18.Expand = false; w18.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 945; this.DefaultHeight = 441; this.yprogressbarSending.Hide(); this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.CounterpartyContractDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.CounterpartyContractDlg"; // Container child Vodovoz.CounterpartyContractDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.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.vbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.datatable5 = new global::Gtk.Table(((uint)(7)), ((uint)(3)), false); this.datatable5.Name = "datatable5"; this.datatable5.RowSpacing = ((uint)(6)); this.datatable5.ColumnSpacing = ((uint)(6)); this.datatable5.BorderWidth = ((uint)(6)); // Container child datatable5.Gtk.Table+TableChild this.checkOnCancellation = new global::Gamma.GtkWidgets.yCheckButton(); this.checkOnCancellation.CanFocus = true; this.checkOnCancellation.Name = "checkOnCancellation"; this.checkOnCancellation.Label = global::Mono.Unix.Catalog.GetString("На расторжении"); this.checkOnCancellation.DrawIndicator = true; this.checkOnCancellation.UseUnderline = true; this.datatable5.Add(this.checkOnCancellation); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable5[this.checkOnCancellation])); w6.TopAttach = ((uint)(5)); w6.BottomAttach = ((uint)(6)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.dateIssue = new global::QS.Widgets.GtkUI.DatePicker(); this.dateIssue.Sensitive = false; this.dateIssue.Events = ((global::Gdk.EventMask)(256)); this.dateIssue.Name = "dateIssue"; this.dateIssue.WithTime = false; this.dateIssue.HideCalendarButton = false; this.dateIssue.Date = new global::System.DateTime(0); this.dateIssue.IsEditable = true; this.dateIssue.AutoSeparation = false; this.datatable5.Add(this.dateIssue); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.datatable5[this.dateIssue])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.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 = false; this.entryNumber.InvisibleChar = '●'; this.datatable5.Add(this.entryNumber); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable5[this.entryNumber])); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.hbox17 = new global::Gtk.HBox(); this.hbox17.Name = "hbox17"; this.hbox17.Spacing = 6; // Container child hbox17.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hbox17.Add(this.vseparator2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.vseparator2])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox17.Gtk.Box+BoxChild this.checkArchive = new global::Gamma.GtkWidgets.yCheckButton(); this.checkArchive.CanFocus = true; this.checkArchive.Name = "checkArchive"; this.checkArchive.Label = global::Mono.Unix.Catalog.GetString("Архивный"); this.checkArchive.DrawIndicator = true; this.checkArchive.UseUnderline = true; this.hbox17.Add(this.checkArchive); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.checkArchive])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child hbox17.Gtk.Box+BoxChild this.vseparator3 = new global::Gtk.VSeparator(); this.vseparator3.Name = "vseparator3"; this.hbox17.Add(this.vseparator3); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.vseparator3])); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.datatable5.Add(this.hbox17); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable5[this.hbox17])); w12.TopAttach = ((uint)(5)); w12.BottomAttach = ((uint)(6)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.label32 = new global::Gtk.Label(); this.label32.Name = "label32"; this.label32.Xalign = 1F; this.label32.LabelProp = global::Mono.Unix.Catalog.GetString("Номер:"); this.datatable5.Add(this.label32); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable5[this.label32])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.label33 = new global::Gtk.Label(); this.label33.Name = "label33"; this.label33.Xalign = 1F; this.label33.LabelProp = global::Mono.Unix.Catalog.GetString("Дата заключения:"); this.datatable5.Add(this.label33); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatable5[this.label33])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.label35 = new global::Gtk.Label(); this.label35.Name = "label35"; this.label35.Xalign = 1F; this.label35.LabelProp = global::Mono.Unix.Catalog.GetString("Организация:"); this.datatable5.Add(this.label35); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable5[this.label35])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.label36 = new global::Gtk.Label(); this.label36.Name = "label36"; this.label36.Xalign = 1F; this.label36.LabelProp = global::Mono.Unix.Catalog.GetString("Тип договора:"); this.datatable5.Add(this.label36); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable5[this.label36])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.label38 = new global::Gtk.Label(); this.label38.Name = "label38"; this.label38.Xalign = 1F; this.label38.LabelProp = global::Mono.Unix.Catalog.GetString("Максимальный срок отсрочки:"); this.datatable5.Add(this.label38); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable5[this.label38])); w17.TopAttach = ((uint)(4)); w17.BottomAttach = ((uint)(5)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.referenceOrganization = new global::Gamma.Widgets.yEntryReference(); this.referenceOrganization.Sensitive = false; this.referenceOrganization.Events = ((global::Gdk.EventMask)(256)); this.referenceOrganization.Name = "referenceOrganization"; this.datatable5.Add(this.referenceOrganization); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatable5[this.referenceOrganization])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.spinDelay = new global::Gamma.GtkWidgets.ySpinButton(0D, 100D, 1D); this.spinDelay.CanFocus = true; this.spinDelay.Name = "spinDelay"; this.spinDelay.Adjustment.PageIncrement = 10D; this.spinDelay.ClimbRate = 1D; this.spinDelay.Numeric = true; this.spinDelay.Value = 3D; this.spinDelay.ValueAsDecimal = 0m; this.spinDelay.ValueAsInt = 0; this.datatable5.Add(this.spinDelay); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatable5[this.spinDelay])); w19.TopAttach = ((uint)(4)); w19.BottomAttach = ((uint)(5)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.templatewidget1 = new global::QSDocTemplates.TemplateWidget(); this.templatewidget1.Events = ((global::Gdk.EventMask)(256)); this.templatewidget1.Name = "templatewidget1"; this.templatewidget1.CanRevertCommon = false; this.datatable5.Add(this.templatewidget1); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatable5[this.templatewidget1])); w20.BottomAttach = ((uint)(6)); w20.LeftAttach = ((uint)(2)); w20.RightAttach = ((uint)(3)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.ycomboContractType = new global::Gamma.Widgets.yEnumComboBox(); this.ycomboContractType.Sensitive = false; this.ycomboContractType.Name = "ycomboContractType"; this.ycomboContractType.ShowSpecialStateAll = false; this.ycomboContractType.ShowSpecialStateNot = false; this.ycomboContractType.UseShortTitle = false; this.ycomboContractType.DefaultFirst = false; this.datatable5.Add(this.ycomboContractType); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatable5[this.ycomboContractType])); w21.TopAttach = ((uint)(3)); w21.BottomAttach = ((uint)(4)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.datatable5); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.datatable5])); w22.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 Vodovoz.Dialogs.Cash.IncomeCategoryView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Cash.IncomeCategoryView"; // Container child Vodovoz.Dialogs.Cash.IncomeCategoryView.Gtk.Container+ContainerChild this.vboxDialog = new global::Gtk.VBox(); this.vboxDialog.Name = "vboxDialog"; this.vboxDialog.Spacing = 6; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hboxDialogButtons.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hboxDialogButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vboxDialog.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxDialogButtons])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.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.labelType = new global::Gtk.Label(); this.labelType.Name = "labelType"; this.labelType.Xalign = 0F; this.labelType.LabelProp = global::Mono.Unix.Catalog.GetString("Тип документа:"); this.table1.Add(this.labelType); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.labelType])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelType1 = new global::Gtk.Label(); this.labelType1.Name = "labelType1"; this.labelType1.Xalign = 0F; this.labelType1.LabelProp = global::Mono.Unix.Catalog.GetString("Архивировать:"); this.table1.Add(this.labelType1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.labelType1])); w7.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelType2 = new global::Gtk.Label(); this.labelType2.Name = "labelType2"; this.labelType2.Xalign = 0F; this.labelType2.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение:"); this.table1.Add(this.labelType2); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.labelType2])); w8.TopAttach = ((uint)(4)); w8.BottomAttach = ((uint)(5)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelType3 = new global::Gtk.Label(); this.labelType3.Name = "labelType3"; this.labelType3.Xalign = 0F; this.labelType3.LabelProp = global::Mono.Unix.Catalog.GetString("Нумерация:"); this.table1.Add(this.labelType3); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.labelType3])); w9.TopAttach = ((uint)(5)); w9.BottomAttach = ((uint)(6)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelType4 = new global::Gtk.Label(); this.labelType4.Name = "labelType4"; this.labelType4.Xalign = 0F; this.labelType4.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.table1.Add(this.labelType4); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.labelType4])); 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.labelType5 = new global::Gtk.Label(); this.labelType5.Name = "labelType5"; this.labelType5.Xalign = 0F; this.labelType5.LabelProp = global::Mono.Unix.Catalog.GetString("Родитель:"); this.table1.Add(this.labelType5); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.labelType5])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ParentEntityviewmodelentry = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.ParentEntityviewmodelentry.Events = ((global::Gdk.EventMask)(256)); this.ParentEntityviewmodelentry.Name = "ParentEntityviewmodelentry"; this.ParentEntityviewmodelentry.CanEditReference = false; this.table1.Add(this.ParentEntityviewmodelentry); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.ParentEntityviewmodelentry])); 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.SubdivisionEntityviewmodelentry = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.SubdivisionEntityviewmodelentry.Events = ((global::Gdk.EventMask)(256)); this.SubdivisionEntityviewmodelentry.Name = "SubdivisionEntityviewmodelentry"; this.SubdivisionEntityviewmodelentry.CanEditReference = false; this.table1.Add(this.SubdivisionEntityviewmodelentry); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.SubdivisionEntityviewmodelentry])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycheckArchived = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckArchived.CanFocus = true; this.ycheckArchived.Name = "ycheckArchived"; this.ycheckArchived.Label = ""; this.ycheckArchived.DrawIndicator = true; this.ycheckArchived.UseUnderline = true; this.table1.Add(this.ycheckArchived); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.ycheckArchived])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryName = new global::Gamma.GtkWidgets.yEntry(); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.InvisibleChar = '•'; this.table1.Add(this.yentryName); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryName])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryNumbering = new global::Gamma.GtkWidgets.yEntry(); this.yentryNumbering.CanFocus = true; this.yentryNumbering.Name = "yentryNumbering"; this.yentryNumbering.IsEditable = true; this.yentryNumbering.InvisibleChar = '•'; this.table1.Add(this.yentryNumbering); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryNumbering])); w16.TopAttach = ((uint)(5)); w16.BottomAttach = ((uint)(6)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yenumTypeDocument = new global::Gamma.Widgets.yEnumComboBox(); this.yenumTypeDocument.Name = "yenumTypeDocument"; this.yenumTypeDocument.ShowSpecialStateAll = false; this.yenumTypeDocument.ShowSpecialStateNot = false; this.yenumTypeDocument.UseShortTitle = false; this.yenumTypeDocument.DefaultFirst = false; this.table1.Add(this.yenumTypeDocument); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumTypeDocument])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxDialog.Add(this.table1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.table1])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.Add(this.vboxDialog); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.PaidRentPackageDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.PaidRentPackageDlg"; // Container child Vodovoz.PaidRentPackageDlg.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox1.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.datatable1 = new global::Gtk.Table(((uint)(8)), ((uint)(2)), false); this.datatable1.Name = "datatable1"; this.datatable1.RowSpacing = ((uint)(6)); this.datatable1.ColumnSpacing = ((uint)(6)); this.datatable1.BorderWidth = ((uint)(6)); // Container child datatable1.Gtk.Table+TableChild this.dataentryName = new global::Gamma.GtkWidgets.yEntry(); this.dataentryName.CanFocus = true; this.dataentryName.Name = "dataentryName"; this.dataentryName.IsEditable = true; this.dataentryName.InvisibleChar = '●'; this.datatable1.Add(this.dataentryName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1[this.dataentryName])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.spinPriceDaily = new global::Gamma.GtkWidgets.ySpinButton(0D, 9000000D, 1D); this.spinPriceDaily.CanFocus = true; this.spinPriceDaily.Name = "spinPriceDaily"; this.spinPriceDaily.Adjustment.PageIncrement = 10D; this.spinPriceDaily.ClimbRate = 1D; this.spinPriceDaily.Digits = ((uint)(2)); this.spinPriceDaily.Numeric = true; this.spinPriceDaily.ValueAsDecimal = 0m; this.spinPriceDaily.ValueAsInt = 0; this.hbox6.Add(this.spinPriceDaily); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.spinPriceDaily])); w7.Position = 0; // Container child hbox6.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.hbox6.Add(this.currencylabel1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.currencylabel1])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.datatable1.Add(this.hbox6); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1[this.hbox6])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.spinPriceMonthly = new global::Gamma.GtkWidgets.ySpinButton(0D, 9000000D, 1D); this.spinPriceMonthly.CanFocus = true; this.spinPriceMonthly.Name = "spinPriceMonthly"; this.spinPriceMonthly.Adjustment.PageIncrement = 10D; this.spinPriceMonthly.ClimbRate = 1D; this.spinPriceMonthly.Digits = ((uint)(2)); this.spinPriceMonthly.Numeric = true; this.spinPriceMonthly.ValueAsDecimal = 0m; this.spinPriceMonthly.ValueAsInt = 0; this.hbox7.Add(this.spinPriceMonthly); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.spinPriceMonthly])); w10.Position = 0; // Container child hbox7.Gtk.Box+BoxChild this.currencylabel2 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel2.Name = "currencylabel2"; this.currencylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.hbox7.Add(this.currencylabel2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.currencylabel2])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.datatable1.Add(this.hbox7); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1[this.hbox7])); w12.TopAttach = ((uint)(3)); w12.BottomAttach = ((uint)(4)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.spinDeposit = new global::Gamma.GtkWidgets.ySpinButton(0D, 99999D, 1D); this.spinDeposit.CanFocus = true; this.spinDeposit.Name = "spinDeposit"; this.spinDeposit.Adjustment.PageIncrement = 10D; this.spinDeposit.ClimbRate = 1D; this.spinDeposit.Digits = ((uint)(2)); this.spinDeposit.Numeric = true; this.spinDeposit.ValueAsDecimal = 0m; this.spinDeposit.ValueAsInt = 0; this.hbox8.Add(this.spinDeposit); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.spinDeposit])); w13.Position = 0; // Container child hbox8.Gtk.Box+BoxChild this.currencylabel3 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel3.Name = "currencylabel3"; this.currencylabel3.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.hbox8.Add(this.currencylabel3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.currencylabel3])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.datatable1.Add(this.hbox8); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable1[this.hbox8])); w15.TopAttach = ((uint)(6)); w15.BottomAttach = ((uint)(7)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.datatable1.Add(this.label1); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label1])); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Услуга посуточной \nаренды:"); this.label3.Justify = ((global::Gtk.Justification)(1)); this.datatable1.Add(this.label3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label3])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Стоимость (месяц):"); this.datatable1.Add(this.label4); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label4])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Услуга залога:"); this.datatable1.Add(this.label5); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label5])); w19.TopAttach = ((uint)(7)); w19.BottomAttach = ((uint)(8)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Стоимость (сутки):"); this.datatable1.Add(this.label6); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label6])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Тип оборудования:"); this.datatable1.Add(this.label7); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label7])); w21.TopAttach = ((uint)(5)); w21.BottomAttach = ((uint)(6)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Услуга долгосрочной\nаренды:"); this.label8.Justify = ((global::Gtk.Justification)(1)); this.datatable1.Add(this.label8); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label8])); w22.TopAttach = ((uint)(4)); w22.BottomAttach = ((uint)(5)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Сумма залога:"); this.datatable1.Add(this.label9); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label9])); w23.TopAttach = ((uint)(6)); w23.BottomAttach = ((uint)(7)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceDepositService = new global::Gamma.Widgets.yEntryReference(); this.referenceDepositService.Events = ((global::Gdk.EventMask)(256)); this.referenceDepositService.Name = "referenceDepositService"; this.datatable1.Add(this.referenceDepositService); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referenceDepositService])); w24.TopAttach = ((uint)(7)); w24.BottomAttach = ((uint)(8)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceEquipmentType = new global::Gamma.Widgets.yEntryReference(); this.referenceEquipmentType.Events = ((global::Gdk.EventMask)(256)); this.referenceEquipmentType.Name = "referenceEquipmentType"; this.datatable1.Add(this.referenceEquipmentType); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referenceEquipmentType])); w25.TopAttach = ((uint)(5)); w25.BottomAttach = ((uint)(6)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceRentServiceDaily = new global::Gamma.Widgets.yEntryReference(); this.referenceRentServiceDaily.Events = ((global::Gdk.EventMask)(256)); this.referenceRentServiceDaily.Name = "referenceRentServiceDaily"; this.datatable1.Add(this.referenceRentServiceDaily); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referenceRentServiceDaily])); w26.TopAttach = ((uint)(2)); w26.BottomAttach = ((uint)(3)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceRentServiceMonthly = new global::Gamma.Widgets.yEntryReference(); this.referenceRentServiceMonthly.Events = ((global::Gdk.EventMask)(256)); this.referenceRentServiceMonthly.Name = "referenceRentServiceMonthly"; this.datatable1.Add(this.referenceRentServiceMonthly); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.datatable1[this.referenceRentServiceMonthly])); w27.TopAttach = ((uint)(4)); w27.BottomAttach = ((uint)(5)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.datatable1); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.datatable1])); w28.Position = 1; w28.Expand = false; w28.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.CounterpartyDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.CounterpartyDlg"; // Container child Vodovoz.CounterpartyDlg.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.HeightRequest = 400; this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(6)); // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-floppy", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox1.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отмена"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.menuActions = new global::QSWidgetLib.MenuButton(); this.menuActions.CanFocus = true; this.menuActions.Name = "menuActions"; this.menuActions.UseUnderline = true; this.menuActions.UseMarkup = false; global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.menu.png"); this.menuActions.Image = w5; this.hbox1.Add(this.menuActions); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.menuActions])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox2.Add(this.hseparator1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hseparator1])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox19 = new global::Gtk.HBox(); this.hbox19.Name = "hbox19"; this.hbox19.Spacing = 6; // Container child hbox19.Gtk.Box+BoxChild this.radioInfo = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Информация")); this.radioInfo.CanFocus = true; this.radioInfo.Name = "radioInfo"; this.radioInfo.DrawIndicator = false; this.radioInfo.UseUnderline = true; this.radioInfo.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.hbox19.Add(this.radioInfo); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioInfo])); w9.Position = 0; // Container child hbox19.Gtk.Box+BoxChild this.radioContacts = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Контакты")); this.radioContacts.CanFocus = true; this.radioContacts.Name = "radioContacts"; this.radioContacts.DrawIndicator = false; this.radioContacts.UseUnderline = true; this.radioContacts.Group = this.radioInfo.Group; this.hbox19.Add(this.radioContacts); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioContacts])); w10.Position = 1; // Container child hbox19.Gtk.Box+BoxChild this.radioDetails = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Реквизиты")); this.radioDetails.CanFocus = true; this.radioDetails.Name = "radioDetails"; this.radioDetails.DrawIndicator = false; this.radioDetails.UseUnderline = true; this.radioDetails.Group = this.radioInfo.Group; this.hbox19.Add(this.radioDetails); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioDetails])); w11.Position = 2; // Container child hbox19.Gtk.Box+BoxChild this.radioCurators = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Кураторы")); this.radioCurators.CanFocus = true; this.radioCurators.Name = "radioCurators"; this.radioCurators.DrawIndicator = false; this.radioCurators.UseUnderline = true; this.radioCurators.Group = this.radioInfo.Group; this.hbox19.Add(this.radioCurators); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioCurators])); w12.Position = 3; // Container child hbox19.Gtk.Box+BoxChild this.radioContactPersons = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Контактные лица")); this.radioContactPersons.CanFocus = true; this.radioContactPersons.Name = "radioContactPersons"; this.radioContactPersons.DrawIndicator = false; this.radioContactPersons.UseUnderline = true; this.radioContactPersons.Group = this.radioInfo.Group; this.hbox19.Add(this.radioContactPersons); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioContactPersons])); w13.Position = 4; // Container child hbox19.Gtk.Box+BoxChild this.radiobuttonProxies = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Доверенности")); this.radiobuttonProxies.CanFocus = true; this.radiobuttonProxies.Name = "radiobuttonProxies"; this.radiobuttonProxies.DrawIndicator = false; this.radiobuttonProxies.UseUnderline = true; this.radiobuttonProxies.Group = this.radioInfo.Group; this.hbox19.Add(this.radiobuttonProxies); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radiobuttonProxies])); w14.Position = 5; // Container child hbox19.Gtk.Box+BoxChild this.radioContracts = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Договор")); this.radioContracts.CanFocus = true; this.radioContracts.Name = "radioContracts"; this.radioContracts.DrawIndicator = false; this.radioContracts.UseUnderline = true; this.radioContracts.Group = this.radioInfo.Group; this.hbox19.Add(this.radioContracts); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioContracts])); w15.Position = 6; // Container child hbox19.Gtk.Box+BoxChild this.radioDeliveryPoint = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Точки доставки")); this.radioDeliveryPoint.CanFocus = true; this.radioDeliveryPoint.Name = "radioDeliveryPoint"; this.radioDeliveryPoint.DrawIndicator = false; this.radioDeliveryPoint.UseUnderline = true; this.radioDeliveryPoint.Group = this.radioInfo.Group; this.hbox19.Add(this.radioDeliveryPoint); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioDeliveryPoint])); w16.Position = 7; this.vbox2.Add(this.hbox19); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox19])); w17.Position = 2; w17.Expand = false; w17.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild global::Gtk.Viewport w18 = new global::Gtk.Viewport(); w18.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(11)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.datalegalname1 = new global::QSOrmProject.yLegalName(); this.datalegalname1.Events = ((global::Gdk.EventMask)(256)); this.datalegalname1.Name = "datalegalname1"; this.table1.Add(this.datalegalname1); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.datalegalname1])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(4)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryFIO = new global::Gamma.GtkWidgets.yEntry(); this.entryFIO.CanFocus = true; this.entryFIO.Name = "entryFIO"; this.entryFIO.IsEditable = true; this.entryFIO.InvisibleChar = '●'; this.table1.Add(this.entryFIO); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.entryFIO])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryFullName = new global::Gamma.GtkWidgets.yEntry(); this.entryFullName.CanFocus = true; this.entryFullName.Name = "entryFullName"; this.entryFullName.IsEditable = true; this.entryFullName.MaxLength = 300; this.entryFullName.InvisibleChar = '●'; this.table1.Add(this.entryFullName); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.entryFullName])); w21.TopAttach = ((uint)(3)); w21.BottomAttach = ((uint)(4)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumDefaultDocumentType = new global::Gamma.Widgets.yEnumComboBox(); this.enumDefaultDocumentType.Name = "enumDefaultDocumentType"; this.enumDefaultDocumentType.ShowSpecialStateAll = false; this.enumDefaultDocumentType.ShowSpecialStateNot = false; this.enumDefaultDocumentType.UseShortTitle = false; this.enumDefaultDocumentType.DefaultFirst = false; this.table1.Add(this.enumDefaultDocumentType); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.enumDefaultDocumentType])); w22.TopAttach = ((uint)(8)); w22.BottomAttach = ((uint)(9)); w22.LeftAttach = ((uint)(3)); w22.RightAttach = ((uint)(4)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumPayment = new global::Gamma.Widgets.yEnumComboBox(); this.enumPayment.Name = "enumPayment"; this.enumPayment.ShowSpecialStateAll = false; this.enumPayment.ShowSpecialStateNot = false; this.enumPayment.UseShortTitle = false; this.enumPayment.DefaultFirst = false; this.table1.Add(this.enumPayment); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.enumPayment])); w23.TopAttach = ((uint)(8)); w23.BottomAttach = ((uint)(9)); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(2)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow5 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow5.Name = "GtkScrolledWindow5"; this.GtkScrolledWindow5.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow5.Gtk.Container+ContainerChild this.dataWaybillComment = new global::Gamma.GtkWidgets.yTextView(); this.dataWaybillComment.CanFocus = true; this.dataWaybillComment.Name = "dataWaybillComment"; this.GtkScrolledWindow5.Add(this.dataWaybillComment); this.table1.Add(this.GtkScrolledWindow5); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow5])); w25.TopAttach = ((uint)(10)); w25.BottomAttach = ((uint)(11)); w25.LeftAttach = ((uint)(3)); w25.RightAttach = ((uint)(4)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow6 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow6.Name = "GtkScrolledWindow6"; this.GtkScrolledWindow6.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow6.Gtk.Container+ContainerChild this.dataComment = new global::Gamma.GtkWidgets.yTextView(); this.dataComment.CanFocus = true; this.dataComment.Name = "dataComment"; this.GtkScrolledWindow6.Add(this.dataComment); this.table1.Add(this.GtkScrolledWindow6); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow6])); w27.TopAttach = ((uint)(10)); w27.BottomAttach = ((uint)(11)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox17 = new global::Gtk.HBox(); this.hbox17.Name = "hbox17"; this.hbox17.Spacing = 6; // Container child hbox17.Gtk.Box+BoxChild this.enumPersonType = new global::Gamma.Widgets.yEnumComboBox(); this.enumPersonType.Name = "enumPersonType"; this.enumPersonType.ShowSpecialStateAll = false; this.enumPersonType.ShowSpecialStateNot = false; this.enumPersonType.UseShortTitle = false; this.enumPersonType.DefaultFirst = false; this.hbox17.Add(this.enumPersonType); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.enumPersonType])); w28.Position = 0; // Container child hbox17.Gtk.Box+BoxChild this.ycheckIsArchived = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckIsArchived.TooltipMarkup = "Больше не работаем с этим клиентом"; this.ycheckIsArchived.CanFocus = true; this.ycheckIsArchived.Name = "ycheckIsArchived"; this.ycheckIsArchived.Label = global::Mono.Unix.Catalog.GetString("Архивный"); this.ycheckIsArchived.DrawIndicator = true; this.ycheckIsArchived.UseUnderline = true; this.hbox17.Add(this.ycheckIsArchived); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.ycheckIsArchived])); w29.Position = 1; w29.Expand = false; w29.Fill = false; this.table1.Add(this.hbox17); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox17])); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label19 = new global::Gtk.Label(); this.label19.Name = "label19"; this.label19.Xalign = 1F; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString(" Максимальная\nсумма кредита:"); this.table1.Add(this.label19); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1[this.label19])); w31.TopAttach = ((uint)(9)); w31.BottomAttach = ((uint)(10)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label25 = new global::Gtk.Label(); this.label25.Name = "label25"; this.label25.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий\nдля накладной:"); this.label25.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.label25); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1[this.label25])); w32.TopAttach = ((uint)(10)); w32.BottomAttach = ((uint)(11)); w32.LeftAttach = ((uint)(2)); w32.RightAttach = ((uint)(3)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label26 = new global::Gtk.Label(); this.label26.Name = "label26"; this.label26.Xalign = 1F; this.label26.LabelProp = global::Mono.Unix.Catalog.GetString(" Форма оплаты \n(по умолчанию):"); this.table1.Add(this.label26); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1[this.label26])); w33.TopAttach = ((uint)(8)); w33.BottomAttach = ((uint)(9)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label31 = new global::Gtk.Label(); this.label31.Name = "label31"; this.label31.Xalign = 1F; this.label31.LabelProp = global::Mono.Unix.Catalog.GetString("Внутренний\nкомментарий:"); this.label31.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.label31); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1[this.label31])); w34.TopAttach = ((uint)(10)); w34.BottomAttach = ((uint)(11)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Предыдущий контрагент:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w35.TopAttach = ((uint)(5)); w35.BottomAttach = ((uint)(6)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Статус:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w36.TopAttach = ((uint)(6)); w36.BottomAttach = ((uint)(7)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Значимость:"); this.table1.Add(this.label6); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table1[this.label6])); w37.TopAttach = ((uint)(7)); w37.BottomAttach = ((uint)(8)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Форма контрагента:"); this.table1.Add(this.label8); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Тип контрагента:"); this.table1.Add(this.label9); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1[this.label9])); w39.TopAttach = ((uint)(6)); w39.BottomAttach = ((uint)(7)); w39.LeftAttach = ((uint)(2)); w39.RightAttach = ((uint)(3)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDefaultDocumentType = new global::Gtk.Label(); this.labelDefaultDocumentType.Name = "labelDefaultDocumentType"; this.labelDefaultDocumentType.Xalign = 1F; this.labelDefaultDocumentType.LabelProp = global::Mono.Unix.Catalog.GetString("Тип документов\n(по умолчанию):"); this.table1.Add(this.labelDefaultDocumentType); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDefaultDocumentType])); w40.TopAttach = ((uint)(8)); w40.BottomAttach = ((uint)(9)); w40.LeftAttach = ((uint)(2)); w40.RightAttach = ((uint)(3)); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDefaultExpense = new global::Gtk.Label(); this.labelDefaultExpense.Name = "labelDefaultExpense"; this.labelDefaultExpense.Xalign = 1F; this.labelDefaultExpense.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода\nпо-умолчанию:"); this.table1.Add(this.labelDefaultExpense); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDefaultExpense])); w41.TopAttach = ((uint)(9)); w41.BottomAttach = ((uint)(10)); w41.LeftAttach = ((uint)(2)); w41.RightAttach = ((uint)(3)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelFIO = new global::Gtk.Label(); this.labelFIO.Name = "labelFIO"; this.labelFIO.Xalign = 1F; this.labelFIO.LabelProp = global::Mono.Unix.Catalog.GetString("Ф.И.О.:"); this.table1.Add(this.labelFIO); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table1[this.labelFIO])); w42.TopAttach = ((uint)(1)); w42.BottomAttach = ((uint)(2)); w42.XOptions = ((global::Gtk.AttachOptions)(4)); w42.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelFullName = new global::Gtk.Label(); this.labelFullName.Name = "labelFullName"; this.labelFullName.Xalign = 1F; this.labelFullName.LabelProp = global::Mono.Unix.Catalog.GetString("Полное наименование:"); this.table1.Add(this.labelFullName); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table1[this.labelFullName])); w43.TopAttach = ((uint)(3)); w43.BottomAttach = ((uint)(4)); w43.XOptions = ((global::Gtk.AttachOptions)(4)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelMainCounterparty = new global::Gtk.Label(); this.labelMainCounterparty.Name = "labelMainCounterparty"; this.labelMainCounterparty.Xalign = 1F; this.labelMainCounterparty.LabelProp = global::Mono.Unix.Catalog.GetString("Головная организация:"); this.table1.Add(this.labelMainCounterparty); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table1[this.labelMainCounterparty])); w44.TopAttach = ((uint)(4)); w44.BottomAttach = ((uint)(5)); w44.XOptions = ((global::Gtk.AttachOptions)(4)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelShort = new global::Gtk.Label(); this.labelShort.Name = "labelShort"; this.labelShort.Xalign = 1F; this.labelShort.LabelProp = global::Mono.Unix.Catalog.GetString("Наименование:"); this.table1.Add(this.labelShort); global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.table1[this.labelShort])); w45.TopAttach = ((uint)(2)); w45.BottomAttach = ((uint)(3)); w45.XOptions = ((global::Gtk.AttachOptions)(4)); w45.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referenceDefaultExpense = new global::Gamma.Widgets.yEntryReference(); this.referenceDefaultExpense.Events = ((global::Gdk.EventMask)(256)); this.referenceDefaultExpense.Name = "referenceDefaultExpense"; this.referenceDefaultExpense.DisplayFields = new string[] { "Name"}; this.table1.Add(this.referenceDefaultExpense); global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceDefaultExpense])); w46.TopAttach = ((uint)(9)); w46.BottomAttach = ((uint)(10)); w46.LeftAttach = ((uint)(3)); w46.RightAttach = ((uint)(4)); w46.XOptions = ((global::Gtk.AttachOptions)(4)); w46.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referenceMainCounterparty = new global::Gamma.Widgets.yEntryReferenceVM(); this.referenceMainCounterparty.Events = ((global::Gdk.EventMask)(256)); this.referenceMainCounterparty.Name = "referenceMainCounterparty"; this.table1.Add(this.referenceMainCounterparty); global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceMainCounterparty])); w47.TopAttach = ((uint)(4)); w47.BottomAttach = ((uint)(5)); w47.LeftAttach = ((uint)(1)); w47.RightAttach = ((uint)(4)); w47.XOptions = ((global::Gtk.AttachOptions)(4)); w47.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referencePreviousCounterparty = new global::Gamma.Widgets.yEntryReferenceVM(); this.referencePreviousCounterparty.Events = ((global::Gdk.EventMask)(256)); this.referencePreviousCounterparty.Name = "referencePreviousCounterparty"; this.table1.Add(this.referencePreviousCounterparty); global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.table1[this.referencePreviousCounterparty])); w48.TopAttach = ((uint)(5)); w48.BottomAttach = ((uint)(6)); w48.LeftAttach = ((uint)(1)); w48.RightAttach = ((uint)(4)); w48.XOptions = ((global::Gtk.AttachOptions)(4)); w48.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referenceSignificance = new global::Gamma.Widgets.yEntryReference(); this.referenceSignificance.Events = ((global::Gdk.EventMask)(256)); this.referenceSignificance.Name = "referenceSignificance"; this.referenceSignificance.DisplayFields = new string[] { "Name"}; this.table1.Add(this.referenceSignificance); global::Gtk.Table.TableChild w49 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceSignificance])); w49.TopAttach = ((uint)(7)); w49.BottomAttach = ((uint)(8)); w49.LeftAttach = ((uint)(1)); w49.RightAttach = ((uint)(2)); w49.XOptions = ((global::Gtk.AttachOptions)(4)); w49.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referenceStatus = new global::Gamma.Widgets.yEntryReference(); this.referenceStatus.Events = ((global::Gdk.EventMask)(256)); this.referenceStatus.Name = "referenceStatus"; this.referenceStatus.DisplayFields = new string[] { "Name"}; this.table1.Add(this.referenceStatus); global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceStatus])); w50.TopAttach = ((uint)(6)); w50.BottomAttach = ((uint)(7)); w50.LeftAttach = ((uint)(1)); w50.RightAttach = ((uint)(2)); w50.XOptions = ((global::Gtk.AttachOptions)(4)); w50.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinMaxCredit = new global::Gamma.GtkWidgets.ySpinButton(0, 1000000, 100); this.spinMaxCredit.CanFocus = true; this.spinMaxCredit.Name = "spinMaxCredit"; this.spinMaxCredit.ValueAsDecimal = 0m; this.spinMaxCredit.ValueAsInt = 0; this.table1.Add(this.spinMaxCredit); global::Gtk.Table.TableChild w51 = ((global::Gtk.Table.TableChild)(this.table1[this.spinMaxCredit])); w51.TopAttach = ((uint)(9)); w51.BottomAttach = ((uint)(10)); w51.LeftAttach = ((uint)(1)); w51.RightAttach = ((uint)(2)); w51.XOptions = ((global::Gtk.AttachOptions)(4)); w51.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vboxCooperation = new global::Gtk.VBox(); this.vboxCooperation.Name = "vboxCooperation"; this.vboxCooperation.Spacing = 1; // Container child vboxCooperation.Gtk.Box+BoxChild this.checkCustomer = new global::Gamma.GtkWidgets.yCheckButton(); this.checkCustomer.CanFocus = true; this.checkCustomer.Name = "checkCustomer"; this.checkCustomer.Label = global::Mono.Unix.Catalog.GetString("Покупатель"); this.checkCustomer.DrawIndicator = true; this.checkCustomer.UseUnderline = true; this.vboxCooperation.Add(this.checkCustomer); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vboxCooperation[this.checkCustomer])); w52.Position = 0; w52.Expand = false; w52.Fill = false; // Container child vboxCooperation.Gtk.Box+BoxChild this.checkSupplier = new global::Gamma.GtkWidgets.yCheckButton(); this.checkSupplier.CanFocus = true; this.checkSupplier.Name = "checkSupplier"; this.checkSupplier.Label = global::Mono.Unix.Catalog.GetString("Поставщик"); this.checkSupplier.DrawIndicator = true; this.checkSupplier.UseUnderline = true; this.vboxCooperation.Add(this.checkSupplier); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vboxCooperation[this.checkSupplier])); w53.Position = 1; w53.Expand = false; w53.Fill = false; // Container child vboxCooperation.Gtk.Box+BoxChild this.checkPartner = new global::Gamma.GtkWidgets.yCheckButton(); this.checkPartner.CanFocus = true; this.checkPartner.Name = "checkPartner"; this.checkPartner.Label = global::Mono.Unix.Catalog.GetString("Партнер"); this.checkPartner.DrawIndicator = true; this.checkPartner.UseUnderline = true; this.vboxCooperation.Add(this.checkPartner); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vboxCooperation[this.checkPartner])); w54.Position = 2; w54.Expand = false; w54.Fill = false; this.table1.Add(this.vboxCooperation); global::Gtk.Table.TableChild w55 = ((global::Gtk.Table.TableChild)(this.table1[this.vboxCooperation])); w55.TopAttach = ((uint)(6)); w55.BottomAttach = ((uint)(8)); w55.LeftAttach = ((uint)(3)); w55.RightAttach = ((uint)(4)); w55.XOptions = ((global::Gtk.AttachOptions)(4)); w55.YOptions = ((global::Gtk.AttachOptions)(0)); w18.Add(this.table1); this.GtkScrolledWindow4.Add(w18); this.notebook1.Add(this.GtkScrolledWindow4); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Информация"); this.notebook1.SetTabLabel(this.GtkScrolledWindow4, this.label1); this.label1.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.datatable2 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.datatable2.Name = "datatable2"; this.datatable2.RowSpacing = ((uint)(6)); this.datatable2.ColumnSpacing = ((uint)(6)); this.datatable2.BorderWidth = ((uint)(6)); // Container child datatable2.Gtk.Table+TableChild this.dataentryFinancialContact = new global::Gamma.Widgets.yEntryReferenceVM(); this.dataentryFinancialContact.Events = ((global::Gdk.EventMask)(256)); this.dataentryFinancialContact.Name = "dataentryFinancialContact"; this.datatable2.Add(this.dataentryFinancialContact); global::Gtk.Table.TableChild w59 = ((global::Gtk.Table.TableChild)(this.datatable2[this.dataentryFinancialContact])); w59.TopAttach = ((uint)(3)); w59.BottomAttach = ((uint)(4)); w59.LeftAttach = ((uint)(1)); w59.RightAttach = ((uint)(2)); w59.XOptions = ((global::Gtk.AttachOptions)(4)); w59.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.dataentryMainContact = new global::Gamma.Widgets.yEntryReferenceVM(); this.dataentryMainContact.Events = ((global::Gdk.EventMask)(256)); this.dataentryMainContact.Name = "dataentryMainContact"; this.datatable2.Add(this.dataentryMainContact); global::Gtk.Table.TableChild w60 = ((global::Gtk.Table.TableChild)(this.datatable2[this.dataentryMainContact])); w60.TopAttach = ((uint)(2)); w60.BottomAttach = ((uint)(3)); w60.LeftAttach = ((uint)(1)); w60.RightAttach = ((uint)(2)); w60.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.emailsView = new global::QSContacts.EmailsView(); this.emailsView.Events = ((global::Gdk.EventMask)(256)); this.emailsView.Name = "emailsView"; this.datatable2.Add(this.emailsView); global::Gtk.Table.TableChild w61 = ((global::Gtk.Table.TableChild)(this.datatable2[this.emailsView])); w61.TopAttach = ((uint)(1)); w61.BottomAttach = ((uint)(2)); w61.LeftAttach = ((uint)(1)); w61.RightAttach = ((uint)(2)); w61.XOptions = ((global::Gtk.AttachOptions)(4)); w61.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Общий e-mail:"); this.datatable2.Add(this.label11); global::Gtk.Table.TableChild w62 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label11])); w62.TopAttach = ((uint)(1)); w62.BottomAttach = ((uint)(2)); w62.XOptions = ((global::Gtk.AttachOptions)(4)); w62.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.Xalign = 1F; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Главное контактное лицо:"); this.datatable2.Add(this.label12); global::Gtk.Table.TableChild w63 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label12])); w63.TopAttach = ((uint)(2)); w63.BottomAttach = ((uint)(3)); w63.XOptions = ((global::Gtk.AttachOptions)(4)); w63.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.Xalign = 1F; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Контактное лицо по \nфинансовым вопросам:"); this.label13.UseMarkup = true; this.datatable2.Add(this.label13); global::Gtk.Table.TableChild w64 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label13])); w64.TopAttach = ((uint)(3)); w64.BottomAttach = ((uint)(4)); w64.XOptions = ((global::Gtk.AttachOptions)(4)); w64.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.label18 = new global::Gtk.Label(); this.label18.Name = "label18"; this.label18.Xalign = 1F; this.label18.LabelProp = global::Mono.Unix.Catalog.GetString("Общие телефоны:"); this.datatable2.Add(this.label18); global::Gtk.Table.TableChild w65 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label18])); w65.XOptions = ((global::Gtk.AttachOptions)(4)); w65.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.phonesView = new global::QSContacts.PhonesView(); this.phonesView.Events = ((global::Gdk.EventMask)(256)); this.phonesView.Name = "phonesView"; this.datatable2.Add(this.phonesView); global::Gtk.Table.TableChild w66 = ((global::Gtk.Table.TableChild)(this.datatable2[this.phonesView])); w66.LeftAttach = ((uint)(1)); w66.RightAttach = ((uint)(2)); w66.XOptions = ((global::Gtk.AttachOptions)(4)); w66.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebook1.Add(this.datatable2); global::Gtk.Notebook.NotebookChild w67 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.datatable2])); w67.Position = 1; // Notebook tab this.label20 = new global::Gtk.Label(); this.label20.Name = "label20"; this.label20.LabelProp = global::Mono.Unix.Catalog.GetString("Контакты"); this.notebook1.SetTabLabel(this.datatable2, this.label20); this.label20.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; this.vbox6.BorderWidth = ((uint)(6)); // Container child vbox6.Gtk.Box+BoxChild this.datatable4 = new global::Gtk.Table(((uint)(3)), ((uint)(4)), false); this.datatable4.Name = "datatable4"; this.datatable4.RowSpacing = ((uint)(6)); this.datatable4.ColumnSpacing = ((uint)(6)); // Container child datatable4.Gtk.Table+TableChild this.entryJurAddress = new global::Gamma.GtkWidgets.yEntry(); this.entryJurAddress.CanFocus = true; this.entryJurAddress.Name = "entryJurAddress"; this.entryJurAddress.IsEditable = true; this.entryJurAddress.InvisibleChar = '●'; this.datatable4.Add(this.entryJurAddress); global::Gtk.Table.TableChild w68 = ((global::Gtk.Table.TableChild)(this.datatable4[this.entryJurAddress])); w68.TopAttach = ((uint)(2)); w68.BottomAttach = ((uint)(3)); w68.LeftAttach = ((uint)(1)); w68.RightAttach = ((uint)(2)); w68.XOptions = ((global::Gtk.AttachOptions)(4)); w68.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label17 = new global::Gtk.Label(); this.label17.Name = "label17"; this.label17.Xalign = 1F; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString("В лице:"); this.datatable4.Add(this.label17); global::Gtk.Table.TableChild w69 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label17])); w69.TopAttach = ((uint)(1)); w69.BottomAttach = ((uint)(2)); w69.LeftAttach = ((uint)(2)); w69.RightAttach = ((uint)(3)); w69.XOptions = ((global::Gtk.AttachOptions)(4)); w69.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label27 = new global::Gtk.Label(); this.label27.Name = "label27"; this.label27.Xalign = 1F; this.label27.LabelProp = global::Mono.Unix.Catalog.GetString("ИНН:"); this.datatable4.Add(this.label27); global::Gtk.Table.TableChild w70 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label27])); w70.XOptions = ((global::Gtk.AttachOptions)(4)); w70.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label28 = new global::Gtk.Label(); this.label28.Name = "label28"; this.label28.Xalign = 1F; this.label28.LabelProp = global::Mono.Unix.Catalog.GetString("КПП:"); this.datatable4.Add(this.label28); global::Gtk.Table.TableChild w71 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label28])); w71.TopAttach = ((uint)(1)); w71.BottomAttach = ((uint)(2)); w71.XOptions = ((global::Gtk.AttachOptions)(4)); w71.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label29 = new global::Gtk.Label(); this.label29.Name = "label29"; this.label29.Xalign = 1F; this.label29.LabelProp = global::Mono.Unix.Catalog.GetString("Юр. адрес:"); this.datatable4.Add(this.label29); global::Gtk.Table.TableChild w72 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label29])); w72.TopAttach = ((uint)(2)); w72.BottomAttach = ((uint)(3)); w72.XOptions = ((global::Gtk.AttachOptions)(4)); w72.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label32 = new global::Gtk.Label(); this.label32.Name = "label32"; this.label32.Xalign = 1F; this.label32.LabelProp = global::Mono.Unix.Catalog.GetString("На основании:"); this.datatable4.Add(this.label32); global::Gtk.Table.TableChild w73 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label32])); w73.TopAttach = ((uint)(2)); w73.BottomAttach = ((uint)(3)); w73.LeftAttach = ((uint)(2)); w73.RightAttach = ((uint)(3)); w73.XOptions = ((global::Gtk.AttachOptions)(4)); w73.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("ФИО для договора:"); this.datatable4.Add(this.label7); global::Gtk.Table.TableChild w74 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label7])); w74.LeftAttach = ((uint)(2)); w74.RightAttach = ((uint)(3)); w74.XOptions = ((global::Gtk.AttachOptions)(4)); w74.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.validatedINN = new global::Gamma.Widgets.yValidatedEntry(); this.validatedINN.CanFocus = true; this.validatedINN.Name = "validatedINN"; this.validatedINN.IsEditable = true; this.validatedINN.MaxLength = 12; this.validatedINN.InvisibleChar = '●'; this.datatable4.Add(this.validatedINN); global::Gtk.Table.TableChild w75 = ((global::Gtk.Table.TableChild)(this.datatable4[this.validatedINN])); w75.LeftAttach = ((uint)(1)); w75.RightAttach = ((uint)(2)); w75.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.validatedKPP = new global::Gamma.Widgets.yValidatedEntry(); this.validatedKPP.CanFocus = true; this.validatedKPP.Name = "validatedKPP"; this.validatedKPP.IsEditable = true; this.validatedKPP.MaxLength = 9; this.validatedKPP.InvisibleChar = '●'; this.datatable4.Add(this.validatedKPP); global::Gtk.Table.TableChild w76 = ((global::Gtk.Table.TableChild)(this.datatable4[this.validatedKPP])); w76.TopAttach = ((uint)(1)); w76.BottomAttach = ((uint)(2)); w76.LeftAttach = ((uint)(1)); w76.RightAttach = ((uint)(2)); w76.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.yentrySignBaseOf = new global::Gamma.GtkWidgets.yEntry(); this.yentrySignBaseOf.CanFocus = true; this.yentrySignBaseOf.Name = "yentrySignBaseOf"; this.yentrySignBaseOf.IsEditable = true; this.yentrySignBaseOf.InvisibleChar = '●'; this.datatable4.Add(this.yentrySignBaseOf); global::Gtk.Table.TableChild w77 = ((global::Gtk.Table.TableChild)(this.datatable4[this.yentrySignBaseOf])); w77.TopAttach = ((uint)(2)); w77.BottomAttach = ((uint)(3)); w77.LeftAttach = ((uint)(3)); w77.RightAttach = ((uint)(4)); w77.XOptions = ((global::Gtk.AttachOptions)(4)); w77.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.yentrySignFIO = new global::Gamma.GtkWidgets.yEntry(); this.yentrySignFIO.CanFocus = true; this.yentrySignFIO.Name = "yentrySignFIO"; this.yentrySignFIO.IsEditable = true; this.yentrySignFIO.InvisibleChar = '●'; this.datatable4.Add(this.yentrySignFIO); global::Gtk.Table.TableChild w78 = ((global::Gtk.Table.TableChild)(this.datatable4[this.yentrySignFIO])); w78.LeftAttach = ((uint)(3)); w78.RightAttach = ((uint)(4)); w78.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.yentrySignPost = new global::Gamma.GtkWidgets.yEntry(); this.yentrySignPost.CanFocus = true; this.yentrySignPost.Name = "yentrySignPost"; this.yentrySignPost.IsEditable = true; this.yentrySignPost.InvisibleChar = '●'; this.datatable4.Add(this.yentrySignPost); global::Gtk.Table.TableChild w79 = ((global::Gtk.Table.TableChild)(this.datatable4[this.yentrySignPost])); w79.TopAttach = ((uint)(1)); w79.BottomAttach = ((uint)(2)); w79.LeftAttach = ((uint)(3)); w79.RightAttach = ((uint)(4)); w79.XOptions = ((global::Gtk.AttachOptions)(4)); w79.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox6.Add(this.datatable4); global::Gtk.Box.BoxChild w80 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.datatable4])); w80.Position = 0; w80.Expand = false; w80.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.accountsView = new global::QSBanks.AccountsView(); this.accountsView.Events = ((global::Gdk.EventMask)(256)); this.accountsView.Name = "accountsView"; this.vbox6.Add(this.accountsView); global::Gtk.Box.BoxChild w81 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.accountsView])); w81.Position = 1; this.notebook1.Add(this.vbox6); global::Gtk.Notebook.NotebookChild w82 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox6])); w82.Position = 2; // Notebook tab this.label21 = new global::Gtk.Label(); this.label21.Name = "label21"; this.label21.LabelProp = global::Mono.Unix.Catalog.GetString("Реквизиты"); this.notebook1.SetTabLabel(this.vbox6, this.label21); this.label21.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.datatable3 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.datatable3.Name = "datatable3"; this.datatable3.RowSpacing = ((uint)(6)); this.datatable3.ColumnSpacing = ((uint)(6)); this.datatable3.BorderWidth = ((uint)(6)); // Container child datatable3.Gtk.Table+TableChild this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.Xalign = 1F; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Менеджер по продажам:"); this.datatable3.Add(this.label14); global::Gtk.Table.TableChild w83 = ((global::Gtk.Table.TableChild)(this.datatable3[this.label14])); w83.XOptions = ((global::Gtk.AttachOptions)(4)); w83.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable3.Gtk.Table+TableChild this.label22 = new global::Gtk.Label(); this.label22.Name = "label22"; this.label22.Xalign = 1F; this.label22.LabelProp = global::Mono.Unix.Catalog.GetString("Бухгалтер:"); this.datatable3.Add(this.label22); global::Gtk.Table.TableChild w84 = ((global::Gtk.Table.TableChild)(this.datatable3[this.label22])); w84.TopAttach = ((uint)(1)); w84.BottomAttach = ((uint)(2)); w84.XOptions = ((global::Gtk.AttachOptions)(4)); w84.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable3.Gtk.Table+TableChild this.label23 = new global::Gtk.Label(); this.label23.Name = "label23"; this.label23.Xalign = 1F; this.label23.LabelProp = global::Mono.Unix.Catalog.GetString("Менеджер по бутылям:"); this.datatable3.Add(this.label23); global::Gtk.Table.TableChild w85 = ((global::Gtk.Table.TableChild)(this.datatable3[this.label23])); w85.TopAttach = ((uint)(2)); w85.BottomAttach = ((uint)(3)); w85.XOptions = ((global::Gtk.AttachOptions)(4)); w85.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable3.Gtk.Table+TableChild this.referenceAccountant = new global::Gamma.Widgets.yEntryReference(); this.referenceAccountant.Events = ((global::Gdk.EventMask)(256)); this.referenceAccountant.Name = "referenceAccountant"; this.referenceAccountant.DisplayFields = new string[] { "LastName", "Name", "Patronymic"}; this.referenceAccountant.DisplayFormatString = "{0} {1} {2}"; this.datatable3.Add(this.referenceAccountant); global::Gtk.Table.TableChild w86 = ((global::Gtk.Table.TableChild)(this.datatable3[this.referenceAccountant])); w86.TopAttach = ((uint)(1)); w86.BottomAttach = ((uint)(2)); w86.LeftAttach = ((uint)(1)); w86.RightAttach = ((uint)(2)); w86.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable3.Gtk.Table+TableChild this.referenceBottleManager = new global::Gamma.Widgets.yEntryReference(); this.referenceBottleManager.Events = ((global::Gdk.EventMask)(256)); this.referenceBottleManager.Name = "referenceBottleManager"; this.referenceBottleManager.DisplayFields = new string[] { "LastName", "Name", "Patronymic"}; this.referenceBottleManager.DisplayFormatString = "{0} {1} {2}"; this.datatable3.Add(this.referenceBottleManager); global::Gtk.Table.TableChild w87 = ((global::Gtk.Table.TableChild)(this.datatable3[this.referenceBottleManager])); w87.TopAttach = ((uint)(2)); w87.BottomAttach = ((uint)(3)); w87.LeftAttach = ((uint)(1)); w87.RightAttach = ((uint)(2)); w87.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable3.Gtk.Table+TableChild this.referenceSalesManager = new global::Gamma.Widgets.yEntryReference(); this.referenceSalesManager.Events = ((global::Gdk.EventMask)(256)); this.referenceSalesManager.Name = "referenceSalesManager"; this.referenceSalesManager.DisplayFields = new string[] { "LastName", "Name", "Patronymic"}; this.referenceSalesManager.DisplayFormatString = "{0} {1} {2}"; this.datatable3.Add(this.referenceSalesManager); global::Gtk.Table.TableChild w88 = ((global::Gtk.Table.TableChild)(this.datatable3[this.referenceSalesManager])); w88.LeftAttach = ((uint)(1)); w88.RightAttach = ((uint)(2)); w88.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebook1.Add(this.datatable3); global::Gtk.Notebook.NotebookChild w89 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.datatable3])); w89.Position = 3; // Notebook tab this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Кураторы"); this.notebook1.SetTabLabel(this.datatable3, this.label10); this.label10.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.contactsview1 = new global::Vodovoz.ContactsView(); this.contactsview1.Events = ((global::Gdk.EventMask)(256)); this.contactsview1.Name = "contactsview1"; this.notebook1.Add(this.contactsview1); global::Gtk.Notebook.NotebookChild w90 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.contactsview1])); w90.Position = 4; // Notebook tab this.label24 = new global::Gtk.Label(); this.label24.Name = "label24"; this.label24.LabelProp = global::Mono.Unix.Catalog.GetString("Контактные лица"); this.notebook1.SetTabLabel(this.contactsview1, this.label24); this.label24.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.proxiesview1 = new global::Vodovoz.ProxyView(); this.proxiesview1.Events = ((global::Gdk.EventMask)(256)); this.proxiesview1.Name = "proxiesview1"; this.notebook1.Add(this.proxiesview1); global::Gtk.Notebook.NotebookChild w91 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.proxiesview1])); w91.Position = 5; // Notebook tab this.label30 = new global::Gtk.Label(); this.label30.Name = "label30"; this.label30.LabelProp = global::Mono.Unix.Catalog.GetString("Доверенности"); this.notebook1.SetTabLabel(this.proxiesview1, this.label30); this.label30.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.counterpartyContractsView = new global::Vodovoz.CounterpartyContractsView(); this.counterpartyContractsView.Events = ((global::Gdk.EventMask)(256)); this.counterpartyContractsView.Name = "counterpartyContractsView"; this.notebook1.Add(this.counterpartyContractsView); global::Gtk.Notebook.NotebookChild w92 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.counterpartyContractsView])); w92.Position = 6; // Notebook tab this.label34 = new global::Gtk.Label(); this.label34.Name = "label34"; this.label34.LabelProp = global::Mono.Unix.Catalog.GetString("Договор"); this.notebook1.SetTabLabel(this.counterpartyContractsView, this.label34); this.label34.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox9 = new global::Gtk.VBox(); this.vbox9.Name = "vbox9"; this.vbox9.Spacing = 6; this.vbox9.BorderWidth = ((uint)(6)); // Container child vbox9.Gtk.Box+BoxChild this.deliveryPointView = new global::Vodovoz.DeliveryPointView(); this.deliveryPointView.Events = ((global::Gdk.EventMask)(256)); this.deliveryPointView.Name = "deliveryPointView"; this.vbox9.Add(this.deliveryPointView); global::Gtk.Box.BoxChild w93 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.deliveryPointView])); w93.Position = 0; this.notebook1.Add(this.vbox9); global::Gtk.Notebook.NotebookChild w94 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox9])); w94.Position = 7; // Notebook tab this.label40 = new global::Gtk.Label(); this.label40.Name = "label40"; this.label40.LabelProp = global::Mono.Unix.Catalog.GetString("Точки доставки"); this.notebook1.SetTabLabel(this.vbox9, this.label40); this.label40.ShowAll(); this.vbox2.Add(this.notebook1); global::Gtk.Box.BoxChild w95 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.notebook1])); w95.Position = 3; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.labelDefaultExpense.Hide(); this.referenceDefaultExpense.Hide(); this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.radioInfo.Toggled += new global::System.EventHandler(this.OnRadioInfoToggled); this.radioContacts.Toggled += new global::System.EventHandler(this.OnRadioContactsToggled); this.radioDetails.Toggled += new global::System.EventHandler(this.OnRadioDetailsToggled); this.radioCurators.Toggled += new global::System.EventHandler(this.OnRadioCuratorsToggled); this.radioContactPersons.Toggled += new global::System.EventHandler(this.OnRadioContactPersonsToggled); this.radiobuttonProxies.Toggled += new global::System.EventHandler(this.OnRadiobuttonProxiesToggled); this.radioContracts.Toggled += new global::System.EventHandler(this.OnRadioContractsToggled); this.radioDeliveryPoint.Toggled += new global::System.EventHandler(this.OnRadioDeliveryPointToggled); this.checkSupplier.Toggled += new global::System.EventHandler(this.OnCheckSupplierToggled); this.referencePreviousCounterparty.ChangedByUser += new global::System.EventHandler(this.OnReferencePreviousCounterpartyChangedByUser); this.referenceMainCounterparty.ChangedByUser += new global::System.EventHandler(this.OnReferenceMainCounterpartyChangedByUser); this.enumPersonType.Changed += new global::System.EventHandler(this.OnEnumPersonTypeChanged); this.enumPayment.EnumItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnEnumPaymentEnumItemSelected); this.yentrySignPost.FocusInEvent += new global::Gtk.FocusInEventHandler(this.OnYentrySignPostFocusInEvent); this.yentrySignBaseOf.FocusInEvent += new global::Gtk.FocusInEventHandler(this.OnYentrySignBaseOfFocusInEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget QSBanks.AccountDlg global::Stetic.BinContainer.Attach (this); this.Name = "QSBanks.AccountDlg"; // Container child QSBanks.AccountDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.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.vbox1.Add (this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.labelInactive = new global::Gtk.Label (); this.labelInactive.Name = "labelInactive"; this.labelInactive.Justify = ((global::Gtk.Justification)(2)); this.vbox1.Add (this.labelInactive); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.labelInactive])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.datatableMain = new global::Gtk.Table (((uint)(4)), ((uint)(2)), false); this.datatableMain.Name = "datatableMain"; this.datatableMain.RowSpacing = ((uint)(6)); this.datatableMain.ColumnSpacing = ((uint)(6)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryName = new global::Gamma.GtkWidgets.yEntry (); this.dataentryName.CanFocus = true; this.dataentryName.Name = "dataentryName"; this.dataentryName.IsEditable = true; this.dataentryName.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryName); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryName])); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataentryNumber = new global::Gamma.Widgets.yValidatedEntry (); this.dataentryNumber.CanFocus = true; this.dataentryNumber.Name = "dataentryNumber"; this.dataentryNumber.IsEditable = true; this.dataentryNumber.MaxLength = 25; this.dataentryNumber.InvisibleChar = '●'; this.datatableMain.Add (this.dataentryNumber); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryNumber])); 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 datatableMain.Gtk.Table+TableChild this.dataentryrefBank = new global::Gamma.Widgets.yEntryReference (); this.dataentryrefBank.Events = ((global::Gdk.EventMask)(256)); this.dataentryrefBank.Name = "dataentryrefBank"; this.dataentryrefBank.DisplayFields = new string[] { "Name" }; this.datatableMain.Add (this.dataentryrefBank); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryrefBank])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.dataframe1 = new global::Gtk.Frame (); this.dataframe1.Name = "dataframe1"; this.dataframe1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child dataframe1.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.datatableBank = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.datatableBank.Name = "datatableBank"; this.datatableBank.RowSpacing = ((uint)(6)); this.datatableBank.ColumnSpacing = ((uint)(6)); // Container child datatableBank.Gtk.Table+TableChild this.datalabelBik = new global::Gamma.GtkWidgets.yLabel (); this.datalabelBik.Name = "datalabelBik"; this.datalabelBik.LabelProp = global::Mono.Unix.Catalog.GetString ("datalabel1"); this.datatableBank.Add (this.datalabelBik); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatableBank [this.datalabelBik])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableBank.Gtk.Table+TableChild this.datalabelCity = new global::Gamma.GtkWidgets.yLabel (); this.datalabelCity.Name = "datalabelCity"; this.datalabelCity.LabelProp = global::Mono.Unix.Catalog.GetString ("datalabel1"); this.datatableBank.Add (this.datalabelCity); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatableBank [this.datalabelCity])); 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 datatableBank.Gtk.Table+TableChild this.datalabelRegion = new global::Gamma.GtkWidgets.yLabel (); this.datalabelRegion.Name = "datalabelRegion"; this.datalabelRegion.LabelProp = global::Mono.Unix.Catalog.GetString ("datalabel2"); this.datatableBank.Add (this.datalabelRegion); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatableBank [this.datalabelRegion])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableBank.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.datatableBank.Add (this.label4); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatableBank [this.label4])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableBank.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.datatableBank.Add (this.label5); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatableBank [this.label5])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableBank.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.datatableBank.Add (this.label6); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatableBank [this.label6])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment2.Add (this.datatableBank); this.dataframe1.Add (this.GtkAlignment2); this.datatableMain.Add (this.dataframe1); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataframe1])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.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.datatableMain.Add (this.label1); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label1])); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.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.datatableMain.Add (this.label2); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label2])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatableMain.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("В банке:"); this.datatableMain.Add (this.label3); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label3])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add (this.datatableMain); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.datatableMain])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.labelInactive.Hide (); this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Employees.EmployeePostView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Employees.EmployeePostView"; // Container child Vodovoz.Views.Employees.EmployeePostView.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox1.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label = new global::Gtk.Label(); this.label.Name = "label"; this.label.Xalign = 1F; this.label.LabelProp = global::Mono.Unix.Catalog.GetString("Название должности:"); this.hbox2.Add(this.label); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.yentryEmployeePost = new global::Gamma.GtkWidgets.yEntry(); this.yentryEmployeePost.CanFocus = true; this.yentryEmployeePost.Name = "yentryEmployeePost"; this.yentryEmployeePost.IsEditable = true; this.yentryEmployeePost.InvisibleChar = '•'; this.hbox2.Add(this.yentryEmployeePost); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.yentryEmployeePost])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w8.Position = 1; w8.Expand = false; w8.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 QSBusinessCommon.MeasurementUnitsDlg Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this); this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default"); this.UIManager.InsertActionGroup(w2, 0); this.Name = "QSBusinessCommon.MeasurementUnitsDlg"; // Container child QSBusinessCommon.MeasurementUnitsDlg.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w3; this.hbox4.Add(this.buttonSave); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w5; this.hbox4.Add(this.buttonCancel); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.vbox3.Add(this.hbox4); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox4])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.datatable1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.datatable1.Name = "datatable1"; this.datatable1.RowSpacing = ((uint)(6)); this.datatable1.ColumnSpacing = ((uint)(6)); // Container child datatable1.Gtk.Table+TableChild this.dataentryOKEI = new global::Gamma.GtkWidgets.yEntry(); this.dataentryOKEI.CanFocus = true; this.dataentryOKEI.Name = "dataentryOKEI"; this.dataentryOKEI.IsEditable = true; this.dataentryOKEI.MaxLength = 3; this.dataentryOKEI.InvisibleChar = '●'; this.datatable1.Add(this.dataentryOKEI); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable1[this.dataentryOKEI])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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 = 10; this.entryName.InvisibleChar = '●'; this.datatable1.Add(this.entryName); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1[this.entryName])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Код ОКЕИ:"); this.datatable1.Add(this.label1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label1])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Знаков после запятой:"); this.label10.Justify = ((global::Gtk.Justification)(1)); this.datatable1.Add(this.label10); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label10])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.datatable1.Add(this.label11); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1[this.label11])); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.spinDigits = new global::Gamma.GtkWidgets.ySpinButton(0, 5, 1); this.spinDigits.CanFocus = true; this.spinDigits.Name = "spinDigits"; this.spinDigits.Adjustment.PageIncrement = 10; this.spinDigits.ClimbRate = 1; this.spinDigits.Numeric = true; this.spinDigits.ValueAsDecimal = 0m; this.spinDigits.ValueAsInt = 0; this.datatable1.Add(this.spinDigits); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable1[this.spinDigits])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add(this.datatable1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.datatable1])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } w1.SetUiManager(UIManager); this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.CallTaskDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.CallTaskDlg"; // Container child Vodovoz.Dialogs.CallTaskDlg.Gtk.Container+ContainerChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w1 = new global::Gtk.Viewport(); w1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 20; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.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 w2 = new global::Gtk.Image(); w2.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w2; this.hbox3.Add(this.buttonSave); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonSave])); w3.Position = 0; w3.Expand = false; w3.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 w4 = new global::Gtk.Image(); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w4; this.hbox3.Add(this.buttonCancel); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonCancel])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.labelCreator = new global::Gtk.Label(); this.labelCreator.Name = "labelCreator"; this.labelCreator.LabelProp = global::Mono.Unix.Catalog.GetString("Создатель :"); this.hbox3.Add(this.labelCreator); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.labelCreator])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 3; w6.Expand = false; w6.Fill = false; this.vbox2.Add(this.hbox3); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 15; // Container child hbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(13)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(10)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.ClientPhonesView = new global::Vodovoz.Dialogs.Phones.PhonesView(); this.ClientPhonesView.Events = ((global::Gdk.EventMask)(256)); this.ClientPhonesView.Name = "ClientPhonesView"; this.table1.Add(this.ClientPhonesView); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.ClientPhonesView])); w8.TopAttach = ((uint)(3)); w8.BottomAttach = ((uint)(4)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboboxImpotanceType = new global::Gamma.Widgets.yEnumComboBox(); this.comboboxImpotanceType.Name = "comboboxImpotanceType"; this.comboboxImpotanceType.ShowSpecialStateAll = false; this.comboboxImpotanceType.ShowSpecialStateNot = false; this.comboboxImpotanceType.UseShortTitle = false; this.comboboxImpotanceType.DefaultFirst = false; this.table1.Add(this.comboboxImpotanceType); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.comboboxImpotanceType])); w9.TopAttach = ((uint)(11)); w9.BottomAttach = ((uint)(12)); 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.deadlineYdatepicker = new global::QS.Widgets.GtkUI.DatePicker(); this.deadlineYdatepicker.Events = ((global::Gdk.EventMask)(256)); this.deadlineYdatepicker.Name = "deadlineYdatepicker"; this.deadlineYdatepicker.WithTime = true; this.deadlineYdatepicker.HideCalendarButton = false; this.deadlineYdatepicker.Date = new global::System.DateTime(0); this.deadlineYdatepicker.IsEditable = true; this.deadlineYdatepicker.AutoSeparation = false; this.table1.Add(this.deadlineYdatepicker); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.deadlineYdatepicker])); w10.TopAttach = ((uint)(8)); w10.BottomAttach = ((uint)(9)); 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.debtByAddressEntry = new global::Gtk.Entry(); this.debtByAddressEntry.CanFocus = true; this.debtByAddressEntry.Name = "debtByAddressEntry"; this.debtByAddressEntry.IsEditable = false; this.debtByAddressEntry.InvisibleChar = '•'; this.table1.Add(this.debtByAddressEntry); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.debtByAddressEntry])); w11.TopAttach = ((uint)(6)); w11.BottomAttach = ((uint)(7)); 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.debtByClientEntry = new global::Gamma.GtkWidgets.yEntry(); this.debtByClientEntry.CanFocus = true; this.debtByClientEntry.Name = "debtByClientEntry"; this.debtByClientEntry.IsEditable = false; this.debtByClientEntry.InvisibleChar = '•'; this.table1.Add(this.debtByClientEntry); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.debtByClientEntry])); w12.TopAttach = ((uint)(5)); w12.BottomAttach = ((uint)(6)); 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.DeliveryPointPhonesView = new global::Vodovoz.Dialogs.Phones.PhonesView(); this.DeliveryPointPhonesView.Events = ((global::Gdk.EventMask)(256)); this.DeliveryPointPhonesView.Name = "DeliveryPointPhonesView"; this.table1.Add(this.DeliveryPointPhonesView); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.DeliveryPointPhonesView])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.EmployeeyEntryreferencevm = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.EmployeeyEntryreferencevm.Events = ((global::Gdk.EventMask)(256)); this.EmployeeyEntryreferencevm.Name = "EmployeeyEntryreferencevm"; this.table1.Add(this.EmployeeyEntryreferencevm); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.EmployeeyEntryreferencevm])); w14.TopAttach = ((uint)(9)); w14.BottomAttach = ((uint)(10)); 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.entityVMEntryCounterparty = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityVMEntryCounterparty.Events = ((global::Gdk.EventMask)(256)); this.entityVMEntryCounterparty.Name = "entityVMEntryCounterparty"; this.entityVMEntryCounterparty.CanEditReference = true; this.table1.Add(this.entityVMEntryCounterparty); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.entityVMEntryCounterparty])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entityVMEntryDeliveryPoint = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityVMEntryDeliveryPoint.Events = ((global::Gdk.EventMask)(256)); this.entityVMEntryDeliveryPoint.Name = "entityVMEntryDeliveryPoint"; this.entityVMEntryDeliveryPoint.CanEditReference = true; this.table1.Add(this.entityVMEntryDeliveryPoint); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.entityVMEntryDeliveryPoint])); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryReserve = new global::Gtk.Entry(); this.entryReserve.CanFocus = true; this.entryReserve.Name = "entryReserve"; this.entryReserve.IsEditable = false; this.entryReserve.InvisibleChar = '•'; this.table1.Add(this.entryReserve); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.entryReserve])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.IsTaskCompleteButton = new global::Gamma.GtkWidgets.yCheckButton(); this.IsTaskCompleteButton.HeightRequest = 40; this.IsTaskCompleteButton.CanFocus = true; this.IsTaskCompleteButton.Name = "IsTaskCompleteButton"; this.IsTaskCompleteButton.Label = global::Mono.Unix.Catalog.GetString("Задача выполнена "); this.IsTaskCompleteButton.DrawIndicator = true; this.IsTaskCompleteButton.UseUnderline = true; this.table1.Add(this.IsTaskCompleteButton); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.IsTaskCompleteButton])); w18.TopAttach = ((uint)(12)); w18.BottomAttach = ((uint)(13)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Клиент"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Резерв"); this.table1.Add(this.label10); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.label10])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Тара на забор :"); this.table1.Add(this.label12); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.label12])); w21.TopAttach = ((uint)(10)); w21.BottomAttach = ((uint)(11)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Срочность задачи"); this.table1.Add(this.label13); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.label13])); w22.TopAttach = ((uint)(11)); w22.BottomAttach = ((uint)(12)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Телефон( Точка доставки ) :"); this.table1.Add(this.label14); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.label14])); w23.TopAttach = ((uint)(4)); w23.BottomAttach = ((uint)(5)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Адрес"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Долг по клиенту"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w25.TopAttach = ((uint)(5)); w25.BottomAttach = ((uint)(6)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Долг по адресу"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w26.TopAttach = ((uint)(6)); w26.BottomAttach = ((uint)(7)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Выполнить до"); this.table1.Add(this.label6); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.label6])); w27.TopAttach = ((uint)(8)); w27.BottomAttach = ((uint)(9)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Статус задачи"); this.table1.Add(this.label7); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1[this.label7])); w28.TopAttach = ((uint)(7)); w28.BottomAttach = ((uint)(8)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Закреплено за"); this.table1.Add(this.label8); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w29.TopAttach = ((uint)(9)); w29.BottomAttach = ((uint)(10)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelClientPhone = new global::Gtk.Label(); this.labelClientPhone.Name = "labelClientPhone"; this.labelClientPhone.LabelProp = global::Mono.Unix.Catalog.GetString("Телефон( Клиент ) :"); this.table1.Add(this.labelClientPhone); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.labelClientPhone])); w30.TopAttach = ((uint)(3)); w30.BottomAttach = ((uint)(4)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.TaskStateComboBox = new global::Gamma.Widgets.yEnumComboBox(); this.TaskStateComboBox.Name = "TaskStateComboBox"; this.TaskStateComboBox.ShowSpecialStateAll = false; this.TaskStateComboBox.ShowSpecialStateNot = false; this.TaskStateComboBox.UseShortTitle = false; this.TaskStateComboBox.DefaultFirst = false; this.table1.Add(this.TaskStateComboBox); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1[this.TaskStateComboBox])); w31.TopAttach = ((uint)(7)); w31.BottomAttach = ((uint)(8)); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryTareReturn = new global::Gamma.Widgets.yValidatedEntry(); this.yentryTareReturn.CanFocus = true; this.yentryTareReturn.Name = "yentryTareReturn"; this.yentryTareReturn.IsEditable = true; this.yentryTareReturn.InvisibleChar = '•'; this.table1.Add(this.yentryTareReturn); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryTareReturn])); w32.TopAttach = ((uint)(10)); w32.BottomAttach = ((uint)(11)); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table1); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table1])); w33.Position = 0; w33.Expand = false; w33.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox1.Add(this.vseparator1); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator1])); w34.Position = 1; w34.Expand = false; w34.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vboxComments = new global::Gtk.VBox(); this.vboxComments.Name = "vboxComments"; this.vboxComments.Spacing = 6; // Container child vboxComments.Gtk.Box+BoxChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий :"); this.vboxComments.Add(this.label9); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vboxComments[this.label9])); w35.Position = 0; w35.Expand = false; w35.Fill = false; // Container child vboxComments.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.ytextviewComments = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewComments.CanFocus = true; this.ytextviewComments.Name = "ytextviewComments"; this.ytextviewComments.Editable = false; this.ytextviewComments.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add(this.ytextviewComments); this.vboxComments.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vboxComments[this.GtkScrolledWindow])); w37.Position = 1; // Container child vboxComments.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vboxComments.Add(this.hseparator1); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vboxComments[this.hseparator1])); w38.Position = 2; w38.Expand = false; w38.Fill = false; // Container child vboxComments.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.textviewLastComment = new global::Gamma.GtkWidgets.yTextView(); this.textviewLastComment.CanFocus = true; this.textviewLastComment.Name = "textviewLastComment"; this.GtkScrolledWindow1.Add(this.textviewLastComment); this.vboxComments.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vboxComments[this.GtkScrolledWindow1])); w40.Position = 3; // Container child vboxComments.Gtk.Box+BoxChild this.buttonAddComment = new global::Gtk.Button(); this.buttonAddComment.CanFocus = true; this.buttonAddComment.Name = "buttonAddComment"; this.buttonAddComment.UseUnderline = true; this.buttonAddComment.Label = global::Mono.Unix.Catalog.GetString("Добавить комментарий"); global::Gtk.Image w41 = new global::Gtk.Image(); w41.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddComment.Image = w41; this.vboxComments.Add(this.buttonAddComment); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vboxComments[this.buttonAddComment])); w42.Position = 4; w42.Expand = false; w42.Fill = false; // Container child vboxComments.Gtk.Box+BoxChild this.buttonRevertComment = new global::Gtk.Button(); this.buttonRevertComment.CanFocus = true; this.buttonRevertComment.Name = "buttonRevertComment"; this.buttonRevertComment.UseUnderline = true; this.buttonRevertComment.Label = global::Mono.Unix.Catalog.GetString("Отменить последний комментарий"); global::Gtk.Image w43 = new global::Gtk.Image(); w43.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonRevertComment.Image = w43; this.vboxComments.Add(this.buttonRevertComment); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vboxComments[this.buttonRevertComment])); w44.Position = 5; w44.Expand = false; w44.Fill = false; this.hbox1.Add(this.vboxComments); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vboxComments])); w45.Position = 2; // Container child hbox1.Gtk.Box+BoxChild this.buttonSplit = new global::Gtk.Button(); this.buttonSplit.WidthRequest = 30; this.buttonSplit.CanFocus = true; this.buttonSplit.Name = "buttonSplit"; this.buttonSplit.UseUnderline = true; this.buttonSplit.Label = global::Mono.Unix.Catalog.GetString(">>"); this.hbox1.Add(this.buttonSplit); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSplit])); w46.Position = 3; w46.Expand = false; w46.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vboxOldComments = new global::Gtk.VBox(); this.vboxOldComments.Name = "vboxOldComments"; this.vboxOldComments.Spacing = 6; // Container child vboxOldComments.Gtk.Box+BoxChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарии про прошлым задачам"); this.vboxOldComments.Add(this.label11); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vboxOldComments[this.label11])); w47.Position = 0; w47.Expand = false; w47.Fill = false; // Container child vboxOldComments.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.ytextviewOldComments = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewOldComments.CanFocus = true; this.ytextviewOldComments.Name = "ytextviewOldComments"; this.ytextviewOldComments.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow2.Add(this.ytextviewOldComments); this.vboxOldComments.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vboxOldComments[this.GtkScrolledWindow2])); w49.Position = 1; this.hbox1.Add(this.vboxOldComments); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vboxOldComments])); w50.Position = 4; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w51.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.createOrderButton = new global::Gtk.Button(); this.createOrderButton.CanFocus = true; this.createOrderButton.Name = "createOrderButton"; this.createOrderButton.UseUnderline = true; this.createOrderButton.Label = global::Mono.Unix.Catalog.GetString("Оформить заказ"); this.hbox6.Add(this.createOrderButton); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.createOrderButton])); w52.Position = 0; w52.Expand = false; w52.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.createTaskButton = new global::Gtk.Button(); this.createTaskButton.CanFocus = true; this.createTaskButton.Name = "createTaskButton"; this.createTaskButton.UseUnderline = true; this.createTaskButton.Label = global::Mono.Unix.Catalog.GetString("Создать новую задачу"); this.hbox6.Add(this.createTaskButton); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.createTaskButton])); w53.Position = 1; w53.Expand = false; w53.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonReportByClient = new global::Gtk.Button(); this.buttonReportByClient.CanFocus = true; this.buttonReportByClient.Name = "buttonReportByClient"; this.buttonReportByClient.UseUnderline = true; this.buttonReportByClient.Label = global::Mono.Unix.Catalog.GetString("Акт по бутылям и залогам(по клиенту)"); this.hbox6.Add(this.buttonReportByClient); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonReportByClient])); w54.Position = 2; w54.Expand = false; w54.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonReportByDP = new global::Gtk.Button(); this.buttonReportByDP.CanFocus = true; this.buttonReportByDP.Name = "buttonReportByDP"; this.buttonReportByDP.UseUnderline = true; this.buttonReportByDP.Label = global::Mono.Unix.Catalog.GetString("Акт по бутылям и залогам(по точке доставки)"); this.hbox6.Add(this.buttonReportByDP); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonReportByDP])); w55.Position = 3; w55.Expand = false; w55.Fill = false; this.vbox2.Add(this.hbox6); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox6])); w56.Position = 2; w56.Expand = false; w56.Fill = false; w1.Add(this.vbox2); this.scrolledwindow1.Add(w1); this.Add(this.scrolledwindow1); if ((this.Child != null)) { this.Child.ShowAll(); } this.vboxOldComments.Hide(); this.Hide(); this.entityVMEntryDeliveryPoint.Changed += new global::System.EventHandler(this.OnEntityVMEntryDeliveryPointChanged); this.entityVMEntryDeliveryPoint.ChangedByUser += new global::System.EventHandler(this.OnEntityVMEntryDeliveryPointChangedByUser); this.entityVMEntryCounterparty.Changed += new global::System.EventHandler(this.OnEntityVMEntryCounterpartyChanged); this.entityVMEntryCounterparty.ChangedByUser += new global::System.EventHandler(this.OnEntityVMEntryCounterpartyChangedByUser); this.buttonAddComment.Clicked += new global::System.EventHandler(this.OnAddCommentButtonClicked); this.buttonRevertComment.Clicked += new global::System.EventHandler(this.OnCancelLastCommentButtonClicked); this.buttonSplit.Clicked += new global::System.EventHandler(this.OnButtonSplitClicked); this.createOrderButton.Clicked += new global::System.EventHandler(this.OnButtonCreateOrderClicked); this.createTaskButton.Clicked += new global::System.EventHandler(this.OnCreateTaskButtonClicked); this.buttonReportByClient.Clicked += new global::System.EventHandler(this.OnButtonReportByClientClicked); this.buttonReportByDP.Clicked += new global::System.EventHandler(this.OnButtonReportByDPClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Complaints.ComplaintResultOfCounterpartyView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Complaints.ComplaintResultOfCounterpartyView"; // Container child Vodovoz.Views.Complaints.ComplaintResultOfCounterpartyView.Gtk.Container+ContainerChild this.vboxDialog = new global::Gtk.VBox(); this.vboxDialog.Name = "vboxDialog"; this.vboxDialog.Spacing = 6; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hboxDialogButtons.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hboxDialogButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vboxDialog.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxDialogButtons])); w5.Position = 0; w5.Expand = false; // Container child vboxDialog.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.labelName = new global::Gtk.Label(); this.labelName.Name = "labelName"; this.labelName.Xalign = 1F; this.labelName.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.table1.Add(this.labelName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.labelName])); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryName = new global::Gamma.GtkWidgets.yEntry(); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.InvisibleChar = '•'; this.table1.Add(this.yentryName); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryName])); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxDialog.Add(this.table1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.table1])); w8.Position = 1; w8.Expand = false; // Container child vboxDialog.Gtk.Box+BoxChild this.chkIsArhive = new global::Gamma.GtkWidgets.yCheckButton(); this.chkIsArhive.CanFocus = true; this.chkIsArhive.Name = "chkIsArhive"; this.chkIsArhive.Label = global::Mono.Unix.Catalog.GetString("Архивный"); this.chkIsArhive.DrawIndicator = true; this.chkIsArhive.UseUnderline = true; this.vboxDialog.Add(this.chkIsArhive); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.chkIsArhive])); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.Add(this.vboxDialog); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.ErrorMessageView this.Name = "Vodovoz.Views.ErrorMessageView"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child Vodovoz.Views.ErrorMessageView.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.image249 = new global::Gtk.Image(); this.image249.Name = "image249"; this.image249.Xalign = 0F; this.image249.Yalign = 0F; this.image249.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-error", global::Gtk.IconSize.Dialog); this.hbox1.Add(this.image249); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.image249])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("К сожалению в программе произошла непредвиденная ошибка."); this.vbox2.Add(this.label1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Вы можете помочь нам улучшить программу и исправить данную проблему. \nДля этого в" + "оспользуйтесь формой отправки отчета об ошибке.\n"); this.label3.Justify = ((global::Gtk.Justification)(3)); this.vbox2.Add(this.label3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label3])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entryEmail = new global::Gamma.GtkWidgets.yEntry(); this.entryEmail.CanFocus = true; this.entryEmail.Name = "entryEmail"; this.entryEmail.IsEditable = true; this.entryEmail.InvisibleChar = '•'; this.table1.Add(this.entryEmail); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.entryEmail])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.textviewDescription = new global::Gamma.GtkWidgets.yTextView(); this.textviewDescription.CanFocus = true; this.textviewDescription.Name = "textviewDescription"; this.GtkScrolledWindow1.Add(this.textviewDescription); this.table1.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow1])); 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 table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.TooltipMarkup = "В этом поле опишите последовательность действий, которая привела к возникновению " + "ошибки."; 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)(1)); w8.BottomAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.TooltipMarkup = "Для отправки отчета нам требуется ваш email. Мы будем использовать его, для уточн" + "ения информации об ошибке, а также для оперативного информирования об устранении" + " данной проблемы."; this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("E-mail для связи:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); 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.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Для отправки отчета, пожалуйста, заполните следующие поля:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w11.Position = 2; w11.Expand = false; w11.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox2.Add(this.hseparator1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hseparator1])); w12.Position = 3; w12.Expand = false; w12.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textviewError = new global::Gamma.GtkWidgets.yTextView(); this.textviewError.CanFocus = true; this.textviewError.Name = "textviewError"; this.textviewError.Editable = false; this.textviewError.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow.Add(this.textviewError); this.expander1.Add(this.GtkScrolledWindow); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Техническая информация"); this.GtkLabel2.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel2; this.vbox2.Add(this.expander1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.expander1])); w15.Position = 4; this.hbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2])); w16.Position = 1; w1.Add(this.hbox1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(w1[this.hbox1])); w17.Position = 0; // 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.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.hbox2.Add(this.ylabel1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.ylabel1])); w18.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.ybuttonSendReport = new global::Gamma.GtkWidgets.yButton(); this.ybuttonSendReport.WidthRequest = 140; this.ybuttonSendReport.CanFocus = true; this.ybuttonSendReport.Name = "ybuttonSendReport"; this.ybuttonSendReport.UseUnderline = true; this.ybuttonSendReport.BorderWidth = ((uint)(2)); this.ybuttonSendReport.Label = global::Mono.Unix.Catalog.GetString("Отправить отчет"); global::Gtk.Image w19 = new global::Gtk.Image(); w19.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-disconnect", global::Gtk.IconSize.Menu); this.ybuttonSendReport.Image = w19; this.hbox2.Add(this.ybuttonSendReport); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.ybuttonSendReport])); w20.Position = 1; w20.Expand = false; w20.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.ybuttonCopy = new global::Gamma.GtkWidgets.yButton(); this.ybuttonCopy.WidthRequest = 140; this.ybuttonCopy.CanFocus = true; this.ybuttonCopy.Name = "ybuttonCopy"; this.ybuttonCopy.UseUnderline = true; this.ybuttonCopy.BorderWidth = ((uint)(2)); this.ybuttonCopy.Label = global::Mono.Unix.Catalog.GetString("Скопировать"); global::Gtk.Image w21 = new global::Gtk.Image(); w21.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-copy", global::Gtk.IconSize.Menu); this.ybuttonCopy.Image = w21; this.hbox2.Add(this.ybuttonCopy); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.ybuttonCopy])); w22.Position = 2; w22.Expand = false; w22.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.ybuttonOK = new global::Gamma.GtkWidgets.yButton(); this.ybuttonOK.WidthRequest = 140; this.ybuttonOK.CanFocus = true; this.ybuttonOK.Name = "ybuttonOK"; this.ybuttonOK.UseUnderline = true; this.ybuttonOK.BorderWidth = ((uint)(2)); this.ybuttonOK.Label = global::Mono.Unix.Catalog.GetString("Понятно"); global::Gtk.Image w23 = new global::Gtk.Image(); w23.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-close", global::Gtk.IconSize.Menu); this.ybuttonOK.Image = w23; this.hbox2.Add(this.ybuttonOK); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.ybuttonOK])); w24.Position = 3; w24.Expand = false; w24.Fill = false; w1.Add(this.hbox2); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(w1[this.hbox2])); w25.Position = 1; w25.Expand = false; w25.Fill = false; // Internal child Vodovoz.Views.ErrorMessageView.ActionArea global::Gtk.HButtonBox w26 = this.ActionArea; w26.Sensitive = false; w26.Name = "dialog1_ActionArea"; w26.Spacing = 10; w26.BorderWidth = ((uint)(5)); w26.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w27 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w26[this.buttonCancel])); w27.Expand = false; w27.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w28 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w26[this.buttonOk])); w28.Position = 1; w28.Expand = false; w28.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1055; this.DefaultHeight = 786; w26.Hide(); this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Employees.EmployeeDocDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Employees.EmployeeDocDlg"; // Container child Vodovoz.Dialogs.Employees.EmployeeDocDlg.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonSave = new global::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-cancel", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox2.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(6)), ((uint)(4)), false); this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboCategory = new global::Gamma.Widgets.yEnumComboBox(); this.comboCategory.Name = "comboCategory"; this.comboCategory.ShowSpecialStateAll = false; this.comboCategory.ShowSpecialStateNot = false; this.comboCategory.UseShortTitle = false; this.comboCategory.DefaultFirst = true; this.table1.Add(this.comboCategory); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.comboCategory])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(4)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewIssueOrg = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewIssueOrg.HeightRequest = 80; this.ytextviewIssueOrg.CanFocus = true; this.ytextviewIssueOrg.Name = "ytextviewIssueOrg"; this.GtkScrolledWindow.Add(this.ytextviewIssueOrg); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w8.TopAttach = ((uint)(5)); w8.BottomAttach = ((uint)(6)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("серия:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); 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.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("номер:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); 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.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Дата выдачи:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w11.TopAttach = ((uint)(3)); w11.BottomAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Кем выдан:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w12.TopAttach = ((uint)(5)); w12.BottomAttach = ((uint)(6)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Вид документа:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Код подразделения:"); this.table1.Add(this.label7); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label7])); w14.TopAttach = ((uint)(4)); w14.BottomAttach = ((uint)(5)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycheckMainDoc = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckMainDoc.CanFocus = true; this.ycheckMainDoc.Name = "ycheckMainDoc"; this.ycheckMainDoc.Label = global::Mono.Unix.Catalog.GetString("Главный документ"); this.ycheckMainDoc.DrawIndicator = true; this.ycheckMainDoc.UseUnderline = true; this.ycheckMainDoc.FocusOnClick = false; this.table1.Add(this.ycheckMainDoc); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.ycheckMainDoc])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydatePassportIssuedDate = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatePassportIssuedDate.Events = ((global::Gdk.EventMask)(256)); this.ydatePassportIssuedDate.Name = "ydatePassportIssuedDate"; this.ydatePassportIssuedDate.WithTime = false; this.ydatePassportIssuedDate.HideCalendarButton = false; this.ydatePassportIssuedDate.Date = new global::System.DateTime(0); this.ydatePassportIssuedDate.IsEditable = true; this.ydatePassportIssuedDate.AutoSeparation = false; this.table1.Add(this.ydatePassportIssuedDate); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.ydatePassportIssuedDate])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryDocName = new global::Gamma.GtkWidgets.yEntry(); this.yentryDocName.CanFocus = true; this.yentryDocName.Name = "yentryDocName"; this.yentryDocName.IsEditable = true; this.yentryDocName.InvisibleChar = '•'; this.table1.Add(this.yentryDocName); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryDocName])); w17.TopAttach = ((uint)(4)); w17.BottomAttach = ((uint)(5)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryPasSeria = new global::Gamma.GtkWidgets.yEntry(); this.yentryPasSeria.WidthRequest = 100; this.yentryPasSeria.CanFocus = true; this.yentryPasSeria.Name = "yentryPasSeria"; this.yentryPasSeria.IsEditable = true; this.yentryPasSeria.InvisibleChar = '•'; this.table1.Add(this.yentryPasSeria); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryPasSeria])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryPassportNumber = new global::Gamma.GtkWidgets.yEntry(); this.yentryPassportNumber.WidthRequest = 200; this.yentryPassportNumber.CanFocus = true; this.yentryPassportNumber.Name = "yentryPassportNumber"; this.yentryPassportNumber.IsEditable = true; this.yentryPassportNumber.InvisibleChar = '•'; this.table1.Add(this.yentryPassportNumber); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryPassportNumber])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(3)); w19.RightAttach = ((uint)(4)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w20.Position = 1; w20.Expand = false; w20.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.ycheckMainDoc.Hide(); this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnSaveButtonClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.comboCategory.EnumItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnDocumentTypeSelected); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget workwear.EmployeeCardDlg this.Name = "workwear.EmployeeCardDlg"; this.Title = global::Mono.Unix.Catalog.GetString ("Новая карточка сотрудника"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child workwear.EmployeeCardDlg.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // 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.table1 = new global::Gtk.Table (((uint)(8)), ((uint)(7)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboSex = new global::Gamma.Widgets.yEnumComboBox (); this.comboSex.Name = "comboSex"; this.comboSex.ShowSpecialStateAll = false; this.comboSex.ShowSpecialStateNot = false; this.comboSex.UseShortTitle = false; this.comboSex.DefaultFirst = false; this.table1.Add (this.comboSex); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboSex])); w2.TopAttach = ((uint)(4)); w2.BottomAttach = ((uint)(5)); w2.LeftAttach = ((uint)(3)); w2.RightAttach = ((uint)(4)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.dateDismiss = new global::Gamma.Widgets.yDatePicker (); this.dateDismiss.Events = ((global::Gdk.EventMask)(256)); this.dateDismiss.Name = "dateDismiss"; this.dateDismiss.WithTime = false; this.dateDismiss.Date = new global::System.DateTime (0); this.dateDismiss.IsEditable = true; this.dateDismiss.AutoSeparation = true; this.table1.Add (this.dateDismiss); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.dateDismiss])); w3.TopAttach = ((uint)(3)); w3.BottomAttach = ((uint)(4)); w3.LeftAttach = ((uint)(3)); w3.RightAttach = ((uint)(4)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.dateHire = new global::Gamma.Widgets.yDatePicker (); this.dateHire.Events = ((global::Gdk.EventMask)(256)); this.dateHire.Name = "dateHire"; this.dateHire.WithTime = false; this.dateHire.Date = new global::System.DateTime (0); this.dateHire.IsEditable = true; this.dateHire.AutoSeparation = true; this.table1.Add (this.dateHire); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.dateHire])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(3)); w4.RightAttach = ((uint)(4)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryFirstName = new global::Gamma.GtkWidgets.yEntry (); this.entryFirstName.CanFocus = true; this.entryFirstName.Name = "entryFirstName"; this.entryFirstName.IsEditable = true; this.entryFirstName.MaxLength = 20; this.entryFirstName.InvisibleChar = '●'; this.table1.Add (this.entryFirstName); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryFirstName])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryLastName = new global::Gamma.GtkWidgets.yEntry (); this.entryLastName.CanFocus = true; this.entryLastName.Name = "entryLastName"; this.entryLastName.IsEditable = true; this.entryLastName.MaxLength = 20; this.entryLastName.InvisibleChar = '●'; this.table1.Add (this.entryLastName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryLastName])); 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.entryPatronymic = new global::Gamma.GtkWidgets.yEntry (); this.entryPatronymic.CanFocus = true; this.entryPatronymic.Name = "entryPatronymic"; this.entryPatronymic.IsEditable = true; this.entryPatronymic.MaxLength = 20; this.entryPatronymic.InvisibleChar = '●'; this.table1.Add (this.entryPatronymic); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryPatronymic])); w7.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.entryId = new global::Gtk.Entry (); this.entryId.Sensitive = false; this.entryId.CanFocus = true; this.entryId.Name = "entryId"; this.entryId.Text = global::Mono.Unix.Catalog.GetString ("авто"); this.entryId.IsEditable = true; this.entryId.WidthChars = 10; this.entryId.MaxLength = 15; this.entryId.InvisibleChar = '●'; this.hbox7.Add (this.entryId); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.entryId])); w8.Position = 0; // Container child hbox7.Gtk.Box+BoxChild this.checkAuto = new global::Gtk.CheckButton (); this.checkAuto.CanFocus = true; this.checkAuto.Name = "checkAuto"; this.checkAuto.Label = global::Mono.Unix.Catalog.GetString ("Автоматически"); this.checkAuto.Active = true; this.checkAuto.DrawIndicator = true; this.checkAuto.UseUnderline = true; this.hbox7.Add (this.checkAuto); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.checkAuto])); w9.Position = 1; this.table1.Add (this.hbox7); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox7])); 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.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 w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.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.table1.Add (this.label10); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label10])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Руководитель:"); this.table1.Add (this.label11); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label11])); w13.TopAttach = ((uint)(5)); w13.BottomAttach = ((uint)(6)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label12 = new global::Gtk.Label (); this.label12.Name = "label12"; this.label12.Xalign = 1F; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Объект:"); this.table1.Add (this.label12); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label12])); w14.TopAttach = ((uint)(6)); w14.BottomAttach = ((uint)(7)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.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 w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label14])); w15.TopAttach = ((uint)(7)); w15.BottomAttach = ((uint)(8)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label16 = new global::Gtk.Label (); this.label16.Name = "label16"; this.label16.Xalign = 0F; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Характеристики одежды</b>"); this.label16.UseMarkup = true; this.table1.Add (this.label16); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label16])); w16.LeftAttach = ((uint)(4)); w16.RightAttach = ((uint)(7)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label17 = new global::Gtk.Label (); this.label17.Name = "label17"; this.label17.Xalign = 1F; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString ("Карточку создал:"); this.table1.Add (this.label17); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label17])); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label18 = new global::Gtk.Label (); this.label18.Name = "label18"; this.label18.Xalign = 1F; this.label18.LabelProp = global::Mono.Unix.Catalog.GetString ("Размер обуви:"); this.table1.Add (this.label18); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.label18])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.LeftAttach = ((uint)(4)); w18.RightAttach = ((uint)(5)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label19 = new global::Gtk.Label (); this.label19.Name = "label19"; this.label19.Xalign = 1F; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString ("Размер головного убора:"); this.table1.Add (this.label19); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.label19])); w19.TopAttach = ((uint)(4)); w19.BottomAttach = ((uint)(5)); w19.LeftAttach = ((uint)(4)); w19.RightAttach = ((uint)(5)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.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 w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label20 = new global::Gtk.Label (); this.label20.Name = "label20"; this.label20.Xalign = 1F; this.label20.LabelProp = global::Mono.Unix.Catalog.GetString ("Размер перчаток:"); this.table1.Add (this.label20); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.label20])); w21.TopAttach = ((uint)(5)); w21.BottomAttach = ((uint)(6)); w21.LeftAttach = ((uint)(4)); w21.RightAttach = ((uint)(5)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label23 = new global::Gtk.Label (); this.label23.Name = "label23"; this.label23.Xalign = 1F; this.label23.LabelProp = global::Mono.Unix.Catalog.GetString ("Табельный номер:"); this.table1.Add (this.label23); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.label23])); w22.TopAttach = ((uint)(2)); w22.BottomAttach = ((uint)(3)); w22.LeftAttach = ((uint)(2)); w22.RightAttach = ((uint)(3)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child 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 w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w24.TopAttach = ((uint)(3)); w24.BottomAttach = ((uint)(4)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата поступления:"); this.table1.Add (this.label5); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.LeftAttach = ((uint)(2)); w25.RightAttach = ((uint)(3)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата увольнения:"); this.table1.Add (this.label6); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6])); w26.TopAttach = ((uint)(3)); w26.BottomAttach = ((uint)(4)); w26.LeftAttach = ((uint)(2)); w26.RightAttach = ((uint)(3)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Пол:"); this.table1.Add (this.label7); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); w27.TopAttach = ((uint)(4)); w27.BottomAttach = ((uint)(5)); w27.LeftAttach = ((uint)(2)); w27.RightAttach = ((uint)(3)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Рост:"); this.table1.Add (this.label8); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8])); w28.TopAttach = ((uint)(1)); w28.BottomAttach = ((uint)(2)); w28.LeftAttach = ((uint)(4)); w28.RightAttach = ((uint)(5)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Размер одежды:"); this.table1.Add (this.label9); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1 [this.label9])); w29.TopAttach = ((uint)(2)); w29.BottomAttach = ((uint)(3)); w29.LeftAttach = ((uint)(4)); w29.RightAttach = ((uint)(5)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelObjectAddress = new global::Gtk.Label (); this.labelObjectAddress.Name = "labelObjectAddress"; this.labelObjectAddress.LabelProp = global::Mono.Unix.Catalog.GetString ("---"); this.labelObjectAddress.Wrap = true; this.labelObjectAddress.Selectable = true; this.table1.Add (this.labelObjectAddress); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelObjectAddress])); w30.TopAttach = ((uint)(7)); w30.BottomAttach = ((uint)(8)); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelUser = new global::Gtk.Label (); this.labelUser.Name = "labelUser"; this.labelUser.LabelProp = global::Mono.Unix.Catalog.GetString ("не указан"); this.table1.Add (this.labelUser); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelUser])); w31.LeftAttach = ((uint)(3)); w31.RightAttach = ((uint)(4)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboGlovesSize = new global::Gamma.GtkWidgets.yComboBox (); this.ycomboGlovesSize.Name = "ycomboGlovesSize"; this.table1.Add (this.ycomboGlovesSize); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboGlovesSize])); w32.TopAttach = ((uint)(5)); w32.BottomAttach = ((uint)(6)); w32.LeftAttach = ((uint)(6)); w32.RightAttach = ((uint)(7)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboGlovesStd = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboGlovesStd.Name = "ycomboGlovesStd"; this.ycomboGlovesStd.ShowSpecialStateAll = false; this.ycomboGlovesStd.ShowSpecialStateNot = false; this.ycomboGlovesStd.UseShortTitle = true; this.ycomboGlovesStd.DefaultFirst = false; this.table1.Add (this.ycomboGlovesStd); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboGlovesStd])); w33.TopAttach = ((uint)(5)); w33.BottomAttach = ((uint)(6)); w33.LeftAttach = ((uint)(5)); w33.RightAttach = ((uint)(6)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboHeaddressSize = new global::Gamma.GtkWidgets.yComboBox (); this.ycomboHeaddressSize.Name = "ycomboHeaddressSize"; this.table1.Add (this.ycomboHeaddressSize); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboHeaddressSize])); w34.TopAttach = ((uint)(4)); w34.BottomAttach = ((uint)(5)); w34.LeftAttach = ((uint)(6)); w34.RightAttach = ((uint)(7)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboHeaddressStd = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboHeaddressStd.Name = "ycomboHeaddressStd"; this.ycomboHeaddressStd.ShowSpecialStateAll = false; this.ycomboHeaddressStd.ShowSpecialStateNot = false; this.ycomboHeaddressStd.UseShortTitle = true; this.ycomboHeaddressStd.DefaultFirst = false; this.table1.Add (this.ycomboHeaddressStd); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboHeaddressStd])); w35.TopAttach = ((uint)(4)); w35.BottomAttach = ((uint)(5)); w35.LeftAttach = ((uint)(5)); w35.RightAttach = ((uint)(6)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboShoesSize = new global::Gamma.GtkWidgets.yComboBox (); this.ycomboShoesSize.Name = "ycomboShoesSize"; this.table1.Add (this.ycomboShoesSize); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboShoesSize])); w36.TopAttach = ((uint)(3)); w36.BottomAttach = ((uint)(4)); w36.LeftAttach = ((uint)(6)); w36.RightAttach = ((uint)(7)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboShoesStd = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboShoesStd.Name = "ycomboShoesStd"; this.ycomboShoesStd.ShowSpecialStateAll = false; this.ycomboShoesStd.ShowSpecialStateNot = false; this.ycomboShoesStd.UseShortTitle = true; this.ycomboShoesStd.DefaultFirst = false; this.table1.Add (this.ycomboShoesStd); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboShoesStd])); w37.TopAttach = ((uint)(3)); w37.BottomAttach = ((uint)(4)); w37.LeftAttach = ((uint)(5)); w37.RightAttach = ((uint)(6)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboWearGrowth = new global::Gamma.GtkWidgets.yComboBox (); this.ycomboWearGrowth.Name = "ycomboWearGrowth"; this.table1.Add (this.ycomboWearGrowth); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboWearGrowth])); w38.TopAttach = ((uint)(1)); w38.BottomAttach = ((uint)(2)); w38.LeftAttach = ((uint)(5)); w38.RightAttach = ((uint)(7)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboWearSize = new global::Gamma.GtkWidgets.yComboBox (); this.ycomboWearSize.Name = "ycomboWearSize"; this.table1.Add (this.ycomboWearSize); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboWearSize])); w39.TopAttach = ((uint)(2)); w39.BottomAttach = ((uint)(3)); w39.LeftAttach = ((uint)(6)); w39.RightAttach = ((uint)(7)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboWearStd = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboWearStd.Name = "ycomboWearStd"; this.ycomboWearStd.ShowSpecialStateAll = false; this.ycomboWearStd.ShowSpecialStateNot = false; this.ycomboWearStd.UseShortTitle = true; this.ycomboWearStd.DefaultFirst = false; this.table1.Add (this.ycomboWearStd); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboWearStd])); w40.TopAttach = ((uint)(2)); w40.BottomAttach = ((uint)(3)); w40.LeftAttach = ((uint)(5)); w40.RightAttach = ((uint)(6)); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryLeader = new global::Gamma.Widgets.yEntryReference (); this.yentryLeader.Events = ((global::Gdk.EventMask)(256)); this.yentryLeader.Name = "yentryLeader"; this.table1.Add (this.yentryLeader); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryLeader])); w41.TopAttach = ((uint)(5)); w41.BottomAttach = ((uint)(6)); w41.LeftAttach = ((uint)(1)); w41.RightAttach = ((uint)(2)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryObject = new global::Gamma.Widgets.yEntryReference (); this.yentryObject.Events = ((global::Gdk.EventMask)(256)); this.yentryObject.Name = "yentryObject"; this.table1.Add (this.yentryObject); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryObject])); w42.TopAttach = ((uint)(6)); w42.BottomAttach = ((uint)(7)); w42.LeftAttach = ((uint)(1)); w42.RightAttach = ((uint)(2)); w42.XOptions = ((global::Gtk.AttachOptions)(4)); w42.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryPersonnelNumber = new global::Gamma.GtkWidgets.yEntry (); this.yentryPersonnelNumber.CanFocus = true; this.yentryPersonnelNumber.Name = "yentryPersonnelNumber"; this.yentryPersonnelNumber.IsEditable = true; this.yentryPersonnelNumber.MaxLength = 15; this.yentryPersonnelNumber.InvisibleChar = '●'; this.table1.Add (this.yentryPersonnelNumber); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryPersonnelNumber])); w43.TopAttach = ((uint)(2)); w43.BottomAttach = ((uint)(3)); w43.LeftAttach = ((uint)(3)); w43.RightAttach = ((uint)(4)); w43.XOptions = ((global::Gtk.AttachOptions)(4)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryPost = new global::Gamma.Widgets.yEntryReference (); this.yentryPost.Events = ((global::Gdk.EventMask)(256)); this.yentryPost.Name = "yentryPost"; this.table1.Add (this.yentryPost); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryPost])); w44.TopAttach = ((uint)(4)); w44.BottomAttach = ((uint)(5)); w44.LeftAttach = ((uint)(1)); w44.RightAttach = ((uint)(2)); w44.XOptions = ((global::Gtk.AttachOptions)(4)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add (this.table1); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table1])); w45.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame (); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child frame1.Gtk.Container+ContainerChild this.yimagePhoto = new global::Gamma.Widgets.yImageViewer (); this.yimagePhoto.Name = "yimagePhoto"; this.yimagePhoto.VerticalFit = true; this.yimagePhoto.HorizontalFit = true; this.frame1.Add (this.yimagePhoto); this.vbox2.Add (this.frame1); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame1])); w47.Position = 0; // 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.buttonLoadPhoto = new global::Gtk.Button (); this.buttonLoadPhoto.TooltipMarkup = "Загрузить фотографию с диска на компьютере."; this.buttonLoadPhoto.CanFocus = true; this.buttonLoadPhoto.Name = "buttonLoadPhoto"; this.buttonLoadPhoto.UseUnderline = true; this.buttonLoadPhoto.Label = global::Mono.Unix.Catalog.GetString ("Загрузить"); global::Gtk.Image w48 = new global::Gtk.Image (); w48.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-open", global::Gtk.IconSize.Menu); this.buttonLoadPhoto.Image = w48; this.hbox8.Add (this.buttonLoadPhoto); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.buttonLoadPhoto])); w49.Position = 0; w49.Expand = false; w49.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.buttonSavePhoto = new global::Gtk.Button (); this.buttonSavePhoto.TooltipMarkup = "Сохранить фотографию на диск."; this.buttonSavePhoto.Sensitive = false; this.buttonSavePhoto.CanFocus = true; this.buttonSavePhoto.Name = "buttonSavePhoto"; this.buttonSavePhoto.UseUnderline = true; this.buttonSavePhoto.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w50 = new global::Gtk.Image (); w50.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSavePhoto.Image = w50; this.hbox8.Add (this.buttonSavePhoto); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.buttonSavePhoto])); w51.Position = 1; w51.Expand = false; w51.Fill = false; this.vbox2.Add (this.hbox8); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox8])); w52.Position = 1; w52.Expand = false; w52.Fill = false; this.hbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2])); w53.Position = 1; w53.Expand = false; w53.Fill = false; w1.Add (this.hbox1); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1])); w54.Position = 0; w54.Expand = false; w54.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook (); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox6 = new global::Gtk.VBox (); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.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.ytreeNorms = new global::Gamma.GtkWidgets.yTreeView (); this.ytreeNorms.CanFocus = true; this.ytreeNorms.Name = "ytreeNorms"; this.ytreeNorms.EnableSearch = false; this.GtkScrolledWindow2.Add (this.ytreeNorms); this.vbox6.Add (this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.GtkScrolledWindow2])); w56.Position = 0; // Container child vbox6.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox (); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.buttonAddNorm = new global::Gtk.Button (); this.buttonAddNorm.CanFocus = true; this.buttonAddNorm.Name = "buttonAddNorm"; this.buttonAddNorm.UseUnderline = true; this.buttonAddNorm.Label = global::Mono.Unix.Catalog.GetString ("Добавить норму"); global::Gtk.Image w57 = new global::Gtk.Image (); w57.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddNorm.Image = w57; this.hbox10.Add (this.buttonAddNorm); global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.buttonAddNorm])); w58.Position = 0; w58.Expand = false; w58.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.buttonNormFromPost = new global::Gtk.Button (); this.buttonNormFromPost.CanFocus = true; this.buttonNormFromPost.Name = "buttonNormFromPost"; this.buttonNormFromPost.UseUnderline = true; this.buttonNormFromPost.Label = global::Mono.Unix.Catalog.GetString ("По должности"); global::Gtk.Image w59 = new global::Gtk.Image (); w59.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonNormFromPost.Image = w59; this.hbox10.Add (this.buttonNormFromPost); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.buttonNormFromPost])); w60.Position = 1; w60.Expand = false; w60.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.buttonRemoveNorm = new global::Gtk.Button (); this.buttonRemoveNorm.CanFocus = true; this.buttonRemoveNorm.Name = "buttonRemoveNorm"; this.buttonRemoveNorm.UseUnderline = true; this.buttonRemoveNorm.Label = global::Mono.Unix.Catalog.GetString ("Удалить норму"); global::Gtk.Image w61 = new global::Gtk.Image (); w61.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveNorm.Image = w61; this.hbox10.Add (this.buttonRemoveNorm); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.buttonRemoveNorm])); w62.Position = 2; w62.Expand = false; w62.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.buttonRefreshWorkwearItems = new global::Gtk.Button (); this.buttonRefreshWorkwearItems.TooltipMarkup = "Обновить список требуемой спецодежды в соответсвтии с изменениями в нормах."; this.buttonRefreshWorkwearItems.CanFocus = true; this.buttonRefreshWorkwearItems.Name = "buttonRefreshWorkwearItems"; this.buttonRefreshWorkwearItems.UseUnderline = true; this.buttonRefreshWorkwearItems.Label = global::Mono.Unix.Catalog.GetString ("Обновить спецодежду"); this.hbox10.Add (this.buttonRefreshWorkwearItems); global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.buttonRefreshWorkwearItems])); w63.Position = 3; w63.Expand = false; w63.Fill = false; this.vbox6.Add (this.hbox10); global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox10])); w64.Position = 1; w64.Expand = false; w64.Fill = false; this.notebook1.Add (this.vbox6); // Notebook tab this.label13 = new global::Gtk.Label (); this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Применённые нормы"); this.notebook1.SetTabLabel (this.vbox6, this.label13); this.label13.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox7 = new global::Gtk.VBox (); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.ytreeWorkwear = new global::Gamma.GtkWidgets.yTreeView (); this.ytreeWorkwear.CanFocus = true; this.ytreeWorkwear.Name = "ytreeWorkwear"; this.GtkScrolledWindow3.Add (this.ytreeWorkwear); this.vbox7.Add (this.GtkScrolledWindow3); global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.GtkScrolledWindow3])); w67.Position = 0; // Container child vbox7.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox (); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; // Container child hbox11.Gtk.Box+BoxChild this.buttonPickNomenclature = new global::Gtk.Button (); this.buttonPickNomenclature.CanFocus = true; this.buttonPickNomenclature.Name = "buttonPickNomenclature"; this.buttonPickNomenclature.UseUnderline = true; this.buttonPickNomenclature.Label = global::Mono.Unix.Catalog.GetString ("Подобрать по складу"); global::Gtk.Image w68 = new global::Gtk.Image (); this.buttonPickNomenclature.Image = w68; this.hbox11.Add (this.buttonPickNomenclature); global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.buttonPickNomenclature])); w69.Position = 0; w69.Expand = false; w69.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.buttonGiveWearByNorm = new global::Gtk.Button (); this.buttonGiveWearByNorm.CanFocus = true; this.buttonGiveWearByNorm.Name = "buttonGiveWearByNorm"; this.buttonGiveWearByNorm.UseUnderline = true; this.buttonGiveWearByNorm.Label = global::Mono.Unix.Catalog.GetString ("Выдать неполученное"); global::Gtk.Image w70 = new global::Gtk.Image (); w70.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonGiveWearByNorm.Image = w70; this.hbox11.Add (this.buttonGiveWearByNorm); global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.buttonGiveWearByNorm])); w71.Position = 1; w71.Expand = false; w71.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.buttonReturnWear1 = new global::Gtk.Button (); this.buttonReturnWear1.CanFocus = true; this.buttonReturnWear1.Name = "buttonReturnWear1"; this.buttonReturnWear1.UseUnderline = true; this.buttonReturnWear1.Label = global::Mono.Unix.Catalog.GetString ("Возврат на склад"); global::Gtk.Image w72 = new global::Gtk.Image (); w72.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-redo", global::Gtk.IconSize.Menu); this.buttonReturnWear1.Image = w72; this.hbox11.Add (this.buttonReturnWear1); global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.buttonReturnWear1])); w73.Position = 2; w73.Expand = false; w73.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.buttonWriteOffWear1 = new global::Gtk.Button (); this.buttonWriteOffWear1.CanFocus = true; this.buttonWriteOffWear1.Name = "buttonWriteOffWear1"; this.buttonWriteOffWear1.UseUnderline = true; this.buttonWriteOffWear1.Label = global::Mono.Unix.Catalog.GetString ("Списание"); global::Gtk.Image w74 = new global::Gtk.Image (); w74.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete", global::Gtk.IconSize.Menu); this.buttonWriteOffWear1.Image = w74; this.hbox11.Add (this.buttonWriteOffWear1); global::Gtk.Box.BoxChild w75 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.buttonWriteOffWear1])); w75.Position = 3; w75.Expand = false; w75.Fill = false; this.vbox7.Add (this.hbox11); global::Gtk.Box.BoxChild w76 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox11])); w76.Position = 1; w76.Expand = false; w76.Fill = false; this.notebook1.Add (this.vbox7); global::Gtk.Notebook.NotebookChild w77 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox7])); w77.Position = 1; // Notebook tab this.label15 = new global::Gtk.Label (); this.label15.Name = "label15"; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("Спецодежда"); this.notebook1.SetTabLabel (this.vbox7, this.label15); this.label15.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeListedItems = new global::Gamma.GtkWidgets.yTreeView (); this.ytreeListedItems.CanFocus = true; this.ytreeListedItems.Name = "ytreeListedItems"; this.GtkScrolledWindow1.Add (this.ytreeListedItems); this.vbox4.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w79 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow1])); w79.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox (); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.buttonGiveWear = new global::Gtk.Button (); this.buttonGiveWear.Sensitive = false; this.buttonGiveWear.CanFocus = true; this.buttonGiveWear.Name = "buttonGiveWear"; this.buttonGiveWear.UseUnderline = true; this.buttonGiveWear.Label = global::Mono.Unix.Catalog.GetString ("Выдача сотруднику"); global::Gtk.Image w80 = new global::Gtk.Image (); w80.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonGiveWear.Image = w80; this.hbox9.Add (this.buttonGiveWear); global::Gtk.Box.BoxChild w81 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonGiveWear])); w81.Position = 0; w81.Expand = false; w81.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.buttonReturnWear = new global::Gtk.Button (); this.buttonReturnWear.Sensitive = false; this.buttonReturnWear.CanFocus = true; this.buttonReturnWear.Name = "buttonReturnWear"; this.buttonReturnWear.UseUnderline = true; this.buttonReturnWear.Label = global::Mono.Unix.Catalog.GetString ("Возврат на склад"); global::Gtk.Image w82 = new global::Gtk.Image (); w82.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-redo", global::Gtk.IconSize.Menu); this.buttonReturnWear.Image = w82; this.hbox9.Add (this.buttonReturnWear); global::Gtk.Box.BoxChild w83 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonReturnWear])); w83.Position = 1; w83.Expand = false; w83.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.buttonWriteOffWear = new global::Gtk.Button (); this.buttonWriteOffWear.Sensitive = false; this.buttonWriteOffWear.CanFocus = true; this.buttonWriteOffWear.Name = "buttonWriteOffWear"; this.buttonWriteOffWear.UseUnderline = true; this.buttonWriteOffWear.Label = global::Mono.Unix.Catalog.GetString ("Списание"); global::Gtk.Image w84 = new global::Gtk.Image (); w84.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete", global::Gtk.IconSize.Menu); this.buttonWriteOffWear.Image = w84; this.hbox9.Add (this.buttonWriteOffWear); global::Gtk.Box.BoxChild w85 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonWriteOffWear])); w85.Position = 2; w85.Expand = false; w85.Fill = false; this.vbox4.Add (this.hbox9); global::Gtk.Box.BoxChild w86 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox9])); w86.Position = 1; w86.Expand = false; w86.Fill = false; this.notebook1.Add (this.vbox4); global::Gtk.Notebook.NotebookChild w87 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox4])); w87.Position = 2; // Notebook tab this.label21 = new global::Gtk.Label (); this.label21.Name = "label21"; this.label21.LabelProp = global::Mono.Unix.Catalog.GetString ("Числится за сотрудником"); this.notebook1.SetTabLabel (this.vbox4, this.label21); this.label21.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeviewMovements = new global::Gamma.GtkWidgets.yTreeView (); this.treeviewMovements.CanFocus = true; this.treeviewMovements.Name = "treeviewMovements"; this.GtkScrolledWindow.Add (this.treeviewMovements); this.vbox5.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w89 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.GtkScrolledWindow])); w89.Position = 0; this.vbox3.Add (this.vbox5); global::Gtk.Box.BoxChild w90 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.vbox5])); w90.Position = 0; this.notebook1.Add (this.vbox3); global::Gtk.Notebook.NotebookChild w91 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox3])); w91.Position = 3; // Notebook tab this.label22 = new global::Gtk.Label (); this.label22.Name = "label22"; this.label22.LabelProp = global::Mono.Unix.Catalog.GetString ("История выдач"); this.notebook1.SetTabLabel (this.vbox3, this.label22); this.label22.ShowAll (); w1.Add (this.notebook1); global::Gtk.Box.BoxChild w92 = ((global::Gtk.Box.BoxChild)(w1 [this.notebook1])); w92.Position = 1; // Internal child workwear.EmployeeCardDlg.ActionArea global::Gtk.HButtonBox w93 = this.ActionArea; w93.Name = "dialog1_ActionArea"; w93.Spacing = 10; w93.BorderWidth = ((uint)(5)); w93.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonPrint = new global::Gtk.Button (); this.buttonPrint.Sensitive = false; this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString ("Печать"); global::Gtk.Image w94 = new global::Gtk.Image (); w94.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w94; this.AddActionWidget (this.buttonPrint, 0); global::Gtk.ButtonBox.ButtonBoxChild w95 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w93 [this.buttonPrint])); w95.Expand = false; w95.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("О_тменить"); global::Gtk.Image w96 = new global::Gtk.Image (); w96.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w96; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w97 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w93 [this.buttonCancel])); w97.Position = 1; w97.Expand = false; w97.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("_OK"); global::Gtk.Image w98 = new global::Gtk.Image (); w98.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu); this.buttonOk.Image = w98; w93.Add (this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w99 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w93 [this.buttonOk])); w99.Position = 2; w99.Expand = false; w99.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 1148; this.DefaultHeight = 569; this.Show (); this.yentryPost.Changed += new global::System.EventHandler (this.OnYentryPostChanged); this.ycomboWearStd.Changed += new global::System.EventHandler (this.OnYcomboWearStdChanged); this.ycomboShoesStd.Changed += new global::System.EventHandler (this.OnYcomboShoesStdChanged); this.ycomboHeaddressStd.Changed += new global::System.EventHandler (this.OnYcomboHeaddressChanged); this.ycomboGlovesStd.Changed += new global::System.EventHandler (this.OnYcomboGlovesStdChanged); this.entryId.Changed += new global::System.EventHandler (this.OnEntryIdChanged); this.checkAuto.Toggled += new global::System.EventHandler (this.OnCheckAutoToggled); this.comboSex.Changed += new global::System.EventHandler (this.OnComboSexChanged); this.yimagePhoto.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnYimagePhotoButtonPressEvent); this.buttonLoadPhoto.Clicked += new global::System.EventHandler (this.OnButtonLoadPhotoClicked); this.buttonSavePhoto.Clicked += new global::System.EventHandler (this.OnButtonSavePhotoClicked); this.notebook1.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebook1SwitchPage); this.buttonAddNorm.Clicked += new global::System.EventHandler (this.OnButtonAddNormClicked); this.buttonNormFromPost.Clicked += new global::System.EventHandler (this.OnButtonNormFromPostClicked); this.buttonRemoveNorm.Clicked += new global::System.EventHandler (this.OnButtonRemoveNormClicked); this.buttonRefreshWorkwearItems.Clicked += new global::System.EventHandler (this.OnButtonRefreshWorkwearItemsClicked); this.buttonPickNomenclature.Clicked += new global::System.EventHandler (this.OnButtonPickNomenclatureClicked); this.buttonGiveWearByNorm.Clicked += new global::System.EventHandler (this.OnButtonGiveWearByNormClicked); this.buttonReturnWear1.Clicked += new global::System.EventHandler (this.OnButtonReturnWearClicked); this.buttonWriteOffWear1.Clicked += new global::System.EventHandler (this.OnButtonWriteOffWearClicked); this.buttonGiveWear.Clicked += new global::System.EventHandler (this.OnButtonGiveWearClicked); this.buttonReturnWear.Clicked += new global::System.EventHandler (this.OnButtonReturnWearClicked); this.buttonWriteOffWear.Clicked += new global::System.EventHandler (this.OnButtonWriteOffWearClicked); this.buttonPrint.Clicked += new global::System.EventHandler (this.OnButtonPrintClicked); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }