protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Stock.Widgets.SizeWidgetView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Stock.Widgets.SizeWidgetView"; // Container child workwear.Views.Stock.Widgets.SizeWidgetView.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(3)), false); this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.AddButton = new global::Gamma.GtkWidgets.yButton(); this.AddButton.CanFocus = true; this.AddButton.Name = "AddButton"; this.AddButton.UseUnderline = true; this.AddButton.Label = global::Mono.Unix.Catalog.GetString("Добавить в документ"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.AddButton.Image = w1; this.table1.Add(this.AddButton); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.AddButton])); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.HeightRequest = 600; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w3 = new global::Gtk.Viewport(); w3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.CheckBoxPlace = new global::Gtk.Table(((uint)(1)), ((uint)(4)), false); this.CheckBoxPlace.Name = "CheckBoxPlace"; this.CheckBoxPlace.RowSpacing = ((uint)(6)); this.CheckBoxPlace.ColumnSpacing = ((uint)(6)); w3.Add(this.CheckBoxPlace); this.GtkScrolledWindow.Add(w3); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.RightAttach = ((uint)(3)); // 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.selectAllButton = new global::Gtk.Button(); this.selectAllButton.CanFocus = true; this.selectAllButton.Name = "selectAllButton"; this.selectAllButton.UseUnderline = true; this.selectAllButton.Label = global::Mono.Unix.Catalog.GetString("Выбрать все"); this.hbox2.Add(this.selectAllButton); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.selectAllButton])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.GrowthInfoBox = new global::Gtk.HBox(); this.GrowthInfoBox.Name = "GrowthInfoBox"; this.GrowthInfoBox.Spacing = 6; // Container child GrowthInfoBox.Gtk.Box+BoxChild this.GrowthInfoLabel = new global::Gtk.Label(); this.GrowthInfoLabel.Name = "GrowthInfoLabel"; this.GrowthInfoLabel.Xalign = 1F; this.GrowthInfoLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Рост:"); this.GrowthInfoBox.Add(this.GrowthInfoLabel); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.GrowthInfoBox[this.GrowthInfoLabel])); w8.Position = 0; // Container child GrowthInfoBox.Gtk.Box+BoxChild this.GrowthBox = new global::Gamma.Widgets.yListComboBox(); this.GrowthBox.Name = "GrowthBox"; this.GrowthBox.AddIfNotExist = false; this.GrowthBox.DefaultFirst = false; this.GrowthInfoBox.Add(this.GrowthBox); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.GrowthInfoBox[this.GrowthBox])); w9.Position = 1; w9.Expand = false; w9.Fill = false; this.hbox2.Add(this.GrowthInfoBox); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.GrowthInfoBox])); w10.Position = 1; this.table1.Add(this.hbox2); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox2])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.RightAttach = ((uint)(3)); w11.YOptions = ((global::Gtk.AttachOptions)(6)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.selectAllButton.Clicked += new global::System.EventHandler(this.selectAllButton_Clicked); this.AddButton.Clicked += new global::System.EventHandler(this.OnAddButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Cash.CashlessRequestView global::Stetic.BinContainer.Attach(this); this.WidthRequest = 450; this.Name = "Vodovoz.Views.Cash.CashlessRequestView"; // Container child Vodovoz.Views.Cash.CashlessRequestView.Gtk.Container+ContainerChild this.vboxDialog = new global::Gtk.VBox(); this.vboxDialog.Name = "vboxDialog"; this.vboxDialog.Spacing = 6; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxDialogHeader = new global::Gtk.HBox(); this.hboxDialogHeader.Name = "hboxDialogHeader"; this.hboxDialogHeader.Spacing = 6; // Container child hboxDialogHeader.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.hboxDialogHeader.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogHeader[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxDialogHeader.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.hboxDialogHeader.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogHeader[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hboxDialogHeader.Gtk.Box+BoxChild this.labelRoleTitle = new global::Gamma.GtkWidgets.yLabel(); this.labelRoleTitle.Name = "labelRoleTitle"; this.labelRoleTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Роль:"); this.hboxDialogHeader.Add(this.labelRoleTitle); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxDialogHeader[this.labelRoleTitle])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child hboxDialogHeader.Gtk.Box+BoxChild this.comboRoleChooser = new global::Gamma.Widgets.yListComboBox(); this.comboRoleChooser.Name = "comboRoleChooser"; this.comboRoleChooser.AddIfNotExist = false; this.comboRoleChooser.DefaultFirst = false; this.hboxDialogHeader.Add(this.comboRoleChooser); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hboxDialogHeader[this.comboRoleChooser])); w6.Position = 3; w6.Expand = false; w6.Fill = false; // Container child hboxDialogHeader.Gtk.Box+BoxChild this.labelStatusTitle = new global::Gamma.GtkWidgets.yLabel(); this.labelStatusTitle.Name = "labelStatusTitle"; this.labelStatusTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Статус заявки:"); this.hboxDialogHeader.Add(this.labelStatusTitle); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxDialogHeader[this.labelStatusTitle])); w7.Position = 4; w7.Expand = false; w7.Fill = false; // Container child hboxDialogHeader.Gtk.Box+BoxChild this.labelStatus = new global::Gamma.GtkWidgets.yLabel(); this.labelStatus.Name = "labelStatus"; this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("."); this.hboxDialogHeader.Add(this.labelStatus); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hboxDialogHeader[this.labelStatus])); w8.Position = 5; w8.Expand = false; w8.Fill = false; this.vboxDialog.Add(this.hboxDialogHeader); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxDialogHeader])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.scrolledMain = new global::Gtk.ScrolledWindow(); this.scrolledMain.CanFocus = true; this.scrolledMain.Name = "scrolledMain"; this.scrolledMain.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledMain.Gtk.Container+ContainerChild global::Gtk.Viewport w10 = new global::Gtk.Viewport(); w10.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.tableMain = new global::Gtk.Table(((uint)(16)), ((uint)(2)), false); this.tableMain.Name = "tableMain"; this.tableMain.RowSpacing = ((uint)(6)); this.tableMain.ColumnSpacing = ((uint)(6)); this.tableMain.BorderWidth = ((uint)(10)); // Container child tableMain.Gtk.Table+TableChild this.alignmentFiles = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignmentFiles.WidthRequest = 400; this.alignmentFiles.HeightRequest = 100; this.alignmentFiles.Name = "alignmentFiles"; // Container child alignmentFiles.Gtk.Container+ContainerChild this.filesView = new global::Vodovoz.Views.Cash.CashlessRequestFilesView(); this.filesView.Events = ((global::Gdk.EventMask)(256)); this.filesView.Name = "filesView"; this.alignmentFiles.Add(this.filesView); this.tableMain.Add(this.alignmentFiles); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableMain[this.alignmentFiles])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(0)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.checkNotToReconcile = new global::Gamma.GtkWidgets.yCheckButton(); this.checkNotToReconcile.WidthRequest = 400; this.checkNotToReconcile.CanFocus = true; this.checkNotToReconcile.Name = "checkNotToReconcile"; this.checkNotToReconcile.Label = global::Mono.Unix.Catalog.GetString("Утвердить возможность не пересогласовывать оплаты"); this.checkNotToReconcile.DrawIndicator = true; this.checkNotToReconcile.UseUnderline = true; this.checkNotToReconcile.FocusOnClick = false; this.checkNotToReconcile.Xalign = 0F; this.checkNotToReconcile.Yalign = 0F; this.tableMain.Add(this.checkNotToReconcile); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableMain[this.checkNotToReconcile])); w13.TopAttach = ((uint)(7)); w13.BottomAttach = ((uint)(8)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(0)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.comboOrganisation = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.comboOrganisation.WidthRequest = 400; this.comboOrganisation.Name = "comboOrganisation"; this.comboOrganisation.AddIfNotExist = false; this.comboOrganisation.DefaultFirst = false; this.comboOrganisation.ShowSpecialStateAll = false; this.comboOrganisation.ShowSpecialStateNot = false; this.tableMain.Add(this.comboOrganisation); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableMain[this.comboOrganisation])); w14.TopAttach = ((uint)(9)); w14.BottomAttach = ((uint)(10)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(0)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.eventBoxCancelReason = new global::Gamma.GtkWidgets.yEventBox(); this.eventBoxCancelReason.Name = "eventBoxCancelReason"; // Container child eventBoxCancelReason.Gtk.Container+ContainerChild this.scrollCancelReason = new global::Gtk.ScrolledWindow(); this.scrollCancelReason.WidthRequest = 400; this.scrollCancelReason.HeightRequest = 65; this.scrollCancelReason.Name = "scrollCancelReason"; this.scrollCancelReason.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrollCancelReason.Gtk.Container+ContainerChild this.entryCancelReason = new global::Gamma.GtkWidgets.yTextView(); this.entryCancelReason.CanFocus = true; this.entryCancelReason.Name = "entryCancelReason"; this.entryCancelReason.WrapMode = ((global::Gtk.WrapMode)(3)); this.scrollCancelReason.Add(this.entryCancelReason); this.eventBoxCancelReason.Add(this.scrollCancelReason); this.tableMain.Add(this.eventBoxCancelReason); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableMain[this.eventBoxCancelReason])); w17.TopAttach = ((uint)(13)); w17.BottomAttach = ((uint)(14)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.eventBoxOrganisationSeparator = new global::Gamma.GtkWidgets.yEventBox(); this.eventBoxOrganisationSeparator.Name = "eventBoxOrganisationSeparator"; // Container child eventBoxOrganisationSeparator.Gtk.Container+ContainerChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.eventBoxOrganisationSeparator.Add(this.hseparator1); this.tableMain.Add(this.eventBoxOrganisationSeparator); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableMain[this.eventBoxOrganisationSeparator])); w19.TopAttach = ((uint)(8)); w19.BottomAttach = ((uint)(9)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.eventBoxReasonsSeparator = new global::Gamma.GtkWidgets.yEventBox(); this.eventBoxReasonsSeparator.Name = "eventBoxReasonsSeparator"; // Container child eventBoxReasonsSeparator.Gtk.Container+ContainerChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.eventBoxReasonsSeparator.Add(this.hseparator2); this.tableMain.Add(this.eventBoxReasonsSeparator); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableMain[this.eventBoxReasonsSeparator])); w21.TopAttach = ((uint)(11)); w21.BottomAttach = ((uint)(12)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.eventBoxWhySentToReapproval = new global::Gamma.GtkWidgets.yEventBox(); this.eventBoxWhySentToReapproval.Name = "eventBoxWhySentToReapproval"; // Container child eventBoxWhySentToReapproval.Gtk.Container+ContainerChild this.scrollWhySentToReapproval = new global::Gtk.ScrolledWindow(); this.scrollWhySentToReapproval.WidthRequest = 400; this.scrollWhySentToReapproval.HeightRequest = 65; this.scrollWhySentToReapproval.Name = "scrollWhySentToReapproval"; this.scrollWhySentToReapproval.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrollWhySentToReapproval.Gtk.Container+ContainerChild this.entryWhySentToReapproval = new global::Gamma.GtkWidgets.yTextView(); this.entryWhySentToReapproval.CanFocus = true; this.entryWhySentToReapproval.Name = "entryWhySentToReapproval"; this.entryWhySentToReapproval.WrapMode = ((global::Gtk.WrapMode)(3)); this.scrollWhySentToReapproval.Add(this.entryWhySentToReapproval); this.eventBoxWhySentToReapproval.Add(this.scrollWhySentToReapproval); this.tableMain.Add(this.eventBoxWhySentToReapproval); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tableMain[this.eventBoxWhySentToReapproval])); w24.TopAttach = ((uint)(12)); w24.BottomAttach = ((uint)(13)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.evmeAuthor = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeAuthor.WidthRequest = 400; this.evmeAuthor.Events = ((global::Gdk.EventMask)(256)); this.evmeAuthor.Name = "evmeAuthor"; this.evmeAuthor.CanEditReference = false; this.tableMain.Add(this.evmeAuthor); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tableMain[this.evmeAuthor])); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(0)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.evmeCounterparty = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeCounterparty.WidthRequest = 400; this.evmeCounterparty.Events = ((global::Gdk.EventMask)(256)); this.evmeCounterparty.Name = "evmeCounterparty"; this.evmeCounterparty.CanEditReference = false; this.tableMain.Add(this.evmeCounterparty); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.tableMain[this.evmeCounterparty])); w26.TopAttach = ((uint)(2)); w26.BottomAttach = ((uint)(3)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(0)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.evmeExpenceCategory = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeExpenceCategory.WidthRequest = 400; this.evmeExpenceCategory.Events = ((global::Gdk.EventMask)(256)); this.evmeExpenceCategory.Name = "evmeExpenceCategory"; this.evmeExpenceCategory.CanEditReference = false; this.tableMain.Add(this.evmeExpenceCategory); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.tableMain[this.evmeExpenceCategory])); w27.TopAttach = ((uint)(10)); w27.BottomAttach = ((uint)(11)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(0)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.evmeSubdivision = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeSubdivision.WidthRequest = 400; this.evmeSubdivision.Events = ((global::Gdk.EventMask)(256)); this.evmeSubdivision.Name = "evmeSubdivision"; this.evmeSubdivision.CanEditReference = false; this.tableMain.Add(this.evmeSubdivision); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tableMain[this.evmeSubdivision])); w28.TopAttach = ((uint)(1)); w28.BottomAttach = ((uint)(2)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.XOptions = ((global::Gtk.AttachOptions)(0)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.btnCancel = new global::Gamma.GtkWidgets.yButton(); this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseUnderline = true; this.btnCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить заявку"); this.vbox3.Add(this.btnCancel); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.btnCancel])); w29.Position = 0; w29.Expand = false; w29.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.btnReapprove = new global::Gamma.GtkWidgets.yButton(); this.btnReapprove.CanFocus = true; this.btnReapprove.Name = "btnReapprove"; this.btnReapprove.UseUnderline = true; this.btnReapprove.Label = global::Mono.Unix.Catalog.GetString("Отправить на пересогласование"); this.vbox3.Add(this.btnReapprove); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.btnReapprove])); w30.Position = 1; w30.Expand = false; w30.Fill = false; this.hbox5.Add(this.vbox3); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox3])); w31.Position = 0; w31.Expand = false; w31.Fill = false; this.tableMain.Add(this.hbox5); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.tableMain[this.hbox5])); w32.TopAttach = ((uint)(15)); w32.BottomAttach = ((uint)(16)); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.buttonPayout = new global::Gamma.GtkWidgets.yButton(); this.buttonPayout.CanFocus = true; this.buttonPayout.Name = "buttonPayout"; this.buttonPayout.UseUnderline = true; this.buttonPayout.Label = global::Mono.Unix.Catalog.GetString("Оплатить"); this.vbox2.Add(this.buttonPayout); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.buttonPayout])); w33.Position = 0; w33.Expand = false; w33.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.btnConveyForPayout = new global::Gamma.GtkWidgets.yButton(); this.btnConveyForPayout.CanFocus = true; this.btnConveyForPayout.Name = "btnConveyForPayout"; this.btnConveyForPayout.UseUnderline = true; this.btnConveyForPayout.Label = global::Mono.Unix.Catalog.GetString("Передать на выдачу"); this.vbox2.Add(this.btnConveyForPayout); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.btnConveyForPayout])); w34.Position = 1; w34.Expand = false; w34.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.btnAccept = new global::Gamma.GtkWidgets.yButton(); this.btnAccept.CanFocus = true; this.btnAccept.Name = "btnAccept"; this.btnAccept.UseUnderline = true; this.btnAccept.Label = global::Mono.Unix.Catalog.GetString("Подтвердить"); this.vbox2.Add(this.btnAccept); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.btnAccept])); w35.Position = 2; w35.Expand = false; w35.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.btnApprove = new global::Gamma.GtkWidgets.yButton(); this.btnApprove.CanFocus = true; this.btnApprove.Name = "btnApprove"; this.btnApprove.UseUnderline = true; this.btnApprove.Label = global::Mono.Unix.Catalog.GetString("Согласовать"); this.vbox2.Add(this.btnApprove); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.btnApprove])); w36.Position = 3; w36.Expand = false; w36.Fill = false; this.hbox6.Add(this.vbox2); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.vbox2])); w37.PackType = ((global::Gtk.PackType)(1)); w37.Position = 0; w37.Expand = false; w37.Fill = false; this.tableMain.Add(this.hbox6); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.tableMain[this.hbox6])); w38.TopAttach = ((uint)(15)); w38.BottomAttach = ((uint)(16)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.hseparator3 = new global::Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.tableMain.Add(this.hseparator3); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.tableMain[this.hseparator3])); w39.TopAttach = ((uint)(14)); w39.BottomAttach = ((uint)(15)); w39.RightAttach = ((uint)(2)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.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.tableMain.Add(this.labelAuthor); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelAuthor])); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.labelBasis = new global::Gamma.GtkWidgets.yLabel(); this.labelBasis.Name = "labelBasis"; this.labelBasis.Xalign = 1F; this.labelBasis.Yalign = 0F; this.labelBasis.LabelProp = global::Mono.Unix.Catalog.GetString("Основание:"); this.tableMain.Add(this.labelBasis); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelBasis])); w41.TopAttach = ((uint)(5)); w41.BottomAttach = ((uint)(6)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.labelCancelReason = new global::Gamma.GtkWidgets.yLabel(); this.labelCancelReason.Name = "labelCancelReason"; this.labelCancelReason.Xalign = 1F; this.labelCancelReason.Yalign = 0F; this.labelCancelReason.LabelProp = global::Mono.Unix.Catalog.GetString("Причина отмены:"); this.tableMain.Add(this.labelCancelReason); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelCancelReason])); w42.TopAttach = ((uint)(13)); w42.BottomAttach = ((uint)(14)); w42.XOptions = ((global::Gtk.AttachOptions)(4)); w42.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.labelComboOrganization = new global::Gamma.GtkWidgets.yLabel(); this.labelComboOrganization.Name = "labelComboOrganization"; this.labelComboOrganization.Xalign = 1F; this.labelComboOrganization.LabelProp = global::Mono.Unix.Catalog.GetString("Наша организация:"); this.tableMain.Add(this.labelComboOrganization); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelComboOrganization])); w43.TopAttach = ((uint)(9)); w43.BottomAttach = ((uint)(10)); w43.XOptions = ((global::Gtk.AttachOptions)(4)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.labelCounterparty = new global::Gamma.GtkWidgets.yLabel(); this.labelCounterparty.Name = "labelCounterparty"; this.labelCounterparty.Xalign = 1F; this.labelCounterparty.LabelProp = global::Mono.Unix.Catalog.GetString("Поставщик:"); this.tableMain.Add(this.labelCounterparty); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelCounterparty])); w44.TopAttach = ((uint)(2)); w44.BottomAttach = ((uint)(3)); w44.XOptions = ((global::Gtk.AttachOptions)(4)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.labelExpenceCategory = new global::Gamma.GtkWidgets.yLabel(); this.labelExpenceCategory.Name = "labelExpenceCategory"; this.labelExpenceCategory.Xalign = 1F; this.labelExpenceCategory.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.tableMain.Add(this.labelExpenceCategory); global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelExpenceCategory])); w45.TopAttach = ((uint)(10)); w45.BottomAttach = ((uint)(11)); w45.XOptions = ((global::Gtk.AttachOptions)(4)); w45.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.labelExplanation = new global::Gamma.GtkWidgets.yLabel(); this.labelExplanation.Name = "labelExplanation"; this.labelExplanation.Xalign = 1F; this.labelExplanation.Yalign = 0F; this.labelExplanation.LabelProp = global::Mono.Unix.Catalog.GetString("Пояснение:"); this.tableMain.Add(this.labelExplanation); global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelExplanation])); w46.TopAttach = ((uint)(6)); w46.BottomAttach = ((uint)(7)); w46.XOptions = ((global::Gtk.AttachOptions)(4)); w46.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.labelFiles = new global::Gamma.GtkWidgets.yLabel(); this.labelFiles.Name = "labelFiles"; this.labelFiles.Xalign = 1F; this.labelFiles.Yalign = 0F; this.labelFiles.LabelProp = global::Mono.Unix.Catalog.GetString("Файлы:"); this.tableMain.Add(this.labelFiles); global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelFiles])); w47.TopAttach = ((uint)(4)); w47.BottomAttach = ((uint)(5)); w47.XOptions = ((global::Gtk.AttachOptions)(4)); w47.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.labelSubdivision = new global::Gtk.Label(); this.labelSubdivision.Name = "labelSubdivision"; this.labelSubdivision.Xalign = 1F; this.labelSubdivision.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение:"); this.tableMain.Add(this.labelSubdivision); global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelSubdivision])); w48.TopAttach = ((uint)(1)); w48.BottomAttach = ((uint)(2)); w48.XOptions = ((global::Gtk.AttachOptions)(4)); w48.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.labelSum = new global::Gamma.GtkWidgets.yLabel(); this.labelSum.Name = "labelSum"; this.labelSum.Xalign = 1F; this.labelSum.LabelProp = global::Mono.Unix.Catalog.GetString("Сумма:"); this.tableMain.Add(this.labelSum); global::Gtk.Table.TableChild w49 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelSum])); w49.TopAttach = ((uint)(3)); w49.BottomAttach = ((uint)(4)); w49.XOptions = ((global::Gtk.AttachOptions)(4)); w49.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.labelWhySentToReapproval = new global::Gamma.GtkWidgets.yLabel(); this.labelWhySentToReapproval.Name = "labelWhySentToReapproval"; this.labelWhySentToReapproval.Xalign = 1F; this.labelWhySentToReapproval.Yalign = 0F; this.labelWhySentToReapproval.LabelProp = global::Mono.Unix.Catalog.GetString("Причина отправки\nна пересогласование:\n"); this.tableMain.Add(this.labelWhySentToReapproval); global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.tableMain[this.labelWhySentToReapproval])); w50.TopAttach = ((uint)(12)); w50.BottomAttach = ((uint)(13)); w50.XOptions = ((global::Gtk.AttachOptions)(4)); w50.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.scrollBasis = new global::Gtk.ScrolledWindow(); this.scrollBasis.WidthRequest = 400; this.scrollBasis.HeightRequest = 65; this.scrollBasis.Name = "scrollBasis"; this.scrollBasis.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrollBasis.Gtk.Container+ContainerChild this.entryBasis = new global::Gamma.GtkWidgets.yTextView(); this.entryBasis.CanFocus = true; this.entryBasis.Name = "entryBasis"; this.entryBasis.WrapMode = ((global::Gtk.WrapMode)(3)); this.scrollBasis.Add(this.entryBasis); this.tableMain.Add(this.scrollBasis); global::Gtk.Table.TableChild w52 = ((global::Gtk.Table.TableChild)(this.tableMain[this.scrollBasis])); w52.TopAttach = ((uint)(5)); w52.BottomAttach = ((uint)(6)); w52.LeftAttach = ((uint)(1)); w52.RightAttach = ((uint)(2)); w52.XOptions = ((global::Gtk.AttachOptions)(0)); w52.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.scrollExplanation = new global::Gtk.ScrolledWindow(); this.scrollExplanation.WidthRequest = 400; this.scrollExplanation.HeightRequest = 65; this.scrollExplanation.Name = "scrollExplanation"; this.scrollExplanation.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrollExplanation.Gtk.Container+ContainerChild this.entryExplanation = new global::Gamma.GtkWidgets.yTextView(); this.entryExplanation.CanFocus = true; this.entryExplanation.Name = "entryExplanation"; this.entryExplanation.WrapMode = ((global::Gtk.WrapMode)(3)); this.scrollExplanation.Add(this.entryExplanation); this.tableMain.Add(this.scrollExplanation); global::Gtk.Table.TableChild w54 = ((global::Gtk.Table.TableChild)(this.tableMain[this.scrollExplanation])); w54.TopAttach = ((uint)(6)); w54.BottomAttach = ((uint)(7)); w54.LeftAttach = ((uint)(1)); w54.RightAttach = ((uint)(2)); w54.XOptions = ((global::Gtk.AttachOptions)(0)); w54.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMain.Gtk.Table+TableChild this.yhboxSum = new global::Gamma.GtkWidgets.yHBox(); this.yhboxSum.WidthRequest = 400; this.yhboxSum.Name = "yhboxSum"; this.yhboxSum.Spacing = 6; // Container child yhboxSum.Gtk.Box+BoxChild this.spinSum = new global::Gamma.GtkWidgets.ySpinButton(0D, 2147483647D, 100D); this.spinSum.WidthRequest = 190; this.spinSum.CanFocus = true; this.spinSum.Name = "spinSum"; this.spinSum.Adjustment.PageIncrement = 1000D; this.spinSum.ClimbRate = 1D; this.spinSum.Digits = ((uint)(2)); this.spinSum.Numeric = true; this.spinSum.ValueAsDecimal = 0m; this.spinSum.ValueAsInt = 0; this.yhboxSum.Add(this.spinSum); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.yhboxSum[this.spinSum])); w55.Position = 0; w55.Expand = false; w55.Fill = false; // Container child yhboxSum.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.yhboxSum.Add(this.currencylabel1); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.yhboxSum[this.currencylabel1])); w56.Position = 1; w56.Expand = false; w56.Fill = false; this.tableMain.Add(this.yhboxSum); global::Gtk.Table.TableChild w57 = ((global::Gtk.Table.TableChild)(this.tableMain[this.yhboxSum])); w57.TopAttach = ((uint)(3)); w57.BottomAttach = ((uint)(4)); w57.LeftAttach = ((uint)(1)); w57.RightAttach = ((uint)(2)); w57.XOptions = ((global::Gtk.AttachOptions)(0)); w57.YOptions = ((global::Gtk.AttachOptions)(4)); w10.Add(this.tableMain); this.scrolledMain.Add(w10); this.vboxDialog.Add(this.scrolledMain); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.scrolledMain])); w60.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 earchive.InputDocs this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("Из файла"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Из файла"); w1.Add (this.openAction, null); this.ScanAction = new global::Gtk.Action ("ScanAction", global::Mono.Unix.Catalog.GetString ("Сканировать"), global::Mono.Unix.Catalog.GetString ("Добавить изображения со сканера"), "scanner"); this.ScanAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Сканировать"); w1.Add (this.ScanAction, null); this.clearAction = new global::Gtk.Action ("clearAction", null, global::Mono.Unix.Catalog.GetString ("Очистить список изображений"), "gtk-clear"); this.clearAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Очистить"); w1.Add (this.clearAction, null); this.saveAction = new global::Gtk.Action ("saveAction", null, global::Mono.Unix.Catalog.GetString ("Сохранить в базу"), "gtk-save"); this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Сохранить"); w1.Add (this.saveAction, null); this.zoom100Action = new global::Gtk.Action ("zoom100Action", global::Mono.Unix.Catalog.GetString ("1:1"), null, "gtk-zoom-100"); this.zoom100Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("1:1"); w1.Add (this.zoom100Action, null); this.zoomFitAction = new global::Gtk.Action ("zoomFitAction", global::Mono.Unix.Catalog.GetString ("Вписать"), null, "gtk-zoom-fit"); this.zoomFitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Вписать"); w1.Add (this.zoomFitAction, null); this.zoomInAction = new global::Gtk.Action ("zoomInAction", null, null, "gtk-zoom-in"); this.zoomInAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Увеличить"); w1.Add (this.zoomInAction, null); this.zoomOutAction = new global::Gtk.Action ("zoomOutAction", null, null, "gtk-zoom-out"); this.zoomOutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Уменьшить"); w1.Add (this.zoomOutAction, null); this.Rotate90Action = new global::Gtk.Action ("Rotate90Action", global::Mono.Unix.Catalog.GetString ("90"), null, "rotate-90"); this.Rotate90Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("90°"); w1.Add (this.Rotate90Action, null); this.Rotate180Action = new global::Gtk.Action ("Rotate180Action", global::Mono.Unix.Catalog.GetString ("180"), null, "rotate-180"); this.Rotate180Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("180°"); w1.Add (this.Rotate180Action, null); this.Rotate270Action = new global::Gtk.Action ("Rotate270Action", global::Mono.Unix.Catalog.GetString ("270"), null, "rotate-270"); this.Rotate270Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("270°"); w1.Add (this.Rotate270Action, null); this.Action1 = new global::Gtk.Action ("Action1", global::Mono.Unix.Catalog.GetString ("Распознать"), null, "recognize"); this.Action1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Распознать"); w1.Add (this.Action1, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "earchive.InputDocs"; this.Title = global::Mono.Unix.Catalog.GetString ("Ввод документов"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("earchive.icons.scanner.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child earchive.InputDocs.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='clearAction' action='clearAction'/><toolitem name='openAction' action='openAction'/><toolitem name='ScanAction' action='ScanAction'/><toolitem name='Action1' action='Action1'/><toolitem name='saveAction' action='saveAction'/><separator/><toolitem name='zoom100Action' action='zoom100Action'/><toolitem name='zoomFitAction' action='zoomFitAction'/><toolitem name='zoomInAction' action='zoomInAction'/><toolitem name='zoomOutAction' action='zoomOutAction'/><separator/><toolitem name='Rotate90Action' action='Rotate90Action'/><toolitem name='Rotate180Action' action='Rotate180Action'/><toolitem name='Rotate270Action' action='Rotate270Action'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2)); this.toolbar1.IconSize = ((global::Gtk.IconSize)(6)); this.vbox2.Add (this.toolbar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 206; // Container child hpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeviewImages = new global::Gtk.TreeView (); this.treeviewImages.CanFocus = true; this.treeviewImages.Name = "treeviewImages"; this.treeviewImages.HeadersVisible = false; this.treeviewImages.Reorderable = true; this.GtkScrolledWindow.Add (this.treeviewImages); this.hpaned1.Add (this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.GtkScrolledWindow])); w4.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.scrolledImage = new global::Gtk.ScrolledWindow (); this.scrolledImage.Name = "scrolledImage"; this.scrolledImage.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledImage.Gtk.Container+ContainerChild global::Gtk.Viewport w5 = new global::Gtk.Viewport (); w5.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.imageDoc = new global::Gtk.Image (); this.imageDoc.Name = "imageDoc"; w5.Add (this.imageDoc); this.scrolledImage.Add (w5); this.hpaned1.Add (this.scrolledImage); this.hbox2.Add (this.hpaned1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hpaned1])); w9.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(1)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboScaner = new global::Gamma.Widgets.yListComboBox (); this.comboScaner.Name = "comboScaner"; this.comboScaner.AddIfNotExist = false; this.comboScaner.DefaultFirst = false; this.table1.Add (this.comboScaner); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboScaner])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.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 w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add (this.table1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.table1])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.tableFieldWidgets = new global::Gtk.Table (((uint)(5)), ((uint)(3)), false); this.tableFieldWidgets.Name = "tableFieldWidgets"; this.tableFieldWidgets.RowSpacing = ((uint)(6)); this.tableFieldWidgets.ColumnSpacing = ((uint)(6)); // Container child tableFieldWidgets.Gtk.Table+TableChild this.comboType = global::Gtk.ComboBox.NewText (); this.comboType.Name = "comboType"; this.tableFieldWidgets.Add (this.comboType); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.comboType])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFieldWidgets.Gtk.Table+TableChild this.dateDoc = new global::QSWidgetLib.DatePicker (); this.dateDoc.Events = ((global::Gdk.EventMask)(256)); this.dateDoc.Name = "dateDoc"; this.dateDoc.WithTime = false; this.dateDoc.Date = new global::System.DateTime (0); this.dateDoc.IsEditable = true; this.dateDoc.AutoSeparation = true; this.tableFieldWidgets.Add (this.dateDoc); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.dateDoc])); 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 tableFieldWidgets.Gtk.Table+TableChild this.entryNumber = new global::Gtk.Entry (); this.entryNumber.CanFocus = true; this.entryNumber.Name = "entryNumber"; this.entryNumber.IsEditable = true; this.entryNumber.InvisibleChar = '●'; this.tableFieldWidgets.Add (this.entryNumber); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.entryNumber])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFieldWidgets.Gtk.Table+TableChild this.eventboxDateIcon = new global::Gtk.EventBox (); this.eventboxDateIcon.Name = "eventboxDateIcon"; // Container child eventboxDateIcon.Gtk.Container+ContainerChild this.IconDate = new global::Gtk.Image (); this.IconDate.Name = "IconDate"; this.IconDate.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-info", global::Gtk.IconSize.Button); this.eventboxDateIcon.Add (this.IconDate); this.tableFieldWidgets.Add (this.eventboxDateIcon); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.eventboxDateIcon])); w17.TopAttach = ((uint)(3)); w17.BottomAttach = ((uint)(4)); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFieldWidgets.Gtk.Table+TableChild this.eventboxNumberIcon = new global::Gtk.EventBox (); this.eventboxNumberIcon.Name = "eventboxNumberIcon"; // Container child eventboxNumberIcon.Gtk.Container+ContainerChild this.IconNumber = new global::Gtk.Image (); this.IconNumber.Name = "IconNumber"; this.IconNumber.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-info", global::Gtk.IconSize.Button); this.eventboxNumberIcon.Add (this.IconNumber); this.tableFieldWidgets.Add (this.eventboxNumberIcon); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.eventboxNumberIcon])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(2)); w19.RightAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFieldWidgets.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Поля текущего документа</b>"); this.label1.UseMarkup = true; this.label1.Justify = ((global::Gtk.Justification)(2)); this.tableFieldWidgets.Add (this.label1); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.label1])); w20.RightAttach = ((uint)(3)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFieldWidgets.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 ("Дата<span foreground=\"red\">*</span>:"); this.label10.UseMarkup = true; this.tableFieldWidgets.Add (this.label10); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.label10])); w21.TopAttach = ((uint)(3)); w21.BottomAttach = ((uint)(4)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFieldWidgets.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.tableFieldWidgets.Add (this.label11); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.label11])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFieldWidgets.Gtk.Table+TableChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Номер<span foreground=\"red\">*</span>:"); this.label9.UseMarkup = true; this.tableFieldWidgets.Add (this.label9); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.label9])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add (this.tableFieldWidgets); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.tableFieldWidgets])); w24.Position = 1; // Container child vbox3.Gtk.Box+BoxChild this.checkDiagnostic = new global::Gtk.CheckButton (); this.checkDiagnostic.CanFocus = true; this.checkDiagnostic.Name = "checkDiagnostic"; this.checkDiagnostic.Label = global::Mono.Unix.Catalog.GetString ("Диагностика распознования"); this.checkDiagnostic.DrawIndicator = true; this.checkDiagnostic.UseUnderline = true; this.vbox3.Add (this.checkDiagnostic); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.checkDiagnostic])); w25.Position = 2; w25.Expand = false; w25.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.buttonLog = new global::Gtk.Button (); this.buttonLog.CanFocus = true; this.buttonLog.Name = "buttonLog"; this.buttonLog.UseUnderline = true; this.buttonLog.Label = global::Mono.Unix.Catalog.GetString ("Показать журнал распознования."); global::Gtk.Image w26 = new global::Gtk.Image (); w26.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-execute", global::Gtk.IconSize.Button); this.buttonLog.Image = w26; this.vbox3.Add (this.buttonLog); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.buttonLog])); w27.Position = 3; w27.Expand = false; w27.Fill = false; this.hbox2.Add (this.vbox3); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox3])); w28.Position = 1; w28.Expand = false; w28.Fill = false; this.vbox2.Add (this.hbox2); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w29.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.progresswork = new global::Gtk.ProgressBar (); this.progresswork.Name = "progresswork"; this.vbox2.Add (this.progresswork); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.progresswork])); w30.Position = 2; w30.Expand = false; w30.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 1053; this.DefaultHeight = 478; this.Show (); this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated); this.ScanAction.Activated += new global::System.EventHandler (this.OnScanActionActivated); this.clearAction.Activated += new global::System.EventHandler (this.OnClearActionActivated); this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated); this.zoom100Action.Activated += new global::System.EventHandler (this.OnZoom100ActionActivated); this.zoomFitAction.Activated += new global::System.EventHandler (this.OnZoomFitActionActivated); this.zoomInAction.Activated += new global::System.EventHandler (this.OnZoomInActionActivated); this.zoomOutAction.Activated += new global::System.EventHandler (this.OnZoomOutActionActivated); this.Rotate90Action.Activated += new global::System.EventHandler (this.OnRotate90ActionActivated); this.Rotate180Action.Activated += new global::System.EventHandler (this.OnRotate180ActionActivated); this.Rotate270Action.Activated += new global::System.EventHandler (this.OnRotate270ActionActivated); this.Action1.Activated += new global::System.EventHandler (this.OnAction1Activated); this.treeviewImages.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.OnTreeviewImagesButtonReleaseEvent); this.imageDoc.DragMotion += new global::Gtk.DragMotionHandler (this.OnImageDocDragMotion); this.comboScaner.Changed += new global::System.EventHandler (this.OnComboScanerChanged); this.eventboxNumberIcon.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnEventboxNumberIconButtonPressEvent); this.eventboxDateIcon.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnEventboxDateIconButtonPressEvent); this.entryNumber.Changed += new global::System.EventHandler (this.OnEntryNumberChanged); this.dateDoc.DateChanged += new global::System.EventHandler (this.OnDateDocDateChanged); this.comboType.Changed += new global::System.EventHandler (this.OnComboTypeChanged); this.buttonLog.Clicked += new global::System.EventHandler (this.OnButtonLogClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget workwear.OnIssueStatement this.Name = "workwear.OnIssueStatement"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child workwear.OnIssueStatement.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)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(27)); // 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.ylistcomboMonth = new global::Gamma.Widgets.yListComboBox (); this.ylistcomboMonth.Name = "ylistcomboMonth"; this.ylistcomboMonth.AddIfNotExist = false; this.hbox1.Add (this.ylistcomboMonth); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.ylistcomboMonth])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.ylistcomboYear = new global::Gamma.Widgets.yListComboBox (); this.ylistcomboYear.Name = "ylistcomboYear"; this.ylistcomboYear.AddIfNotExist = false; this.hbox1.Add (this.ylistcomboYear); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.ylistcomboYear])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.table1.Add (this.hbox1); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox1])); 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.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)); w1.Add (this.table1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w1 [this.table1])); w7.Position = 0; // Internal child workwear.OnIssueStatement.ActionArea global::Gtk.HButtonBox w8 = this.ActionArea; w8.Name = "dialog1_ActionArea"; w8.Spacing = 10; w8.BorderWidth = ((uint)(5)); w8.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 w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonCancel])); w9.Expand = false; w9.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 w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonOk])); w10.Position = 1; w10.Expand = false; w10.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 235; this.DefaultHeight = 172; this.Show (); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget CarGlass.Dialogs.StoreItemDlg global::Stetic.BinContainer.Attach(this); this.Name = "CarGlass.Dialogs.StoreItemDlg"; // Container child CarGlass.Dialogs.StoreItemDlg.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)(9)), ((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.comboGlass = new global::Gamma.Widgets.yListComboBox(); this.comboGlass.Name = "comboGlass"; this.comboGlass.AddIfNotExist = false; this.comboGlass.DefaultFirst = false; this.table1.Add(this.comboGlass); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.comboGlass])); 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.comboManufacturer = new global::Gamma.Widgets.yListComboBox(); this.comboManufacturer.Name = "comboManufacturer"; this.comboManufacturer.AddIfNotExist = false; this.comboManufacturer.DefaultFirst = false; this.table1.Add(this.comboManufacturer); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.comboManufacturer])); w2.TopAttach = ((uint)(3)); w2.BottomAttach = ((uint)(4)); 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.comboModel = new global::Gamma.Widgets.yListComboBox(); this.comboModel.Name = "comboModel"; this.comboModel.AddIfNotExist = false; this.comboModel.DefaultFirst = false; this.table1.Add(this.comboModel); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.comboModel])); 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.entryBrand = new global::Gamma.Widgets.yEntryReference(); this.entryBrand.Events = ((global::Gdk.EventMask)(256)); this.entryBrand.Name = "entryBrand"; this.table1.Add(this.entryBrand); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.entryBrand])); 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.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.HeightRequest = 100; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextComment.CanFocus = true; this.ytextComment.Name = "ytextComment"; this.GtkScrolledWindow.Add(this.ytextComment); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w6.TopAttach = ((uint)(8)); w6.BottomAttach = ((uint)(9)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((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)(1)); w8.BottomAttach = ((uint)(2)); 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)(2)); w9.BottomAttach = ((uint)(3)); 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)(3)); w10.BottomAttach = ((uint)(4)); 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.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)(5)); w12.BottomAttach = ((uint)(6)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.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 w13 = ((global::Gtk.Table.TableChild)(this.table1[this.label7])); w13.TopAttach = ((uint)(6)); w13.BottomAttach = ((uint)(7)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.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 w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w14.TopAttach = ((uint)(7)); w14.BottomAttach = ((uint)(8)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.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.Yalign = 0F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.table1.Add(this.label9); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label9])); w15.TopAttach = ((uint)(8)); w15.BottomAttach = ((uint)(9)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryEurocode = new global::Gamma.GtkWidgets.yEntry(); this.yentryEurocode.CanFocus = true; this.yentryEurocode.Name = "yentryEurocode"; this.yentryEurocode.IsEditable = true; this.yentryEurocode.MaxLength = 45; this.yentryEurocode.InvisibleChar = '●'; this.table1.Add(this.yentryEurocode); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryEurocode])); w16.TopAttach = ((uint)(4)); w16.BottomAttach = ((uint)(5)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryPlacment = new global::Gamma.GtkWidgets.yEntry(); this.yentryPlacment.CanFocus = true; this.yentryPlacment.Name = "yentryPlacment"; this.yentryPlacment.IsEditable = true; this.yentryPlacment.MaxLength = 45; this.yentryPlacment.InvisibleChar = '●'; this.table1.Add(this.yentryPlacment); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryPlacment])); w17.TopAttach = ((uint)(7)); w17.BottomAttach = ((uint)(8)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yspinAmount = new global::Gamma.GtkWidgets.ySpinButton(0D, 100D, 1D); this.yspinAmount.CanFocus = true; this.yspinAmount.Name = "yspinAmount"; this.yspinAmount.Adjustment.PageIncrement = 10D; this.yspinAmount.ClimbRate = 1D; this.yspinAmount.Numeric = true; this.yspinAmount.ValueAsDecimal = 0m; this.yspinAmount.ValueAsInt = 0; this.table1.Add(this.yspinAmount); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.yspinAmount])); w18.TopAttach = ((uint)(6)); w18.BottomAttach = ((uint)(7)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yspinCost = new global::Gamma.GtkWidgets.ySpinButton(0D, 1000000D, 100D); this.yspinCost.CanFocus = true; this.yspinCost.Name = "yspinCost"; this.yspinCost.Adjustment.PageIncrement = 1000D; this.yspinCost.ClimbRate = 1D; this.yspinCost.Numeric = true; this.yspinCost.ValueAsDecimal = 0m; this.yspinCost.ValueAsInt = 0; this.table1.Add(this.yspinCost); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.yspinCost])); w19.TopAttach = ((uint)(5)); w19.BottomAttach = ((uint)(6)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w20.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.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 w21 = new global::Gtk.Image(); w21.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w21; this.hbox5.Add(this.buttonSave); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonSave])); w22.PackType = ((global::Gtk.PackType)(1)); w22.Position = 0; w22.Expand = false; w22.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 w23 = new global::Gtk.Image(); w23.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w23; this.hbox5.Add(this.buttonCancel); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonCancel])); w24.PackType = ((global::Gtk.PackType)(1)); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.vbox2.Add(this.hbox5); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox5])); w25.Position = 1; w25.Expand = false; w25.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.entryBrand.Changed += new global::System.EventHandler(this.OnEntryBrandChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget QS.Project.Dialogs.GtkUI.TypeOfEntityDlg global::Stetic.BinContainer.Attach(this); this.Name = "QS.Project.Dialogs.GtkUI.TypeOfEntityDlg"; // Container child QS.Project.Dialogs.GtkUI.TypeOfEntityDlg.Gtk.Container+ContainerChild this.tblMain = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.tblMain.Name = "tblMain"; this.tblMain.RowSpacing = ((uint)(6)); this.tblMain.ColumnSpacing = ((uint)(6)); // Container child tblMain.Gtk.Table+TableChild this.hbxControls = new global::Gtk.HBox(); this.hbxControls.Name = "hbxControls"; this.hbxControls.Spacing = 6; // Container child hbxControls.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.hbxControls.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbxControls[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbxControls.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.hbxControls.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbxControls[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.tblMain.Add(this.hbxControls); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.tblMain[this.hbxControls])); w5.RightAttach = ((uint)(2)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblMain.Gtk.Table+TableChild this.lblName = new global::Gtk.Label(); this.lblName.Name = "lblName"; this.lblName.Xalign = 1F; this.lblName.LabelProp = global::Mono.Unix.Catalog.GetString("Название типа документа:"); this.tblMain.Add(this.lblName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tblMain[this.lblName])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblMain.Gtk.Table+TableChild this.lblType = new global::Gtk.Label(); this.lblType.Name = "lblType"; this.lblType.Xalign = 1F; this.lblType.LabelProp = global::Mono.Unix.Catalog.GetString("Тип документа:"); this.tblMain.Add(this.lblType); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tblMain[this.lblType])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblMain.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.tblMain.Add(this.yentryName); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tblMain[this.yentryName])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblMain.Gtk.Table+TableChild this.ylistcomboboxEntityType = new global::Gamma.Widgets.yListComboBox(); this.ylistcomboboxEntityType.Name = "ylistcomboboxEntityType"; this.ylistcomboboxEntityType.AddIfNotExist = false; this.ylistcomboboxEntityType.DefaultFirst = false; this.tblMain.Add(this.ylistcomboboxEntityType); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tblMain[this.ylistcomboboxEntityType])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.tblMain); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Fittings.UpdatePricesDlg global::Stetic.BinContainer.Attach(this); this.Name = "Fittings.UpdatePricesDlg"; // Container child Fittings.UpdatePricesDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 2; this.notebook1.ShowBorder = false; // Container child notebook1.Gtk.Notebook+NotebookChild 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)(6)), false); this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboCurrency = new global::Gamma.Widgets.yEnumComboBox(); this.comboCurrency.Name = "comboCurrency"; this.comboCurrency.ShowSpecialStateAll = false; this.comboCurrency.ShowSpecialStateNot = false; this.comboCurrency.UseShortTitle = false; this.comboCurrency.DefaultFirst = true; this.table1.Add(this.comboCurrency); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboCurrency])); w1.LeftAttach = ((uint)(5)); w1.RightAttach = ((uint)(6)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboSheet = new global::Gamma.Widgets.yListComboBox(); this.comboSheet.Name = "comboSheet"; this.comboSheet.AddIfNotExist = false; this.comboSheet.DefaultFirst = true; this.table1.Add(this.comboSheet); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboSheet])); 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.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 w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Пропустить строки:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w4.LeftAttach = ((uint)(2)); w4.RightAttach = ((uint)(3)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w5.LeftAttach = ((uint)(4)); w5.RightAttach = ((uint)(5)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelSetColumnsInfo = new global::Gtk.Label(); this.labelSetColumnsInfo.Name = "labelSetColumnsInfo"; this.labelSetColumnsInfo.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.table1.Add(this.labelSetColumnsInfo); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelSetColumnsInfo])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.RightAttach = ((uint)(4)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yspinSkipRows = new global::Gamma.GtkWidgets.ySpinButton(0, 100, 1); this.yspinSkipRows.CanFocus = true; this.yspinSkipRows.Name = "yspinSkipRows"; this.yspinSkipRows.Adjustment.PageIncrement = 10; this.yspinSkipRows.ClimbRate = 1; this.yspinSkipRows.Numeric = true; this.yspinSkipRows.ValueAsDecimal = 0m; this.yspinSkipRows.ValueAsInt = 0; this.table1.Add(this.yspinSkipRows); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.yspinSkipRows])); w7.LeftAttach = ((uint)(3)); w7.RightAttach = ((uint)(4)); 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; // 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.ytreeviewSetColumns = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewSetColumns.CanFocus = true; this.ytreeviewSetColumns.Name = "ytreeviewSetColumns"; this.GtkScrolledWindow.Add(this.ytreeviewSetColumns); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); w10.Position = 1; this.notebook1.Add(this.vbox2); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Шаг 1"); this.notebook1.SetTabLabel(this.vbox2, this.label1); this.label1.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.progressParsing = new global::Gtk.ProgressBar(); this.progressParsing.Name = "progressParsing"; this.vbox3.Add(this.progressParsing); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.progressParsing])); w12.Position = 0; w12.Expand = false; w12.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.ytreeviewParsing = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewParsing.CanFocus = true; this.ytreeviewParsing.Name = "ytreeviewParsing"; this.GtkScrolledWindow1.Add(this.ytreeviewParsing); this.vbox3.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow1])); w14.Position = 1; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonSelectAll = new global::Gtk.Button(); this.buttonSelectAll.CanFocus = true; this.buttonSelectAll.Name = "buttonSelectAll"; this.buttonSelectAll.UseUnderline = true; this.buttonSelectAll.Label = global::Mono.Unix.Catalog.GetString("Отметить выделеное"); global::Gtk.Image w15 = new global::Gtk.Image(); w15.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Fittings.icons.buttons.checkbox-checked-symbolic.png"); this.buttonSelectAll.Image = w15; this.hbox2.Add(this.buttonSelectAll); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonSelectAll])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonUnSelect = new global::Gtk.Button(); this.buttonUnSelect.CanFocus = true; this.buttonUnSelect.Name = "buttonUnSelect"; this.buttonUnSelect.UseUnderline = true; this.buttonUnSelect.Label = global::Mono.Unix.Catalog.GetString("Снять выделенное"); global::Gtk.Image w17 = new global::Gtk.Image(); w17.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Fittings.icons.buttons.checkbox-symbolic.png"); this.buttonUnSelect.Image = w17; this.hbox2.Add(this.buttonUnSelect); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonUnSelect])); w18.Position = 1; w18.Expand = false; w18.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hbox2.Add(this.vseparator2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vseparator2])); w19.Position = 2; w19.Expand = false; w19.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Цена от"); this.hbox2.Add(this.label4); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label4])); w20.Position = 3; w20.Expand = false; w20.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.comboProvider = new global::Gamma.Widgets.yListComboBox(); this.comboProvider.Name = "comboProvider"; this.comboProvider.AddIfNotExist = false; this.comboProvider.DefaultFirst = false; this.hbox2.Add(this.comboProvider); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.comboProvider])); w21.Position = 4; w21.Expand = false; w21.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonResolveMultiFound = new global::Gtk.Button(); this.buttonResolveMultiFound.CanFocus = true; this.buttonResolveMultiFound.Name = "buttonResolveMultiFound"; this.buttonResolveMultiFound.UseUnderline = true; this.buttonResolveMultiFound.Label = global::Mono.Unix.Catalog.GetString("Установить"); this.hbox2.Add(this.buttonResolveMultiFound); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonResolveMultiFound])); w22.Position = 5; w22.Expand = false; w22.Fill = false; this.vbox3.Add(this.hbox2); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox2])); w23.Position = 2; w23.Expand = false; w23.Fill = false; this.hbox3.Add(this.vbox3); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox3])); w24.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox3.Add(this.vseparator1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vseparator1])); w25.Position = 1; w25.Expand = false; w25.Fill = false; this.notebook1.Add(this.hbox3); global::Gtk.Notebook.NotebookChild w26 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.hbox3])); w26.Position = 1; // Notebook tab this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Шаг 2"); this.notebook1.SetTabLabel(this.hbox3, this.label6); this.label6.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.table4 = new global::Gtk.Table(((uint)(11)), ((uint)(4)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.buttonFinish = new global::Gtk.Button(); this.buttonFinish.CanFocus = true; this.buttonFinish.Name = "buttonFinish"; this.buttonFinish.UseUnderline = true; this.buttonFinish.Label = global::Mono.Unix.Catalog.GetString("Сохранить изменения в файл"); global::Gtk.Image w27 = new global::Gtk.Image(); w27.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save-as", global::Gtk.IconSize.Button); this.buttonFinish.Image = w27; this.table4.Add(this.buttonFinish); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table4 [this.buttonFinish])); w28.TopAttach = ((uint)(9)); w28.BottomAttach = ((uint)(10)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(3)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.checkOpenAfterSave = new global::Gtk.CheckButton(); this.checkOpenAfterSave.CanFocus = true; this.checkOpenAfterSave.Name = "checkOpenAfterSave"; this.checkOpenAfterSave.Label = global::Mono.Unix.Catalog.GetString("Открыть после сохранения"); this.checkOpenAfterSave.Active = true; this.checkOpenAfterSave.DrawIndicator = true; this.checkOpenAfterSave.UseUnderline = true; this.table4.Add(this.checkOpenAfterSave); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table4 [this.checkOpenAfterSave])); w29.TopAttach = ((uint)(8)); w29.BottomAttach = ((uint)(9)); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(3)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.table4.Add(this.label11); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table4 [this.label11])); w30.TopAttach = ((uint)(1)); w30.BottomAttach = ((uint)(2)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.table4.Add(this.label12); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table4 [this.label12])); w31.TopAttach = ((uint)(1)); w31.BottomAttach = ((uint)(2)); w31.LeftAttach = ((uint)(3)); w31.RightAttach = ((uint)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.table4.Add(this.label13); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table4 [this.label13])); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.table4.Add(this.label14); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table4 [this.label14])); w33.TopAttach = ((uint)(10)); w33.BottomAttach = ((uint)(11)); w33.LeftAttach = ((uint)(1)); w33.RightAttach = ((uint)(2)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label15 = new global::Gtk.Label(); this.label15.Name = "label15"; this.label15.Xalign = 1F; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString("Всего обработано строк файла:"); this.table4.Add(this.label15); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table4 [this.label15])); w34.TopAttach = ((uint)(1)); w34.BottomAttach = ((uint)(2)); w34.LeftAttach = ((uint)(1)); w34.RightAttach = ((uint)(2)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label16 = new global::Gtk.Label(); this.label16.Name = "label16"; this.label16.Xalign = 1F; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString("Из них найдено автоматически:"); this.table4.Add(this.label16); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table4 [this.label16])); w35.TopAttach = ((uint)(2)); w35.BottomAttach = ((uint)(3)); w35.LeftAttach = ((uint)(1)); w35.RightAttach = ((uint)(2)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.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.table4.Add(this.label17); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table4 [this.label17])); w36.TopAttach = ((uint)(3)); w36.BottomAttach = ((uint)(4)); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.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.table4.Add(this.label18); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table4 [this.label18])); w37.TopAttach = ((uint)(4)); w37.BottomAttach = ((uint)(5)); w37.LeftAttach = ((uint)(1)); w37.RightAttach = ((uint)(2)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.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.table4.Add(this.label8); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table4 [this.label8])); w38.TopAttach = ((uint)(6)); w38.BottomAttach = ((uint)(7)); w38.LeftAttach = ((uint)(1)); w38.RightAttach = ((uint)(2)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.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.table4.Add(this.label9); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table4 [this.label9])); w39.TopAttach = ((uint)(5)); w39.BottomAttach = ((uint)(6)); w39.LeftAttach = ((uint)(1)); w39.RightAttach = ((uint)(2)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.labelCurrency = new global::Gtk.Label(); this.labelCurrency.Name = "labelCurrency"; this.labelCurrency.LabelProp = global::Mono.Unix.Catalog.GetString("label7"); this.table4.Add(this.labelCurrency); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table4 [this.labelCurrency])); w40.TopAttach = ((uint)(6)); w40.BottomAttach = ((uint)(7)); w40.LeftAttach = ((uint)(2)); w40.RightAttach = ((uint)(3)); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.labelFind = new global::Gtk.Label(); this.labelFind.Name = "labelFind"; this.labelFind.LabelProp = global::Mono.Unix.Catalog.GetString("label2"); this.table4.Add(this.labelFind); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table4 [this.labelFind])); w41.TopAttach = ((uint)(2)); w41.BottomAttach = ((uint)(3)); w41.LeftAttach = ((uint)(2)); w41.RightAttach = ((uint)(3)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.labelManualSet = new global::Gtk.Label(); this.labelManualSet.Name = "labelManualSet"; this.labelManualSet.LabelProp = global::Mono.Unix.Catalog.GetString("label3"); this.table4.Add(this.labelManualSet); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table4 [this.labelManualSet])); w42.TopAttach = ((uint)(3)); w42.BottomAttach = ((uint)(4)); w42.LeftAttach = ((uint)(2)); w42.RightAttach = ((uint)(3)); w42.XOptions = ((global::Gtk.AttachOptions)(4)); w42.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.labelPriceNotChanged = new global::Gtk.Label(); this.labelPriceNotChanged.Name = "labelPriceNotChanged"; this.labelPriceNotChanged.LabelProp = global::Mono.Unix.Catalog.GetString("label4"); this.table4.Add(this.labelPriceNotChanged); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table4 [this.labelPriceNotChanged])); w43.TopAttach = ((uint)(4)); w43.BottomAttach = ((uint)(5)); w43.LeftAttach = ((uint)(2)); w43.RightAttach = ((uint)(3)); w43.XOptions = ((global::Gtk.AttachOptions)(4)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.labelTotal = new global::Gtk.Label(); this.labelTotal.Name = "labelTotal"; this.labelTotal.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.table4.Add(this.labelTotal); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table4 [this.labelTotal])); w44.TopAttach = ((uint)(1)); w44.BottomAttach = ((uint)(2)); w44.LeftAttach = ((uint)(2)); w44.RightAttach = ((uint)(3)); w44.XOptions = ((global::Gtk.AttachOptions)(4)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.labelWillChangePrice = new global::Gtk.Label(); this.labelWillChangePrice.Name = "labelWillChangePrice"; this.labelWillChangePrice.LabelProp = global::Mono.Unix.Catalog.GetString("label9"); this.table4.Add(this.labelWillChangePrice); global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.table4 [this.labelWillChangePrice])); w45.TopAttach = ((uint)(5)); w45.BottomAttach = ((uint)(6)); w45.LeftAttach = ((uint)(2)); w45.RightAttach = ((uint)(3)); w45.XOptions = ((global::Gtk.AttachOptions)(4)); w45.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.progressFinal = new global::Gtk.ProgressBar(); this.progressFinal.Name = "progressFinal"; this.table4.Add(this.progressFinal); global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table4 [this.progressFinal])); w46.TopAttach = ((uint)(7)); w46.BottomAttach = ((uint)(8)); w46.LeftAttach = ((uint)(1)); w46.RightAttach = ((uint)(3)); w46.XOptions = ((global::Gtk.AttachOptions)(4)); w46.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebook1.Add(this.table4); global::Gtk.Notebook.NotebookChild w47 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.table4])); w47.Position = 2; // Notebook tab this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Шаг 3"); this.notebook1.SetTabLabel(this.table4, this.label7); this.label7.ShowAll(); this.vbox1.Add(this.notebook1); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1])); w48.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.buttonPrev = new global::Gtk.Button(); this.buttonPrev.Sensitive = false; this.buttonPrev.CanFocus = true; this.buttonPrev.Name = "buttonPrev"; this.buttonPrev.UseStock = true; this.buttonPrev.UseUnderline = true; this.buttonPrev.Label = "gtk-go-back"; this.hbox9.Add(this.buttonPrev); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonPrev])); w49.Position = 0; // Container child hbox9.Gtk.Box+BoxChild this.buttonNext = new global::Gtk.Button(); this.buttonNext.CanFocus = true; this.buttonNext.Name = "buttonNext"; this.buttonNext.UseStock = true; this.buttonNext.UseUnderline = true; this.buttonNext.Label = "gtk-go-forward"; this.hbox9.Add(this.buttonNext); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonNext])); w50.Position = 1; // Container child hbox9.Gtk.Box+BoxChild this.buttonCancel1 = new global::Gtk.Button(); this.buttonCancel1.CanFocus = true; this.buttonCancel1.Name = "buttonCancel1"; this.buttonCancel1.UseStock = true; this.buttonCancel1.UseUnderline = true; this.buttonCancel1.Label = "gtk-cancel"; this.hbox9.Add(this.buttonCancel1); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonCancel1])); w51.Position = 2; w51.Expand = false; w51.Fill = false; this.vbox1.Add(this.hbox9); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox9])); w52.Position = 1; w52.Expand = false; w52.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.yspinSkipRows.ValueChanged += new global::System.EventHandler(this.OnYspinSkipRowsValueChanged); this.comboSheet.Changed += new global::System.EventHandler(this.OnComboSheetChanged); this.buttonSelectAll.Clicked += new global::System.EventHandler(this.OnButtonSelectAllClicked); this.buttonUnSelect.Clicked += new global::System.EventHandler(this.OnButtonUnSelectClicked); this.comboProvider.Changed += new global::System.EventHandler(this.OnComboProviderChanged); this.buttonResolveMultiFound.Clicked += new global::System.EventHandler(this.OnButtonResolveMultiFoundClicked); this.buttonFinish.Clicked += new global::System.EventHandler(this.OnButtonFinishClicked); this.buttonPrev.Clicked += new global::System.EventHandler(this.OnButtonPrevClicked); this.buttonNext.Clicked += new global::System.EventHandler(this.OnButtonNextClicked); this.buttonCancel1.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Cash.CashRequestView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Cash.CashRequestView"; // Container child Vodovoz.Dialogs.Cash.CashRequestView.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.ylabelyourRoleIs = new global::Gamma.GtkWidgets.yLabel(); this.ylabelyourRoleIs.Name = "ylabelyourRoleIs"; this.ylabelyourRoleIs.LabelProp = global::Mono.Unix.Catalog.GetString("Роль:"); this.hboxDialogButtons.Add(this.ylabelyourRoleIs); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.ylabelyourRoleIs])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.comboRoleChooser = new global::Gamma.Widgets.yListComboBox(); this.comboRoleChooser.Name = "comboRoleChooser"; this.comboRoleChooser.AddIfNotExist = false; this.comboRoleChooser.DefaultFirst = false; this.hboxDialogButtons.Add(this.comboRoleChooser); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.comboRoleChooser])); w6.Position = 3; w6.Expand = false; w6.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.labelStatus = new global::Gamma.GtkWidgets.yLabel(); this.labelStatus.Name = "labelStatus"; this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус заявки:"); this.hboxDialogButtons.Add(this.labelStatus); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.labelStatus])); w7.Position = 4; w7.Expand = false; w7.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.ylabelStatus = new global::Gamma.GtkWidgets.yLabel(); this.ylabelStatus.Name = "ylabelStatus"; this.ylabelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("."); this.hboxDialogButtons.Add(this.ylabelStatus); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.ylabelStatus])); w8.Position = 5; w8.Expand = false; w8.Fill = false; this.vboxDialog.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxDialogButtons])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vboxDialog.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 global::Gtk.Viewport w10 = new global::Gtk.Viewport(); w10.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(19)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.AuthorEntityviewmodelentry = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.AuthorEntityviewmodelentry.Events = ((global::Gdk.EventMask)(256)); this.AuthorEntityviewmodelentry.Name = "AuthorEntityviewmodelentry"; this.AuthorEntityviewmodelentry.CanEditReference = false; this.table1.Add(this.AuthorEntityviewmodelentry); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.AuthorEntityviewmodelentry])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ExpenseCategoryEntityviewmodelentry = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.ExpenseCategoryEntityviewmodelentry.Events = ((global::Gdk.EventMask)(256)); this.ExpenseCategoryEntityviewmodelentry.Name = "ExpenseCategoryEntityviewmodelentry"; this.ExpenseCategoryEntityviewmodelentry.CanEditReference = false; this.table1.Add(this.ExpenseCategoryEntityviewmodelentry); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.ExpenseCategoryEntityviewmodelentry])); w12.TopAttach = ((uint)(13)); w12.BottomAttach = ((uint)(14)); 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.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytreeviewSums = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewSums.CanFocus = true; this.ytreeviewSums.Name = "ytreeviewSums"; this.GtkScrolledWindow.Add(this.ytreeviewSums); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(5)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.yentryReasonForSendToReapproval = new global::Gamma.GtkWidgets.yTextView(); this.yentryReasonForSendToReapproval.CanFocus = true; this.yentryReasonForSendToReapproval.Name = "yentryReasonForSendToReapproval"; this.GtkScrolledWindow1.Add(this.yentryReasonForSendToReapproval); this.table1.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow1])); w16.TopAttach = ((uint)(15)); w16.BottomAttach = ((uint)(16)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.yentryCancelReason = new global::Gamma.GtkWidgets.yTextView(); this.yentryCancelReason.CanFocus = true; this.yentryCancelReason.Name = "yentryCancelReason"; this.GtkScrolledWindow2.Add(this.yentryCancelReason); this.table1.Add(this.GtkScrolledWindow2); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow2])); w18.TopAttach = ((uint)(16)); w18.BottomAttach = ((uint)(17)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.yentryGround = new global::Gamma.GtkWidgets.yTextView(); this.yentryGround.CanFocus = true; this.yentryGround.Name = "yentryGround"; this.GtkScrolledWindow3.Add(this.yentryGround); this.table1.Add(this.GtkScrolledWindow3); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow3])); w20.TopAttach = ((uint)(6)); w20.BottomAttach = ((uint)(7)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((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.ybtnAccept = new global::Gamma.GtkWidgets.yButton(); this.ybtnAccept.CanFocus = true; this.ybtnAccept.Name = "ybtnAccept"; this.ybtnAccept.UseUnderline = true; this.ybtnAccept.Label = global::Mono.Unix.Catalog.GetString("Подтвердить"); this.hbox4.Add(this.ybtnAccept); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ybtnAccept])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ybtnApprove = new global::Gamma.GtkWidgets.yButton(); this.ybtnApprove.CanFocus = true; this.ybtnApprove.Name = "ybtnApprove"; this.ybtnApprove.UseUnderline = true; this.ybtnApprove.Label = global::Mono.Unix.Catalog.GetString("Согласовать"); this.hbox4.Add(this.ybtnApprove); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ybtnApprove])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ybtnConveyForResults = new global::Gamma.GtkWidgets.yButton(); this.ybtnConveyForResults.CanFocus = true; this.ybtnConveyForResults.Name = "ybtnConveyForResults"; this.ybtnConveyForResults.UseUnderline = true; this.ybtnConveyForResults.Label = global::Mono.Unix.Catalog.GetString("Передать на выдачу"); this.hbox4.Add(this.ybtnConveyForResults); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ybtnConveyForResults])); w23.Position = 2; w23.Expand = false; w23.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ybtnCancel = new global::Gamma.GtkWidgets.yButton(); this.ybtnCancel.CanFocus = true; this.ybtnCancel.Name = "ybtnCancel"; this.ybtnCancel.UseUnderline = true; this.ybtnCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить заявку"); this.hbox4.Add(this.ybtnCancel); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ybtnCancel])); w24.Position = 3; w24.Expand = false; w24.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ybtnReturnForRenegotiation = new global::Gamma.GtkWidgets.yButton(); this.ybtnReturnForRenegotiation.CanFocus = true; this.ybtnReturnForRenegotiation.Name = "ybtnReturnForRenegotiation"; this.ybtnReturnForRenegotiation.UseUnderline = true; this.ybtnReturnForRenegotiation.Label = global::Mono.Unix.Catalog.GetString("Отправить на пересогласование"); this.hbox4.Add(this.ybtnReturnForRenegotiation); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ybtnReturnForRenegotiation])); w25.Position = 4; w25.Expand = false; w25.Fill = false; this.table1.Add(this.hbox4); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox4])); w26.TopAttach = ((uint)(18)); w26.BottomAttach = ((uint)(19)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(0)); w26.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; this.table1.Add(this.hbox6); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox6])); w27.TopAttach = ((uint)(3)); w27.BottomAttach = ((uint)(4)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.ybtnAddSumm = new global::Gamma.GtkWidgets.yButton(); this.ybtnAddSumm.CanFocus = true; this.ybtnAddSumm.Name = "ybtnAddSumm"; this.ybtnAddSumm.UseUnderline = true; this.ybtnAddSumm.Label = global::Mono.Unix.Catalog.GetString("Добавить"); this.hbox7.Add(this.ybtnAddSumm); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.ybtnAddSumm])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.ybtnEditSum = new global::Gamma.GtkWidgets.yButton(); this.ybtnEditSum.CanFocus = true; this.ybtnEditSum.Name = "ybtnEditSum"; this.ybtnEditSum.UseUnderline = true; this.ybtnEditSum.Label = global::Mono.Unix.Catalog.GetString("Редактировать"); this.hbox7.Add(this.ybtnEditSum); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.ybtnEditSum])); w29.Position = 1; w29.Expand = false; w29.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.ybtnDeleteSumm = new global::Gamma.GtkWidgets.yButton(); this.ybtnDeleteSumm.CanFocus = true; this.ybtnDeleteSumm.Name = "ybtnDeleteSumm"; this.ybtnDeleteSumm.UseUnderline = true; this.ybtnDeleteSumm.Label = global::Mono.Unix.Catalog.GetString("Удалить"); this.hbox7.Add(this.ybtnDeleteSumm); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.ybtnDeleteSumm])); w30.Position = 2; w30.Expand = false; w30.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.ybtnGiveSumm = new global::Gamma.GtkWidgets.yButton(); this.ybtnGiveSumm.CanFocus = true; this.ybtnGiveSumm.Name = "ybtnGiveSumm"; this.ybtnGiveSumm.UseUnderline = true; this.ybtnGiveSumm.Label = global::Mono.Unix.Catalog.GetString("Выдать"); this.hbox7.Add(this.ybtnGiveSumm); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.ybtnGiveSumm])); w31.Position = 3; w31.Expand = false; w31.Fill = false; this.table1.Add(this.hbox7); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox7])); w32.TopAttach = ((uint)(5)); w32.BottomAttach = ((uint)(6)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hboxGivePartially = new global::Gtk.HBox(); this.hboxGivePartially.Name = "hboxGivePartially"; this.hboxGivePartially.Spacing = 6; // Container child hboxGivePartially.Gtk.Box+BoxChild this.ybtnGiveSummPartially = new global::Gamma.GtkWidgets.yButton(); this.ybtnGiveSummPartially.CanFocus = true; this.ybtnGiveSummPartially.Name = "ybtnGiveSummPartially"; this.ybtnGiveSummPartially.UseUnderline = true; this.ybtnGiveSummPartially.Label = global::Mono.Unix.Catalog.GetString("Выдать частично"); this.hboxGivePartially.Add(this.ybtnGiveSummPartially); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hboxGivePartially[this.ybtnGiveSummPartially])); w33.Position = 0; w33.Expand = false; w33.Fill = false; // Container child hboxGivePartially.Gtk.Box+BoxChild this.yspinGivePartially = new global::Gamma.GtkWidgets.ySpinButton(-100000D, 100000D, 1D); this.yspinGivePartially.CanFocus = true; this.yspinGivePartially.Name = "yspinGivePartially"; this.yspinGivePartially.Adjustment.PageIncrement = 10D; this.yspinGivePartially.ClimbRate = 1D; this.yspinGivePartially.Numeric = true; this.yspinGivePartially.ValueAsDecimal = 0m; this.yspinGivePartially.ValueAsInt = 0; this.hboxGivePartially.Add(this.yspinGivePartially); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hboxGivePartially[this.yspinGivePartially])); w34.Position = 1; w34.Expand = false; w34.Fill = false; this.table1.Add(this.hboxGivePartially); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1[this.hboxGivePartially])); 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)); // Container child table1.Gtk.Table+TableChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.table1.Add(this.hseparator1); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1[this.hseparator1])); w36.TopAttach = ((uint)(10)); w36.BottomAttach = ((uint)(11)); w36.RightAttach = ((uint)(2)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.table1.Add(this.hseparator2); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table1[this.hseparator2])); w37.TopAttach = ((uint)(14)); w37.BottomAttach = ((uint)(15)); w37.RightAttach = ((uint)(2)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hseparator3 = new global::Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.table1.Add(this.hseparator3); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1[this.hseparator3])); w38.TopAttach = ((uint)(17)); w38.BottomAttach = ((uint)(18)); w38.RightAttach = ((uint)(2)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelBalansOrganizations = new global::Gamma.GtkWidgets.yLabel(); this.labelBalansOrganizations.Name = "labelBalansOrganizations"; this.labelBalansOrganizations.Xalign = 0F; this.labelBalansOrganizations.LabelProp = global::Mono.Unix.Catalog.GetString("Баланс по \nнашим \nорганизациям:"); this.table1.Add(this.labelBalansOrganizations); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1[this.labelBalansOrganizations])); w39.TopAttach = ((uint)(11)); w39.BottomAttach = ((uint)(12)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCancelReason = new global::Gtk.Label(); this.labelCancelReason.Name = "labelCancelReason"; this.labelCancelReason.Xalign = 0F; this.labelCancelReason.LabelProp = global::Mono.Unix.Catalog.GetString("Причина отмены:"); this.table1.Add(this.labelCancelReason); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCancelReason])); w40.TopAttach = ((uint)(16)); w40.BottomAttach = ((uint)(17)); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCategoryEntityviewmodelentry = new global::Gamma.GtkWidgets.yLabel(); this.labelCategoryEntityviewmodelentry.Name = "labelCategoryEntityviewmodelentry"; this.labelCategoryEntityviewmodelentry.Xalign = 0F; this.labelCategoryEntityviewmodelentry.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.table1.Add(this.labelCategoryEntityviewmodelentry); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCategoryEntityviewmodelentry])); w41.TopAttach = ((uint)(13)); w41.BottomAttach = ((uint)(14)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelcomboOrganization = new global::Gamma.GtkWidgets.yLabel(); this.labelcomboOrganization.Name = "labelcomboOrganization"; this.labelcomboOrganization.Xalign = 0F; this.labelcomboOrganization.LabelProp = global::Mono.Unix.Catalog.GetString("Наша организация:"); this.table1.Add(this.labelcomboOrganization); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table1[this.labelcomboOrganization])); w42.TopAttach = ((uint)(12)); w42.BottomAttach = ((uint)(13)); w42.XOptions = ((global::Gtk.AttachOptions)(4)); w42.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelExplanation = new global::Gtk.Label(); this.labelExplanation.Name = "labelExplanation"; this.labelExplanation.Xalign = 0F; this.labelExplanation.LabelProp = global::Mono.Unix.Catalog.GetString("Пояснение:"); this.table1.Add(this.labelExplanation); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table1[this.labelExplanation])); w43.TopAttach = ((uint)(7)); w43.BottomAttach = ((uint)(8)); w43.XOptions = ((global::Gtk.AttachOptions)(4)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelGround = new global::Gtk.Label(); this.labelGround.Name = "labelGround"; this.labelGround.Xalign = 0F; this.labelGround.LabelProp = global::Mono.Unix.Catalog.GetString("Основание:"); this.table1.Add(this.labelGround); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table1[this.labelGround])); w44.TopAttach = ((uint)(6)); w44.BottomAttach = ((uint)(7)); w44.XOptions = ((global::Gtk.AttachOptions)(4)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelHaveReceipt = new global::Gtk.Label(); this.labelHaveReceipt.Name = "labelHaveReceipt"; this.labelHaveReceipt.Xalign = 0F; this.labelHaveReceipt.LabelProp = global::Mono.Unix.Catalog.GetString("Наличие чека:"); this.table1.Add(this.labelHaveReceipt); global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.table1[this.labelHaveReceipt])); w45.TopAttach = ((uint)(8)); w45.BottomAttach = ((uint)(9)); w45.XOptions = ((global::Gtk.AttachOptions)(4)); w45.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelReasonForSendToReapproval = new global::Gtk.Label(); this.labelReasonForSendToReapproval.Name = "labelReasonForSendToReapproval"; this.labelReasonForSendToReapproval.Xalign = 0F; this.labelReasonForSendToReapproval.LabelProp = global::Mono.Unix.Catalog.GetString("Причина отправки на пересогласование:"); this.labelReasonForSendToReapproval.Wrap = true; this.labelReasonForSendToReapproval.WidthChars = 0; this.labelReasonForSendToReapproval.MaxWidthChars = 20; this.table1.Add(this.labelReasonForSendToReapproval); global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table1[this.labelReasonForSendToReapproval])); w46.TopAttach = ((uint)(15)); w46.BottomAttach = ((uint)(16)); w46.XOptions = ((global::Gtk.AttachOptions)(4)); w46.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelType5 = new global::Gtk.Label(); this.labelType5.Name = "labelType5"; this.labelType5.Xalign = 0F; this.labelType5.LabelProp = global::Mono.Unix.Catalog.GetString("Автор:"); this.table1.Add(this.labelType5); global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.table1[this.labelType5])); w47.TopAttach = ((uint)(1)); w47.BottomAttach = ((uint)(2)); w47.XOptions = ((global::Gtk.AttachOptions)(4)); w47.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelType6 = new global::Gtk.Label(); this.labelType6.Name = "labelType6"; this.labelType6.Xalign = 0F; this.labelType6.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение:"); this.table1.Add(this.labelType6); global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.table1[this.labelType6])); w48.TopAttach = ((uint)(2)); w48.BottomAttach = ((uint)(3)); w48.XOptions = ((global::Gtk.AttachOptions)(4)); w48.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.speccomboOrganization = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.speccomboOrganization.Name = "speccomboOrganization"; this.speccomboOrganization.AddIfNotExist = false; this.speccomboOrganization.DefaultFirst = false; this.speccomboOrganization.ShowSpecialStateAll = false; this.speccomboOrganization.ShowSpecialStateNot = false; this.table1.Add(this.speccomboOrganization); global::Gtk.Table.TableChild w49 = ((global::Gtk.Table.TableChild)(this.table1[this.speccomboOrganization])); w49.TopAttach = ((uint)(12)); w49.BottomAttach = ((uint)(13)); w49.LeftAttach = ((uint)(1)); w49.RightAttach = ((uint)(2)); w49.XOptions = ((global::Gtk.AttachOptions)(4)); w49.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.SubdivisionEntityviewmodelentry = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.SubdivisionEntityviewmodelentry.Events = ((global::Gdk.EventMask)(256)); this.SubdivisionEntityviewmodelentry.Name = "SubdivisionEntityviewmodelentry"; this.SubdivisionEntityviewmodelentry.CanEditReference = false; this.table1.Add(this.SubdivisionEntityviewmodelentry); global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.table1[this.SubdivisionEntityviewmodelentry])); w50.TopAttach = ((uint)(2)); w50.BottomAttach = ((uint)(3)); w50.LeftAttach = ((uint)(1)); w50.RightAttach = ((uint)(2)); w50.XOptions = ((global::Gtk.AttachOptions)(4)); w50.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycheckHaveReceipt = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckHaveReceipt.CanFocus = true; this.ycheckHaveReceipt.Name = "ycheckHaveReceipt"; this.ycheckHaveReceipt.Label = ""; this.ycheckHaveReceipt.Active = true; this.ycheckHaveReceipt.DrawIndicator = true; this.ycheckHaveReceipt.UseUnderline = true; this.table1.Add(this.ycheckHaveReceipt); global::Gtk.Table.TableChild w51 = ((global::Gtk.Table.TableChild)(this.table1[this.ycheckHaveReceipt])); w51.TopAttach = ((uint)(8)); w51.BottomAttach = ((uint)(9)); w51.LeftAttach = ((uint)(1)); w51.RightAttach = ((uint)(2)); w51.XOptions = ((global::Gtk.AttachOptions)(4)); w51.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycheckPossibilityNotToReconcilePayments = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckPossibilityNotToReconcilePayments.CanFocus = true; this.ycheckPossibilityNotToReconcilePayments.Name = "ycheckPossibilityNotToReconcilePayments"; this.ycheckPossibilityNotToReconcilePayments.Label = ""; this.ycheckPossibilityNotToReconcilePayments.DrawIndicator = true; this.ycheckPossibilityNotToReconcilePayments.UseUnderline = true; this.table1.Add(this.ycheckPossibilityNotToReconcilePayments); global::Gtk.Table.TableChild w52 = ((global::Gtk.Table.TableChild)(this.table1[this.ycheckPossibilityNotToReconcilePayments])); w52.TopAttach = ((uint)(9)); w52.BottomAttach = ((uint)(10)); w52.LeftAttach = ((uint)(1)); w52.RightAttach = ((uint)(2)); w52.XOptions = ((global::Gtk.AttachOptions)(4)); w52.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryExplanation = new global::Gamma.GtkWidgets.yEntry(); this.yentryExplanation.CanFocus = true; this.yentryExplanation.Name = "yentryExplanation"; this.yentryExplanation.IsEditable = true; this.yentryExplanation.InvisibleChar = '•'; this.table1.Add(this.yentryExplanation); global::Gtk.Table.TableChild w53 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryExplanation])); w53.TopAttach = ((uint)(7)); w53.BottomAttach = ((uint)(8)); w53.LeftAttach = ((uint)(1)); w53.RightAttach = ((uint)(2)); w53.XOptions = ((global::Gtk.AttachOptions)(4)); w53.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelBalansOrganizations = new global::Gamma.GtkWidgets.yLabel(); this.ylabelBalansOrganizations.Name = "ylabelBalansOrganizations"; this.ylabelBalansOrganizations.LabelProp = global::Mono.Unix.Catalog.GetString("."); this.table1.Add(this.ylabelBalansOrganizations); global::Gtk.Table.TableChild w54 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelBalansOrganizations])); w54.TopAttach = ((uint)(11)); w54.BottomAttach = ((uint)(12)); w54.LeftAttach = ((uint)(1)); w54.RightAttach = ((uint)(2)); w54.XOptions = ((global::Gtk.AttachOptions)(4)); w54.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelPossibilityNotToReconcilePayments = new global::Gamma.GtkWidgets.yLabel(); this.ylabelPossibilityNotToReconcilePayments.Name = "ylabelPossibilityNotToReconcilePayments"; this.ylabelPossibilityNotToReconcilePayments.Xalign = 0F; this.ylabelPossibilityNotToReconcilePayments.LabelProp = global::Mono.Unix.Catalog.GetString("Утвердить воз-ть не пересогласовывать оплаты:"); this.table1.Add(this.ylabelPossibilityNotToReconcilePayments); global::Gtk.Table.TableChild w55 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelPossibilityNotToReconcilePayments])); w55.TopAttach = ((uint)(9)); w55.BottomAttach = ((uint)(10)); w55.XOptions = ((global::Gtk.AttachOptions)(4)); w55.YOptions = ((global::Gtk.AttachOptions)(4)); w10.Add(this.table1); this.scrolledwindow1.Add(w10); this.vboxDialog.Add(this.scrolledwindow1); global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.scrolledwindow1])); w58.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 workwear.Views.Stock.IssueByIdentifierView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Stock.IssueByIdentifierView"; // Container child workwear.Views.Stock.IssueByIdentifierView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.eventboxStatus = new global::Gamma.GtkWidgets.yEventBox(); this.eventboxStatus.Name = "eventboxStatus"; // Container child eventboxStatus.Gtk.Container+ContainerChild this.ylabelStatus = new global::Gamma.GtkWidgets.yLabel(); this.ylabelStatus.Name = "ylabelStatus"; this.ylabelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.eventboxStatus.Add(this.ylabelStatus); this.hbox2.Add(this.eventboxStatus); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.eventboxStatus])); w2.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.checkSettings = new global::Gamma.GtkWidgets.yCheckButton(); this.checkSettings.CanFocus = true; this.checkSettings.Name = "checkSettings"; this.checkSettings.Label = global::Mono.Unix.Catalog.GetString("Настройка"); this.checkSettings.DrawIndicator = false; this.checkSettings.UseUnderline = true; this.hbox2.Add(this.checkSettings); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.checkSettings])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.yhbox1 = new global::Gamma.GtkWidgets.yHBox(); this.yhbox1.Name = "yhbox1"; this.yhbox1.Spacing = 6; // Container child yhbox1.Gtk.Box+BoxChild this.labelFIO = new global::Gamma.GtkWidgets.yLabel(); this.labelFIO.Name = "labelFIO"; this.labelFIO.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.labelFIO.UseMarkup = true; this.yhbox1.Add(this.labelFIO); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.labelFIO])); w5.Position = 0; // Container child yhbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.TooltipMarkup = "Отменить выдачу сотруднику"; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Relief = ((global::Gtk.ReliefStyle)(2)); global::Gtk.Image w6 = new global::Gtk.Image(); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-cancel", global::Gtk.IconSize.LargeToolbar); this.buttonCancel.Image = w6; this.yhbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.buttonCancel])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.vbox2.Add(this.yhbox1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.yhbox1])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeItems = new global::Gamma.GtkWidgets.yTreeView(); this.treeItems.CanFocus = true; this.treeItems.Name = "treeItems"; this.GtkScrolledWindow.Add(this.treeItems); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow])); w10.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.eventboxSuccessfully = new global::Gamma.GtkWidgets.yEventBox(); this.eventboxSuccessfully.Name = "eventboxSuccessfully"; // Container child eventboxSuccessfully.Gtk.Container+ContainerChild this.labelSuccessfully = new global::Gamma.GtkWidgets.yLabel(); this.labelSuccessfully.Name = "labelSuccessfully"; this.labelSuccessfully.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.labelSuccessfully.UseMarkup = true; this.eventboxSuccessfully.Add(this.labelSuccessfully); this.vbox2.Add(this.eventboxSuccessfully); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.eventboxSuccessfully])); w12.Position = 2; w12.Expand = false; w12.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hboxRecommendedActions = new global::Gamma.GtkWidgets.yHBox(); this.hboxRecommendedActions.Name = "hboxRecommendedActions"; this.hboxRecommendedActions.Spacing = 6; // Container child hboxRecommendedActions.Gtk.Box+BoxChild this.imageHand = new global::Gamma.GtkWidgets.yImage(); this.imageHand.Name = "imageHand"; this.imageHand.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("workwear.icon.art.hand-holding-rfid.png"); this.hboxRecommendedActions.Add(this.imageHand); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hboxRecommendedActions[this.imageHand])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child hboxRecommendedActions.Gtk.Box+BoxChild this.labelRecommendedActions = new global::Gamma.GtkWidgets.yLabel(); this.labelRecommendedActions.Name = "labelRecommendedActions"; this.labelRecommendedActions.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.labelRecommendedActions.UseMarkup = true; this.hboxRecommendedActions.Add(this.labelRecommendedActions); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hboxRecommendedActions[this.labelRecommendedActions])); w14.Position = 1; this.vbox2.Add(this.hboxRecommendedActions); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hboxRecommendedActions])); w15.Position = 3; w15.Expand = false; w15.Fill = false; this.hbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2])); w16.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox1.Add(this.vseparator1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator1])); w17.Position = 1; w17.Expand = false; w17.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.tableSettings = new global::Gamma.GtkWidgets.yTable(); this.tableSettings.Name = "tableSettings"; this.tableSettings.NRows = ((uint)(3)); this.tableSettings.NColumns = ((uint)(2)); this.tableSettings.RowSpacing = ((uint)(6)); this.tableSettings.ColumnSpacing = ((uint)(6)); // Container child tableSettings.Gtk.Table+TableChild this.comboDevice = new global::Gamma.Widgets.yListComboBox(); this.comboDevice.Name = "comboDevice"; this.comboDevice.AddIfNotExist = false; this.comboDevice.DefaultFirst = true; this.tableSettings.Add(this.comboDevice); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableSettings[this.comboDevice])); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.entityWarehouse = new global::QS.Views.Control.EntityEntry(); this.entityWarehouse.Events = ((global::Gdk.EventMask)(256)); this.entityWarehouse.Name = "entityWarehouse"; this.tableSettings.Add(this.entityWarehouse); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableSettings[this.entityWarehouse])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.labelWarehouse = new global::Gamma.GtkWidgets.yLabel(); this.labelWarehouse.Name = "labelWarehouse"; this.labelWarehouse.Xalign = 1F; this.labelWarehouse.LabelProp = global::Mono.Unix.Catalog.GetString("Склад выдачи:"); this.tableSettings.Add(this.labelWarehouse); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableSettings[this.labelWarehouse])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.Xalign = 1F; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Считыватель:"); this.tableSettings.Add(this.ylabel1); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableSettings[this.ylabel1])); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.Xalign = 1F; this.ylabel2.Yalign = 0F; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Типы карт:"); this.tableSettings.Add(this.ylabel2); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableSettings[this.ylabel2])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.ytreeviewCardTypes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewCardTypes.CanFocus = true; this.ytreeviewCardTypes.Name = "ytreeviewCardTypes"; this.ytreeviewCardTypes.HeadersVisible = false; this.tableSettings.Add(this.ytreeviewCardTypes); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableSettings[this.ytreeviewCardTypes])); w23.TopAttach = ((uint)(1)); w23.BottomAttach = ((uint)(2)); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(2)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.tableSettings); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.tableSettings])); w24.Position = 2; w24.Expand = false; w24.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w25.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Communications.SendMessangeView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Communications.SendMessangeView"; // Container child workwear.Views.Communications.SendMessangeView.Gtk.Container+ContainerChild this.yvbox1 = new global::Gamma.GtkWidgets.yVBox(); this.yvbox1.Name = "yvbox1"; this.yvbox1.Spacing = 6; // Container child yvbox1.Gtk.Box+BoxChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Отправка сообщений"); this.yvbox1.Add(this.ylabel2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.ylabel2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child yvbox1.Gtk.Box+BoxChild this.ylistcomboboxTemplates = new global::Gamma.Widgets.yListComboBox(); this.ylistcomboboxTemplates.Name = "ylistcomboboxTemplates"; this.ylistcomboboxTemplates.AddIfNotExist = false; this.ylistcomboboxTemplates.DefaultFirst = false; this.yvbox1.Add(this.ylistcomboboxTemplates); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.ylistcomboboxTemplates])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child yvbox1.Gtk.Box+BoxChild this.yentryTitle = new global::Gamma.GtkWidgets.yEntry(); this.yentryTitle.WidthRequest = 400; this.yentryTitle.CanFocus = true; this.yentryTitle.Name = "yentryTitle"; this.yentryTitle.IsEditable = true; this.yentryTitle.MaxLength = 200; this.yentryTitle.InvisibleChar = '•'; this.yvbox1.Add(this.yentryTitle); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.yentryTitle])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child yvbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.HeightRequest = 100; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextTemplate = new global::Gamma.GtkWidgets.yTextView(); this.ytextTemplate.CanFocus = true; this.ytextTemplate.Name = "ytextTemplate"; this.GtkScrolledWindow.Add(this.ytextTemplate); this.yvbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.GtkScrolledWindow])); w5.Position = 3; // Container child yvbox1.Gtk.Box+BoxChild this.yhbox1 = new global::Gamma.GtkWidgets.yHBox(); this.yhbox1.Name = "yhbox1"; this.yhbox1.Spacing = 6; // Container child yhbox1.Gtk.Box+BoxChild this.ybuttonSend = new global::Gamma.GtkWidgets.yButton(); this.ybuttonSend.CanFocus = true; this.ybuttonSend.Name = "ybuttonSend"; this.ybuttonSend.UseUnderline = true; this.ybuttonSend.Label = global::Mono.Unix.Catalog.GetString("Отправить"); global::Gtk.Image w6 = new global::Gtk.Image(); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "stock_mail-send", global::Gtk.IconSize.Menu); this.ybuttonSend.Image = w6; this.yhbox1.Add(this.ybuttonSend); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.ybuttonSend])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child yhbox1.Gtk.Box+BoxChild this.ybuttonCancel = new global::Gamma.GtkWidgets.yButton(); this.ybuttonCancel.CanFocus = true; this.ybuttonCancel.Name = "ybuttonCancel"; this.ybuttonCancel.UseUnderline = true; this.ybuttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w8 = new global::Gtk.Image(); w8.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-cancel", global::Gtk.IconSize.Menu); this.ybuttonCancel.Image = w8; this.yhbox1.Add(this.ybuttonCancel); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.ybuttonCancel])); w9.PackType = ((global::Gtk.PackType)(1)); w9.Position = 1; w9.Expand = false; w9.Fill = false; this.yvbox1.Add(this.yhbox1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.yhbox1])); w10.Position = 4; w10.Expand = false; w10.Fill = false; this.Add(this.yvbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.ybuttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancel); this.ybuttonSend.Clicked += new global::System.EventHandler(this.OnButtonSend); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.TransferGoodsBetweenRLDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.TransferGoodsBetweenRLDlg"; // Container child Vodovoz.TransferGoodsBetweenRLDlg.Gtk.Container+ContainerChild 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.buttonTransfer = new global::Gtk.Button(); this.buttonTransfer.CanFocus = true; this.buttonTransfer.Name = "buttonTransfer"; this.buttonTransfer.UseUnderline = true; this.buttonTransfer.Label = global::Mono.Unix.Catalog.GetString("Перенести"); this.table1.Add(this.buttonTransfer); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonTransfer])); w1.TopAttach = ((uint)(4)); w1.BottomAttach = ((uint)(5)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.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.ytreeviewFrom = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewFrom.CanFocus = true; this.ytreeviewFrom.Name = "ytreeviewFrom"; this.GtkScrolledWindow.Add(this.ytreeviewFrom); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w3.TopAttach = ((uint)(3)); w3.BottomAttach = ((uint)(4)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeviewTo = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewTo.CanFocus = true; this.ytreeviewTo.Name = "ytreeviewTo"; this.GtkScrolledWindow1.Add(this.ytreeviewTo); this.table1.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow1])); w5.TopAttach = ((uint)(3)); w5.BottomAttach = ((uint)(4)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((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.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); this.hbox3.Add(this.buttonSave); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonSave])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); this.hbox3.Add(this.buttonCancel); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonCancel])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.table1.Add(this.hbox3); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox3])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((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.buttonCreateNewReceptionTicket = new global::Gtk.Button(); this.buttonCreateNewReceptionTicket.CanFocus = true; this.buttonCreateNewReceptionTicket.Name = "buttonCreateNewReceptionTicket"; this.buttonCreateNewReceptionTicket.UseUnderline = true; this.buttonCreateNewReceptionTicket.Label = global::Mono.Unix.Catalog.GetString("Создать талон разгрузки для принимающего МЛ"); this.hbox4.Add(this.buttonCreateNewReceptionTicket); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCreateNewReceptionTicket])); w9.PackType = ((global::Gtk.PackType)(1)); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.table1.Add(this.hbox4); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox4])); w10.TopAttach = ((uint)(4)); w10.BottomAttach = ((uint)(5)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child 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.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Откуда:"); this.hbox5.Add(this.label1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.label1])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.yentryreferenceRouteListFrom = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryreferenceRouteListFrom.Events = ((global::Gdk.EventMask)(256)); this.yentryreferenceRouteListFrom.Name = "yentryreferenceRouteListFrom"; this.hbox5.Add(this.yentryreferenceRouteListFrom); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.yentryreferenceRouteListFrom])); w12.Position = 1; this.table1.Add(this.hbox5); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox5])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.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.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Куда:"); this.hbox6.Add(this.label2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.label2])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.yentryreferenceRouteListTo = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryreferenceRouteListTo.Events = ((global::Gdk.EventMask)(256)); this.yentryreferenceRouteListTo.Name = "yentryreferenceRouteListTo"; this.hbox6.Add(this.yentryreferenceRouteListTo); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yentryreferenceRouteListTo])); w15.Position = 1; this.table1.Add(this.hbox6); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox6])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylistcomboReceptionTicketFrom = new global::Gamma.Widgets.yListComboBox(); this.ylistcomboReceptionTicketFrom.Name = "ylistcomboReceptionTicketFrom"; this.ylistcomboReceptionTicketFrom.AddIfNotExist = false; this.ylistcomboReceptionTicketFrom.DefaultFirst = false; this.table1.Add(this.ylistcomboReceptionTicketFrom); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.ylistcomboReceptionTicketFrom])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylistcomboReceptionTicketTo = new global::Gamma.Widgets.yListComboBox(); this.ylistcomboReceptionTicketTo.Name = "ylistcomboReceptionTicketTo"; this.ylistcomboReceptionTicketTo.AddIfNotExist = false; this.ylistcomboReceptionTicketTo.DefaultFirst = false; this.table1.Add(this.ylistcomboReceptionTicketTo); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.ylistcomboReceptionTicketTo])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonCreateNewReceptionTicket.Clicked += new global::System.EventHandler(this.OnButtonCreateNewReceptionTicketClicked); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.buttonTransfer.Clicked += new global::System.EventHandler(this.OnButtonTransferClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Regulations.NormView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Regulations.NormView"; // Container child workwear.Views.Regulations.NormView.Gtk.Container+ContainerChild this.dialog1_VBox = new global::Gtk.VBox(); this.dialog1_VBox.Name = "dialog1_VBox"; this.dialog1_VBox.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::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.hbox4.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::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.hbox4.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.dialog1_VBox.Add(this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.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.datefrom = new global::QS.Widgets.GtkUI.DatePicker(); this.datefrom.Events = ((global::Gdk.EventMask)(256)); this.datefrom.Name = "datefrom"; this.datefrom.WithTime = false; this.datefrom.HideCalendarButton = false; this.datefrom.Date = new global::System.DateTime(0); this.datefrom.IsEditable = true; this.datefrom.AutoSeparation = true; this.table1.Add(this.datefrom); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.datefrom])); w6.TopAttach = ((uint)(5)); w6.BottomAttach = ((uint)(6)); 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.dateto = new global::QS.Widgets.GtkUI.DatePicker(); this.dateto.Events = ((global::Gdk.EventMask)(256)); this.dateto.Name = "dateto"; this.dateto.WithTime = false; this.dateto.HideCalendarButton = false; this.dateto.Date = new global::System.DateTime(0); this.dateto.IsEditable = true; this.dateto.AutoSeparation = true; this.table1.Add(this.dateto); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.dateto])); 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 table1.Gtk.Table+TableChild this.GtkScrolledWindowComments = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindowComments.Name = "GtkScrolledWindowComments"; this.GtkScrolledWindowComments.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowComments.Gtk.Container+ContainerChild this.ytextComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextComment.CanFocus = true; this.ytextComment.Name = "ytextComment"; this.ytextComment.AcceptsTab = false; this.ytextComment.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindowComments.Add(this.ytextComment); this.table1.Add(this.GtkScrolledWindowComments); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindowComments])); w9.TopAttach = ((uint)(7)); w9.BottomAttach = ((uint)(8)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.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 w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.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 w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); 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.label26 = new global::Gtk.Label(); this.label26.Name = "label26"; this.label26.Xalign = 1F; this.label26.Yalign = 0F; this.label26.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.table1.Add(this.label26); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label26])); w12.TopAttach = ((uint)(7)); w12.BottomAttach = ((uint)(8)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.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 w13 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.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 w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label6])); w15.TopAttach = ((uint)(5)); w15.BottomAttach = ((uint)(6)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.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 w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label7])); w16.TopAttach = ((uint)(6)); w16.BottomAttach = ((uint)(7)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.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 w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w17.TopAttach = ((uint)(4)); w17.BottomAttach = ((uint)(5)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboAnnex = new global::Gamma.Widgets.yListComboBox(); this.ycomboAnnex.Name = "ycomboAnnex"; this.ycomboAnnex.AddIfNotExist = false; this.ycomboAnnex.DefaultFirst = false; this.table1.Add(this.ycomboAnnex); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.ycomboAnnex])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryName = new global::Gamma.GtkWidgets.yEntry(); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.MaxLength = 200; this.yentryName.InvisibleChar = '●'; this.table1.Add(this.yentryName); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryName])); w19.TopAttach = ((uint)(4)); w19.BottomAttach = ((uint)(5)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryRegulationDoc = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.yentryRegulationDoc.Name = "yentryRegulationDoc"; this.yentryRegulationDoc.AddIfNotExist = false; this.yentryRegulationDoc.DefaultFirst = false; this.yentryRegulationDoc.ShowSpecialStateAll = false; this.yentryRegulationDoc.ShowSpecialStateNot = true; this.table1.Add(this.yentryRegulationDoc); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryRegulationDoc])); 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 table1.Gtk.Table+TableChild this.yentryTonParagraph = new global::Gamma.GtkWidgets.yEntry(); this.yentryTonParagraph.CanFocus = true; this.yentryTonParagraph.Name = "yentryTonParagraph"; this.yentryTonParagraph.IsEditable = true; this.yentryTonParagraph.MaxLength = 15; this.yentryTonParagraph.InvisibleChar = '●'; this.table1.Add(this.yentryTonParagraph); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryTonParagraph])); 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 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 w22 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelId])); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table1])); w23.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytreeProfessions = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeProfessions.CanFocus = true; this.ytreeProfessions.Name = "ytreeProfessions"; this.GtkScrolledWindow.Add(this.ytreeProfessions); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow])); w25.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonNewProfession = new global::Gtk.Button(); this.buttonNewProfession.CanFocus = true; this.buttonNewProfession.Name = "buttonNewProfession"; this.buttonNewProfession.UseUnderline = true; this.buttonNewProfession.Label = global::Mono.Unix.Catalog.GetString("Новая"); global::Gtk.Image w26 = new global::Gtk.Image(); w26.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-new", global::Gtk.IconSize.Menu); this.buttonNewProfession.Image = w26; this.hbox5.Add(this.buttonNewProfession); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonNewProfession])); w27.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.buttonAddProfession = new global::Gtk.Button(); this.buttonAddProfession.CanFocus = true; this.buttonAddProfession.Name = "buttonAddProfession"; this.buttonAddProfession.UseUnderline = true; this.buttonAddProfession.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w28 = new global::Gtk.Image(); w28.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddProfession.Image = w28; this.hbox5.Add(this.buttonAddProfession); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonAddProfession])); w29.Position = 1; // Container child hbox5.Gtk.Box+BoxChild this.buttonRemoveProfession = new global::Gtk.Button(); this.buttonRemoveProfession.Sensitive = false; this.buttonRemoveProfession.CanFocus = true; this.buttonRemoveProfession.Name = "buttonRemoveProfession"; this.buttonRemoveProfession.UseUnderline = true; this.buttonRemoveProfession.Label = global::Mono.Unix.Catalog.GetString("Убрать"); global::Gtk.Image w30 = new global::Gtk.Image(); w30.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveProfession.Image = w30; this.hbox5.Add(this.buttonRemoveProfession); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonRemoveProfession])); w31.Position = 2; this.vbox2.Add(this.hbox5); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox5])); w32.Position = 1; w32.Expand = false; w32.Fill = false; this.hbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2])); w33.Position = 1; this.dialog1_VBox.Add(this.hbox1); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox1])); w34.Position = 1; w34.Expand = false; w34.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Выдаваемая по норме номенклатура</b>"); this.label5.UseMarkup = true; this.dialog1_VBox.Add(this.label5); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.label5])); w35.Position = 2; w35.Expand = false; w35.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeItems = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeItems.CanFocus = true; this.ytreeItems.Name = "ytreeItems"; this.GtkScrolledWindow1.Add(this.ytreeItems); this.dialog1_VBox.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.GtkScrolledWindow1])); w37.Position = 3; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.buttonAddItem = new global::Gtk.Button(); this.buttonAddItem.CanFocus = true; this.buttonAddItem.Name = "buttonAddItem"; this.buttonAddItem.UseUnderline = true; this.buttonAddItem.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w38 = new global::Gtk.Image(); w38.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddItem.Image = w38; this.hbox6.Add(this.buttonAddItem); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonAddItem])); w39.Position = 0; w39.Expand = false; w39.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonRemoveItem = new global::Gtk.Button(); this.buttonRemoveItem.Sensitive = false; this.buttonRemoveItem.CanFocus = true; this.buttonRemoveItem.Name = "buttonRemoveItem"; this.buttonRemoveItem.UseUnderline = true; this.buttonRemoveItem.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w40 = new global::Gtk.Image(); w40.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveItem.Image = w40; this.hbox6.Add(this.buttonRemoveItem); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonRemoveItem])); w41.Position = 1; w41.Expand = false; w41.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonReplaceNomeclature = new global::Gamma.GtkWidgets.yButton(); this.buttonReplaceNomeclature.TooltipMarkup = "Заменяет одну номенклатуру в норме на другую, при этом так же заменяя номенклатур" + "у в выдачах и потребностях сотрудников в которых использовалась данная строка но" + "рмы."; this.buttonReplaceNomeclature.Sensitive = false; this.buttonReplaceNomeclature.CanFocus = true; this.buttonReplaceNomeclature.Name = "buttonReplaceNomeclature"; this.buttonReplaceNomeclature.UseUnderline = true; this.buttonReplaceNomeclature.Label = global::Mono.Unix.Catalog.GetString("Заменить номенклатуру"); global::Gtk.Image w42 = new global::Gtk.Image(); w42.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("workwear.icon.buttons.arrows.png"); this.buttonReplaceNomeclature.Image = w42; this.hbox6.Add(this.buttonReplaceNomeclature); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonReplaceNomeclature])); w43.Position = 2; w43.Expand = false; w43.Fill = false; this.dialog1_VBox.Add(this.hbox6); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox6])); w44.Position = 4; w44.Expand = false; w44.Fill = false; this.Add(this.dialog1_VBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.buttonNewProfession.Clicked += new global::System.EventHandler(this.OnButtonNewProfessionClicked); this.buttonAddProfession.Clicked += new global::System.EventHandler(this.OnButtonAddProfessionClicked); this.buttonRemoveProfession.Clicked += new global::System.EventHandler(this.OnButtonRemoveProfessionClicked); this.buttonAddItem.Clicked += new global::System.EventHandler(this.OnButtonAddItemClicked); this.buttonRemoveItem.Clicked += new global::System.EventHandler(this.OnButtonRemoveItemClicked); this.buttonReplaceNomeclature.Clicked += new global::System.EventHandler(this.OnButtonReplaceNomeclatureClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.GazTicketDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.GazTicketDlg"; // Container child Vodovoz.GazTicketDlg.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add (this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.comboFuelType = new global::Gamma.Widgets.yListComboBox (); this.comboFuelType.Name = "comboFuelType"; this.comboFuelType.AddIfNotExist = false; this.comboFuelType.DefaultFirst = false; this.table2.Add (this.comboFuelType); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboFuelType])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.yspinbuttonLitres = new global::Gamma.GtkWidgets.ySpinButton (0, 100, 10); this.yspinbuttonLitres.CanFocus = true; this.yspinbuttonLitres.Name = "yspinbuttonLitres"; this.yspinbuttonLitres.Adjustment.PageIncrement = 10; this.yspinbuttonLitres.ClimbRate = 1; this.yspinbuttonLitres.Numeric = true; this.yspinbuttonLitres.ValueAsDecimal = 0m; this.yspinbuttonLitres.ValueAsInt = 0; this.hbox1.Add (this.yspinbuttonLitres); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.yspinbuttonLitres])); w7.Position = 0; this.table2.Add (this.hbox1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.hbox1])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Название:"); this.table2.Add (this.label1); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.label1])); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Вид:"); this.table2.Add (this.label2); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2 [this.label2])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Литры:"); this.table2.Add (this.label3); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.label3])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryName = new global::Gamma.GtkWidgets.yEntry (); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.InvisibleChar = '●'; this.table2.Add (this.yentryName); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryName])); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add (this.table2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table2])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.Orders.EShopSalesReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Orders.EShopSalesReport"; // Container child Vodovoz.ReportsParameters.Orders.EShopSalesReport.Gtk.Container+ContainerChild 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.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)(3)); w1.BottomAttach = ((uint)(4)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.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 w2 = ((global::Gtk.Table.TableChild)(this.table1[this.datePeriodPicker])); 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.Xalign = 1F; 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)); // 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 w4 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Статус заказа:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.HeightRequest = 300; this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w6 = new global::Gtk.Viewport(); w6.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport1.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.enumchecklistOrderStatus = new global::Gamma.Widgets.EnumCheckList(); this.enumchecklistOrderStatus.Name = "enumchecklistOrderStatus"; this.vbox2.Add(this.enumchecklistOrderStatus); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.enumchecklistOrderStatus])); w7.Position = 0; w7.Expand = false; w7.Fill = false; w6.Add(this.vbox2); this.scrolledwindow1.Add(w6); this.table1.Add(this.scrolledwindow1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.scrolledwindow1])); 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.ycomboboxEShopId = new global::Gamma.Widgets.yListComboBox(); this.ycomboboxEShopId.Name = "ycomboboxEShopId"; this.ycomboboxEShopId.AddIfNotExist = false; this.ycomboboxEShopId.DefaultFirst = true; this.table1.Add(this.ycomboboxEShopId); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.ycomboboxEShopId])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget earchive.InputDocs this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.openAction = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("Из файла"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Из файла"); w1.Add(this.openAction, null); this.ScanAction = new global::Gtk.Action("ScanAction", global::Mono.Unix.Catalog.GetString("Сканировать"), global::Mono.Unix.Catalog.GetString("Добавить изображения со сканера"), "scanner"); this.ScanAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Сканировать"); w1.Add(this.ScanAction, null); this.clearAction = new global::Gtk.Action("clearAction", null, global::Mono.Unix.Catalog.GetString("Очистить список изображений"), "gtk-clear"); this.clearAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Очистить"); w1.Add(this.clearAction, null); this.saveAction = new global::Gtk.Action("saveAction", null, global::Mono.Unix.Catalog.GetString("Сохранить в базу"), "gtk-save"); this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Сохранить"); w1.Add(this.saveAction, null); this.zoom100Action = new global::Gtk.Action("zoom100Action", global::Mono.Unix.Catalog.GetString("1:1"), null, "gtk-zoom-100"); this.zoom100Action.ShortLabel = global::Mono.Unix.Catalog.GetString("1:1"); w1.Add(this.zoom100Action, null); this.zoomFitAction = new global::Gtk.Action("zoomFitAction", global::Mono.Unix.Catalog.GetString("Вписать"), null, "gtk-zoom-fit"); this.zoomFitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Вписать"); w1.Add(this.zoomFitAction, null); this.zoomInAction = new global::Gtk.Action("zoomInAction", null, null, "gtk-zoom-in"); this.zoomInAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Увеличить"); w1.Add(this.zoomInAction, null); this.zoomOutAction = new global::Gtk.Action("zoomOutAction", null, null, "gtk-zoom-out"); this.zoomOutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Уменьшить"); w1.Add(this.zoomOutAction, null); this.Rotate90Action = new global::Gtk.Action("Rotate90Action", global::Mono.Unix.Catalog.GetString("90"), null, "rotate-90"); this.Rotate90Action.ShortLabel = global::Mono.Unix.Catalog.GetString("90°"); w1.Add(this.Rotate90Action, null); this.Rotate180Action = new global::Gtk.Action("Rotate180Action", global::Mono.Unix.Catalog.GetString("180"), null, "rotate-180"); this.Rotate180Action.ShortLabel = global::Mono.Unix.Catalog.GetString("180°"); w1.Add(this.Rotate180Action, null); this.Rotate270Action = new global::Gtk.Action("Rotate270Action", global::Mono.Unix.Catalog.GetString("270"), null, "rotate-270"); this.Rotate270Action.ShortLabel = global::Mono.Unix.Catalog.GetString("270°"); w1.Add(this.Rotate270Action, null); this.ActionRecognize = new global::Gtk.Action("ActionRecognize", global::Mono.Unix.Catalog.GetString("Распознать"), null, "recognize"); this.ActionRecognize.ShortLabel = global::Mono.Unix.Catalog.GetString("Распознать"); w1.Add(this.ActionRecognize, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "earchive.InputDocs"; this.Title = global::Mono.Unix.Catalog.GetString("Ввод документов"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("earchive.icons.scanner.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child earchive.InputDocs.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><toolbar name='toolbar1'><toolitem name='clearAction' action='clearAction'/><toolitem name='openAction' action='openAction'/><toolitem name='ScanAction' action='ScanAction'/><toolitem name='ActionRecognize' action='ActionRecognize'/><toolitem name='saveAction' action='saveAction'/><separator/><toolitem name='zoom100Action' action='zoom100Action'/><toolitem name='zoomFitAction' action='zoomFitAction'/><toolitem name='zoomInAction' action='zoomInAction'/><toolitem name='zoomOutAction' action='zoomOutAction'/><separator/><toolitem name='Rotate90Action' action='Rotate90Action'/><toolitem name='Rotate180Action' action='Rotate180Action'/><toolitem name='Rotate270Action' action='Rotate270Action'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2)); this.toolbar1.IconSize = ((global::Gtk.IconSize)(6)); this.vbox2.Add(this.toolbar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.toolbar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 206; // Container child hpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeviewImages = new global::Gtk.TreeView(); this.treeviewImages.CanFocus = true; this.treeviewImages.Name = "treeviewImages"; this.treeviewImages.HeadersVisible = false; this.treeviewImages.Reorderable = true; this.GtkScrolledWindow.Add(this.treeviewImages); this.hpaned1.Add(this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.GtkScrolledWindow])); w4.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.scrolledImage = new global::Gtk.ScrolledWindow(); this.scrolledImage.Name = "scrolledImage"; this.scrolledImage.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledImage.Gtk.Container+ContainerChild global::Gtk.Viewport w5 = new global::Gtk.Viewport(); w5.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.imageDoc = new global::Gtk.Image(); this.imageDoc.Name = "imageDoc"; w5.Add(this.imageDoc); this.scrolledImage.Add(w5); this.hpaned1.Add(this.scrolledImage); this.hbox2.Add(this.hpaned1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.hpaned1])); w9.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboScaner = new global::Gamma.Widgets.yListComboBox(); this.comboScaner.Name = "comboScaner"; this.comboScaner.AddIfNotExist = false; this.comboScaner.DefaultFirst = false; this.table1.Add(this.comboScaner); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.comboScaner])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.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 w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add(this.table1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.table1])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.tableFieldWidgets = new global::Gtk.Table(((uint)(5)), ((uint)(3)), false); this.tableFieldWidgets.Name = "tableFieldWidgets"; this.tableFieldWidgets.RowSpacing = ((uint)(6)); this.tableFieldWidgets.ColumnSpacing = ((uint)(6)); // Container child tableFieldWidgets.Gtk.Table+TableChild this.comboType = global::Gtk.ComboBox.NewText(); this.comboType.Name = "comboType"; this.tableFieldWidgets.Add(this.comboType); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets[this.comboType])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFieldWidgets.Gtk.Table+TableChild this.dateDoc = new global::QSWidgetLib.DatePicker(); this.dateDoc.Events = ((global::Gdk.EventMask)(256)); this.dateDoc.Name = "dateDoc"; this.dateDoc.WithTime = false; this.dateDoc.Date = new global::System.DateTime(0); this.dateDoc.IsEditable = true; this.dateDoc.AutoSeparation = true; this.tableFieldWidgets.Add(this.dateDoc); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets[this.dateDoc])); 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 tableFieldWidgets.Gtk.Table+TableChild this.entryNumber = new global::Gtk.Entry(); this.entryNumber.CanFocus = true; this.entryNumber.Name = "entryNumber"; this.entryNumber.IsEditable = true; this.entryNumber.InvisibleChar = '●'; this.tableFieldWidgets.Add(this.entryNumber); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets[this.entryNumber])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFieldWidgets.Gtk.Table+TableChild this.eventboxDateIcon = new global::Gtk.EventBox(); this.eventboxDateIcon.Name = "eventboxDateIcon"; // Container child eventboxDateIcon.Gtk.Container+ContainerChild this.IconDate = new global::Gtk.Image(); this.IconDate.Name = "IconDate"; this.IconDate.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", global::Gtk.IconSize.Button); this.eventboxDateIcon.Add(this.IconDate); this.tableFieldWidgets.Add(this.eventboxDateIcon); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets[this.eventboxDateIcon])); w17.TopAttach = ((uint)(3)); w17.BottomAttach = ((uint)(4)); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFieldWidgets.Gtk.Table+TableChild this.eventboxNumberIcon = new global::Gtk.EventBox(); this.eventboxNumberIcon.Name = "eventboxNumberIcon"; // Container child eventboxNumberIcon.Gtk.Container+ContainerChild this.IconNumber = new global::Gtk.Image(); this.IconNumber.Name = "IconNumber"; this.IconNumber.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", global::Gtk.IconSize.Button); this.eventboxNumberIcon.Add(this.IconNumber); this.tableFieldWidgets.Add(this.eventboxNumberIcon); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets[this.eventboxNumberIcon])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(2)); w19.RightAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFieldWidgets.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Поля текущего документа</b>"); this.label1.UseMarkup = true; this.label1.Justify = ((global::Gtk.Justification)(2)); this.tableFieldWidgets.Add(this.label1); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets[this.label1])); w20.RightAttach = ((uint)(3)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFieldWidgets.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("Дата<span foreground=\"red\">*</span>:"); this.label10.UseMarkup = true; this.tableFieldWidgets.Add(this.label10); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets[this.label10])); w21.TopAttach = ((uint)(3)); w21.BottomAttach = ((uint)(4)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFieldWidgets.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.tableFieldWidgets.Add(this.label11); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets[this.label11])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableFieldWidgets.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Номер<span foreground=\"red\">*</span>:"); this.label9.UseMarkup = true; this.tableFieldWidgets.Add(this.label9); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets[this.label9])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add(this.tableFieldWidgets); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.tableFieldWidgets])); w24.Position = 1; // Container child vbox3.Gtk.Box+BoxChild this.checkDiagnostic = new global::Gtk.CheckButton(); this.checkDiagnostic.CanFocus = true; this.checkDiagnostic.Name = "checkDiagnostic"; this.checkDiagnostic.Label = global::Mono.Unix.Catalog.GetString("Диагностика распознования"); this.checkDiagnostic.DrawIndicator = true; this.checkDiagnostic.UseUnderline = true; this.vbox3.Add(this.checkDiagnostic); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkDiagnostic])); w25.Position = 2; w25.Expand = false; w25.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.buttonLog = new global::Gtk.Button(); this.buttonLog.CanFocus = true; this.buttonLog.Name = "buttonLog"; this.buttonLog.UseUnderline = true; this.buttonLog.Label = global::Mono.Unix.Catalog.GetString("Показать журнал распознования."); global::Gtk.Image w26 = new global::Gtk.Image(); w26.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-execute", global::Gtk.IconSize.Button); this.buttonLog.Image = w26; this.vbox3.Add(this.buttonLog); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.buttonLog])); w27.Position = 3; w27.Expand = false; w27.Fill = false; this.hbox2.Add(this.vbox3); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox3])); w28.Position = 1; w28.Expand = false; w28.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w29.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.progresswork = new global::Gtk.ProgressBar(); this.progresswork.Name = "progresswork"; this.vbox2.Add(this.progresswork); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.progresswork])); w30.Position = 2; w30.Expand = false; w30.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1053; this.DefaultHeight = 478; this.Show(); this.openAction.Activated += new global::System.EventHandler(this.OnOpenActionActivated); this.ScanAction.Activated += new global::System.EventHandler(this.OnScanActionActivated); this.clearAction.Activated += new global::System.EventHandler(this.OnClearActionActivated); this.saveAction.Activated += new global::System.EventHandler(this.OnSaveActionActivated); this.zoom100Action.Activated += new global::System.EventHandler(this.OnZoom100ActionActivated); this.zoomFitAction.Activated += new global::System.EventHandler(this.OnZoomFitActionActivated); this.zoomInAction.Activated += new global::System.EventHandler(this.OnZoomInActionActivated); this.zoomOutAction.Activated += new global::System.EventHandler(this.OnZoomOutActionActivated); this.Rotate90Action.Activated += new global::System.EventHandler(this.OnRotate90ActionActivated); this.Rotate180Action.Activated += new global::System.EventHandler(this.OnRotate180ActionActivated); this.Rotate270Action.Activated += new global::System.EventHandler(this.OnRotate270ActionActivated); this.ActionRecognize.Activated += new global::System.EventHandler(this.OnActionRecognizeActivated); this.treeviewImages.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.OnTreeviewImagesButtonReleaseEvent); this.imageDoc.DragMotion += new global::Gtk.DragMotionHandler(this.OnImageDocDragMotion); this.comboScaner.Changed += new global::System.EventHandler(this.OnComboScanerChanged); this.eventboxNumberIcon.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.OnEventboxNumberIconButtonPressEvent); this.eventboxDateIcon.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.OnEventboxDateIconButtonPressEvent); this.entryNumber.Changed += new global::System.EventHandler(this.OnEntryNumberChanged); this.dateDoc.DateChanged += new global::System.EventHandler(this.OnDateDocDateChanged); this.comboType.Changed += new global::System.EventHandler(this.OnComboTypeChanged); this.buttonLog.Clicked += new global::System.EventHandler(this.OnButtonLogClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Import.ExcelImportView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Import.ExcelImportView"; // Container child workwear.Views.Import.ExcelImportView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.notebookSteps = new global::Gamma.GtkWidgets.yNotebook(); this.notebookSteps.CanFocus = true; this.notebookSteps.Name = "notebookSteps"; this.notebookSteps.CurrentPage = 0; this.notebookSteps.ShowBorder = false; // Container child notebookSteps.Gtk.Notebook+NotebookChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.filechooser = new global::Gamma.GtkWidgets.yFileChooserButton(); this.filechooser.Name = "filechooser"; this.filechooser.Title = global::Mono.Unix.Catalog.GetString("Выберите Excel файл с данными для импорта"); this.vbox2.Add(this.filechooser); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.filechooser])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.ytable2 = new global::Gamma.GtkWidgets.yTable(); this.ytable2.Name = "ytable2"; this.ytable2.NColumns = ((uint)(3)); this.ytable2.RowSpacing = ((uint)(6)); this.ytable2.ColumnSpacing = ((uint)(6)); // Container child ytable2.Gtk.Table+TableChild this.comboSheets = new global::Gamma.Widgets.yListComboBox(); this.comboSheets.Name = "comboSheets"; this.comboSheets.AddIfNotExist = false; this.comboSheets.DefaultFirst = true; this.ytable2.Add(this.comboSheets); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.ytable2[this.comboSheets])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable2.Gtk.Table+TableChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Лист с данными:"); this.ytable2.Add(this.ylabel2); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.ytable2[this.ylabel2])); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.ytable2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.ytable2])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.buttonLoad = new global::Gamma.GtkWidgets.yButton(); this.buttonLoad.CanFocus = true; this.buttonLoad.Name = "buttonLoad"; this.buttonLoad.UseUnderline = true; this.buttonLoad.Label = global::Mono.Unix.Catalog.GetString("Разбор листа ⇨"); this.vbox2.Add(this.buttonLoad); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.buttonLoad])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.notebookSteps.Add(this.vbox2); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Выбор файла [Шаг 1 ]"); this.notebookSteps.SetTabLabel(this.vbox2, this.label1); this.label1.ShowAll(); // Container child notebookSteps.Gtk.Notebook+NotebookChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.GtkScrolledColumns = new global::Gtk.ScrolledWindow(); this.GtkScrolledColumns.WidthRequest = 450; this.GtkScrolledColumns.Name = "GtkScrolledColumns"; this.GtkScrolledColumns.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledColumns.Gtk.Container+ContainerChild global::Gtk.Viewport w7 = new global::Gtk.Viewport(); w7.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.tableColumns = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false); this.tableColumns.Name = "tableColumns"; this.tableColumns.RowSpacing = ((uint)(6)); this.tableColumns.ColumnSpacing = ((uint)(6)); w7.Add(this.tableColumns); this.GtkScrolledColumns.Add(w7); this.hbox1.Add(this.GtkScrolledColumns); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledColumns])); w10.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.tableMatchSettings = new global::Gamma.GtkWidgets.yTable(); this.tableMatchSettings.Name = "tableMatchSettings"; this.tableMatchSettings.NRows = ((uint)(2)); this.tableMatchSettings.NColumns = ((uint)(2)); this.tableMatchSettings.RowSpacing = ((uint)(6)); this.tableMatchSettings.ColumnSpacing = ((uint)(6)); // Container child tableMatchSettings.Gtk.Table+TableChild this.spinTitleRow = new global::Gamma.GtkWidgets.ySpinButton(0D, 100000D, 1D); this.spinTitleRow.CanFocus = true; this.spinTitleRow.Name = "spinTitleRow"; this.spinTitleRow.Adjustment.PageIncrement = 10D; this.spinTitleRow.ClimbRate = 1D; this.spinTitleRow.Numeric = true; this.spinTitleRow.ValueAsDecimal = 0m; this.spinTitleRow.ValueAsInt = 0; this.tableMatchSettings.Add(this.spinTitleRow); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableMatchSettings[this.spinTitleRow])); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableMatchSettings.Gtk.Table+TableChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Номер строки с заголовками:"); this.tableMatchSettings.Add(this.ylabel1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableMatchSettings[this.ylabel1])); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.tableMatchSettings); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.tableMatchSettings])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // 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.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.labelColumnRecomendations = new global::Gtk.Label(); this.labelColumnRecomendations.Name = "labelColumnRecomendations"; this.labelColumnRecomendations.LabelProp = global::Mono.Unix.Catalog.GetString(@"Установите номер строки с заголовком данных, таким образом чтобы название колонок было корректно. Если в таблице заголовки отсутствуют укажите 0. Далее для каждой значимой колонки проставьте тип данных которых находится в таблице. При загрузки листа программа автоматически пытается найти заголовок таблицы и выбрать тип данных. Обязательными данными являются Фамилия и Имя или ФИО."); this.labelColumnRecomendations.Wrap = true; this.labelColumnRecomendations.Justify = ((global::Gtk.Justification)(3)); this.GtkAlignment.Add(this.labelColumnRecomendations); this.frame1.Add(this.GtkAlignment); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Рекомендации"); this.GtkLabel2.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel2; this.vbox3.Add(this.frame1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.frame1])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.buttonReadEmployees = new global::Gamma.GtkWidgets.yButton(); this.buttonReadEmployees.CanFocus = true; this.buttonReadEmployees.Name = "buttonReadEmployees"; this.buttonReadEmployees.UseUnderline = true; this.buttonReadEmployees.Label = global::Mono.Unix.Catalog.GetString("Сопоставление данных ⇨"); this.vbox3.Add(this.buttonReadEmployees); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.buttonReadEmployees])); w17.Position = 1; w17.Expand = false; w17.Fill = false; this.hbox1.Add(this.vbox3); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox3])); w18.Position = 2; w18.Expand = false; w18.Fill = false; this.notebookSteps.Add(this.hbox1); global::Gtk.Notebook.NotebookChild w19 = ((global::Gtk.Notebook.NotebookChild)(this.notebookSteps[this.hbox1])); w19.Position = 1; // Notebook tab this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Формат файла [Шаг 2]"); this.notebookSteps.SetTabLabel(this.hbox1, this.label2); this.label2.ShowAll(); // Container child notebookSteps.Gtk.Notebook+NotebookChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.vboxCounters = new global::Gtk.VBox(); this.vboxCounters.Name = "vboxCounters"; this.vboxCounters.Spacing = 6; // Container child vboxCounters.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 w20 = new global::Gtk.Image(); w20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w20; this.vboxCounters.Add(this.buttonSave); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vboxCounters[this.buttonSave])); w21.PackType = ((global::Gtk.PackType)(1)); w21.Position = 0; w21.Expand = false; w21.Fill = false; this.hbox2.Add(this.vboxCounters); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vboxCounters])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // 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.frame2 = new global::Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.table2 = new global::Gtk.Table(((uint)(5)), ((uint)(1)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.eventboxLegendaChanged = new global::Gamma.GtkWidgets.yEventBox(); this.eventboxLegendaChanged.Name = "eventboxLegendaChanged"; // Container child eventboxLegendaChanged.Gtk.Container+ContainerChild this.labelCountChangedEmployees = new global::Gamma.GtkWidgets.yLabel(); this.labelCountChangedEmployees.Name = "labelCountChangedEmployees"; this.labelCountChangedEmployees.LabelProp = global::Mono.Unix.Catalog.GetString("Измененные"); this.eventboxLegendaChanged.Add(this.labelCountChangedEmployees); this.table2.Add(this.eventboxLegendaChanged); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2[this.eventboxLegendaChanged])); w24.TopAttach = ((uint)(1)); w24.BottomAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.eventboxLegendaError = new global::Gtk.EventBox(); this.eventboxLegendaError.Name = "eventboxLegendaError"; // Container child eventboxLegendaError.Gtk.Container+ContainerChild this.ylabel6 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel6.Name = "ylabel6"; this.ylabel6.LabelProp = global::Mono.Unix.Catalog.GetString("Неверный формат"); this.eventboxLegendaError.Add(this.ylabel6); this.table2.Add(this.eventboxLegendaError); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2[this.eventboxLegendaError])); w26.TopAttach = ((uint)(3)); w26.BottomAttach = ((uint)(4)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.eventboxLegendaNew = new global::Gamma.GtkWidgets.yEventBox(); this.eventboxLegendaNew.Name = "eventboxLegendaNew"; // Container child eventboxLegendaNew.Gtk.Container+ContainerChild this.labelNew = new global::Gamma.GtkWidgets.yLabel(); this.labelNew.Name = "labelNew"; this.labelNew.LabelProp = global::Mono.Unix.Catalog.GetString("Новые"); this.eventboxLegendaNew.Add(this.labelNew); this.table2.Add(this.eventboxLegendaNew); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table2[this.eventboxLegendaNew])); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.eventboxLegendaNotFound = new global::Gamma.GtkWidgets.yEventBox(); this.eventboxLegendaNotFound.Name = "eventboxLegendaNotFound"; // Container child eventboxLegendaNotFound.Gtk.Container+ContainerChild this.labelLegendNotFound = new global::Gamma.GtkWidgets.yLabel(); this.labelLegendNotFound.Name = "labelLegendNotFound"; this.labelLegendNotFound.LabelProp = global::Mono.Unix.Catalog.GetString("Не найдено"); this.eventboxLegendaNotFound.Add(this.labelLegendNotFound); this.table2.Add(this.eventboxLegendaNotFound); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table2[this.eventboxLegendaNotFound])); w30.TopAttach = ((uint)(2)); w30.BottomAttach = ((uint)(3)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.eventboxLegendaSkipRows = new global::Gamma.GtkWidgets.yEventBox(); this.eventboxLegendaSkipRows.Name = "eventboxLegendaSkipRows"; // Container child eventboxLegendaSkipRows.Gtk.Container+ContainerChild this.labelCountSkipRows = new global::Gamma.GtkWidgets.yLabel(); this.labelCountSkipRows.Name = "labelCountSkipRows"; this.labelCountSkipRows.LabelProp = global::Mono.Unix.Catalog.GetString("Пропущенные"); this.eventboxLegendaSkipRows.Add(this.labelCountSkipRows); this.table2.Add(this.eventboxLegendaSkipRows); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table2[this.eventboxLegendaSkipRows])); w32.TopAttach = ((uint)(4)); w32.BottomAttach = ((uint)(5)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment2.Add(this.table2); this.frame2.Add(this.GtkAlignment2); this.GtkLabel7 = new global::Gtk.Label(); this.GtkLabel7.Name = "GtkLabel7"; this.GtkLabel7.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Легенда</b>"); this.GtkLabel7.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel7; this.vbox5.Add(this.frame2); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.frame2])); w35.Position = 0; w35.Expand = false; w35.Fill = false; this.hbox2.Add(this.vbox5); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox5])); w36.PackType = ((global::Gtk.PackType)(1)); w36.Position = 1; w36.Expand = false; w36.Fill = false; this.notebookSteps.Add(this.hbox2); global::Gtk.Notebook.NotebookChild w37 = ((global::Gtk.Notebook.NotebookChild)(this.notebookSteps[this.hbox2])); w37.Position = 2; // Notebook tab this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Обработка данных [Шаг 3]"); this.notebookSteps.SetTabLabel(this.hbox2, this.label4); this.label4.ShowAll(); this.vbox1.Add(this.notebookSteps); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.notebookSteps])); w38.Position = 0; w38.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.progressTotal = new global::QS.Widgets.ProgressWidget(); this.progressTotal.Name = "progressTotal"; this.vbox1.Add(this.progressTotal); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.progressTotal])); w39.Position = 1; w39.Expand = false; w39.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.treeviewRows = new global::Gamma.GtkWidgets.yTreeView(); this.treeviewRows.CanFocus = true; this.treeviewRows.Name = "treeviewRows"; this.GtkScrolledWindow.Add(this.treeviewRows); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w41.Position = 2; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.progressTotal.Hide(); this.Hide(); this.buttonLoad.Clicked += new global::System.EventHandler(this.OnButtonLoadClicked); this.buttonReadEmployees.Clicked += new global::System.EventHandler(this.OnButtonReadEmployeesClicked); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Fittings.PriceLoadDlg global::Stetic.BinContainer.Attach(this); this.Name = "Fittings.PriceLoadDlg"; // Container child Fittings.PriceLoadDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 2; this.notebook1.ShowBorder = false; // Container child notebook1.Gtk.Notebook+NotebookChild 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)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboSheet = new global::Gamma.Widgets.yListComboBox(); this.comboSheet.Name = "comboSheet"; this.comboSheet.AddIfNotExist = false; this.comboSheet.DefaultFirst = true; this.table1.Add(this.comboSheet); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboSheet])); 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.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 w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); 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.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.LeftAttach = ((uint)(2)); w3.RightAttach = ((uint)(3)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelSetColumnsInfo = new global::Gtk.Label(); this.labelSetColumnsInfo.Name = "labelSetColumnsInfo"; this.labelSetColumnsInfo.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.table1.Add(this.labelSetColumnsInfo); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelSetColumnsInfo])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.RightAttach = ((uint)(4)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yspinSkipRows = new global::Gamma.GtkWidgets.ySpinButton(0, 100, 1); this.yspinSkipRows.CanFocus = true; this.yspinSkipRows.Name = "yspinSkipRows"; this.yspinSkipRows.Adjustment.PageIncrement = 10; this.yspinSkipRows.ClimbRate = 1; this.yspinSkipRows.Numeric = true; this.yspinSkipRows.ValueAsDecimal = 0m; this.yspinSkipRows.ValueAsInt = 0; this.table1.Add(this.yspinSkipRows); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.yspinSkipRows])); w5.LeftAttach = ((uint)(3)); w5.RightAttach = ((uint)(4)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1])); w6.Position = 0; w6.Expand = 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.ytreeviewSetColumns = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewSetColumns.CanFocus = true; this.ytreeviewSetColumns.Name = "ytreeviewSetColumns"; this.GtkScrolledWindow.Add(this.ytreeviewSetColumns); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); w8.Position = 1; this.notebook1.Add(this.vbox2); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Шаг 1"); this.notebook1.SetTabLabel(this.vbox2, this.label1); this.label1.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(1)), ((uint)(3)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.comboCurrency = new global::Gamma.Widgets.yEnumComboBox(); this.comboCurrency.Name = "comboCurrency"; this.comboCurrency.ShowSpecialStateAll = false; this.comboCurrency.ShowSpecialStateNot = false; this.comboCurrency.UseShortTitle = false; this.comboCurrency.DefaultFirst = true; this.table2.Add(this.comboCurrency); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboCurrency])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Валюта прайса:"); this.table2.Add(this.label5); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.label5])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add(this.table2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.table2])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.progressParsing = new global::Gtk.ProgressBar(); this.progressParsing.Name = "progressParsing"; this.vbox3.Add(this.progressParsing); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.progressParsing])); w13.Position = 1; w13.Expand = false; w13.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.ytreeviewParsing = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewParsing.CanFocus = true; this.ytreeviewParsing.Name = "ytreeviewParsing"; this.GtkScrolledWindow1.Add(this.ytreeviewParsing); this.vbox3.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow1])); w15.Position = 2; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonMultiEdit = new global::Gtk.Button(); this.buttonMultiEdit.CanFocus = true; this.buttonMultiEdit.Name = "buttonMultiEdit"; this.buttonMultiEdit.UseUnderline = true; this.buttonMultiEdit.Label = global::Mono.Unix.Catalog.GetString("Изменить создаваемую арматуру"); this.hbox2.Add(this.buttonMultiEdit); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonMultiEdit])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonManualSet = new global::Gtk.Button(); this.buttonManualSet.CanFocus = true; this.buttonManualSet.Name = "buttonManualSet"; this.buttonManualSet.UseUnderline = true; this.buttonManualSet.Label = global::Mono.Unix.Catalog.GetString("Установить принудительно"); this.hbox2.Add(this.buttonManualSet); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonManualSet])); w17.Position = 1; w17.Expand = false; w17.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonResolveMultiFound = new global::Gtk.Button(); this.buttonResolveMultiFound.CanFocus = true; this.buttonResolveMultiFound.Name = "buttonResolveMultiFound"; this.buttonResolveMultiFound.UseUnderline = true; this.buttonResolveMultiFound.Label = global::Mono.Unix.Catalog.GetString("Решить конфликт"); this.hbox2.Add(this.buttonResolveMultiFound); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonResolveMultiFound])); w18.Position = 2; w18.Expand = false; w18.Fill = false; this.vbox3.Add(this.hbox2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox2])); w19.Position = 3; w19.Expand = false; w19.Fill = false; this.hbox3.Add(this.vbox3); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox3])); w20.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox3.Add(this.vseparator1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vseparator1])); w21.Position = 1; w21.Expand = false; w21.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.multiedit = new global::Fittings.MultiEditXLSRows(); this.multiedit.Events = ((global::Gdk.EventMask)(256)); this.multiedit.Name = "multiedit"; this.hbox3.Add(this.multiedit); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.multiedit])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.notebook1.Add(this.hbox3); global::Gtk.Notebook.NotebookChild w23 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.hbox3])); w23.Position = 1; // Notebook tab this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Шаг 2"); this.notebook1.SetTabLabel(this.hbox3, this.label6); this.label6.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.table4 = new global::Gtk.Table(((uint)(11)), ((uint)(4)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.buttonFinish = new global::Gtk.Button(); this.buttonFinish.CanFocus = true; this.buttonFinish.Name = "buttonFinish"; this.buttonFinish.UseUnderline = true; this.buttonFinish.Label = global::Mono.Unix.Catalog.GetString("Добавить в прайс"); global::Gtk.Image w24 = new global::Gtk.Image(); w24.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-execute", global::Gtk.IconSize.Button); this.buttonFinish.Image = w24; this.table4.Add(this.buttonFinish); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table4 [this.buttonFinish])); w25.TopAttach = ((uint)(9)); w25.BottomAttach = ((uint)(10)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(3)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.table4.Add(this.label11); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table4 [this.label11])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.table4.Add(this.label12); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table4 [this.label12])); w27.TopAttach = ((uint)(1)); w27.BottomAttach = ((uint)(2)); w27.LeftAttach = ((uint)(3)); w27.RightAttach = ((uint)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.table4.Add(this.label13); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table4 [this.label13])); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.table4.Add(this.label14); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table4 [this.label14])); w29.TopAttach = ((uint)(10)); w29.BottomAttach = ((uint)(11)); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label15 = new global::Gtk.Label(); this.label15.Name = "label15"; this.label15.Xalign = 1F; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString("Всего загружено строк прайса:"); this.table4.Add(this.label15); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table4 [this.label15])); 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)); // Container child table4.Gtk.Table+TableChild this.label16 = new global::Gtk.Label(); this.label16.Name = "label16"; this.label16.Xalign = 1F; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString("Из них найдено автоматически:"); this.table4.Add(this.label16); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table4 [this.label16])); w31.TopAttach = ((uint)(2)); w31.BottomAttach = ((uint)(3)); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.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.table4.Add(this.label17); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table4 [this.label17])); w32.TopAttach = ((uint)(3)); w32.BottomAttach = ((uint)(4)); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.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.table4.Add(this.label18); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table4 [this.label18])); w33.TopAttach = ((uint)(4)); w33.BottomAttach = ((uint)(5)); w33.LeftAttach = ((uint)(1)); w33.RightAttach = ((uint)(2)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label19 = new global::Gtk.Label(); this.label19.Name = "label19"; this.label19.Xalign = 1F; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString("Будет пропущено:"); this.table4.Add(this.label19); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table4 [this.label19])); w34.TopAttach = ((uint)(6)); w34.BottomAttach = ((uint)(7)); w34.LeftAttach = ((uint)(1)); w34.RightAttach = ((uint)(2)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.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.table4.Add(this.label8); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table4 [this.label8])); w35.TopAttach = ((uint)(7)); w35.BottomAttach = ((uint)(8)); w35.LeftAttach = ((uint)(1)); w35.RightAttach = ((uint)(2)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.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.table4.Add(this.label9); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table4 [this.label9])); w36.TopAttach = ((uint)(5)); w36.BottomAttach = ((uint)(6)); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.labelCreate = new global::Gtk.Label(); this.labelCreate.Name = "labelCreate"; this.labelCreate.LabelProp = global::Mono.Unix.Catalog.GetString("label4"); this.table4.Add(this.labelCreate); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table4 [this.labelCreate])); w37.TopAttach = ((uint)(4)); w37.BottomAttach = ((uint)(5)); w37.LeftAttach = ((uint)(2)); w37.RightAttach = ((uint)(3)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.labelCurrency = new global::Gtk.Label(); this.labelCurrency.Name = "labelCurrency"; this.labelCurrency.LabelProp = global::Mono.Unix.Catalog.GetString("label7"); this.table4.Add(this.labelCurrency); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table4 [this.labelCurrency])); w38.TopAttach = ((uint)(7)); w38.BottomAttach = ((uint)(8)); w38.LeftAttach = ((uint)(2)); w38.RightAttach = ((uint)(3)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.labelFind = new global::Gtk.Label(); this.labelFind.Name = "labelFind"; this.labelFind.LabelProp = global::Mono.Unix.Catalog.GetString("label2"); this.table4.Add(this.labelFind); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table4 [this.labelFind])); w39.TopAttach = ((uint)(2)); w39.BottomAttach = ((uint)(3)); w39.LeftAttach = ((uint)(2)); w39.RightAttach = ((uint)(3)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.labelManualSet = new global::Gtk.Label(); this.labelManualSet.Name = "labelManualSet"; this.labelManualSet.LabelProp = global::Mono.Unix.Catalog.GetString("label3"); this.table4.Add(this.labelManualSet); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table4 [this.labelManualSet])); w40.TopAttach = ((uint)(3)); w40.BottomAttach = ((uint)(4)); w40.LeftAttach = ((uint)(2)); w40.RightAttach = ((uint)(3)); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.labelSkiped = new global::Gtk.Label(); this.labelSkiped.Name = "labelSkiped"; this.labelSkiped.LabelProp = global::Mono.Unix.Catalog.GetString("label5"); this.table4.Add(this.labelSkiped); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table4 [this.labelSkiped])); w41.TopAttach = ((uint)(6)); w41.BottomAttach = ((uint)(7)); w41.LeftAttach = ((uint)(2)); w41.RightAttach = ((uint)(3)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.labelTotal = new global::Gtk.Label(); this.labelTotal.Name = "labelTotal"; this.labelTotal.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.table4.Add(this.labelTotal); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table4 [this.labelTotal])); w42.TopAttach = ((uint)(1)); w42.BottomAttach = ((uint)(2)); w42.LeftAttach = ((uint)(2)); w42.RightAttach = ((uint)(3)); w42.XOptions = ((global::Gtk.AttachOptions)(4)); w42.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.labelWithoutPrice = new global::Gtk.Label(); this.labelWithoutPrice.Name = "labelWithoutPrice"; this.labelWithoutPrice.LabelProp = global::Mono.Unix.Catalog.GetString("label9"); this.table4.Add(this.labelWithoutPrice); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table4 [this.labelWithoutPrice])); w43.TopAttach = ((uint)(5)); w43.BottomAttach = ((uint)(6)); w43.LeftAttach = ((uint)(2)); w43.RightAttach = ((uint)(3)); w43.XOptions = ((global::Gtk.AttachOptions)(4)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.progressFinal = new global::Gtk.ProgressBar(); this.progressFinal.Name = "progressFinal"; this.table4.Add(this.progressFinal); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table4 [this.progressFinal])); w44.TopAttach = ((uint)(8)); w44.BottomAttach = ((uint)(9)); w44.LeftAttach = ((uint)(1)); w44.RightAttach = ((uint)(3)); w44.XOptions = ((global::Gtk.AttachOptions)(4)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebook1.Add(this.table4); global::Gtk.Notebook.NotebookChild w45 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.table4])); w45.Position = 2; // Notebook tab this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Шаг 3"); this.notebook1.SetTabLabel(this.table4, this.label7); this.label7.ShowAll(); this.vbox1.Add(this.notebook1); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1])); w46.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.buttonPrev = new global::Gtk.Button(); this.buttonPrev.Sensitive = false; this.buttonPrev.CanFocus = true; this.buttonPrev.Name = "buttonPrev"; this.buttonPrev.UseStock = true; this.buttonPrev.UseUnderline = true; this.buttonPrev.Label = "gtk-go-back"; this.hbox9.Add(this.buttonPrev); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonPrev])); w47.Position = 0; // Container child hbox9.Gtk.Box+BoxChild this.buttonNext = new global::Gtk.Button(); this.buttonNext.CanFocus = true; this.buttonNext.Name = "buttonNext"; this.buttonNext.UseStock = true; this.buttonNext.UseUnderline = true; this.buttonNext.Label = "gtk-go-forward"; this.hbox9.Add(this.buttonNext); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonNext])); w48.Position = 1; // Container child hbox9.Gtk.Box+BoxChild this.buttonCancel1 = new global::Gtk.Button(); this.buttonCancel1.CanFocus = true; this.buttonCancel1.Name = "buttonCancel1"; this.buttonCancel1.UseStock = true; this.buttonCancel1.UseUnderline = true; this.buttonCancel1.Label = "gtk-cancel"; this.hbox9.Add(this.buttonCancel1); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonCancel1])); w49.Position = 2; w49.Expand = false; w49.Fill = false; this.vbox1.Add(this.hbox9); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox9])); w50.Position = 1; w50.Expand = false; w50.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.multiedit.Hide(); this.Hide(); this.yspinSkipRows.ValueChanged += new global::System.EventHandler(this.OnYspinSkipRowsValueChanged); this.comboSheet.Changed += new global::System.EventHandler(this.OnComboSheetChanged); this.ytreeviewParsing.RowActivated += new global::Gtk.RowActivatedHandler(this.OnYtreeviewParsingRowActivated); this.buttonMultiEdit.Clicked += new global::System.EventHandler(this.OnButtonMultiEditClicked); this.buttonManualSet.Clicked += new global::System.EventHandler(this.OnButtonManualSetClicked); this.buttonResolveMultiFound.Clicked += new global::System.EventHandler(this.OnButtonResolveMultiFoundClicked); this.buttonFinish.Clicked += new global::System.EventHandler(this.OnButtonFinishClicked); this.buttonPrev.Clicked += new global::System.EventHandler(this.OnButtonPrevClicked); this.buttonNext.Clicked += new global::System.EventHandler(this.OnButtonNextClicked); this.buttonCancel1.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget QSDocTemplates.TemplateWidget global::Stetic.BinContainer.Attach(this); this.Name = "QSDocTemplates.TemplateWidget"; // Container child QSDocTemplates.TemplateWidget.Gtk.Container+ContainerChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); this.GtkAlignment.RightPadding = ((uint)(10)); // Container child GtkAlignment.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)); // Container child table1.Gtk.Table+TableChild this.comboTemplates = new global::Gamma.Widgets.yListComboBox(); this.comboTemplates.Name = "comboTemplates"; this.comboTemplates.AddIfNotExist = true; this.comboTemplates.DefaultFirst = false; this.table1.Add(this.comboTemplates); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.comboTemplates])); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.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 w2 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); 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.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)(2)); w3.BottomAttach = ((uint)(3)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelStatus = new global::Gtk.Label(); this.labelStatus.Name = "labelStatus"; this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("label4"); this.labelStatus.UseMarkup = true; this.table1.Add(this.labelStatus); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.labelStatus])); 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.ylabelSize = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSize.Name = "ylabelSize"; this.ylabelSize.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.table1.Add(this.ylabelSize); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelSize])); 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)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonOpen = new global::Gtk.Button(); this.buttonOpen.CanFocus = true; this.buttonOpen.Name = "buttonOpen"; this.buttonOpen.UseUnderline = true; this.buttonOpen.Label = global::Mono.Unix.Catalog.GetString("Открыть"); this.hbox1.Add(this.buttonOpen); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonOpen])); w7.Position = 0; // Container child hbox1.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 w8 = new global::Gtk.Image(); w8.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w8; this.hbox1.Add(this.buttonPrint); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonPrint])); w9.Position = 1; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w10.Position = 1; w10.Expand = false; w10.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.buttonEdit = new global::Gtk.Button(); this.buttonEdit.CanFocus = true; this.buttonEdit.Name = "buttonEdit"; this.buttonEdit.UseUnderline = true; this.buttonEdit.Label = global::Mono.Unix.Catalog.GetString("Редактировать"); global::Gtk.Image w11 = new global::Gtk.Image(); w11.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonEdit.Image = w11; this.hbox2.Add(this.buttonEdit); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonEdit])); w12.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.buttonRevertCommon = new global::Gtk.Button(); this.buttonRevertCommon.CanFocus = true; this.buttonRevertCommon.Name = "buttonRevertCommon"; this.buttonRevertCommon.UseUnderline = true; this.buttonRevertCommon.Label = global::Mono.Unix.Catalog.GetString("Вернуть общий"); global::Gtk.Image w13 = new global::Gtk.Image(); w13.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonRevertCommon.Image = w13; this.hbox2.Add(this.buttonRevertCommon); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonRevertCommon])); w14.Position = 1; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w15.Position = 2; w15.Expand = false; w15.Fill = false; this.GtkAlignment.Add(this.vbox1); this.frame1.Add(this.GtkAlignment); this.GtkLabel4 = new global::Gtk.Label(); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Шаблон документа</b>"); this.GtkLabel4.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel4; this.Add(this.frame1); if ((this.Child != null)) { this.Child.ShowAll(); } this.comboTemplates.Hide(); this.Hide(); this.comboTemplates.Changed += new global::System.EventHandler(this.OnComboTemplatesChanged); this.buttonOpen.Clicked += new global::System.EventHandler(this.OnButtonOpenClicked); this.buttonPrint.Clicked += new global::System.EventHandler(this.OnButtonPrintClicked); this.buttonEdit.Clicked += new global::System.EventHandler(this.OnButtonEditClicked); this.buttonRevertCommon.Clicked += new global::System.EventHandler(this.OnButtonRevertCommonClicked); }