protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Fuel.FuelIncomeInvoiceView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Fuel.FuelIncomeInvoiceView"; // Container child Vodovoz.Dialogs.Fuel.FuelIncomeInvoiceView.Gtk.Container+ContainerChild this.vboxDialog = new global::Gtk.VBox(); this.vboxDialog.Name = "vboxDialog"; this.vboxDialog.Spacing = 6; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hboxDialogButtons.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hboxDialogButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vboxDialog.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxDialogButtons])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.tableState = new global::Gtk.Table(((uint)(1)), ((uint)(5)), false); this.tableState.Name = "tableState"; this.tableState.RowSpacing = ((uint)(6)); this.tableState.ColumnSpacing = ((uint)(6)); // Container child tableState.Gtk.Table+TableChild this.labelAuthor = new global::Gtk.Label(); this.labelAuthor.Name = "labelAuthor"; this.labelAuthor.Xalign = 1F; this.labelAuthor.LabelProp = global::Mono.Unix.Catalog.GetString("Автор:"); this.tableState.Add(this.labelAuthor); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableState[this.labelAuthor])); w6.LeftAttach = ((uint)(2)); w6.RightAttach = ((uint)(3)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.labelCreationDate = new global::Gtk.Label(); this.labelCreationDate.Name = "labelCreationDate"; this.labelCreationDate.Xalign = 1F; this.labelCreationDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата создания:"); this.tableState.Add(this.labelCreationDate); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tableState[this.labelCreationDate])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.ylabelAuthor = new global::Gamma.GtkWidgets.yLabel(); this.ylabelAuthor.Name = "ylabelAuthor"; this.ylabelAuthor.Xalign = 0F; this.tableState.Add(this.ylabelAuthor); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableState[this.ylabelAuthor])); w8.LeftAttach = ((uint)(3)); w8.RightAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.ylabelCreationDate = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCreationDate.Name = "ylabelCreationDate"; this.ylabelCreationDate.Xalign = 0F; this.tableState.Add(this.ylabelCreationDate); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableState[this.ylabelCreationDate])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxDialog.Add(this.tableState); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.tableState])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.tableFields = new global::Gtk.Table(((uint)(4)), ((uint)(3)), false); this.tableFields.Name = "tableFields"; this.tableFields.RowSpacing = ((uint)(6)); this.tableFields.ColumnSpacing = ((uint)(6)); // Container child tableFields.Gtk.Table+TableChild this.entryCounterparty = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryCounterparty.Events = ((global::Gdk.EventMask)(256)); this.entryCounterparty.Name = "entryCounterparty"; this.entryCounterparty.CanEditReference = false; this.tableFields.Add(this.entryCounterparty); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableFields[this.entryCounterparty])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewComment.CanFocus = true; this.ytextviewComment.Name = "ytextviewComment"; this.GtkScrolledWindow.Add(this.ytextviewComment); this.tableFields.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableFields[this.GtkScrolledWindow])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(4)); w13.LeftAttach = ((uint)(2)); w13.RightAttach = ((uint)(3)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelCashSubdivision = new global::Gtk.Label(); this.labelCashSubdivision.Name = "labelCashSubdivision"; this.labelCashSubdivision.Xalign = 1F; this.labelCashSubdivision.LabelProp = global::Mono.Unix.Catalog.GetString("Касса:"); this.labelCashSubdivision.Justify = ((global::Gtk.Justification)(1)); this.tableFields.Add(this.labelCashSubdivision); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelCashSubdivision])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelComment = new global::Gtk.Label(); this.labelComment.Name = "labelComment"; this.labelComment.Xalign = 0F; this.labelComment.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.labelComment.Justify = ((global::Gtk.Justification)(1)); this.tableFields.Add(this.labelComment); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelComment])); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelCounterparty = new global::Gtk.Label(); this.labelCounterparty.Name = "labelCounterparty"; this.labelCounterparty.Xalign = 1F; this.labelCounterparty.LabelProp = global::Mono.Unix.Catalog.GetString("Контрагент:"); this.labelCounterparty.Justify = ((global::Gtk.Justification)(1)); this.tableFields.Add(this.labelCounterparty); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelCounterparty])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelInvoiceBillDoc = new global::Gtk.Label(); this.labelInvoiceBillDoc.Name = "labelInvoiceBillDoc"; this.labelInvoiceBillDoc.Xalign = 1F; this.labelInvoiceBillDoc.LabelProp = global::Mono.Unix.Catalog.GetString("Счет-фактура:"); this.labelInvoiceBillDoc.Justify = ((global::Gtk.Justification)(1)); this.tableFields.Add(this.labelInvoiceBillDoc); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelInvoiceBillDoc])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.labelInvoiceDoc = new global::Gtk.Label(); this.labelInvoiceDoc.Name = "labelInvoiceDoc"; this.labelInvoiceDoc.Xalign = 1F; this.labelInvoiceDoc.LabelProp = global::Mono.Unix.Catalog.GetString("Накладная:"); this.labelInvoiceDoc.Justify = ((global::Gtk.Justification)(1)); this.tableFields.Add(this.labelInvoiceDoc); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableFields[this.labelInvoiceDoc])); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.ycomboboxCashSubdivision = new global::Gamma.Widgets.ySpecComboBox(); this.ycomboboxCashSubdivision.Name = "ycomboboxCashSubdivision"; this.ycomboboxCashSubdivision.AddIfNotExist = false; this.ycomboboxCashSubdivision.DefaultFirst = false; this.ycomboboxCashSubdivision.ShowSpecialStateAll = false; this.ycomboboxCashSubdivision.ShowSpecialStateNot = false; this.tableFields.Add(this.ycomboboxCashSubdivision); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableFields[this.ycomboboxCashSubdivision])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.yentryInvoiceBillDoc = new global::Gamma.GtkWidgets.yEntry(); this.yentryInvoiceBillDoc.CanFocus = true; this.yentryInvoiceBillDoc.Name = "yentryInvoiceBillDoc"; this.yentryInvoiceBillDoc.IsEditable = true; this.yentryInvoiceBillDoc.InvisibleChar = '●'; this.tableFields.Add(this.yentryInvoiceBillDoc); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableFields[this.yentryInvoiceBillDoc])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFields.Gtk.Table+TableChild this.yentryInvoiceDoc = new global::Gamma.GtkWidgets.yEntry(); this.yentryInvoiceDoc.CanFocus = true; this.yentryInvoiceDoc.Name = "yentryInvoiceDoc"; this.yentryInvoiceDoc.IsEditable = true; this.yentryInvoiceDoc.InvisibleChar = '●'; this.tableFields.Add(this.yentryInvoiceDoc); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableFields[this.yentryInvoiceDoc])); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxDialog.Add(this.tableFields); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.tableFields])); w22.Position = 2; w22.Expand = false; w22.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.vboxItems = new global::Gtk.VBox(); this.vboxItems.Name = "vboxItems"; this.vboxItems.Spacing = 6; // Container child vboxItems.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeviewItems = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewItems.CanFocus = true; this.ytreeviewItems.Name = "ytreeviewItems"; this.GtkScrolledWindow1.Add(this.ytreeviewItems); this.vboxItems.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vboxItems[this.GtkScrolledWindow1])); w24.Position = 0; // Container child vboxItems.Gtk.Box+BoxChild this.hboxItemsButtons = new global::Gtk.HBox(); this.hboxItemsButtons.Name = "hboxItemsButtons"; this.hboxItemsButtons.Spacing = 6; // Container child hboxItemsButtons.Gtk.Box+BoxChild this.ybuttonAdd = new global::Gamma.GtkWidgets.yButton(); this.ybuttonAdd.CanFocus = true; this.ybuttonAdd.Name = "ybuttonAdd"; this.ybuttonAdd.UseUnderline = true; this.ybuttonAdd.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w25 = new global::Gtk.Image(); w25.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.ybuttonAdd.Image = w25; this.hboxItemsButtons.Add(this.ybuttonAdd); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hboxItemsButtons[this.ybuttonAdd])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child hboxItemsButtons.Gtk.Box+BoxChild this.ybuttonDelete = new global::Gamma.GtkWidgets.yButton(); this.ybuttonDelete.CanFocus = true; this.ybuttonDelete.Name = "ybuttonDelete"; this.ybuttonDelete.UseUnderline = true; this.ybuttonDelete.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w27 = new global::Gtk.Image(); w27.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.ybuttonDelete.Image = w27; this.hboxItemsButtons.Add(this.ybuttonDelete); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hboxItemsButtons[this.ybuttonDelete])); w28.Position = 1; w28.Expand = false; w28.Fill = false; this.vboxItems.Add(this.hboxItemsButtons); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vboxItems[this.hboxItemsButtons])); w29.Position = 1; w29.Expand = false; w29.Fill = false; this.hbox2.Add(this.vboxItems); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vboxItems])); w30.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.fuelbalanceview = new global::Vodovoz.Dialogs.Fuel.FuelBalanceView(); this.fuelbalanceview.Events = ((global::Gdk.EventMask)(256)); this.fuelbalanceview.Name = "fuelbalanceview"; this.vbox5.Add(this.fuelbalanceview); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.fuelbalanceview])); w31.Position = 0; w31.Expand = false; w31.Fill = false; this.hbox2.Add(this.vbox5); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox5])); w32.Position = 1; w32.Expand = false; w32.Fill = false; this.vboxDialog.Add(this.hbox2); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hbox2])); w33.Position = 3; this.Add(this.vboxDialog); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.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.Dialogs.Fuel.FuelTransferDocumentView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Fuel.FuelTransferDocumentView"; // Container child Vodovoz.Dialogs.Fuel.FuelTransferDocumentView.Gtk.Container+ContainerChild this.vboxDialog = new global::Gtk.VBox(); this.vboxDialog.Name = "vboxDialog"; this.vboxDialog.Spacing = 6; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hboxDialogButtons.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hboxDialogButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonPrint = new global::Gamma.GtkWidgets.yButton(); this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w5; this.hbox5.Add(this.buttonPrint); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonPrint])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.hboxDialogButtons.Add(this.hbox5); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.hbox5])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 3; this.vboxDialog.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxDialogButtons])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.tableState = new global::Gtk.Table(((uint)(1)), ((uint)(6)), false); this.tableState.Name = "tableState"; this.tableState.RowSpacing = ((uint)(6)); this.tableState.ColumnSpacing = ((uint)(6)); // Container child tableState.Gtk.Table+TableChild this.labelAuthor = new global::Gtk.Label(); this.labelAuthor.Name = "labelAuthor"; this.labelAuthor.Xalign = 1F; this.labelAuthor.LabelProp = global::Mono.Unix.Catalog.GetString("Автор:"); this.tableState.Add(this.labelAuthor); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableState[this.labelAuthor])); w9.LeftAttach = ((uint)(2)); w9.RightAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.labelCreationDate = new global::Gtk.Label(); this.labelCreationDate.Name = "labelCreationDate"; this.labelCreationDate.Xalign = 1F; this.labelCreationDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата создания:"); this.tableState.Add(this.labelCreationDate); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableState[this.labelCreationDate])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.labelStatus = new global::Gtk.Label(); this.labelStatus.Name = "labelStatus"; this.labelStatus.Xalign = 1F; this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус:"); this.tableState.Add(this.labelStatus); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableState[this.labelStatus])); w11.LeftAttach = ((uint)(4)); w11.RightAttach = ((uint)(5)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.ylabelAuthor = new global::Gamma.GtkWidgets.yLabel(); this.ylabelAuthor.Name = "ylabelAuthor"; this.ylabelAuthor.Xalign = 0F; this.tableState.Add(this.ylabelAuthor); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableState[this.ylabelAuthor])); w12.LeftAttach = ((uint)(3)); w12.RightAttach = ((uint)(4)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.ylabelCreationDate = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCreationDate.Name = "ylabelCreationDate"; this.ylabelCreationDate.Xalign = 0F; this.tableState.Add(this.ylabelCreationDate); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableState[this.ylabelCreationDate])); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableState.Gtk.Table+TableChild this.ylabelStatus = new global::Gamma.GtkWidgets.yLabel(); this.ylabelStatus.Name = "ylabelStatus"; this.ylabelStatus.Xalign = 0F; this.tableState.Add(this.ylabelStatus); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableState[this.ylabelStatus])); w14.LeftAttach = ((uint)(5)); w14.RightAttach = ((uint)(6)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxDialog.Add(this.tableState); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.tableState])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.vboxDialog.Add(this.hseparator2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hseparator2])); w16.Position = 2; w16.Expand = false; w16.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.labelDriver = new global::Gtk.Label(); this.labelDriver.Name = "labelDriver"; this.labelDriver.Xalign = 1F; this.labelDriver.LabelProp = global::Mono.Unix.Catalog.GetString("Водитель:"); this.hbox2.Add(this.labelDriver); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.labelDriver])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entryDriver = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryDriver.Events = ((global::Gdk.EventMask)(256)); this.entryDriver.Name = "entryDriver"; this.entryDriver.CanEditReference = false; this.hbox2.Add(this.entryDriver); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.entryDriver])); w18.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.labelCar = new global::Gtk.Label(); this.labelCar.Name = "labelCar"; this.labelCar.Xalign = 1F; this.labelCar.LabelProp = global::Mono.Unix.Catalog.GetString("Автомобиль:"); this.hbox2.Add(this.labelCar); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.labelCar])); w19.Position = 2; w19.Expand = false; w19.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entryCar = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryCar.Events = ((global::Gdk.EventMask)(256)); this.entryCar.Name = "entryCar"; this.entryCar.CanEditReference = false; this.hbox2.Add(this.entryCar); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.entryCar])); w20.Position = 3; this.vboxDialog.Add(this.hbox2); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hbox2])); w21.Position = 3; w21.Expand = false; w21.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxTransferInfo = new global::Gtk.HBox(); this.hboxTransferInfo.Name = "hboxTransferInfo"; this.hboxTransferInfo.Spacing = 6; // Container child hboxTransferInfo.Gtk.Box+BoxChild this.tableFrom = new global::Gtk.Table(((uint)(3)), ((uint)(3)), false); this.tableFrom.Name = "tableFrom"; this.tableFrom.RowSpacing = ((uint)(6)); this.tableFrom.ColumnSpacing = ((uint)(6)); // Container child tableFrom.Gtk.Table+TableChild this.buttonSend = new global::Gamma.GtkWidgets.yButton(); this.buttonSend.CanFocus = true; this.buttonSend.Name = "buttonSend"; this.buttonSend.UseUnderline = true; this.buttonSend.Label = global::Mono.Unix.Catalog.GetString("Отправить"); this.tableFrom.Add(this.buttonSend); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.buttonSend])); w22.TopAttach = ((uint)(2)); w22.BottomAttach = ((uint)(3)); w22.LeftAttach = ((uint)(2)); w22.RightAttach = ((uint)(3)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.comboboxCashSubdivisionFrom = new global::Gamma.Widgets.ySpecComboBox(); this.comboboxCashSubdivisionFrom.Name = "comboboxCashSubdivisionFrom"; this.comboboxCashSubdivisionFrom.AddIfNotExist = false; this.comboboxCashSubdivisionFrom.DefaultFirst = false; this.comboboxCashSubdivisionFrom.ShowSpecialStateAll = false; this.comboboxCashSubdivisionFrom.ShowSpecialStateNot = true; this.tableFrom.Add(this.comboboxCashSubdivisionFrom); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.comboboxCashSubdivisionFrom])); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(3)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.labelCashierSender = new global::Gtk.Label(); this.labelCashierSender.Name = "labelCashierSender"; this.labelCashierSender.Xalign = 1F; this.labelCashierSender.LabelProp = global::Mono.Unix.Catalog.GetString("Отправил:"); this.tableFrom.Add(this.labelCashierSender); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.labelCashierSender])); w24.TopAttach = ((uint)(1)); w24.BottomAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.labelCashSubdivisionFrom = new global::Gtk.Label(); this.labelCashSubdivisionFrom.Name = "labelCashSubdivisionFrom"; this.labelCashSubdivisionFrom.Xalign = 1F; this.labelCashSubdivisionFrom.LabelProp = global::Mono.Unix.Catalog.GetString("Из кассы:"); this.tableFrom.Add(this.labelCashSubdivisionFrom); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.labelCashSubdivisionFrom])); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.labelSendDate = new global::Gtk.Label(); this.labelSendDate.Name = "labelSendDate"; this.labelSendDate.Xalign = 1F; this.labelSendDate.LabelProp = global::Mono.Unix.Catalog.GetString("Время отправки:"); this.tableFrom.Add(this.labelSendDate); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.labelSendDate])); w26.TopAttach = ((uint)(2)); w26.BottomAttach = ((uint)(3)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.ylabelCashierSender = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCashierSender.Name = "ylabelCashierSender"; this.ylabelCashierSender.Xalign = 0F; this.tableFrom.Add(this.ylabelCashierSender); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.ylabelCashierSender])); w27.TopAttach = ((uint)(1)); w27.BottomAttach = ((uint)(2)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(3)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFrom.Gtk.Table+TableChild this.ylabelSendTime = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSendTime.Name = "ylabelSendTime"; this.ylabelSendTime.Xalign = 0F; this.tableFrom.Add(this.ylabelSendTime); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tableFrom[this.ylabelSendTime])); w28.TopAttach = ((uint)(2)); w28.BottomAttach = ((uint)(3)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); this.hboxTransferInfo.Add(this.tableFrom); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hboxTransferInfo[this.tableFrom])); w29.Position = 0; // Container child hboxTransferInfo.Gtk.Box+BoxChild this.tableTo = new global::Gtk.Table(((uint)(3)), ((uint)(3)), false); this.tableTo.Name = "tableTo"; this.tableTo.RowSpacing = ((uint)(6)); this.tableTo.ColumnSpacing = ((uint)(6)); // Container child tableTo.Gtk.Table+TableChild this.buttonReceive = new global::Gamma.GtkWidgets.yButton(); this.buttonReceive.CanFocus = true; this.buttonReceive.Name = "buttonReceive"; this.buttonReceive.UseUnderline = true; this.buttonReceive.Label = global::Mono.Unix.Catalog.GetString("Принять"); this.tableTo.Add(this.buttonReceive); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.tableTo[this.buttonReceive])); w30.TopAttach = ((uint)(2)); w30.BottomAttach = ((uint)(3)); w30.LeftAttach = ((uint)(2)); w30.RightAttach = ((uint)(3)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.comboboxCashSubdivisionTo = new global::Gamma.Widgets.ySpecComboBox(); this.comboboxCashSubdivisionTo.Name = "comboboxCashSubdivisionTo"; this.comboboxCashSubdivisionTo.AddIfNotExist = false; this.comboboxCashSubdivisionTo.DefaultFirst = false; this.comboboxCashSubdivisionTo.ShowSpecialStateAll = false; this.comboboxCashSubdivisionTo.ShowSpecialStateNot = true; this.tableTo.Add(this.comboboxCashSubdivisionTo); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.tableTo[this.comboboxCashSubdivisionTo])); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(3)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.labelCashierReceiver = new global::Gtk.Label(); this.labelCashierReceiver.Name = "labelCashierReceiver"; this.labelCashierReceiver.Xalign = 1F; this.labelCashierReceiver.LabelProp = global::Mono.Unix.Catalog.GetString("Получил:"); this.tableTo.Add(this.labelCashierReceiver); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.tableTo[this.labelCashierReceiver])); w32.TopAttach = ((uint)(1)); w32.BottomAttach = ((uint)(2)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.labelCashSubdivisionFrom1 = new global::Gtk.Label(); this.labelCashSubdivisionFrom1.Name = "labelCashSubdivisionFrom1"; this.labelCashSubdivisionFrom1.Xalign = 1F; this.labelCashSubdivisionFrom1.LabelProp = global::Mono.Unix.Catalog.GetString("В кассу:"); this.tableTo.Add(this.labelCashSubdivisionFrom1); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.tableTo[this.labelCashSubdivisionFrom1])); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.labelReceiveDate = new global::Gtk.Label(); this.labelReceiveDate.Name = "labelReceiveDate"; this.labelReceiveDate.Xalign = 1F; this.labelReceiveDate.LabelProp = global::Mono.Unix.Catalog.GetString("Время получения:"); this.tableTo.Add(this.labelReceiveDate); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.tableTo[this.labelReceiveDate])); w34.TopAttach = ((uint)(2)); w34.BottomAttach = ((uint)(3)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.ylabelCashierReceiver = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCashierReceiver.Name = "ylabelCashierReceiver"; this.ylabelCashierReceiver.Xalign = 0F; this.tableTo.Add(this.ylabelCashierReceiver); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.tableTo[this.ylabelCashierReceiver])); w35.TopAttach = ((uint)(1)); w35.BottomAttach = ((uint)(2)); w35.LeftAttach = ((uint)(1)); w35.RightAttach = ((uint)(3)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableTo.Gtk.Table+TableChild this.ylabelReceiveTime = new global::Gamma.GtkWidgets.yLabel(); this.ylabelReceiveTime.Name = "ylabelReceiveTime"; this.ylabelReceiveTime.Xalign = 0F; this.tableTo.Add(this.ylabelReceiveTime); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.tableTo[this.ylabelReceiveTime])); w36.TopAttach = ((uint)(2)); w36.BottomAttach = ((uint)(3)); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); this.hboxTransferInfo.Add(this.tableTo); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hboxTransferInfo[this.tableTo])); w37.Position = 1; this.vboxDialog.Add(this.hboxTransferInfo); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxTransferInfo])); w38.Position = 4; w38.Expand = false; w38.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vboxDialog.Add(this.hseparator1); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hseparator1])); w39.Position = 5; w39.Expand = false; w39.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hboxFuelInfo = new global::Gtk.HBox(); this.hboxFuelInfo.Name = "hboxFuelInfo"; this.hboxFuelInfo.Spacing = 6; // Container child hboxFuelInfo.Gtk.Box+BoxChild this.labelFuelType = new global::Gtk.Label(); this.labelFuelType.Name = "labelFuelType"; this.labelFuelType.Xalign = 1F; this.labelFuelType.LabelProp = global::Mono.Unix.Catalog.GetString("Тип топлива:"); this.hboxFuelInfo.Add(this.labelFuelType); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hboxFuelInfo[this.labelFuelType])); w40.Position = 0; w40.Expand = false; w40.Fill = false; // Container child hboxFuelInfo.Gtk.Box+BoxChild this.ycomboFuelType = new global::Gamma.Widgets.ySpecComboBox(); this.ycomboFuelType.Name = "ycomboFuelType"; this.ycomboFuelType.AddIfNotExist = false; this.ycomboFuelType.DefaultFirst = false; this.ycomboFuelType.ShowSpecialStateAll = false; this.ycomboFuelType.ShowSpecialStateNot = false; this.hboxFuelInfo.Add(this.ycomboFuelType); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hboxFuelInfo[this.ycomboFuelType])); w41.Position = 1; w41.Expand = false; w41.Fill = false; this.vbox2.Add(this.hboxFuelInfo); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hboxFuelInfo])); w42.Position = 0; w42.Expand = false; w42.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hboxLiters = new global::Gtk.HBox(); this.hboxLiters.Name = "hboxLiters"; this.hboxLiters.Spacing = 6; // Container child hboxLiters.Gtk.Box+BoxChild this.labelLiters = new global::Gtk.Label(); this.labelLiters.Name = "labelLiters"; this.labelLiters.Xalign = 1F; this.labelLiters.LabelProp = global::Mono.Unix.Catalog.GetString("Литров к отправке:"); this.hboxLiters.Add(this.labelLiters); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hboxLiters[this.labelLiters])); w43.Position = 0; w43.Expand = false; w43.Fill = false; // Container child hboxLiters.Gtk.Box+BoxChild this.yspinLiters = new global::Gamma.GtkWidgets.ySpinButton(0D, 1000000D, 100D); this.yspinLiters.CanDefault = true; this.yspinLiters.CanFocus = true; this.yspinLiters.Name = "yspinLiters"; this.yspinLiters.Adjustment.PageIncrement = 1000D; this.yspinLiters.ClimbRate = 1D; this.yspinLiters.Digits = ((uint)(2)); this.yspinLiters.Numeric = true; this.yspinLiters.ValueAsDecimal = 0m; this.yspinLiters.ValueAsInt = 0; this.hboxLiters.Add(this.yspinLiters); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hboxLiters[this.yspinLiters])); w44.Position = 1; w44.Expand = false; w44.Fill = false; // Container child hboxLiters.Gtk.Box+BoxChild this.ylabelLitersAvailableValue = new global::Gamma.GtkWidgets.yLabel(); this.ylabelLitersAvailableValue.Name = "ylabelLitersAvailableValue"; this.ylabelLitersAvailableValue.Xalign = 0F; this.ylabelLitersAvailableValue.LabelProp = global::Mono.Unix.Catalog.GetString("###"); this.hboxLiters.Add(this.ylabelLitersAvailableValue); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hboxLiters[this.ylabelLitersAvailableValue])); w45.Position = 2; w45.Expand = false; w45.Fill = false; this.vbox2.Add(this.hboxLiters); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hboxLiters])); w46.Position = 1; w46.Expand = false; w46.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.labelComment = new global::Gtk.Label(); this.labelComment.Name = "labelComment"; this.labelComment.Xalign = 0F; this.labelComment.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.vbox2.Add(this.labelComment); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.labelComment])); w47.Position = 2; w47.Expand = false; w47.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewComment.CanFocus = true; this.ytextviewComment.Name = "ytextviewComment"; this.GtkScrolledWindow.Add(this.ytextviewComment); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow])); w49.Position = 3; this.hbox4.Add(this.vbox2); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vbox2])); w50.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.fuelbalanceview = new global::Vodovoz.Dialogs.Fuel.FuelBalanceView(); this.fuelbalanceview.Events = ((global::Gdk.EventMask)(256)); this.fuelbalanceview.Name = "fuelbalanceview"; this.vbox5.Add(this.fuelbalanceview); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.fuelbalanceview])); w51.Position = 0; w51.Expand = false; w51.Fill = false; this.hbox4.Add(this.vbox5); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vbox5])); w52.PackType = ((global::Gtk.PackType)(1)); w52.Position = 1; w52.Expand = false; w52.Fill = false; this.vboxDialog.Add(this.hbox4); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hbox4])); w53.Position = 6; this.Add(this.vboxDialog); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }