protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ViewWidgets.GuiltyInUndeliveryView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ViewWidgets.GuiltyInUndeliveryView"; // Container child Vodovoz.ViewWidgets.GuiltyInUndeliveryView.Gtk.Container+ContainerChild 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.btnRemove = new global::Gtk.Button(); this.btnRemove.CanFocus = true; this.btnRemove.Name = "btnRemove"; this.btnRemove.UseUnderline = true; this.btnRemove.Label = global::Mono.Unix.Catalog.GetString("Удалить"); this.table1.Add(this.btnRemove); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.btnRemove])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumBtnGuiltySide = new global::QS.Widgets.EnumMenuButton(); this.enumBtnGuiltySide.CanFocus = true; this.enumBtnGuiltySide.Name = "enumBtnGuiltySide"; this.enumBtnGuiltySide.UseUnderline = true; this.enumBtnGuiltySide.UseMarkup = false; this.enumBtnGuiltySide.LabelXAlign = 0F; this.enumBtnGuiltySide.Label = global::Mono.Unix.Catalog.GetString("Добавить"); this.table1.Add(this.enumBtnGuiltySide); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.enumBtnGuiltySide])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.VscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeViewGuilty = new global::Gamma.GtkWidgets.yTreeView(); this.treeViewGuilty.CanFocus = true; this.treeViewGuilty.Name = "treeViewGuilty"; this.GtkScrolledWindow.Add(this.treeViewGuilty); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w4.RightAttach = ((uint)(2)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.btnRemove.Clicked += new global::System.EventHandler(this.OnBtnRemoveClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.WarehouseDocumentsView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.WarehouseDocumentsView"; // Container child Vodovoz.WarehouseDocumentsView.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.buttonAdd = new global::QS.Widgets.EnumMenuButton(); this.buttonAdd.CanFocus = true; this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.UseUnderline = true; this.buttonAdd.UseMarkup = false; this.buttonAdd.LabelXAlign = 0F; this.buttonAdd.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAdd.Image = w1; this.hbox1.Add(this.buttonAdd); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonAdd])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.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 w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonEdit.Image = w3; this.hbox1.Add(this.buttonEdit); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonEdit])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonDelete = new global::Gtk.Button(); this.buttonDelete.CanFocus = true; this.buttonDelete.Name = "buttonDelete"; this.buttonDelete.UseUnderline = true; this.buttonDelete.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.buttonDelete.Image = w5; this.hbox1.Add(this.buttonDelete); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonDelete])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonFilter = new global::Gtk.CheckButton(); this.buttonFilter.CanFocus = true; this.buttonFilter.Name = "buttonFilter"; this.buttonFilter.Label = global::Mono.Unix.Catalog.GetString("Фильтр"); this.buttonFilter.DrawIndicator = false; this.buttonFilter.UseUnderline = true; this.hbox1.Add(this.buttonFilter); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonFilter])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 3; w7.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonRefresh = new global::Gtk.Button(); this.buttonRefresh.CanFocus = true; this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.UseUnderline = true; this.buttonRefresh.Label = global::Mono.Unix.Catalog.GetString("Обновить"); global::Gtk.Image w8 = new global::Gtk.Image(); w8.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu); this.buttonRefresh.Image = w8; this.hbox1.Add(this.buttonRefresh); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonRefresh])); w9.PackType = ((global::Gtk.PackType)(1)); w9.Position = 4; w9.Expand = false; w9.Fill = false; 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.hboxFilter = new global::Gtk.HBox(); this.hboxFilter.Name = "hboxFilter"; this.hboxFilter.Spacing = 6; this.vbox1.Add(this.hboxFilter); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxFilter])); w11.Position = 1; w11.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.searchentity1 = new global::QSWidgetLib.SearchEntity(); this.searchentity1.Events = ((global::Gdk.EventMask)(256)); this.searchentity1.Name = "searchentity1"; this.vbox1.Add(this.searchentity1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.searchentity1])); w12.Position = 2; w12.Expand = false; w12.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.tableDocuments = new global::QSOrmProject.RepresentationTreeView(); this.tableDocuments.CanFocus = true; this.tableDocuments.Name = "tableDocuments"; this.GtkScrolledWindow1.Add(this.tableDocuments); this.vbox1.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow1])); w14.Position = 3; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.hboxFilter.Hide(); this.Hide(); this.buttonAdd.EnumItemClicked += new global::System.EventHandler <QS.Widgets.EnumItemClickedEventArgs>(this.OnButtonAddEnumItemClicked); this.buttonEdit.Clicked += new global::System.EventHandler(this.OnButtonEditClicked); this.buttonDelete.Clicked += new global::System.EventHandler(this.OnButtonDeleteClicked); this.buttonRefresh.Clicked += new global::System.EventHandler(this.OnButtonRefreshClicked); this.buttonFilter.Toggled += new global::System.EventHandler(this.OnButtonFilterToggled); this.searchentity1.TextChanged += new global::System.EventHandler(this.OnSearchentity1TextChanged); this.tableDocuments.RowActivated += new global::Gtk.RowActivatedHandler(this.OnTableDocumentsRowActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.ExportImportNomenclatureCatalogView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.ExportImportNomenclatureCatalogView"; // Container child Vodovoz.Views.ExportImportNomenclatureCatalogView.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.enummenubuttonExport = new global::QS.Widgets.EnumMenuButton(); this.enummenubuttonExport.CanFocus = true; this.enummenubuttonExport.Name = "enummenubuttonExport"; this.enummenubuttonExport.UseUnderline = true; this.enummenubuttonExport.UseMarkup = false; this.enummenubuttonExport.LabelXAlign = 0F; this.enummenubuttonExport.Label = global::Mono.Unix.Catalog.GetString("Выгрузка"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-copy", global::Gtk.IconSize.Menu); this.enummenubuttonExport.Image = w1; this.table1.Add(this.enummenubuttonExport); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.enummenubuttonExport])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(2)); w2.RightAttach = ((uint)(3)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enummenubuttonLoadActions = new global::QS.Widgets.EnumMenuButton(); this.enummenubuttonLoadActions.CanFocus = true; this.enummenubuttonLoadActions.Name = "enummenubuttonLoadActions"; this.enummenubuttonLoadActions.UseUnderline = true; this.enummenubuttonLoadActions.UseMarkup = false; this.enummenubuttonLoadActions.LabelXAlign = 0F; this.enummenubuttonLoadActions.Label = global::Mono.Unix.Catalog.GetString("Действия"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-justify-fill", global::Gtk.IconSize.Menu); this.enummenubuttonLoadActions.Image = w3; this.table1.Add(this.enummenubuttonLoadActions); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.enummenubuttonLoadActions])); w4.LeftAttach = ((uint)(2)); w4.RightAttach = ((uint)(3)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ybuttonExport = new global::Gamma.GtkWidgets.yButton(); this.ybuttonExport.WidthRequest = 200; this.ybuttonExport.HeightRequest = 30; this.ybuttonExport.CanFocus = true; this.ybuttonExport.Name = "ybuttonExport"; this.ybuttonExport.UseUnderline = true; this.ybuttonExport.Label = global::Mono.Unix.Catalog.GetString("Выбрать"); this.table1.Add(this.ybuttonExport); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.ybuttonExport])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yfilechooserbuttonImport = new global::Gamma.GtkWidgets.yFileChooserButton(); this.yfilechooserbuttonImport.WidthRequest = 150; this.yfilechooserbuttonImport.HeightRequest = 30; this.yfilechooserbuttonImport.Name = "yfilechooserbuttonImport"; this.yfilechooserbuttonImport.Title = global::Mono.Unix.Catalog.GetString("Выберите csv файл"); this.table1.Add(this.yfilechooserbuttonImport); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.yfilechooserbuttonImport])); 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.ylabelExport = new global::Gamma.GtkWidgets.yLabel(); this.ylabelExport.Name = "ylabelExport"; this.ylabelExport.LabelProp = global::Mono.Unix.Catalog.GetString("Папка выгрузки:"); this.table1.Add(this.ylabelExport); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelExport])); 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.ylabelImport = new global::Gamma.GtkWidgets.yLabel(); this.ylabelImport.Name = "ylabelImport"; this.ylabelImport.LabelProp = global::Mono.Unix.Catalog.GetString("Файл загрузки:"); this.table1.Add(this.ylabelImport); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelImport])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox3.Add(this.table1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.table1])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox3.Gtk.Box+BoxChild 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.ybuttonConfirmLoadNew = new global::Gamma.GtkWidgets.yButton(); this.ybuttonConfirmLoadNew.CanFocus = true; this.ybuttonConfirmLoadNew.Name = "ybuttonConfirmLoadNew"; this.ybuttonConfirmLoadNew.UseUnderline = true; this.ybuttonConfirmLoadNew.Label = global::Mono.Unix.Catalog.GetString("Подтвердить загрузку"); global::Gtk.Image w10 = new global::Gtk.Image(); w10.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-apply", global::Gtk.IconSize.Menu); this.ybuttonConfirmLoadNew.Image = w10; this.hbox4.Add(this.ybuttonConfirmLoadNew); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ybuttonConfirmLoadNew])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.enummenubuttonConfirmUpdate = new global::QS.Widgets.EnumMenuButton(); this.enummenubuttonConfirmUpdate.CanFocus = true; this.enummenubuttonConfirmUpdate.Name = "enummenubuttonConfirmUpdate"; this.enummenubuttonConfirmUpdate.UseUnderline = true; this.enummenubuttonConfirmUpdate.UseMarkup = false; this.enummenubuttonConfirmUpdate.LabelXAlign = 0F; this.enummenubuttonConfirmUpdate.Label = global::Mono.Unix.Catalog.GetString("Подтвердить замену"); global::Gtk.Image w12 = new global::Gtk.Image(); w12.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-apply", global::Gtk.IconSize.Menu); this.enummenubuttonConfirmUpdate.Image = w12; this.hbox4.Add(this.enummenubuttonConfirmUpdate); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.enummenubuttonConfirmUpdate])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ycheckDontChangeSellPrice = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckDontChangeSellPrice.CanFocus = true; this.ycheckDontChangeSellPrice.Name = "ycheckDontChangeSellPrice"; this.ycheckDontChangeSellPrice.Label = global::Mono.Unix.Catalog.GetString("Не заменять цены на продажу"); this.ycheckDontChangeSellPrice.DrawIndicator = true; this.ycheckDontChangeSellPrice.UseUnderline = true; this.hbox4.Add(this.ycheckDontChangeSellPrice); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ycheckDontChangeSellPrice])); w14.Position = 2; w14.Expand = false; w14.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.HeightRequest = 30; this.ylabel2.Name = "ylabel2"; this.ylabel2.Xalign = 1F; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Статус: "); this.hbox4.Add(this.ylabel2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ylabel2])); w15.Position = 3; this.vbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // 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.progressbar = new global::Gtk.ProgressBar(); this.progressbar.WidthRequest = 450; this.progressbar.HeightRequest = 30; this.progressbar.Name = "progressbar"; this.hbox2.Add(this.progressbar); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.progressbar])); w17.Position = 0; w17.Expand = false; w17.Fill = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.hbox3.Add(this.vbox1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vbox1])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child hbox3.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.ytextviewProgressStatus = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewProgressStatus.CanFocus = true; this.ytextviewProgressStatus.Name = "ytextviewProgressStatus"; this.ytextviewProgressStatus.Editable = false; this.ytextviewProgressStatus.WrapMode = ((global::Gtk.WrapMode)(3)); this.ytextviewProgressStatus.LeftMargin = 5; this.GtkScrolledWindow1.Add(this.ytextviewProgressStatus); this.hbox3.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.GtkScrolledWindow1])); w21.Position = 2; this.vbox2.Add(this.hbox3); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // 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.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytreeviewNomenclatures = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewNomenclatures.CanFocus = true; this.ytreeviewNomenclatures.Name = "ytreeviewNomenclatures"; this.GtkScrolledWindow.Add(this.ytreeviewNomenclatures); this.hbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow])); w24.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.WidthRequest = 300; this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.ytextviewNodeMessages = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewNodeMessages.CanFocus = true; this.ytextviewNodeMessages.Name = "ytextviewNodeMessages"; this.ytextviewNodeMessages.Editable = false; this.ytextviewNodeMessages.WrapMode = ((global::Gtk.WrapMode)(3)); this.ytextviewNodeMessages.LeftMargin = 5; this.GtkScrolledWindow2.Add(this.ytextviewNodeMessages); this.hbox1.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow2])); w26.Position = 1; w26.Expand = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w27.Position = 1; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.ybuttonConfirmLoadNew.Hide(); this.enummenubuttonConfirmUpdate.Hide(); this.ycheckDontChangeSellPrice.Hide(); this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.CarLoadDocumentDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.CarLoadDocumentDlg"; // Container child Vodovoz.CarLoadDocumentDlg.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(6)); // Container child vbox4.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox5.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox5.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.enumPrint = new global::QS.Widgets.EnumMenuButton(); this.enumPrint.CanFocus = true; this.enumPrint.Name = "enumPrint"; this.enumPrint.UseUnderline = true; this.enumPrint.UseMarkup = false; this.enumPrint.LabelXAlign = 0F; this.enumPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.enumPrint.Image = w5; this.hbox5.Add(this.enumPrint); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.enumPrint])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 3; w6.Expand = false; w6.Fill = false; this.vbox4.Add(this.hbox5); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox5])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.tableWriteoff = new global::Gtk.Table(((uint)(3)), ((uint)(4)), false); this.tableWriteoff.Name = "tableWriteoff"; this.tableWriteoff.RowSpacing = ((uint)(6)); this.tableWriteoff.ColumnSpacing = ((uint)(6)); // Container child tableWriteoff.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewCommnet = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewCommnet.WidthRequest = 250; this.ytextviewCommnet.CanFocus = true; this.ytextviewCommnet.Name = "ytextviewCommnet"; this.GtkScrolledWindow.Add(this.ytextviewCommnet); this.tableWriteoff.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.GtkScrolledWindow])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.VscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow1.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytextviewRouteListInfo = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewRouteListInfo.CanFocus = true; this.ytextviewRouteListInfo.Name = "ytextviewRouteListInfo"; this.ytextviewRouteListInfo.Editable = false; this.GtkScrolledWindow1.Add(this.ytextviewRouteListInfo); this.tableWriteoff.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.GtkScrolledWindow1])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(3)); w11.RightAttach = ((uint)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.tableWriteoff.Add(this.label1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label1])); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Маршрутный лист:"); this.tableWriteoff.Add(this.label2); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label2])); w13.LeftAttach = ((uint)(2)); w13.RightAttach = ((uint)(3)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Информация:"); this.tableWriteoff.Add(this.label3); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label3])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Склад:"); this.tableWriteoff.Add(this.label4); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label4])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.Yalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.tableWriteoff.Add(this.label5); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label5])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.yentryrefRouteList = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryrefRouteList.Events = ((global::Gdk.EventMask)(256)); this.yentryrefRouteList.Name = "yentryrefRouteList"; this.tableWriteoff.Add(this.yentryrefRouteList); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.yentryrefRouteList])); w17.LeftAttach = ((uint)(3)); w17.RightAttach = ((uint)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.ylabelDate = new global::Gamma.GtkWidgets.yLabel(); this.ylabelDate.Name = "ylabelDate"; this.ylabelDate.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.tableWriteoff.Add(this.ylabelDate); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.ylabelDate])); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.ySpecCmbWarehouses = new global::Gamma.Widgets.ySpecComboBox(); this.ySpecCmbWarehouses.Name = "ySpecCmbWarehouses"; this.ySpecCmbWarehouses.AddIfNotExist = false; this.ySpecCmbWarehouses.DefaultFirst = false; this.ySpecCmbWarehouses.ShowSpecialStateAll = false; this.ySpecCmbWarehouses.ShowSpecialStateNot = true; this.tableWriteoff.Add(this.ySpecCmbWarehouses); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.ySpecCmbWarehouses])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(0)); this.vbox4.Add(this.tableWriteoff); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.tableWriteoff])); w20.Position = 1; w20.Expand = false; w20.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.carloaddocumentview1 = new global::Vodovoz.CarLoadDocumentView(); this.carloaddocumentview1.Events = ((global::Gdk.EventMask)(256)); this.carloaddocumentview1.Name = "carloaddocumentview1"; this.hbox4.Add(this.carloaddocumentview1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.carloaddocumentview1])); w21.Position = 0; this.vbox4.Add(this.hbox4); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox4])); w22.Position = 2; this.Add(this.vbox4); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.enumPrint.EnumItemClicked += new global::System.EventHandler <QS.Widgets.EnumItemClickedEventArgs>(this.OnEnumPrintEnumItemClicked); this.yentryrefRouteList.ChangedByUser += new global::System.EventHandler(this.OnYentryrefRouteListChangedByUser); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.RouteListCreateDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.RouteListCreateDlg"; // Container child Vodovoz.RouteListCreateDlg.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.dataRouteList = new global::Gtk.Table(((uint)(6)), ((uint)(7)), false); this.dataRouteList.Name = "dataRouteList"; this.dataRouteList.RowSpacing = ((uint)(6)); this.dataRouteList.ColumnSpacing = ((uint)(6)); // Container child dataRouteList.Gtk.Table+TableChild this.datepickerDate = new global::QS.Widgets.GtkUI.DatePicker(); this.datepickerDate.Events = ((global::Gdk.EventMask)(256)); this.datepickerDate.Name = "datepickerDate"; this.datepickerDate.WithTime = false; this.datepickerDate.HideCalendarButton = false; this.datepickerDate.Date = new global::System.DateTime(0); this.datepickerDate.IsEditable = true; this.datepickerDate.AutoSeparation = true; this.dataRouteList.Add(this.datepickerDate); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.datepickerDate])); w1.TopAttach = ((uint)(3)); w1.BottomAttach = ((uint)(4)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child dataRouteList.Gtk.Table+TableChild this.entityviewmodelentryCar = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityviewmodelentryCar.Events = ((global::Gdk.EventMask)(256)); this.entityviewmodelentryCar.Name = "entityviewmodelentryCar"; this.entityviewmodelentryCar.CanEditReference = true; this.dataRouteList.Add(this.entityviewmodelentryCar); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.entityviewmodelentryCar])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.LeftAttach = ((uint)(5)); w2.RightAttach = ((uint)(6)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child dataRouteList.Gtk.Table+TableChild this.ggToStringWidget = new global::Vodovoz.ViewWidgets.GeographicGroupsToStringWidget(); this.ggToStringWidget.Events = ((global::Gdk.EventMask)(256)); this.ggToStringWidget.Name = "ggToStringWidget"; this.dataRouteList.Add(this.ggToStringWidget); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.ggToStringWidget])); w3.TopAttach = ((uint)(4)); w3.BottomAttach = ((uint)(5)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child dataRouteList.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.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 w4 = new global::Gtk.Image(); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w4; this.hbox7.Add(this.buttonSave); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonSave])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox7.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 w6 = new global::Gtk.Image(); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w6; this.hbox7.Add(this.buttonCancel); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonCancel])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.dataRouteList.Add(this.hbox7); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.hbox7])); w8.XOptions = ((global::Gtk.AttachOptions)(0)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child dataRouteList.Gtk.Table+TableChild this.hboxCash = new global::Gtk.HBox(); this.hboxCash.Name = "hboxCash"; this.hboxCash.Spacing = 6; // Container child hboxCash.Gtk.Box+BoxChild this.labelTerminalCondition = new global::Gamma.GtkWidgets.yLabel(); this.labelTerminalCondition.Name = "labelTerminalCondition"; this.labelTerminalCondition.LabelProp = global::Mono.Unix.Catalog.GetString("Состояние терминала: "); this.hboxCash.Add(this.labelTerminalCondition); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxCash[this.labelTerminalCondition])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hboxCash.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hboxCash.Add(this.vseparator1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxCash[this.vseparator1])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child hboxCash.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Сдается в кассу:"); this.hboxCash.Add(this.label7); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxCash[this.label7])); w11.Position = 2; w11.Expand = false; w11.Fill = false; // Container child hboxCash.Gtk.Box+BoxChild this.yspeccomboboxCashSubdivision = new global::Gamma.Widgets.ySpecComboBox(); this.yspeccomboboxCashSubdivision.Name = "yspeccomboboxCashSubdivision"; this.yspeccomboboxCashSubdivision.AddIfNotExist = false; this.yspeccomboboxCashSubdivision.DefaultFirst = false; this.yspeccomboboxCashSubdivision.ShowSpecialStateAll = false; this.yspeccomboboxCashSubdivision.ShowSpecialStateNot = false; this.hboxCash.Add(this.yspeccomboboxCashSubdivision); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hboxCash[this.yspeccomboboxCashSubdivision])); w12.Position = 3; w12.Expand = false; w12.Fill = false; this.dataRouteList.Add(this.hboxCash); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.hboxCash])); w13.LeftAttach = ((uint)(2)); w13.RightAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(0)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child dataRouteList.Gtk.Table+TableChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.dataRouteList.Add(this.hseparator2); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.hseparator2])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.RightAttach = ((uint)(6)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child dataRouteList.Gtk.Table+TableChild this.hseparator3 = new global::Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.dataRouteList.Add(this.hseparator3); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.hseparator3])); w15.TopAttach = ((uint)(5)); w15.BottomAttach = ((uint)(6)); w15.RightAttach = ((uint)(6)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child dataRouteList.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.dataRouteList.Add(this.label1); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.label1])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.LeftAttach = ((uint)(2)); w16.RightAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child dataRouteList.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.dataRouteList.Add(this.label10); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.label10])); w17.LeftAttach = ((uint)(4)); w17.RightAttach = ((uint)(5)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child dataRouteList.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.dataRouteList.Add(this.label2); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.label2])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child dataRouteList.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.dataRouteList.Add(this.label3); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.label3])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.LeftAttach = ((uint)(4)); w19.RightAttach = ((uint)(5)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child dataRouteList.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.dataRouteList.Add(this.label4); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.label4])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(4)); w20.RightAttach = ((uint)(5)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child dataRouteList.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.dataRouteList.Add(this.label5); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.label5])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child dataRouteList.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.dataRouteList.Add(this.label9); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.label9])); w22.TopAttach = ((uint)(4)); w22.BottomAttach = ((uint)(5)); w22.LeftAttach = ((uint)(4)); w22.RightAttach = ((uint)(5)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child dataRouteList.Gtk.Table+TableChild this.labelStatus = new global::Gamma.GtkWidgets.yLabel(); this.labelStatus.Name = "labelStatus"; this.labelStatus.Xalign = 0F; this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("--"); this.dataRouteList.Add(this.labelStatus); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.labelStatus])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(4)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child dataRouteList.Gtk.Table+TableChild this.phoneDriver = new global::Vodovoz.ViewWidgets.Mango.EmployeePhone(); this.phoneDriver.CanFocus = true; this.phoneDriver.Name = "phoneDriver"; this.phoneDriver.UseUnderline = true; this.phoneDriver.UseMarkup = false; this.phoneDriver.LabelXAlign = 0F; this.dataRouteList.Add(this.phoneDriver); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.phoneDriver])); w24.TopAttach = ((uint)(3)); w24.BottomAttach = ((uint)(4)); w24.LeftAttach = ((uint)(6)); w24.RightAttach = ((uint)(7)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child dataRouteList.Gtk.Table+TableChild this.phoneForwarder = new global::Vodovoz.ViewWidgets.Mango.EmployeePhone(); this.phoneForwarder.CanFocus = true; this.phoneForwarder.Name = "phoneForwarder"; this.phoneForwarder.UseUnderline = true; this.phoneForwarder.UseMarkup = false; this.phoneForwarder.LabelXAlign = 0F; this.dataRouteList.Add(this.phoneForwarder); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.phoneForwarder])); w25.TopAttach = ((uint)(4)); w25.BottomAttach = ((uint)(5)); w25.LeftAttach = ((uint)(6)); w25.RightAttach = ((uint)(7)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child dataRouteList.Gtk.Table+TableChild this.phoneLogistican = new global::Vodovoz.ViewWidgets.Mango.EmployeePhone(); this.phoneLogistican.CanFocus = true; this.phoneLogistican.Name = "phoneLogistican"; this.phoneLogistican.UseUnderline = true; this.phoneLogistican.UseMarkup = false; this.phoneLogistican.LabelXAlign = 0F; this.dataRouteList.Add(this.phoneLogistican); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.phoneLogistican])); w26.LeftAttach = ((uint)(6)); w26.RightAttach = ((uint)(7)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child dataRouteList.Gtk.Table+TableChild this.referenceDriver = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.referenceDriver.Events = ((global::Gdk.EventMask)(256)); this.referenceDriver.Name = "referenceDriver"; this.dataRouteList.Add(this.referenceDriver); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.referenceDriver])); w27.TopAttach = ((uint)(3)); w27.BottomAttach = ((uint)(4)); w27.LeftAttach = ((uint)(5)); w27.RightAttach = ((uint)(6)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child dataRouteList.Gtk.Table+TableChild this.referenceForwarder = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.referenceForwarder.Events = ((global::Gdk.EventMask)(256)); this.referenceForwarder.Name = "referenceForwarder"; this.dataRouteList.Add(this.referenceForwarder); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.referenceForwarder])); w28.TopAttach = ((uint)(4)); w28.BottomAttach = ((uint)(5)); w28.LeftAttach = ((uint)(5)); w28.RightAttach = ((uint)(6)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child dataRouteList.Gtk.Table+TableChild this.referenceLogistican = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.referenceLogistican.Events = ((global::Gdk.EventMask)(256)); this.referenceLogistican.Name = "referenceLogistican"; this.dataRouteList.Add(this.referenceLogistican); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.referenceLogistican])); w29.LeftAttach = ((uint)(5)); w29.RightAttach = ((uint)(6)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child dataRouteList.Gtk.Table+TableChild this.speccomboShift = new global::Gamma.Widgets.ySpecComboBox(); this.speccomboShift.Name = "speccomboShift"; this.speccomboShift.AddIfNotExist = false; this.speccomboShift.DefaultFirst = false; this.speccomboShift.ShowSpecialStateAll = false; this.speccomboShift.ShowSpecialStateNot = true; this.dataRouteList.Add(this.speccomboShift); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.dataRouteList[this.speccomboShift])); w30.TopAttach = ((uint)(3)); w30.BottomAttach = ((uint)(4)); w30.LeftAttach = ((uint)(3)); w30.RightAttach = ((uint)(4)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.dataRouteList); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.dataRouteList])); w31.Position = 0; w31.Expand = false; w31.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.createroutelistitemsview1 = new global::Vodovoz.RouteListCreateItemsView(); this.createroutelistitemsview1.HeightRequest = 150; this.createroutelistitemsview1.Events = ((global::Gdk.EventMask)(256)); this.createroutelistitemsview1.Name = "createroutelistitemsview1"; this.createroutelistitemsview1.DisableColumnsUpdate = false; this.vbox1.Add(this.createroutelistitemsview1); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.createroutelistitemsview1])); w32.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.printTimeButton = new global::Gamma.GtkWidgets.yButton(); this.printTimeButton.CanFocus = true; this.printTimeButton.Name = "printTimeButton"; this.printTimeButton.UseUnderline = true; this.printTimeButton.Label = global::Mono.Unix.Catalog.GetString("Время печати МЛ"); this.hbox9.Add(this.printTimeButton); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.printTimeButton])); w33.Position = 1; w33.Expand = false; w33.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.enumPrint = new global::QS.Widgets.EnumMenuButton(); this.enumPrint.CanFocus = true; this.enumPrint.Name = "enumPrint"; this.enumPrint.UseUnderline = true; this.enumPrint.UseMarkup = false; this.enumPrint.LabelXAlign = 0F; this.enumPrint.Label = global::Mono.Unix.Catalog.GetString("Распечатать"); global::Gtk.Image w34 = new global::Gtk.Image(); w34.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.enumPrint.Image = w34; this.hbox9.Add(this.enumPrint); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.enumPrint])); w35.PackType = ((global::Gtk.PackType)(1)); w35.Position = 2; w35.Expand = false; w35.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.buttonAccept = new global::Gtk.Button(); this.buttonAccept.CanFocus = true; this.buttonAccept.Name = "buttonAccept"; this.buttonAccept.UseUnderline = true; this.buttonAccept.Label = global::Mono.Unix.Catalog.GetString("Подтвердить"); global::Gtk.Image w36 = new global::Gtk.Image(); w36.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-apply", global::Gtk.IconSize.Menu); this.buttonAccept.Image = w36; this.hbox9.Add(this.buttonAccept); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.buttonAccept])); w37.PackType = ((global::Gtk.PackType)(1)); w37.Position = 3; w37.Expand = false; w37.Fill = false; this.vbox1.Add(this.hbox9); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox9])); w38.Position = 2; w38.Expand = false; w38.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonAccept.Clicked += new global::System.EventHandler(this.OnButtonAcceptClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.RouteListCreateItemsView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.RouteListCreateItemsView"; // Container child Vodovoz.RouteListCreateItemsView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytreeviewItems = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewItems.CanFocus = true; this.ytreeviewItems.Name = "ytreeviewItems"; this.ytreeviewItems.Reorderable = true; this.GtkScrolledWindow.Add(this.ytreeviewItems); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w2.Position = 0; // 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.enumbuttonAddOrder = new global::QS.Widgets.EnumMenuButton(); this.enumbuttonAddOrder.CanFocus = true; this.enumbuttonAddOrder.Name = "enumbuttonAddOrder"; this.enumbuttonAddOrder.UseUnderline = true; this.enumbuttonAddOrder.UseMarkup = false; this.enumbuttonAddOrder.LabelXAlign = 0F; this.enumbuttonAddOrder.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.enumbuttonAddOrder.Image = w3; this.hbox1.Add(this.enumbuttonAddOrder); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.enumbuttonAddOrder])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonDelete = new global::Gtk.Button(); this.buttonDelete.Sensitive = false; this.buttonDelete.CanFocus = true; this.buttonDelete.Name = "buttonDelete"; this.buttonDelete.UseUnderline = true; this.buttonDelete.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.buttonDelete.Image = w5; this.hbox1.Add(this.buttonDelete); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonDelete])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonOpenOrder = new global::Gtk.Button(); this.buttonOpenOrder.Sensitive = false; this.buttonOpenOrder.CanFocus = true; this.buttonOpenOrder.Name = "buttonOpenOrder"; this.buttonOpenOrder.UseUnderline = true; this.buttonOpenOrder.Label = global::Mono.Unix.Catalog.GetString("Открыть заказ"); this.hbox1.Add(this.buttonOpenOrder); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonOpenOrder])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.labelSum = new global::Gtk.Label(); this.labelSum.Name = "labelSum"; this.labelSum.Xalign = 1F; this.hbox1.Add(this.labelSum); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.labelSum])); w8.PackType = ((global::Gtk.PackType)(1)); w8.Position = 3; w8.Expand = false; w8.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.lblVolume = new global::Gtk.Label(); this.lblVolume.Name = "lblVolume"; this.lblVolume.Xalign = 0F; this.lblVolume.UseMarkup = true; this.hbox1.Add(this.lblVolume); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.lblVolume])); w9.PackType = ((global::Gtk.PackType)(1)); w9.Position = 4; w9.Expand = false; w9.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.lblWeight = new global::Gtk.Label(); this.lblWeight.Name = "lblWeight"; this.lblWeight.Xalign = 0F; this.lblWeight.UseMarkup = true; this.hbox1.Add(this.lblWeight); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.lblWeight])); w10.PackType = ((global::Gtk.PackType)(1)); w10.Position = 5; w10.Expand = false; w10.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.ytreeviewItems.RowActivated += new global::Gtk.RowActivatedHandler(this.OnYtreeviewItemsRowActivated); this.enumbuttonAddOrder.EnumItemClicked += new global::System.EventHandler <QS.Widgets.EnumItemClickedEventArgs>(this.OnEnumbuttonAddOrderEnumItemClicked); this.buttonDelete.Clicked += new global::System.EventHandler(this.OnButtonDeleteClicked); this.buttonOpenOrder.Clicked += new global::System.EventHandler(this.OnButtonOpenOrderClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Orders.PromotionalSetView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Orders.PromotionalSetView"; // Container child Vodovoz.Views.Orders.PromotionalSetView.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.ybuttonSave = new global::Gamma.GtkWidgets.yButton(); this.ybuttonSave.CanFocus = true; this.ybuttonSave.Name = "ybuttonSave"; this.ybuttonSave.UseUnderline = true; this.ybuttonSave.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.ybuttonSave.Image = w1; this.hbox1.Add(this.ybuttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ybuttonSave])); 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.hbox16 = new global::Gtk.HBox(); this.hbox16.Name = "hbox16"; this.hbox16.Spacing = 6; // Container child hbox16.Gtk.Box+BoxChild this.yChkIsArchive = new global::Gamma.GtkWidgets.yCheckButton(); this.yChkIsArchive.CanFocus = true; this.yChkIsArchive.Name = "yChkIsArchive"; this.yChkIsArchive.Label = global::Mono.Unix.Catalog.GetString("Архивный"); this.yChkIsArchive.DrawIndicator = true; this.yChkIsArchive.UseUnderline = true; this.hbox16.Add(this.yChkIsArchive); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.yChkIsArchive])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox16.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hbox16.Add(this.vseparator2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.vseparator2])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child hbox16.Gtk.Box+BoxChild this.lblCreationDateTitle = new global::Gtk.Label(); this.lblCreationDateTitle.Name = "lblCreationDateTitle"; this.lblCreationDateTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Создан:"); this.hbox16.Add(this.lblCreationDateTitle); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.lblCreationDateTitle])); w8.Position = 2; w8.Expand = false; w8.Fill = false; // Container child hbox16.Gtk.Box+BoxChild this.ylblCreationDate = new global::Gamma.GtkWidgets.yLabel(); this.ylblCreationDate.Name = "ylblCreationDate"; this.hbox16.Add(this.ylblCreationDate); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.ylblCreationDate])); w9.Position = 3; w9.Expand = false; w9.Fill = false; this.hbox1.Add(this.hbox16); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.hbox16])); w10.Position = 3; w10.Expand = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w11.Position = 0; w11.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(2)), ((uint)(4)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.labelPromoSetName = new global::Gtk.Label(); this.labelPromoSetName.Name = "labelPromoSetName"; this.labelPromoSetName.Xalign = 1F; this.labelPromoSetName.LabelProp = global::Mono.Unix.Catalog.GetString("Название набора:"); this.table2.Add(this.labelPromoSetName); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2[this.labelPromoSetName])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.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.table2.Add(this.lblName); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2[this.lblName])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.vseparator3 = new global::Gtk.VSeparator(); this.vseparator3.Name = "vseparator3"; this.table2.Add(this.vseparator3); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2[this.vseparator3])); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.vseparator4 = new global::Gtk.VSeparator(); this.vseparator4.Name = "vseparator4"; this.table2.Add(this.vseparator4); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2[this.vseparator4])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.widgetcontainerview = new global::Vodovoz.Core.WidgetContainerView(); this.widgetcontainerview.Events = ((global::Gdk.EventMask)(256)); this.widgetcontainerview.Name = "widgetcontainerview"; this.table2.Add(this.widgetcontainerview); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2[this.widgetcontainerview])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.LeftAttach = ((uint)(3)); w16.RightAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryDiscountReason = new global::Gamma.GtkWidgets.yEntry(); this.yentryDiscountReason.CanFocus = true; this.yentryDiscountReason.Name = "yentryDiscountReason"; this.yentryDiscountReason.IsEditable = true; this.yentryDiscountReason.InvisibleChar = '•'; this.table2.Add(this.yentryDiscountReason); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2[this.yentryDiscountReason])); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryPromotionalSetName = new global::Gamma.GtkWidgets.yEntry(); this.yentryPromotionalSetName.CanFocus = true; this.yentryPromotionalSetName.Name = "yentryPromotionalSetName"; this.yentryPromotionalSetName.IsEditable = true; this.yentryPromotionalSetName.InvisibleChar = '•'; this.table2.Add(this.yentryPromotionalSetName); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2[this.yentryPromotionalSetName])); 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)); // Container child table2.Gtk.Table+TableChild this.yEnumButtonAddAction = new global::QS.Widgets.EnumMenuButton(); this.yEnumButtonAddAction.CanFocus = true; this.yEnumButtonAddAction.Name = "yEnumButtonAddAction"; this.yEnumButtonAddAction.UseUnderline = true; this.yEnumButtonAddAction.UseMarkup = false; this.yEnumButtonAddAction.LabelXAlign = 0F; this.yEnumButtonAddAction.Label = global::Mono.Unix.Catalog.GetString("Добавить действие"); global::Gtk.Image w19 = new global::Gtk.Image(); w19.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.yEnumButtonAddAction.Image = w19; this.table2.Add(this.yEnumButtonAddAction); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table2[this.yEnumButtonAddAction])); w20.LeftAttach = ((uint)(3)); w20.RightAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table2); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table2])); w21.Position = 1; w21.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.ycheckbCanEditNomCount = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckbCanEditNomCount.CanFocus = true; this.ycheckbCanEditNomCount.Name = "ycheckbCanEditNomCount"; this.ycheckbCanEditNomCount.Label = global::Mono.Unix.Catalog.GetString("Можно менять количество номенклатур в заказе"); this.ycheckbCanEditNomCount.DrawIndicator = true; this.ycheckbCanEditNomCount.UseUnderline = true; this.hbox5.Add(this.ycheckbCanEditNomCount); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.ycheckbCanEditNomCount])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.vseparator5 = new global::Gtk.VSeparator(); this.vseparator5.Name = "vseparator5"; this.hbox5.Add(this.vseparator5); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vseparator5])); w23.Position = 1; w23.Expand = false; w23.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.ycheckCanBeAddedWithOtherPromoSets = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckCanBeAddedWithOtherPromoSets.CanFocus = true; this.ycheckCanBeAddedWithOtherPromoSets.Name = "ycheckCanBeAddedWithOtherPromoSets"; this.ycheckCanBeAddedWithOtherPromoSets.Label = global::Mono.Unix.Catalog.GetString("Можно добавить вместе с другими промонаборами"); this.ycheckCanBeAddedWithOtherPromoSets.DrawIndicator = true; this.ycheckCanBeAddedWithOtherPromoSets.UseUnderline = true; this.hbox5.Add(this.ycheckCanBeAddedWithOtherPromoSets); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.ycheckCanBeAddedWithOtherPromoSets])); w24.Position = 2; w24.Expand = false; w24.Fill = false; this.vbox2.Add(this.hbox5); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox5])); w25.Position = 2; w25.Expand = false; w25.Fill = false; // 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.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment3 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.vbxNomenclatures = new global::Gtk.VBox(); this.vbxNomenclatures.Name = "vbxNomenclatures"; this.vbxNomenclatures.Spacing = 6; // Container child vbxNomenclatures.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.yTreePromoSetItems = new global::Gamma.GtkWidgets.yTreeView(); this.yTreePromoSetItems.CanFocus = true; this.yTreePromoSetItems.Name = "yTreePromoSetItems"; this.GtkScrolledWindow.Add(this.yTreePromoSetItems); this.vbxNomenclatures.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbxNomenclatures[this.GtkScrolledWindow])); w27.Position = 0; // Container child vbxNomenclatures.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.ybtnAddNomenclature = new global::Gamma.GtkWidgets.yButton(); this.ybtnAddNomenclature.CanFocus = true; this.ybtnAddNomenclature.Name = "ybtnAddNomenclature"; this.ybtnAddNomenclature.UseUnderline = true; this.ybtnAddNomenclature.Label = global::Mono.Unix.Catalog.GetString("Добавить"); this.hbox2.Add(this.ybtnAddNomenclature); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.ybtnAddNomenclature])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.ybtnRemoveNomenclature = new global::Gamma.GtkWidgets.yButton(); this.ybtnRemoveNomenclature.CanFocus = true; this.ybtnRemoveNomenclature.Name = "ybtnRemoveNomenclature"; this.ybtnRemoveNomenclature.UseUnderline = true; this.ybtnRemoveNomenclature.Label = global::Mono.Unix.Catalog.GetString(" Удалить "); this.hbox2.Add(this.ybtnRemoveNomenclature); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.ybtnRemoveNomenclature])); w29.Position = 1; w29.Expand = false; w29.Fill = false; this.vbxNomenclatures.Add(this.hbox2); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbxNomenclatures[this.hbox2])); w30.Position = 1; w30.Expand = false; w30.Fill = false; this.GtkAlignment3.Add(this.vbxNomenclatures); this.frame1.Add(this.GtkAlignment3); this.lblNomTblTitle = new global::Gtk.Label(); this.lblNomTblTitle.Name = "lblNomTblTitle"; this.lblNomTblTitle.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Номенклатуры со скидкой:</b>"); this.lblNomTblTitle.UseMarkup = true; this.frame1.LabelWidget = this.lblNomTblTitle; this.hbox3.Add(this.frame1); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.frame1])); w33.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment4 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment4.Name = "GtkAlignment4"; this.GtkAlignment4.LeftPadding = ((uint)(12)); // Container child GtkAlignment4.Gtk.Container+ContainerChild this.vbxNomenclatures1 = new global::Gtk.VBox(); this.vbxNomenclatures1.Name = "vbxNomenclatures1"; this.vbxNomenclatures1.Spacing = 6; // Container child vbxNomenclatures1.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.yTreeActionsItems = new global::Gamma.GtkWidgets.yTreeView(); this.yTreeActionsItems.CanFocus = true; this.yTreeActionsItems.Name = "yTreeActionsItems"; this.GtkScrolledWindow1.Add(this.yTreeActionsItems); this.vbxNomenclatures1.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbxNomenclatures1[this.GtkScrolledWindow1])); w35.Position = 0; // Container child vbxNomenclatures1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.ybtnRemoveAction = new global::Gamma.GtkWidgets.yButton(); this.ybtnRemoveAction.CanFocus = true; this.ybtnRemoveAction.Name = "ybtnRemoveAction"; this.ybtnRemoveAction.UseUnderline = true; this.ybtnRemoveAction.Label = global::Mono.Unix.Catalog.GetString(" Удалить "); this.hbox4.Add(this.ybtnRemoveAction); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ybtnRemoveAction])); w36.Position = 0; w36.Expand = false; w36.Fill = false; this.vbxNomenclatures1.Add(this.hbox4); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbxNomenclatures1[this.hbox4])); w37.Position = 1; w37.Expand = false; w37.Fill = false; this.GtkAlignment4.Add(this.vbxNomenclatures1); this.frame2.Add(this.GtkAlignment4); this.lblNomTblTitle1 = new global::Gtk.Label(); this.lblNomTblTitle1.Name = "lblNomTblTitle1"; this.lblNomTblTitle1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Спец. действия:</b>"); this.lblNomTblTitle1.UseMarkup = true; this.frame2.LabelWidget = this.lblNomTblTitle1; this.hbox3.Add(this.frame2); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.frame2])); w40.Position = 1; this.vbox2.Add(this.hbox3); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3])); w41.PackType = ((global::Gtk.PackType)(1)); w41.Position = 3; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }