protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.StockBalanceFilter global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.StockBalanceFilter"; // Container child Vodovoz.StockBalanceFilter.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(1)), ((uint)(3)), false); this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checkShowArchive = new global::Gamma.GtkWidgets.yCheckButton(); this.checkShowArchive.CanFocus = true; this.checkShowArchive.Name = "checkShowArchive"; this.checkShowArchive.Label = global::Mono.Unix.Catalog.GetString("Показывать архивные"); this.checkShowArchive.DrawIndicator = true; this.checkShowArchive.UseUnderline = true; this.table1.Add(this.checkShowArchive); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.checkShowArchive])); w1.LeftAttach = ((uint)(2)); w1.RightAttach = ((uint)(3)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 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.speccomboStock = new global::Gamma.Widgets.ySpecComboBox(); this.speccomboStock.Name = "speccomboStock"; this.speccomboStock.AddIfNotExist = false; this.speccomboStock.DefaultFirst = false; this.speccomboStock.ShowSpecialStateAll = true; this.speccomboStock.ShowSpecialStateNot = false; this.table1.Add(this.speccomboStock); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.speccomboStock])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.speccomboStock.ItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnSpeccomboStockItemSelected); this.checkShowArchive.Toggled += new global::System.EventHandler(this.OnCheckShowArchiveToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Complaints.GuiltyItemView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Complaints.GuiltyItemView"; // Container child Vodovoz.Views.Complaints.GuiltyItemView.Gtk.Container+ContainerChild this.vbxCreateGuilty = new global::Gtk.VBox(); this.vbxCreateGuilty.Name = "vbxCreateGuilty"; this.vbxCreateGuilty.Spacing = 6; // Container child vbxCreateGuilty.Gtk.Box+BoxChild this.yEnumGuiltyType = new global::Gamma.Widgets.yEnumComboBox(); this.yEnumGuiltyType.Name = "yEnumGuiltyType"; this.yEnumGuiltyType.ShowSpecialStateAll = true; this.yEnumGuiltyType.ShowSpecialStateNot = false; this.yEnumGuiltyType.UseShortTitle = false; this.yEnumGuiltyType.DefaultFirst = false; this.vbxCreateGuilty.Add(this.yEnumGuiltyType); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbxCreateGuilty[this.yEnumGuiltyType])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbxCreateGuilty.Gtk.Box+BoxChild this.entVmEmployee = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entVmEmployee.Events = ((global::Gdk.EventMask)(256)); this.entVmEmployee.Name = "entVmEmployee"; this.entVmEmployee.CanEditReference = false; this.vbxCreateGuilty.Add(this.entVmEmployee); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbxCreateGuilty[this.entVmEmployee])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbxCreateGuilty.Gtk.Box+BoxChild this.yCmbSubdivision = new global::Gamma.Widgets.ySpecComboBox(); this.yCmbSubdivision.Name = "yCmbSubdivision"; this.yCmbSubdivision.AddIfNotExist = false; this.yCmbSubdivision.DefaultFirst = false; this.yCmbSubdivision.ShowSpecialStateAll = false; this.yCmbSubdivision.ShowSpecialStateNot = false; this.yCmbSubdivision.NameForSpecialStateNot = "Выберите отдел"; this.vbxCreateGuilty.Add(this.yCmbSubdivision); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbxCreateGuilty[this.yCmbSubdivision])); w3.Position = 2; w3.Expand = false; w3.Fill = false; this.Add(this.vbxCreateGuilty); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReadyForShipmentFilter global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReadyForShipmentFilter"; // Container child Vodovoz.ReadyForShipmentFilter.Gtk.Container+ContainerChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Склад:"); this.hbox3.Add(this.label2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yspeccomboWarehouse = new global::Gamma.Widgets.ySpecComboBox(); this.yspeccomboWarehouse.Name = "yspeccomboWarehouse"; this.yspeccomboWarehouse.AddIfNotExist = false; this.yspeccomboWarehouse.DefaultFirst = false; this.yspeccomboWarehouse.ShowSpecialStateAll = true; this.yspeccomboWarehouse.ShowSpecialStateNot = false; this.hbox3.Add(this.yspeccomboWarehouse); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yspeccomboWarehouse])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.entryWarehouses = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryWarehouses.WidthRequest = 350; this.entryWarehouses.Events = ((global::Gdk.EventMask)(256)); this.entryWarehouses.Name = "entryWarehouses"; this.entryWarehouses.CanEditReference = false; this.hbox3.Add(this.entryWarehouses); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.entryWarehouses])); w3.Position = 2; w3.Expand = false; this.Add(this.hbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.yspeccomboWarehouse.Hide(); this.entryWarehouses.Hide(); this.Hide(); this.yspeccomboWarehouse.ItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnYspeccomboWarehouseItemSelected); this.entryWarehouses.ChangedByUser += new global::System.EventHandler(this.OnEntryWarehousesChangedByUser); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Filters.GtkViews.NomenclatureStockFilterView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Filters.GtkViews.NomenclatureStockFilterView"; // Container child Vodovoz.Filters.GtkViews.NomenclatureStockFilterView.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(1)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checkShowArchive = new global::Gamma.GtkWidgets.yCheckButton(); this.checkShowArchive.CanFocus = true; this.checkShowArchive.Name = "checkShowArchive"; this.checkShowArchive.Label = global::Mono.Unix.Catalog.GetString("Показывать архивные"); this.checkShowArchive.DrawIndicator = true; this.checkShowArchive.UseUnderline = true; this.table1.Add(this.checkShowArchive); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.checkShowArchive])); w1.LeftAttach = ((uint)(2)); w1.RightAttach = ((uint)(3)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboWarehouse = new global::Gamma.Widgets.ySpecComboBox(); this.comboWarehouse.Name = "comboWarehouse"; this.comboWarehouse.AddIfNotExist = false; this.comboWarehouse.DefaultFirst = false; this.comboWarehouse.ShowSpecialStateAll = true; this.comboWarehouse.ShowSpecialStateNot = false; this.table1.Add(this.comboWarehouse); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.comboWarehouse])); 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.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 w3 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReadyForReceptionFilter global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReadyForReceptionFilter"; // Container child Vodovoz.ReadyForReceptionFilter.Gtk.Container+ContainerChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Склад:"); this.hbox3.Add(this.label2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yspeccomboWarehouse = new global::Gamma.Widgets.ySpecComboBox(); this.yspeccomboWarehouse.Name = "yspeccomboWarehouse"; this.yspeccomboWarehouse.AddIfNotExist = false; this.yspeccomboWarehouse.DefaultFirst = false; this.yspeccomboWarehouse.ShowSpecialStateAll = true; this.yspeccomboWarehouse.ShowSpecialStateNot = false; this.hbox3.Add(this.yspeccomboWarehouse); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yspeccomboWarehouse])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.checkWithoutUnload = new global::Gtk.CheckButton(); this.checkWithoutUnload.CanFocus = true; this.checkWithoutUnload.Name = "checkWithoutUnload"; this.checkWithoutUnload.Label = global::Mono.Unix.Catalog.GetString("Только без разгрузок"); this.checkWithoutUnload.DrawIndicator = true; this.checkWithoutUnload.UseUnderline = true; this.hbox3.Add(this.checkWithoutUnload); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.checkWithoutUnload])); w3.Position = 2; this.Add(this.hbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.yspeccomboWarehouse.ItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs> (this.OnYspeccomboWarehouseItemSelected); this.checkWithoutUnload.Toggled += new global::System.EventHandler(this.OnCheckWithoutUnloadToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReadyForReceptionFilter global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReadyForReceptionFilter"; // Container child Vodovoz.ReadyForReceptionFilter.Gtk.Container+ContainerChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Склад:"); this.hbox3.Add(this.label2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yspeccomboWarehouse = new global::Gamma.Widgets.ySpecComboBox(); this.yspeccomboWarehouse.Name = "yspeccomboWarehouse"; this.yspeccomboWarehouse.AddIfNotExist = false; this.yspeccomboWarehouse.DefaultFirst = false; this.yspeccomboWarehouse.ShowSpecialStateAll = true; this.yspeccomboWarehouse.ShowSpecialStateNot = false; this.hbox3.Add(this.yspeccomboWarehouse); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yspeccomboWarehouse])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.checkWithoutUnload = new global::Gtk.CheckButton(); this.checkWithoutUnload.CanFocus = true; this.checkWithoutUnload.Name = "checkWithoutUnload"; this.checkWithoutUnload.Label = global::Mono.Unix.Catalog.GetString("Только без разгрузок"); this.checkWithoutUnload.DrawIndicator = true; this.checkWithoutUnload.UseUnderline = true; this.hbox3.Add(this.checkWithoutUnload); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.checkWithoutUnload])); w3.Position = 2; this.Add(this.hbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.yspeccomboWarehouse.ItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnYspeccomboWarehouseItemSelected); this.checkWithoutUnload.Toggled += new global::System.EventHandler(this.OnCheckWithoutUnloadToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Filters.GtkViews.ComplaintKindJournalFilterView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Filters.GtkViews.ComplaintKindJournalFilterView"; // Container child Vodovoz.Filters.GtkViews.ComplaintKindJournalFilterView.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // 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.labelComplaintObject = new global::Gtk.Label(); this.labelComplaintObject.Name = "labelComplaintObject"; this.labelComplaintObject.Xalign = 1F; this.labelComplaintObject.LabelProp = global::Mono.Unix.Catalog.GetString("Объект рекламации:"); this.table1.Add(this.labelComplaintObject); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.labelComplaintObject])); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yspeccomboboxComplaintObject = new global::Gamma.Widgets.ySpecComboBox(); this.yspeccomboboxComplaintObject.Name = "yspeccomboboxComplaintObject"; this.yspeccomboboxComplaintObject.AddIfNotExist = false; this.yspeccomboboxComplaintObject.DefaultFirst = false; this.yspeccomboboxComplaintObject.ShowSpecialStateAll = false; this.yspeccomboboxComplaintObject.ShowSpecialStateNot = false; this.table1.Add(this.yspeccomboboxComplaintObject); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.yspeccomboboxComplaintObject])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w3.Position = 0; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Core.Permissions.AccessFilteredSubdivisionSelectorWidget global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Core.Permissions.AccessFilteredSubdivisionSelectorWidget"; // Container child Vodovoz.Core.Permissions.AccessFilteredSubdivisionSelectorWidget.Gtk.Container+ContainerChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.labelSubdivision = new global::Gtk.Label(); this.labelSubdivision.Name = "labelSubdivision"; this.labelSubdivision.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение:"); this.hbox4.Add(this.labelSubdivision); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.labelSubdivision])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.yspeccomboboxSubdivision = new global::Gamma.Widgets.ySpecComboBox(); this.yspeccomboboxSubdivision.Name = "yspeccomboboxSubdivision"; this.yspeccomboboxSubdivision.AddIfNotExist = false; this.yspeccomboboxSubdivision.DefaultFirst = false; this.yspeccomboboxSubdivision.ShowSpecialStateAll = true; this.yspeccomboboxSubdivision.ShowSpecialStateNot = false; this.hbox4.Add(this.yspeccomboboxSubdivision); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.yspeccomboboxSubdivision])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.Add(this.hbox4); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Cash.CashTransfer.IncomeCashTransferDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Cash.CashTransfer.IncomeCashTransferDlg"; // Container child Vodovoz.Dialogs.Cash.CashTransfer.IncomeCashTransferDlg.Gtk.Container+ContainerChild this.vboxDialog = new global::Gtk.VBox(); this.vboxDialog.Name = "vboxDialog"; this.vboxDialog.Spacing = 6; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hboxDialogButtons.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hboxDialogButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonPrint = new global::Gtk.Button(); this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w5; this.hboxDialogButtons.Add(this.buttonPrint); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonPrint])); w6.Position = 3; w6.Expand = false; w6.Fill = false; this.vboxDialog.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxDialogButtons])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.tableState = new global::Gtk.Table(((uint)(1)), ((uint)(6)), false); this.tableState.Name = "tableState"; this.tableState.RowSpacing = ((uint)(6)); this.tableState.ColumnSpacing = ((uint)(6)); // Container child tableState.Gtk.Table+TableChild this.labelAuthor = new global::Gtk.Label(); this.labelAuthor.Name = "labelAuthor"; this.labelAuthor.Xalign = 1F; this.labelAuthor.LabelProp = global::Mono.Unix.Catalog.GetString("Автор:"); this.tableState.Add(this.labelAuthor); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableState[this.labelAuthor])); w8.LeftAttach = ((uint)(2)); w8.RightAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.labelCreationDate = new global::Gtk.Label(); this.labelCreationDate.Name = "labelCreationDate"; this.labelCreationDate.Xalign = 1F; this.labelCreationDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата создания:"); this.tableState.Add(this.labelCreationDate); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableState[this.labelCreationDate])); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.labelStatus = new global::Gtk.Label(); this.labelStatus.Name = "labelStatus"; this.labelStatus.Xalign = 1F; this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус:"); this.tableState.Add(this.labelStatus); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableState[this.labelStatus])); w10.LeftAttach = ((uint)(4)); w10.RightAttach = ((uint)(5)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.ylabelAuthor = new global::Gamma.GtkWidgets.yLabel(); this.ylabelAuthor.Name = "ylabelAuthor"; this.ylabelAuthor.Xalign = 0F; this.tableState.Add(this.ylabelAuthor); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableState[this.ylabelAuthor])); w11.LeftAttach = ((uint)(3)); w11.RightAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.ylabelCreationDate = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCreationDate.Name = "ylabelCreationDate"; this.ylabelCreationDate.Xalign = 0F; this.tableState.Add(this.ylabelCreationDate); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableState[this.ylabelCreationDate])); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.ylabelStatus = new global::Gamma.GtkWidgets.yLabel(); this.ylabelStatus.Name = "ylabelStatus"; this.ylabelStatus.Xalign = 0F; this.tableState.Add(this.ylabelStatus); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableState[this.ylabelStatus])); w13.LeftAttach = ((uint)(5)); w13.RightAttach = ((uint)(6)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxDialog.Add(this.tableState); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.tableState])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.vboxDialog.Add(this.hseparator2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hseparator2])); w15.Position = 2; w15.Expand = false; w15.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.labelDriver = new global::Gtk.Label(); this.labelDriver.Name = "labelDriver"; this.labelDriver.Xalign = 1F; this.labelDriver.LabelProp = global::Mono.Unix.Catalog.GetString("Водитель:"); this.hbox2.Add(this.labelDriver); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.labelDriver])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entryDriver = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.entryDriver.Events = ((global::Gdk.EventMask)(256)); this.entryDriver.Name = "entryDriver"; this.hbox2.Add(this.entryDriver); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.entryDriver])); w17.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.labelCar = new global::Gtk.Label(); this.labelCar.Name = "labelCar"; this.labelCar.Xalign = 1F; this.labelCar.LabelProp = global::Mono.Unix.Catalog.GetString("Автомобиль:"); this.hbox2.Add(this.labelCar); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.labelCar])); w18.Position = 2; w18.Expand = false; w18.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entityviewmodelentryCar = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityviewmodelentryCar.Events = ((global::Gdk.EventMask)(256)); this.entityviewmodelentryCar.Name = "entityviewmodelentryCar"; this.entityviewmodelentryCar.CanEditReference = true; this.hbox2.Add(this.entityviewmodelentryCar); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.entityviewmodelentryCar])); w19.Position = 3; this.vboxDialog.Add(this.hbox2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hbox2])); w20.Position = 3; w20.Expand = false; w20.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxTransferInfo = new global::Gtk.HBox(); this.hboxTransferInfo.Name = "hboxTransferInfo"; this.hboxTransferInfo.Spacing = 6; // Container child hboxTransferInfo.Gtk.Box+BoxChild this.tableFrom = new global::Gtk.Table(((uint)(4)), ((uint)(3)), false); this.tableFrom.Name = "tableFrom"; this.tableFrom.RowSpacing = ((uint)(6)); this.tableFrom.ColumnSpacing = ((uint)(6)); // Container child tableFrom.Gtk.Table+TableChild this.buttonSend = new global::Gamma.GtkWidgets.yButton(); this.buttonSend.CanFocus = true; this.buttonSend.Name = "buttonSend"; this.buttonSend.UseUnderline = true; this.buttonSend.Label = global::Mono.Unix.Catalog.GetString("Отправить"); this.tableFrom.Add(this.buttonSend); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.buttonSend])); w21.TopAttach = ((uint)(3)); w21.BottomAttach = ((uint)(4)); w21.LeftAttach = ((uint)(2)); w21.RightAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.comboboxCashSubdivisionFrom = new global::Gamma.Widgets.ySpecComboBox(); this.comboboxCashSubdivisionFrom.Name = "comboboxCashSubdivisionFrom"; this.comboboxCashSubdivisionFrom.AddIfNotExist = false; this.comboboxCashSubdivisionFrom.DefaultFirst = false; this.comboboxCashSubdivisionFrom.ShowSpecialStateAll = false; this.comboboxCashSubdivisionFrom.ShowSpecialStateNot = true; this.tableFrom.Add(this.comboboxCashSubdivisionFrom); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.comboboxCashSubdivisionFrom])); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(3)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.comboExpenseCategory = new global::Gamma.Widgets.ySpecComboBox(); this.comboExpenseCategory.Name = "comboExpenseCategory"; this.comboExpenseCategory.AddIfNotExist = false; this.comboExpenseCategory.DefaultFirst = false; this.comboExpenseCategory.ShowSpecialStateAll = false; this.comboExpenseCategory.ShowSpecialStateNot = true; this.tableFrom.Add(this.comboExpenseCategory); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.comboExpenseCategory])); w23.TopAttach = ((uint)(1)); w23.BottomAttach = ((uint)(2)); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.labelCashierSender = new global::Gtk.Label(); this.labelCashierSender.Name = "labelCashierSender"; this.labelCashierSender.Xalign = 1F; this.labelCashierSender.LabelProp = global::Mono.Unix.Catalog.GetString("Отправил:"); this.tableFrom.Add(this.labelCashierSender); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.labelCashierSender])); w24.TopAttach = ((uint)(2)); w24.BottomAttach = ((uint)(3)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.labelCashSubdivisionFrom = new global::Gtk.Label(); this.labelCashSubdivisionFrom.Name = "labelCashSubdivisionFrom"; this.labelCashSubdivisionFrom.Xalign = 1F; this.labelCashSubdivisionFrom.LabelProp = global::Mono.Unix.Catalog.GetString("Из кассы:"); this.tableFrom.Add(this.labelCashSubdivisionFrom); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.labelCashSubdivisionFrom])); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.labelExpenseCategory = new global::Gtk.Label(); this.labelExpenseCategory.Name = "labelExpenseCategory"; this.labelExpenseCategory.Xalign = 1F; this.labelExpenseCategory.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.tableFrom.Add(this.labelExpenseCategory); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.labelExpenseCategory])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.labelSendDate = new global::Gtk.Label(); this.labelSendDate.Name = "labelSendDate"; this.labelSendDate.Xalign = 1F; this.labelSendDate.LabelProp = global::Mono.Unix.Catalog.GetString("Время отправки:"); this.tableFrom.Add(this.labelSendDate); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.labelSendDate])); w27.TopAttach = ((uint)(3)); w27.BottomAttach = ((uint)(4)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.ylabelCashierSender = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCashierSender.Name = "ylabelCashierSender"; this.ylabelCashierSender.Xalign = 0F; this.tableFrom.Add(this.ylabelCashierSender); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.ylabelCashierSender])); w28.TopAttach = ((uint)(2)); w28.BottomAttach = ((uint)(3)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(3)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.ylabelSendTime = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSendTime.Name = "ylabelSendTime"; this.ylabelSendTime.Xalign = 0F; this.tableFrom.Add(this.ylabelSendTime); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.ylabelSendTime])); w29.TopAttach = ((uint)(3)); w29.BottomAttach = ((uint)(4)); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); this.hboxTransferInfo.Add(this.tableFrom); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hboxTransferInfo[this.tableFrom])); w30.Position = 0; // Container child hboxTransferInfo.Gtk.Box+BoxChild this.tableTo = new global::Gtk.Table(((uint)(4)), ((uint)(3)), false); this.tableTo.Name = "tableTo"; this.tableTo.RowSpacing = ((uint)(6)); this.tableTo.ColumnSpacing = ((uint)(6)); // Container child tableTo.Gtk.Table+TableChild this.buttonReceive = new global::Gamma.GtkWidgets.yButton(); this.buttonReceive.CanFocus = true; this.buttonReceive.Name = "buttonReceive"; this.buttonReceive.UseUnderline = true; this.buttonReceive.Label = global::Mono.Unix.Catalog.GetString("Принять"); this.tableTo.Add(this.buttonReceive); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.tableTo[this.buttonReceive])); w31.TopAttach = ((uint)(3)); w31.BottomAttach = ((uint)(4)); w31.LeftAttach = ((uint)(2)); w31.RightAttach = ((uint)(3)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.comboboxCashSubdivisionTo = new global::Gamma.Widgets.ySpecComboBox(); this.comboboxCashSubdivisionTo.Name = "comboboxCashSubdivisionTo"; this.comboboxCashSubdivisionTo.AddIfNotExist = false; this.comboboxCashSubdivisionTo.DefaultFirst = false; this.comboboxCashSubdivisionTo.ShowSpecialStateAll = false; this.comboboxCashSubdivisionTo.ShowSpecialStateNot = true; this.tableTo.Add(this.comboboxCashSubdivisionTo); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.tableTo[this.comboboxCashSubdivisionTo])); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(3)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.comboIncomeCategory = new global::Gamma.Widgets.ySpecComboBox(); this.comboIncomeCategory.Name = "comboIncomeCategory"; this.comboIncomeCategory.AddIfNotExist = false; this.comboIncomeCategory.DefaultFirst = false; this.comboIncomeCategory.ShowSpecialStateAll = false; this.comboIncomeCategory.ShowSpecialStateNot = true; this.tableTo.Add(this.comboIncomeCategory); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.tableTo[this.comboIncomeCategory])); w33.TopAttach = ((uint)(1)); w33.BottomAttach = ((uint)(2)); w33.LeftAttach = ((uint)(1)); w33.RightAttach = ((uint)(3)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.labelCashierReceiver = new global::Gtk.Label(); this.labelCashierReceiver.Name = "labelCashierReceiver"; this.labelCashierReceiver.Xalign = 1F; this.labelCashierReceiver.LabelProp = global::Mono.Unix.Catalog.GetString("Получил:"); this.tableTo.Add(this.labelCashierReceiver); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.tableTo[this.labelCashierReceiver])); w34.TopAttach = ((uint)(2)); w34.BottomAttach = ((uint)(3)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.labelCashSubdivisionFrom1 = new global::Gtk.Label(); this.labelCashSubdivisionFrom1.Name = "labelCashSubdivisionFrom1"; this.labelCashSubdivisionFrom1.Xalign = 1F; this.labelCashSubdivisionFrom1.LabelProp = global::Mono.Unix.Catalog.GetString("В кассу:"); this.tableTo.Add(this.labelCashSubdivisionFrom1); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.tableTo[this.labelCashSubdivisionFrom1])); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.labelIncomeCategory = new global::Gtk.Label(); this.labelIncomeCategory.Name = "labelIncomeCategory"; this.labelIncomeCategory.Xalign = 1F; this.labelIncomeCategory.LabelProp = global::Mono.Unix.Catalog.GetString("Статья прихода:"); this.tableTo.Add(this.labelIncomeCategory); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.tableTo[this.labelIncomeCategory])); w36.TopAttach = ((uint)(1)); w36.BottomAttach = ((uint)(2)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.labelReceiveDate = new global::Gtk.Label(); this.labelReceiveDate.Name = "labelReceiveDate"; this.labelReceiveDate.Xalign = 1F; this.labelReceiveDate.LabelProp = global::Mono.Unix.Catalog.GetString("Время получения:"); this.tableTo.Add(this.labelReceiveDate); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.tableTo[this.labelReceiveDate])); w37.TopAttach = ((uint)(3)); w37.BottomAttach = ((uint)(4)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.ylabelCashierReceiver = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCashierReceiver.Name = "ylabelCashierReceiver"; this.ylabelCashierReceiver.Xalign = 0F; this.tableTo.Add(this.ylabelCashierReceiver); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.tableTo[this.ylabelCashierReceiver])); w38.TopAttach = ((uint)(2)); w38.BottomAttach = ((uint)(3)); w38.LeftAttach = ((uint)(1)); w38.RightAttach = ((uint)(3)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.ylabelReceiveTime = new global::Gamma.GtkWidgets.yLabel(); this.ylabelReceiveTime.Name = "ylabelReceiveTime"; this.ylabelReceiveTime.Xalign = 0F; this.tableTo.Add(this.ylabelReceiveTime); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.tableTo[this.ylabelReceiveTime])); w39.TopAttach = ((uint)(3)); w39.BottomAttach = ((uint)(4)); w39.LeftAttach = ((uint)(1)); w39.RightAttach = ((uint)(2)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); this.hboxTransferInfo.Add(this.tableTo); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hboxTransferInfo[this.tableTo])); w40.Position = 1; this.vboxDialog.Add(this.hboxTransferInfo); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxTransferInfo])); w41.Position = 4; w41.Expand = false; w41.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vboxDialog.Add(this.hseparator1); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hseparator1])); w42.Position = 5; w42.Expand = false; w42.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxTransferItems = new global::Gtk.HBox(); this.hboxTransferItems.Name = "hboxTransferItems"; this.hboxTransferItems.Spacing = 6; // Container child hboxTransferItems.Gtk.Box+BoxChild this.vboxTransferIncomeItems = new global::Gtk.VBox(); this.vboxTransferIncomeItems.Name = "vboxTransferIncomeItems"; this.vboxTransferIncomeItems.Spacing = 6; // Container child vboxTransferIncomeItems.Gtk.Box+BoxChild this.labelIncomes = new global::Gtk.Label(); this.labelIncomes.Name = "labelIncomes"; this.labelIncomes.LabelProp = global::Mono.Unix.Catalog.GetString("Приходные ордера:"); this.vboxTransferIncomeItems.Add(this.labelIncomes); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vboxTransferIncomeItems[this.labelIncomes])); w43.Position = 0; w43.Expand = false; w43.Fill = false; // Container child vboxTransferIncomeItems.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.ytreeviewIncomes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewIncomes.CanFocus = true; this.ytreeviewIncomes.Name = "ytreeviewIncomes"; this.GtkScrolledWindow.Add(this.ytreeviewIncomes); this.vboxTransferIncomeItems.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.vboxTransferIncomeItems[this.GtkScrolledWindow])); w45.Position = 1; // Container child vboxTransferIncomeItems.Gtk.Box+BoxChild this.hboxIncomesButtons = new global::Gtk.HBox(); this.hboxIncomesButtons.Name = "hboxIncomesButtons"; this.hboxIncomesButtons.Spacing = 6; // Container child hboxIncomesButtons.Gtk.Box+BoxChild this.buttonAddIncomes = new global::Gamma.GtkWidgets.yButton(); this.buttonAddIncomes.CanFocus = true; this.buttonAddIncomes.Name = "buttonAddIncomes"; this.buttonAddIncomes.UseUnderline = true; this.buttonAddIncomes.Label = global::Mono.Unix.Catalog.GetString("Добавить приходные ордера"); this.hboxIncomesButtons.Add(this.buttonAddIncomes); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hboxIncomesButtons[this.buttonAddIncomes])); w46.Position = 0; w46.Expand = false; w46.Fill = false; // Container child hboxIncomesButtons.Gtk.Box+BoxChild this.buttonDeleteSelectedIncomes = new global::Gamma.GtkWidgets.yButton(); this.buttonDeleteSelectedIncomes.CanFocus = true; this.buttonDeleteSelectedIncomes.Name = "buttonDeleteSelectedIncomes"; this.buttonDeleteSelectedIncomes.UseUnderline = true; this.buttonDeleteSelectedIncomes.Label = global::Mono.Unix.Catalog.GetString("Удалить выбранные"); this.hboxIncomesButtons.Add(this.buttonDeleteSelectedIncomes); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hboxIncomesButtons[this.buttonDeleteSelectedIncomes])); w47.Position = 1; w47.Expand = false; w47.Fill = false; this.vboxTransferIncomeItems.Add(this.hboxIncomesButtons); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vboxTransferIncomeItems[this.hboxIncomesButtons])); w48.Position = 2; w48.Expand = false; w48.Fill = false; // Container child vboxTransferIncomeItems.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.labelIncomesSum = new global::Gtk.Label(); this.labelIncomesSum.Name = "labelIncomesSum"; this.labelIncomesSum.LabelProp = global::Mono.Unix.Catalog.GetString("Итого приходные ордера:"); this.hbox4.Add(this.labelIncomesSum); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.labelIncomesSum])); w49.Position = 0; w49.Expand = false; w49.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ylabelIncomesSummary = new global::Gamma.GtkWidgets.yLabel(); this.ylabelIncomesSummary.Name = "ylabelIncomesSummary"; this.hbox4.Add(this.ylabelIncomesSummary); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ylabelIncomesSummary])); w50.Position = 1; w50.Expand = false; w50.Fill = false; this.vboxTransferIncomeItems.Add(this.hbox4); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vboxTransferIncomeItems[this.hbox4])); w51.Position = 3; w51.Expand = false; w51.Fill = false; this.hboxTransferItems.Add(this.vboxTransferIncomeItems); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hboxTransferItems[this.vboxTransferIncomeItems])); w52.Position = 0; // Container child hboxTransferItems.Gtk.Box+BoxChild this.vboxTransferExpenseItems = new global::Gtk.VBox(); this.vboxTransferExpenseItems.Name = "vboxTransferExpenseItems"; this.vboxTransferExpenseItems.Spacing = 6; // Container child vboxTransferExpenseItems.Gtk.Box+BoxChild this.labelExpenses = new global::Gtk.Label(); this.labelExpenses.Name = "labelExpenses"; this.labelExpenses.LabelProp = global::Mono.Unix.Catalog.GetString("Расходные ордера:"); this.vboxTransferExpenseItems.Add(this.labelExpenses); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vboxTransferExpenseItems[this.labelExpenses])); w53.Position = 0; w53.Expand = false; w53.Fill = false; // Container child vboxTransferExpenseItems.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.ytreeviewExpenses = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewExpenses.CanFocus = true; this.ytreeviewExpenses.Name = "ytreeviewExpenses"; this.GtkScrolledWindow1.Add(this.ytreeviewExpenses); this.vboxTransferExpenseItems.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vboxTransferExpenseItems[this.GtkScrolledWindow1])); w55.Position = 1; // Container child vboxTransferExpenseItems.Gtk.Box+BoxChild this.hboxExpenseButtons = new global::Gtk.HBox(); this.hboxExpenseButtons.Name = "hboxExpenseButtons"; this.hboxExpenseButtons.Spacing = 6; // Container child hboxExpenseButtons.Gtk.Box+BoxChild this.buttonAddExpenses = new global::Gamma.GtkWidgets.yButton(); this.buttonAddExpenses.CanFocus = true; this.buttonAddExpenses.Name = "buttonAddExpenses"; this.buttonAddExpenses.UseUnderline = true; this.buttonAddExpenses.Label = global::Mono.Unix.Catalog.GetString("Добавить расходные ордера"); this.hboxExpenseButtons.Add(this.buttonAddExpenses); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.hboxExpenseButtons[this.buttonAddExpenses])); w56.Position = 0; w56.Expand = false; w56.Fill = false; // Container child hboxExpenseButtons.Gtk.Box+BoxChild this.buttonDeleteSelectedExpenses = new global::Gamma.GtkWidgets.yButton(); this.buttonDeleteSelectedExpenses.CanFocus = true; this.buttonDeleteSelectedExpenses.Name = "buttonDeleteSelectedExpenses"; this.buttonDeleteSelectedExpenses.UseUnderline = true; this.buttonDeleteSelectedExpenses.Label = global::Mono.Unix.Catalog.GetString("Удалить выбранные"); this.hboxExpenseButtons.Add(this.buttonDeleteSelectedExpenses); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.hboxExpenseButtons[this.buttonDeleteSelectedExpenses])); w57.Position = 1; w57.Expand = false; w57.Fill = false; this.vboxTransferExpenseItems.Add(this.hboxExpenseButtons); global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.vboxTransferExpenseItems[this.hboxExpenseButtons])); w58.Position = 2; w58.Expand = false; w58.Fill = false; // Container child vboxTransferExpenseItems.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.labelExpensesSum = new global::Gtk.Label(); this.labelExpensesSum.Name = "labelExpensesSum"; this.labelExpensesSum.LabelProp = global::Mono.Unix.Catalog.GetString("Итого расходные ордера:"); this.hbox5.Add(this.labelExpensesSum); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.labelExpensesSum])); w59.Position = 0; w59.Expand = false; w59.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.ylabelExpensesSummary = new global::Gamma.GtkWidgets.yLabel(); this.ylabelExpensesSummary.Name = "ylabelExpensesSummary"; this.hbox5.Add(this.ylabelExpensesSummary); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.ylabelExpensesSummary])); w60.Position = 1; w60.Expand = false; w60.Fill = false; this.vboxTransferExpenseItems.Add(this.hbox5); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.vboxTransferExpenseItems[this.hbox5])); w61.Position = 3; w61.Expand = false; w61.Fill = false; this.hboxTransferItems.Add(this.vboxTransferExpenseItems); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.hboxTransferItems[this.vboxTransferExpenseItems])); w62.Position = 1; this.vboxDialog.Add(this.hboxTransferItems); global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxTransferItems])); w63.Position = 6; // Container child vboxDialog.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.labelSum = new global::Gtk.Label(); this.labelSum.Name = "labelSum"; this.labelSum.Xalign = 1F; this.labelSum.LabelProp = global::Mono.Unix.Catalog.GetString("Итого к отправке:"); this.hbox6.Add(this.labelSum); global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.labelSum])); w64.Position = 0; w64.Expand = false; w64.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.ylabelSum = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSum.Name = "ylabelSum"; this.ylabelSum.Xalign = 0F; this.hbox6.Add(this.ylabelSum); global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.ylabelSum])); w65.Position = 1; w65.Expand = false; w65.Fill = false; this.vboxDialog.Add(this.hbox6); global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hbox6])); w66.Position = 7; w66.Expand = false; w66.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.labelComment = new global::Gtk.Label(); this.labelComment.Name = "labelComment"; this.labelComment.Xalign = 0F; this.labelComment.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.vboxDialog.Add(this.labelComment); global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.labelComment])); w67.Position = 8; w67.Expand = false; w67.Fill = false; // Container child vboxDialog.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.ytextviewComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewComment.CanFocus = true; this.ytextviewComment.Name = "ytextviewComment"; this.GtkScrolledWindow2.Add(this.ytextviewComment); this.vboxDialog.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.GtkScrolledWindow2])); w69.Position = 9; this.Add(this.vboxDialog); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.buttonPrint.Clicked += new global::System.EventHandler(this.OnButtonPrintClicked); this.buttonSend.Clicked += new global::System.EventHandler(this.OnButtonSendClicked); this.buttonReceive.Clicked += new global::System.EventHandler(this.OnButtonReceiveClicked); this.buttonAddIncomes.Clicked += new global::System.EventHandler(this.OnButtonAddIncomesClicked); this.buttonDeleteSelectedIncomes.Clicked += new global::System.EventHandler(this.OnButtonDeleteSelectedIncomesClicked); this.buttonAddExpenses.Clicked += new global::System.EventHandler(this.OnButtonAddExpensesClicked); this.buttonDeleteSelectedExpenses.Clicked += new global::System.EventHandler(this.OnButtonDeleteSelectedExpensesClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.Bottles.ShortfallBattlesReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Bottles.ShortfallBattlesReport"; // Container child Vodovoz.ReportsParameters.Bottles.ShortfallBattlesReport.Gtk.Container+ContainerChild 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.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.hbox3.Add(this.label2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.ydatepicker = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatepicker.Events = ((global::Gdk.EventMask)(256)); this.ydatepicker.Name = "ydatepicker"; this.ydatepicker.WithTime = false; this.ydatepicker.Date = new global::System.DateTime(0); this.ydatepicker.IsEditable = true; this.ydatepicker.AutoSeparation = false; this.hbox3.Add(this.ydatepicker); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.ydatepicker])); w2.Position = 1; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(6)), ((uint)(1)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checkOneDriver = new global::Gtk.CheckButton(); this.checkOneDriver.CanFocus = true; this.checkOneDriver.Name = "checkOneDriver"; this.checkOneDriver.Label = global::Mono.Unix.Catalog.GetString("По водителю"); this.checkOneDriver.DrawIndicator = true; this.checkOneDriver.UseUnderline = true; this.table1.Add(this.checkOneDriver); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.checkOneDriver])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboboxDriver = new global::Gamma.Widgets.yEnumComboBox(); this.comboboxDriver.Name = "comboboxDriver"; this.comboboxDriver.ShowSpecialStateAll = false; this.comboboxDriver.ShowSpecialStateNot = false; this.comboboxDriver.UseShortTitle = false; this.comboboxDriver.DefaultFirst = true; this.table1.Add(this.comboboxDriver); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.comboboxDriver])); w5.TopAttach = ((uint)(5)); w5.BottomAttach = ((uint)(6)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Причина несдачи:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w6.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.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Водитель без отзвона:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); 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.yentryDriver = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryDriver.Sensitive = false; this.yentryDriver.Events = ((global::Gdk.EventMask)(256)); this.yentryDriver.Name = "yentryDriver"; this.table1.Add(this.yentryDriver); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryDriver])); 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.ySpecCmbNonReturnReason = new global::Gamma.Widgets.ySpecComboBox(); this.ySpecCmbNonReturnReason.Name = "ySpecCmbNonReturnReason"; this.ySpecCmbNonReturnReason.AddIfNotExist = false; this.ySpecCmbNonReturnReason.DefaultFirst = true; this.ySpecCmbNonReturnReason.ShowSpecialStateAll = true; this.ySpecCmbNonReturnReason.ShowSpecialStateNot = false; this.table1.Add(this.ySpecCmbNonReturnReason); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.ySpecCmbNonReturnReason])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w10.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.buttonCreateRepot = new global::Gtk.Button(); this.buttonCreateRepot.CanFocus = true; this.buttonCreateRepot.Name = "buttonCreateRepot"; this.buttonCreateRepot.UseUnderline = true; this.buttonCreateRepot.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.vbox1.Add(this.buttonCreateRepot); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.buttonCreateRepot])); w11.PackType = ((global::Gtk.PackType)(1)); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.checkOneDriver.Toggled += new global::System.EventHandler(this.OnCheckOneDriverToggled); this.buttonCreateRepot.Clicked += new global::System.EventHandler(this.OnButtonCreateRepotClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget QS.HistoryLog.Dialogs.HistoryView global::Stetic.BinContainer.Attach(this); this.Name = "QS.HistoryLog.Dialogs.HistoryView"; // Container child QS.HistoryLog.Dialogs.HistoryView.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(5)), ((uint)(5)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.buttonSearch = new global::Gtk.Button(); this.buttonSearch.CanFocus = true; this.buttonSearch.Name = "buttonSearch"; this.buttonSearch.UseUnderline = true; global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-find", global::Gtk.IconSize.Menu); this.buttonSearch.Image = w1; this.table1.Add(this.buttonSearch); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonSearch])); w2.TopAttach = ((uint)(3)); w2.BottomAttach = ((uint)(5)); w2.LeftAttach = ((uint)(4)); w2.RightAttach = ((uint)(5)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboAction = new global::Gamma.Widgets.yEnumComboBox(); this.comboAction.Name = "comboAction"; this.comboAction.ShowSpecialStateAll = true; this.comboAction.ShowSpecialStateNot = false; this.comboAction.UseShortTitle = false; this.comboAction.DefaultFirst = false; this.table1.Add(this.comboAction); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.comboAction])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboProperty = new global::Gamma.Widgets.ySpecComboBox(); this.comboProperty.Name = "comboProperty"; this.comboProperty.AddIfNotExist = false; this.comboProperty.DefaultFirst = false; this.comboProperty.ShowSpecialStateAll = true; this.comboProperty.ShowSpecialStateNot = false; this.table1.Add(this.comboProperty); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.comboProperty])); w4.TopAttach = ((uint)(3)); w4.BottomAttach = ((uint)(4)); 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.comboUsers = new global::Gtk.ComboBox(); this.comboUsers.Name = "comboUsers"; this.table1.Add(this.comboUsers); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.comboUsers])); 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.datacomboObject = new global::Gamma.Widgets.ySpecComboBox(); this.datacomboObject.Name = "datacomboObject"; this.datacomboObject.AddIfNotExist = false; this.datacomboObject.DefaultFirst = false; this.datacomboObject.ShowSpecialStateAll = true; this.datacomboObject.ShowSpecialStateNot = false; this.table1.Add(this.datacomboObject); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.datacomboObject])); 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.entrySearchEntity = new global::Gtk.Entry(); this.entrySearchEntity.CanFocus = true; this.entrySearchEntity.Name = "entrySearchEntity"; this.entrySearchEntity.IsEditable = true; this.entrySearchEntity.InvisibleChar = '●'; this.table1.Add(this.entrySearchEntity); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entrySearchEntity])); w7.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); 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.entrySearchValue = new global::Gtk.Entry(); this.entrySearchValue.CanFocus = true; this.entrySearchValue.Name = "entrySearchValue"; this.entrySearchValue.IsEditable = true; this.entrySearchValue.InvisibleChar = '●'; this.table1.Add(this.entrySearchValue); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.entrySearchValue])); w8.TopAttach = ((uint)(4)); w8.BottomAttach = ((uint)(5)); w8.LeftAttach = ((uint)(3)); w8.RightAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Действие с объектом:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.LeftAttach = ((uint)(2)); w11.RightAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child 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 w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label6])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.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 w13 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.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 w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label9])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); 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.selectperiod = new global::QSWidgetLib.SelectPeriod(); this.selectperiod.Events = ((global::Gdk.EventMask)(256)); this.selectperiod.Name = "selectperiod"; this.selectperiod.DateBegin = new global::System.DateTime(0); this.selectperiod.DateEnd = new global::System.DateTime(0); this.selectperiod.AutoDateSeparation = true; this.selectperiod.ShowToday = true; this.selectperiod.ShowWeek = true; this.selectperiod.ShowMonth = true; this.selectperiod.Show3Month = true; this.selectperiod.Show6Month = false; this.selectperiod.ShowYear = false; this.selectperiod.ShowAllTime = false; this.selectperiod.ShowCurWeek = false; this.selectperiod.ShowCurMonth = false; this.selectperiod.ShowCurQuarter = false; this.selectperiod.ShowCurYear = false; this.table1.Add(this.selectperiod); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.selectperiod])); w15.BottomAttach = ((uint)(3)); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(4)); 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 = 0; w16.Expand = false; w16.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 203; // Container child vpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindowChangesets = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindowChangesets.Name = "GtkScrolledWindowChangesets"; this.GtkScrolledWindowChangesets.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowChangesets.Gtk.Container+ContainerChild this.datatreeChangesets = new global::Gamma.GtkWidgets.yTreeView(); this.datatreeChangesets.CanFocus = true; this.datatreeChangesets.Name = "datatreeChangesets"; this.GtkScrolledWindowChangesets.Add(this.datatreeChangesets); this.vpaned1.Add(this.GtkScrolledWindowChangesets); global::Gtk.Paned.PanedChild w18 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.GtkScrolledWindowChangesets])); w18.Resize = false; w18.Shrink = false; // Container child vpaned1.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Детали изменений:"); this.vbox3.Add(this.label7); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.label7])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.datatreeChanges = new global::Gamma.GtkWidgets.yTreeView(); this.datatreeChanges.CanFocus = true; this.datatreeChanges.Name = "datatreeChanges"; this.GtkScrolledWindow1.Add(this.datatreeChanges); this.vbox3.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow1])); w21.Position = 1; this.vpaned1.Add(this.vbox3); global::Gtk.Paned.PanedChild w22 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.vbox3])); w22.Resize = false; w22.Shrink = false; this.vbox2.Add(this.vpaned1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.vpaned1])); w23.Position = 1; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.selectperiod.DatesChanged += new global::System.EventHandler(this.OnSelectperiodDatesChanged); this.entrySearchValue.Activated += new global::System.EventHandler(this.OnEntrySearchActivated); this.entrySearchEntity.Activated += new global::System.EventHandler(this.OnEntrySearchEntityActivated); this.datacomboObject.ItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnDatacomboObjectItemSelected); this.comboUsers.Changed += new global::System.EventHandler(this.OnComboUsersChanged); this.comboProperty.ItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnComboPropertyItemSelected); this.comboAction.Changed += new global::System.EventHandler(this.OnComboActionChanged); this.buttonSearch.Clicked += new global::System.EventHandler(this.OnButtonSearchClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.CarUnloadDocumentDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.CarUnloadDocumentDlg"; // Container child Vodovoz.CarUnloadDocumentDlg.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(6)); // Container child vbox4.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox5.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox5.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonPrint = new global::Gtk.Button(); this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w5; this.hbox5.Add(this.buttonPrint); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonPrint])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox4.Add(this.hbox5); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox5])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.tableWriteoff = new global::Gtk.Table(((uint)(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.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 w9 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.GtkScrolledWindow1])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(3)); w9.RightAttach = ((uint)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild this.ytextviewCommnet = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewCommnet.CanFocus = true; this.ytextviewCommnet.Name = "ytextviewCommnet"; this.GtkScrolledWindow4.Add(this.ytextviewCommnet); this.tableWriteoff.Add(this.GtkScrolledWindow4); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.GtkScrolledWindow4])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.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.hbox3.Add(this.tableWriteoff); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.tableWriteoff])); w20.Position = 0; w20.Expand = false; // Container child hbox3.Gtk.Box+BoxChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.GtkLabel9 = new global::Gtk.Label(); this.GtkLabel9.Name = "GtkLabel9"; this.GtkLabel9.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Возвращено ранее:</b>"); this.GtkLabel9.UseMarkup = true; this.vbox6.Add(this.GtkLabel9); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.GtkLabel9])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.GtkScrolledWindow5 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow5.Name = "GtkScrolledWindow5"; this.GtkScrolledWindow5.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow5.Gtk.Container+ContainerChild this.treeOtherReturns = new global::Gamma.GtkWidgets.yTreeView(); this.treeOtherReturns.CanFocus = true; this.treeOtherReturns.Name = "treeOtherReturns"; this.GtkScrolledWindow5.Add(this.treeOtherReturns); this.vbox6.Add(this.GtkScrolledWindow5); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.GtkScrolledWindow5])); w23.Position = 1; this.hbox3.Add(this.vbox6); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vbox6])); w24.Position = 1; this.vbox4.Add(this.hbox3); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox3])); w25.Position = 1; w25.Expand = false; w25.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.defectiveitemsreceptionview1 = new global::Vodovoz.ViewWidgets.Store.DefectiveItemsReceptionView(); this.defectiveitemsreceptionview1.Events = ((global::Gdk.EventMask)(256)); this.defectiveitemsreceptionview1.Name = "defectiveitemsreceptionview1"; this.vbox1.Add(this.defectiveitemsreceptionview1); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.defectiveitemsreceptionview1])); w26.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.nonserialequipmentreceptionview1 = new global::Vodovoz.ViewWidgets.Store.NonSerialEquipmentReceptionView(); this.nonserialequipmentreceptionview1.Events = ((global::Gdk.EventMask)(256)); this.nonserialequipmentreceptionview1.Name = "nonserialequipmentreceptionview1"; this.vbox1.Add(this.nonserialequipmentreceptionview1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.nonserialequipmentreceptionview1])); w27.Position = 1; this.hbox4.Add(this.vbox1); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vbox1])); w28.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.hbxTareToReturn = new global::Gtk.HBox(); this.hbxTareToReturn.Name = "hbxTareToReturn"; this.hbxTareToReturn.Spacing = 6; // Container child hbxTareToReturn.Gtk.Box+BoxChild this.lblTareToReturn = new global::Gtk.Label(); this.lblTareToReturn.Name = "lblTareToReturn"; this.lblTareToReturn.Xalign = 0F; this.lblTareToReturn.LabelProp = global::Mono.Unix.Catalog.GetString("Тара на возврат:"); this.hbxTareToReturn.Add(this.lblTareToReturn); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbxTareToReturn[this.lblTareToReturn])); w29.Position = 0; w29.Expand = false; w29.Fill = false; // Container child hbxTareToReturn.Gtk.Box+BoxChild this.spnTareToReturn = new global::Gamma.GtkWidgets.ySpinButton(0D, 100000000D, 1D); this.spnTareToReturn.CanFocus = true; this.spnTareToReturn.Name = "spnTareToReturn"; this.spnTareToReturn.Adjustment.PageIncrement = 10D; this.spnTareToReturn.ClimbRate = 1D; this.spnTareToReturn.Numeric = true; this.spnTareToReturn.ValueAsDecimal = 0m; this.spnTareToReturn.ValueAsInt = 0; this.hbxTareToReturn.Add(this.spnTareToReturn); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbxTareToReturn[this.spnTareToReturn])); w30.Position = 1; this.vbox7.Add(this.hbxTareToReturn); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbxTareToReturn])); w31.Position = 0; w31.Expand = false; w31.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.lblTareReturnedBefore = new global::Gamma.GtkWidgets.yLabel(); this.lblTareReturnedBefore.Name = "lblTareReturnedBefore"; this.lblTareReturnedBefore.Xalign = 0F; this.lblTareReturnedBefore.Yalign = 0F; this.lblTareReturnedBefore.UseMarkup = true; this.lblTareReturnedBefore.WidthChars = 0; this.lblTareReturnedBefore.MaxWidthChars = 0; this.vbox7.Add(this.lblTareReturnedBefore); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.lblTareReturnedBefore])); w32.Position = 1; w32.Expand = false; w32.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.returnsreceptionview = new global::Vodovoz.ReturnsReceptionView(); this.returnsreceptionview.Events = ((global::Gdk.EventMask)(256)); this.returnsreceptionview.Name = "returnsreceptionview"; this.vbox7.Add(this.returnsreceptionview); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.returnsreceptionview])); w33.Position = 2; this.hbox4.Add(this.vbox7); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vbox7])); w34.Position = 1; this.vbox4.Add(this.hbox4); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox4])); w35.Position = 2; this.Add(this.vbox4); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonPrint.Clicked += new global::System.EventHandler(this.OnButtonPrintClicked); this.yentryrefRouteList.Changed += new global::System.EventHandler(this.OnYentryrefRouteListChanged); }
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.QuarterRequestSheetDlg this.Name = "workwear.QuarterRequestSheetDlg"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child workwear.QuarterRequestSheetDlg.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)(1)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(39)); // Container child table1.Gtk.Table+TableChild this.comboQuarter = new global::Gamma.Widgets.ySpecComboBox (); this.comboQuarter.Name = "comboQuarter"; this.comboQuarter.AddIfNotExist = false; this.comboQuarter.ShowSpecialStateAll = false; this.comboQuarter.ShowSpecialStateNot = false; this.table1.Add (this.comboQuarter); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboQuarter])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.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 w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); w1.Add (this.table1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1 [this.table1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Internal child workwear.QuarterRequestSheetDlg.ActionArea global::Gtk.HButtonBox w5 = this.ActionArea; w5.Name = "dialog1_ActionArea"; w5.Spacing = 10; w5.BorderWidth = ((uint)(5)); w5.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 w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w5 [this.buttonCancel])); w6.Expand = false; w6.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 w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w5 [this.buttonOk])); w7.Position = 1; w7.Expand = false; w7.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 294; this.DefaultHeight = 153; this.Show (); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Fuel.FuelWriteoffDocumentView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Fuel.FuelWriteoffDocumentView"; // Container child Vodovoz.Dialogs.Fuel.FuelWriteoffDocumentView.Gtk.Container+ContainerChild this.vboxDialog = new global::Gtk.VBox(); this.vboxDialog.Name = "vboxDialog"; this.vboxDialog.Spacing = 6; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hboxDialogButtons.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hboxDialogButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonPrint = new global::Gamma.GtkWidgets.yButton(); this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w5; this.hbox5.Add(this.buttonPrint); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonPrint])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.hboxDialogButtons.Add(this.hbox5); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.hbox5])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 3; this.vboxDialog.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxDialogButtons])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(7)), ((uint)(5)), 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.Widgets.GtkUI.EntityViewModelEntry(); this.entryEmployee.Events = ((global::Gdk.EventMask)(256)); this.entryEmployee.Name = "entryEmployee"; this.entryEmployee.CanEditReference = false; this.table1.Add(this.entryEmployee); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.entryEmployee])); 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 table1.Gtk.Table+TableChild this.entryExpenseCategory = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryExpenseCategory.Events = ((global::Gdk.EventMask)(256)); this.entryExpenseCategory.Name = "entryExpenseCategory"; this.entryExpenseCategory.CanEditReference = false; this.table1.Add(this.entryExpenseCategory); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.entryExpenseCategory])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.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.ytextviewReason = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewReason.CanFocus = true; this.ytextviewReason.Name = "ytextviewReason"; this.GtkScrolledWindow.Add(this.ytextviewReason); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(0)); // 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.ytreeviewItems = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewItems.CanFocus = true; this.ytreeviewItems.Name = "ytreeviewItems"; this.GtkScrolledWindow1.Add(this.ytreeviewItems); this.table1.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow1])); w14.TopAttach = ((uint)(5)); w14.BottomAttach = ((uint)(6)); w14.RightAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.ybuttonAddItem = new global::Gamma.GtkWidgets.yButton(); this.ybuttonAddItem.CanFocus = true; this.ybuttonAddItem.Name = "ybuttonAddItem"; this.ybuttonAddItem.UseUnderline = true; this.ybuttonAddItem.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.ybuttonAddItem.Image = w15; this.hbox4.Add(this.ybuttonAddItem); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ybuttonAddItem])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ybuttonDeleteItem = new global::Gamma.GtkWidgets.yButton(); this.ybuttonDeleteItem.CanFocus = true; this.ybuttonDeleteItem.Name = "ybuttonDeleteItem"; this.ybuttonDeleteItem.UseUnderline = true; this.ybuttonDeleteItem.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.ybuttonDeleteItem.Image = w17; this.hbox4.Add(this.ybuttonDeleteItem); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ybuttonDeleteItem])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.table1.Add(this.hbox4); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox4])); w19.TopAttach = ((uint)(6)); w19.BottomAttach = ((uint)(7)); w19.RightAttach = ((uint)(4)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCashier = new global::Gtk.Label(); this.labelCashier.Name = "labelCashier"; this.labelCashier.Xalign = 1F; this.labelCashier.LabelProp = global::Mono.Unix.Catalog.GetString("Кассир:"); this.labelCashier.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.labelCashier); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCashier])); w20.LeftAttach = ((uint)(2)); w20.RightAttach = ((uint)(3)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCashSubdivision = new global::Gtk.Label(); this.labelCashSubdivision.Name = "labelCashSubdivision"; this.labelCashSubdivision.Xalign = 1F; this.labelCashSubdivision.LabelProp = global::Mono.Unix.Catalog.GetString("Касса:"); this.labelCashSubdivision.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.labelCashSubdivision); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCashSubdivision])); w21.TopAttach = ((uint)(3)); w21.BottomAttach = ((uint)(4)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDate = new global::Gtk.Label(); this.labelDate.Name = "labelDate"; this.labelDate.Xalign = 1F; this.labelDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.labelDate.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.labelDate); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDate])); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelEmployee = new global::Gtk.Label(); this.labelEmployee.Name = "labelEmployee"; this.labelEmployee.Xalign = 1F; this.labelEmployee.LabelProp = global::Mono.Unix.Catalog.GetString("Кому:"); this.labelEmployee.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.labelEmployee); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.labelEmployee])); 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.labelExpenseCategory = new global::Gtk.Label(); this.labelExpenseCategory.Name = "labelExpenseCategory"; this.labelExpenseCategory.Xalign = 1F; this.labelExpenseCategory.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.labelExpenseCategory.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.labelExpenseCategory); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.labelExpenseCategory])); w24.TopAttach = ((uint)(1)); w24.BottomAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelReason = new global::Gtk.Label(); this.labelReason.Name = "labelReason"; this.labelReason.Xalign = 1F; this.labelReason.LabelProp = global::Mono.Unix.Catalog.GetString("Основание:"); this.labelReason.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.labelReason); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.labelReason])); w25.TopAttach = ((uint)(4)); w25.BottomAttach = ((uint)(5)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.fuelbalanceview = new global::Vodovoz.Dialogs.Fuel.FuelBalanceView(); this.fuelbalanceview.Events = ((global::Gdk.EventMask)(256)); this.fuelbalanceview.Name = "fuelbalanceview"; this.vbox5.Add(this.fuelbalanceview); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.fuelbalanceview])); w26.Position = 0; w26.Expand = false; w26.Fill = false; this.table1.Add(this.vbox5); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox5])); w27.BottomAttach = ((uint)(6)); w27.LeftAttach = ((uint)(4)); w27.RightAttach = ((uint)(5)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboboxCashSubdivision = new global::Gamma.Widgets.ySpecComboBox(); this.ycomboboxCashSubdivision.Name = "ycomboboxCashSubdivision"; this.ycomboboxCashSubdivision.AddIfNotExist = false; this.ycomboboxCashSubdivision.DefaultFirst = false; this.ycomboboxCashSubdivision.ShowSpecialStateAll = false; this.ycomboboxCashSubdivision.ShowSpecialStateNot = false; this.table1.Add(this.ycomboboxCashSubdivision); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1[this.ycomboboxCashSubdivision])); w28.TopAttach = ((uint)(3)); w28.BottomAttach = ((uint)(4)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(4)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydatepickerDate = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatepickerDate.Events = ((global::Gdk.EventMask)(256)); this.ydatepickerDate.Name = "ydatepickerDate"; this.ydatepickerDate.WithTime = false; this.ydatepickerDate.Date = new global::System.DateTime(0); this.ydatepickerDate.IsEditable = true; this.ydatepickerDate.AutoSeparation = false; this.table1.Add(this.ydatepickerDate); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1[this.ydatepickerDate])); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelCashierValue = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCashierValue.Name = "ylabelCashierValue"; this.ylabelCashierValue.Xalign = 0F; this.ylabelCashierValue.LabelProp = global::Mono.Unix.Catalog.GetString("кассир"); this.table1.Add(this.ylabelCashierValue); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelCashierValue])); w30.LeftAttach = ((uint)(3)); w30.RightAttach = ((uint)(4)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxDialog.Add(this.table1); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.table1])); w31.Position = 1; this.Add(this.vboxDialog); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Logistic.RouteListsOnDayView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Logistic.RouteListsOnDayView"; // Container child Vodovoz.Views.Logistic.RouteListsOnDayView.Gtk.Container+ContainerChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(6)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.buttonFilter = new global::Gamma.GtkWidgets.yButton(); this.buttonFilter.CanFocus = true; this.buttonFilter.Name = "buttonFilter"; this.buttonFilter.UseUnderline = true; this.buttonFilter.Label = global::Mono.Unix.Catalog.GetString("Фильтровать"); this.table1.Add(this.buttonFilter); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonFilter])); w1.TopAttach = ((uint)(2)); w1.BottomAttach = ((uint)(3)); w1.LeftAttach = ((uint)(2)); w1.RightAttach = ((uint)(3)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.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.hbox9.Add(this.yspeccomboboxCashSubdivision); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.yspeccomboboxCashSubdivision])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.checkShowCompleted = new global::Gamma.GtkWidgets.yCheckButton(); this.checkShowCompleted.CanFocus = true; this.checkShowCompleted.Name = "checkShowCompleted"; this.checkShowCompleted.Label = global::Mono.Unix.Catalog.GetString("Показывать уехавшие"); this.checkShowCompleted.DrawIndicator = true; this.checkShowCompleted.UseUnderline = true; this.hbox9.Add(this.checkShowCompleted); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.checkShowCompleted])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.checkShowOnlyDriverOrders = new global::Gamma.GtkWidgets.yCheckButton(); this.checkShowOnlyDriverOrders.CanFocus = true; this.checkShowOnlyDriverOrders.Name = "checkShowOnlyDriverOrders"; this.checkShowOnlyDriverOrders.Label = global::Mono.Unix.Catalog.GetString("Показать только районы водителя"); this.checkShowOnlyDriverOrders.DrawIndicator = true; this.checkShowOnlyDriverOrders.UseUnderline = true; this.hbox9.Add(this.checkShowOnlyDriverOrders); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.checkShowOnlyDriverOrders])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.table1.Add(this.hbox9); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox9])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); 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)(0)); // 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.label7.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.label7); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label7])); 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.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Мин. 19л. бут.:"); this.label8.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.label8); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.table2 = new global::Gtk.Table(((uint)(2)), ((uint)(5)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.enumCmbDeliveryType = new global::Gamma.Widgets.yEnumComboBox(); this.enumCmbDeliveryType.Name = "enumCmbDeliveryType"; this.enumCmbDeliveryType.ShowSpecialStateAll = false; this.enumCmbDeliveryType.ShowSpecialStateNot = false; this.enumCmbDeliveryType.UseShortTitle = false; this.enumCmbDeliveryType.DefaultFirst = false; this.table2.Add(this.enumCmbDeliveryType); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2[this.enumCmbDeliveryType])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.ytreeviewAddressesTypes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewAddressesTypes.CanFocus = true; this.ytreeviewAddressesTypes.Name = "ytreeviewAddressesTypes"; this.ytreeviewAddressesTypes.HeadersVisible = false; this.hbox10.Add(this.ytreeviewAddressesTypes); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.ytreeviewAddressesTypes])); w10.Position = 0; // Container child hbox10.Gtk.Box+BoxChild this.ytreeviewGeographicGroup = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewGeographicGroup.CanFocus = true; this.ytreeviewGeographicGroup.Name = "ytreeviewGeographicGroup"; this.hbox10.Add(this.ytreeviewGeographicGroup); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.ytreeviewGeographicGroup])); w11.Position = 1; this.table2.Add(this.hbox10); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2[this.hbox10])); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(3)); w12.RightAttach = ((uint)(5)); w12.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.label3.Justify = ((global::Gtk.Justification)(1)); this.table2.Add(this.label3); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2[this.label3])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(0)); w13.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.timeDrvShiftRngpicker = new global::QS.Widgets.GtkUI.TimeRangePicker(); this.timeDrvShiftRngpicker.Events = ((global::Gdk.EventMask)(256)); this.timeDrvShiftRngpicker.Name = "timeDrvShiftRngpicker"; this.timeDrvShiftRngpicker.TimeStart = new global::System.TimeSpan(0); this.table2.Add(this.timeDrvShiftRngpicker); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2[this.timeDrvShiftRngpicker])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(0)); w14.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.timeRngPicker = new global::QS.Widgets.GtkUI.TimeRangePicker(); this.timeRngPicker.Events = ((global::Gdk.EventMask)(256)); this.timeRngPicker.Name = "timeRngPicker"; this.timeRngPicker.TimeStart = new global::System.TimeSpan(0); this.table2.Add(this.timeRngPicker); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2[this.timeRngPicker])); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(0)); w15.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.ydateForRoutes = new global::QS.Widgets.GtkUI.DatePicker(); this.ydateForRoutes.Events = ((global::Gdk.EventMask)(256)); this.ydateForRoutes.Name = "ydateForRoutes"; this.ydateForRoutes.WithTime = false; this.ydateForRoutes.HideCalendarButton = false; this.ydateForRoutes.Date = new global::System.DateTime(0); this.ydateForRoutes.IsEditable = true; this.ydateForRoutes.AutoSeparation = true; this.table2.Add(this.ydateForRoutes); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2[this.ydateForRoutes])); w16.XOptions = ((global::Gtk.AttachOptions)(0)); w16.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.ySpnMin19Btls = new global::Gamma.GtkWidgets.ySpinButton(0D, 100D, 1D); this.ySpnMin19Btls.WidthRequest = 100; this.ySpnMin19Btls.CanFocus = true; this.ySpnMin19Btls.Name = "ySpnMin19Btls"; this.ySpnMin19Btls.Adjustment.PageIncrement = 1D; this.ySpnMin19Btls.Adjustment.PageSize = 1D; this.ySpnMin19Btls.ClimbRate = 1D; this.ySpnMin19Btls.Numeric = true; this.ySpnMin19Btls.Value = 1D; this.ySpnMin19Btls.ValueAsDecimal = 0m; this.ySpnMin19Btls.ValueAsInt = 0; this.table2.Add(this.ySpnMin19Btls); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2[this.ySpnMin19Btls])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(0)); this.table1.Add(this.table2); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.table2])); w18.BottomAttach = ((uint)(2)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.textOrdersInfo = new global::Gtk.TextView(); this.textOrdersInfo.CanFocus = true; this.textOrdersInfo.Name = "textOrdersInfo"; this.textOrdersInfo.Editable = false; this.vbox6.Add(this.textOrdersInfo); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.textOrdersInfo])); w19.Position = 0; this.table1.Add(this.vbox6); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox6])); 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.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.ytextWorkDriversInfo = new global::Gamma.GtkWidgets.yTextView(); this.ytextWorkDriversInfo.CanFocus = true; this.ytextWorkDriversInfo.Name = "ytextWorkDriversInfo"; this.ytextWorkDriversInfo.Editable = false; this.vbox7.Add(this.ytextWorkDriversInfo); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.ytextWorkDriversInfo])); w21.Position = 0; this.table1.Add(this.vbox7); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox7])); w22.BottomAttach = ((uint)(3)); w22.LeftAttach = ((uint)(4)); w22.RightAttach = ((uint)(5)); w22.XOptions = ((global::Gtk.AttachOptions)(0)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.ytextFullOrdersInfo = new global::Gamma.GtkWidgets.yTextView(); this.ytextFullOrdersInfo.CanFocus = true; this.ytextFullOrdersInfo.Name = "ytextFullOrdersInfo"; this.ytextFullOrdersInfo.Editable = false; this.vbox8.Add(this.ytextFullOrdersInfo); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.ytextFullOrdersInfo])); w23.Position = 0; this.table1.Add(this.vbox8); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox8])); w24.BottomAttach = ((uint)(3)); w24.LeftAttach = ((uint)(5)); w24.RightAttach = ((uint)(6)); w24.XOptions = ((global::Gtk.AttachOptions)(0)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox5.Add(this.table1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.table1])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hpaned3 = new global::Gtk.HPaned(); this.hpaned3.CanFocus = true; this.hpaned3.Name = "hpaned3"; this.hpaned3.Position = 548; // Container child hpaned3.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.btnSave = new global::Gamma.GtkWidgets.yButton(); this.btnSave.CanFocus = true; this.btnSave.Name = "btnSave"; this.btnSave.UseUnderline = true; this.btnSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w26 = new global::Gtk.Image(); w26.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.btnSave.Image = w26; this.hbox8.Add(this.btnSave); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.btnSave])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.btnCancel = new global::Gamma.GtkWidgets.yButton(); this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseUnderline = true; this.btnCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w28 = new global::Gtk.Image(); w28.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.btnCancel.Image = w28; this.hbox8.Add(this.btnCancel); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.btnCancel])); w29.Position = 1; w29.Expand = false; w29.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.progressOrders = new global::Gtk.ProgressBar(); this.progressOrders.Name = "progressOrders"; this.progressOrders.Ellipsize = ((global::Pango.EllipsizeMode)(1)); this.hbox8.Add(this.progressOrders); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.progressOrders])); w30.Position = 2; // Container child hbox8.Gtk.Box+BoxChild this.buttonWarnings = new global::Gamma.GtkWidgets.yButton(); this.buttonWarnings.TooltipMarkup = "Имеются перудупреждения. Нажмите что бы посмотреть."; this.buttonWarnings.CanFocus = true; this.buttonWarnings.Name = "buttonWarnings"; this.buttonWarnings.UseUnderline = true; this.buttonWarnings.Relief = ((global::Gtk.ReliefStyle)(2)); global::Gtk.Image w31 = new global::Gtk.Image(); w31.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-warning", global::Gtk.IconSize.Menu); this.buttonWarnings.Image = w31; this.hbox8.Add(this.buttonWarnings); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonWarnings])); w32.Position = 3; w32.Expand = false; w32.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.buttonAutoCreate = new global::Gamma.GtkWidgets.yButton(); this.buttonAutoCreate.CanFocus = true; this.buttonAutoCreate.Name = "buttonAutoCreate"; this.buttonAutoCreate.UseUnderline = true; this.buttonAutoCreate.Label = global::Mono.Unix.Catalog.GetString("Создать маршруты"); this.hbox8.Add(this.buttonAutoCreate); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonAutoCreate])); w33.Position = 4; w33.Expand = false; w33.Fill = false; this.vbox3.Add(this.hbox8); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox8])); w34.Position = 0; w34.Expand = false; w34.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; this.notebook1.TabPos = ((global::Gtk.PositionType)(0)); // Container child notebook1.Gtk.Notebook+NotebookChild this.vboxDrivers = new global::Gtk.VBox(); this.vboxDrivers.Name = "vboxDrivers"; this.vboxDrivers.Spacing = 6; // Container child vboxDrivers.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.ytreeviewOnDayDrivers = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewOnDayDrivers.CanFocus = true; this.ytreeviewOnDayDrivers.Name = "ytreeviewOnDayDrivers"; this.GtkScrolledWindow1.Add(this.ytreeviewOnDayDrivers); this.vboxDrivers.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vboxDrivers[this.GtkScrolledWindow1])); w36.Position = 0; // Container child vboxDrivers.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.buttonAddDriver = new global::Gamma.GtkWidgets.yButton(); this.buttonAddDriver.CanFocus = true; this.buttonAddDriver.Name = "buttonAddDriver"; this.buttonAddDriver.UseUnderline = true; this.buttonAddDriver.Label = global::Mono.Unix.Catalog.GetString("Добавить водителя"); global::Gtk.Image w37 = new global::Gtk.Image(); w37.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddDriver.Image = w37; this.hbox7.Add(this.buttonAddDriver); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonAddDriver])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonRemoveDriver = new global::Gamma.GtkWidgets.yButton(); this.buttonRemoveDriver.CanFocus = true; this.buttonRemoveDriver.Name = "buttonRemoveDriver"; this.buttonRemoveDriver.UseUnderline = true; this.buttonRemoveDriver.Label = global::Mono.Unix.Catalog.GetString("Снять водителя"); global::Gtk.Image w39 = new global::Gtk.Image(); w39.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveDriver.Image = w39; this.hbox7.Add(this.buttonRemoveDriver); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonRemoveDriver])); w40.Position = 1; w40.Expand = false; w40.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonDriverSelectAuto = new global::Gamma.GtkWidgets.yButton(); this.buttonDriverSelectAuto.CanFocus = true; this.buttonDriverSelectAuto.Name = "buttonDriverSelectAuto"; this.buttonDriverSelectAuto.UseUnderline = true; this.buttonDriverSelectAuto.Label = global::Mono.Unix.Catalog.GetString("Выбрать авто"); global::Gtk.Image w41 = new global::Gtk.Image(); w41.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.car.png"); this.buttonDriverSelectAuto.Image = w41; this.hbox7.Add(this.buttonDriverSelectAuto); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonDriverSelectAuto])); w42.Position = 2; w42.Expand = false; w42.Fill = false; this.vboxDrivers.Add(this.hbox7); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vboxDrivers[this.hbox7])); w43.Position = 1; w43.Expand = false; w43.Fill = false; this.notebook1.Add(this.vboxDrivers); // Notebook tab this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Водители"); this.label4.Angle = 270D; this.notebook1.SetTabLabel(this.vboxDrivers, this.label4); this.label4.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.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.ytreeviewOnDayForwarders = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewOnDayForwarders.CanFocus = true; this.ytreeviewOnDayForwarders.Name = "ytreeviewOnDayForwarders"; this.GtkScrolledWindow2.Add(this.ytreeviewOnDayForwarders); this.vbox4.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.GtkScrolledWindow2])); w46.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.buttonAddForwarder = new global::Gamma.GtkWidgets.yButton(); this.buttonAddForwarder.CanFocus = true; this.buttonAddForwarder.Name = "buttonAddForwarder"; this.buttonAddForwarder.UseUnderline = true; this.buttonAddForwarder.Label = global::Mono.Unix.Catalog.GetString("Добавить экспедитора"); global::Gtk.Image w47 = new global::Gtk.Image(); w47.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddForwarder.Image = w47; this.hbox6.Add(this.buttonAddForwarder); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonAddForwarder])); w48.Position = 0; w48.Expand = false; w48.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonRemoveForwarder = new global::Gamma.GtkWidgets.yButton(); this.buttonRemoveForwarder.CanFocus = true; this.buttonRemoveForwarder.Name = "buttonRemoveForwarder"; this.buttonRemoveForwarder.UseUnderline = true; this.buttonRemoveForwarder.Label = global::Mono.Unix.Catalog.GetString("Снять экспедитора"); global::Gtk.Image w49 = new global::Gtk.Image(); w49.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveForwarder.Image = w49; this.hbox6.Add(this.buttonRemoveForwarder); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonRemoveForwarder])); w50.Position = 1; w50.Expand = false; w50.Fill = false; this.vbox4.Add(this.hbox6); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox6])); w51.Position = 1; w51.Expand = false; w51.Fill = false; this.notebook1.Add(this.vbox4); global::Gtk.Notebook.NotebookChild w52 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox4])); w52.Position = 1; // Notebook tab this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Экспедиторы"); this.label5.Angle = 270D; this.notebook1.SetTabLabel(this.vbox4, this.label5); this.label5.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vboxRouteLists = new global::Gtk.VBox(); this.vboxRouteLists.Name = "vboxRouteLists"; this.vboxRouteLists.Spacing = 6; // Container child vboxRouteLists.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.ytreeRoutes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeRoutes.CanFocus = true; this.ytreeRoutes.Name = "ytreeRoutes"; this.GtkScrolledWindow.Add(this.ytreeRoutes); this.vboxRouteLists.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vboxRouteLists[this.GtkScrolledWindow])); w54.Position = 0; // Container child vboxRouteLists.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonOpen = new global::Gamma.GtkWidgets.yButton(); this.buttonOpen.CanFocus = true; this.buttonOpen.Name = "buttonOpen"; this.buttonOpen.UseUnderline = true; this.buttonOpen.Label = global::Mono.Unix.Catalog.GetString("Открыть"); this.hbox5.Add(this.buttonOpen); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonOpen])); w55.Position = 0; w55.Expand = false; w55.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonRebuildRoute = new global::Gamma.GtkWidgets.yButton(); this.buttonRebuildRoute.CanFocus = true; this.buttonRebuildRoute.Name = "buttonRebuildRoute"; this.buttonRebuildRoute.UseUnderline = true; this.buttonRebuildRoute.Label = global::Mono.Unix.Catalog.GetString("Перестроить маршрут"); global::Gtk.Image w56 = new global::Gtk.Image(); w56.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.sort-ascending.png"); this.buttonRebuildRoute.Image = w56; this.hbox5.Add(this.buttonRebuildRoute); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonRebuildRoute])); w57.Position = 1; w57.Expand = false; w57.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonRemoveAddress = new global::Gamma.GtkWidgets.yButton(); this.buttonRemoveAddress.CanFocus = true; this.buttonRemoveAddress.Name = "buttonRemoveAddress"; this.buttonRemoveAddress.UseUnderline = true; this.buttonRemoveAddress.Label = global::Mono.Unix.Catalog.GetString("Убрать адрес"); global::Gtk.Image w58 = new global::Gtk.Image(); w58.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveAddress.Image = w58; this.hbox5.Add(this.buttonRemoveAddress); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonRemoveAddress])); w59.Position = 2; w59.Expand = false; w59.Fill = false; this.vboxRouteLists.Add(this.hbox5); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.vboxRouteLists[this.hbox5])); w60.Position = 1; w60.Expand = false; w60.Fill = false; this.notebook1.Add(this.vboxRouteLists); global::Gtk.Notebook.NotebookChild w61 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vboxRouteLists])); w61.Position = 2; // Notebook tab this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Маршруты"); this.label6.Angle = 270D; this.notebook1.SetTabLabel(this.vboxRouteLists, this.label6); this.label6.ShowAll(); this.vbox3.Add(this.notebook1); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.notebook1])); w62.Position = 1; this.hpaned3.Add(this.vbox3); global::Gtk.Paned.PanedChild w63 = ((global::Gtk.Paned.PanedChild)(this.hpaned3[this.vbox3])); w63.Resize = false; // Container child hpaned3.Gtk.Paned+PanedChild 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.btnRefresh = new global::Gamma.GtkWidgets.yButton(); this.btnRefresh.TooltipMarkup = "Обновить"; this.btnRefresh.CanFocus = true; this.btnRefresh.Name = "btnRefresh"; this.btnRefresh.UseUnderline = true; global::Gtk.Image w64 = new global::Gtk.Image(); w64.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu); this.btnRefresh.Image = w64; this.hbox4.Add(this.btnRefresh); global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.btnRefresh])); w65.Position = 0; w65.Expand = false; w65.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.labelSelected = new global::Gtk.Label(); this.labelSelected.Name = "labelSelected"; this.labelSelected.LabelProp = global::Mono.Unix.Catalog.GetString("Адресов\nне выбрано"); this.labelSelected.Justify = ((global::Gtk.Justification)(2)); this.hbox4.Add(this.labelSelected); global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.labelSelected])); w66.Position = 1; w66.Expand = false; w66.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.menuAddToRL = new global::QSWidgetLib.MenuButton(); this.menuAddToRL.Sensitive = false; this.menuAddToRL.CanFocus = true; this.menuAddToRL.Name = "menuAddToRL"; this.menuAddToRL.UseUnderline = true; this.menuAddToRL.UseMarkup = false; this.menuAddToRL.LabelXAlign = 0F; this.menuAddToRL.Label = global::Mono.Unix.Catalog.GetString("В маршрутный лист"); global::Gtk.Image w67 = new global::Gtk.Image(); w67.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.menuAddToRL.Image = w67; this.hbox4.Add(this.menuAddToRL); global::Gtk.Box.BoxChild w68 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.menuAddToRL])); w68.Position = 2; w68.Expand = false; w68.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.checkShowDistricts = new global::Gamma.GtkWidgets.yCheckButton(); this.checkShowDistricts.CanFocus = true; this.checkShowDistricts.Name = "checkShowDistricts"; this.checkShowDistricts.Label = global::Mono.Unix.Catalog.GetString("Районы"); this.checkShowDistricts.DrawIndicator = true; this.checkShowDistricts.UseUnderline = true; this.hbox4.Add(this.checkShowDistricts); global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.checkShowDistricts])); w69.Position = 3; w69.Expand = false; // Container child hbox4.Gtk.Box+BoxChild this.yspinMaxTime = new global::Gamma.GtkWidgets.ySpinButton(0D, 1000D, 1D); this.yspinMaxTime.TooltipMarkup = "Максимальное время оптимизаций, в секундах."; this.yspinMaxTime.CanFocus = true; this.yspinMaxTime.Name = "yspinMaxTime"; this.yspinMaxTime.Adjustment.PageIncrement = 10D; this.yspinMaxTime.ClimbRate = 1D; this.yspinMaxTime.Numeric = true; this.yspinMaxTime.UpdatePolicy = ((global::Gtk.SpinButtonUpdatePolicy)(1)); this.yspinMaxTime.Value = 30D; this.yspinMaxTime.ValueAsDecimal = 0m; this.yspinMaxTime.ValueAsInt = 0; this.hbox4.Add(this.yspinMaxTime); global::Gtk.Box.BoxChild w70 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.yspinMaxTime])); w70.Position = 4; w70.Expand = false; w70.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hbox4.Add(this.vseparator2); global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vseparator2])); w71.Position = 5; w71.Expand = false; w71.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.yenumcomboMapType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboMapType.Name = "yenumcomboMapType"; this.yenumcomboMapType.ShowSpecialStateAll = false; this.yenumcomboMapType.ShowSpecialStateNot = false; this.yenumcomboMapType.UseShortTitle = false; this.yenumcomboMapType.DefaultFirst = true; this.hbox4.Add(this.yenumcomboMapType); global::Gtk.Box.BoxChild w72 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.yenumcomboMapType])); w72.Position = 6; w72.Expand = false; w72.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonMapHelp = new global::Gamma.GtkWidgets.yButton(); this.buttonMapHelp.TooltipMarkup = "Справка по работе с картой."; this.buttonMapHelp.CanFocus = true; this.buttonMapHelp.Name = "buttonMapHelp"; this.buttonMapHelp.UseUnderline = true; this.buttonMapHelp.Relief = ((global::Gtk.ReliefStyle)(1)); global::Gtk.Image w73 = new global::Gtk.Image(); w73.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-help", global::Gtk.IconSize.Menu); this.buttonMapHelp.Image = w73; this.hbox4.Add(this.buttonMapHelp); global::Gtk.Box.BoxChild w74 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonMapHelp])); w74.Position = 7; w74.Expand = false; this.vbox2.Add(this.hbox4); global::Gtk.Box.BoxChild w75 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox4])); w75.Position = 0; w75.Expand = false; w75.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.gmapWidget = new global::GMap.NET.GtkSharp.GMapControl(); this.gmapWidget.Name = "gmapWidget"; this.gmapWidget.MaxZoom = 24; this.gmapWidget.MinZoom = 0; this.gmapWidget.MouseWheelZoomEnabled = true; this.gmapWidget.ShowTileGridLines = false; this.gmapWidget.GrayScaleMode = false; this.gmapWidget.NegativeMode = false; this.gmapWidget.HasFrame = false; this.gmapWidget.Bearing = 0F; this.gmapWidget.Zoom = 9D; this.gmapWidget.RoutesEnabled = true; this.gmapWidget.PolygonsEnabled = true; this.gmapWidget.MarkersEnabled = true; this.gmapWidget.CanDragMap = true; this.vbox2.Add(this.gmapWidget); global::Gtk.Box.BoxChild w76 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.gmapWidget])); w76.Position = 1; this.hpaned3.Add(this.vbox2); this.vbox5.Add(this.hpaned3); global::Gtk.Box.BoxChild w78 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hpaned3])); w78.Position = 1; this.Add(this.vbox5); if ((this.Child != null)) { this.Child.ShowAll(); } this.buttonWarnings.Hide(); this.Hide(); this.ySpnMin19Btls.WidgetEvent += new global::Gtk.WidgetEventHandler(this.OnFilterWidgetEvent); this.buttonAutoCreate.Clicked += new global::System.EventHandler(this.OnButtonAutoCreateClicked); this.buttonDriverSelectAuto.Clicked += new global::System.EventHandler(this.OnButtonDriverSelectAutoClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.Orders.FirstClientsReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Orders.FirstClientsReport"; // Container child Vodovoz.ReportsParameters.Orders.FirstClientsReport.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(7)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.buttonRun = new global::Gtk.Button(); this.buttonRun.Sensitive = false; this.buttonRun.CanFocus = true; this.buttonRun.Name = "buttonRun"; this.buttonRun.UseUnderline = true; this.buttonRun.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.table1.Add(this.buttonRun); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonRun])); w1.TopAttach = ((uint)(6)); w1.BottomAttach = ((uint)(7)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(0)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.chkBtnWithPromotionalSets = new global::Gamma.GtkWidgets.yCheckButton(); this.chkBtnWithPromotionalSets.CanFocus = true; this.chkBtnWithPromotionalSets.Name = "chkBtnWithPromotionalSets"; this.chkBtnWithPromotionalSets.Label = global::Mono.Unix.Catalog.GetString("С промонаборами"); this.chkBtnWithPromotionalSets.DrawIndicator = true; this.chkBtnWithPromotionalSets.UseUnderline = true; this.table1.Add(this.chkBtnWithPromotionalSets); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.chkBtnWithPromotionalSets])); w2.TopAttach = ((uint)(4)); w2.BottomAttach = ((uint)(5)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.datePeriodPicker = new global::QS.Widgets.GtkUI.DateRangePicker(); this.datePeriodPicker.Events = ((global::Gdk.EventMask)(256)); this.datePeriodPicker.Name = "datePeriodPicker"; this.datePeriodPicker.StartDate = new global::System.DateTime(0); this.datePeriodPicker.EndDate = new global::System.DateTime(0); this.table1.Add(this.datePeriodPicker); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.datePeriodPicker])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryDistrict = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryDistrict.Events = ((global::Gdk.EventMask)(256)); this.entryDistrict.Name = "entryDistrict"; this.entryDistrict.CanEditReference = true; this.table1.Add(this.entryDistrict); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.entryDistrict])); w4.TopAttach = ((uint)(5)); w4.BottomAttach = ((uint)(6)); 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.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 w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.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 w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); 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.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Район:"); this.label3.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.label3); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w7.TopAttach = ((uint)(5)); w7.BottomAttach = ((uint)(6)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.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 w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); 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.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 w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); 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.yChooseOrderStatus = new global::Gamma.Widgets.yEnumComboBox(); this.yChooseOrderStatus.Name = "yChooseOrderStatus"; this.yChooseOrderStatus.ShowSpecialStateAll = true; this.yChooseOrderStatus.ShowSpecialStateNot = false; this.yChooseOrderStatus.UseShortTitle = false; this.yChooseOrderStatus.DefaultFirst = false; this.table1.Add(this.yChooseOrderStatus); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.yChooseOrderStatus])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yChooseThePaymentTypeForTheOrder = new global::Gamma.Widgets.yEnumComboBox(); this.yChooseThePaymentTypeForTheOrder.Name = "yChooseThePaymentTypeForTheOrder"; this.yChooseThePaymentTypeForTheOrder.ShowSpecialStateAll = true; this.yChooseThePaymentTypeForTheOrder.ShowSpecialStateNot = false; this.yChooseThePaymentTypeForTheOrder.UseShortTitle = false; this.yChooseThePaymentTypeForTheOrder.DefaultFirst = false; this.table1.Add(this.yChooseThePaymentTypeForTheOrder); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.yChooseThePaymentTypeForTheOrder])); w11.TopAttach = ((uint)(3)); w11.BottomAttach = ((uint)(4)); 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.yCpecCmbDiscountReason = new global::Gamma.Widgets.ySpecComboBox(); this.yCpecCmbDiscountReason.Name = "yCpecCmbDiscountReason"; this.yCpecCmbDiscountReason.AddIfNotExist = false; this.yCpecCmbDiscountReason.DefaultFirst = false; this.yCpecCmbDiscountReason.ShowSpecialStateAll = true; this.yCpecCmbDiscountReason.ShowSpecialStateNot = false; this.table1.Add(this.yCpecCmbDiscountReason); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.yCpecCmbDiscountReason])); 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)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.datePeriodPicker.PeriodChanged += new global::System.EventHandler(this.OnDatePeriodPickerPeriodChanged); this.buttonRun.Clicked += new global::System.EventHandler(this.OnButtonRunClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.CashBookReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.CashBookReport"; // Container child Vodovoz.ReportsParameters.CashBookReport.Gtk.Container+ContainerChild 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.label2 = new global::Gtk.Label(); this.label2.WidthRequest = 50; this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Период:"); this.hbox3.Add(this.label2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.dateperiodpicker = new global::QS.Widgets.GtkUI.DateRangePicker(); this.dateperiodpicker.Events = ((global::Gdk.EventMask)(256)); this.dateperiodpicker.Name = "dateperiodpicker"; this.dateperiodpicker.StartDate = new global::System.DateTime(0); this.dateperiodpicker.EndDate = new global::System.DateTime(0); this.hbox3.Add(this.dateperiodpicker); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.dateperiodpicker])); w2.Position = 1; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); w3.Position = 0; w3.Expand = false; w3.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.hboxCash = new global::Gtk.HBox(); this.hboxCash.Name = "hboxCash"; this.hboxCash.Spacing = 6; // 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 w4 = ((global::Gtk.Box.BoxChild)(this.hboxCash[this.label7])); w4.Position = 0; w4.Expand = false; w4.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 w5 = ((global::Gtk.Box.BoxChild)(this.hboxCash[this.yspeccomboboxCashSubdivision])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.hbox2.Add(this.hboxCash); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.hboxCash])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.hboxOrganisations = new global::Gtk.HBox(); this.hboxOrganisations.Name = "hboxOrganisations"; this.hboxOrganisations.Spacing = 6; // Container child hboxOrganisations.Gtk.Box+BoxChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Организация:"); this.hboxOrganisations.Add(this.ylabel2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxOrganisations[this.ylabel2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hboxOrganisations.Gtk.Box+BoxChild this.specialListCmbOrganisations = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.specialListCmbOrganisations.Name = "specialListCmbOrganisations"; this.specialListCmbOrganisations.AddIfNotExist = false; this.specialListCmbOrganisations.DefaultFirst = false; this.specialListCmbOrganisations.ShowSpecialStateAll = true; this.specialListCmbOrganisations.ShowSpecialStateNot = false; this.hboxOrganisations.Add(this.specialListCmbOrganisations); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hboxOrganisations[this.specialListCmbOrganisations])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.hbox2.Add(this.hboxOrganisations); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.hboxOrganisations])); w9.Position = 1; w9.Expand = false; w9.Fill = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.ycheckOrganisations = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckOrganisations.CanFocus = true; this.ycheckOrganisations.Name = "ycheckOrganisations"; this.ycheckOrganisations.Label = global::Mono.Unix.Catalog.GetString("по юр лицам"); this.ycheckOrganisations.DrawIndicator = true; this.ycheckOrganisations.UseUnderline = true; this.hbox4.Add(this.ycheckOrganisations); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ycheckOrganisations])); w11.Position = 0; w11.Expand = false; w11.Fill = false; this.vbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4])); w12.Position = 2; w12.Expand = false; w12.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.buttonCreateRepot = new global::Gtk.Button(); this.buttonCreateRepot.CanFocus = true; this.buttonCreateRepot.Name = "buttonCreateRepot"; this.buttonCreateRepot.UseUnderline = true; this.buttonCreateRepot.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.vbox1.Add(this.buttonCreateRepot); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.buttonCreateRepot])); w13.PackType = ((global::Gtk.PackType)(1)); w13.Position = 3; w13.Expand = false; w13.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 Fittings.MultiEditXLSRows global::Stetic.BinContainer.Attach(this); this.Name = "Fittings.MultiEditXLSRows"; // Container child Fittings.MultiEditXLSRows.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.buttonApply = new global::Gtk.Button(); this.buttonApply.CanFocus = true; this.buttonApply.Name = "buttonApply"; this.buttonApply.UseStock = true; this.buttonApply.UseUnderline = true; this.buttonApply.Label = "gtk-apply"; this.hbox6.Add(this.buttonApply); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.buttonApply])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.hbox6.Add(this.buttonCancel); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.buttonCancel])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vbox1.Add(this.hbox6); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox6])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(8)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.bodyMaterialReference = new global::Gamma.Widgets.yEntryReference(); this.bodyMaterialReference.Events = ((global::Gdk.EventMask)(256)); this.bodyMaterialReference.Name = "bodyMaterialReference"; this.table1.Add(this.bodyMaterialReference); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.bodyMaterialReference])); w4.TopAttach = ((uint)(6)); w4.BottomAttach = ((uint)(7)); 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.checkComments = new global::Gtk.CheckButton(); this.checkComments.CanFocus = true; this.checkComments.Name = "checkComments"; this.checkComments.Label = global::Mono.Unix.Catalog.GetString("Комментарий"); this.checkComments.Active = true; this.checkComments.DrawIndicator = true; this.checkComments.UseUnderline = true; this.table1.Add(this.checkComments); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkComments])); w5.TopAttach = ((uint)(7)); w5.BottomAttach = ((uint)(8)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkConnections = new global::Gtk.CheckButton(); this.checkConnections.CanFocus = true; this.checkConnections.Name = "checkConnections"; this.checkConnections.Label = global::Mono.Unix.Catalog.GetString("Соединения"); this.checkConnections.Active = true; this.checkConnections.DrawIndicator = true; this.checkConnections.UseUnderline = true; this.table1.Add(this.checkConnections); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkConnections])); w6.TopAttach = ((uint)(5)); w6.BottomAttach = ((uint)(6)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkDiameter = new global::Gtk.CheckButton(); this.checkDiameter.CanFocus = true; this.checkDiameter.Name = "checkDiameter"; this.checkDiameter.Label = global::Mono.Unix.Catalog.GetString("Диаметр"); this.checkDiameter.Active = true; this.checkDiameter.DrawIndicator = true; this.checkDiameter.UseUnderline = true; this.table1.Add(this.checkDiameter); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkDiameter])); 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.checkMaterial = new global::Gtk.CheckButton(); this.checkMaterial.CanFocus = true; this.checkMaterial.Name = "checkMaterial"; this.checkMaterial.Label = global::Mono.Unix.Catalog.GetString("Материал"); this.checkMaterial.Active = true; this.checkMaterial.DrawIndicator = true; this.checkMaterial.UseUnderline = true; this.table1.Add(this.checkMaterial); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkMaterial])); w8.TopAttach = ((uint)(6)); w8.BottomAttach = ((uint)(7)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkModel = new global::Gtk.CheckButton(); this.checkModel.CanFocus = true; this.checkModel.Name = "checkModel"; this.checkModel.Label = global::Mono.Unix.Catalog.GetString("Модель"); this.checkModel.Active = true; this.checkModel.DrawIndicator = true; this.checkModel.UseUnderline = true; this.table1.Add(this.checkModel); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkModel])); 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.checkPressure = new global::Gtk.CheckButton(); this.checkPressure.CanFocus = true; this.checkPressure.Name = "checkPressure"; this.checkPressure.Label = global::Mono.Unix.Catalog.GetString("Давление"); this.checkPressure.Active = true; this.checkPressure.DrawIndicator = true; this.checkPressure.UseUnderline = true; this.table1.Add(this.checkPressure); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkPressure])); w10.TopAttach = ((uint)(4)); w10.BottomAttach = ((uint)(5)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkType = new global::Gtk.CheckButton(); this.checkType.CanFocus = true; this.checkType.Name = "checkType"; this.checkType.Label = global::Mono.Unix.Catalog.GetString("Тип"); this.checkType.Active = true; this.checkType.DrawIndicator = true; this.checkType.UseUnderline = true; this.table1.Add(this.checkType); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkType])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.codeEntry = new global::Gamma.GtkWidgets.yEntry(); this.codeEntry.CanFocus = true; this.codeEntry.Name = "codeEntry"; this.codeEntry.IsEditable = true; this.codeEntry.InvisibleChar = '●'; this.table1.Add(this.codeEntry); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.codeEntry])); 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 table1.Gtk.Table+TableChild this.connectionTypeRreference = new global::Gamma.Widgets.yEntryReference(); this.connectionTypeRreference.Events = ((global::Gdk.EventMask)(256)); this.connectionTypeRreference.Name = "connectionTypeRreference"; this.table1.Add(this.connectionTypeRreference); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.connectionTypeRreference])); w13.TopAttach = ((uint)(5)); w13.BottomAttach = ((uint)(6)); 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.fittingTypeReference = new global::Gamma.Widgets.yEntryReference(); this.fittingTypeReference.Events = ((global::Gdk.EventMask)(256)); this.fittingTypeReference.Name = "fittingTypeReference"; this.table1.Add(this.fittingTypeReference); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.fittingTypeReference])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); 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.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.commentTextview = new global::Gamma.GtkWidgets.yTextView(); this.commentTextview.WidthRequest = 50; this.commentTextview.CanFocus = true; this.commentTextview.Name = "commentTextview"; this.GtkScrolledWindow.Add(this.commentTextview); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow])); w16.TopAttach = ((uint)(7)); w16.BottomAttach = ((uint)(8)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); // Container child table1.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.diameterUnitscombobox = new global::Gamma.Widgets.yEnumComboBox(); this.diameterUnitscombobox.Name = "diameterUnitscombobox"; this.diameterUnitscombobox.ShowSpecialStateAll = false; this.diameterUnitscombobox.ShowSpecialStateNot = false; this.diameterUnitscombobox.UseShortTitle = false; this.diameterUnitscombobox.DefaultFirst = true; this.hbox4.Add(this.diameterUnitscombobox); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.diameterUnitscombobox])); w17.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.diameterCombobox = new global::Gamma.Widgets.ySpecComboBox(); this.diameterCombobox.Name = "diameterCombobox"; this.diameterCombobox.AddIfNotExist = false; this.diameterCombobox.DefaultFirst = false; this.diameterCombobox.ShowSpecialStateAll = false; this.diameterCombobox.ShowSpecialStateNot = true; this.hbox4.Add(this.diameterCombobox); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.diameterCombobox])); w18.Position = 1; this.table1.Add(this.hbox4); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox4])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.pressureUnitscombobox = new global::Gamma.Widgets.yEnumComboBox(); this.pressureUnitscombobox.Name = "pressureUnitscombobox"; this.pressureUnitscombobox.ShowSpecialStateAll = false; this.pressureUnitscombobox.ShowSpecialStateNot = false; this.pressureUnitscombobox.UseShortTitle = false; this.pressureUnitscombobox.DefaultFirst = true; this.hbox5.Add(this.pressureUnitscombobox); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.pressureUnitscombobox])); w20.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.pressureCombobox = new global::Gamma.Widgets.ySpecComboBox(); this.pressureCombobox.Name = "pressureCombobox"; this.pressureCombobox.AddIfNotExist = false; this.pressureCombobox.DefaultFirst = false; this.pressureCombobox.ShowSpecialStateAll = false; this.pressureCombobox.ShowSpecialStateNot = true; this.hbox5.Add(this.pressureCombobox); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.pressureCombobox])); w21.Position = 1; this.table1.Add(this.hbox5); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox5])); w22.TopAttach = ((uint)(4)); w22.BottomAttach = ((uint)(5)); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.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 w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelInfo = new global::Gtk.Label(); this.labelInfo.Name = "labelInfo"; this.labelInfo.LabelProp = global::Mono.Unix.Catalog.GetString("label2"); this.table1.Add(this.labelInfo); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelInfo])); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1])); w25.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonApply.Clicked += new global::System.EventHandler(this.OnButtonApplyClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.pressureUnitscombobox.Changed += new global::System.EventHandler(this.OnPressureUnitscomboboxChanged); this.diameterUnitscombobox.Changed += new global::System.EventHandler(this.OnDiameterUnitscomboboxChanged); this.checkType.Clicked += new global::System.EventHandler(this.OnCheckTypeClicked); this.checkPressure.Clicked += new global::System.EventHandler(this.OnCheckPressureClicked); this.checkModel.Clicked += new global::System.EventHandler(this.OnCheckModelClicked); this.checkMaterial.Clicked += new global::System.EventHandler(this.OnCheckMaterialClicked); this.checkDiameter.Clicked += new global::System.EventHandler(this.OnCheckDiameterClicked); this.checkConnections.Clicked += new global::System.EventHandler(this.OnCheckConnectionsClicked); this.checkComments.Clicked += new global::System.EventHandler(this.OnCheckCommentsClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.CashIncomeDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.CashIncomeDlg"; // Container child Vodovoz.CashIncomeDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox2.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox2.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonPrint = new global::Gtk.Button(); this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w5; this.hbox2.Add(this.buttonPrint); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonPrint])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(7)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checkNoClose = new global::Gamma.GtkWidgets.yCheckButton(); this.checkNoClose.CanFocus = true; this.checkNoClose.Name = "checkNoClose"; this.checkNoClose.Label = global::Mono.Unix.Catalog.GetString("Частичный возврат"); this.checkNoClose.DrawIndicator = true; this.checkNoClose.UseUnderline = true; this.table1.Add(this.checkNoClose); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.checkNoClose])); w8.TopAttach = ((uint)(5)); w8.BottomAttach = ((uint)(6)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboCategory = new global::Gamma.Widgets.ySpecComboBox(); this.comboCategory.Name = "comboCategory"; this.comboCategory.AddIfNotExist = false; this.comboCategory.DefaultFirst = false; this.comboCategory.ShowSpecialStateAll = false; this.comboCategory.ShowSpecialStateNot = true; this.table1.Add(this.comboCategory); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.comboCategory])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboExpense = new global::Gamma.Widgets.ySpecComboBox(); this.comboExpense.Name = "comboExpense"; this.comboExpense.AddIfNotExist = false; this.comboExpense.DefaultFirst = false; this.comboExpense.ShowSpecialStateAll = false; this.comboExpense.ShowSpecialStateNot = true; this.table1.Add(this.comboExpense); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.comboExpense])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumcomboOperation = new global::Gamma.Widgets.yEnumComboBox(); this.enumcomboOperation.Name = "enumcomboOperation"; this.enumcomboOperation.ShowSpecialStateAll = false; this.enumcomboOperation.ShowSpecialStateNot = false; this.enumcomboOperation.UseShortTitle = false; this.enumcomboOperation.DefaultFirst = false; this.table1.Add(this.enumcomboOperation); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.enumcomboOperation])); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.yspinMoney = new global::Gamma.GtkWidgets.ySpinButton(0, 1000000, 100); this.yspinMoney.CanDefault = true; this.yspinMoney.CanFocus = true; this.yspinMoney.Name = "yspinMoney"; this.yspinMoney.Adjustment.PageIncrement = 1000; this.yspinMoney.ClimbRate = 1; this.yspinMoney.Digits = ((uint)(2)); this.yspinMoney.Numeric = true; this.yspinMoney.ValueAsDecimal = 0m; this.yspinMoney.ValueAsInt = 0; this.hbox6.Add(this.yspinMoney); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspinMoney])); w12.Position = 0; // Container child hbox6.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.hbox6.Add(this.currencylabel1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.currencylabel1])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.table1.Add(this.hbox6); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox6])); w14.TopAttach = ((uint)(6)); w14.BottomAttach = ((uint)(7)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Кассир:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w16.LeftAttach = ((uint)(2)); w16.RightAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Тип операции:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Сумма:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w18.TopAttach = ((uint)(6)); w18.BottomAttach = ((uint)(7)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelClientTitle = new global::Gtk.Label(); this.labelClientTitle.Name = "labelClientTitle"; this.labelClientTitle.Xalign = 1F; this.labelClientTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Клиент:"); this.table1.Add(this.labelClientTitle); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.labelClientTitle])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelEmploeey = new global::Gtk.Label(); this.labelEmploeey.Name = "labelEmploeey"; this.labelEmploeey.Xalign = 1F; this.labelEmploeey.LabelProp = global::Mono.Unix.Catalog.GetString("Сотрудник:"); this.table1.Add(this.labelEmploeey); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.labelEmploeey])); w20.TopAttach = ((uint)(4)); w20.BottomAttach = ((uint)(5)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelExpenseTitle = new global::Gtk.Label(); this.labelExpenseTitle.Name = "labelExpenseTitle"; this.labelExpenseTitle.Xalign = 1F; this.labelExpenseTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.table1.Add(this.labelExpenseTitle); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.labelExpenseTitle])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelIncomeTitle = new global::Gtk.Label(); this.labelIncomeTitle.Name = "labelIncomeTitle"; this.labelIncomeTitle.Xalign = 1F; this.labelIncomeTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Статья дохода:"); this.table1.Add(this.labelIncomeTitle); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.labelIncomeTitle])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydateDocument = new global::Gamma.Widgets.yDatePicker(); this.ydateDocument.Events = ((global::Gdk.EventMask)(256)); this.ydateDocument.Name = "ydateDocument"; this.ydateDocument.WithTime = false; this.ydateDocument.Date = new global::System.DateTime(0); this.ydateDocument.IsEditable = true; this.ydateDocument.AutoSeparation = true; this.table1.Add(this.ydateDocument); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateDocument])); w23.TopAttach = ((uint)(1)); w23.BottomAttach = ((uint)(2)); w23.LeftAttach = ((uint)(3)); w23.RightAttach = ((uint)(4)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryCasher = new global::Gamma.Widgets.yEntryReference(); this.yentryCasher.Sensitive = false; this.yentryCasher.Events = ((global::Gdk.EventMask)(256)); this.yentryCasher.Name = "yentryCasher"; this.table1.Add(this.yentryCasher); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryCasher])); w24.LeftAttach = ((uint)(3)); w24.RightAttach = ((uint)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryClient = new global::Gamma.Widgets.yEntryReference(); this.yentryClient.Events = ((global::Gdk.EventMask)(256)); this.yentryClient.Name = "yentryClient"; this.table1.Add(this.yentryClient); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryClient])); w25.TopAttach = ((uint)(3)); w25.BottomAttach = ((uint)(4)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryEmploeey = new global::Gamma.Widgets.yEntryReference(); this.yentryEmploeey.Events = ((global::Gdk.EventMask)(256)); this.yentryEmploeey.Name = "yentryEmploeey"; this.table1.Add(this.yentryEmploeey); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryEmploeey])); w26.TopAttach = ((uint)(4)); w26.BottomAttach = ((uint)(5)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w27.Position = 1; w27.Expand = false; w27.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vboxDebts = new global::Gtk.VBox(); this.vboxDebts.Name = "vboxDebts"; this.vboxDebts.Spacing = 6; this.vboxDebts.BorderWidth = ((uint)(6)); // Container child vboxDebts.Gtk.Box+BoxChild this.labelTableTitle = new global::Gtk.Label(); this.labelTableTitle.Name = "labelTableTitle"; this.labelTableTitle.Xalign = 0F; this.labelTableTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Последние выданные авансы:"); this.vboxDebts.Add(this.labelTableTitle); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vboxDebts[this.labelTableTitle])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child vboxDebts.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeviewDebts = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewDebts.CanFocus = true; this.ytreeviewDebts.Name = "ytreeviewDebts"; this.GtkScrolledWindow1.Add(this.ytreeviewDebts); this.vboxDebts.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vboxDebts[this.GtkScrolledWindow1])); w30.Position = 1; this.vbox1.Add(this.vboxDebts); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vboxDebts])); w31.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Основание:"); this.vbox1.Add(this.label6); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label6])); w32.Position = 3; w32.Expand = false; w32.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewDescription = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewDescription.CanFocus = true; this.ytextviewDescription.Name = "ytextviewDescription"; this.ytextviewDescription.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add(this.ytextviewDescription); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w34.Position = 4; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.comboExpense.Hide(); this.labelExpenseTitle.Hide(); this.vboxDebts.Hide(); this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.buttonPrint.Clicked += new global::System.EventHandler(this.OnButtonPrintClicked); this.yentryEmploeey.Changed += new global::System.EventHandler(this.OnYentryEmploeeyChanged); this.enumcomboOperation.EnumItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnEnumcomboOperationEnumItemSelected); this.comboExpense.ItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnComboExpenseItemSelected); this.checkNoClose.Toggled += new global::System.EventHandler(this.OnCheckNoCloseToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.AdvanceReportDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.AdvanceReportDlg"; // Container child Vodovoz.AdvanceReportDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox2.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox2.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(4)), ((uint)(6)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboExpense = new global::Gamma.Widgets.ySpecComboBox (); this.comboExpense.Name = "comboExpense"; this.comboExpense.AddIfNotExist = false; this.comboExpense.DefaultFirst = false; this.comboExpense.ShowSpecialStateAll = false; this.comboExpense.ShowSpecialStateNot = true; this.table1.Add (this.comboExpense); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboExpense])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(4)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.yspinMoney = new global::Gamma.GtkWidgets.ySpinButton (0, 1000000, 100); this.yspinMoney.CanFocus = true; this.yspinMoney.Name = "yspinMoney"; this.yspinMoney.Adjustment.PageIncrement = 1000; this.yspinMoney.ClimbRate = 1; this.yspinMoney.Digits = ((uint)(2)); this.yspinMoney.Numeric = true; this.yspinMoney.ValueAsDecimal = 0m; this.yspinMoney.ValueAsInt = 0; this.hbox5.Add (this.yspinMoney); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.yspinMoney])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel (); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("currencylabel1"); this.hbox5.Add (this.currencylabel1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.currencylabel1])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.table1.Add (this.hbox5); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox5])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hboxDebt = new global::Gtk.HBox (); this.hboxDebt.Name = "hboxDebt"; this.hboxDebt.Spacing = 6; // Container child hboxDebt.Gtk.Box+BoxChild this.labelCurrentDebt = new global::Gtk.Label (); this.labelCurrentDebt.Name = "labelCurrentDebt"; this.labelCurrentDebt.LabelProp = global::Mono.Unix.Catalog.GetString ("label2"); this.hboxDebt.Add (this.labelCurrentDebt); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxDebt [this.labelCurrentDebt])); w10.Position = 0; w10.Expand = false; w10.Fill = false; this.table1.Add (this.hboxDebt); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.hboxDebt])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата:"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(4)); w12.RightAttach = ((uint)(5)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Кассир:"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w13.LeftAttach = ((uint)(4)); w13.RightAttach = ((uint)(5)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Сумма выбранных авансов:"); this.table1.Add (this.label3); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Статья расхода:"); this.table1.Add (this.label4); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Сумма расхода:"); this.table1.Add (this.label5); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Подотчетное лицо:"); this.table1.Add (this.label7); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelChangeSum = new global::Gtk.Label (); this.labelChangeSum.Name = "labelChangeSum"; this.labelChangeSum.LabelProp = global::Mono.Unix.Catalog.GetString ("--//--"); this.labelChangeSum.UseMarkup = true; this.table1.Add (this.labelChangeSum); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelChangeSum])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.LeftAttach = ((uint)(3)); w18.RightAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelChangeType = new global::Gtk.Label (); this.labelChangeType.Name = "labelChangeType"; this.labelChangeType.Xalign = 1F; this.labelChangeType.LabelProp = global::Mono.Unix.Catalog.GetString ("--//--"); this.table1.Add (this.labelChangeType); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelChangeType])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.LeftAttach = ((uint)(2)); w19.RightAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelClosingSum = new global::Gtk.Label (); this.labelClosingSum.Name = "labelClosingSum"; this.labelClosingSum.LabelProp = global::Mono.Unix.Catalog.GetString ("--//--"); this.table1.Add (this.labelClosingSum); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelClosingSum])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(3)); w20.RightAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDebtTitle = new global::Gtk.Label (); this.labelDebtTitle.Name = "labelDebtTitle"; this.labelDebtTitle.Xalign = 1F; this.labelDebtTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Текущий долг:"); this.table1.Add (this.labelDebtTitle); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelDebtTitle])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydateDocument = new global::Gamma.Widgets.yDatePicker (); this.ydateDocument.Events = ((global::Gdk.EventMask)(256)); this.ydateDocument.Name = "ydateDocument"; this.ydateDocument.WithTime = false; this.ydateDocument.Date = new global::System.DateTime (0); this.ydateDocument.IsEditable = true; this.ydateDocument.AutoSeparation = true; this.table1.Add (this.ydateDocument); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.ydateDocument])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.LeftAttach = ((uint)(5)); w22.RightAttach = ((uint)(6)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryCasher = new global::Gamma.Widgets.yEntryReference (); this.yentryCasher.Sensitive = false; this.yentryCasher.Events = ((global::Gdk.EventMask)(256)); this.yentryCasher.Name = "yentryCasher"; this.table1.Add (this.yentryCasher); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryCasher])); w23.LeftAttach = ((uint)(5)); w23.RightAttach = ((uint)(6)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryEmploeey = new global::Gamma.Widgets.yEntryReference (); this.yentryEmploeey.Events = ((global::Gdk.EventMask)(256)); this.yentryEmploeey.Name = "yentryEmploeey"; this.table1.Add (this.yentryEmploeey); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryEmploeey])); w24.TopAttach = ((uint)(1)); w24.BottomAttach = ((uint)(2)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add (this.table1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1])); w25.Position = 1; w25.Expand = false; w25.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.labelCreating = new global::Gtk.Label (); this.labelCreating.Name = "labelCreating"; this.labelCreating.Xpad = 9; this.labelCreating.Xalign = 0F; this.labelCreating.LabelProp = global::Mono.Unix.Catalog.GetString ("Рачет не производился"); this.vbox1.Add (this.labelCreating); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.labelCreating])); w26.Position = 2; w26.Expand = false; w26.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.labelTableTitle = new global::Gtk.Label (); this.labelTableTitle.Name = "labelTableTitle"; this.labelTableTitle.Xalign = 0F; this.labelTableTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Последние выданные авансы:"); this.vbox1.Add (this.labelTableTitle); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.labelTableTitle])); w27.Position = 3; w27.Expand = false; w27.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeviewDebts = new global::Gamma.GtkWidgets.yTreeView (); this.ytreeviewDebts.CanFocus = true; this.ytreeviewDebts.Name = "ytreeviewDebts"; this.GtkScrolledWindow1.Add (this.ytreeviewDebts); this.vbox1.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow1])); w29.Position = 4; // Container child vbox1.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Основание:"); this.vbox1.Add (this.label6); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label6])); w30.Position = 5; w30.Expand = false; w30.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewDescription = new global::Gamma.GtkWidgets.yTextView (); this.ytextviewDescription.CanFocus = true; this.ytextviewDescription.Name = "ytextviewDescription"; this.ytextviewDescription.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add (this.ytextviewDescription); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w32.Position = 6; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); this.yentryEmploeey.Changed += new global::System.EventHandler (this.OnYentryEmploeeyChanged); this.yspinMoney.ValueChanged += new global::System.EventHandler (this.OnYspinMoneyValueChanged); this.comboExpense.Changed += new global::System.EventHandler (this.OnComboExpenseChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Reports.CashFlow global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Reports.CashFlow"; // Container child Vodovoz.Reports.CashFlow.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(7)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.buttonRun = new global::Gtk.Button(); this.buttonRun.Sensitive = false; this.buttonRun.CanFocus = true; this.buttonRun.Name = "buttonRun"; this.buttonRun.UseUnderline = true; this.buttonRun.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.table1.Add(this.buttonRun); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonRun])); w1.TopAttach = ((uint)(6)); w1.BottomAttach = ((uint)(7)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(0)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkDetail = new global::Gtk.CheckButton(); this.checkDetail.CanFocus = true; this.checkDetail.Name = "checkDetail"; this.checkDetail.Label = global::Mono.Unix.Catalog.GetString("Детализированный"); this.checkDetail.DrawIndicator = true; this.checkDetail.UseUnderline = true; this.checkDetail.Xalign = 0F; this.table1.Add(this.checkDetail); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.checkDetail])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboExpenseCategory = new global::Gtk.ComboBox(); this.comboExpenseCategory.Name = "comboExpenseCategory"; this.table1.Add(this.comboExpenseCategory); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.comboExpenseCategory])); w3.TopAttach = ((uint)(5)); w3.BottomAttach = ((uint)(6)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboIncomeCategory = new global::Gamma.Widgets.ySpecComboBox(); this.comboIncomeCategory.Name = "comboIncomeCategory"; this.comboIncomeCategory.AddIfNotExist = false; this.comboIncomeCategory.DefaultFirst = false; this.comboIncomeCategory.ShowSpecialStateAll = true; this.comboIncomeCategory.ShowSpecialStateNot = false; this.table1.Add(this.comboIncomeCategory); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.comboIncomeCategory])); 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 table1.Gtk.Table+TableChild this.comboPart = new global::Gamma.Widgets.yEnumComboBox(); this.comboPart.Sensitive = false; this.comboPart.Name = "comboPart"; this.comboPart.ShowSpecialStateAll = true; this.comboPart.ShowSpecialStateNot = false; this.comboPart.UseShortTitle = false; this.comboPart.DefaultFirst = false; this.table1.Add(this.comboPart); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.comboPart])); w5.TopAttach = ((uint)(3)); w5.BottomAttach = ((uint)(4)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.dateperiodpicker1 = new global::QSWidgetLib.DatePeriodPicker(); this.dateperiodpicker1.Events = ((global::Gdk.EventMask)(256)); this.dateperiodpicker1.Name = "dateperiodpicker1"; this.dateperiodpicker1.StartDate = new global::System.DateTime(0); this.dateperiodpicker1.EndDate = new global::System.DateTime(0); this.table1.Add(this.dateperiodpicker1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodpicker1])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Период:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Раздел:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w8.TopAttach = ((uint)(3)); w8.BottomAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.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 w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w9.TopAttach = ((uint)(4)); w9.BottomAttach = ((uint)(5)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w10.TopAttach = ((uint)(5)); w10.BottomAttach = ((uint)(6)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.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 w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryrefCasher = new global::Gamma.Widgets.yEntryReference(); this.yentryrefCasher.Events = ((global::Gdk.EventMask)(256)); this.yentryrefCasher.Name = "yentryrefCasher"; this.table1.Add(this.yentryrefCasher); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryrefCasher])); 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)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.dateperiodpicker1.PeriodChanged += new global::System.EventHandler(this.OnDateperiodpicker1PeriodChanged); this.comboPart.EnumItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnComboPartEnumItemSelected); this.checkDetail.Toggled += new global::System.EventHandler(this.OnCheckDetailToggled); this.buttonRun.Clicked += new global::System.EventHandler(this.OnButtonRunClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Warehouse.MovementDocumentView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Warehouse.MovementDocumentView"; // Container child Vodovoz.Views.Warehouse.MovementDocumentView.Gtk.Container+ContainerChild this.vboxView = new global::Gtk.VBox(); this.vboxView.Name = "vboxView"; this.vboxView.Spacing = 6; // Container child vboxView.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonSend = new global::Gamma.GtkWidgets.yButton(); this.buttonSend.CanFocus = true; this.buttonSend.Name = "buttonSend"; this.buttonSend.UseUnderline = true; this.buttonSend.Label = global::Mono.Unix.Catalog.GetString("Отправить"); this.hboxDialogButtons.Add(this.buttonSend); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSend])); w1.Position = 0; w1.Expand = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonReceive = new global::Gamma.GtkWidgets.yButton(); this.buttonReceive.CanFocus = true; this.buttonReceive.Name = "buttonReceive"; this.buttonReceive.UseUnderline = true; this.buttonReceive.Label = global::Mono.Unix.Catalog.GetString("Принять"); this.hboxDialogButtons.Add(this.buttonReceive); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonReceive])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonAcceptDiscrepancy = new global::Gamma.GtkWidgets.yButton(); this.buttonAcceptDiscrepancy.CanFocus = true; this.buttonAcceptDiscrepancy.Name = "buttonAcceptDiscrepancy"; this.buttonAcceptDiscrepancy.UseUnderline = true; this.buttonAcceptDiscrepancy.Label = global::Mono.Unix.Catalog.GetString("Подтвердить расхождения"); this.hboxDialogButtons.Add(this.buttonAcceptDiscrepancy); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonAcceptDiscrepancy])); w3.Position = 2; w3.Expand = false; w3.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 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.hboxDialogButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel])); w5.Position = 3; w5.Expand = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.hboxPrint = new global::Gtk.HBox(); this.hboxPrint.Name = "hboxPrint"; this.hboxPrint.Spacing = 6; // Container child hboxPrint.Gtk.Box+BoxChild this.buttonPrint = new global::Gamma.GtkWidgets.yButton(); this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w6 = new global::Gtk.Image(); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w6; this.hboxPrint.Add(this.buttonPrint); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxPrint[this.buttonPrint])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 2; w7.Expand = false; w7.Fill = false; this.hboxDialogButtons.Add(this.hboxPrint); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.hboxPrint])); w8.PackType = ((global::Gtk.PackType)(1)); w8.Position = 5; this.vboxView.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vboxView[this.hboxDialogButtons])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vboxView.Gtk.Box+BoxChild this.tableInfo = new global::Gtk.Table(((uint)(5)), ((uint)(4)), false); this.tableInfo.Name = "tableInfo"; this.tableInfo.RowSpacing = ((uint)(6)); this.tableInfo.ColumnSpacing = ((uint)(6)); // Container child tableInfo.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewComment.CanFocus = true; this.ytextviewComment.Name = "ytextviewComment"; this.GtkScrolledWindow.Add(this.ytextviewComment); this.tableInfo.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.GtkScrolledWindow])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.hboxAuthor = new global::Gtk.HBox(); this.hboxAuthor.Name = "hboxAuthor"; this.hboxAuthor.Spacing = 6; // Container child hboxAuthor.Gtk.Box+BoxChild this.ylabelAuthorValue = new global::Gamma.GtkWidgets.yLabel(); this.ylabelAuthorValue.Name = "ylabelAuthorValue"; this.ylabelAuthorValue.Xalign = 0F; this.ylabelAuthorValue.LabelProp = global::Mono.Unix.Catalog.GetString("###"); this.hboxAuthor.Add(this.ylabelAuthorValue); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hboxAuthor[this.ylabelAuthorValue])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hboxAuthor.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hboxAuthor.Add(this.vseparator1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hboxAuthor[this.vseparator1])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child hboxAuthor.Gtk.Box+BoxChild this.ylabelEditor = new global::Gamma.GtkWidgets.yLabel(); this.ylabelEditor.Name = "ylabelEditor"; this.ylabelEditor.Xalign = 1F; this.ylabelEditor.LabelProp = global::Mono.Unix.Catalog.GetString("Изменил:"); this.hboxAuthor.Add(this.ylabelEditor); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hboxAuthor[this.ylabelEditor])); w14.Position = 2; w14.Expand = false; w14.Fill = false; // Container child hboxAuthor.Gtk.Box+BoxChild this.ylabelEditorValue = new global::Gamma.GtkWidgets.yLabel(); this.ylabelEditorValue.Name = "ylabelEditorValue"; this.ylabelEditorValue.Xalign = 0F; this.ylabelEditorValue.LabelProp = global::Mono.Unix.Catalog.GetString("###"); this.hboxAuthor.Add(this.ylabelEditorValue); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hboxAuthor[this.ylabelEditorValue])); w15.Position = 3; w15.Expand = false; w15.Fill = false; this.tableInfo.Add(this.hboxAuthor); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.hboxAuthor])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.hboxWagon = new global::Gtk.HBox(); this.hboxWagon.Name = "hboxWagon"; this.hboxWagon.Spacing = 6; // Container child hboxWagon.Gtk.Box+BoxChild this.yentryrefWagon = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.yentryrefWagon.Events = ((global::Gdk.EventMask)(256)); this.yentryrefWagon.Name = "yentryrefWagon"; this.hboxWagon.Add(this.yentryrefWagon); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hboxWagon[this.yentryrefWagon])); w17.Position = 0; this.tableInfo.Add(this.hboxWagon); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.hboxWagon])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.ylabelAuthor = new global::Gamma.GtkWidgets.yLabel(); this.ylabelAuthor.Name = "ylabelAuthor"; this.ylabelAuthor.Xalign = 1F; this.ylabelAuthor.LabelProp = global::Mono.Unix.Catalog.GetString("Автор:"); this.tableInfo.Add(this.ylabelAuthor); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.ylabelAuthor])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.ylabelAuthorStatus = new global::Gamma.GtkWidgets.yLabel(); this.ylabelAuthorStatus.Name = "ylabelAuthorStatus"; this.ylabelAuthorStatus.Xalign = 1F; this.ylabelAuthorStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус:"); this.tableInfo.Add(this.ylabelAuthorStatus); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.ylabelAuthorStatus])); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.ylabelComment = new global::Gamma.GtkWidgets.yLabel(); this.ylabelComment.Name = "ylabelComment"; this.ylabelComment.Xalign = 1F; this.ylabelComment.Yalign = 0F; this.ylabelComment.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.tableInfo.Add(this.ylabelComment); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.ylabelComment])); w21.TopAttach = ((uint)(4)); w21.BottomAttach = ((uint)(5)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.ylabelDiscrepancyAccepter = new global::Gamma.GtkWidgets.yLabel(); this.ylabelDiscrepancyAccepter.Name = "ylabelDiscrepancyAccepter"; this.ylabelDiscrepancyAccepter.Xalign = 1F; this.ylabelDiscrepancyAccepter.Yalign = 1F; this.ylabelDiscrepancyAccepter.LabelProp = global::Mono.Unix.Catalog.GetString("Подтвердил расхождения:"); this.ylabelDiscrepancyAccepter.Justify = ((global::Gtk.Justification)(1)); this.tableInfo.Add(this.ylabelDiscrepancyAccepter); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.ylabelDiscrepancyAccepter])); w22.TopAttach = ((uint)(2)); w22.BottomAttach = ((uint)(3)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.ylabelDiscrepancyAccepterValue = new global::Gamma.GtkWidgets.yLabel(); this.ylabelDiscrepancyAccepterValue.Name = "ylabelDiscrepancyAccepterValue"; this.ylabelDiscrepancyAccepterValue.Xalign = 0F; this.ylabelDiscrepancyAccepterValue.LabelProp = global::Mono.Unix.Catalog.GetString("###"); this.tableInfo.Add(this.ylabelDiscrepancyAccepterValue); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.ylabelDiscrepancyAccepterValue])); 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 tableInfo.Gtk.Table+TableChild this.ylabelStatusValue = new global::Gamma.GtkWidgets.yLabel(); this.ylabelStatusValue.Name = "ylabelStatusValue"; this.ylabelStatusValue.Xalign = 0F; this.ylabelStatusValue.LabelProp = global::Mono.Unix.Catalog.GetString("###"); this.tableInfo.Add(this.ylabelStatusValue); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.ylabelStatusValue])); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(4)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.ylabelWagon = new global::Gamma.GtkWidgets.yLabel(); this.ylabelWagon.Name = "ylabelWagon"; this.ylabelWagon.Xalign = 1F; this.ylabelWagon.LabelProp = global::Mono.Unix.Catalog.GetString("Фура:"); this.tableInfo.Add(this.ylabelWagon); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.ylabelWagon])); w25.TopAttach = ((uint)(3)); w25.BottomAttach = ((uint)(4)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxView.Add(this.tableInfo); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vboxView[this.tableInfo])); w26.Position = 1; w26.Expand = false; w26.Fill = false; // Container child vboxView.Gtk.Box+BoxChild this.tableSenderReceiver = new global::Gtk.Table(((uint)(3)), ((uint)(5)), false); this.tableSenderReceiver.Name = "tableSenderReceiver"; this.tableSenderReceiver.RowSpacing = ((uint)(6)); this.tableSenderReceiver.ColumnSpacing = ((uint)(6)); // Container child tableSenderReceiver.Gtk.Table+TableChild this.hboxReceiver = new global::Gtk.HBox(); this.hboxReceiver.Name = "hboxReceiver"; this.hboxReceiver.Spacing = 6; // Container child hboxReceiver.Gtk.Box+BoxChild this.ylabelReceiverValue = new global::Gamma.GtkWidgets.yLabel(); this.ylabelReceiverValue.Name = "ylabelReceiverValue"; this.ylabelReceiverValue.LabelProp = global::Mono.Unix.Catalog.GetString("###"); this.hboxReceiver.Add(this.ylabelReceiverValue); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hboxReceiver[this.ylabelReceiverValue])); w27.Position = 0; w27.Expand = false; w27.Fill = false; this.tableSenderReceiver.Add(this.hboxReceiver); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tableSenderReceiver[this.hboxReceiver])); w28.TopAttach = ((uint)(2)); w28.BottomAttach = ((uint)(3)); w28.LeftAttach = ((uint)(3)); w28.RightAttach = ((uint)(4)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSenderReceiver.Gtk.Table+TableChild this.hboxSender = new global::Gtk.HBox(); this.hboxSender.Name = "hboxSender"; this.hboxSender.Spacing = 6; // Container child hboxSender.Gtk.Box+BoxChild this.ylabelSenderValue = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSenderValue.Name = "ylabelSenderValue"; this.ylabelSenderValue.LabelProp = global::Mono.Unix.Catalog.GetString("###"); this.hboxSender.Add(this.ylabelSenderValue); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hboxSender[this.ylabelSenderValue])); w29.Position = 0; w29.Expand = false; w29.Fill = false; this.tableSenderReceiver.Add(this.hboxSender); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.tableSenderReceiver[this.hboxSender])); w30.TopAttach = ((uint)(2)); w30.BottomAttach = ((uint)(3)); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(2)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSenderReceiver.Gtk.Table+TableChild this.hboxWarehouseFrom = new global::Gtk.HBox(); this.hboxWarehouseFrom.Name = "hboxWarehouseFrom"; this.hboxWarehouseFrom.Spacing = 6; // Container child hboxWarehouseFrom.Gtk.Box+BoxChild this.comboWarehouseFrom = new global::Gamma.Widgets.ySpecComboBox(); this.comboWarehouseFrom.Name = "comboWarehouseFrom"; this.comboWarehouseFrom.AddIfNotExist = false; this.comboWarehouseFrom.DefaultFirst = false; this.comboWarehouseFrom.ShowSpecialStateAll = false; this.comboWarehouseFrom.ShowSpecialStateNot = true; this.comboWarehouseFrom.NameForSpecialStateNot = "Выбрать"; this.hboxWarehouseFrom.Add(this.comboWarehouseFrom); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hboxWarehouseFrom[this.comboWarehouseFrom])); w31.Position = 0; w31.Expand = false; w31.Fill = false; this.tableSenderReceiver.Add(this.hboxWarehouseFrom); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.tableSenderReceiver[this.hboxWarehouseFrom])); w32.TopAttach = ((uint)(1)); w32.BottomAttach = ((uint)(2)); w32.RightAttach = ((uint)(2)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSenderReceiver.Gtk.Table+TableChild this.hboxWarehouseTo = new global::Gtk.HBox(); this.hboxWarehouseTo.Name = "hboxWarehouseTo"; this.hboxWarehouseTo.Spacing = 6; // Container child hboxWarehouseTo.Gtk.Box+BoxChild this.comboWarehouseTo = new global::Gamma.Widgets.ySpecComboBox(); this.comboWarehouseTo.Name = "comboWarehouseTo"; this.comboWarehouseTo.AddIfNotExist = false; this.comboWarehouseTo.DefaultFirst = false; this.comboWarehouseTo.ShowSpecialStateAll = false; this.comboWarehouseTo.ShowSpecialStateNot = true; this.comboWarehouseTo.NameForSpecialStateNot = "Выбрать"; this.hboxWarehouseTo.Add(this.comboWarehouseTo); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hboxWarehouseTo[this.comboWarehouseTo])); w33.Position = 0; w33.Expand = false; w33.Fill = false; this.tableSenderReceiver.Add(this.hboxWarehouseTo); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.tableSenderReceiver[this.hboxWarehouseTo])); w34.TopAttach = ((uint)(1)); w34.BottomAttach = ((uint)(2)); w34.LeftAttach = ((uint)(2)); w34.RightAttach = ((uint)(4)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSenderReceiver.Gtk.Table+TableChild this.ylabelReceiverTitle = new global::Gamma.GtkWidgets.yLabel(); this.ylabelReceiverTitle.Name = "ylabelReceiverTitle"; this.ylabelReceiverTitle.Xalign = 0F; this.ylabelReceiverTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Получатель:"); this.tableSenderReceiver.Add(this.ylabelReceiverTitle); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.tableSenderReceiver[this.ylabelReceiverTitle])); w35.LeftAttach = ((uint)(2)); w35.RightAttach = ((uint)(4)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSenderReceiver.Gtk.Table+TableChild this.ylabelReceiveTime = new global::Gamma.GtkWidgets.yLabel(); this.ylabelReceiveTime.Name = "ylabelReceiveTime"; this.ylabelReceiveTime.Xalign = 1F; this.ylabelReceiveTime.LabelProp = global::Mono.Unix.Catalog.GetString("Получено:"); this.tableSenderReceiver.Add(this.ylabelReceiveTime); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.tableSenderReceiver[this.ylabelReceiveTime])); w36.TopAttach = ((uint)(2)); w36.BottomAttach = ((uint)(3)); w36.LeftAttach = ((uint)(2)); w36.RightAttach = ((uint)(3)); w36.XOptions = ((global::Gtk.AttachOptions)(0)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSenderReceiver.Gtk.Table+TableChild this.ylabelSenderTitle = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSenderTitle.Name = "ylabelSenderTitle"; this.ylabelSenderTitle.Xalign = 0F; this.ylabelSenderTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Отправитель:"); this.tableSenderReceiver.Add(this.ylabelSenderTitle); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.tableSenderReceiver[this.ylabelSenderTitle])); w37.RightAttach = ((uint)(2)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSenderReceiver.Gtk.Table+TableChild this.ylabelSendTime = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSendTime.Name = "ylabelSendTime"; this.ylabelSendTime.Xalign = 1F; this.ylabelSendTime.LabelProp = global::Mono.Unix.Catalog.GetString("Отправлено:"); this.tableSenderReceiver.Add(this.ylabelSendTime); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.tableSenderReceiver[this.ylabelSendTime])); w38.TopAttach = ((uint)(2)); w38.BottomAttach = ((uint)(3)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxView.Add(this.tableSenderReceiver); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vboxView[this.tableSenderReceiver])); w39.Position = 2; w39.Expand = false; w39.Fill = false; // Container child vboxView.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeviewItems = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewItems.CanFocus = true; this.ytreeviewItems.Name = "ytreeviewItems"; this.GtkScrolledWindow1.Add(this.ytreeviewItems); this.vboxView.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vboxView[this.GtkScrolledWindow1])); w41.Position = 3; // Container child vboxView.Gtk.Box+BoxChild this.hboxItemsActions = new global::Gtk.HBox(); this.hboxItemsActions.Name = "hboxItemsActions"; this.hboxItemsActions.Spacing = 6; // Container child hboxItemsActions.Gtk.Box+BoxChild this.ybuttonAddItem = new global::Gamma.GtkWidgets.yButton(); this.ybuttonAddItem.CanFocus = true; this.ybuttonAddItem.Name = "ybuttonAddItem"; this.ybuttonAddItem.UseUnderline = true; this.ybuttonAddItem.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.ybuttonAddItem.Image = w42; this.hboxItemsActions.Add(this.ybuttonAddItem); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hboxItemsActions[this.ybuttonAddItem])); w43.Position = 0; w43.Expand = false; w43.Fill = false; // Container child hboxItemsActions.Gtk.Box+BoxChild this.ybuttonFillFromOrders = new global::Gamma.GtkWidgets.yButton(); this.ybuttonFillFromOrders.CanFocus = true; this.ybuttonFillFromOrders.Name = "ybuttonFillFromOrders"; this.ybuttonFillFromOrders.UseUnderline = true; this.ybuttonFillFromOrders.Label = global::Mono.Unix.Catalog.GetString("Добавить из заказов"); global::Gtk.Image w44 = new global::Gtk.Image(); w44.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.ybuttonFillFromOrders.Image = w44; this.hboxItemsActions.Add(this.ybuttonFillFromOrders); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hboxItemsActions[this.ybuttonFillFromOrders])); w45.Position = 1; w45.Expand = false; w45.Fill = false; // Container child hboxItemsActions.Gtk.Box+BoxChild this.ybuttonDeleteItem = new global::Gamma.GtkWidgets.yButton(); this.ybuttonDeleteItem.CanFocus = true; this.ybuttonDeleteItem.Name = "ybuttonDeleteItem"; this.ybuttonDeleteItem.UseUnderline = true; this.ybuttonDeleteItem.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w46 = new global::Gtk.Image(); w46.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.ybuttonDeleteItem.Image = w46; this.hboxItemsActions.Add(this.ybuttonDeleteItem); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hboxItemsActions[this.ybuttonDeleteItem])); w47.Position = 2; w47.Expand = false; w47.Fill = false; this.vboxView.Add(this.hboxItemsActions); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vboxView[this.hboxItemsActions])); w48.Position = 4; w48.Expand = false; w48.Fill = false; this.Add(this.vboxView); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.JournalViewers.RouteListJournalFilterView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.JournalViewers.RouteListJournalFilterView"; // Container child Vodovoz.JournalViewers.RouteListJournalFilterView.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(7)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.buttonStatusAll = new global::Gtk.Button(); this.buttonStatusAll.CanFocus = true; this.buttonStatusAll.Name = "buttonStatusAll"; this.buttonStatusAll.UseUnderline = true; this.buttonStatusAll.Label = global::Mono.Unix.Catalog.GetString("Выбрать все"); this.table1.Add(this.buttonStatusAll); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonStatusAll])); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.buttonStatusNone = new global::Gtk.Button(); this.buttonStatusNone.CanFocus = true; this.buttonStatusNone.Name = "buttonStatusNone"; this.buttonStatusNone.UseUnderline = true; this.buttonStatusNone.Label = global::Mono.Unix.Catalog.GetString("Снять выбор"); this.table1.Add(this.buttonStatusNone); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonStatusNone])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.dateperiodOrders = new global::QS.Widgets.GtkUI.DateRangePicker(); this.dateperiodOrders.Events = ((global::Gdk.EventMask)(256)); this.dateperiodOrders.Name = "dateperiodOrders"; this.dateperiodOrders.StartDate = new global::System.DateTime(0); this.dateperiodOrders.EndDate = new global::System.DateTime(0); this.table1.Add(this.dateperiodOrders); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodOrders])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); 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.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.WidthRequest = 220; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytreeviewRouteListStatuses = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewRouteListStatuses.CanFocus = true; this.ytreeviewRouteListStatuses.Name = "ytreeviewRouteListStatuses"; this.ytreeviewRouteListStatuses.HeadersVisible = false; this.GtkScrolledWindow.Add(this.ytreeviewRouteListStatuses); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w5.BottomAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(0)); w5.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 w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(4)); w6.RightAttach = ((uint)(5)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.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 w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w7.LeftAttach = ((uint)(2)); w7.RightAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.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 w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(2)); w8.RightAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.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 w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w9.LeftAttach = ((uint)(4)); w9.RightAttach = ((uint)(5)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryreferenceShift = new global::Gamma.Widgets.yEntryReference(); this.yentryreferenceShift.Events = ((global::Gdk.EventMask)(256)); this.yentryreferenceShift.Name = "yentryreferenceShift"; this.table1.Add(this.yentryreferenceShift); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryreferenceShift])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(5)); w10.RightAttach = ((uint)(6)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yEnumCmbTransport = new global::Gamma.Widgets.yEnumComboBox(); this.yEnumCmbTransport.Name = "yEnumCmbTransport"; this.yEnumCmbTransport.ShowSpecialStateAll = true; this.yEnumCmbTransport.ShowSpecialStateNot = false; this.yEnumCmbTransport.UseShortTitle = false; this.yEnumCmbTransport.DefaultFirst = false; this.table1.Add(this.yEnumCmbTransport); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.yEnumCmbTransport])); w11.LeftAttach = ((uint)(5)); w11.RightAttach = ((uint)(6)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ySpecCmbGeographicGroup = new global::Gamma.Widgets.ySpecComboBox(); this.ySpecCmbGeographicGroup.Name = "ySpecCmbGeographicGroup"; this.ySpecCmbGeographicGroup.AddIfNotExist = false; this.ySpecCmbGeographicGroup.DefaultFirst = false; this.ySpecCmbGeographicGroup.ShowSpecialStateAll = true; this.ySpecCmbGeographicGroup.ShowSpecialStateNot = false; this.table1.Add(this.ySpecCmbGeographicGroup); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.ySpecCmbGeographicGroup])); w12.LeftAttach = ((uint)(3)); w12.RightAttach = ((uint)(4)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ytreeviewAddressTypes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewAddressTypes.CanFocus = true; this.ytreeviewAddressTypes.Name = "ytreeviewAddressTypes"; this.ytreeviewAddressTypes.HeadersVisible = false; this.table1.Add(this.ytreeviewAddressTypes); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.ytreeviewAddressTypes])); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(6)); w13.RightAttach = ((uint)(7)); w13.XOptions = ((global::Gtk.AttachOptions)(0)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.ySpecCmbGeographicGroup.ItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnYSpecCmbGeographicGroupItemSelected); this.yEnumCmbTransport.ChangedByUser += new global::System.EventHandler(this.OnYEnumCmbTransportChangedByUser); this.yentryreferenceShift.ChangedByUser += new global::System.EventHandler(this.OnYentryreferenceShiftChangedByUser); this.dateperiodOrders.PeriodChangedByUser += new global::System.EventHandler(this.OnDateperiodOrdersPeriodChangedByUser); this.buttonStatusNone.Clicked += new global::System.EventHandler(this.OnButtonStatusNoneActivated); this.buttonStatusAll.Clicked += new global::System.EventHandler(this.OnButtonStatusAllActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.AdvanceReportDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.AdvanceReportDlg"; // Container child Vodovoz.AdvanceReportDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox2.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox2.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.hboxSubdivision = new global::Gtk.HBox(); this.hboxSubdivision.Name = "hboxSubdivision"; this.hboxSubdivision.Spacing = 6; // Container child hboxSubdivision.Gtk.Box+BoxChild this.accessfilteredsubdivisionselectorwidget = new global::Vodovoz.Core.Permissions.AccessFilteredSubdivisionSelectorWidget(); this.accessfilteredsubdivisionselectorwidget.Events = ((global::Gdk.EventMask)(256)); this.accessfilteredsubdivisionselectorwidget.Name = "accessfilteredsubdivisionselectorwidget"; this.accessfilteredsubdivisionselectorwidget.NeedChooseSubdivision = false; this.hboxSubdivision.Add(this.accessfilteredsubdivisionselectorwidget); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxSubdivision[this.accessfilteredsubdivisionselectorwidget])); w5.PackType = ((global::Gtk.PackType)(1)); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.hbox2.Add(this.hboxSubdivision); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.hboxSubdivision])); w6.Position = 2; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(5)), ((uint)(6)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboExpense = new global::Gamma.Widgets.ySpecComboBox(); this.comboExpense.Name = "comboExpense"; this.comboExpense.AddIfNotExist = false; this.comboExpense.DefaultFirst = false; this.comboExpense.ShowSpecialStateAll = false; this.comboExpense.ShowSpecialStateNot = true; this.table1.Add(this.comboExpense); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.comboExpense])); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.evmeCashier = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeCashier.Sensitive = false; this.evmeCashier.Events = ((global::Gdk.EventMask)(256)); this.evmeCashier.Name = "evmeCashier"; this.evmeCashier.CanEditReference = true; this.table1.Add(this.evmeCashier); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.evmeCashier])); w9.LeftAttach = ((uint)(5)); w9.RightAttach = ((uint)(6)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.evmeEmployee = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeEmployee.Events = ((global::Gdk.EventMask)(256)); this.evmeEmployee.Name = "evmeEmployee"; this.evmeEmployee.CanEditReference = true; this.table1.Add(this.evmeEmployee); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.evmeEmployee])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.yspinMoney = new global::Gamma.GtkWidgets.ySpinButton(0D, 2147483647D, 100D); this.yspinMoney.CanFocus = true; this.yspinMoney.Name = "yspinMoney"; this.yspinMoney.Adjustment.PageIncrement = 1000D; this.yspinMoney.ClimbRate = 1D; this.yspinMoney.Digits = ((uint)(2)); this.yspinMoney.Numeric = true; this.yspinMoney.ValueAsDecimal = 0m; this.yspinMoney.ValueAsInt = 0; this.hbox6.Add(this.yspinMoney); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspinMoney])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.hbox6.Add(this.currencylabel1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.currencylabel1])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.table1.Add(this.hbox6); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox6])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hboxDebt = new global::Gtk.HBox(); this.hboxDebt.Name = "hboxDebt"; this.hboxDebt.Spacing = 6; // Container child hboxDebt.Gtk.Box+BoxChild this.labelCurrentDebt = new global::Gtk.Label(); this.labelCurrentDebt.Name = "labelCurrentDebt"; this.hboxDebt.Add(this.labelCurrentDebt); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hboxDebt[this.labelCurrentDebt])); w14.Position = 0; w14.Expand = false; w14.Fill = false; this.table1.Add(this.hboxDebt); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.hboxDebt])); w15.TopAttach = ((uint)(3)); w15.BottomAttach = ((uint)(4)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.LeftAttach = ((uint)(4)); w16.RightAttach = ((uint)(5)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Кассир:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w17.LeftAttach = ((uint)(4)); w17.RightAttach = ((uint)(5)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Сумма выбранных авансов:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.LeftAttach = ((uint)(2)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Сумма расхода:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w20.TopAttach = ((uint)(4)); w20.BottomAttach = ((uint)(5)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Подотчетное лицо:"); this.table1.Add(this.label7); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.label7])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelChangeSum = new global::Gtk.Label(); this.labelChangeSum.Name = "labelChangeSum"; this.labelChangeSum.LabelProp = global::Mono.Unix.Catalog.GetString("--//--"); this.labelChangeSum.UseMarkup = true; this.table1.Add(this.labelChangeSum); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.labelChangeSum])); w22.TopAttach = ((uint)(4)); w22.BottomAttach = ((uint)(5)); w22.LeftAttach = ((uint)(3)); w22.RightAttach = ((uint)(4)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelChangeType = new global::Gtk.Label(); this.labelChangeType.Name = "labelChangeType"; this.labelChangeType.Xalign = 1F; this.labelChangeType.LabelProp = global::Mono.Unix.Catalog.GetString("--//--"); this.table1.Add(this.labelChangeType); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.labelChangeType])); w23.TopAttach = ((uint)(4)); w23.BottomAttach = ((uint)(5)); w23.LeftAttach = ((uint)(2)); w23.RightAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelClosingSum = new global::Gtk.Label(); this.labelClosingSum.Name = "labelClosingSum"; this.labelClosingSum.LabelProp = global::Mono.Unix.Catalog.GetString("--//--"); this.table1.Add(this.labelClosingSum); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.labelClosingSum])); w24.TopAttach = ((uint)(3)); w24.BottomAttach = ((uint)(4)); w24.LeftAttach = ((uint)(3)); w24.RightAttach = ((uint)(4)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDebtTitle = new global::Gtk.Label(); this.labelDebtTitle.Name = "labelDebtTitle"; this.labelDebtTitle.Xalign = 1F; this.labelDebtTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Текущий долг:"); this.table1.Add(this.labelDebtTitle); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDebtTitle])); w25.TopAttach = ((uint)(3)); w25.BottomAttach = ((uint)(4)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.specialListCmbOrganisation = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.specialListCmbOrganisation.Name = "specialListCmbOrganisation"; this.specialListCmbOrganisation.AddIfNotExist = false; this.specialListCmbOrganisation.DefaultFirst = false; this.specialListCmbOrganisation.ShowSpecialStateAll = false; this.specialListCmbOrganisation.ShowSpecialStateNot = false; this.table1.Add(this.specialListCmbOrganisation); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.specialListCmbOrganisation])); w26.TopAttach = ((uint)(2)); w26.BottomAttach = ((uint)(3)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydateDocument = new global::QS.Widgets.GtkUI.DatePicker(); this.ydateDocument.Events = ((global::Gdk.EventMask)(256)); this.ydateDocument.Name = "ydateDocument"; this.ydateDocument.WithTime = false; this.ydateDocument.HideCalendarButton = false; this.ydateDocument.Date = new global::System.DateTime(0); this.ydateDocument.IsEditable = true; this.ydateDocument.AutoSeparation = true; this.table1.Add(this.ydateDocument); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateDocument])); w27.TopAttach = ((uint)(1)); w27.BottomAttach = ((uint)(2)); w27.LeftAttach = ((uint)(5)); w27.RightAttach = ((uint)(6)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.Xalign = 1F; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Организация:"); this.table1.Add(this.ylabel1); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1])); w28.TopAttach = ((uint)(2)); w28.BottomAttach = ((uint)(3)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w29.Position = 1; w29.Expand = false; w29.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.labelCreating = new global::Gtk.Label(); this.labelCreating.Name = "labelCreating"; this.labelCreating.Xpad = 9; this.labelCreating.Xalign = 0F; this.labelCreating.LabelProp = global::Mono.Unix.Catalog.GetString("Рачет не производился"); this.vbox1.Add(this.labelCreating); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.labelCreating])); w30.Position = 2; w30.Expand = false; w30.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.labelTableTitle = new global::Gtk.Label(); this.labelTableTitle.Name = "labelTableTitle"; this.labelTableTitle.Xalign = 0F; this.labelTableTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Последние выданные авансы:"); this.vbox1.Add(this.labelTableTitle); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.labelTableTitle])); w31.Position = 3; w31.Expand = false; w31.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeviewDebts = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewDebts.CanFocus = true; this.ytreeviewDebts.Name = "ytreeviewDebts"; this.GtkScrolledWindow1.Add(this.ytreeviewDebts); this.vbox1.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow1])); w33.Position = 4; // Container child vbox1.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Основание:"); this.vbox1.Add(this.label6); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label6])); w34.Position = 5; w34.Expand = false; w34.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewDescription = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewDescription.CanFocus = true; this.ytextviewDescription.Name = "ytextviewDescription"; this.ytextviewDescription.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add(this.ytextviewDescription); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w36.Position = 6; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.yspinMoney.ValueChanged += new global::System.EventHandler(this.OnYspinMoneyValueChanged); this.comboExpense.Changed += new global::System.EventHandler(this.OnComboExpenseChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.ReportParameters.Views.RequestSheetView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.ReportParameters.Views.RequestSheetView"; // Container child workwear.ReportParameters.Views.RequestSheetView.Gtk.Container+ContainerChild this.dialog1_VBox = new global::Gtk.VBox(); this.dialog1_VBox.Name = "dialog1_VBox"; this.dialog1_VBox.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(5)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboQuarter = new global::Gamma.Widgets.ySpecComboBox(); this.comboQuarter.Name = "comboQuarter"; this.comboQuarter.AddIfNotExist = false; this.comboQuarter.DefaultFirst = false; this.comboQuarter.ShowSpecialStateAll = false; this.comboQuarter.ShowSpecialStateNot = false; this.table1.Add(this.comboQuarter); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.comboQuarter])); w1.TopAttach = ((uint)(3)); w1.BottomAttach = ((uint)(4)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entitySubdivision = new global::QS.Views.Control.EntityEntry(); this.entitySubdivision.Events = ((global::Gdk.EventMask)(256)); this.entitySubdivision.Name = "entitySubdivision"; this.table1.Add(this.entitySubdivision); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entitySubdivision])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.radioMonth = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Месяц")); this.radioMonth.CanFocus = true; this.radioMonth.Name = "radioMonth"; this.radioMonth.DrawIndicator = true; this.radioMonth.UseUnderline = true; this.radioMonth.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.hbox1.Add(this.radioMonth); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioMonth])); w3.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.radioQuarter = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Квартал")); this.radioQuarter.CanFocus = true; this.radioQuarter.Name = "radioQuarter"; this.radioQuarter.DrawIndicator = true; this.radioQuarter.UseUnderline = true; this.radioQuarter.Group = this.radioMonth.Group; this.hbox1.Add(this.radioQuarter); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioQuarter])); w4.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.radioYear = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Год")); this.radioYear.CanFocus = true; this.radioYear.Name = "radioYear"; this.radioYear.DrawIndicator = true; this.radioYear.UseUnderline = true; this.radioYear.Group = this.radioMonth.Group; this.hbox1.Add(this.radioYear); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioYear])); w5.Position = 2; this.table1.Add(this.hbox1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox1])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Период:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelPeriodType = new global::Gamma.GtkWidgets.yLabel(); this.labelPeriodType.Name = "labelPeriodType"; this.labelPeriodType.Xalign = 1F; this.labelPeriodType.LabelProp = global::Mono.Unix.Catalog.GetString("Квартал:"); this.table1.Add(this.labelPeriodType); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.labelPeriodType])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycheckChild = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckChild.CanFocus = true; this.ycheckChild.Name = "ycheckChild"; this.ycheckChild.Label = global::Mono.Unix.Catalog.GetString("Учитывать дочерние"); this.ycheckChild.DrawIndicator = true; this.ycheckChild.UseUnderline = true; this.table1.Add(this.ycheckChild); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.ycheckChild])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yenumIssueType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumIssueType.Name = "yenumIssueType"; this.yenumIssueType.ShowSpecialStateAll = true; this.yenumIssueType.ShowSpecialStateNot = false; this.yenumIssueType.UseShortTitle = false; this.yenumIssueType.DefaultFirst = true; this.table1.Add(this.yenumIssueType); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumIssueType])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.Xalign = 1F; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Тип выдачи:"); this.table1.Add(this.ylabel1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.dialog1_VBox.Add(this.table1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.table1])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Номенклатура нормы"); this.dialog1_VBox.Add(this.ylabel2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.ylabel2])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.ycheckbuttonAllNomenclature = new global::Gamma.GtkWidgets.yButton(); this.ycheckbuttonAllNomenclature.CanFocus = true; this.ycheckbuttonAllNomenclature.Name = "ycheckbuttonAllNomenclature"; this.ycheckbuttonAllNomenclature.UseUnderline = true; this.ycheckbuttonAllNomenclature.Label = global::Mono.Unix.Catalog.GetString("Выделить/снять выделение"); this.dialog1_VBox.Add(this.ycheckbuttonAllNomenclature); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.ycheckbuttonAllNomenclature])); w15.Position = 2; w15.Expand = false; w15.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.buttonRun = new global::Gtk.Button(); this.buttonRun.CanFocus = true; this.buttonRun.Name = "buttonRun"; this.buttonRun.UseUnderline = true; this.buttonRun.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.dialog1_VBox.Add(this.buttonRun); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.buttonRun])); w16.PackType = ((global::Gtk.PackType)(1)); w16.Position = 3; w16.Expand = false; w16.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.ytreeNomenclature = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeNomenclature.CanFocus = true; this.ytreeNomenclature.Name = "ytreeNomenclature"; this.ytreeNomenclature.HeadersVisible = false; this.scrolledwindow1.Add(this.ytreeNomenclature); this.dialog1_VBox.Add(this.scrolledwindow1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.scrolledwindow1])); w18.PackType = ((global::Gtk.PackType)(1)); w18.Position = 4; this.Add(this.dialog1_VBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.radioMonth.Toggled += new global::System.EventHandler(this.OnRadioMonthToggled); this.radioQuarter.Toggled += new global::System.EventHandler(this.OnRadioQuarterToggled); this.radioYear.Toggled += new global::System.EventHandler(this.OnRadioYearToggled); this.ycheckbuttonAllNomenclature.Clicked += new global::System.EventHandler(this.SelectAll); this.buttonRun.Clicked += new global::System.EventHandler(this.OnButtonRunClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LeaseAgreement.ContractDlg this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "LeaseAgreement.ContractDlg"; this.Title = global::Mono.Unix.Catalog.GetString ("Новый договор"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child LeaseAgreement.ContractDlg.VBox global::Gtk.VBox w2 = this.VBox; w2.Name = "dialog1_VBox"; w2.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.notebookMain = new global::Gtk.Notebook (); this.notebookMain.CanFocus = true; this.notebookMain.Name = "notebookMain"; this.notebookMain.CurrentPage = 4; this.notebookMain.TabPos = ((global::Gtk.PositionType)(0)); // Container child notebookMain.Gtk.Notebook+NotebookChild this.hboxInfo = new global::Gtk.HBox (); this.hboxInfo.Name = "hboxInfo"; this.hboxInfo.Spacing = 6; // Container child hboxInfo.Gtk.Box+BoxChild this.table2 = new global::Gtk.DataBindings.DataTable (((uint)(7)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); this.table2.InheritedDataSource = false; this.table2.InheritedBoundaryDataSource = false; this.table2.InheritedDataSource = false; this.table2.InheritedBoundaryDataSource = false; // Container child table2.Gtk.Table+TableChild this.checkDraft = new global::Gtk.DataBindings.DataCheckButton (); this.checkDraft.CanFocus = true; this.checkDraft.Name = "checkDraft"; this.checkDraft.Label = global::Mono.Unix.Catalog.GetString ("Черновик"); this.checkDraft.DrawIndicator = true; this.checkDraft.UseUnderline = true; this.checkDraft.InheritedDataSource = true; this.checkDraft.Mappings = "Draft"; this.checkDraft.InheritedBoundaryDataSource = false; this.checkDraft.Editable = true; this.checkDraft.AutomaticTitle = false; this.checkDraft.InheritedBoundaryDataSource = false; this.checkDraft.InheritedDataSource = true; this.checkDraft.Mappings = "Draft"; this.table2.Add (this.checkDraft); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2 [this.checkDraft])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.comboCategory = new global::Gamma.Widgets.ySpecComboBox (); this.comboCategory.Name = "comboCategory"; this.comboCategory.AddIfNotExist = false; this.comboCategory.DefaultFirst = false; this.comboCategory.ShowSpecialStateAll = false; this.comboCategory.ShowSpecialStateNot = true; this.table2.Add (this.comboCategory); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboCategory])); w4.TopAttach = ((uint)(3)); w4.BottomAttach = ((uint)(4)); 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.comboContractType = new global::Gamma.Widgets.ySpecComboBox (); this.comboContractType.Name = "comboContractType"; this.comboContractType.AddIfNotExist = false; this.comboContractType.DefaultFirst = false; this.comboContractType.ShowSpecialStateAll = false; this.comboContractType.ShowSpecialStateNot = true; this.table2.Add (this.comboContractType); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboContractType])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.comboOrg = new global::Gamma.Widgets.ySpecComboBox (); this.comboOrg.Name = "comboOrg"; this.comboOrg.AddIfNotExist = false; this.comboOrg.DefaultFirst = false; this.comboOrg.ShowSpecialStateAll = false; this.comboOrg.ShowSpecialStateNot = true; this.table2.Add (this.comboOrg); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboOrg])); 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 table2.Gtk.Table+TableChild this.datepickerSign = new global::Gamma.Widgets.yDatePicker (); this.datepickerSign.Events = ((global::Gdk.EventMask)(256)); this.datepickerSign.Name = "datepickerSign"; this.datepickerSign.WithTime = false; this.datepickerSign.Date = new global::System.DateTime (0); this.datepickerSign.IsEditable = true; this.datepickerSign.AutoSeparation = true; this.table2.Add (this.datepickerSign); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.datepickerSign])); 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 table2.Gtk.Table+TableChild this.entryNumber = new global::Gtk.DataBindings.DataEntry (); this.entryNumber.CanFocus = true; this.entryNumber.Events = ((global::Gdk.EventMask)(16384)); this.entryNumber.Name = "entryNumber"; this.entryNumber.IsEditable = true; this.entryNumber.MaxLength = 20; this.entryNumber.InvisibleChar = '•'; this.entryNumber.InheritedDataSource = true; this.entryNumber.Mappings = "Number"; this.entryNumber.InheritedBoundaryDataSource = false; this.entryNumber.InheritedDataSource = true; this.entryNumber.Mappings = "Number"; this.entryNumber.InheritedBoundaryDataSource = false; this.table2.Add (this.entryNumber); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.entryNumber])); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.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 w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.label10])); 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.label14 = new global::Gtk.Label (); this.label14.Name = "label14"; this.label14.Xalign = 1F; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("Тип договора:"); this.table2.Add (this.label14); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2 [this.label14])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.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.table2.Add (this.label17); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.label17])); w11.TopAttach = ((uint)(3)); w11.BottomAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Номер договора<span foreground=\"red\">*</span>:"); this.label5.UseMarkup = true; this.table2.Add (this.label5); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.label5])); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Организация<span foreground=\"red\">*</span>:"); this.label6.UseMarkup = true; this.table2.Add (this.label6); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2 [this.label6])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.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 w14 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8])); w14.TopAttach = ((uint)(5)); w14.BottomAttach = ((uint)(6)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.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 w15 = ((global::Gtk.Table.TableChild)(this.table2 [this.label9])); w15.TopAttach = ((uint)(6)); w15.BottomAttach = ((uint)(7)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryreferenceLessee = new global::Gamma.Widgets.yEntryReference (); this.yentryreferenceLessee.Events = ((global::Gdk.EventMask)(256)); this.yentryreferenceLessee.Name = "yentryreferenceLessee"; this.table2.Add (this.yentryreferenceLessee); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryreferenceLessee])); 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)); this.hboxInfo.Add (this.table2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hboxInfo [this.table2])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hboxInfo.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.table3 = new global::Gtk.DataBindings.DataTable (((uint)(4)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); this.table3.InheritedDataSource = false; this.table3.InheritedBoundaryDataSource = false; this.table3.InheritedDataSource = false; this.table3.InheritedBoundaryDataSource = false; // Container child table3.Gtk.Table+TableChild this.comboResponsible = new global::Gamma.Widgets.ySpecComboBox (); this.comboResponsible.Name = "comboResponsible"; this.comboResponsible.AddIfNotExist = true; this.comboResponsible.DefaultFirst = false; this.comboResponsible.ShowSpecialStateAll = false; this.comboResponsible.ShowSpecialStateNot = false; this.table3.Add (this.comboResponsible); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table3 [this.comboResponsible])); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.datepickerCancel = new global::Gamma.Widgets.yDatePicker (); this.datepickerCancel.Events = ((global::Gdk.EventMask)(256)); this.datepickerCancel.Name = "datepickerCancel"; this.datepickerCancel.WithTime = false; this.datepickerCancel.Date = new global::System.DateTime (0); this.datepickerCancel.IsEditable = true; this.datepickerCancel.AutoSeparation = true; this.table3.Add (this.datepickerCancel); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table3 [this.datepickerCancel])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.datepickerEnd = new global::Gamma.Widgets.yDatePicker (); this.datepickerEnd.Events = ((global::Gdk.EventMask)(256)); this.datepickerEnd.Name = "datepickerEnd"; this.datepickerEnd.WithTime = false; this.datepickerEnd.Date = new global::System.DateTime (0); this.datepickerEnd.IsEditable = true; this.datepickerEnd.AutoSeparation = true; this.table3.Add (this.datepickerEnd); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table3 [this.datepickerEnd])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.datepickerStart = new global::Gamma.Widgets.yDatePicker (); this.datepickerStart.Events = ((global::Gdk.EventMask)(256)); this.datepickerStart.Name = "datepickerStart"; this.datepickerStart.WithTime = false; this.datepickerStart.Date = new global::System.DateTime (0); this.datepickerStart.IsEditable = true; this.datepickerStart.AutoSeparation = true; this.table3.Add (this.datepickerStart); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table3 [this.datepickerStart])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата начала аренды<span foreground=\"red\">*</span>:"); this.label11.UseMarkup = true; this.table3.Add (this.label11); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table3 [this.label11])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label12 = new global::Gtk.Label (); this.label12.Name = "label12"; this.label12.Xalign = 1F; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата окончания аренды<span foreground=\"red\">*</span>:"); this.label12.UseMarkup = true; this.table3.Add (this.label12); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table3 [this.label12])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label13 = new global::Gtk.Label (); this.label13.Name = "label13"; this.label13.Xalign = 1F; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата расторжения:"); this.table3.Add (this.label13); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table3 [this.label13])); w24.TopAttach = ((uint)(3)); w24.BottomAttach = ((uint)(4)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.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.table3.Add (this.label18); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table3 [this.label18])); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add (this.table3); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.table3])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child vbox3.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.GtkAlignment8 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment8.Name = "GtkAlignment8"; this.GtkAlignment8.LeftPadding = ((uint)(12)); // Container child GtkAlignment8.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textComments = new global::Gtk.DataBindings.DataTextView (); this.textComments.CanFocus = true; this.textComments.Name = "textComments"; this.textComments.WrapMode = ((global::Gtk.WrapMode)(2)); this.textComments.InheritedDataSource = false; this.textComments.Mappings = "Comments"; this.textComments.InheritedBoundaryDataSource = false; this.textComments.InheritedDataSource = false; this.textComments.Mappings = "Comments"; this.textComments.InheritedBoundaryDataSource = false; this.GtkScrolledWindow.Add (this.textComments); this.GtkAlignment8.Add (this.GtkScrolledWindow); this.frame1.Add (this.GtkAlignment8); this.GtkLabel9 = new global::Gtk.Label (); this.GtkLabel9.Name = "GtkLabel9"; this.GtkLabel9.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Комментарии</b>"); this.GtkLabel9.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel9; this.vbox3.Add (this.frame1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.frame1])); w30.Position = 1; this.hboxInfo.Add (this.vbox3); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hboxInfo [this.vbox3])); w31.Position = 1; this.notebookMain.Add (this.hboxInfo); // Notebook tab this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Информация"); this.notebookMain.SetTabLabel (this.hboxInfo, this.label2); this.label2.ShowAll (); // Container child notebookMain.Gtk.Notebook+NotebookChild this.contractplacesview1 = new global::LeaseAgreement.ContractPlacesView (); this.contractplacesview1.Events = ((global::Gdk.EventMask)(256)); this.contractplacesview1.Name = "contractplacesview1"; this.notebookMain.Add (this.contractplacesview1); global::Gtk.Notebook.NotebookChild w33 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.contractplacesview1])); w33.Position = 1; // Notebook tab this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Места"); this.notebookMain.SetTabLabel (this.contractplacesview1, this.label3); this.label3.ShowAll (); // Container child notebookMain.Gtk.Notebook+NotebookChild this.customContracts = new global::QSCustomFields.CustomFields (); this.customContracts.Events = ((global::Gdk.EventMask)(256)); this.customContracts.Name = "customContracts"; this.customContracts.ObjectId = -1; this.notebookMain.Add (this.customContracts); global::Gtk.Notebook.NotebookChild w34 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.customContracts])); w34.Position = 2; // Notebook tab this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Дополнительно"); this.notebookMain.SetTabLabel (this.customContracts, this.label4); this.label4.ShowAll (); // Container child notebookMain.Gtk.Notebook+NotebookChild this.vboxDocs = new global::Gtk.VBox (); this.vboxDocs.Name = "vboxDocs"; this.vboxDocs.Spacing = 6; // Container child vboxDocs.Gtk.Box+BoxChild this.label16 = new global::Gtk.Label (); this.label16.Name = "label16"; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("Печатные формы документов для договора."); this.vboxDocs.Add (this.label16); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vboxDocs [this.label16])); w35.Position = 0; w35.Expand = false; w35.Fill = false; // Container child vboxDocs.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.treeviewDocs = new global::Gtk.TreeView (); this.treeviewDocs.CanFocus = true; this.treeviewDocs.Name = "treeviewDocs"; this.GtkScrolledWindow2.Add (this.treeviewDocs); this.vboxDocs.Add (this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vboxDocs [this.GtkScrolledWindow2])); w37.Position = 1; // Container child vboxDocs.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox (); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild 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 w38 = new global::Gtk.Image (); w38.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w38; this.hbox9.Add (this.buttonPrint); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonPrint])); w39.Position = 0; w39.Expand = false; w39.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.buttonEdit = new global::Gtk.Button (); this.buttonEdit.TooltipMarkup = "Редактировать шаблон только для этого договора."; this.buttonEdit.Sensitive = false; this.buttonEdit.CanFocus = true; this.buttonEdit.Name = "buttonEdit"; this.buttonEdit.UseUnderline = true; this.buttonEdit.Label = global::Mono.Unix.Catalog.GetString ("Редактировать"); global::Gtk.Image w40 = new global::Gtk.Image (); w40.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonEdit.Image = w40; this.hbox9.Add (this.buttonEdit); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonEdit])); w41.Position = 1; w41.Expand = false; w41.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.buttonRemove = new global::Gtk.Button (); this.buttonRemove.Sensitive = false; this.buttonRemove.CanFocus = true; this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.UseUnderline = true; this.buttonRemove.Label = global::Mono.Unix.Catalog.GetString ("Вернуть шаблон"); global::Gtk.Image w42 = new global::Gtk.Image (); w42.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonRemove.Image = w42; this.hbox9.Add (this.buttonRemove); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonRemove])); w43.Position = 2; w43.Expand = false; w43.Fill = false; this.vboxDocs.Add (this.hbox9); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vboxDocs [this.hbox9])); w44.Position = 2; w44.Expand = false; w44.Fill = false; this.notebookMain.Add (this.vboxDocs); global::Gtk.Notebook.NotebookChild w45 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.vboxDocs])); w45.Position = 3; // Notebook tab this.label15 = new global::Gtk.Label (); this.label15.Name = "label15"; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("Документы"); this.notebookMain.SetTabLabel (this.vboxDocs, this.label15); this.label15.ShowAll (); // Container child notebookMain.Gtk.Notebook+NotebookChild this.attachmentFiles = new global::QSAttachment.Attachment (); this.attachmentFiles.Events = ((global::Gdk.EventMask)(256)); this.attachmentFiles.Name = "attachmentFiles"; this.notebookMain.Add (this.attachmentFiles); global::Gtk.Notebook.NotebookChild w46 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.attachmentFiles])); w46.Position = 4; // Notebook tab this.label19 = new global::Gtk.Label (); this.label19.Name = "label19"; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString ("Файлы"); this.notebookMain.SetTabLabel (this.attachmentFiles, this.label19); this.label19.ShowAll (); w2.Add (this.notebookMain); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(w2 [this.notebookMain])); w47.Position = 0; // Internal child LeaseAgreement.ContractDlg.ActionArea global::Gtk.HButtonBox w48 = this.ActionArea; w48.Name = "dialog1_ActionArea"; w48.Spacing = 10; w48.BorderWidth = ((uint)(5)); w48.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 w49 = new global::Gtk.Image (); w49.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w49; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w50 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w48 [this.buttonCancel])); w50.Expand = false; w50.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.Sensitive = false; 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 w51 = new global::Gtk.Image (); w51.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu); this.buttonOk.Image = w51; w48.Add (this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w52 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w48 [this.buttonOk])); w52.Position = 1; w52.Expand = false; w52.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 882; this.DefaultHeight = 383; this.Show (); this.yentryreferenceLessee.Changed += new global::System.EventHandler (this.OnYentryreferenceLesseeChanged); this.entryNumber.Changed += new global::System.EventHandler (this.OnEntryNumberChanged); this.entryNumber.Activated += new global::System.EventHandler (this.OnEntryActivated); this.entryNumber.FocusOutEvent += new global::Gtk.FocusOutEventHandler (this.OnEntryNumberFocusOutEvent); this.comboOrg.Changed += new global::System.EventHandler (this.OnComboOrgChanged); this.comboContractType.Changed += new global::System.EventHandler (this.OnComboContractTypeChanged); this.datepickerStart.DateChanged += new global::System.EventHandler (this.OnDatepickerStartDateChanged); this.datepickerEnd.DateChanged += new global::System.EventHandler (this.OnDatepickerEndDateChanged); this.datepickerCancel.DateChanged += new global::System.EventHandler (this.OnDatepickerCancelDateChanged); this.treeviewDocs.CursorChanged += new global::System.EventHandler (this.OnTreeviewDocsCursorChanged); this.treeviewDocs.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewDocsRowActivated); this.buttonPrint.Clicked += new global::System.EventHandler (this.OnButtonPrintClicked); this.buttonEdit.Clicked += new global::System.EventHandler (this.OnButtonEditClicked); this.buttonRemove.Clicked += new global::System.EventHandler (this.OnButtonRemoveClicked); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.Logistic.OrdersByDistrictsAndDeliverySchedulesReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Logistic.OrdersByDistrictsAndDeliverySchedulesReport"; // Container child Vodovoz.ReportsParameters.Logistic.OrdersByDistrictsAndDeliverySchedulesReport.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // 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)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.lblDate = new global::Gamma.GtkWidgets.yLabel(); this.lblDate.Name = "lblDate"; this.lblDate.Xalign = 1F; this.lblDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.table1.Add(this.lblDate); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.lblDate])); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblGeographicGroup = new global::Gamma.GtkWidgets.yLabel(); this.lblGeographicGroup.Name = "lblGeographicGroup"; this.lblGeographicGroup.Xalign = 1F; this.lblGeographicGroup.LabelProp = global::Mono.Unix.Catalog.GetString("Часть города:"); this.table1.Add(this.lblGeographicGroup); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.lblGeographicGroup])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblTariffZone = new global::Gtk.Label(); this.lblTariffZone.Name = "lblTariffZone"; this.lblTariffZone.Xalign = 1F; this.lblTariffZone.LabelProp = global::Mono.Unix.Catalog.GetString("Тарифая зона:"); this.table1.Add(this.lblTariffZone); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.lblTariffZone])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lstGeographicGroup = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.lstGeographicGroup.Name = "lstGeographicGroup"; this.lstGeographicGroup.AddIfNotExist = false; this.lstGeographicGroup.DefaultFirst = false; this.lstGeographicGroup.ShowSpecialStateAll = true; this.lstGeographicGroup.ShowSpecialStateNot = false; this.table1.Add(this.lstGeographicGroup); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.lstGeographicGroup])); 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.pkrDate = new global::QSWidgetLib.DatePeriodPicker(); this.pkrDate.Events = ((global::Gdk.EventMask)(256)); this.pkrDate.Name = "pkrDate"; this.pkrDate.StartDate = new global::System.DateTime(0); this.pkrDate.EndDate = new global::System.DateTime(0); this.table1.Add(this.pkrDate); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.pkrDate])); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yspeccomboboxTariffZone = new global::Gamma.Widgets.ySpecComboBox(); this.yspeccomboboxTariffZone.Name = "yspeccomboboxTariffZone"; this.yspeccomboboxTariffZone.AddIfNotExist = false; this.yspeccomboboxTariffZone.DefaultFirst = false; this.yspeccomboboxTariffZone.ShowSpecialStateAll = true; this.yspeccomboboxTariffZone.ShowSpecialStateNot = false; this.table1.Add(this.yspeccomboboxTariffZone); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.yspeccomboboxTariffZone])); 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)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.buttonRun = new global::Gtk.Button(); this.buttonRun.CanFocus = true; this.buttonRun.Name = "buttonRun"; this.buttonRun.UseUnderline = true; this.buttonRun.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.vbox1.Add(this.buttonRun); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.buttonRun])); w8.PackType = ((global::Gtk.PackType)(1)); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonRun.Clicked += new global::System.EventHandler(this.OnButtonRunClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Organization.SubdivisionView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Organization.SubdivisionView"; // Container child Vodovoz.Views.Organization.SubdivisionView.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(8)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entryChief = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryChief.Events = ((global::Gdk.EventMask)(256)); this.entryChief.Name = "entryChief"; this.entryChief.CanEditReference = false; this.table1.Add(this.entryChief); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.entryChief])); w1.TopAttach = ((uint)(3)); w1.BottomAttach = ((uint)(4)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryDefaultSalesPlan = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryDefaultSalesPlan.Events = ((global::Gdk.EventMask)(256)); this.entryDefaultSalesPlan.Name = "entryDefaultSalesPlan"; this.entryDefaultSalesPlan.CanEditReference = false; this.table1.Add(this.entryDefaultSalesPlan); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entryDefaultSalesPlan])); w2.TopAttach = ((uint)(6)); w2.BottomAttach = ((uint)(7)); 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.frmWarehoses = new global::Gtk.Frame(); this.frmWarehoses.Name = "frmWarehoses"; this.frmWarehoses.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frmWarehoses.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.lblWarehouses = new global::Gtk.Label(); this.lblWarehouses.Name = "lblWarehouses"; this.lblWarehouses.Xalign = 0F; this.lblWarehouses.LabelProp = global::Mono.Unix.Catalog.GetString("<b>?</b>"); this.lblWarehouses.UseMarkup = true; this.lblWarehouses.Selectable = true; this.GtkAlignment4.Add(this.lblWarehouses); this.frmWarehoses.Add(this.GtkAlignment4); this.GtkLabel8 = new global::Gtk.Label(); this.GtkLabel8.Name = "GtkLabel8"; this.GtkLabel8.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Склады отдела:</b>"); this.GtkLabel8.UseMarkup = true; this.frmWarehoses.LabelWidget = this.GtkLabel8; this.table1.Add(this.frmWarehoses); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.frmWarehoses])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(6)); w5.LeftAttach = ((uint)(2)); w5.RightAttach = ((uint)(3)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.subdivisionentitypermissionwidget = new global::Vodovoz.Core.Permissions.SubdivisionEntityPermissionWidget(); this.subdivisionentitypermissionwidget.Events = ((global::Gdk.EventMask)(256)); this.subdivisionentitypermissionwidget.Name = "subdivisionentitypermissionwidget"; this.notebook1.Add(this.subdivisionentitypermissionwidget); // Notebook tab this.labelPermissions = new global::Gtk.Label(); this.labelPermissions.Name = "labelPermissions"; this.labelPermissions.LabelProp = global::Mono.Unix.Catalog.GetString("Права доступа"); this.notebook1.SetTabLabel(this.subdivisionentitypermissionwidget, this.labelPermissions); this.labelPermissions.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.repTreeChildSubdivisions = new global::QSOrmProject.RepresentationTreeView(); this.repTreeChildSubdivisions.CanFocus = true; this.repTreeChildSubdivisions.Name = "repTreeChildSubdivisions"; this.GtkScrolledWindow2.Add(this.repTreeChildSubdivisions); this.notebook1.Add(this.GtkScrolledWindow2); global::Gtk.Notebook.NotebookChild w8 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.GtkScrolledWindow2])); w8.Position = 1; // Notebook tab this.labelChildSubdivizions = new global::Gtk.Label(); this.labelChildSubdivizions.Name = "labelChildSubdivizions"; this.labelChildSubdivizions.LabelProp = global::Mono.Unix.Catalog.GetString("Дочерние подразделения"); this.notebook1.SetTabLabel(this.GtkScrolledWindow2, this.labelChildSubdivizions); this.labelChildSubdivizions.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vboxDocuments = new global::Gtk.VBox(); this.vboxDocuments.Name = "vboxDocuments"; this.vboxDocuments.Spacing = 6; // Container child vboxDocuments.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.ytreeviewDocuments = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewDocuments.CanFocus = true; this.ytreeviewDocuments.Name = "ytreeviewDocuments"; this.GtkScrolledWindow4.Add(this.ytreeviewDocuments); this.vboxDocuments.Add(this.GtkScrolledWindow4); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxDocuments[this.GtkScrolledWindow4])); w10.Position = 0; // Container child vboxDocuments.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonAddDocument = new global::Gamma.GtkWidgets.yButton(); this.buttonAddDocument.CanFocus = true; this.buttonAddDocument.Name = "buttonAddDocument"; this.buttonAddDocument.UseUnderline = true; this.buttonAddDocument.Label = global::Mono.Unix.Catalog.GetString("Добавить"); this.hbox5.Add(this.buttonAddDocument); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonAddDocument])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonDeleteDocument = new global::Gamma.GtkWidgets.yButton(); this.buttonDeleteDocument.CanFocus = true; this.buttonDeleteDocument.Name = "buttonDeleteDocument"; this.buttonDeleteDocument.UseUnderline = true; this.buttonDeleteDocument.Label = global::Mono.Unix.Catalog.GetString("Удалить"); this.hbox5.Add(this.buttonDeleteDocument); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonDeleteDocument])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.vboxDocuments.Add(this.hbox5); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vboxDocuments[this.hbox5])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.notebook1.Add(this.vboxDocuments); global::Gtk.Notebook.NotebookChild w14 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vboxDocuments])); w14.Position = 2; // Notebook tab this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Документы"); this.notebook1.SetTabLabel(this.vboxDocuments, this.label3); this.label3.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.widgetcontainerview2 = new global::Vodovoz.Core.WidgetContainerView(); this.widgetcontainerview2.Events = ((global::Gdk.EventMask)(256)); this.widgetcontainerview2.Name = "widgetcontainerview2"; this.notebook1.Add(this.widgetcontainerview2); global::Gtk.Notebook.NotebookChild w15 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.widgetcontainerview2])); w15.Position = 3; // Notebook tab this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Предустановленные права"); this.notebook1.SetTabLabel(this.widgetcontainerview2, this.label4); this.label4.ShowAll(); this.hbox3.Add(this.notebook1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.notebook1])); w16.Position = 0; this.table1.Add(this.hbox3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox3])); w17.TopAttach = ((uint)(7)); w17.BottomAttach = ((uint)(8)); w17.RightAttach = ((uint)(3)); // Container child table1.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.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 w18 = new global::Gtk.Image(); w18.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w18; this.hbox4.Add(this.buttonSave); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave])); w19.Position = 0; w19.Expand = false; w19.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 w20 = new global::Gtk.Image(); w20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w20; this.hbox4.Add(this.buttonCancel); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel])); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.table1.Add(this.hbox4); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox4])); w22.RightAttach = ((uint)(3)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hboxtype = new global::Gtk.HBox(); this.hboxtype.Name = "hboxtype"; this.hboxtype.Spacing = 6; // Container child hboxtype.Gtk.Box+BoxChild this.ylabelType = new global::Gamma.GtkWidgets.yLabel(); this.ylabelType.Name = "ylabelType"; this.ylabelType.Xalign = 1F; this.ylabelType.LabelProp = global::Mono.Unix.Catalog.GetString(" Тип:"); this.hboxtype.Add(this.ylabelType); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hboxtype[this.ylabelType])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child hboxtype.Gtk.Box+BoxChild this.yenumcomboType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboType.Name = "yenumcomboType"; this.yenumcomboType.ShowSpecialStateAll = false; this.yenumcomboType.ShowSpecialStateNot = false; this.yenumcomboType.UseShortTitle = false; this.yenumcomboType.DefaultFirst = false; this.hboxtype.Add(this.yenumcomboType); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hboxtype[this.yenumcomboType])); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.table1.Add(this.hboxtype); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.hboxtype])); 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.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 w26 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.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 w27 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w27.TopAttach = ((uint)(3)); w27.BottomAttach = ((uint)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelShortName = new global::Gtk.Label(); this.labelShortName.Name = "labelShortName"; this.labelShortName.Xalign = 1F; this.labelShortName.LabelProp = global::Mono.Unix.Catalog.GetString("Сокращенное наименование:"); this.table1.Add(this.labelShortName); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1[this.labelShortName])); w28.TopAttach = ((uint)(2)); w28.BottomAttach = ((uint)(3)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblDefaultSalesPlan = new global::Gamma.GtkWidgets.yLabel(); this.lblDefaultSalesPlan.Name = "lblDefaultSalesPlan"; this.lblDefaultSalesPlan.Xalign = 1F; this.lblDefaultSalesPlan.LabelProp = global::Mono.Unix.Catalog.GetString("План продаж по умолчанию:"); this.table1.Add(this.lblDefaultSalesPlan); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1[this.lblDefaultSalesPlan])); w29.TopAttach = ((uint)(6)); w29.BottomAttach = ((uint)(7)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblGeographicGroup = new global::Gamma.GtkWidgets.yLabel(); this.lblGeographicGroup.Name = "lblGeographicGroup"; this.lblGeographicGroup.Xalign = 1F; this.lblGeographicGroup.LabelProp = global::Mono.Unix.Catalog.GetString("Местоположение подразделения:"); this.table1.Add(this.lblGeographicGroup); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.lblGeographicGroup])); w30.TopAttach = ((uint)(5)); w30.BottomAttach = ((uint)(6)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblParent = new global::Gtk.Label(); this.lblParent.Name = "lblParent"; this.lblParent.Xalign = 1F; this.lblParent.LabelProp = global::Mono.Unix.Catalog.GetString("Вышестоящее подразделение:"); this.table1.Add(this.lblParent); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1[this.lblParent])); w31.TopAttach = ((uint)(4)); w31.BottomAttach = ((uint)(5)); w31.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 w32 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryName])); w32.TopAttach = ((uint)(1)); w32.BottomAttach = ((uint)(2)); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryrefParentSubdivision = new global::Gamma.Widgets.yEntryReference(); this.yentryrefParentSubdivision.Events = ((global::Gdk.EventMask)(256)); this.yentryrefParentSubdivision.Name = "yentryrefParentSubdivision"; this.table1.Add(this.yentryrefParentSubdivision); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryrefParentSubdivision])); w33.TopAttach = ((uint)(4)); w33.BottomAttach = ((uint)(5)); w33.LeftAttach = ((uint)(1)); w33.RightAttach = ((uint)(2)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryShortName = new global::Gamma.GtkWidgets.yEntry(); this.yentryShortName.CanFocus = true; this.yentryShortName.Name = "yentryShortName"; this.yentryShortName.IsEditable = true; this.yentryShortName.MaxLength = 20; this.yentryShortName.InvisibleChar = '●'; this.table1.Add(this.yentryShortName); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryShortName])); w34.TopAttach = ((uint)(2)); w34.BottomAttach = ((uint)(3)); w34.LeftAttach = ((uint)(1)); w34.RightAttach = ((uint)(2)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ySpecCmbGeographicGroup = new global::Gamma.Widgets.ySpecComboBox(); this.ySpecCmbGeographicGroup.Name = "ySpecCmbGeographicGroup"; this.ySpecCmbGeographicGroup.AddIfNotExist = false; this.ySpecCmbGeographicGroup.DefaultFirst = false; this.ySpecCmbGeographicGroup.ShowSpecialStateAll = false; this.ySpecCmbGeographicGroup.ShowSpecialStateNot = true; this.table1.Add(this.ySpecCmbGeographicGroup); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1[this.ySpecCmbGeographicGroup])); w35.TopAttach = ((uint)(5)); w35.BottomAttach = ((uint)(6)); w35.LeftAttach = ((uint)(1)); w35.RightAttach = ((uint)(2)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.FuelDocumentView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.FuelDocumentView"; // Container child Vodovoz.FuelDocumentView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox8.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox8.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add(this.hbox8); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox8])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table(((uint)(9)), ((uint)(3)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.entityviewmodelentryCar = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityviewmodelentryCar.Sensitive = false; this.entityviewmodelentryCar.Events = ((global::Gdk.EventMask)(256)); this.entityviewmodelentryCar.Name = "entityviewmodelentryCar"; this.entityviewmodelentryCar.CanEditReference = true; this.table3.Add(this.entityviewmodelentryCar); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table3[this.entityviewmodelentryCar])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.evmeDriver = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeDriver.Sensitive = false; this.evmeDriver.Events = ((global::Gdk.EventMask)(256)); this.evmeDriver.Name = "evmeDriver"; this.evmeDriver.CanEditReference = true; this.table3.Add(this.evmeDriver); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table3[this.evmeDriver])); 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.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.spinFuelPrice = new global::Gamma.GtkWidgets.ySpinButton(0D, 200D, 0.01D); this.spinFuelPrice.WidthRequest = 100; this.spinFuelPrice.Sensitive = false; this.spinFuelPrice.CanFocus = true; this.spinFuelPrice.Name = "spinFuelPrice"; this.spinFuelPrice.Adjustment.PageIncrement = 0.01D; this.spinFuelPrice.ClimbRate = 1D; this.spinFuelPrice.Digits = ((uint)(2)); this.spinFuelPrice.Numeric = true; this.spinFuelPrice.ValueAsDecimal = 0m; this.spinFuelPrice.ValueAsInt = 0; this.hbox3.Add(this.spinFuelPrice); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.spinFuelPrice])); w8.Position = 0; w8.Expand = false; w8.Fill = false; this.table3.Add(this.hbox3); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox3])); w9.TopAttach = ((uint)(6)); w9.BottomAttach = ((uint)(7)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.yenumcomboboxPaymentType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxPaymentType.Name = "yenumcomboboxPaymentType"; this.yenumcomboboxPaymentType.ShowSpecialStateAll = false; this.yenumcomboboxPaymentType.ShowSpecialStateNot = false; this.yenumcomboboxPaymentType.UseShortTitle = false; this.yenumcomboboxPaymentType.DefaultFirst = false; this.hbox4.Add(this.yenumcomboboxPaymentType); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.yenumcomboboxPaymentType])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.disablespinMoney = new global::QSOrmProject.DisableSpinButton(); this.disablespinMoney.Events = ((global::Gdk.EventMask)(256)); this.disablespinMoney.Name = "disablespinMoney"; this.disablespinMoney.Active = false; this.disablespinMoney.Upper = 100000D; this.disablespinMoney.Lower = 0D; this.disablespinMoney.Digits = ((uint)(2)); this.hbox4.Add(this.disablespinMoney); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.disablespinMoney])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonSetRemain = new global::Gamma.GtkWidgets.yButton(); this.buttonSetRemain.CanFocus = true; this.buttonSetRemain.Name = "buttonSetRemain"; this.buttonSetRemain.UseUnderline = true; this.buttonSetRemain.Label = global::Mono.Unix.Catalog.GetString("Весь остаток"); this.hbox4.Add(this.buttonSetRemain); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSetRemain])); w12.Position = 2; w12.Expand = false; w12.Fill = false; this.table3.Add(this.hbox4); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox4])); w13.TopAttach = ((uint)(7)); w13.BottomAttach = ((uint)(8)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; this.table3.Add(this.hbox5); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox5])); w14.TopAttach = ((uint)(6)); w14.BottomAttach = ((uint)(7)); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.yspinFuelTicketLiters = new global::Gamma.GtkWidgets.ySpinButton(0D, 1000D, 10D); this.yspinFuelTicketLiters.WidthRequest = 90; this.yspinFuelTicketLiters.CanFocus = true; this.yspinFuelTicketLiters.Name = "yspinFuelTicketLiters"; this.yspinFuelTicketLiters.Adjustment.PageIncrement = 20D; this.yspinFuelTicketLiters.ClimbRate = 1D; this.yspinFuelTicketLiters.Numeric = true; this.yspinFuelTicketLiters.ValueAsDecimal = 0m; this.yspinFuelTicketLiters.ValueAsInt = 0; this.hbox6.Add(this.yspinFuelTicketLiters); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspinFuelTicketLiters])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.yspeccomboboxSubdivision = new global::Gamma.Widgets.ySpecComboBox(); this.yspeccomboboxSubdivision.Name = "yspeccomboboxSubdivision"; this.yspeccomboboxSubdivision.AddIfNotExist = false; this.yspeccomboboxSubdivision.DefaultFirst = false; this.yspeccomboboxSubdivision.ShowSpecialStateAll = false; this.yspeccomboboxSubdivision.ShowSpecialStateNot = false; this.hbox6.Add(this.yspeccomboboxSubdivision); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspeccomboboxSubdivision])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.table3.Add(this.hbox6); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox6])); w17.TopAttach = ((uint)(4)); w17.BottomAttach = ((uint)(5)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.labelExpenseInfo = new global::Gamma.GtkWidgets.yLabel(); this.labelExpenseInfo.Name = "labelExpenseInfo"; this.labelExpenseInfo.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.hbox7.Add(this.labelExpenseInfo); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.labelExpenseInfo])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonOpenExpense = new global::Gamma.GtkWidgets.yButton(); this.buttonOpenExpense.CanFocus = true; this.buttonOpenExpense.Name = "buttonOpenExpense"; this.buttonOpenExpense.UseUnderline = true; this.buttonOpenExpense.Label = global::Mono.Unix.Catalog.GetString("Открыть расходный ордер"); this.hbox7.Add(this.buttonOpenExpense); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonOpenExpense])); w19.Position = 1; w19.Expand = false; w19.Fill = false; this.table3.Add(this.hbox7); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox7])); w20.TopAttach = ((uint)(8)); w20.BottomAttach = ((uint)(9)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.table3.Add(this.label1); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table3[this.label1])); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Водитель:"); this.table3.Add(this.label2); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table3[this.label2])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Вид топлива:"); this.table3.Add(this.label3); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table3[this.label3])); w23.TopAttach = ((uint)(3)); w23.BottomAttach = ((uint)(4)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Автомобиль:"); this.table3.Add(this.label4); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table3[this.label4])); w24.TopAttach = ((uint)(2)); w24.BottomAttach = ((uint)(3)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Выдано деньгами:"); this.table3.Add(this.label5); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table3[this.label5])); w25.TopAttach = ((uint)(7)); w25.BottomAttach = ((uint)(8)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Выдано талонами(л):"); this.table3.Add(this.label6); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table3[this.label6])); w26.TopAttach = ((uint)(4)); w26.BottomAttach = ((uint)(5)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Стоимость, р/литр:"); this.table3.Add(this.label7); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table3[this.label7])); w27.TopAttach = ((uint)(6)); w27.BottomAttach = ((uint)(7)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.labelAvalilableFuel = new global::Gamma.GtkWidgets.yLabel(); this.labelAvalilableFuel.Name = "labelAvalilableFuel"; this.labelAvalilableFuel.Xalign = 0F; this.labelAvalilableFuel.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.table3.Add(this.labelAvalilableFuel); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table3[this.labelAvalilableFuel])); w28.TopAttach = ((uint)(5)); w28.BottomAttach = ((uint)(6)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.labelResultInfo = new global::Gamma.GtkWidgets.yLabel(); this.labelResultInfo.Name = "labelResultInfo"; this.labelResultInfo.LabelProp = global::Mono.Unix.Catalog.GetString("Итог"); this.table3.Add(this.labelResultInfo); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table3[this.labelResultInfo])); w29.TopAttach = ((uint)(7)); w29.BottomAttach = ((uint)(8)); w29.LeftAttach = ((uint)(2)); w29.RightAttach = ((uint)(3)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ydatepicker = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatepicker.Events = ((global::Gdk.EventMask)(256)); this.ydatepicker.Name = "ydatepicker"; this.ydatepicker.WithTime = false; this.ydatepicker.HideCalendarButton = false; this.ydatepicker.Date = new global::System.DateTime(0); this.ydatepicker.IsEditable = true; this.ydatepicker.AutoSeparation = false; this.table3.Add(this.ydatepicker); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table3[this.ydatepicker])); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(2)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.yentryfuel = new global::Gamma.Widgets.yEntryReference(); this.yentryfuel.Sensitive = false; this.yentryfuel.Events = ((global::Gdk.EventMask)(256)); this.yentryfuel.Name = "yentryfuel"; this.table3.Add(this.yentryfuel); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table3[this.yentryfuel])); w31.TopAttach = ((uint)(3)); w31.BottomAttach = ((uint)(4)); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ytextviewFuelInfo = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewFuelInfo.CanFocus = true; this.ytextviewFuelInfo.Name = "ytextviewFuelInfo"; this.ytextviewFuelInfo.Editable = false; this.table3.Add(this.ytextviewFuelInfo); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table3[this.ytextviewFuelInfo])); w32.BottomAttach = ((uint)(4)); w32.LeftAttach = ((uint)(2)); w32.RightAttach = ((uint)(3)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table3); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table3])); w33.Position = 1; w33.Expand = false; w33.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.buttonOpenExpense.Clicked += new global::System.EventHandler(this.OnButtonOpenExpenseClicked); this.disablespinMoney.ValueChanged += new global::System.EventHandler(this.OnDisablespinMoneyValueChanged); this.buttonSetRemain.Clicked += new global::System.EventHandler(this.OnButtonSetRemainClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Reports.Logistic.DeliveriesLateReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Reports.Logistic.DeliveriesLateReport"; // Container child Vodovoz.Reports.Logistic.DeliveriesLateReport.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.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.dateperiodpicker = new global::QS.Widgets.GtkUI.DateRangePicker(); this.dateperiodpicker.Events = ((global::Gdk.EventMask)(256)); this.dateperiodpicker.Name = "dateperiodpicker"; this.dateperiodpicker.StartDate = new global::System.DateTime(0); this.dateperiodpicker.EndDate = new global::System.DateTime(0); this.table1.Add(this.dateperiodpicker); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodpicker])); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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.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 w3 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); 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.ySpecCmbGeographicGroup = new global::Gamma.Widgets.ySpecComboBox(); this.ySpecCmbGeographicGroup.Name = "ySpecCmbGeographicGroup"; this.ySpecCmbGeographicGroup.AddIfNotExist = false; this.ySpecCmbGeographicGroup.DefaultFirst = false; this.ySpecCmbGeographicGroup.ShowSpecialStateAll = true; this.ySpecCmbGeographicGroup.ShowSpecialStateNot = false; this.table1.Add(this.ySpecCmbGeographicGroup); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.ySpecCmbGeographicGroup])); 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)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.ychkDriverSort = new global::Gamma.GtkWidgets.yCheckButton(); this.ychkDriverSort.CanFocus = true; this.ychkDriverSort.Name = "ychkDriverSort"; this.ychkDriverSort.Label = global::Mono.Unix.Catalog.GetString("Сортировать по водителям"); this.ychkDriverSort.DrawIndicator = true; this.ychkDriverSort.UseUnderline = true; this.vbox1.Add(this.ychkDriverSort); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.ychkDriverSort])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.ycheckExcludeTruckAndOfficeEmployees = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckExcludeTruckAndOfficeEmployees.CanFocus = true; this.ycheckExcludeTruckAndOfficeEmployees.Name = "ycheckExcludeTruckAndOfficeEmployees"; this.ycheckExcludeTruckAndOfficeEmployees.Label = global::Mono.Unix.Catalog.GetString("Исключить водителей фур и офисных работников"); this.ycheckExcludeTruckAndOfficeEmployees.DrawIndicator = true; this.ycheckExcludeTruckAndOfficeEmployees.UseUnderline = true; this.vbox1.Add(this.ycheckExcludeTruckAndOfficeEmployees); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.ycheckExcludeTruckAndOfficeEmployees])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.ycheckAllSelect = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Отображать все заказы")); this.ycheckAllSelect.CanFocus = true; this.ycheckAllSelect.Name = "ycheckAllSelect"; this.ycheckAllSelect.DrawIndicator = true; this.ycheckAllSelect.UseUnderline = true; this.ycheckAllSelect.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.vbox1.Add(this.ycheckAllSelect); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.ycheckAllSelect])); w8.Position = 3; w8.Expand = false; w8.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.ycheckOnlyFastSelect = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Отображать заказы с доставкой за час")); this.ycheckOnlyFastSelect.CanFocus = true; this.ycheckOnlyFastSelect.Name = "ycheckOnlyFastSelect"; this.ycheckOnlyFastSelect.DrawIndicator = true; this.ycheckOnlyFastSelect.UseUnderline = true; this.ycheckOnlyFastSelect.Group = this.ycheckAllSelect.Group; this.vbox1.Add(this.ycheckOnlyFastSelect); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.ycheckOnlyFastSelect])); w9.Position = 4; w9.Expand = false; w9.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.ycheckWithoutFastSelect = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Отображать заказы без доставки за час")); this.ycheckWithoutFastSelect.CanFocus = true; this.ycheckWithoutFastSelect.Name = "ycheckWithoutFastSelect"; this.ycheckWithoutFastSelect.DrawIndicator = true; this.ycheckWithoutFastSelect.UseUnderline = true; this.ycheckWithoutFastSelect.Group = this.ycheckAllSelect.Group; this.vbox1.Add(this.ycheckWithoutFastSelect); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.ycheckWithoutFastSelect])); w10.Position = 5; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.buttonCreateReport = new global::Gtk.Button(); this.buttonCreateReport.CanFocus = true; this.buttonCreateReport.Name = "buttonCreateReport"; this.buttonCreateReport.UseUnderline = true; this.buttonCreateReport.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.vbox1.Add(this.buttonCreateReport); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.buttonCreateReport])); w11.Position = 6; w11.Expand = false; w11.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonCreateReport.Clicked += new global::System.EventHandler(this.OnButtonCreateReportClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.Payments.PaymentsFromTinkoffReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Payments.PaymentsFromTinkoffReport"; // Container child Vodovoz.ReportsParameters.Payments.PaymentsFromTinkoffReport.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.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)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.dateperiodpicker = new global::QSWidgetLib.DatePeriodPicker(); this.dateperiodpicker.Events = ((global::Gdk.EventMask)(256)); this.dateperiodpicker.Name = "dateperiodpicker"; this.dateperiodpicker.StartDate = new global::System.DateTime(0); this.dateperiodpicker.EndDate = new global::System.DateTime(0); this.table1.Add(this.dateperiodpicker); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodpicker])); w1.TopAttach = ((uint)(3)); w1.BottomAttach = ((uint)(4)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child 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.lblShop = new global::Gamma.GtkWidgets.yLabel(); this.lblShop.Name = "lblShop"; this.lblShop.Xalign = 1F; this.lblShop.LabelProp = global::Mono.Unix.Catalog.GetString("Магазин:"); this.hbox2.Add(this.lblShop); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.lblShop])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.ySCmbShop = new global::Gamma.Widgets.ySpecComboBox(); this.ySCmbShop.Name = "ySCmbShop"; this.ySCmbShop.AddIfNotExist = false; this.ySCmbShop.DefaultFirst = false; this.ySCmbShop.ShowSpecialStateAll = true; this.ySCmbShop.ShowSpecialStateNot = false; this.hbox2.Add(this.ySCmbShop); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.ySCmbShop])); w3.Position = 1; this.table1.Add(this.hbox2); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox2])); w4.RightAttach = ((uint)(2)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.rbtnCustomPeriod = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("За период")); this.rbtnCustomPeriod.CanFocus = true; this.rbtnCustomPeriod.Name = "rbtnCustomPeriod"; this.rbtnCustomPeriod.DrawIndicator = true; this.rbtnCustomPeriod.UseUnderline = true; this.rbtnCustomPeriod.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.table1.Add(this.rbtnCustomPeriod); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.rbtnCustomPeriod])); 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.rbtnLast3Days = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("За последние 3 дня")); this.rbtnLast3Days.CanFocus = true; this.rbtnLast3Days.Name = "rbtnLast3Days"; this.rbtnLast3Days.DrawIndicator = true; this.rbtnLast3Days.UseUnderline = true; this.rbtnLast3Days.Group = this.rbtnCustomPeriod.Group; this.table1.Add(this.rbtnLast3Days); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.rbtnLast3Days])); 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.rbtnYesterday = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("За вчера")); this.rbtnYesterday.CanFocus = true; this.rbtnYesterday.Name = "rbtnYesterday"; this.rbtnYesterday.DrawIndicator = true; this.rbtnYesterday.UseUnderline = true; this.rbtnYesterday.Group = this.rbtnCustomPeriod.Group; this.table1.Add(this.rbtnYesterday); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.rbtnYesterday])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.buttonRun = new global::Gtk.Button(); this.buttonRun.CanFocus = true; this.buttonRun.Name = "buttonRun"; this.buttonRun.UseUnderline = true; this.buttonRun.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.vbox2.Add(this.buttonRun); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.buttonRun])); w9.PackType = ((global::Gtk.PackType)(1)); w9.Position = 1; w9.Expand = false; w9.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonRun.Clicked += new global::System.EventHandler(this.OnButtonRunClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Cash.PaymentByCardView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Cash.PaymentByCardView"; // Container child Vodovoz.Views.Cash.PaymentByCardView.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.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("Сохранить"); this.hbox2.Add(this.ybuttonSave); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.ybuttonSave])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox2.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.hbox2.Add(this.ybuttonCancel); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.ybuttonCancel])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w3.Position = 0; w3.Expand = false; w3.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 w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.entryOnlineOrder = new global::QS.Widgets.ValidatedEntry(); this.entryOnlineOrder.CanFocus = true; this.entryOnlineOrder.Name = "entryOnlineOrder"; this.entryOnlineOrder.IsEditable = true; this.entryOnlineOrder.InvisibleChar = '•'; this.hbox1.Add(this.entryOnlineOrder); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.entryOnlineOrder])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.comboPaymentFrom = new global::Gamma.Widgets.ySpecComboBox(); this.comboPaymentFrom.Name = "comboPaymentFrom"; this.comboPaymentFrom.AddIfNotExist = false; this.comboPaymentFrom.DefaultFirst = false; this.comboPaymentFrom.ShowSpecialStateAll = false; this.comboPaymentFrom.ShowSpecialStateNot = false; this.hbox1.Add(this.comboPaymentFrom); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.comboPaymentFrom])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w7.Position = 1; w7.Expand = false; w7.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 Vodovoz.Filters.GtkViews.CallTaskFilterView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Filters.GtkViews.CallTaskFilterView"; // Container child Vodovoz.Filters.GtkViews.CallTaskFilterView.Gtk.Container+ContainerChild this.vboxFilter = new global::Gtk.VBox(); this.vboxFilter.Name = "vboxFilter"; this.vboxFilter.Spacing = 6; // Container child vboxFilter.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("ФИО оператора :"); this.hbox1.Add(this.label3); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label3])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.entVMEmployee = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entVMEmployee.Events = ((global::Gdk.EventMask)(256)); this.entVMEmployee.Name = "entVMEmployee"; this.entVMEmployee.CanEditReference = false; this.hbox1.Add(this.entVMEmployee); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.entVMEmployee])); w2.Position = 1; w2.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.showWithoutCheckButton = new global::Gamma.GtkWidgets.yCheckButton(); this.showWithoutCheckButton.CanFocus = true; this.showWithoutCheckButton.Name = "showWithoutCheckButton"; this.showWithoutCheckButton.Label = global::Mono.Unix.Catalog.GetString("Только задачи без ответственного"); this.showWithoutCheckButton.Active = true; this.showWithoutCheckButton.DrawIndicator = true; this.showWithoutCheckButton.UseUnderline = true; this.hbox1.Add(this.showWithoutCheckButton); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.showWithoutCheckButton])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.checkbuttonHideCompleted = new global::Gamma.GtkWidgets.yCheckButton(); this.checkbuttonHideCompleted.CanFocus = true; this.checkbuttonHideCompleted.Name = "checkbuttonHideCompleted"; this.checkbuttonHideCompleted.Label = global::Mono.Unix.Catalog.GetString("Скрыть выполненые"); this.checkbuttonHideCompleted.Active = true; this.checkbuttonHideCompleted.DrawIndicator = true; this.checkbuttonHideCompleted.UseUnderline = true; this.hbox1.Add(this.checkbuttonHideCompleted); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.checkbuttonHideCompleted])); w4.Position = 3; w4.Expand = false; w4.Fill = false; this.vboxFilter.Add(this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxFilter[this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vboxFilter.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.comboboxDateType = new global::Gamma.Widgets.yEnumComboBox(); this.comboboxDateType.Name = "comboboxDateType"; this.comboboxDateType.ShowSpecialStateAll = false; this.comboboxDateType.ShowSpecialStateNot = false; this.comboboxDateType.UseShortTitle = false; this.comboboxDateType.DefaultFirst = false; this.hbox3.Add(this.comboboxDateType); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.comboboxDateType])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.dateperiodpickerDateFilter = new global::QS.Widgets.GtkUI.DateRangePicker(); this.dateperiodpickerDateFilter.Events = ((global::Gdk.EventMask)(256)); this.dateperiodpickerDateFilter.Name = "dateperiodpickerDateFilter"; this.dateperiodpickerDateFilter.StartDate = new global::System.DateTime(0); this.dateperiodpickerDateFilter.EndDate = new global::System.DateTime(0); this.hbox3.Add(this.dateperiodpickerDateFilter); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.dateperiodpickerDateFilter])); w7.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hbox3.Add(this.vseparator2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vseparator2])); w8.Position = 2; w8.Expand = false; w8.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Тип объекта: "); this.hbox3.Add(this.label1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label1])); w9.Position = 3; w9.Expand = false; w9.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.specialListCmbboxDlvPointCategory = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.specialListCmbboxDlvPointCategory.Name = "specialListCmbboxDlvPointCategory"; this.specialListCmbboxDlvPointCategory.AddIfNotExist = false; this.specialListCmbboxDlvPointCategory.DefaultFirst = false; this.specialListCmbboxDlvPointCategory.ShowSpecialStateAll = false; this.specialListCmbboxDlvPointCategory.ShowSpecialStateNot = true; this.hbox3.Add(this.specialListCmbboxDlvPointCategory); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.specialListCmbboxDlvPointCategory])); w10.Position = 4; w10.Expand = false; w10.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yenumcomboboxSortingDirection = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxSortingDirection.Name = "yenumcomboboxSortingDirection"; this.yenumcomboboxSortingDirection.ShowSpecialStateAll = false; this.yenumcomboboxSortingDirection.ShowSpecialStateNot = false; this.yenumcomboboxSortingDirection.UseShortTitle = false; this.yenumcomboboxSortingDirection.DefaultFirst = false; this.hbox3.Add(this.yenumcomboboxSortingDirection); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yenumcomboboxSortingDirection])); w11.Position = 5; w11.Expand = false; w11.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yenumcomboboxSortingParam = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxSortingParam.Name = "yenumcomboboxSortingParam"; this.yenumcomboboxSortingParam.ShowSpecialStateAll = false; this.yenumcomboboxSortingParam.ShowSpecialStateNot = false; this.yenumcomboboxSortingParam.UseShortTitle = false; this.yenumcomboboxSortingParam.DefaultFirst = false; this.hbox3.Add(this.yenumcomboboxSortingParam); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yenumcomboboxSortingParam])); w12.Position = 6; w12.Expand = false; w12.Fill = false; this.vboxFilter.Add(this.hbox3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vboxFilter[this.hbox3])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child vboxFilter.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonExpired = new global::Gtk.Button(); this.buttonExpired.CanFocus = true; this.buttonExpired.Name = "buttonExpired"; this.buttonExpired.UseUnderline = true; this.buttonExpired.Label = global::Mono.Unix.Catalog.GetString("Просрочено"); this.hbox5.Add(this.buttonExpired); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonExpired])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonToday = new global::Gtk.Button(); this.buttonToday.CanFocus = true; this.buttonToday.Name = "buttonToday"; this.buttonToday.UseUnderline = true; this.buttonToday.Label = global::Mono.Unix.Catalog.GetString("Сегодня"); this.hbox5.Add(this.buttonToday); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonToday])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonTomorrow = new global::Gtk.Button(); this.buttonTomorrow.CanFocus = true; this.buttonTomorrow.Name = "buttonTomorrow"; this.buttonTomorrow.UseUnderline = true; this.buttonTomorrow.Label = global::Mono.Unix.Catalog.GetString("Завтра"); this.hbox5.Add(this.buttonTomorrow); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonTomorrow])); w16.Position = 2; w16.Expand = false; w16.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonThisWeek = new global::Gtk.Button(); this.buttonThisWeek.CanFocus = true; this.buttonThisWeek.Name = "buttonThisWeek"; this.buttonThisWeek.UseUnderline = true; this.buttonThisWeek.Label = global::Mono.Unix.Catalog.GetString("На этой неделе"); this.hbox5.Add(this.buttonThisWeek); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonThisWeek])); w17.Position = 3; w17.Expand = false; w17.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonNextWeek = new global::Gtk.Button(); this.buttonNextWeek.CanFocus = true; this.buttonNextWeek.Name = "buttonNextWeek"; this.buttonNextWeek.UseUnderline = true; this.buttonNextWeek.Label = global::Mono.Unix.Catalog.GetString("На следующей неделе"); this.hbox5.Add(this.buttonNextWeek); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonNextWeek])); w18.Position = 4; w18.Expand = false; w18.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox5.Add(this.vseparator1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vseparator1])); w19.Position = 5; w19.Expand = false; w19.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Район города:"); this.hbox5.Add(this.label7); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.label7])); w20.Position = 6; w20.Expand = false; w20.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.ySpecCmbGeographicGroup = new global::Gamma.Widgets.ySpecComboBox(); this.ySpecCmbGeographicGroup.Name = "ySpecCmbGeographicGroup"; this.ySpecCmbGeographicGroup.AddIfNotExist = false; this.ySpecCmbGeographicGroup.DefaultFirst = false; this.ySpecCmbGeographicGroup.ShowSpecialStateAll = true; this.ySpecCmbGeographicGroup.ShowSpecialStateNot = false; this.hbox5.Add(this.ySpecCmbGeographicGroup); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.ySpecCmbGeographicGroup])); w21.Position = 7; w21.Expand = false; w21.Fill = false; this.vboxFilter.Add(this.hbox5); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vboxFilter[this.hbox5])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.Add(this.vboxFilter); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Filters.GtkViews.ComplaintFilterView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Filters.GtkViews.ComplaintFilterView"; // Container child Vodovoz.Filters.GtkViews.ComplaintFilterView.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.table4 = new global::Gtk.Table(((uint)(4)), ((uint)(3)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.entryCounterparty = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryCounterparty.Events = ((global::Gdk.EventMask)(256)); this.entryCounterparty.Name = "entryCounterparty"; this.entryCounterparty.CanEditReference = true; this.table4.Add(this.entryCounterparty); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table4[this.entryCounterparty])); w1.TopAttach = ((uint)(2)); w1.BottomAttach = ((uint)(3)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.evmeAuthor = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeAuthor.Events = ((global::Gdk.EventMask)(256)); this.evmeAuthor.Name = "evmeAuthor"; this.evmeAuthor.CanEditReference = true; this.table4.Add(this.evmeAuthor); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table4[this.evmeAuthor])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Дата"); this.hbox3.Add(this.label5); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label5])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yenumcomboboxDateType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxDateType.Name = "yenumcomboboxDateType"; this.yenumcomboboxDateType.ShowSpecialStateAll = false; this.yenumcomboboxDateType.ShowSpecialStateNot = false; this.yenumcomboboxDateType.UseShortTitle = false; this.yenumcomboboxDateType.DefaultFirst = false; this.hbox3.Add(this.yenumcomboboxDateType); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yenumcomboboxDateType])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.daterangepicker = new global::QS.Widgets.GtkUI.DateRangePicker(); this.daterangepicker.Events = ((global::Gdk.EventMask)(256)); this.daterangepicker.Name = "daterangepicker"; this.daterangepicker.StartDate = new global::System.DateTime(0); this.daterangepicker.EndDate = new global::System.DateTime(0); this.hbox3.Add(this.daterangepicker); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.daterangepicker])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.table4.Add(this.hbox3); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table4[this.hbox3])); w6.TopAttach = ((uint)(3)); w6.BottomAttach = ((uint)(4)); w6.RightAttach = ((uint)(3)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.ybuttonMyComplaint = new global::Gamma.GtkWidgets.yButton(); this.ybuttonMyComplaint.CanFocus = true; this.ybuttonMyComplaint.Name = "ybuttonMyComplaint"; this.ybuttonMyComplaint.UseUnderline = true; this.ybuttonMyComplaint.Label = global::Mono.Unix.Catalog.GetString("Мои рекламации"); this.hbox5.Add(this.ybuttonMyComplaint); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.ybuttonMyComplaint])); w7.Position = 0; w7.Expand = false; w7.Fill = false; this.table4.Add(this.hbox5); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table4[this.hbox5])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(2)); w8.RightAttach = ((uint)(3)); w8.XPadding = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.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.table4.Add(this.label3); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table4[this.label3])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.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.table4.Add(this.label4); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table4[this.label4])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.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.table4.Add(this.label6); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table4[this.label6])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.yentryreferenceSubdivision = new global::Gamma.Widgets.yEntryReference(); this.yentryreferenceSubdivision.Events = ((global::Gdk.EventMask)(256)); this.yentryreferenceSubdivision.Name = "yentryreferenceSubdivision"; this.table4.Add(this.yentryreferenceSubdivision); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table4[this.yentryreferenceSubdivision])); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table4); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table4])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vseparator3 = new global::Gtk.VSeparator(); this.vseparator3.Name = "vseparator3"; this.hbox1.Add(this.vseparator3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator3])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.frmGuilty = new global::Gtk.Frame(); this.frmGuilty.Name = "frmGuilty"; this.frmGuilty.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frmGuilty.Gtk.Container+ContainerChild this.GtkAlignment6 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment6.Name = "GtkAlignment6"; this.GtkAlignment6.LeftPadding = ((uint)(12)); // Container child GtkAlignment6.Gtk.Container+ContainerChild this.guiltyItemView = new global::Vodovoz.Views.Complaints.GuiltyItemView(); this.guiltyItemView.Events = ((global::Gdk.EventMask)(256)); this.guiltyItemView.Name = "guiltyItemView"; this.GtkAlignment6.Add(this.guiltyItemView); this.frmGuilty.Add(this.GtkAlignment6); this.GtkLabel10 = new global::Gtk.Label(); this.GtkLabel10.Name = "GtkLabel10"; this.GtkLabel10.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Виновный:</b>"); this.GtkLabel10.UseMarkup = true; this.frmGuilty.LabelWidget = this.GtkLabel10; this.hbox1.Add(this.frmGuilty); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.frmGuilty])); w17.Position = 2; w17.Expand = false; w17.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hbox1.Add(this.vseparator2); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator2])); w18.Position = 3; w18.Expand = false; w18.Fill = false; // Container child hbox1.Gtk.Box+BoxChild 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.cmbComplaintKind = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.cmbComplaintKind.Name = "cmbComplaintKind"; this.cmbComplaintKind.AddIfNotExist = false; this.cmbComplaintKind.DefaultFirst = false; this.cmbComplaintKind.ShowSpecialStateAll = true; this.cmbComplaintKind.ShowSpecialStateNot = false; this.table1.Add(this.cmbComplaintKind); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.cmbComplaintKind])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child 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 w20 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.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 w21 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblComplaintKind = new global::Gtk.Label(); this.lblComplaintKind.Name = "lblComplaintKind"; this.lblComplaintKind.Xalign = 1F; this.lblComplaintKind.LabelProp = global::Mono.Unix.Catalog.GetString("Вид:"); this.table1.Add(this.lblComplaintKind); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.lblComplaintKind])); w22.TopAttach = ((uint)(3)); w22.BottomAttach = ((uint)(4)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblComplaintObject = new global::Gtk.Label(); this.lblComplaintObject.Name = "lblComplaintObject"; this.lblComplaintObject.Xalign = 1F; this.lblComplaintObject.LabelProp = global::Mono.Unix.Catalog.GetString("Объект рекламаций:"); this.table1.Add(this.lblComplaintObject); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.lblComplaintObject])); 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.yenumcomboboxCurrentSubdivisionStatus = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxCurrentSubdivisionStatus.Name = "yenumcomboboxCurrentSubdivisionStatus"; this.yenumcomboboxCurrentSubdivisionStatus.ShowSpecialStateAll = true; this.yenumcomboboxCurrentSubdivisionStatus.ShowSpecialStateNot = false; this.yenumcomboboxCurrentSubdivisionStatus.UseShortTitle = false; this.yenumcomboboxCurrentSubdivisionStatus.DefaultFirst = false; this.table1.Add(this.yenumcomboboxCurrentSubdivisionStatus); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumcomboboxCurrentSubdivisionStatus])); w24.LeftAttach = ((uint)(3)); w24.RightAttach = ((uint)(4)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yenumcomboboxStatus = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxStatus.Name = "yenumcomboboxStatus"; this.yenumcomboboxStatus.ShowSpecialStateAll = true; this.yenumcomboboxStatus.ShowSpecialStateNot = false; this.yenumcomboboxStatus.UseShortTitle = false; this.yenumcomboboxStatus.DefaultFirst = false; this.table1.Add(this.yenumcomboboxStatus); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumcomboboxStatus])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yenumcomboboxType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxType.Name = "yenumcomboboxType"; this.yenumcomboboxType.ShowSpecialStateAll = true; this.yenumcomboboxType.ShowSpecialStateNot = false; this.yenumcomboboxType.UseShortTitle = false; this.yenumcomboboxType.DefaultFirst = false; this.table1.Add(this.yenumcomboboxType); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumcomboboxType])); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelEmployeeSubdivisionStatus = new global::Gamma.GtkWidgets.yLabel(); this.ylabelEmployeeSubdivisionStatus.Name = "ylabelEmployeeSubdivisionStatus"; this.ylabelEmployeeSubdivisionStatus.Xalign = 1F; this.ylabelEmployeeSubdivisionStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус в отделе %отдел%:"); this.table1.Add(this.ylabelEmployeeSubdivisionStatus); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelEmployeeSubdivisionStatus])); 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.yspeccomboboxComplaintObject = new global::Gamma.Widgets.ySpecComboBox(); this.yspeccomboboxComplaintObject.Name = "yspeccomboboxComplaintObject"; this.yspeccomboboxComplaintObject.AddIfNotExist = false; this.yspeccomboboxComplaintObject.DefaultFirst = false; this.yspeccomboboxComplaintObject.ShowSpecialStateAll = false; this.yspeccomboboxComplaintObject.ShowSpecialStateNot = false; this.table1.Add(this.yspeccomboboxComplaintObject); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1[this.yspeccomboboxComplaintObject])); w28.TopAttach = ((uint)(2)); w28.BottomAttach = ((uint)(3)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table1); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table1])); w29.Position = 4; w29.Expand = false; w29.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w30.Position = 0; w30.Expand = false; w30.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 w31 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hseparator1])); w31.Position = 1; w31.Expand = false; w31.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 Vodovoz.WriteoffDocumentDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.WriteoffDocumentDlg"; // Container child Vodovoz.WriteoffDocumentDlg.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(6)); // Container child vbox4.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox5.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox5.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonPrint = new global::Gtk.Button(); this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w5; this.hbox5.Add(this.buttonPrint); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonPrint])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox4.Add(this.hbox5); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox5])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.tableWriteoff = new global::Gtk.Table(((uint)(4)), ((uint)(4)), false); this.tableWriteoff.Name = "tableWriteoff"; this.tableWriteoff.RowSpacing = ((uint)(6)); this.tableWriteoff.ColumnSpacing = ((uint)(6)); // Container child tableWriteoff.Gtk.Table+TableChild this.comboType = new global::Gamma.Widgets.yEnumComboBox(); this.comboType.CanFocus = true; this.comboType.Name = "comboType"; this.comboType.ShowSpecialStateAll = false; this.comboType.ShowSpecialStateNot = false; this.comboType.UseShortTitle = false; this.comboType.DefaultFirst = false; this.tableWriteoff.Add(this.comboType); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.comboType])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.evmeCounterparty = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeCounterparty.Events = ((global::Gdk.EventMask)(256)); this.evmeCounterparty.Name = "evmeCounterparty"; this.evmeCounterparty.CanEditReference = true; this.tableWriteoff.Add(this.evmeCounterparty); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.evmeCounterparty])); 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 tableWriteoff.Gtk.Table+TableChild this.evmeDeliveryPoint = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeDeliveryPoint.Events = ((global::Gdk.EventMask)(256)); this.evmeDeliveryPoint.Name = "evmeDeliveryPoint"; this.evmeDeliveryPoint.CanEditReference = false; this.tableWriteoff.Add(this.evmeDeliveryPoint); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.evmeDeliveryPoint])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(3)); w10.RightAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.evmeEmployee = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeEmployee.Events = ((global::Gdk.EventMask)(256)); this.evmeEmployee.Name = "evmeEmployee"; this.evmeEmployee.CanEditReference = true; this.tableWriteoff.Add(this.evmeEmployee); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.evmeEmployee])); w11.LeftAttach = ((uint)(3)); w11.RightAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.textComment = new global::Gamma.GtkWidgets.yTextView(); this.textComment.CanFocus = true; this.textComment.Name = "textComment"; this.GtkScrolledWindow1.Add(this.textComment); this.tableWriteoff.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.GtkScrolledWindow1])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.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 w14 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label1])); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Ответственное лицо:"); this.tableWriteoff.Add(this.label12); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label12])); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.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 w16 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label2])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.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 w17 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label4])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child 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 w18 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label5])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Клиент:"); this.tableWriteoff.Add(this.label6); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label6])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Точка доставки:"); this.tableWriteoff.Add(this.label7); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label7])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(2)); w20.RightAttach = ((uint)(3)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.labelTimeStamp = new global::Gamma.GtkWidgets.yLabel(); this.labelTimeStamp.Name = "labelTimeStamp"; this.labelTimeStamp.Xalign = 0F; this.tableWriteoff.Add(this.labelTimeStamp); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.labelTimeStamp])); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.ySpecCmbWarehouses = new global::Gamma.Widgets.ySpecComboBox(); this.ySpecCmbWarehouses.Name = "ySpecCmbWarehouses"; this.ySpecCmbWarehouses.AddIfNotExist = false; this.ySpecCmbWarehouses.DefaultFirst = false; this.ySpecCmbWarehouses.ShowSpecialStateAll = false; this.ySpecCmbWarehouses.ShowSpecialStateNot = true; this.tableWriteoff.Add(this.ySpecCmbWarehouses); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.ySpecCmbWarehouses])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.LeftAttach = ((uint)(3)); w22.RightAttach = ((uint)(4)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add(this.tableWriteoff); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.tableWriteoff])); w23.Position = 1; w23.Expand = false; w23.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.writeoffdocumentitemsview1 = new global::Vodovoz.WriteoffDocumentItemsView(); this.writeoffdocumentitemsview1.Events = ((global::Gdk.EventMask)(256)); this.writeoffdocumentitemsview1.Name = "writeoffdocumentitemsview1"; this.vbox4.Add(this.writeoffdocumentitemsview1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.writeoffdocumentitemsview1])); w24.PackType = ((global::Gtk.PackType)(1)); w24.Position = 2; this.Add(this.vbox4); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonPrint.Clicked += new global::System.EventHandler(this.OnButtonPrintClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Filters.GtkViews.DebtorsFilterView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Filters.GtkViews.DebtorsFilterView"; // Container child Vodovoz.Filters.GtkViews.DebtorsFilterView.Gtk.Container+ContainerChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.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.entityVMEntryDeliveryPoint = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityVMEntryDeliveryPoint.Events = ((global::Gdk.EventMask)(256)); this.entityVMEntryDeliveryPoint.Name = "entityVMEntryDeliveryPoint"; this.entityVMEntryDeliveryPoint.CanEditReference = false; this.table1.Add(this.entityVMEntryDeliveryPoint); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.entityVMEntryDeliveryPoint])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryreferenceClient = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryreferenceClient.Events = ((global::Gdk.EventMask)(256)); this.entryreferenceClient.Name = "entryreferenceClient"; this.entryreferenceClient.CanEditReference = false; this.table1.Add(this.entryreferenceClient); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entryreferenceClient])); 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.hboxBottleDebtCount = new global::Gtk.HBox(); this.hboxBottleDebtCount.Name = "hboxBottleDebtCount"; this.hboxBottleDebtCount.Spacing = 6; // Container child hboxBottleDebtCount.Gtk.Box+BoxChild this.yvalidatedentryDebtFrom = new global::Gamma.Widgets.yValidatedEntry(); this.yvalidatedentryDebtFrom.CanFocus = true; this.yvalidatedentryDebtFrom.Name = "yvalidatedentryDebtFrom"; this.yvalidatedentryDebtFrom.IsEditable = true; this.yvalidatedentryDebtFrom.InvisibleChar = '•'; this.hboxBottleDebtCount.Add(this.yvalidatedentryDebtFrom); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxBottleDebtCount[this.yvalidatedentryDebtFrom])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hboxBottleDebtCount.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("до"); this.hboxBottleDebtCount.Add(this.label6); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxBottleDebtCount[this.label6])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hboxBottleDebtCount.Gtk.Box+BoxChild this.yvalidatedentryDebtTo = new global::Gamma.Widgets.yValidatedEntry(); this.yvalidatedentryDebtTo.CanFocus = true; this.yvalidatedentryDebtTo.Name = "yvalidatedentryDebtTo"; this.yvalidatedentryDebtTo.IsEditable = true; this.yvalidatedentryDebtTo.InvisibleChar = '•'; this.hboxBottleDebtCount.Add(this.yvalidatedentryDebtTo); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxBottleDebtCount[this.yvalidatedentryDebtTo])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.table1.Add(this.hboxBottleDebtCount); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.hboxBottleDebtCount])); w6.TopAttach = ((uint)(3)); w6.BottomAttach = ((uint)(4)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("ОПФ"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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.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.yenumcomboboxOPF = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxOPF.Name = "yenumcomboboxOPF"; this.yenumcomboboxOPF.ShowSpecialStateAll = true; this.yenumcomboboxOPF.ShowSpecialStateNot = false; this.yenumcomboboxOPF.UseShortTitle = false; this.yenumcomboboxOPF.DefaultFirst = false; this.table1.Add(this.yenumcomboboxOPF); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumcomboboxOPF])); 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)); this.hbox2.Add(this.table1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.table1])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.vseparator6 = new global::Gtk.VSeparator(); this.vseparator6.Name = "vseparator6"; this.hbox2.Add(this.vseparator6); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vseparator6])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(4)), ((uint)(4)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.entityviewmodelentryNomenclature = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityviewmodelentryNomenclature.Events = ((global::Gdk.EventMask)(256)); this.entityviewmodelentryNomenclature.Name = "entityviewmodelentryNomenclature"; this.entityviewmodelentryNomenclature.CanEditReference = false; this.table2.Add(this.entityviewmodelentryNomenclature); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2[this.entityviewmodelentryNomenclature])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); 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.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.ydateperiodpickerLastOrder = new global::QS.Widgets.GtkUI.DateRangePicker(); this.ydateperiodpickerLastOrder.Events = ((global::Gdk.EventMask)(256)); this.ydateperiodpickerLastOrder.Name = "ydateperiodpickerLastOrder"; this.ydateperiodpickerLastOrder.StartDate = new global::System.DateTime(0); this.ydateperiodpickerLastOrder.EndDate = new global::System.DateTime(0); this.hbox5.Add(this.ydateperiodpickerLastOrder); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.ydateperiodpickerLastOrder])); w15.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.ycheckbuttonHideActive = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckbuttonHideActive.CanFocus = true; this.ycheckbuttonHideActive.Name = "ycheckbuttonHideActive"; this.ycheckbuttonHideActive.Label = global::Mono.Unix.Catalog.GetString("Скрыть активных"); this.ycheckbuttonHideActive.DrawIndicator = true; this.ycheckbuttonHideActive.UseUnderline = true; this.hbox5.Add(this.ycheckbuttonHideActive); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.ycheckbuttonHideActive])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.table2.Add(this.hbox5); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2[this.hbox5])); 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.hboxBottlesCount = new global::Gtk.HBox(); this.hboxBottlesCount.Name = "hboxBottlesCount"; this.hboxBottlesCount.Spacing = 6; // Container child hboxBottlesCount.Gtk.Box+BoxChild this.yvalidatedentryBottlesFrom = new global::Gamma.Widgets.yValidatedEntry(); this.yvalidatedentryBottlesFrom.CanFocus = true; this.yvalidatedentryBottlesFrom.Name = "yvalidatedentryBottlesFrom"; this.yvalidatedentryBottlesFrom.IsEditable = true; this.yvalidatedentryBottlesFrom.InvisibleChar = '•'; this.hboxBottlesCount.Add(this.yvalidatedentryBottlesFrom); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hboxBottlesCount[this.yvalidatedentryBottlesFrom])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child hboxBottlesCount.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("до"); this.hboxBottlesCount.Add(this.label8); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hboxBottlesCount[this.label8])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child hboxBottlesCount.Gtk.Box+BoxChild this.yvalidatedentryBottlesTo = new global::Gamma.Widgets.yValidatedEntry(); this.yvalidatedentryBottlesTo.CanFocus = true; this.yvalidatedentryBottlesTo.Name = "yvalidatedentryBottlesTo"; this.yvalidatedentryBottlesTo.IsEditable = true; this.yvalidatedentryBottlesTo.InvisibleChar = '•'; this.hboxBottlesCount.Add(this.yvalidatedentryBottlesTo); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hboxBottlesCount[this.yvalidatedentryBottlesTo])); w20.Position = 2; w20.Expand = false; w20.Fill = false; this.table2.Add(this.hboxBottlesCount); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table2[this.hboxBottlesCount])); w21.TopAttach = ((uint)(3)); w21.BottomAttach = ((uint)(4)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("ТМЦ в посл. заказе:"); this.table2.Add(this.label10); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table2[this.label10])); w22.TopAttach = ((uint)(2)); w22.BottomAttach = ((uint)(3)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Последн. заказ :"); this.table2.Add(this.label3); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table2[this.label3])); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Бутылей От"); this.table2.Add(this.label7); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2[this.label7])); w24.TopAttach = ((uint)(3)); w24.BottomAttach = ((uint)(4)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Основание скидки:"); this.table2.Add(this.label9); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2[this.label9])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ycheckbuttonHideOneOrder = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckbuttonHideOneOrder.CanFocus = true; this.ycheckbuttonHideOneOrder.Name = "ycheckbuttonHideOneOrder"; this.ycheckbuttonHideOneOrder.Label = global::Mono.Unix.Catalog.GetString("Скрыть клиентов с одним заказом"); this.ycheckbuttonHideOneOrder.DrawIndicator = true; this.ycheckbuttonHideOneOrder.UseUnderline = true; this.table2.Add(this.ycheckbuttonHideOneOrder); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2[this.ycheckbuttonHideOneOrder])); w26.LeftAttach = ((uint)(2)); w26.RightAttach = ((uint)(3)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ycheckbuttonHideWithoutEmail = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckbuttonHideWithoutEmail.CanFocus = true; this.ycheckbuttonHideWithoutEmail.Name = "ycheckbuttonHideWithoutEmail"; this.ycheckbuttonHideWithoutEmail.Label = global::Mono.Unix.Catalog.GetString("Скрыть клиентов без Email"); this.ycheckbuttonHideWithoutEmail.DrawIndicator = true; this.ycheckbuttonHideWithoutEmail.UseUnderline = true; this.table2.Add(this.ycheckbuttonHideWithoutEmail); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table2[this.ycheckbuttonHideWithoutEmail])); w27.TopAttach = ((uint)(1)); w27.BottomAttach = ((uint)(2)); w27.LeftAttach = ((uint)(2)); w27.RightAttach = ((uint)(3)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ycheckbuttonShowCancellation = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckbuttonShowCancellation.CanFocus = true; this.ycheckbuttonShowCancellation.Name = "ycheckbuttonShowCancellation"; this.ycheckbuttonShowCancellation.Label = global::Mono.Unix.Catalog.GetString("Показать клиентов только с признаком расторжения"); this.ycheckbuttonShowCancellation.DrawIndicator = true; this.ycheckbuttonShowCancellation.UseUnderline = true; this.table2.Add(this.ycheckbuttonShowCancellation); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table2[this.ycheckbuttonShowCancellation])); w28.LeftAttach = ((uint)(3)); w28.RightAttach = ((uint)(4)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ycheckbuttonShowSuspended = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckbuttonShowSuspended.CanFocus = true; this.ycheckbuttonShowSuspended.Name = "ycheckbuttonShowSuspended"; this.ycheckbuttonShowSuspended.Label = global::Mono.Unix.Catalog.GetString("Показать клиентов только с признаком приостановлено"); this.ycheckbuttonShowSuspended.DrawIndicator = true; this.ycheckbuttonShowSuspended.UseUnderline = true; this.table2.Add(this.ycheckbuttonShowSuspended); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table2[this.ycheckbuttonShowSuspended])); w29.TopAttach = ((uint)(1)); w29.BottomAttach = ((uint)(2)); w29.LeftAttach = ((uint)(3)); w29.RightAttach = ((uint)(4)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ycomboboxReason = new global::Gamma.Widgets.ySpecComboBox(); this.ycomboboxReason.Name = "ycomboboxReason"; this.ycomboboxReason.AddIfNotExist = false; this.ycomboboxReason.DefaultFirst = false; this.ycomboboxReason.ShowSpecialStateAll = false; this.ycomboboxReason.ShowSpecialStateNot = true; this.table2.Add(this.ycomboboxReason); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table2[this.ycomboboxReason])); w30.TopAttach = ((uint)(1)); w30.BottomAttach = ((uint)(2)); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(2)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox2.Add(this.table2); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.table2])); w31.Position = 2; w31.Expand = false; w31.Fill = 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 w32 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vseparator1])); w32.PackType = ((global::Gtk.PackType)(1)); w32.Position = 3; w32.Expand = false; w32.Fill = false; this.Add(this.hbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.entryreferenceClient.ChangedByUser += new global::System.EventHandler(this.OnEntryreferenceClientChanged); }