protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Filters.GtkViews.EmployeeFilterView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Filters.GtkViews.EmployeeFilterView"; // Container child Vodovoz.Filters.GtkViews.EmployeeFilterView.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.labelCategory = new global::Gtk.Label(); this.labelCategory.Name = "labelCategory"; this.labelCategory.LabelProp = global::Mono.Unix.Catalog.GetString("Категория:"); this.hbox1.Add(this.labelCategory); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.labelCategory])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.enumcomboCategory = new global::Gamma.Widgets.yEnumComboBox(); this.enumcomboCategory.Name = "enumcomboCategory"; this.enumcomboCategory.ShowSpecialStateAll = true; this.enumcomboCategory.ShowSpecialStateNot = false; this.enumcomboCategory.UseShortTitle = false; this.enumcomboCategory.DefaultFirst = false; this.hbox1.Add(this.enumcomboCategory); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.enumcomboCategory])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.ylabelStatus = new global::Gamma.GtkWidgets.yLabel(); this.ylabelStatus.Name = "ylabelStatus"; this.ylabelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус:"); this.hbox1.Add(this.ylabelStatus); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ylabelStatus])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.yenumcomboStatus = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboStatus.Name = "yenumcomboStatus"; this.yenumcomboStatus.ShowSpecialStateAll = true; this.yenumcomboStatus.ShowSpecialStateNot = false; this.yenumcomboStatus.UseShortTitle = false; this.yenumcomboStatus.DefaultFirst = false; this.hbox1.Add(this.yenumcomboStatus); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.yenumcomboStatus])); w4.Position = 3; w4.Expand = false; w4.Fill = false; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Filters.GtkViews.DistrictJournalFilterView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Filters.GtkViews.DistrictJournalFilterView"; // Container child Vodovoz.Filters.GtkViews.DistrictJournalFilterView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.ylabelSetStatus = new global::Gamma.GtkWidgets.yLabel(); this.ylabelSetStatus.Name = "ylabelSetStatus"; this.ylabelSetStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус версии районов:"); this.hbox1.Add(this.ylabelSetStatus); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ylabelSetStatus])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.cmbDistrictsSetStatus = new global::Gamma.Widgets.yEnumComboBox(); this.cmbDistrictsSetStatus.Name = "cmbDistrictsSetStatus"; this.cmbDistrictsSetStatus.ShowSpecialStateAll = false; this.cmbDistrictsSetStatus.ShowSpecialStateNot = false; this.cmbDistrictsSetStatus.UseShortTitle = false; this.cmbDistrictsSetStatus.DefaultFirst = false; this.hbox1.Add(this.cmbDistrictsSetStatus); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.cmbDistrictsSetStatus])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.ycheckOnlyWithBorders = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckOnlyWithBorders.CanFocus = true; this.ycheckOnlyWithBorders.Name = "ycheckOnlyWithBorders"; this.ycheckOnlyWithBorders.Label = global::Mono.Unix.Catalog.GetString("Только районы с границами"); this.ycheckOnlyWithBorders.DrawIndicator = true; this.ycheckOnlyWithBorders.UseUnderline = true; this.hbox1.Add(this.ycheckOnlyWithBorders); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ycheckOnlyWithBorders])); w3.Position = 2; w3.Expand = false; w3.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.AccountingFilter global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.AccountingFilter"; // Container child Vodovoz.AccountingFilter.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Период:"); this.hbox1.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.periodPicker = new global::QS.Widgets.GtkUI.DateRangePicker(); this.periodPicker.Events = ((global::Gdk.EventMask)(256)); this.periodPicker.Name = "periodPicker"; this.periodPicker.StartDate = new global::System.DateTime(0); this.periodPicker.EndDate = new global::System.DateTime(0); this.hbox1.Add(this.periodPicker); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.periodPicker])); w2.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Тип операции:"); this.hbox1.Add(this.label4); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label4])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.comboType = new global::Gamma.Widgets.yEnumComboBox(); this.comboType.Name = "comboType"; this.comboType.ShowSpecialStateAll = true; this.comboType.ShowSpecialStateNot = false; this.comboType.UseShortTitle = false; this.comboType.DefaultFirst = false; this.hbox1.Add(this.comboType); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.comboType])); w4.Position = 3; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.periodPicker.PeriodChanged += new global::System.EventHandler(this.OnPeriodPickerPeriodChanged); this.comboType.ChangedByUser += new global::System.EventHandler(this.OnComboTypeChangedByUser); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ServiceClaimFilter global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ServiceClaimFilter"; // Container child Vodovoz.ServiceClaimFilter.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Тип заявки:"); this.hbox1.Add(this.label2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.comboType = new global::Gamma.Widgets.yEnumComboBox(); this.comboType.Name = "comboType"; this.comboType.ShowSpecialStateAll = true; this.comboType.ShowSpecialStateNot = false; this.comboType.UseShortTitle = false; this.comboType.DefaultFirst = false; this.hbox1.Add(this.comboType); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.comboType])); w2.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Статус:"); this.hbox1.Add(this.label1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.comboStatus = new global::Gamma.Widgets.yEnumComboBox(); this.comboStatus.Name = "comboStatus"; this.comboStatus.ShowSpecialStateAll = true; this.comboStatus.ShowSpecialStateNot = false; this.comboStatus.UseShortTitle = false; this.comboStatus.DefaultFirst = false; this.hbox1.Add(this.comboStatus); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.comboStatus])); w4.Position = 3; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.comboType.Changed += new global::System.EventHandler(this.OnComboTypeChanged); this.comboStatus.Changed += new global::System.EventHandler(this.OnComboStatusChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget BioGorod.JournalFilters.EmployeeFilter global::Stetic.BinContainer.Attach(this); this.Name = "BioGorod.JournalFilters.EmployeeFilter"; // Container child BioGorod.JournalFilters.EmployeeFilter.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(1)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checkFired = new global::Gtk.CheckButton(); this.checkFired.CanFocus = true; this.checkFired.Name = "checkFired"; this.checkFired.Label = global::Mono.Unix.Catalog.GetString("Показывать уволенных"); this.checkFired.Active = true; this.checkFired.DrawIndicator = true; this.checkFired.UseUnderline = true; this.table1.Add(this.checkFired); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkFired])); w1.LeftAttach = ((uint)(2)); w1.RightAttach = ((uint)(3)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumcomboCategory = new global::Gamma.Widgets.yEnumComboBox(); this.enumcomboCategory.Name = "enumcomboCategory"; this.enumcomboCategory.ShowSpecialStateAll = true; this.enumcomboCategory.ShowSpecialStateNot = false; this.enumcomboCategory.UseShortTitle = false; this.enumcomboCategory.DefaultFirst = false; this.table1.Add(this.enumcomboCategory); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.enumcomboCategory])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Тип:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.enumcomboCategory.ChangedByUser += new global::System.EventHandler(this.OnEnumcomboCategoryChangedByUser); this.checkFired.Toggled += new global::System.EventHandler(this.OnCheckFiredToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.EmployeeFilter global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.EmployeeFilter"; // Container child Vodovoz.EmployeeFilter.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table (((uint)(1)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checkFired = new global::Gtk.CheckButton (); this.checkFired.CanFocus = true; this.checkFired.Name = "checkFired"; this.checkFired.Label = global::Mono.Unix.Catalog.GetString ("Показывать уволенных"); this.checkFired.Active = true; this.checkFired.DrawIndicator = true; this.checkFired.UseUnderline = true; this.table1.Add (this.checkFired); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkFired])); w1.LeftAttach = ((uint)(2)); w1.RightAttach = ((uint)(3)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumcomboCategory = new global::Gamma.Widgets.yEnumComboBox (); this.enumcomboCategory.Name = "enumcomboCategory"; this.enumcomboCategory.ShowSpecialStateAll = true; this.enumcomboCategory.ShowSpecialStateNot = false; this.enumcomboCategory.UseShortTitle = false; this.enumcomboCategory.DefaultFirst = false; this.table1.Add (this.enumcomboCategory); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.enumcomboCategory])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Тип:"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.table1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.enumcomboCategory.Changed += new global::System.EventHandler (this.OnEnumcomboCategoryChanged); this.checkFired.Toggled += new global::System.EventHandler (this.OnCheckFiredToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Complaints.GuiltyItemView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Complaints.GuiltyItemView"; // Container child Vodovoz.Views.Complaints.GuiltyItemView.Gtk.Container+ContainerChild this.vbxCreateGuilty = new global::Gtk.VBox(); this.vbxCreateGuilty.Name = "vbxCreateGuilty"; this.vbxCreateGuilty.Spacing = 6; // Container child vbxCreateGuilty.Gtk.Box+BoxChild this.yEnumGuiltyType = new global::Gamma.Widgets.yEnumComboBox(); this.yEnumGuiltyType.Name = "yEnumGuiltyType"; this.yEnumGuiltyType.ShowSpecialStateAll = true; this.yEnumGuiltyType.ShowSpecialStateNot = false; this.yEnumGuiltyType.UseShortTitle = false; this.yEnumGuiltyType.DefaultFirst = false; this.vbxCreateGuilty.Add(this.yEnumGuiltyType); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbxCreateGuilty[this.yEnumGuiltyType])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbxCreateGuilty.Gtk.Box+BoxChild this.entVmEmployee = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entVmEmployee.Events = ((global::Gdk.EventMask)(256)); this.entVmEmployee.Name = "entVmEmployee"; this.entVmEmployee.CanEditReference = false; this.vbxCreateGuilty.Add(this.entVmEmployee); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbxCreateGuilty[this.entVmEmployee])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbxCreateGuilty.Gtk.Box+BoxChild this.yCmbSubdivision = new global::Gamma.Widgets.ySpecComboBox(); this.yCmbSubdivision.Name = "yCmbSubdivision"; this.yCmbSubdivision.AddIfNotExist = false; this.yCmbSubdivision.DefaultFirst = false; this.yCmbSubdivision.ShowSpecialStateAll = false; this.yCmbSubdivision.ShowSpecialStateNot = false; this.yCmbSubdivision.NameForSpecialStateNot = "Выберите отдел"; this.vbxCreateGuilty.Add(this.yCmbSubdivision); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbxCreateGuilty[this.yCmbSubdivision])); w3.Position = 2; w3.Expand = false; w3.Fill = false; this.Add(this.vbxCreateGuilty); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Journal.Filter.Views.Sizes.SizeTypeFilterView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Journal.Filter.Views.Sizes.SizeTypeFilterView"; // Container child workwear.Journal.Filter.Views.Sizes.SizeTypeFilterView.Gtk.Container+ContainerChild this.ytable2 = new global::Gamma.GtkWidgets.yTable(); this.ytable2.Name = "ytable2"; this.ytable2.NRows = ((uint)(3)); this.ytable2.NColumns = ((uint)(3)); this.ytable2.RowSpacing = ((uint)(6)); this.ytable2.ColumnSpacing = ((uint)(6)); // Container child ytable2.Gtk.Table+TableChild this.yenumcomboCategory = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboCategory.Name = "yenumcomboCategory"; this.yenumcomboCategory.ShowSpecialStateAll = false; this.yenumcomboCategory.ShowSpecialStateNot = true; this.yenumcomboCategory.UseShortTitle = false; this.yenumcomboCategory.DefaultFirst = false; this.ytable2.Add(this.yenumcomboCategory); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.ytable2[this.yenumcomboCategory])); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.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 w2 = ((global::Gtk.Table.TableChild)(this.ytable2[this.ylabel2])); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.ytable2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.JournalFilters.Cash.CashTransferDocumentsFilter global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.JournalFilters.Cash.CashTransferDocumentsFilter"; // Container child Vodovoz.JournalFilters.Cash.CashTransferDocumentsFilter.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Статус: "); this.hbox1.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.yenumCashTransferDocumentStatus = new global::Gamma.Widgets.yEnumComboBox(); this.yenumCashTransferDocumentStatus.Name = "yenumCashTransferDocumentStatus"; this.yenumCashTransferDocumentStatus.ShowSpecialStateAll = true; this.yenumCashTransferDocumentStatus.ShowSpecialStateNot = false; this.yenumCashTransferDocumentStatus.UseShortTitle = false; this.yenumCashTransferDocumentStatus.DefaultFirst = false; this.hbox1.Add(this.yenumCashTransferDocumentStatus); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.yenumCashTransferDocumentStatus])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget QS.Widgets.GtkUI.VehicleRegistrationNumberEntry global::Stetic.BinContainer.Attach(this); this.Name = "QS.Widgets.GtkUI.VehicleRegistrationNumberEntry"; // Container child QS.Widgets.GtkUI.VehicleRegistrationNumberEntry.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.comboCountry = new global::Gamma.Widgets.yEnumComboBox(); this.comboCountry.Name = "comboCountry"; this.comboCountry.ShowSpecialStateAll = false; this.comboCountry.ShowSpecialStateNot = false; this.comboCountry.UseShortTitle = false; this.comboCountry.DefaultFirst = false; this.hbox1.Add(this.comboCountry); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.comboCountry])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.entryNumber = new global::Gtk.Entry(); this.entryNumber.CanFocus = true; this.entryNumber.Name = "entryNumber"; this.entryNumber.IsEditable = true; this.entryNumber.InvisibleChar = '•'; this.hbox1.Add(this.entryNumber); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.entryNumber])); w2.Position = 1; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Filters.GtkViews.CounterpartyFilterView global::Stetic.BinContainer.Attach(this); this.HeightRequest = 100; this.Name = "Vodovoz.Filters.GtkViews.CounterpartyFilterView"; // Container child Vodovoz.Filters.GtkViews.CounterpartyFilterView.Gtk.Container+ContainerChild this.vboxMain = new global::Gamma.GtkWidgets.yVBox(); this.vboxMain.Name = "vboxMain"; this.vboxMain.Spacing = 6; // Container child vboxMain.Gtk.Box+BoxChild this.filterScrolledWindow = new global::Gtk.ScrolledWindow(); this.filterScrolledWindow.HeightRequest = 100; this.filterScrolledWindow.CanFocus = true; this.filterScrolledWindow.Name = "filterScrolledWindow"; this.filterScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child filterScrolledWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w1 = new global::Gtk.Viewport(); w1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(8)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checkIncludeArhive = new global::Gamma.GtkWidgets.yCheckButton(); this.checkIncludeArhive.CanFocus = true; this.checkIncludeArhive.Name = "checkIncludeArhive"; this.checkIncludeArhive.Label = global::Mono.Unix.Catalog.GetString("Включая архивных"); this.checkIncludeArhive.DrawIndicator = true; this.checkIncludeArhive.UseUnderline = true; this.table1.Add(this.checkIncludeArhive); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.checkIncludeArhive])); w2.LeftAttach = ((uint)(3)); w2.RightAttach = ((uint)(4)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.frame2 = new global::Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment51 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment51.Name = "GtkAlignment51"; this.GtkAlignment51.LeftPadding = ((uint)(12)); // Container child GtkAlignment51.Gtk.Container+ContainerChild this.GtkScrolledWindow15 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow15.WidthRequest = 220; this.GtkScrolledWindow15.Name = "GtkScrolledWindow15"; this.GtkScrolledWindow15.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow15.Gtk.Container+ContainerChild this.ytreeviewSalesChannels = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewSalesChannels.CanFocus = true; this.ytreeviewSalesChannels.Name = "ytreeviewSalesChannels"; this.ytreeviewSalesChannels.HeadersVisible = false; this.GtkScrolledWindow15.Add(this.ytreeviewSalesChannels); this.GtkAlignment51.Add(this.GtkScrolledWindow15); this.frame2.Add(this.GtkAlignment51); this.GtkLabel72 = new global::Gtk.Label(); this.GtkLabel72.Name = "GtkLabel72"; this.GtkLabel72.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Канал сбыта</b>"); this.GtkLabel72.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel72; this.table1.Add(this.frame2); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.frame2])); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(7)); w6.RightAttach = ((uint)(8)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hboxSearchFields = new global::Gtk.HBox(); this.hboxSearchFields.Name = "hboxSearchFields"; this.hboxSearchFields.Spacing = 6; // Container child hboxSearchFields.Gtk.Box+BoxChild this.ylabelName = new global::Gamma.GtkWidgets.yLabel(); this.ylabelName.Name = "ylabelName"; this.ylabelName.LabelProp = global::Mono.Unix.Catalog.GetString("Наименование:"); this.hboxSearchFields.Add(this.ylabelName); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxSearchFields[this.ylabelName])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hboxSearchFields.Gtk.Box+BoxChild this.entryName = new global::Gamma.GtkWidgets.yEntry(); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.InvisibleChar = '•'; this.hboxSearchFields.Add(this.entryName); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hboxSearchFields[this.entryName])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hboxSearchFields.Gtk.Box+BoxChild this.ylabelCounterpartyPhone = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCounterpartyPhone.Name = "ylabelCounterpartyPhone"; this.ylabelCounterpartyPhone.LabelProp = global::Mono.Unix.Catalog.GetString("Телефон контрагента:"); this.hboxSearchFields.Add(this.ylabelCounterpartyPhone); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxSearchFields[this.ylabelCounterpartyPhone])); w9.Position = 2; w9.Expand = false; w9.Fill = false; // Container child hboxSearchFields.Gtk.Box+BoxChild this.entryCounterpartyPhone = new global::QS.Widgets.ValidatedEntry(); this.entryCounterpartyPhone.TooltipMarkup = "Формат телефона: Без +7 и 8 в начале"; this.entryCounterpartyPhone.CanFocus = true; this.entryCounterpartyPhone.Name = "entryCounterpartyPhone"; this.entryCounterpartyPhone.IsEditable = true; this.entryCounterpartyPhone.InvisibleChar = '•'; this.hboxSearchFields.Add(this.entryCounterpartyPhone); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxSearchFields[this.entryCounterpartyPhone])); w10.Position = 3; w10.Expand = false; w10.Fill = false; // Container child hboxSearchFields.Gtk.Box+BoxChild this.ylabelDeliveryPointPhone = new global::Gamma.GtkWidgets.yLabel(); this.ylabelDeliveryPointPhone.Name = "ylabelDeliveryPointPhone"; this.ylabelDeliveryPointPhone.LabelProp = global::Mono.Unix.Catalog.GetString("Телефон точки доставки:"); this.hboxSearchFields.Add(this.ylabelDeliveryPointPhone); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxSearchFields[this.ylabelDeliveryPointPhone])); w11.Position = 4; w11.Expand = false; w11.Fill = false; // Container child hboxSearchFields.Gtk.Box+BoxChild this.entryDeliveryPointPhone = new global::QS.Widgets.ValidatedEntry(); this.entryDeliveryPointPhone.TooltipMarkup = "Формат телефона: Без +7 и 8 в начале"; this.entryDeliveryPointPhone.CanFocus = true; this.entryDeliveryPointPhone.Name = "entryDeliveryPointPhone"; this.entryDeliveryPointPhone.IsEditable = true; this.entryDeliveryPointPhone.InvisibleChar = '•'; this.hboxSearchFields.Add(this.entryDeliveryPointPhone); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hboxSearchFields[this.entryDeliveryPointPhone])); w12.Position = 5; w12.Expand = false; w12.Fill = false; this.table1.Add(this.hboxSearchFields); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.hboxSearchFields])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.RightAttach = ((uint)(7)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(6)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Показывать только:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Тег:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w15.LeftAttach = ((uint)(5)); w15.RightAttach = ((uint)(6)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.table1.Add(this.vseparator1); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.vseparator1])); w16.LeftAttach = ((uint)(2)); w16.RightAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.table1.Add(this.vseparator2); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.vseparator2])); w17.LeftAttach = ((uint)(4)); w17.RightAttach = ((uint)(5)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryTag = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryTag.Events = ((global::Gdk.EventMask)(256)); this.yentryTag.Name = "yentryTag"; this.table1.Add(this.yentryTag); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryTag])); w18.LeftAttach = ((uint)(6)); w18.RightAttach = ((uint)(7)); w18.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.yenumCounterpartyType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumCounterpartyType.Name = "yenumCounterpartyType"; this.yenumCounterpartyType.ShowSpecialStateAll = true; this.yenumCounterpartyType.ShowSpecialStateNot = false; this.yenumCounterpartyType.UseShortTitle = false; this.yenumCounterpartyType.DefaultFirst = false; this.table1.Add(this.yenumCounterpartyType); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumCounterpartyType])); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(0)); w1.Add(this.table1); this.filterScrolledWindow.Add(w1); this.vboxMain.Add(this.filterScrolledWindow); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.filterScrolledWindow])); w22.Position = 0; this.Add(this.vboxMain); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.JournalFilters.NomenclatureRepFilter global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.JournalFilters.NomenclatureRepFilter"; // Container child Vodovoz.JournalFilters.NomenclatureRepFilter.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(1)), ((uint)(5)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.chkOnlyDisposableTare = new global::Gamma.GtkWidgets.yCheckButton(); this.chkOnlyDisposableTare.CanFocus = true; this.chkOnlyDisposableTare.Name = "chkOnlyDisposableTare"; this.chkOnlyDisposableTare.Label = global::Mono.Unix.Catalog.GetString("Одноразовая тара"); this.chkOnlyDisposableTare.DrawIndicator = true; this.chkOnlyDisposableTare.UseUnderline = true; this.table1.Add(this.chkOnlyDisposableTare); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.chkOnlyDisposableTare])); w1.LeftAttach = ((uint)(4)); w1.RightAttach = ((uint)(5)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.chkShowDilers = new global::Gamma.GtkWidgets.yCheckButton(); this.chkShowDilers.CanFocus = true; this.chkShowDilers.Name = "chkShowDilers"; this.chkShowDilers.Label = global::Mono.Unix.Catalog.GetString("Показывать дилеры"); this.chkShowDilers.DrawIndicator = true; this.chkShowDilers.UseUnderline = true; this.table1.Add(this.chkShowDilers); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.chkShowDilers])); w2.LeftAttach = ((uint)(3)); w2.RightAttach = ((uint)(4)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.cmbSaleCategory = new global::Gamma.Widgets.yEnumComboBox(); this.cmbSaleCategory.Name = "cmbSaleCategory"; this.cmbSaleCategory.ShowSpecialStateAll = true; this.cmbSaleCategory.ShowSpecialStateNot = false; this.cmbSaleCategory.UseShortTitle = false; this.cmbSaleCategory.DefaultFirst = true; this.table1.Add(this.cmbSaleCategory); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.cmbSaleCategory])); 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.enumcomboCategory = new global::Gamma.Widgets.yEnumComboBox(); this.enumcomboCategory.Name = "enumcomboCategory"; this.enumcomboCategory.ShowSpecialStateAll = true; this.enumcomboCategory.ShowSpecialStateNot = false; this.enumcomboCategory.UseShortTitle = false; this.enumcomboCategory.DefaultFirst = true; this.table1.Add(this.enumcomboCategory); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.enumcomboCategory])); 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.labelType = new global::Gtk.Label(); this.labelType.Name = "labelType"; this.labelType.LabelProp = global::Mono.Unix.Catalog.GetString("Категория"); this.table1.Add(this.labelType); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.labelType])); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.enumcomboCategory.ChangedByUser += new global::System.EventHandler(this.OnEnumcomboCategoryChangedByUser); this.cmbSaleCategory.ChangedByUser += new global::System.EventHandler(this.OnCmbSaleCategoryChangedByUser); this.chkShowDilers.Toggled += new global::System.EventHandler(this.OnChkShowDilersToggled); this.chkOnlyDisposableTare.Toggled += new global::System.EventHandler(this.OnChkOnlyDisposableTareToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.CounterpartyContractDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.CounterpartyContractDlg"; // Container child Vodovoz.CounterpartyContractDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.datatable5 = new global::Gtk.Table(((uint)(7)), ((uint)(3)), false); this.datatable5.Name = "datatable5"; this.datatable5.RowSpacing = ((uint)(6)); this.datatable5.ColumnSpacing = ((uint)(6)); this.datatable5.BorderWidth = ((uint)(6)); // Container child datatable5.Gtk.Table+TableChild this.checkOnCancellation = new global::Gamma.GtkWidgets.yCheckButton(); this.checkOnCancellation.CanFocus = true; this.checkOnCancellation.Name = "checkOnCancellation"; this.checkOnCancellation.Label = global::Mono.Unix.Catalog.GetString("На расторжении"); this.checkOnCancellation.DrawIndicator = true; this.checkOnCancellation.UseUnderline = true; this.datatable5.Add(this.checkOnCancellation); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable5[this.checkOnCancellation])); w6.TopAttach = ((uint)(5)); w6.BottomAttach = ((uint)(6)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.dateIssue = new global::QS.Widgets.GtkUI.DatePicker(); this.dateIssue.Sensitive = false; this.dateIssue.Events = ((global::Gdk.EventMask)(256)); this.dateIssue.Name = "dateIssue"; this.dateIssue.WithTime = false; this.dateIssue.HideCalendarButton = false; this.dateIssue.Date = new global::System.DateTime(0); this.dateIssue.IsEditable = true; this.dateIssue.AutoSeparation = false; this.datatable5.Add(this.dateIssue); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.datatable5[this.dateIssue])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.entryNumber = new global::Gamma.GtkWidgets.yEntry(); this.entryNumber.Sensitive = false; this.entryNumber.CanFocus = true; this.entryNumber.Name = "entryNumber"; this.entryNumber.IsEditable = false; this.entryNumber.InvisibleChar = '●'; this.datatable5.Add(this.entryNumber); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable5[this.entryNumber])); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.hbox17 = new global::Gtk.HBox(); this.hbox17.Name = "hbox17"; this.hbox17.Spacing = 6; // Container child hbox17.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hbox17.Add(this.vseparator2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.vseparator2])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox17.Gtk.Box+BoxChild this.checkArchive = new global::Gamma.GtkWidgets.yCheckButton(); this.checkArchive.CanFocus = true; this.checkArchive.Name = "checkArchive"; this.checkArchive.Label = global::Mono.Unix.Catalog.GetString("Архивный"); this.checkArchive.DrawIndicator = true; this.checkArchive.UseUnderline = true; this.hbox17.Add(this.checkArchive); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.checkArchive])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child hbox17.Gtk.Box+BoxChild this.vseparator3 = new global::Gtk.VSeparator(); this.vseparator3.Name = "vseparator3"; this.hbox17.Add(this.vseparator3); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.vseparator3])); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.datatable5.Add(this.hbox17); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable5[this.hbox17])); w12.TopAttach = ((uint)(5)); w12.BottomAttach = ((uint)(6)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.label32 = new global::Gtk.Label(); this.label32.Name = "label32"; this.label32.Xalign = 1F; this.label32.LabelProp = global::Mono.Unix.Catalog.GetString("Номер:"); this.datatable5.Add(this.label32); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable5[this.label32])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.label33 = new global::Gtk.Label(); this.label33.Name = "label33"; this.label33.Xalign = 1F; this.label33.LabelProp = global::Mono.Unix.Catalog.GetString("Дата заключения:"); this.datatable5.Add(this.label33); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatable5[this.label33])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.label35 = new global::Gtk.Label(); this.label35.Name = "label35"; this.label35.Xalign = 1F; this.label35.LabelProp = global::Mono.Unix.Catalog.GetString("Организация:"); this.datatable5.Add(this.label35); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable5[this.label35])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.label36 = new global::Gtk.Label(); this.label36.Name = "label36"; this.label36.Xalign = 1F; this.label36.LabelProp = global::Mono.Unix.Catalog.GetString("Тип договора:"); this.datatable5.Add(this.label36); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable5[this.label36])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.label38 = new global::Gtk.Label(); this.label38.Name = "label38"; this.label38.Xalign = 1F; this.label38.LabelProp = global::Mono.Unix.Catalog.GetString("Максимальный срок отсрочки:"); this.datatable5.Add(this.label38); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable5[this.label38])); w17.TopAttach = ((uint)(4)); w17.BottomAttach = ((uint)(5)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.referenceOrganization = new global::Gamma.Widgets.yEntryReference(); this.referenceOrganization.Sensitive = false; this.referenceOrganization.Events = ((global::Gdk.EventMask)(256)); this.referenceOrganization.Name = "referenceOrganization"; this.datatable5.Add(this.referenceOrganization); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatable5[this.referenceOrganization])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.spinDelay = new global::Gamma.GtkWidgets.ySpinButton(0D, 100D, 1D); this.spinDelay.CanFocus = true; this.spinDelay.Name = "spinDelay"; this.spinDelay.Adjustment.PageIncrement = 10D; this.spinDelay.ClimbRate = 1D; this.spinDelay.Numeric = true; this.spinDelay.Value = 3D; this.spinDelay.ValueAsDecimal = 0m; this.spinDelay.ValueAsInt = 0; this.datatable5.Add(this.spinDelay); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatable5[this.spinDelay])); w19.TopAttach = ((uint)(4)); w19.BottomAttach = ((uint)(5)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.templatewidget1 = new global::QSDocTemplates.TemplateWidget(); this.templatewidget1.Events = ((global::Gdk.EventMask)(256)); this.templatewidget1.Name = "templatewidget1"; this.templatewidget1.CanRevertCommon = false; this.datatable5.Add(this.templatewidget1); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatable5[this.templatewidget1])); w20.BottomAttach = ((uint)(6)); w20.LeftAttach = ((uint)(2)); w20.RightAttach = ((uint)(3)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable5.Gtk.Table+TableChild this.ycomboContractType = new global::Gamma.Widgets.yEnumComboBox(); this.ycomboContractType.Sensitive = false; this.ycomboContractType.Name = "ycomboContractType"; this.ycomboContractType.ShowSpecialStateAll = false; this.ycomboContractType.ShowSpecialStateNot = false; this.ycomboContractType.UseShortTitle = false; this.ycomboContractType.DefaultFirst = false; this.datatable5.Add(this.ycomboContractType); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatable5[this.ycomboContractType])); w21.TopAttach = ((uint)(3)); w21.BottomAttach = ((uint)(4)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.datatable5); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.datatable5])); w22.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Sizes.SizeTypeView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Sizes.SizeTypeView"; // Container child workwear.Views.Sizes.SizeTypeView.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox3.Add(this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(5)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.entityname = new global::Gamma.GtkWidgets.yEntry(); this.entityname.CanFocus = true; this.entityname.Name = "entityname"; this.entityname.IsEditable = true; this.entityname.InvisibleChar = '•'; this.table2.Add(this.entityname); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2[this.entityname])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.table2.Add(this.label10); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2[this.label10])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Код:"); this.table2.Add(this.label9); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2[this.label9])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelId = new global::Gamma.GtkWidgets.yLabel(); this.labelId.Name = "labelId"; this.labelId.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.table2.Add(this.labelId); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2[this.labelId])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.specllistcomCategory = new global::Gamma.Widgets.yEnumComboBox(); this.specllistcomCategory.Name = "specllistcomCategory"; this.specllistcomCategory.ShowSpecialStateAll = false; this.specllistcomCategory.ShowSpecialStateNot = false; this.specllistcomCategory.UseShortTitle = false; this.specllistcomCategory.DefaultFirst = false; this.table2.Add(this.specllistcomCategory); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2[this.specllistcomCategory])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ycheckbuttonUseInEmployee = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckbuttonUseInEmployee.CanFocus = true; this.ycheckbuttonUseInEmployee.Name = "ycheckbuttonUseInEmployee"; this.ycheckbuttonUseInEmployee.Label = global::Mono.Unix.Catalog.GetString("Отображать в сотруднике"); this.ycheckbuttonUseInEmployee.Active = true; this.ycheckbuttonUseInEmployee.DrawIndicator = true; this.ycheckbuttonUseInEmployee.UseUnderline = true; this.table2.Add(this.ycheckbuttonUseInEmployee); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2[this.ycheckbuttonUseInEmployee])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Категория:"); this.table2.Add(this.ylabel1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2[this.ylabel1])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ylabel3 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel3.Name = "ylabel3"; this.ylabel3.LabelProp = global::Mono.Unix.Catalog.GetString("Позиция"); this.table2.Add(this.ylabel3); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2[this.ylabel3])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yspinPosition = new global::Gamma.GtkWidgets.ySpinButton(0D, 100D, 1D); this.yspinPosition.CanFocus = true; this.yspinPosition.Name = "yspinPosition"; this.yspinPosition.Adjustment.PageIncrement = 10D; this.yspinPosition.ClimbRate = 1D; this.yspinPosition.Numeric = true; this.yspinPosition.ValueAsDecimal = 0m; this.yspinPosition.ValueAsInt = 0; this.table2.Add(this.yspinPosition); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2[this.yspinPosition])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add(this.table2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.table2])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.yvbox1 = new global::Gamma.GtkWidgets.yVBox(); this.yvbox1.Name = "yvbox1"; this.yvbox1.Spacing = 6; // Container child yvbox1.Gtk.Box+BoxChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.ytreeviewSizes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewSizes.CanFocus = true; this.ytreeviewSizes.Name = "ytreeviewSizes"; this.scrolledwindow1.Add(this.ytreeviewSizes); this.yvbox1.Add(this.scrolledwindow1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.scrolledwindow1])); w17.Position = 0; // Container child yvbox1.Gtk.Box+BoxChild this.yhbox1 = new global::Gamma.GtkWidgets.yHBox(); this.yhbox1.Name = "yhbox1"; this.yhbox1.Spacing = 6; // Container child yhbox1.Gtk.Box+BoxChild this.ybuttonAddSize = new global::Gamma.GtkWidgets.yButton(); this.ybuttonAddSize.CanFocus = true; this.ybuttonAddSize.Name = "ybuttonAddSize"; this.ybuttonAddSize.UseUnderline = true; this.ybuttonAddSize.Label = global::Mono.Unix.Catalog.GetString("Добавить размер"); this.yhbox1.Add(this.ybuttonAddSize); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.ybuttonAddSize])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child yhbox1.Gtk.Box+BoxChild this.ybuttonRemoveSize = new global::Gamma.GtkWidgets.yButton(); this.ybuttonRemoveSize.CanFocus = true; this.ybuttonRemoveSize.Name = "ybuttonRemoveSize"; this.ybuttonRemoveSize.UseUnderline = true; this.ybuttonRemoveSize.Label = global::Mono.Unix.Catalog.GetString("Удалить размер"); this.yhbox1.Add(this.ybuttonRemoveSize); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.ybuttonRemoveSize])); w19.Position = 1; w19.Expand = false; w19.Fill = false; this.yvbox1.Add(this.yhbox1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.yhbox1])); w20.Position = 1; w20.Expand = false; w20.Fill = false; this.vbox3.Add(this.yvbox1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.yvbox1])); w21.Position = 2; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Reports.CashFlow global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Reports.CashFlow"; // Container child Vodovoz.Reports.CashFlow.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(7)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.buttonRun = new global::Gtk.Button(); this.buttonRun.Sensitive = false; this.buttonRun.CanFocus = true; this.buttonRun.Name = "buttonRun"; this.buttonRun.UseUnderline = true; this.buttonRun.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.table1.Add(this.buttonRun); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonRun])); w1.TopAttach = ((uint)(6)); w1.BottomAttach = ((uint)(7)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(0)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkDetail = new global::Gtk.CheckButton(); this.checkDetail.CanFocus = true; this.checkDetail.Name = "checkDetail"; this.checkDetail.Label = global::Mono.Unix.Catalog.GetString("Детализированный"); this.checkDetail.DrawIndicator = true; this.checkDetail.UseUnderline = true; this.checkDetail.Xalign = 0F; this.table1.Add(this.checkDetail); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.checkDetail])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboExpenseCategory = new global::Gtk.ComboBox(); this.comboExpenseCategory.Name = "comboExpenseCategory"; this.table1.Add(this.comboExpenseCategory); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.comboExpenseCategory])); w3.TopAttach = ((uint)(5)); w3.BottomAttach = ((uint)(6)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboIncomeCategory = new global::Gamma.Widgets.ySpecComboBox(); this.comboIncomeCategory.Name = "comboIncomeCategory"; this.comboIncomeCategory.AddIfNotExist = false; this.comboIncomeCategory.DefaultFirst = false; this.comboIncomeCategory.ShowSpecialStateAll = true; this.comboIncomeCategory.ShowSpecialStateNot = false; this.table1.Add(this.comboIncomeCategory); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.comboIncomeCategory])); w4.TopAttach = ((uint)(4)); w4.BottomAttach = ((uint)(5)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboPart = new global::Gamma.Widgets.yEnumComboBox(); this.comboPart.Sensitive = false; this.comboPart.Name = "comboPart"; this.comboPart.ShowSpecialStateAll = true; this.comboPart.ShowSpecialStateNot = false; this.comboPart.UseShortTitle = false; this.comboPart.DefaultFirst = false; this.table1.Add(this.comboPart); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.comboPart])); w5.TopAttach = ((uint)(3)); w5.BottomAttach = ((uint)(4)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.dateperiodpicker1 = new global::QSWidgetLib.DatePeriodPicker(); this.dateperiodpicker1.Events = ((global::Gdk.EventMask)(256)); this.dateperiodpicker1.Name = "dateperiodpicker1"; this.dateperiodpicker1.StartDate = new global::System.DateTime(0); this.dateperiodpicker1.EndDate = new global::System.DateTime(0); this.table1.Add(this.dateperiodpicker1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodpicker1])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Период:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Раздел:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w8.TopAttach = ((uint)(3)); w8.BottomAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Статья дохода:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w9.TopAttach = ((uint)(4)); w9.BottomAttach = ((uint)(5)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w10.TopAttach = ((uint)(5)); w10.BottomAttach = ((uint)(6)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Кассир:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryrefCasher = new global::Gamma.Widgets.yEntryReference(); this.yentryrefCasher.Events = ((global::Gdk.EventMask)(256)); this.yentryrefCasher.Name = "yentryrefCasher"; this.table1.Add(this.yentryrefCasher); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryrefCasher])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.dateperiodpicker1.PeriodChanged += new global::System.EventHandler(this.OnDateperiodpicker1PeriodChanged); this.comboPart.EnumItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnComboPartEnumItemSelected); this.checkDetail.Toggled += new global::System.EventHandler(this.OnCheckDetailToggled); this.buttonRun.Clicked += new global::System.EventHandler(this.OnButtonRunClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Logistic.CarModelView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Logistic.CarModelView"; // Container child Vodovoz.Views.Logistic.CarModelView.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox2.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отмена"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox2.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.ytable1 = new global::Gamma.GtkWidgets.yTable(); this.ytable1.Name = "ytable1"; this.ytable1.NRows = ((uint)(6)); this.ytable1.NColumns = ((uint)(2)); this.ytable1.RowSpacing = ((uint)(6)); this.ytable1.ColumnSpacing = ((uint)(6)); // Container child ytable1.Gtk.Table+TableChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.maxWeightSpin = new global::Gamma.GtkWidgets.ySpinButton(0D, 20000D, 1D); this.maxWeightSpin.WidthRequest = 100; this.maxWeightSpin.CanFocus = true; this.maxWeightSpin.Name = "maxWeightSpin"; this.maxWeightSpin.Adjustment.PageIncrement = 10D; this.maxWeightSpin.ClimbRate = 1D; this.maxWeightSpin.Numeric = true; this.maxWeightSpin.ValueAsDecimal = 0m; this.maxWeightSpin.ValueAsInt = 0; this.hbox3.Add(this.maxWeightSpin); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.maxWeightSpin])); w6.Position = 0; w6.Expand = false; w6.Fill = false; this.ytable1.Add(this.hbox3); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.ytable1[this.hbox3])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.maxVolumeSpin = new global::Gamma.GtkWidgets.ySpinButton(0D, 250D, 1D); this.maxVolumeSpin.WidthRequest = 100; this.maxVolumeSpin.CanFocus = true; this.maxVolumeSpin.Name = "maxVolumeSpin"; this.maxVolumeSpin.Adjustment.PageIncrement = 10D; this.maxVolumeSpin.ClimbRate = 1D; this.maxVolumeSpin.Digits = ((uint)(2)); this.maxVolumeSpin.Numeric = true; this.maxVolumeSpin.ValueAsDecimal = 0m; this.maxVolumeSpin.ValueAsInt = 0; this.hbox4.Add(this.maxVolumeSpin); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.maxVolumeSpin])); w8.Position = 0; w8.Expand = false; w8.Fill = false; this.ytable1.Add(this.hbox4); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.ytable1[this.hbox4])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.entryManufacturer = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryManufacturer.WidthRequest = 400; this.entryManufacturer.Events = ((global::Gdk.EventMask)(256)); this.entryManufacturer.Name = "entryManufacturer"; this.entryManufacturer.CanEditReference = true; this.hbox5.Add(this.entryManufacturer); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.entryManufacturer])); w10.Position = 0; w10.Expand = false; this.ytable1.Add(this.hbox5); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.ytable1[this.hbox5])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.comboTypeOfUse = new global::Gamma.Widgets.yEnumComboBox(); this.comboTypeOfUse.Name = "comboTypeOfUse"; this.comboTypeOfUse.ShowSpecialStateAll = false; this.comboTypeOfUse.ShowSpecialStateNot = false; this.comboTypeOfUse.UseShortTitle = false; this.comboTypeOfUse.DefaultFirst = false; this.hbox6.Add(this.comboTypeOfUse); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.comboTypeOfUse])); w12.Position = 0; w12.Expand = false; w12.Fill = false; this.ytable1.Add(this.hbox6); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.ytable1[this.hbox6])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.ycheckIsArchive = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckIsArchive.CanFocus = true; this.ycheckIsArchive.Name = "ycheckIsArchive"; this.ycheckIsArchive.Label = ""; this.ycheckIsArchive.DrawIndicator = true; this.ycheckIsArchive.UseUnderline = true; this.hbox7.Add(this.ycheckIsArchive); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.ycheckIsArchive])); w14.Position = 0; w14.Expand = false; w14.Fill = false; this.ytable1.Add(this.hbox7); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.ytable1[this.hbox7])); w15.TopAttach = ((uint)(5)); w15.BottomAttach = ((uint)(6)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.yentryName = new global::Gamma.GtkWidgets.yEntry(); this.yentryName.WidthRequest = 400; this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.InvisibleChar = '•'; this.hbox9.Add(this.yentryName); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.yentryName])); w16.Position = 0; w16.Expand = false; w16.Fill = false; this.ytable1.Add(this.hbox9); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.ytable1[this.hbox9])); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Производитель:"); this.ytable1.Add(this.label1); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.ytable1[this.label1])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Грузоподъёмность (кг):"); this.ytable1.Add(this.label2); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.ytable1[this.label2])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Объём груза (м<sup>3</sup>):"); this.label3.UseMarkup = true; this.ytable1.Add(this.label3); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.ytable1[this.label3])); w20.TopAttach = ((uint)(3)); w20.BottomAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Тип:"); this.ytable1.Add(this.label4); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.ytable1[this.label4])); w21.TopAttach = ((uint)(4)); w21.BottomAttach = ((uint)(5)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Архив:"); this.ytable1.Add(this.label5); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.ytable1[this.label5])); w22.TopAttach = ((uint)(5)); w22.BottomAttach = ((uint)(6)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.labelName = new global::Gtk.Label(); this.labelName.Name = "labelName"; this.labelName.Xalign = 1F; this.labelName.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.ytable1.Add(this.labelName); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.ytable1[this.labelName])); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.ytable1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.ytable1])); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget workwear.IncomeDocDlg this.Name = "workwear.IncomeDocDlg"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child workwear.IncomeDocDlg.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(3)); // Container child hbox1.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table (((uint)(4)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Операция<span foreground=\"red\">*</span>:"); this.label1.UseMarkup = true; this.table2.Add (this.label1); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table2 [this.label1])); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelObject = new global::Gtk.Label (); this.labelObject.Name = "labelObject"; this.labelObject.Xalign = 1F; this.labelObject.LabelProp = global::Mono.Unix.Catalog.GetString ("Объект<span foreground=\"red\">*</span>:"); this.labelObject.UseMarkup = true; this.table2.Add (this.labelObject); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelObject])); w3.TopAttach = ((uint)(3)); w3.BottomAttach = ((uint)(4)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelTTN = new global::Gtk.Label (); this.labelTTN.Name = "labelTTN"; this.labelTTN.Xalign = 1F; this.labelTTN.LabelProp = global::Mono.Unix.Catalog.GetString ("ТН №<span foreground=\"red\">*</span>:"); this.labelTTN.UseMarkup = true; this.table2.Add (this.labelTTN); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelTTN])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelWorker = new global::Gtk.Label (); this.labelWorker.Name = "labelWorker"; this.labelWorker.LabelProp = global::Mono.Unix.Catalog.GetString ("Работник<span foreground=\"red\">*</span>:"); this.labelWorker.UseMarkup = true; this.table2.Add (this.labelWorker); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelWorker])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ycomboOperation = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboOperation.Name = "ycomboOperation"; this.ycomboOperation.ShowSpecialStateAll = false; this.ycomboOperation.ShowSpecialStateNot = false; this.ycomboOperation.UseShortTitle = false; this.ycomboOperation.DefaultFirst = false; this.table2.Add (this.ycomboOperation); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.ycomboOperation])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryEmployee = new global::Gamma.Widgets.yEntryReference (); this.yentryEmployee.Events = ((global::Gdk.EventMask)(256)); this.yentryEmployee.Name = "yentryEmployee"; this.table2.Add (this.yentryEmployee); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryEmployee])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryNumber = new global::Gamma.GtkWidgets.yEntry (); this.yentryNumber.CanFocus = true; this.yentryNumber.Name = "yentryNumber"; this.yentryNumber.IsEditable = true; this.yentryNumber.MaxLength = 8; this.yentryNumber.InvisibleChar = '●'; this.table2.Add (this.yentryNumber); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryNumber])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryObject = new global::Gamma.Widgets.yEntryReference (); this.yentryObject.Events = ((global::Gdk.EventMask)(256)); this.yentryObject.Name = "yentryObject"; this.table2.Add (this.yentryObject); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryObject])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add (this.table2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table2])); w10.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Номер:"); this.table3.Add (this.label4); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table3 [this.label4])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Пользователь:"); this.table3.Add (this.label5); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table3 [this.label5])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата<span foreground=\"red\">*</span>:"); this.label6.UseMarkup = true; this.table3.Add (this.label6); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table3 [this.label6])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ydateDoc = new global::Gamma.Widgets.yDatePicker (); this.ydateDoc.Events = ((global::Gdk.EventMask)(256)); this.ydateDoc.Name = "ydateDoc"; this.ydateDoc.WithTime = false; this.ydateDoc.Date = new global::System.DateTime (0); this.ydateDoc.IsEditable = true; this.ydateDoc.AutoSeparation = true; this.table3.Add (this.ydateDoc); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table3 [this.ydateDoc])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ylabelCreatedBy = new global::Gamma.GtkWidgets.yLabel (); this.ylabelCreatedBy.Name = "ylabelCreatedBy"; this.ylabelCreatedBy.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1"); this.table3.Add (this.ylabelCreatedBy); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table3 [this.ylabelCreatedBy])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ylabelId = new global::Gamma.GtkWidgets.yLabel (); this.ylabelId.Name = "ylabelId"; this.ylabelId.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel3"); this.table3.Add (this.ylabelId); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table3 [this.ylabelId])); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add (this.table3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table3])); w17.Position = 1; w1.Add (this.hbox1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.ItemsTable = new global::workwear.IncomeDocItemsView (); this.ItemsTable.Events = ((global::Gdk.EventMask)(256)); this.ItemsTable.Name = "ItemsTable"; w1.Add (this.ItemsTable); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(w1 [this.ItemsTable])); w19.Position = 1; // Internal child workwear.IncomeDocDlg.ActionArea global::Gtk.HButtonBox w20 = this.ActionArea; w20.Name = "dialog1_ActionArea"; w20.Spacing = 10; w20.BorderWidth = ((uint)(5)); w20.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("О_тменить"); global::Gtk.Image w21 = new global::Gtk.Image (); w21.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w21; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w22 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w20 [this.buttonCancel])); w22.Expand = false; w22.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("_OK"); global::Gtk.Image w23 = new global::Gtk.Image (); w23.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu); this.buttonOk.Image = w23; w20.Add (this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w24 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w20 [this.buttonOk])); w24.Position = 1; w24.Expand = false; w24.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 582; this.DefaultHeight = 436; this.Show (); this.ycomboOperation.Changed += new global::System.EventHandler (this.OnYcomboOperationChanged); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.ResidueDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.ResidueDlg"; // Container child Vodovoz.ResidueDlg.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add (this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(8)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.disablespinBottlesDeposit = new global::QSOrmProject.DisableSpinButton (); this.disablespinBottlesDeposit.Events = ((global::Gdk.EventMask)(256)); this.disablespinBottlesDeposit.Name = "disablespinBottlesDeposit"; this.disablespinBottlesDeposit.Active = false; this.disablespinBottlesDeposit.Upper = 100000; this.disablespinBottlesDeposit.Lower = -100000; this.disablespinBottlesDeposit.Digits = ((uint)(2)); this.table1.Add (this.disablespinBottlesDeposit); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.disablespinBottlesDeposit])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.LeftAttach = ((uint)(3)); w6.RightAttach = ((uint)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.disablespinBottlesResidue = new global::QSOrmProject.DisableSpinButton (); this.disablespinBottlesResidue.Events = ((global::Gdk.EventMask)(256)); this.disablespinBottlesResidue.Name = "disablespinBottlesResidue"; this.disablespinBottlesResidue.Active = false; this.disablespinBottlesResidue.Upper = 100000; this.disablespinBottlesResidue.Lower = -100000; this.disablespinBottlesResidue.Digits = ((uint)(0)); this.table1.Add (this.disablespinBottlesResidue); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.disablespinBottlesResidue])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.disablespinEquipmentDeposit = new global::QSOrmProject.DisableSpinButton (); this.disablespinEquipmentDeposit.Events = ((global::Gdk.EventMask)(256)); this.disablespinEquipmentDeposit.Name = "disablespinEquipmentDeposit"; this.disablespinEquipmentDeposit.Active = false; this.disablespinEquipmentDeposit.Upper = 100000; this.disablespinEquipmentDeposit.Lower = -100000; this.disablespinEquipmentDeposit.Digits = ((uint)(2)); this.table1.Add (this.disablespinEquipmentDeposit); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.disablespinEquipmentDeposit])); w8.TopAttach = ((uint)(4)); w8.BottomAttach = ((uint)(5)); w8.LeftAttach = ((uint)(3)); w8.RightAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.disablespinMoneyDebt = new global::QSOrmProject.DisableSpinButton (); this.disablespinMoneyDebt.Events = ((global::Gdk.EventMask)(256)); this.disablespinMoneyDebt.Name = "disablespinMoneyDebt"; this.disablespinMoneyDebt.Active = false; this.disablespinMoneyDebt.Upper = 10000000; this.disablespinMoneyDebt.Lower = -10000000; this.disablespinMoneyDebt.Digits = ((uint)(2)); this.table1.Add (this.disablespinMoneyDebt); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.disablespinMoneyDebt])); w9.TopAttach = ((uint)(4)); w9.BottomAttach = ((uint)(5)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewComment = new global::Gamma.GtkWidgets.yTextView (); this.ytextviewComment.CanFocus = true; this.ytextviewComment.Name = "ytextviewComment"; this.GtkScrolledWindow.Add (this.ytextviewComment); this.table1.Add (this.GtkScrolledWindow); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow])); w11.TopAttach = ((uint)(7)); w11.BottomAttach = ((uint)(8)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(4)); w11.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 w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Текущий долг:"); this.table1.Add (this.label11); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label11])); w13.TopAttach = ((uint)(6)); w13.BottomAttach = ((uint)(7)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label13 = new global::Gtk.Label (); this.label13.Name = "label13"; this.label13.Xalign = 1F; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Текущие залоги:"); this.table1.Add (this.label13); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label13])); w14.TopAttach = ((uint)(6)); w14.BottomAttach = ((uint)(7)); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Клиент:"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.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 w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.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 w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Залог за тару:"); this.table1.Add (this.label5); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.LeftAttach = ((uint)(2)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6])); w19.TopAttach = ((uint)(4)); w19.BottomAttach = ((uint)(5)); w19.LeftAttach = ((uint)(2)); w19.RightAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); w20.TopAttach = ((uint)(3)); w20.BottomAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.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.Yalign = 0F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Комментарий:"); this.table1.Add (this.label8); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8])); w21.TopAttach = ((uint)(7)); w21.BottomAttach = ((uint)(8)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCurrent = new global::Gtk.Label (); this.labelCurrent.Name = "labelCurrent"; this.labelCurrent.Xalign = 1F; this.labelCurrent.LabelProp = global::Mono.Unix.Catalog.GetString ("Текущие залоги:"); this.table1.Add (this.labelCurrent); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelCurrent])); w22.TopAttach = ((uint)(3)); w22.BottomAttach = ((uint)(4)); w22.LeftAttach = ((uint)(2)); w22.RightAttach = ((uint)(3)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCurrentBootle = new global::Gtk.Label (); this.labelCurrentBootle.Name = "labelCurrentBootle"; this.labelCurrentBootle.LabelProp = global::Mono.Unix.Catalog.GetString ("label3"); this.table1.Add (this.labelCurrentBootle); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelCurrentBootle])); w23.TopAttach = ((uint)(3)); w23.BottomAttach = ((uint)(4)); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(2)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCurrentBottleDeposit = new global::Gtk.Label (); this.labelCurrentBottleDeposit.Name = "labelCurrentBottleDeposit"; this.labelCurrentBottleDeposit.LabelProp = global::Mono.Unix.Catalog.GetString ("label4"); this.table1.Add (this.labelCurrentBottleDeposit); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelCurrentBottleDeposit])); w24.TopAttach = ((uint)(3)); w24.BottomAttach = ((uint)(4)); w24.LeftAttach = ((uint)(3)); w24.RightAttach = ((uint)(4)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCurrentEquipmentDeposit = new global::Gtk.Label (); this.labelCurrentEquipmentDeposit.Name = "labelCurrentEquipmentDeposit"; this.labelCurrentEquipmentDeposit.LabelProp = global::Mono.Unix.Catalog.GetString ("label8"); this.table1.Add (this.labelCurrentEquipmentDeposit); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelCurrentEquipmentDeposit])); w25.TopAttach = ((uint)(6)); w25.BottomAttach = ((uint)(7)); w25.LeftAttach = ((uint)(3)); w25.RightAttach = ((uint)(4)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCurrentMoneyDebt = new global::Gtk.Label (); this.labelCurrentMoneyDebt.Name = "labelCurrentMoneyDebt"; this.labelCurrentMoneyDebt.LabelProp = global::Mono.Unix.Catalog.GetString ("label6"); this.table1.Add (this.labelCurrentMoneyDebt); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelCurrentMoneyDebt])); w26.TopAttach = ((uint)(6)); w26.BottomAttach = ((uint)(7)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.moneyLabel = new global::Gtk.Label (); this.moneyLabel.Name = "moneyLabel"; this.moneyLabel.Xalign = 1F; this.moneyLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Долги по деньгам:"); this.table1.Add (this.moneyLabel); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1 [this.moneyLabel])); w27.TopAttach = ((uint)(4)); w27.BottomAttach = ((uint)(5)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yenumcomboDebtPaymentType = new global::Gamma.Widgets.yEnumComboBox (); this.yenumcomboDebtPaymentType.Name = "yenumcomboDebtPaymentType"; this.yenumcomboDebtPaymentType.ShowSpecialStateAll = false; this.yenumcomboDebtPaymentType.ShowSpecialStateNot = false; this.yenumcomboDebtPaymentType.UseShortTitle = false; this.yenumcomboDebtPaymentType.DefaultFirst = false; this.table1.Add (this.yenumcomboDebtPaymentType); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1 [this.yenumcomboDebtPaymentType])); w28.TopAttach = ((uint)(5)); w28.BottomAttach = ((uint)(6)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ypickerDocDate = new global::Gamma.Widgets.yDatePicker (); this.ypickerDocDate.Events = ((global::Gdk.EventMask)(256)); this.ypickerDocDate.Name = "ypickerDocDate"; this.ypickerDocDate.WithTime = false; this.ypickerDocDate.Date = new global::System.DateTime (0); this.ypickerDocDate.IsEditable = true; this.ypickerDocDate.AutoSeparation = false; this.table1.Add (this.ypickerDocDate); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1 [this.ypickerDocDate])); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yreferenceClientSelector = new global::Gamma.Widgets.yEntryReferenceVM (); this.yreferenceClientSelector.Events = ((global::Gdk.EventMask)(256)); this.yreferenceClientSelector.Name = "yreferenceClientSelector"; this.table1.Add (this.yreferenceClientSelector); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1 [this.yreferenceClientSelector])); w30.LeftAttach = ((uint)(3)); w30.RightAttach = ((uint)(4)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yreferenceDeliveryPoint = new global::Gamma.Widgets.yEntryReferenceVM (); this.yreferenceDeliveryPoint.Events = ((global::Gdk.EventMask)(256)); this.yreferenceDeliveryPoint.Name = "yreferenceDeliveryPoint"; this.table1.Add (this.yreferenceDeliveryPoint); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1 [this.yreferenceDeliveryPoint])); w31.TopAttach = ((uint)(1)); w31.BottomAttach = ((uint)(2)); w31.LeftAttach = ((uint)(3)); w31.RightAttach = ((uint)(4)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add (this.table1); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1])); w32.Position = 1; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); this.yreferenceDeliveryPoint.Changed += new global::System.EventHandler (this.OnYreferenceDeliveryPointChanged); this.yreferenceClientSelector.Changed += new global::System.EventHandler (this.OnYentryreferencevmClientSelectorChanged); this.disablespinMoneyDebt.ActiveChanged += new global::System.EventHandler (this.OnDisablespinMoneyDebtActiveChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.OrdersFilter global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.OrdersFilter"; // Container child Vodovoz.OrdersFilter.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checkOnlySelfDelivery = new global::Gtk.CheckButton (); this.checkOnlySelfDelivery.CanFocus = true; this.checkOnlySelfDelivery.Name = "checkOnlySelfDelivery"; this.checkOnlySelfDelivery.Label = global::Mono.Unix.Catalog.GetString ("Только самовывоз"); this.checkOnlySelfDelivery.DrawIndicator = true; this.checkOnlySelfDelivery.UseUnderline = true; this.table1.Add (this.checkOnlySelfDelivery); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkOnlySelfDelivery])); w1.TopAttach = ((uint)(2)); w1.BottomAttach = ((uint)(3)); w1.LeftAttach = ((uint)(2)); w1.RightAttach = ((uint)(3)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkWithoutCoordinates = new global::Gtk.CheckButton (); this.checkWithoutCoordinates.CanFocus = true; this.checkWithoutCoordinates.Name = "checkWithoutCoordinates"; this.checkWithoutCoordinates.Label = global::Mono.Unix.Catalog.GetString ("Только без координат"); this.checkWithoutCoordinates.DrawIndicator = true; this.checkWithoutCoordinates.UseUnderline = true; this.table1.Add (this.checkWithoutCoordinates); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkWithoutCoordinates])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkWithoutSelfDelivery = new global::Gtk.CheckButton (); this.checkWithoutSelfDelivery.CanFocus = true; this.checkWithoutSelfDelivery.Name = "checkWithoutSelfDelivery"; this.checkWithoutSelfDelivery.Label = global::Mono.Unix.Catalog.GetString ("Без самовывоза"); this.checkWithoutSelfDelivery.DrawIndicator = true; this.checkWithoutSelfDelivery.UseUnderline = true; this.table1.Add (this.checkWithoutSelfDelivery); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkWithoutSelfDelivery])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.LeftAttach = ((uint)(3)); w3.RightAttach = ((uint)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.dateperiodOrders = new global::QSWidgetLib.DatePeriodPicker (); this.dateperiodOrders.Events = ((global::Gdk.EventMask)(256)); this.dateperiodOrders.Name = "dateperiodOrders"; this.dateperiodOrders.StartDate = new global::System.DateTime (0); this.dateperiodOrders.EndDate = new global::System.DateTime (0); this.table1.Add (this.dateperiodOrders); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.dateperiodOrders])); w4.LeftAttach = ((uint)(3)); w4.RightAttach = ((uint)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryreferenceClient = new global::QSOrmProject.EntryReferenceVM (); this.entryreferenceClient.Events = ((global::Gdk.EventMask)(256)); this.entryreferenceClient.Name = "entryreferenceClient"; this.table1.Add (this.entryreferenceClient); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryreferenceClient])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryreferencePoint = new global::QSOrmProject.EntryReferenceVM (); this.entryreferencePoint.Sensitive = false; this.entryreferencePoint.Events = ((global::Gdk.EventMask)(256)); this.entryreferencePoint.Name = "entryreferencePoint"; this.table1.Add (this.entryreferencePoint); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryreferencePoint])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(3)); w6.RightAttach = ((uint)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumcomboStatus = new global::Gamma.Widgets.yEnumComboBox (); this.enumcomboStatus.Name = "enumcomboStatus"; this.enumcomboStatus.ShowSpecialStateAll = true; this.enumcomboStatus.ShowSpecialStateNot = false; this.enumcomboStatus.UseShortTitle = false; this.enumcomboStatus.DefaultFirst = false; this.table1.Add (this.enumcomboStatus); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.enumcomboStatus])); 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.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 w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Контрагент:"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Точка доставки:"); this.table1.Add (this.label3); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(2)); w10.RightAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w11.LeftAttach = ((uint)(2)); w11.RightAttach = ((uint)(3)); 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 (); this.enumcomboStatus.Changed += new global::System.EventHandler (this.OnEnumcomboStatusChanged); this.entryreferencePoint.Changed += new global::System.EventHandler (this.OnEntryreferencePointChanged); this.entryreferenceClient.Changed += new global::System.EventHandler (this.OnEntryreferenceClientChanged); this.dateperiodOrders.PeriodChanged += new global::System.EventHandler (this.OnDateperiodOrdersPeriodChanged); this.checkWithoutSelfDelivery.Toggled += new global::System.EventHandler (this.OnCheckWithoutSelfDeliveryToggled); this.checkWithoutCoordinates.Toggled += new global::System.EventHandler (this.OnCheckWithoutCoordinatesToggled); this.checkOnlySelfDelivery.Toggled += new global::System.EventHandler (this.OnCheckOnlySelfDeliveryToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.MovementDocumentDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.MovementDocumentDlg"; // Container child Vodovoz.MovementDocumentDlg.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; this.vbox3.BorderWidth = ((uint)(6)); // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox3.Add (this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.tableCommon = new global::Gtk.DataBindings.DataTable (((uint)(4)), ((uint)(4)), false); this.tableCommon.Name = "tableCommon"; this.tableCommon.RowSpacing = ((uint)(6)); this.tableCommon.ColumnSpacing = ((uint)(6)); this.tableCommon.InheritedDataSource = false; this.tableCommon.InheritedBoundaryDataSource = false; this.tableCommon.InheritedDataSource = false; this.tableCommon.InheritedBoundaryDataSource = false; // Container child tableCommon.Gtk.Table+TableChild this.enumMovementType = new global::Gamma.Widgets.yEnumComboBox (); this.enumMovementType.Name = "enumMovementType"; this.enumMovementType.ShowSpecialStateAll = false; this.enumMovementType.ShowSpecialStateNot = false; this.enumMovementType.UseShortTitle = false; this.enumMovementType.DefaultFirst = true; this.tableCommon.Add (this.enumMovementType); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.enumMovementType])); 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 tableCommon.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.textComment = new global::Gtk.DataBindings.DataTextView (); this.textComment.CanFocus = true; this.textComment.Name = "textComment"; this.textComment.InheritedDataSource = true; this.textComment.Mappings = "Comment"; this.textComment.InheritedBoundaryDataSource = false; this.textComment.InheritedDataSource = true; this.textComment.Mappings = "Comment"; this.textComment.InheritedBoundaryDataSource = false; this.GtkScrolledWindow1.Add (this.textComment); this.tableCommon.Add (this.GtkScrolledWindow1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.GtkScrolledWindow1])); w8.TopAttach = ((uint)(3)); w8.BottomAttach = ((uint)(4)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.Gtk.Table+TableChild this.hboxTransportation = new global::Gtk.HBox (); this.hboxTransportation.Name = "hboxTransportation"; this.hboxTransportation.Spacing = 6; // Container child hboxTransportation.Gtk.Box+BoxChild this.ylabelTransportationStatus = new global::Gamma.GtkWidgets.yLabel (); this.ylabelTransportationStatus.Name = "ylabelTransportationStatus"; this.ylabelTransportationStatus.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1"); this.hboxTransportation.Add (this.ylabelTransportationStatus); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxTransportation [this.ylabelTransportationStatus])); w9.Position = 0; // Container child hboxTransportation.Gtk.Box+BoxChild this.buttonDelivered = new global::Gtk.Button (); this.buttonDelivered.CanFocus = true; this.buttonDelivered.Name = "buttonDelivered"; this.buttonDelivered.UseUnderline = true; this.buttonDelivered.Label = global::Mono.Unix.Catalog.GetString ("Доставлено"); this.hboxTransportation.Add (this.buttonDelivered); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxTransportation [this.buttonDelivered])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.tableCommon.Add (this.hboxTransportation); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.hboxTransportation])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(3)); w11.RightAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.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.tableCommon.Add (this.label1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.label1])); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.Gtk.Table+TableChild this.label12 = new global::Gtk.Label (); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Ответственное лицо:"); this.tableCommon.Add (this.label12); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.label12])); w13.LeftAttach = ((uint)(2)); w13.RightAttach = ((uint)(3)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.Gtk.Table+TableChild this.label13 = new global::Gtk.Label (); this.label13.Name = "label13"; this.label13.Xalign = 1F; this.label13.Yalign = 0F; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Комментарий:"); this.tableCommon.Add (this.label13); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.label13])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.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.tableCommon.Add (this.label3); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.label3])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.Gtk.Table+TableChild this.labelTimeStamp = new global::Gtk.DataBindings.DataLabel (); this.labelTimeStamp.Name = "labelTimeStamp"; this.labelTimeStamp.Xalign = 0F; this.labelTimeStamp.InheritedDataSource = true; this.labelTimeStamp.Mappings = "DateString"; this.labelTimeStamp.InheritedBoundaryDataSource = false; this.labelTimeStamp.Important = false; this.labelTimeStamp.InheritedDataSource = true; this.labelTimeStamp.Mappings = "DateString"; this.labelTimeStamp.InheritedBoundaryDataSource = false; this.tableCommon.Add (this.labelTimeStamp); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.labelTimeStamp])); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.Gtk.Table+TableChild this.labelTransportationTitle = new global::Gtk.Label (); this.labelTransportationTitle.Name = "labelTransportationTitle"; this.labelTransportationTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Статус траспортировки:"); this.tableCommon.Add (this.labelTransportationTitle); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.labelTransportationTitle])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.Gtk.Table+TableChild this.labelWagon = new global::Gtk.Label (); this.labelWagon.Name = "labelWagon"; this.labelWagon.Xalign = 1F; this.labelWagon.LabelProp = global::Mono.Unix.Catalog.GetString ("Фура:"); this.tableCommon.Add (this.labelWagon); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.labelWagon])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.LeftAttach = ((uint)(2)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.Gtk.Table+TableChild this.referenceEmployee = new global::Gtk.DataBindings.DataEntryReference (); this.referenceEmployee.Events = ((global::Gdk.EventMask)(256)); this.referenceEmployee.Name = "referenceEmployee"; this.referenceEmployee.DisplayFields = new string[] { "FullName" }; this.referenceEmployee.DisplayFormatString = "{0}"; this.referenceEmployee.InheritedDataSource = true; this.referenceEmployee.Mappings = "ResponsiblePerson"; this.referenceEmployee.InheritedBoundaryDataSource = false; this.referenceEmployee.CursorPointsEveryType = false; this.tableCommon.Add (this.referenceEmployee); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.referenceEmployee])); w19.LeftAttach = ((uint)(3)); w19.RightAttach = ((uint)(4)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.Gtk.Table+TableChild this.yentryrefWagon = new global::Gamma.Widgets.yEntryReference (); this.yentryrefWagon.Events = ((global::Gdk.EventMask)(256)); this.yentryrefWagon.Name = "yentryrefWagon"; this.tableCommon.Add (this.yentryrefWagon); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.yentryrefWagon])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.LeftAttach = ((uint)(3)); w20.RightAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add (this.tableCommon); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.tableCommon])); w21.Position = 1; w21.Expand = false; w21.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Отправитель"); this.vbox2.Add (this.label11); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label11])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.tableSender = new global::Gtk.DataBindings.DataTable (((uint)(3)), ((uint)(2)), false); this.tableSender.Name = "tableSender"; this.tableSender.RowSpacing = ((uint)(6)); this.tableSender.ColumnSpacing = ((uint)(6)); this.tableSender.InheritedDataSource = false; this.tableSender.InheritedBoundaryDataSource = false; this.tableSender.InheritedDataSource = false; this.tableSender.InheritedBoundaryDataSource = false; // Container child tableSender.Gtk.Table+TableChild this.labelClientFrom = new global::Gtk.Label (); this.labelClientFrom.Name = "labelClientFrom"; this.labelClientFrom.Xalign = 1F; this.labelClientFrom.LabelProp = global::Mono.Unix.Catalog.GetString ("Клиент:"); this.tableSender.Add (this.labelClientFrom); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableSender [this.labelClientFrom])); w23.TopAttach = ((uint)(1)); w23.BottomAttach = ((uint)(2)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSender.Gtk.Table+TableChild this.labelPointFrom = new global::Gtk.Label (); this.labelPointFrom.Name = "labelPointFrom"; this.labelPointFrom.Xalign = 1F; this.labelPointFrom.LabelProp = global::Mono.Unix.Catalog.GetString ("Точка доставки:"); this.tableSender.Add (this.labelPointFrom); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tableSender [this.labelPointFrom])); w24.TopAttach = ((uint)(2)); w24.BottomAttach = ((uint)(3)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSender.Gtk.Table+TableChild this.labelStockFrom = new global::Gtk.Label (); this.labelStockFrom.Name = "labelStockFrom"; this.labelStockFrom.Xalign = 1F; this.labelStockFrom.LabelProp = global::Mono.Unix.Catalog.GetString ("Склад:"); this.tableSender.Add (this.labelStockFrom); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tableSender [this.labelStockFrom])); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSender.Gtk.Table+TableChild this.referenceCounterpartyFrom = new global::Gamma.Widgets.yEntryReferenceVM (); this.referenceCounterpartyFrom.Events = ((global::Gdk.EventMask)(256)); this.referenceCounterpartyFrom.Name = "referenceCounterpartyFrom"; this.tableSender.Add (this.referenceCounterpartyFrom); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.tableSender [this.referenceCounterpartyFrom])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSender.Gtk.Table+TableChild this.referenceDeliveryPointFrom = new global::Gtk.DataBindings.DataEntryReference (); this.referenceDeliveryPointFrom.Events = ((global::Gdk.EventMask)(256)); this.referenceDeliveryPointFrom.Name = "referenceDeliveryPointFrom"; this.referenceDeliveryPointFrom.DisplayFields = new string[] { "CompiledAddress" }; this.referenceDeliveryPointFrom.DisplayFormatString = "{0}"; this.referenceDeliveryPointFrom.InheritedDataSource = true; this.referenceDeliveryPointFrom.Mappings = "FromDeliveryPoint"; this.referenceDeliveryPointFrom.InheritedBoundaryDataSource = false; this.referenceDeliveryPointFrom.CursorPointsEveryType = false; this.tableSender.Add (this.referenceDeliveryPointFrom); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.tableSender [this.referenceDeliveryPointFrom])); w27.TopAttach = ((uint)(2)); w27.BottomAttach = ((uint)(3)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSender.Gtk.Table+TableChild this.referenceWarehouseFrom = new global::Gtk.DataBindings.DataEntryReference (); this.referenceWarehouseFrom.Events = ((global::Gdk.EventMask)(256)); this.referenceWarehouseFrom.Name = "referenceWarehouseFrom"; this.referenceWarehouseFrom.DisplayFields = new string[] { "Name" }; this.referenceWarehouseFrom.DisplayFormatString = "{0}"; this.referenceWarehouseFrom.InheritedDataSource = true; this.referenceWarehouseFrom.Mappings = "FromWarehouse"; this.referenceWarehouseFrom.InheritedBoundaryDataSource = false; this.referenceWarehouseFrom.CursorPointsEveryType = false; this.tableSender.Add (this.referenceWarehouseFrom); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tableSender [this.referenceWarehouseFrom])); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add (this.tableSender); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.tableSender])); w29.Position = 1; w29.Expand = false; w29.Fill = false; this.hbox3.Add (this.vbox2); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox2])); w30.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 w31 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vseparator1])); w31.Position = 1; w31.Expand = false; w31.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Получатель"); this.vbox4.Add (this.label10); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label10])); w32.Position = 0; w32.Expand = false; w32.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.tableReceiver = new global::Gtk.DataBindings.DataTable (((uint)(3)), ((uint)(2)), false); this.tableReceiver.Name = "tableReceiver"; this.tableReceiver.RowSpacing = ((uint)(6)); this.tableReceiver.ColumnSpacing = ((uint)(6)); this.tableReceiver.InheritedDataSource = false; this.tableReceiver.InheritedBoundaryDataSource = false; this.tableReceiver.InheritedDataSource = false; this.tableReceiver.InheritedBoundaryDataSource = false; // Container child tableReceiver.Gtk.Table+TableChild this.labelClientTo = new global::Gtk.Label (); this.labelClientTo.Name = "labelClientTo"; this.labelClientTo.Xalign = 1F; this.labelClientTo.LabelProp = global::Mono.Unix.Catalog.GetString ("Клиент:"); this.tableReceiver.Add (this.labelClientTo); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.labelClientTo])); w33.TopAttach = ((uint)(1)); w33.BottomAttach = ((uint)(2)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableReceiver.Gtk.Table+TableChild this.labelPointTo = new global::Gtk.Label (); this.labelPointTo.Name = "labelPointTo"; this.labelPointTo.Xalign = 1F; this.labelPointTo.LabelProp = global::Mono.Unix.Catalog.GetString ("Точка доставки:"); this.tableReceiver.Add (this.labelPointTo); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.labelPointTo])); w34.TopAttach = ((uint)(2)); w34.BottomAttach = ((uint)(3)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableReceiver.Gtk.Table+TableChild this.labelStockTo = new global::Gtk.Label (); this.labelStockTo.Name = "labelStockTo"; this.labelStockTo.Xalign = 1F; this.labelStockTo.LabelProp = global::Mono.Unix.Catalog.GetString ("Склад:"); this.tableReceiver.Add (this.labelStockTo); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.labelStockTo])); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableReceiver.Gtk.Table+TableChild this.referenceCounterpartyTo = new global::Gamma.Widgets.yEntryReferenceVM (); this.referenceCounterpartyTo.Events = ((global::Gdk.EventMask)(256)); this.referenceCounterpartyTo.Name = "referenceCounterpartyTo"; this.tableReceiver.Add (this.referenceCounterpartyTo); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.referenceCounterpartyTo])); w36.TopAttach = ((uint)(1)); w36.BottomAttach = ((uint)(2)); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableReceiver.Gtk.Table+TableChild this.referenceDeliveryPointTo = new global::Gtk.DataBindings.DataEntryReference (); this.referenceDeliveryPointTo.Events = ((global::Gdk.EventMask)(256)); this.referenceDeliveryPointTo.Name = "referenceDeliveryPointTo"; this.referenceDeliveryPointTo.DisplayFields = new string[] { "CompiledAddress" }; this.referenceDeliveryPointTo.DisplayFormatString = "{0}"; this.referenceDeliveryPointTo.InheritedDataSource = true; this.referenceDeliveryPointTo.Mappings = "ToDeliveryPoint"; this.referenceDeliveryPointTo.InheritedBoundaryDataSource = false; this.referenceDeliveryPointTo.CursorPointsEveryType = false; this.tableReceiver.Add (this.referenceDeliveryPointTo); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.referenceDeliveryPointTo])); w37.TopAttach = ((uint)(2)); w37.BottomAttach = ((uint)(3)); w37.LeftAttach = ((uint)(1)); w37.RightAttach = ((uint)(2)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableReceiver.Gtk.Table+TableChild this.referenceWarehouseTo = new global::Gtk.DataBindings.DataEntryReference (); this.referenceWarehouseTo.Events = ((global::Gdk.EventMask)(256)); this.referenceWarehouseTo.Name = "referenceWarehouseTo"; this.referenceWarehouseTo.DisplayFields = new string[] { "Name" }; this.referenceWarehouseTo.DisplayFormatString = "{0}"; this.referenceWarehouseTo.InheritedDataSource = true; this.referenceWarehouseTo.Mappings = "ToWarehouse"; this.referenceWarehouseTo.InheritedBoundaryDataSource = false; this.referenceWarehouseTo.CursorPointsEveryType = false; this.tableReceiver.Add (this.referenceWarehouseTo); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.referenceWarehouseTo])); w38.LeftAttach = ((uint)(1)); w38.RightAttach = ((uint)(2)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add (this.tableReceiver); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.tableReceiver])); w39.Position = 1; w39.Expand = false; w39.Fill = false; this.hbox3.Add (this.vbox4); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox4])); w40.Position = 2; this.vbox3.Add (this.hbox3); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3])); w41.Position = 2; w41.Expand = false; w41.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.movementdocumentitemsview1 = new global::Vodovoz.MovementDocumentItemsView (); this.movementdocumentitemsview1.Events = ((global::Gdk.EventMask)(256)); this.movementdocumentitemsview1.Name = "movementdocumentitemsview1"; this.vbox3.Add (this.movementdocumentitemsview1); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.movementdocumentitemsview1])); w42.Position = 3; this.Add (this.vbox3); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); this.buttonDelivered.Clicked += new global::System.EventHandler (this.OnButtonDeliveredClicked); this.enumMovementType.Changed += new global::System.EventHandler (this.OnEnumMovementTypeChanged); this.referenceCounterpartyFrom.Changed += new global::System.EventHandler (this.OnReferenceCounterpartyFromChanged); this.referenceCounterpartyTo.Changed += new global::System.EventHandler (this.OnReferenceCounterpartyToChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget workwear.ItemTypeDlg this.Name = "workwear.ItemTypeDlg"; this.Title = global::Mono.Unix.Catalog.GetString ("Новый тип номенклатуры"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child workwear.ItemTypeDlg.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(6)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(9)); // Container child table1.Gtk.Table+TableChild this.hboxLife = new global::Gtk.HBox (); this.hboxLife.Name = "hboxLife"; this.hboxLife.Spacing = 6; // Container child hboxLife.Gtk.Box+BoxChild this.ycheckLife = new global::Gamma.GtkWidgets.yCheckButton (); this.ycheckLife.CanFocus = true; this.ycheckLife.Name = "ycheckLife"; this.ycheckLife.Label = ""; this.ycheckLife.DrawIndicator = true; this.ycheckLife.UseUnderline = true; this.hboxLife.Add (this.ycheckLife); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxLife [this.ycheckLife])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxLife.Gtk.Box+BoxChild this.yspinMonths = new global::Gamma.GtkWidgets.ySpinButton (0, 100, 1); this.yspinMonths.Sensitive = false; this.yspinMonths.CanFocus = true; this.yspinMonths.Name = "yspinMonths"; this.yspinMonths.Adjustment.PageIncrement = 10; this.yspinMonths.ClimbRate = 1; this.yspinMonths.Numeric = true; this.yspinMonths.ValueAsDecimal = 0m; this.yspinMonths.ValueAsInt = 0; this.hboxLife.Add (this.yspinMonths); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxLife [this.yspinMonths])); w3.Position = 1; // Container child hboxLife.Gtk.Box+BoxChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel (); this.ylabel1.Name = "ylabel1"; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("месяцев"); this.hboxLife.Add (this.ylabel1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxLife [this.ylabel1])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.table1.Add (this.hboxLife); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.hboxLife])); w5.TopAttach = ((uint)(5)); w5.BottomAttach = ((uint)(6)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label = new global::Gtk.Label (); this.label.Name = "label"; this.label.Xalign = 1F; this.label.LabelProp = global::Mono.Unix.Catalog.GetString ("Код:"); this.table1.Add (this.label); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label])); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Категория<span foreground=\"red\">*</span>:"); this.label1.UseMarkup = true; this.table1.Add (this.label1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Единицы измерения:"); this.table1.Add (this.label10); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.label10])); w8.TopAttach = ((uint)(4)); w8.BottomAttach = ((uint)(5)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Название группы<span foreground=\"red\">*</span>:"); this.label2.UseMarkup = true; this.table1.Add (this.label2); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Вид спецодежды:"); this.table1.Add (this.label3); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w10.TopAttach = ((uint)(3)); w10.BottomAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelLife = new global::Gtk.Label (); this.labelLife.Name = "labelLife"; this.labelLife.Xalign = 1F; this.labelLife.LabelProp = global::Mono.Unix.Catalog.GetString ("Срок службы:"); this.table1.Add (this.labelLife); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelLife])); w11.TopAttach = ((uint)(5)); w11.BottomAttach = ((uint)(6)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboCategory = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboCategory.Name = "ycomboCategory"; this.ycomboCategory.ShowSpecialStateAll = false; this.ycomboCategory.ShowSpecialStateNot = false; this.ycomboCategory.UseShortTitle = false; this.ycomboCategory.DefaultFirst = false; this.table1.Add (this.ycomboCategory); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboCategory])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboUnits = new global::Gamma.Widgets.ySpecComboBox (); this.ycomboUnits.Name = "ycomboUnits"; this.ycomboUnits.AddIfNotExist = false; this.ycomboUnits.ShowSpecialStateAll = false; this.ycomboUnits.ShowSpecialStateNot = false; this.table1.Add (this.ycomboUnits); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboUnits])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboWearCategory = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboWearCategory.Name = "ycomboWearCategory"; this.ycomboWearCategory.ShowSpecialStateAll = false; this.ycomboWearCategory.ShowSpecialStateNot = true; this.ycomboWearCategory.UseShortTitle = false; this.ycomboWearCategory.DefaultFirst = false; this.table1.Add (this.ycomboWearCategory); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboWearCategory])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryName = new global::Gamma.GtkWidgets.yEntry (); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.MaxLength = 240; this.yentryName.InvisibleChar = '●'; this.table1.Add (this.yentryName); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryName])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelId = new global::Gamma.GtkWidgets.yLabel (); this.ylabelId.Name = "ylabelId"; this.ylabelId.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1"); this.table1.Add (this.ylabelId); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.ylabelId])); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); w1.Add (this.table1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(w1 [this.table1])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Internal child workwear.ItemTypeDlg.ActionArea global::Gtk.HButtonBox w18 = this.ActionArea; w18.Name = "dialog1_ActionArea"; w18.Spacing = 10; w18.BorderWidth = ((uint)(5)); w18.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("О_тменить"); global::Gtk.Image w19 = new global::Gtk.Image (); w19.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w19; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w20 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w18 [this.buttonCancel])); w20.Expand = false; w20.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("_OK"); global::Gtk.Image w21 = new global::Gtk.Image (); w21.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu); this.buttonOk.Image = w21; w18.Add (this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w22 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w18 [this.buttonOk])); w22.Position = 1; w22.Expand = false; w22.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 454; this.DefaultHeight = 287; this.Show (); this.ycomboCategory.Changed += new global::System.EventHandler (this.OnYcomboCategoryChanged); this.ycheckLife.Toggled += new global::System.EventHandler (this.OnYcheckLifeToggled); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.RouteListTrackDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.RouteListTrackDlg"; // Container child Vodovoz.RouteListTrackDlg.Gtk.Container+ContainerChild 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.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Водители в пути"); this.vbox2.Add (this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1])); w1.Position = 0; w1.Expand = false; w1.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.yTreeViewDrivers = new global::QSOrmProject.RepresentationTreeView (); this.yTreeViewDrivers.WidthRequest = 500; this.yTreeViewDrivers.CanFocus = true; this.yTreeViewDrivers.Name = "yTreeViewDrivers"; this.GtkScrolledWindow.Add (this.yTreeViewDrivers); this.vbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); w3.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonChat = new global::Gtk.Button (); this.buttonChat.CanFocus = true; this.buttonChat.Name = "buttonChat"; this.buttonChat.UseUnderline = true; this.buttonChat.Label = global::Mono.Unix.Catalog.GetString ("Открыть чат"); global::Gtk.Image w4 = new global::Gtk.Image (); w4.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("chat-icon.png"); this.buttonChat.Image = w4; this.hbox2.Add (this.buttonChat); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonChat])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.vbox2.Add (this.hbox2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.hbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vboxRight = new global::Gtk.VBox (); this.vboxRight.Name = "vboxRight"; this.vboxRight.Spacing = 6; // Container child vboxRight.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Список адресов"); this.vboxRight.Add (this.label2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.label2])); w8.Position = 0; w8.Expand = false; // Container child vboxRight.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.yTreeAddresses = new global::QSOrmProject.RepresentationTreeView (); this.yTreeAddresses.WidthRequest = 600; this.yTreeAddresses.HeightRequest = 150; this.yTreeAddresses.CanFocus = true; this.yTreeAddresses.Name = "yTreeAddresses"; this.GtkScrolledWindow1.Add (this.yTreeAddresses); this.vboxRight.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.GtkScrolledWindow1])); w10.Position = 1; // Container child vboxRight.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.toggleButtonHideAddresses = new global::Gtk.ToggleButton (); this.toggleButtonHideAddresses.TooltipMarkup = "Скрыть\\показать адреса."; this.toggleButtonHideAddresses.CanFocus = true; this.toggleButtonHideAddresses.Name = "toggleButtonHideAddresses"; this.toggleButtonHideAddresses.UseUnderline = true; this.toggleButtonHideAddresses.Label = global::Mono.Unix.Catalog.GetString ("⇧⇩"); this.hbox3.Add (this.toggleButtonHideAddresses); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.toggleButtonHideAddresses])); w11.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.buttonCleanTrack = new global::Gtk.Button (); this.buttonCleanTrack.Sensitive = false; this.buttonCleanTrack.CanFocus = true; this.buttonCleanTrack.Name = "buttonCleanTrack"; this.buttonCleanTrack.UseUnderline = true; this.buttonCleanTrack.Label = global::Mono.Unix.Catalog.GetString ("Убрать трек"); global::Gtk.Image w12 = new global::Gtk.Image (); w12.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonCleanTrack.Image = w12; this.hbox3.Add (this.buttonCleanTrack); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.buttonCleanTrack])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yenumcomboMapType = new global::Gamma.Widgets.yEnumComboBox (); this.yenumcomboMapType.Name = "yenumcomboMapType"; this.yenumcomboMapType.ShowSpecialStateAll = false; this.yenumcomboMapType.ShowSpecialStateNot = false; this.yenumcomboMapType.UseShortTitle = false; this.yenumcomboMapType.DefaultFirst = true; this.hbox3.Add (this.yenumcomboMapType); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.yenumcomboMapType])); w14.Position = 2; w14.Expand = false; w14.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonMapInWindow = new global::Gtk.Button (); this.buttonMapInWindow.CanFocus = true; this.buttonMapInWindow.Name = "buttonMapInWindow"; this.buttonMapInWindow.UseUnderline = true; this.buttonMapInWindow.Label = global::Mono.Unix.Catalog.GetString ("Карта в окне"); global::Gtk.Image w15 = new global::Gtk.Image (); w15.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("Vodovoz.icons.buttons.window-new.png"); this.buttonMapInWindow.Image = w15; this.hbox3.Add (this.buttonMapInWindow); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.buttonMapInWindow])); w16.Position = 3; w16.Expand = false; w16.Fill = false; this.vboxRight.Add (this.hbox3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.hbox3])); w17.Position = 2; w17.Expand = false; w17.Fill = false; // Container child vboxRight.Gtk.Box+BoxChild this.gmapWidget = new global::GMap.NET.GtkSharp.GMapControl (); this.gmapWidget.Name = "gmapWidget"; this.gmapWidget.MaxZoom = 24; this.gmapWidget.MinZoom = 0; this.gmapWidget.MouseWheelZoomEnabled = true; this.gmapWidget.ShowTileGridLines = false; this.gmapWidget.GrayScaleMode = false; this.gmapWidget.NegativeMode = false; this.gmapWidget.HasFrame = false; this.gmapWidget.Bearing = 0F; this.gmapWidget.Zoom = 9; this.gmapWidget.RoutesEnabled = true; this.gmapWidget.PolygonsEnabled = false; this.gmapWidget.MarkersEnabled = true; this.gmapWidget.CanDragMap = true; this.vboxRight.Add (this.gmapWidget); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.gmapWidget])); w18.Position = 3; this.hbox1.Add (this.vboxRight); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vboxRight])); w19.Position = 1; this.Add (this.hbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.yTreeViewDrivers.RowActivated += new global::Gtk.RowActivatedHandler (this.OnYTreeViewDriversRowActivated); this.buttonChat.Clicked += new global::System.EventHandler (this.OnButtonChatClicked); this.toggleButtonHideAddresses.Toggled += new global::System.EventHandler (this.OnToggleButtonHideAddressesToggled); this.buttonCleanTrack.Clicked += new global::System.EventHandler (this.OnButtonCleanTrackClicked); this.yenumcomboMapType.ChangedByUser += new global::System.EventHandler (this.OnYenumcomboMapTypeChangedByUser); this.buttonMapInWindow.Clicked += new global::System.EventHandler (this.OnButtonMapInWindowClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.FuelDocumentView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.FuelDocumentView"; // Container child Vodovoz.FuelDocumentView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox8.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox8.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add(this.hbox8); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox8])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table(((uint)(9)), ((uint)(3)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.entityviewmodelentryCar = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityviewmodelentryCar.Sensitive = false; this.entityviewmodelentryCar.Events = ((global::Gdk.EventMask)(256)); this.entityviewmodelentryCar.Name = "entityviewmodelentryCar"; this.entityviewmodelentryCar.CanEditReference = true; this.table3.Add(this.entityviewmodelentryCar); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table3[this.entityviewmodelentryCar])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.evmeDriver = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeDriver.Sensitive = false; this.evmeDriver.Events = ((global::Gdk.EventMask)(256)); this.evmeDriver.Name = "evmeDriver"; this.evmeDriver.CanEditReference = true; this.table3.Add(this.evmeDriver); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table3[this.evmeDriver])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.spinFuelPrice = new global::Gamma.GtkWidgets.ySpinButton(0D, 200D, 0.01D); this.spinFuelPrice.WidthRequest = 100; this.spinFuelPrice.Sensitive = false; this.spinFuelPrice.CanFocus = true; this.spinFuelPrice.Name = "spinFuelPrice"; this.spinFuelPrice.Adjustment.PageIncrement = 0.01D; this.spinFuelPrice.ClimbRate = 1D; this.spinFuelPrice.Digits = ((uint)(2)); this.spinFuelPrice.Numeric = true; this.spinFuelPrice.ValueAsDecimal = 0m; this.spinFuelPrice.ValueAsInt = 0; this.hbox3.Add(this.spinFuelPrice); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.spinFuelPrice])); w8.Position = 0; w8.Expand = false; w8.Fill = false; this.table3.Add(this.hbox3); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox3])); w9.TopAttach = ((uint)(6)); w9.BottomAttach = ((uint)(7)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.yenumcomboboxPaymentType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxPaymentType.Name = "yenumcomboboxPaymentType"; this.yenumcomboboxPaymentType.ShowSpecialStateAll = false; this.yenumcomboboxPaymentType.ShowSpecialStateNot = false; this.yenumcomboboxPaymentType.UseShortTitle = false; this.yenumcomboboxPaymentType.DefaultFirst = false; this.hbox4.Add(this.yenumcomboboxPaymentType); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.yenumcomboboxPaymentType])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.disablespinMoney = new global::QSOrmProject.DisableSpinButton(); this.disablespinMoney.Events = ((global::Gdk.EventMask)(256)); this.disablespinMoney.Name = "disablespinMoney"; this.disablespinMoney.Active = false; this.disablespinMoney.Upper = 100000D; this.disablespinMoney.Lower = 0D; this.disablespinMoney.Digits = ((uint)(2)); this.hbox4.Add(this.disablespinMoney); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.disablespinMoney])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonSetRemain = new global::Gamma.GtkWidgets.yButton(); this.buttonSetRemain.CanFocus = true; this.buttonSetRemain.Name = "buttonSetRemain"; this.buttonSetRemain.UseUnderline = true; this.buttonSetRemain.Label = global::Mono.Unix.Catalog.GetString("Весь остаток"); this.hbox4.Add(this.buttonSetRemain); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSetRemain])); w12.Position = 2; w12.Expand = false; w12.Fill = false; this.table3.Add(this.hbox4); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox4])); w13.TopAttach = ((uint)(7)); w13.BottomAttach = ((uint)(8)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; this.table3.Add(this.hbox5); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox5])); w14.TopAttach = ((uint)(6)); w14.BottomAttach = ((uint)(7)); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.yspinFuelTicketLiters = new global::Gamma.GtkWidgets.ySpinButton(0D, 1000D, 10D); this.yspinFuelTicketLiters.WidthRequest = 90; this.yspinFuelTicketLiters.CanFocus = true; this.yspinFuelTicketLiters.Name = "yspinFuelTicketLiters"; this.yspinFuelTicketLiters.Adjustment.PageIncrement = 20D; this.yspinFuelTicketLiters.ClimbRate = 1D; this.yspinFuelTicketLiters.Numeric = true; this.yspinFuelTicketLiters.ValueAsDecimal = 0m; this.yspinFuelTicketLiters.ValueAsInt = 0; this.hbox6.Add(this.yspinFuelTicketLiters); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspinFuelTicketLiters])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.yspeccomboboxSubdivision = new global::Gamma.Widgets.ySpecComboBox(); this.yspeccomboboxSubdivision.Name = "yspeccomboboxSubdivision"; this.yspeccomboboxSubdivision.AddIfNotExist = false; this.yspeccomboboxSubdivision.DefaultFirst = false; this.yspeccomboboxSubdivision.ShowSpecialStateAll = false; this.yspeccomboboxSubdivision.ShowSpecialStateNot = false; this.hbox6.Add(this.yspeccomboboxSubdivision); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspeccomboboxSubdivision])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.table3.Add(this.hbox6); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox6])); w17.TopAttach = ((uint)(4)); w17.BottomAttach = ((uint)(5)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.labelExpenseInfo = new global::Gamma.GtkWidgets.yLabel(); this.labelExpenseInfo.Name = "labelExpenseInfo"; this.labelExpenseInfo.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.hbox7.Add(this.labelExpenseInfo); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.labelExpenseInfo])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonOpenExpense = new global::Gamma.GtkWidgets.yButton(); this.buttonOpenExpense.CanFocus = true; this.buttonOpenExpense.Name = "buttonOpenExpense"; this.buttonOpenExpense.UseUnderline = true; this.buttonOpenExpense.Label = global::Mono.Unix.Catalog.GetString("Открыть расходный ордер"); this.hbox7.Add(this.buttonOpenExpense); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonOpenExpense])); w19.Position = 1; w19.Expand = false; w19.Fill = false; this.table3.Add(this.hbox7); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox7])); w20.TopAttach = ((uint)(8)); w20.BottomAttach = ((uint)(9)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.table3.Add(this.label1); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table3[this.label1])); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Водитель:"); this.table3.Add(this.label2); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table3[this.label2])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Вид топлива:"); this.table3.Add(this.label3); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table3[this.label3])); w23.TopAttach = ((uint)(3)); w23.BottomAttach = ((uint)(4)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Автомобиль:"); this.table3.Add(this.label4); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table3[this.label4])); w24.TopAttach = ((uint)(2)); w24.BottomAttach = ((uint)(3)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Выдано деньгами:"); this.table3.Add(this.label5); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table3[this.label5])); w25.TopAttach = ((uint)(7)); w25.BottomAttach = ((uint)(8)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Выдано талонами(л):"); this.table3.Add(this.label6); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table3[this.label6])); w26.TopAttach = ((uint)(4)); w26.BottomAttach = ((uint)(5)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Стоимость, р/литр:"); this.table3.Add(this.label7); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table3[this.label7])); w27.TopAttach = ((uint)(6)); w27.BottomAttach = ((uint)(7)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.labelAvalilableFuel = new global::Gamma.GtkWidgets.yLabel(); this.labelAvalilableFuel.Name = "labelAvalilableFuel"; this.labelAvalilableFuel.Xalign = 0F; this.labelAvalilableFuel.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.table3.Add(this.labelAvalilableFuel); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table3[this.labelAvalilableFuel])); w28.TopAttach = ((uint)(5)); w28.BottomAttach = ((uint)(6)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.labelResultInfo = new global::Gamma.GtkWidgets.yLabel(); this.labelResultInfo.Name = "labelResultInfo"; this.labelResultInfo.LabelProp = global::Mono.Unix.Catalog.GetString("Итог"); this.table3.Add(this.labelResultInfo); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table3[this.labelResultInfo])); w29.TopAttach = ((uint)(7)); w29.BottomAttach = ((uint)(8)); w29.LeftAttach = ((uint)(2)); w29.RightAttach = ((uint)(3)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ydatepicker = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatepicker.Events = ((global::Gdk.EventMask)(256)); this.ydatepicker.Name = "ydatepicker"; this.ydatepicker.WithTime = false; this.ydatepicker.HideCalendarButton = false; this.ydatepicker.Date = new global::System.DateTime(0); this.ydatepicker.IsEditable = true; this.ydatepicker.AutoSeparation = false; this.table3.Add(this.ydatepicker); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table3[this.ydatepicker])); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(2)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.yentryfuel = new global::Gamma.Widgets.yEntryReference(); this.yentryfuel.Sensitive = false; this.yentryfuel.Events = ((global::Gdk.EventMask)(256)); this.yentryfuel.Name = "yentryfuel"; this.table3.Add(this.yentryfuel); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table3[this.yentryfuel])); w31.TopAttach = ((uint)(3)); w31.BottomAttach = ((uint)(4)); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ytextviewFuelInfo = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewFuelInfo.CanFocus = true; this.ytextviewFuelInfo.Name = "ytextviewFuelInfo"; this.ytextviewFuelInfo.Editable = false; this.table3.Add(this.ytextviewFuelInfo); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table3[this.ytextviewFuelInfo])); w32.BottomAttach = ((uint)(4)); w32.LeftAttach = ((uint)(2)); w32.RightAttach = ((uint)(3)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table3); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table3])); w33.Position = 1; w33.Expand = false; w33.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.buttonOpenExpense.Clicked += new global::System.EventHandler(this.OnButtonOpenExpenseClicked); this.disablespinMoney.ValueChanged += new global::System.EventHandler(this.OnDisablespinMoneyValueChanged); this.buttonSetRemain.Clicked += new global::System.EventHandler(this.OnButtonSetRemainClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Filters.GtkViews.CallTaskFilterView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Filters.GtkViews.CallTaskFilterView"; // Container child Vodovoz.Filters.GtkViews.CallTaskFilterView.Gtk.Container+ContainerChild this.vboxFilter = new global::Gtk.VBox(); this.vboxFilter.Name = "vboxFilter"; this.vboxFilter.Spacing = 6; // Container child vboxFilter.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("ФИО оператора :"); this.hbox1.Add(this.label3); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label3])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.entVMEmployee = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entVMEmployee.Events = ((global::Gdk.EventMask)(256)); this.entVMEmployee.Name = "entVMEmployee"; this.entVMEmployee.CanEditReference = false; this.hbox1.Add(this.entVMEmployee); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.entVMEmployee])); w2.Position = 1; w2.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.showWithoutCheckButton = new global::Gamma.GtkWidgets.yCheckButton(); this.showWithoutCheckButton.CanFocus = true; this.showWithoutCheckButton.Name = "showWithoutCheckButton"; this.showWithoutCheckButton.Label = global::Mono.Unix.Catalog.GetString("Только задачи без ответственного"); this.showWithoutCheckButton.Active = true; this.showWithoutCheckButton.DrawIndicator = true; this.showWithoutCheckButton.UseUnderline = true; this.hbox1.Add(this.showWithoutCheckButton); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.showWithoutCheckButton])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.checkbuttonHideCompleted = new global::Gamma.GtkWidgets.yCheckButton(); this.checkbuttonHideCompleted.CanFocus = true; this.checkbuttonHideCompleted.Name = "checkbuttonHideCompleted"; this.checkbuttonHideCompleted.Label = global::Mono.Unix.Catalog.GetString("Скрыть выполненые"); this.checkbuttonHideCompleted.Active = true; this.checkbuttonHideCompleted.DrawIndicator = true; this.checkbuttonHideCompleted.UseUnderline = true; this.hbox1.Add(this.checkbuttonHideCompleted); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.checkbuttonHideCompleted])); w4.Position = 3; w4.Expand = false; w4.Fill = false; this.vboxFilter.Add(this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxFilter[this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vboxFilter.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.comboboxDateType = new global::Gamma.Widgets.yEnumComboBox(); this.comboboxDateType.Name = "comboboxDateType"; this.comboboxDateType.ShowSpecialStateAll = false; this.comboboxDateType.ShowSpecialStateNot = false; this.comboboxDateType.UseShortTitle = false; this.comboboxDateType.DefaultFirst = false; this.hbox3.Add(this.comboboxDateType); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.comboboxDateType])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.dateperiodpickerDateFilter = new global::QS.Widgets.GtkUI.DateRangePicker(); this.dateperiodpickerDateFilter.Events = ((global::Gdk.EventMask)(256)); this.dateperiodpickerDateFilter.Name = "dateperiodpickerDateFilter"; this.dateperiodpickerDateFilter.StartDate = new global::System.DateTime(0); this.dateperiodpickerDateFilter.EndDate = new global::System.DateTime(0); this.hbox3.Add(this.dateperiodpickerDateFilter); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.dateperiodpickerDateFilter])); w7.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hbox3.Add(this.vseparator2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vseparator2])); w8.Position = 2; w8.Expand = false; w8.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Тип объекта: "); this.hbox3.Add(this.label1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label1])); w9.Position = 3; w9.Expand = false; w9.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.specialListCmbboxDlvPointCategory = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.specialListCmbboxDlvPointCategory.Name = "specialListCmbboxDlvPointCategory"; this.specialListCmbboxDlvPointCategory.AddIfNotExist = false; this.specialListCmbboxDlvPointCategory.DefaultFirst = false; this.specialListCmbboxDlvPointCategory.ShowSpecialStateAll = false; this.specialListCmbboxDlvPointCategory.ShowSpecialStateNot = true; this.hbox3.Add(this.specialListCmbboxDlvPointCategory); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.specialListCmbboxDlvPointCategory])); w10.Position = 4; w10.Expand = false; w10.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yenumcomboboxSortingDirection = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxSortingDirection.Name = "yenumcomboboxSortingDirection"; this.yenumcomboboxSortingDirection.ShowSpecialStateAll = false; this.yenumcomboboxSortingDirection.ShowSpecialStateNot = false; this.yenumcomboboxSortingDirection.UseShortTitle = false; this.yenumcomboboxSortingDirection.DefaultFirst = false; this.hbox3.Add(this.yenumcomboboxSortingDirection); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yenumcomboboxSortingDirection])); w11.Position = 5; w11.Expand = false; w11.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yenumcomboboxSortingParam = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxSortingParam.Name = "yenumcomboboxSortingParam"; this.yenumcomboboxSortingParam.ShowSpecialStateAll = false; this.yenumcomboboxSortingParam.ShowSpecialStateNot = false; this.yenumcomboboxSortingParam.UseShortTitle = false; this.yenumcomboboxSortingParam.DefaultFirst = false; this.hbox3.Add(this.yenumcomboboxSortingParam); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.yenumcomboboxSortingParam])); w12.Position = 6; w12.Expand = false; w12.Fill = false; this.vboxFilter.Add(this.hbox3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vboxFilter[this.hbox3])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child vboxFilter.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonExpired = new global::Gtk.Button(); this.buttonExpired.CanFocus = true; this.buttonExpired.Name = "buttonExpired"; this.buttonExpired.UseUnderline = true; this.buttonExpired.Label = global::Mono.Unix.Catalog.GetString("Просрочено"); this.hbox5.Add(this.buttonExpired); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonExpired])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonToday = new global::Gtk.Button(); this.buttonToday.CanFocus = true; this.buttonToday.Name = "buttonToday"; this.buttonToday.UseUnderline = true; this.buttonToday.Label = global::Mono.Unix.Catalog.GetString("Сегодня"); this.hbox5.Add(this.buttonToday); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonToday])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonTomorrow = new global::Gtk.Button(); this.buttonTomorrow.CanFocus = true; this.buttonTomorrow.Name = "buttonTomorrow"; this.buttonTomorrow.UseUnderline = true; this.buttonTomorrow.Label = global::Mono.Unix.Catalog.GetString("Завтра"); this.hbox5.Add(this.buttonTomorrow); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonTomorrow])); w16.Position = 2; w16.Expand = false; w16.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonThisWeek = new global::Gtk.Button(); this.buttonThisWeek.CanFocus = true; this.buttonThisWeek.Name = "buttonThisWeek"; this.buttonThisWeek.UseUnderline = true; this.buttonThisWeek.Label = global::Mono.Unix.Catalog.GetString("На этой неделе"); this.hbox5.Add(this.buttonThisWeek); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonThisWeek])); w17.Position = 3; w17.Expand = false; w17.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonNextWeek = new global::Gtk.Button(); this.buttonNextWeek.CanFocus = true; this.buttonNextWeek.Name = "buttonNextWeek"; this.buttonNextWeek.UseUnderline = true; this.buttonNextWeek.Label = global::Mono.Unix.Catalog.GetString("На следующей неделе"); this.hbox5.Add(this.buttonNextWeek); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonNextWeek])); w18.Position = 4; w18.Expand = false; w18.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox5.Add(this.vseparator1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vseparator1])); w19.Position = 5; w19.Expand = false; w19.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Район города:"); this.hbox5.Add(this.label7); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.label7])); w20.Position = 6; w20.Expand = false; w20.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.ySpecCmbGeographicGroup = new global::Gamma.Widgets.ySpecComboBox(); this.ySpecCmbGeographicGroup.Name = "ySpecCmbGeographicGroup"; this.ySpecCmbGeographicGroup.AddIfNotExist = false; this.ySpecCmbGeographicGroup.DefaultFirst = false; this.ySpecCmbGeographicGroup.ShowSpecialStateAll = true; this.ySpecCmbGeographicGroup.ShowSpecialStateNot = false; this.hbox5.Add(this.ySpecCmbGeographicGroup); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.ySpecCmbGeographicGroup])); w21.Position = 7; w21.Expand = false; w21.Fill = false; this.vboxFilter.Add(this.hbox5); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vboxFilter[this.hbox5])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.Add(this.vboxFilter); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.CashDocumentsFilter global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.CashDocumentsFilter"; // Container child Vodovoz.CashDocumentsFilter.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.dateperiodDocs = new global::QSWidgetLib.DatePeriodPicker(); this.dateperiodDocs.Events = ((global::Gdk.EventMask)(256)); this.dateperiodDocs.Name = "dateperiodDocs"; this.dateperiodDocs.StartDate = new global::System.DateTime(0); this.dateperiodDocs.EndDate = new global::System.DateTime(0); this.table1.Add(this.dateperiodDocs); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodDocs])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryEmployee = new global::QSOrmProject.EntryReference(); this.entryEmployee.Events = ((global::Gdk.EventMask)(256)); this.entryEmployee.Name = "entryEmployee"; this.table1.Add(this.entryEmployee); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entryEmployee])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumcomboDocumentType = new global::Gamma.Widgets.yEnumComboBox(); this.enumcomboDocumentType.Name = "enumcomboDocumentType"; this.enumcomboDocumentType.ShowSpecialStateAll = true; this.enumcomboDocumentType.ShowSpecialStateNot = false; this.enumcomboDocumentType.UseShortTitle = false; this.enumcomboDocumentType.DefaultFirst = false; this.table1.Add(this.enumcomboDocumentType); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.enumcomboDocumentType])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Вид документа:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Статья дохода:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w5.LeftAttach = ((uint)(2)); w5.RightAttach = ((uint)(3)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(2)); w6.RightAttach = ((uint)(3)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("За период:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.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 w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryExpense = new global::Gamma.Widgets.yEntryReference(); this.yentryExpense.Events = ((global::Gdk.EventMask)(256)); this.yentryExpense.Name = "yentryExpense"; this.table1.Add(this.yentryExpense); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryExpense])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(3)); w9.RightAttach = ((uint)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryIncome = new global::Gamma.Widgets.yEntryReference(); this.yentryIncome.Events = ((global::Gdk.EventMask)(256)); this.yentryIncome.Name = "yentryIncome"; this.table1.Add(this.yentryIncome); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryIncome])); w10.LeftAttach = ((uint)(3)); w10.RightAttach = ((uint)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.yentryIncome.Changed += new global::System.EventHandler(this.OnYentryIncomeChanged); this.yentryExpense.Changed += new global::System.EventHandler(this.OnYentryExpenseChanged); this.enumcomboDocumentType.EnumItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnEnumcomboDocumentTypeEnumItemSelected); this.entryEmployee.Changed += new global::System.EventHandler(this.OnEntryEmployeeChanged); this.dateperiodDocs.PeriodChanged += new global::System.EventHandler(this.OnDateperiodDocsPeriodChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ViewWidgets.UndeliveredOrderView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ViewWidgets.UndeliveredOrderView"; // Container child Vodovoz.ViewWidgets.UndeliveredOrderView.Gtk.Container+ContainerChild this.mainBox = new global::Gtk.VBox(); this.mainBox.Name = "mainBox"; this.mainBox.Spacing = 6; // Container child mainBox.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.hbxInProcessAtDepartment = new global::Gtk.HBox(); this.hbxInProcessAtDepartment.Name = "hbxInProcessAtDepartment"; this.hbxInProcessAtDepartment.Spacing = 6; // Container child hbxInProcessAtDepartment.Gtk.Box+BoxChild this.lblInProcAtDep = new global::Gtk.Label(); this.lblInProcAtDep.Name = "lblInProcAtDep"; this.lblInProcAtDep.Xalign = 1F; this.lblInProcAtDep.LabelProp = global::Mono.Unix.Catalog.GetString("В работе у отдела:"); this.hbxInProcessAtDepartment.Add(this.lblInProcAtDep); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbxInProcessAtDepartment[this.lblInProcAtDep])); w1.Position = 0; w1.Expand = false; // Container child hbxInProcessAtDepartment.Gtk.Box+BoxChild this.yentInProcessAtDepartment = new global::Gamma.Widgets.yEntryReference(); this.yentInProcessAtDepartment.Events = ((global::Gdk.EventMask)(256)); this.yentInProcessAtDepartment.Name = "yentInProcessAtDepartment"; this.hbxInProcessAtDepartment.Add(this.yentInProcessAtDepartment); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbxInProcessAtDepartment[this.yentInProcessAtDepartment])); w2.Position = 1; this.hbox4.Add(this.hbxInProcessAtDepartment); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.hbxInProcessAtDepartment])); w3.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.hbxStatus = new global::Gtk.HBox(); this.hbxStatus.Name = "hbxStatus"; this.hbxStatus.Spacing = 6; // Container child hbxStatus.Gtk.Box+BoxChild this.lblStatus = new global::Gtk.Label(); this.lblStatus.Name = "lblStatus"; this.lblStatus.Xalign = 1F; this.lblStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статус недовоза:"); this.hbxStatus.Add(this.lblStatus); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbxStatus[this.lblStatus])); w4.Position = 0; w4.Expand = false; // Container child hbxStatus.Gtk.Box+BoxChild this.yEnumCMBStatus = new global::Gamma.Widgets.yEnumComboBox(); this.yEnumCMBStatus.Name = "yEnumCMBStatus"; this.yEnumCMBStatus.ShowSpecialStateAll = false; this.yEnumCMBStatus.ShowSpecialStateNot = false; this.yEnumCMBStatus.UseShortTitle = false; this.yEnumCMBStatus.DefaultFirst = false; this.hbxStatus.Add(this.yEnumCMBStatus); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbxStatus[this.yEnumCMBStatus])); w5.Position = 1; this.hbox4.Add(this.hbxStatus); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.hbxStatus])); w6.Position = 1; this.mainBox.Add(this.hbox4); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.mainBox[this.hbox4])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child mainBox.Gtk.Box+BoxChild this.vbxWithControls = new global::Gtk.VBox(); this.vbxWithControls.Name = "vbxWithControls"; this.vbxWithControls.Spacing = 6; // Container child vbxWithControls.Gtk.Box+BoxChild this.hbxUndelivery = new global::Gtk.HBox(); this.hbxUndelivery.Name = "hbxUndelivery"; this.hbxUndelivery.Spacing = 6; // Container child hbxUndelivery.Gtk.Box+BoxChild this.lblUndeliveredOrder = new global::Gtk.Label(); this.lblUndeliveredOrder.Name = "lblUndeliveredOrder"; this.lblUndeliveredOrder.Xalign = 1F; this.lblUndeliveredOrder.LabelProp = global::Mono.Unix.Catalog.GetString("Недовоз:"); this.hbxUndelivery.Add(this.lblUndeliveredOrder); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbxUndelivery[this.lblUndeliveredOrder])); w8.Position = 0; w8.Expand = false; // Container child hbxUndelivery.Gtk.Box+BoxChild this.evmeOldUndeliveredOrder = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeOldUndeliveredOrder.Events = ((global::Gdk.EventMask)(256)); this.evmeOldUndeliveredOrder.Name = "evmeOldUndeliveredOrder"; this.evmeOldUndeliveredOrder.CanEditReference = true; this.hbxUndelivery.Add(this.evmeOldUndeliveredOrder); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbxUndelivery[this.evmeOldUndeliveredOrder])); w9.Position = 1; this.vbxWithControls.Add(this.hbxUndelivery); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbxWithControls[this.hbxUndelivery])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbxWithControls.Gtk.Box+BoxChild this.tblUndeliveryFields = new global::Gtk.Table(((uint)(9)), ((uint)(3)), false); this.tblUndeliveryFields.Name = "tblUndeliveryFields"; this.tblUndeliveryFields.RowSpacing = ((uint)(6)); this.tblUndeliveryFields.ColumnSpacing = ((uint)(6)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.comboProblemSource = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.comboProblemSource.Name = "comboProblemSource"; this.comboProblemSource.AddIfNotExist = false; this.comboProblemSource.DefaultFirst = false; this.comboProblemSource.ShowSpecialStateAll = false; this.comboProblemSource.ShowSpecialStateNot = false; this.tblUndeliveryFields.Add(this.comboProblemSource); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.comboProblemSource])); w11.TopAttach = ((uint)(7)); w11.BottomAttach = ((uint)(8)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.comboTransferAbsenceReason = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.comboTransferAbsenceReason.Name = "comboTransferAbsenceReason"; this.comboTransferAbsenceReason.AddIfNotExist = false; this.comboTransferAbsenceReason.DefaultFirst = false; this.comboTransferAbsenceReason.ShowSpecialStateAll = false; this.comboTransferAbsenceReason.ShowSpecialStateNot = false; this.tblUndeliveryFields.Add(this.comboTransferAbsenceReason); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.comboTransferAbsenceReason])); w12.TopAttach = ((uint)(8)); w12.BottomAttach = ((uint)(9)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.evmeRegisteredBy = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeRegisteredBy.Events = ((global::Gdk.EventMask)(256)); this.evmeRegisteredBy.Name = "evmeRegisteredBy"; this.evmeRegisteredBy.CanEditReference = true; this.tblUndeliveryFields.Add(this.evmeRegisteredBy); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.evmeRegisteredBy])); w13.TopAttach = ((uint)(6)); w13.BottomAttach = ((uint)(7)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.BorderWidth = ((uint)(3)); // Container child frame1.Gtk.Container+ContainerChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w14 = new global::Gtk.Viewport(); w14.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.GtkAlignment6 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment6.Name = "GtkAlignment6"; this.GtkAlignment6.LeftPadding = ((uint)(12)); // Container child GtkAlignment6.Gtk.Container+ContainerChild this.lblInfo = new global::Gtk.Label(); this.lblInfo.Name = "lblInfo"; this.lblInfo.Xalign = 0F; this.lblInfo.LabelProp = global::Mono.Unix.Catalog.GetString("<b>?</b>"); this.lblInfo.UseMarkup = true; this.lblInfo.Selectable = true; this.GtkAlignment6.Add(this.lblInfo); w14.Add(this.GtkAlignment6); this.GtkScrolledWindow1.Add(w14); this.frame1.Add(this.GtkScrolledWindow1); this.lblInfoCaption = new global::Gtk.Label(); this.lblInfoCaption.Name = "lblInfoCaption"; this.lblInfoCaption.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Информация</b>"); this.lblInfoCaption.UseMarkup = true; this.frame1.LabelWidget = this.lblInfoCaption; this.tblUndeliveryFields.Add(this.frame1); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.frame1])); w19.BottomAttach = ((uint)(8)); w19.LeftAttach = ((uint)(2)); w19.RightAttach = ((uint)(3)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.guiltyInUndeliveryView = new global::Vodovoz.ViewWidgets.GuiltyInUndeliveryView(); this.guiltyInUndeliveryView.Events = ((global::Gdk.EventMask)(256)); this.guiltyInUndeliveryView.Name = "guiltyInUndeliveryView"; this.tblUndeliveryFields.Add(this.guiltyInUndeliveryView); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.guiltyInUndeliveryView])); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.hbxForNewOrder = new global::Gtk.HBox(); this.hbxForNewOrder.Name = "hbxForNewOrder"; this.hbxForNewOrder.Spacing = 6; // Container child hbxForNewOrder.Gtk.Box+BoxChild this.lblTransferDate = new global::Gtk.Label(); this.lblTransferDate.Name = "lblTransferDate"; this.lblTransferDate.LabelProp = global::Mono.Unix.Catalog.GetString("Заказ не\nсоздан "); this.lblTransferDate.Justify = ((global::Gtk.Justification)(2)); this.hbxForNewOrder.Add(this.lblTransferDate); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbxForNewOrder[this.lblTransferDate])); w21.Position = 0; w21.Expand = false; // Container child hbxForNewOrder.Gtk.Box+BoxChild this.btnChooseOrder = new global::Gtk.Button(); this.btnChooseOrder.CanFocus = true; this.btnChooseOrder.Name = "btnChooseOrder"; this.btnChooseOrder.UseUnderline = true; this.btnChooseOrder.Label = global::Mono.Unix.Catalog.GetString("Выбрать заказ"); this.hbxForNewOrder.Add(this.btnChooseOrder); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbxForNewOrder[this.btnChooseOrder])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child hbxForNewOrder.Gtk.Box+BoxChild this.btnNewOrder = new global::Gtk.Button(); this.btnNewOrder.CanFocus = true; this.btnNewOrder.Name = "btnNewOrder"; this.btnNewOrder.UseUnderline = true; this.btnNewOrder.Label = global::Mono.Unix.Catalog.GetString("Создать заказ"); this.hbxForNewOrder.Add(this.btnNewOrder); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbxForNewOrder[this.btnNewOrder])); w23.Position = 2; w23.Expand = false; // Container child hbxForNewOrder.Gtk.Box+BoxChild this.yenumcomboboxTransferType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxTransferType.Name = "yenumcomboboxTransferType"; this.yenumcomboboxTransferType.ShowSpecialStateAll = false; this.yenumcomboboxTransferType.ShowSpecialStateNot = false; this.yenumcomboboxTransferType.UseShortTitle = false; this.yenumcomboboxTransferType.DefaultFirst = false; this.hbxForNewOrder.Add(this.yenumcomboboxTransferType); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbxForNewOrder[this.yenumcomboboxTransferType])); w24.Position = 3; w24.Expand = false; w24.Fill = false; this.tblUndeliveryFields.Add(this.hbxForNewOrder); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.hbxForNewOrder])); w25.TopAttach = ((uint)(4)); w25.BottomAttach = ((uint)(5)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.lblDispatcherCallTime = new global::Gtk.Label(); this.lblDispatcherCallTime.Name = "lblDispatcherCallTime"; this.lblDispatcherCallTime.Xalign = 1F; this.lblDispatcherCallTime.LabelProp = global::Mono.Unix.Catalog.GetString("Время звонка клиенту:"); this.tblUndeliveryFields.Add(this.lblDispatcherCallTime); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblDispatcherCallTime])); w26.TopAttach = ((uint)(3)); w26.BottomAttach = ((uint)(4)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.lblDriverCallPlace = new global::Gtk.Label(); this.lblDriverCallPlace.Name = "lblDriverCallPlace"; this.lblDriverCallPlace.Xalign = 1F; this.lblDriverCallPlace.LabelProp = global::Mono.Unix.Catalog.GetString("Место звонка водителя:"); this.tblUndeliveryFields.Add(this.lblDriverCallPlace); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblDriverCallPlace])); w27.TopAttach = ((uint)(1)); w27.BottomAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.lblDriverCallTime = new global::Gtk.Label(); this.lblDriverCallTime.Name = "lblDriverCallTime"; this.lblDriverCallTime.Xalign = 1F; this.lblDriverCallTime.LabelProp = global::Mono.Unix.Catalog.GetString("Время звонка водителя:"); this.tblUndeliveryFields.Add(this.lblDriverCallTime); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblDriverCallTime])); w28.TopAttach = ((uint)(2)); w28.BottomAttach = ((uint)(3)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.lblGuilty = new global::Gtk.Label(); this.lblGuilty.Name = "lblGuilty"; this.lblGuilty.Xalign = 1F; this.lblGuilty.LabelProp = global::Mono.Unix.Catalog.GetString("Виновники:"); this.tblUndeliveryFields.Add(this.lblGuilty); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblGuilty])); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.lblNewDeliverySchedule = new global::Gtk.Label(); this.lblNewDeliverySchedule.Name = "lblNewDeliverySchedule"; this.lblNewDeliverySchedule.Xalign = 1F; this.lblNewDeliverySchedule.LabelProp = global::Mono.Unix.Catalog.GetString("Новый интервал переноса:"); this.tblUndeliveryFields.Add(this.lblNewDeliverySchedule); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblNewDeliverySchedule])); w30.TopAttach = ((uint)(5)); w30.BottomAttach = ((uint)(6)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.lblRegisteredBy = new global::Gtk.Label(); this.lblRegisteredBy.Name = "lblRegisteredBy"; this.lblRegisteredBy.Xalign = 1F; this.lblRegisteredBy.LabelProp = global::Mono.Unix.Catalog.GetString("Зарегистрировал:"); this.tblUndeliveryFields.Add(this.lblRegisteredBy); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblRegisteredBy])); w31.TopAttach = ((uint)(6)); w31.BottomAttach = ((uint)(7)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.lblTransferDateCaption = new global::Gtk.Label(); this.lblTransferDateCaption.Name = "lblTransferDateCaption"; this.lblTransferDateCaption.Xalign = 1F; this.lblTransferDateCaption.LabelProp = global::Mono.Unix.Catalog.GetString("Дата переноса:"); this.tblUndeliveryFields.Add(this.lblTransferDateCaption); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.lblTransferDateCaption])); w32.TopAttach = ((uint)(4)); w32.BottomAttach = ((uint)(5)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.referenceNewDeliverySchedule = new global::Gamma.Widgets.yEntryReference(); this.referenceNewDeliverySchedule.Events = ((global::Gdk.EventMask)(256)); this.referenceNewDeliverySchedule.Name = "referenceNewDeliverySchedule"; this.tblUndeliveryFields.Add(this.referenceNewDeliverySchedule); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.referenceNewDeliverySchedule])); w33.TopAttach = ((uint)(5)); w33.BottomAttach = ((uint)(6)); w33.LeftAttach = ((uint)(1)); w33.RightAttach = ((uint)(2)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.yDateDispatcherCallTime = new global::QS.Widgets.GtkUI.DatePicker(); this.yDateDispatcherCallTime.Events = ((global::Gdk.EventMask)(256)); this.yDateDispatcherCallTime.Name = "yDateDispatcherCallTime"; this.yDateDispatcherCallTime.WithTime = true; this.yDateDispatcherCallTime.HideCalendarButton = false; this.yDateDispatcherCallTime.Date = new global::System.DateTime(0); this.yDateDispatcherCallTime.IsEditable = true; this.yDateDispatcherCallTime.AutoSeparation = true; this.tblUndeliveryFields.Add(this.yDateDispatcherCallTime); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.yDateDispatcherCallTime])); w34.TopAttach = ((uint)(3)); w34.BottomAttach = ((uint)(4)); w34.LeftAttach = ((uint)(1)); w34.RightAttach = ((uint)(2)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.yDateDriverCallTime = new global::QS.Widgets.GtkUI.DatePicker(); this.yDateDriverCallTime.Events = ((global::Gdk.EventMask)(256)); this.yDateDriverCallTime.Name = "yDateDriverCallTime"; this.yDateDriverCallTime.WithTime = true; this.yDateDriverCallTime.HideCalendarButton = false; this.yDateDriverCallTime.Date = new global::System.DateTime(0); this.yDateDriverCallTime.IsEditable = true; this.yDateDriverCallTime.AutoSeparation = true; this.tblUndeliveryFields.Add(this.yDateDriverCallTime); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.yDateDriverCallTime])); 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 tblUndeliveryFields.Gtk.Table+TableChild this.yEnumCMBDriverCallPlace = new global::Gamma.Widgets.yEnumComboBox(); this.yEnumCMBDriverCallPlace.Name = "yEnumCMBDriverCallPlace"; this.yEnumCMBDriverCallPlace.ShowSpecialStateAll = false; this.yEnumCMBDriverCallPlace.ShowSpecialStateNot = false; this.yEnumCMBDriverCallPlace.UseShortTitle = false; this.yEnumCMBDriverCallPlace.DefaultFirst = false; this.tblUndeliveryFields.Add(this.yEnumCMBDriverCallPlace); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.yEnumCMBDriverCallPlace])); w36.TopAttach = ((uint)(1)); w36.BottomAttach = ((uint)(2)); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.ylabelProblemSource = new global::Gamma.GtkWidgets.yLabel(); this.ylabelProblemSource.Name = "ylabelProblemSource"; this.ylabelProblemSource.Xalign = 1F; this.ylabelProblemSource.LabelProp = global::Mono.Unix.Catalog.GetString("Источник проблемы:"); this.tblUndeliveryFields.Add(this.ylabelProblemSource); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.ylabelProblemSource])); w37.TopAttach = ((uint)(7)); w37.BottomAttach = ((uint)(8)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblUndeliveryFields.Gtk.Table+TableChild this.ylabelTransferAbsenceReason = new global::Gamma.GtkWidgets.yLabel(); this.ylabelTransferAbsenceReason.Name = "ylabelTransferAbsenceReason"; this.ylabelTransferAbsenceReason.Xalign = 1F; this.ylabelTransferAbsenceReason.LabelProp = global::Mono.Unix.Catalog.GetString("Причина отсутствия переноса:"); this.tblUndeliveryFields.Add(this.ylabelTransferAbsenceReason); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.tblUndeliveryFields[this.ylabelTransferAbsenceReason])); w38.TopAttach = ((uint)(8)); w38.BottomAttach = ((uint)(9)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbxWithControls.Add(this.tblUndeliveryFields); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbxWithControls[this.tblUndeliveryFields])); w39.Position = 1; w39.Expand = false; w39.Fill = false; // Container child vbxWithControls.Gtk.Box+BoxChild this.vbxReasonAndFines = new global::Gtk.VBox(); this.vbxReasonAndFines.Name = "vbxReasonAndFines"; this.vbxReasonAndFines.Spacing = 6; // Container child vbxReasonAndFines.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.BorderWidth = ((uint)(3)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment7 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment7.Name = "GtkAlignment7"; this.GtkAlignment7.LeftPadding = ((uint)(12)); // Container child GtkAlignment7.Gtk.Container+ContainerChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.txtReason = new global::Gamma.GtkWidgets.yTextView(); this.txtReason.CanFocus = true; this.txtReason.Name = "txtReason"; this.txtReason.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow2.Add(this.txtReason); this.GtkAlignment7.Add(this.GtkScrolledWindow2); this.frame2.Add(this.GtkAlignment7); this.lblReason = new global::Gtk.Label(); this.lblReason.Name = "lblReason"; this.lblReason.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Что случилось?</b>"); this.lblReason.UseMarkup = true; this.frame2.LabelWidget = this.lblReason; this.vbxReasonAndFines.Add(this.frame2); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbxReasonAndFines[this.frame2])); w43.Position = 0; // Container child vbxReasonAndFines.Gtk.Box+BoxChild this.frame3 = new global::Gtk.Frame(); this.frame3.Name = "frame3"; this.frame3.BorderWidth = ((uint)(3)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment8 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment8.Name = "GtkAlignment8"; this.GtkAlignment8.LeftPadding = ((uint)(12)); // Container child GtkAlignment8.Gtk.Container+ContainerChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.yTreeFines = new global::Gamma.GtkWidgets.yTreeView(); this.yTreeFines.CanFocus = true; this.yTreeFines.Name = "yTreeFines"; this.GtkScrolledWindow3.Add(this.yTreeFines); this.GtkAlignment8.Add(this.GtkScrolledWindow3); this.frame3.Add(this.GtkAlignment8); this.lblFines = new global::Gtk.Label(); this.lblFines.Name = "lblFines"; this.lblFines.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Штрафы</b>"); this.lblFines.UseMarkup = true; this.frame3.LabelWidget = this.lblFines; this.vbxReasonAndFines.Add(this.frame3); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbxReasonAndFines[this.frame3])); w47.Position = 1; // Container child vbxReasonAndFines.Gtk.Box+BoxChild this.buttonAddFine = new global::Gtk.Button(); this.buttonAddFine.CanFocus = true; this.buttonAddFine.Name = "buttonAddFine"; this.buttonAddFine.UseUnderline = true; this.buttonAddFine.Label = global::Mono.Unix.Catalog.GetString("Добавить штраф"); global::Gtk.Image w48 = new global::Gtk.Image(); w48.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddFine.Image = w48; this.vbxReasonAndFines.Add(this.buttonAddFine); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbxReasonAndFines[this.buttonAddFine])); w49.PackType = ((global::Gtk.PackType)(1)); w49.Position = 2; w49.Fill = false; this.vbxWithControls.Add(this.vbxReasonAndFines); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbxWithControls[this.vbxReasonAndFines])); w50.Position = 2; this.mainBox.Add(this.vbxWithControls); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.mainBox[this.vbxWithControls])); w51.Position = 1; this.Add(this.mainBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.yenumcomboboxTransferType.Hide(); this.Hide(); this.yEnumCMBDriverCallPlace.EnumItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnYEnumCMBDriverCallPlaceEnumItemSelected); this.btnChooseOrder.Clicked += new global::System.EventHandler(this.OnBtnChooseOrderClicked); this.btnNewOrder.Clicked += new global::System.EventHandler(this.OnBtnNewOrderClicked); this.buttonAddFine.Clicked += new global::System.EventHandler(this.OnButtonAddFineClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Logistic.RouteListsOnDayView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Logistic.RouteListsOnDayView"; // Container child Vodovoz.Views.Logistic.RouteListsOnDayView.Gtk.Container+ContainerChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(6)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.buttonFilter = new global::Gamma.GtkWidgets.yButton(); this.buttonFilter.CanFocus = true; this.buttonFilter.Name = "buttonFilter"; this.buttonFilter.UseUnderline = true; this.buttonFilter.Label = global::Mono.Unix.Catalog.GetString("Фильтровать"); this.table1.Add(this.buttonFilter); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonFilter])); w1.TopAttach = ((uint)(2)); w1.BottomAttach = ((uint)(3)); w1.LeftAttach = ((uint)(2)); w1.RightAttach = ((uint)(3)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.yspeccomboboxCashSubdivision = new global::Gamma.Widgets.ySpecComboBox(); this.yspeccomboboxCashSubdivision.Name = "yspeccomboboxCashSubdivision"; this.yspeccomboboxCashSubdivision.AddIfNotExist = false; this.yspeccomboboxCashSubdivision.DefaultFirst = false; this.yspeccomboboxCashSubdivision.ShowSpecialStateAll = false; this.yspeccomboboxCashSubdivision.ShowSpecialStateNot = false; this.hbox9.Add(this.yspeccomboboxCashSubdivision); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.yspeccomboboxCashSubdivision])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.checkShowCompleted = new global::Gamma.GtkWidgets.yCheckButton(); this.checkShowCompleted.CanFocus = true; this.checkShowCompleted.Name = "checkShowCompleted"; this.checkShowCompleted.Label = global::Mono.Unix.Catalog.GetString("Показывать уехавшие"); this.checkShowCompleted.DrawIndicator = true; this.checkShowCompleted.UseUnderline = true; this.hbox9.Add(this.checkShowCompleted); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.checkShowCompleted])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.checkShowOnlyDriverOrders = new global::Gamma.GtkWidgets.yCheckButton(); this.checkShowOnlyDriverOrders.CanFocus = true; this.checkShowOnlyDriverOrders.Name = "checkShowOnlyDriverOrders"; this.checkShowOnlyDriverOrders.Label = global::Mono.Unix.Catalog.GetString("Показать только районы водителя"); this.checkShowOnlyDriverOrders.DrawIndicator = true; this.checkShowOnlyDriverOrders.UseUnderline = true; this.hbox9.Add(this.checkShowOnlyDriverOrders); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.checkShowOnlyDriverOrders])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.table1.Add(this.hbox9); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox9])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Сдается в кассу:"); this.label7.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.label7); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label7])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Мин. 19л. бут.:"); this.label8.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.label8); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.table2 = new global::Gtk.Table(((uint)(2)), ((uint)(5)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.enumCmbDeliveryType = new global::Gamma.Widgets.yEnumComboBox(); this.enumCmbDeliveryType.Name = "enumCmbDeliveryType"; this.enumCmbDeliveryType.ShowSpecialStateAll = false; this.enumCmbDeliveryType.ShowSpecialStateNot = false; this.enumCmbDeliveryType.UseShortTitle = false; this.enumCmbDeliveryType.DefaultFirst = false; this.table2.Add(this.enumCmbDeliveryType); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2[this.enumCmbDeliveryType])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.ytreeviewAddressesTypes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewAddressesTypes.CanFocus = true; this.ytreeviewAddressesTypes.Name = "ytreeviewAddressesTypes"; this.ytreeviewAddressesTypes.HeadersVisible = false; this.hbox10.Add(this.ytreeviewAddressesTypes); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.ytreeviewAddressesTypes])); w10.Position = 0; // Container child hbox10.Gtk.Box+BoxChild this.ytreeviewGeographicGroup = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewGeographicGroup.CanFocus = true; this.ytreeviewGeographicGroup.Name = "ytreeviewGeographicGroup"; this.hbox10.Add(this.ytreeviewGeographicGroup); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.ytreeviewGeographicGroup])); w11.Position = 1; this.table2.Add(this.hbox10); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2[this.hbox10])); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(3)); w12.RightAttach = ((uint)(5)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Начало работы водителей"); this.label3.Justify = ((global::Gtk.Justification)(1)); this.table2.Add(this.label3); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2[this.label3])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(0)); w13.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.timeDrvShiftRngpicker = new global::QS.Widgets.GtkUI.TimeRangePicker(); this.timeDrvShiftRngpicker.Events = ((global::Gdk.EventMask)(256)); this.timeDrvShiftRngpicker.Name = "timeDrvShiftRngpicker"; this.timeDrvShiftRngpicker.TimeStart = new global::System.TimeSpan(0); this.table2.Add(this.timeDrvShiftRngpicker); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2[this.timeDrvShiftRngpicker])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(0)); w14.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.timeRngPicker = new global::QS.Widgets.GtkUI.TimeRangePicker(); this.timeRngPicker.Events = ((global::Gdk.EventMask)(256)); this.timeRngPicker.Name = "timeRngPicker"; this.timeRngPicker.TimeStart = new global::System.TimeSpan(0); this.table2.Add(this.timeRngPicker); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2[this.timeRngPicker])); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(0)); w15.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.ydateForRoutes = new global::QS.Widgets.GtkUI.DatePicker(); this.ydateForRoutes.Events = ((global::Gdk.EventMask)(256)); this.ydateForRoutes.Name = "ydateForRoutes"; this.ydateForRoutes.WithTime = false; this.ydateForRoutes.HideCalendarButton = false; this.ydateForRoutes.Date = new global::System.DateTime(0); this.ydateForRoutes.IsEditable = true; this.ydateForRoutes.AutoSeparation = true; this.table2.Add(this.ydateForRoutes); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2[this.ydateForRoutes])); w16.XOptions = ((global::Gtk.AttachOptions)(0)); w16.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.ySpnMin19Btls = new global::Gamma.GtkWidgets.ySpinButton(0D, 100D, 1D); this.ySpnMin19Btls.WidthRequest = 100; this.ySpnMin19Btls.CanFocus = true; this.ySpnMin19Btls.Name = "ySpnMin19Btls"; this.ySpnMin19Btls.Adjustment.PageIncrement = 1D; this.ySpnMin19Btls.Adjustment.PageSize = 1D; this.ySpnMin19Btls.ClimbRate = 1D; this.ySpnMin19Btls.Numeric = true; this.ySpnMin19Btls.Value = 1D; this.ySpnMin19Btls.ValueAsDecimal = 0m; this.ySpnMin19Btls.ValueAsInt = 0; this.table2.Add(this.ySpnMin19Btls); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2[this.ySpnMin19Btls])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(0)); this.table1.Add(this.table2); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.table2])); w18.BottomAttach = ((uint)(2)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.textOrdersInfo = new global::Gtk.TextView(); this.textOrdersInfo.CanFocus = true; this.textOrdersInfo.Name = "textOrdersInfo"; this.textOrdersInfo.Editable = false; this.vbox6.Add(this.textOrdersInfo); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.textOrdersInfo])); w19.Position = 0; this.table1.Add(this.vbox6); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox6])); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(3)); w20.RightAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.ytextWorkDriversInfo = new global::Gamma.GtkWidgets.yTextView(); this.ytextWorkDriversInfo.CanFocus = true; this.ytextWorkDriversInfo.Name = "ytextWorkDriversInfo"; this.ytextWorkDriversInfo.Editable = false; this.vbox7.Add(this.ytextWorkDriversInfo); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.ytextWorkDriversInfo])); w21.Position = 0; this.table1.Add(this.vbox7); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox7])); w22.BottomAttach = ((uint)(3)); w22.LeftAttach = ((uint)(4)); w22.RightAttach = ((uint)(5)); w22.XOptions = ((global::Gtk.AttachOptions)(0)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.ytextFullOrdersInfo = new global::Gamma.GtkWidgets.yTextView(); this.ytextFullOrdersInfo.CanFocus = true; this.ytextFullOrdersInfo.Name = "ytextFullOrdersInfo"; this.ytextFullOrdersInfo.Editable = false; this.vbox8.Add(this.ytextFullOrdersInfo); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.ytextFullOrdersInfo])); w23.Position = 0; this.table1.Add(this.vbox8); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox8])); w24.BottomAttach = ((uint)(3)); w24.LeftAttach = ((uint)(5)); w24.RightAttach = ((uint)(6)); w24.XOptions = ((global::Gtk.AttachOptions)(0)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox5.Add(this.table1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.table1])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hpaned3 = new global::Gtk.HPaned(); this.hpaned3.CanFocus = true; this.hpaned3.Name = "hpaned3"; this.hpaned3.Position = 548; // Container child hpaned3.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.btnSave = new global::Gamma.GtkWidgets.yButton(); this.btnSave.CanFocus = true; this.btnSave.Name = "btnSave"; this.btnSave.UseUnderline = true; this.btnSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w26 = new global::Gtk.Image(); w26.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.btnSave.Image = w26; this.hbox8.Add(this.btnSave); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.btnSave])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.btnCancel = new global::Gamma.GtkWidgets.yButton(); this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseUnderline = true; this.btnCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w28 = new global::Gtk.Image(); w28.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.btnCancel.Image = w28; this.hbox8.Add(this.btnCancel); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.btnCancel])); w29.Position = 1; w29.Expand = false; w29.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.progressOrders = new global::Gtk.ProgressBar(); this.progressOrders.Name = "progressOrders"; this.progressOrders.Ellipsize = ((global::Pango.EllipsizeMode)(1)); this.hbox8.Add(this.progressOrders); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.progressOrders])); w30.Position = 2; // Container child hbox8.Gtk.Box+BoxChild this.buttonWarnings = new global::Gamma.GtkWidgets.yButton(); this.buttonWarnings.TooltipMarkup = "Имеются перудупреждения. Нажмите что бы посмотреть."; this.buttonWarnings.CanFocus = true; this.buttonWarnings.Name = "buttonWarnings"; this.buttonWarnings.UseUnderline = true; this.buttonWarnings.Relief = ((global::Gtk.ReliefStyle)(2)); global::Gtk.Image w31 = new global::Gtk.Image(); w31.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-warning", global::Gtk.IconSize.Menu); this.buttonWarnings.Image = w31; this.hbox8.Add(this.buttonWarnings); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonWarnings])); w32.Position = 3; w32.Expand = false; w32.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.buttonAutoCreate = new global::Gamma.GtkWidgets.yButton(); this.buttonAutoCreate.CanFocus = true; this.buttonAutoCreate.Name = "buttonAutoCreate"; this.buttonAutoCreate.UseUnderline = true; this.buttonAutoCreate.Label = global::Mono.Unix.Catalog.GetString("Создать маршруты"); this.hbox8.Add(this.buttonAutoCreate); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonAutoCreate])); w33.Position = 4; w33.Expand = false; w33.Fill = false; this.vbox3.Add(this.hbox8); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox8])); w34.Position = 0; w34.Expand = false; w34.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; this.notebook1.TabPos = ((global::Gtk.PositionType)(0)); // Container child notebook1.Gtk.Notebook+NotebookChild this.vboxDrivers = new global::Gtk.VBox(); this.vboxDrivers.Name = "vboxDrivers"; this.vboxDrivers.Spacing = 6; // Container child vboxDrivers.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeviewOnDayDrivers = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewOnDayDrivers.CanFocus = true; this.ytreeviewOnDayDrivers.Name = "ytreeviewOnDayDrivers"; this.GtkScrolledWindow1.Add(this.ytreeviewOnDayDrivers); this.vboxDrivers.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vboxDrivers[this.GtkScrolledWindow1])); w36.Position = 0; // Container child vboxDrivers.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.buttonAddDriver = new global::Gamma.GtkWidgets.yButton(); this.buttonAddDriver.CanFocus = true; this.buttonAddDriver.Name = "buttonAddDriver"; this.buttonAddDriver.UseUnderline = true; this.buttonAddDriver.Label = global::Mono.Unix.Catalog.GetString("Добавить водителя"); global::Gtk.Image w37 = new global::Gtk.Image(); w37.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddDriver.Image = w37; this.hbox7.Add(this.buttonAddDriver); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonAddDriver])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonRemoveDriver = new global::Gamma.GtkWidgets.yButton(); this.buttonRemoveDriver.CanFocus = true; this.buttonRemoveDriver.Name = "buttonRemoveDriver"; this.buttonRemoveDriver.UseUnderline = true; this.buttonRemoveDriver.Label = global::Mono.Unix.Catalog.GetString("Снять водителя"); global::Gtk.Image w39 = new global::Gtk.Image(); w39.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveDriver.Image = w39; this.hbox7.Add(this.buttonRemoveDriver); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonRemoveDriver])); w40.Position = 1; w40.Expand = false; w40.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonDriverSelectAuto = new global::Gamma.GtkWidgets.yButton(); this.buttonDriverSelectAuto.CanFocus = true; this.buttonDriverSelectAuto.Name = "buttonDriverSelectAuto"; this.buttonDriverSelectAuto.UseUnderline = true; this.buttonDriverSelectAuto.Label = global::Mono.Unix.Catalog.GetString("Выбрать авто"); global::Gtk.Image w41 = new global::Gtk.Image(); w41.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.car.png"); this.buttonDriverSelectAuto.Image = w41; this.hbox7.Add(this.buttonDriverSelectAuto); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonDriverSelectAuto])); w42.Position = 2; w42.Expand = false; w42.Fill = false; this.vboxDrivers.Add(this.hbox7); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vboxDrivers[this.hbox7])); w43.Position = 1; w43.Expand = false; w43.Fill = false; this.notebook1.Add(this.vboxDrivers); // Notebook tab this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Водители"); this.label4.Angle = 270D; this.notebook1.SetTabLabel(this.vboxDrivers, this.label4); this.label4.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.ytreeviewOnDayForwarders = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewOnDayForwarders.CanFocus = true; this.ytreeviewOnDayForwarders.Name = "ytreeviewOnDayForwarders"; this.GtkScrolledWindow2.Add(this.ytreeviewOnDayForwarders); this.vbox4.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.GtkScrolledWindow2])); w46.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.buttonAddForwarder = new global::Gamma.GtkWidgets.yButton(); this.buttonAddForwarder.CanFocus = true; this.buttonAddForwarder.Name = "buttonAddForwarder"; this.buttonAddForwarder.UseUnderline = true; this.buttonAddForwarder.Label = global::Mono.Unix.Catalog.GetString("Добавить экспедитора"); global::Gtk.Image w47 = new global::Gtk.Image(); w47.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddForwarder.Image = w47; this.hbox6.Add(this.buttonAddForwarder); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonAddForwarder])); w48.Position = 0; w48.Expand = false; w48.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonRemoveForwarder = new global::Gamma.GtkWidgets.yButton(); this.buttonRemoveForwarder.CanFocus = true; this.buttonRemoveForwarder.Name = "buttonRemoveForwarder"; this.buttonRemoveForwarder.UseUnderline = true; this.buttonRemoveForwarder.Label = global::Mono.Unix.Catalog.GetString("Снять экспедитора"); global::Gtk.Image w49 = new global::Gtk.Image(); w49.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveForwarder.Image = w49; this.hbox6.Add(this.buttonRemoveForwarder); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonRemoveForwarder])); w50.Position = 1; w50.Expand = false; w50.Fill = false; this.vbox4.Add(this.hbox6); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox6])); w51.Position = 1; w51.Expand = false; w51.Fill = false; this.notebook1.Add(this.vbox4); global::Gtk.Notebook.NotebookChild w52 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox4])); w52.Position = 1; // Notebook tab this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Экспедиторы"); this.label5.Angle = 270D; this.notebook1.SetTabLabel(this.vbox4, this.label5); this.label5.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vboxRouteLists = new global::Gtk.VBox(); this.vboxRouteLists.Name = "vboxRouteLists"; this.vboxRouteLists.Spacing = 6; // Container child vboxRouteLists.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytreeRoutes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeRoutes.CanFocus = true; this.ytreeRoutes.Name = "ytreeRoutes"; this.GtkScrolledWindow.Add(this.ytreeRoutes); this.vboxRouteLists.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vboxRouteLists[this.GtkScrolledWindow])); w54.Position = 0; // Container child vboxRouteLists.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonOpen = new global::Gamma.GtkWidgets.yButton(); this.buttonOpen.CanFocus = true; this.buttonOpen.Name = "buttonOpen"; this.buttonOpen.UseUnderline = true; this.buttonOpen.Label = global::Mono.Unix.Catalog.GetString("Открыть"); this.hbox5.Add(this.buttonOpen); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonOpen])); w55.Position = 0; w55.Expand = false; w55.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonRebuildRoute = new global::Gamma.GtkWidgets.yButton(); this.buttonRebuildRoute.CanFocus = true; this.buttonRebuildRoute.Name = "buttonRebuildRoute"; this.buttonRebuildRoute.UseUnderline = true; this.buttonRebuildRoute.Label = global::Mono.Unix.Catalog.GetString("Перестроить маршрут"); global::Gtk.Image w56 = new global::Gtk.Image(); w56.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.sort-ascending.png"); this.buttonRebuildRoute.Image = w56; this.hbox5.Add(this.buttonRebuildRoute); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonRebuildRoute])); w57.Position = 1; w57.Expand = false; w57.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonRemoveAddress = new global::Gamma.GtkWidgets.yButton(); this.buttonRemoveAddress.CanFocus = true; this.buttonRemoveAddress.Name = "buttonRemoveAddress"; this.buttonRemoveAddress.UseUnderline = true; this.buttonRemoveAddress.Label = global::Mono.Unix.Catalog.GetString("Убрать адрес"); global::Gtk.Image w58 = new global::Gtk.Image(); w58.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveAddress.Image = w58; this.hbox5.Add(this.buttonRemoveAddress); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonRemoveAddress])); w59.Position = 2; w59.Expand = false; w59.Fill = false; this.vboxRouteLists.Add(this.hbox5); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.vboxRouteLists[this.hbox5])); w60.Position = 1; w60.Expand = false; w60.Fill = false; this.notebook1.Add(this.vboxRouteLists); global::Gtk.Notebook.NotebookChild w61 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vboxRouteLists])); w61.Position = 2; // Notebook tab this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Маршруты"); this.label6.Angle = 270D; this.notebook1.SetTabLabel(this.vboxRouteLists, this.label6); this.label6.ShowAll(); this.vbox3.Add(this.notebook1); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.notebook1])); w62.Position = 1; this.hpaned3.Add(this.vbox3); global::Gtk.Paned.PanedChild w63 = ((global::Gtk.Paned.PanedChild)(this.hpaned3[this.vbox3])); w63.Resize = false; // Container child hpaned3.Gtk.Paned+PanedChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.btnRefresh = new global::Gamma.GtkWidgets.yButton(); this.btnRefresh.TooltipMarkup = "Обновить"; this.btnRefresh.CanFocus = true; this.btnRefresh.Name = "btnRefresh"; this.btnRefresh.UseUnderline = true; global::Gtk.Image w64 = new global::Gtk.Image(); w64.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu); this.btnRefresh.Image = w64; this.hbox4.Add(this.btnRefresh); global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.btnRefresh])); w65.Position = 0; w65.Expand = false; w65.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.labelSelected = new global::Gtk.Label(); this.labelSelected.Name = "labelSelected"; this.labelSelected.LabelProp = global::Mono.Unix.Catalog.GetString("Адресов\nне выбрано"); this.labelSelected.Justify = ((global::Gtk.Justification)(2)); this.hbox4.Add(this.labelSelected); global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.labelSelected])); w66.Position = 1; w66.Expand = false; w66.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.menuAddToRL = new global::QSWidgetLib.MenuButton(); this.menuAddToRL.Sensitive = false; this.menuAddToRL.CanFocus = true; this.menuAddToRL.Name = "menuAddToRL"; this.menuAddToRL.UseUnderline = true; this.menuAddToRL.UseMarkup = false; this.menuAddToRL.LabelXAlign = 0F; this.menuAddToRL.Label = global::Mono.Unix.Catalog.GetString("В маршрутный лист"); global::Gtk.Image w67 = new global::Gtk.Image(); w67.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.menuAddToRL.Image = w67; this.hbox4.Add(this.menuAddToRL); global::Gtk.Box.BoxChild w68 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.menuAddToRL])); w68.Position = 2; w68.Expand = false; w68.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.checkShowDistricts = new global::Gamma.GtkWidgets.yCheckButton(); this.checkShowDistricts.CanFocus = true; this.checkShowDistricts.Name = "checkShowDistricts"; this.checkShowDistricts.Label = global::Mono.Unix.Catalog.GetString("Районы"); this.checkShowDistricts.DrawIndicator = true; this.checkShowDistricts.UseUnderline = true; this.hbox4.Add(this.checkShowDistricts); global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.checkShowDistricts])); w69.Position = 3; w69.Expand = false; // Container child hbox4.Gtk.Box+BoxChild this.yspinMaxTime = new global::Gamma.GtkWidgets.ySpinButton(0D, 1000D, 1D); this.yspinMaxTime.TooltipMarkup = "Максимальное время оптимизаций, в секундах."; this.yspinMaxTime.CanFocus = true; this.yspinMaxTime.Name = "yspinMaxTime"; this.yspinMaxTime.Adjustment.PageIncrement = 10D; this.yspinMaxTime.ClimbRate = 1D; this.yspinMaxTime.Numeric = true; this.yspinMaxTime.UpdatePolicy = ((global::Gtk.SpinButtonUpdatePolicy)(1)); this.yspinMaxTime.Value = 30D; this.yspinMaxTime.ValueAsDecimal = 0m; this.yspinMaxTime.ValueAsInt = 0; this.hbox4.Add(this.yspinMaxTime); global::Gtk.Box.BoxChild w70 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.yspinMaxTime])); w70.Position = 4; w70.Expand = false; w70.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hbox4.Add(this.vseparator2); global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vseparator2])); w71.Position = 5; w71.Expand = false; w71.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.yenumcomboMapType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboMapType.Name = "yenumcomboMapType"; this.yenumcomboMapType.ShowSpecialStateAll = false; this.yenumcomboMapType.ShowSpecialStateNot = false; this.yenumcomboMapType.UseShortTitle = false; this.yenumcomboMapType.DefaultFirst = true; this.hbox4.Add(this.yenumcomboMapType); global::Gtk.Box.BoxChild w72 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.yenumcomboMapType])); w72.Position = 6; w72.Expand = false; w72.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonMapHelp = new global::Gamma.GtkWidgets.yButton(); this.buttonMapHelp.TooltipMarkup = "Справка по работе с картой."; this.buttonMapHelp.CanFocus = true; this.buttonMapHelp.Name = "buttonMapHelp"; this.buttonMapHelp.UseUnderline = true; this.buttonMapHelp.Relief = ((global::Gtk.ReliefStyle)(1)); global::Gtk.Image w73 = new global::Gtk.Image(); w73.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-help", global::Gtk.IconSize.Menu); this.buttonMapHelp.Image = w73; this.hbox4.Add(this.buttonMapHelp); global::Gtk.Box.BoxChild w74 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonMapHelp])); w74.Position = 7; w74.Expand = false; this.vbox2.Add(this.hbox4); global::Gtk.Box.BoxChild w75 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox4])); w75.Position = 0; w75.Expand = false; w75.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.gmapWidget = new global::GMap.NET.GtkSharp.GMapControl(); this.gmapWidget.Name = "gmapWidget"; this.gmapWidget.MaxZoom = 24; this.gmapWidget.MinZoom = 0; this.gmapWidget.MouseWheelZoomEnabled = true; this.gmapWidget.ShowTileGridLines = false; this.gmapWidget.GrayScaleMode = false; this.gmapWidget.NegativeMode = false; this.gmapWidget.HasFrame = false; this.gmapWidget.Bearing = 0F; this.gmapWidget.Zoom = 9D; this.gmapWidget.RoutesEnabled = true; this.gmapWidget.PolygonsEnabled = true; this.gmapWidget.MarkersEnabled = true; this.gmapWidget.CanDragMap = true; this.vbox2.Add(this.gmapWidget); global::Gtk.Box.BoxChild w76 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.gmapWidget])); w76.Position = 1; this.hpaned3.Add(this.vbox2); this.vbox5.Add(this.hpaned3); global::Gtk.Box.BoxChild w78 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hpaned3])); w78.Position = 1; this.Add(this.vbox5); if ((this.Child != null)) { this.Child.ShowAll(); } this.buttonWarnings.Hide(); this.Hide(); this.ySpnMin19Btls.WidgetEvent += new global::Gtk.WidgetEventHandler(this.OnFilterWidgetEvent); this.buttonAutoCreate.Clicked += new global::System.EventHandler(this.OnButtonAutoCreateClicked); this.buttonDriverSelectAuto.Clicked += new global::System.EventHandler(this.OnButtonDriverSelectAutoClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Orders.DiscountReasonView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Orders.DiscountReasonView"; // Container child Vodovoz.Views.Orders.DiscountReasonView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-floppy", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox1.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-close", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox1.Add(this.hseparator1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hseparator1])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.checkIsArchive = new global::Gamma.GtkWidgets.yCheckButton(); this.checkIsArchive.CanFocus = true; this.checkIsArchive.Name = "checkIsArchive"; this.checkIsArchive.Label = ""; this.checkIsArchive.DrawIndicator = true; this.checkIsArchive.UseUnderline = true; this.table3.Add(this.checkIsArchive); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table3[this.checkIsArchive])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.entryName = new global::Gamma.GtkWidgets.yEntry(); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.InvisibleChar = '•'; this.table3.Add(this.entryName); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table3[this.entryName])); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hboxDiscountParams = new global::Gtk.HBox(); this.hboxDiscountParams.Name = "hboxDiscountParams"; this.hboxDiscountParams.Spacing = 6; // Container child hboxDiscountParams.Gtk.Box+BoxChild this.spinDiscount = new global::Gamma.GtkWidgets.ySpinButton(0D, 100000D, 1D); this.spinDiscount.CanFocus = true; this.spinDiscount.Name = "spinDiscount"; this.spinDiscount.Adjustment.PageIncrement = 1D; this.spinDiscount.ClimbRate = 1D; this.spinDiscount.Numeric = true; this.spinDiscount.ValueAsDecimal = 0m; this.spinDiscount.ValueAsInt = 0; this.hboxDiscountParams.Add(this.spinDiscount); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxDiscountParams[this.spinDiscount])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hboxDiscountParams.Gtk.Box+BoxChild this.enumDiscountValueType = new global::Gamma.Widgets.yEnumComboBox(); this.enumDiscountValueType.Name = "enumDiscountValueType"; this.enumDiscountValueType.ShowSpecialStateAll = false; this.enumDiscountValueType.ShowSpecialStateNot = false; this.enumDiscountValueType.UseShortTitle = false; this.enumDiscountValueType.DefaultFirst = false; this.hboxDiscountParams.Add(this.enumDiscountValueType); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxDiscountParams[this.enumDiscountValueType])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child hboxDiscountParams.Gtk.Box+BoxChild this.chkBtnPremiumDiscount = new global::Gamma.GtkWidgets.yCheckButton(); this.chkBtnPremiumDiscount.CanFocus = true; this.chkBtnPremiumDiscount.Name = "chkBtnPremiumDiscount"; this.chkBtnPremiumDiscount.Label = global::Mono.Unix.Catalog.GetString("Премиальная скидка"); this.chkBtnPremiumDiscount.DrawIndicator = true; this.chkBtnPremiumDiscount.UseUnderline = true; this.hboxDiscountParams.Add(this.chkBtnPremiumDiscount); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxDiscountParams[this.chkBtnPremiumDiscount])); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.table3.Add(this.hboxDiscountParams); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table3[this.hboxDiscountParams])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Название:"); this.label1.Justify = ((global::Gtk.Justification)(1)); this.table3.Add(this.label1); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table3[this.label1])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("В архиве:"); this.label2.Justify = ((global::Gtk.Justification)(1)); this.table3.Add(this.label2); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table3[this.label2])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.labelDiscont = new global::Gtk.Label(); this.labelDiscont.Name = "labelDiscont"; this.labelDiscont.Xalign = 1F; this.labelDiscont.LabelProp = global::Mono.Unix.Catalog.GetString("Скидка на все:"); this.table3.Add(this.labelDiscont); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table3[this.labelDiscont])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table3); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table3])); w16.Position = 2; w16.Expand = false; w16.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vboxReferences = new global::Gamma.GtkWidgets.yVBox(); this.vboxReferences.Name = "vboxReferences"; this.vboxReferences.Spacing = 6; // Container child vboxReferences.Gtk.Box+BoxChild this.hboxNomenclatureCategoriesTitle = new global::Gamma.GtkWidgets.yHBox(); this.hboxNomenclatureCategoriesTitle.Name = "hboxNomenclatureCategoriesTitle"; this.hboxNomenclatureCategoriesTitle.Spacing = 6; // Container child hboxNomenclatureCategoriesTitle.Gtk.Box+BoxChild this.lblNomenclatureCategories = new global::Gamma.GtkWidgets.yLabel(); this.lblNomenclatureCategories.Name = "lblNomenclatureCategories"; this.lblNomenclatureCategories.LabelProp = global::Mono.Unix.Catalog.GetString("Категории номенклатур:"); this.hboxNomenclatureCategoriesTitle.Add(this.lblNomenclatureCategories); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hboxNomenclatureCategoriesTitle[this.lblNomenclatureCategories])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hboxNomenclatureCategoriesTitle.Gtk.Box+BoxChild this.chkBtnSelectAll = new global::Gamma.GtkWidgets.yCheckButton(); this.chkBtnSelectAll.CanFocus = true; this.chkBtnSelectAll.Name = "chkBtnSelectAll"; this.chkBtnSelectAll.Label = global::Mono.Unix.Catalog.GetString("Выбрать все"); this.chkBtnSelectAll.DrawIndicator = true; this.chkBtnSelectAll.UseUnderline = true; this.hboxNomenclatureCategoriesTitle.Add(this.chkBtnSelectAll); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hboxNomenclatureCategoriesTitle[this.chkBtnSelectAll])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.vboxReferences.Add(this.hboxNomenclatureCategoriesTitle); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vboxReferences[this.hboxNomenclatureCategoriesTitle])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child vboxReferences.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.treeViewNomenclatureCategories = new global::Gamma.GtkWidgets.yTreeView(); this.treeViewNomenclatureCategories.CanFocus = true; this.treeViewNomenclatureCategories.Name = "treeViewNomenclatureCategories"; this.GtkScrolledWindow2.Add(this.treeViewNomenclatureCategories); this.vboxReferences.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vboxReferences[this.GtkScrolledWindow2])); w21.Position = 1; // Container child vboxReferences.Gtk.Box+BoxChild this.lblNomenclatures = new global::Gamma.GtkWidgets.yLabel(); this.lblNomenclatures.Name = "lblNomenclatures"; this.lblNomenclatures.Xalign = 0F; this.lblNomenclatures.LabelProp = global::Mono.Unix.Catalog.GetString("Номенклатуры:"); this.vboxReferences.Add(this.lblNomenclatures); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vboxReferences[this.lblNomenclatures])); w22.Position = 2; w22.Expand = false; w22.Fill = false; // Container child vboxReferences.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.treeViewNomenclatures = new global::Gamma.GtkWidgets.yTreeView(); this.treeViewNomenclatures.CanFocus = true; this.treeViewNomenclatures.Name = "treeViewNomenclatures"; this.GtkScrolledWindow1.Add(this.treeViewNomenclatures); this.vboxReferences.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vboxReferences[this.GtkScrolledWindow1])); w24.Position = 3; // Container child vboxReferences.Gtk.Box+BoxChild this.hboxNomenclaturesBtns = new global::Gamma.GtkWidgets.yHBox(); this.hboxNomenclaturesBtns.Name = "hboxNomenclaturesBtns"; this.hboxNomenclaturesBtns.Spacing = 6; // Container child hboxNomenclaturesBtns.Gtk.Box+BoxChild this.btnAddNomenclature = new global::Gamma.GtkWidgets.yButton(); this.btnAddNomenclature.CanFocus = true; this.btnAddNomenclature.Name = "btnAddNomenclature"; this.btnAddNomenclature.UseUnderline = true; this.btnAddNomenclature.Label = global::Mono.Unix.Catalog.GetString("Добавить номенклатуру"); this.hboxNomenclaturesBtns.Add(this.btnAddNomenclature); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hboxNomenclaturesBtns[this.btnAddNomenclature])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child hboxNomenclaturesBtns.Gtk.Box+BoxChild this.btnRemoveNomenclature = new global::Gamma.GtkWidgets.yButton(); this.btnRemoveNomenclature.CanFocus = true; this.btnRemoveNomenclature.Name = "btnRemoveNomenclature"; this.btnRemoveNomenclature.UseUnderline = true; this.btnRemoveNomenclature.Label = global::Mono.Unix.Catalog.GetString("Удалить номенклатуру"); this.hboxNomenclaturesBtns.Add(this.btnRemoveNomenclature); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hboxNomenclaturesBtns[this.btnRemoveNomenclature])); w26.Position = 1; w26.Expand = false; w26.Fill = false; this.vboxReferences.Add(this.hboxNomenclaturesBtns); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vboxReferences[this.hboxNomenclaturesBtns])); w27.Position = 4; w27.Expand = false; w27.Fill = false; // Container child vboxReferences.Gtk.Box+BoxChild this.lblProductGroups = new global::Gamma.GtkWidgets.yLabel(); this.lblProductGroups.Name = "lblProductGroups"; this.lblProductGroups.Xalign = 0F; this.lblProductGroups.LabelProp = global::Mono.Unix.Catalog.GetString("Группы товаров:"); this.vboxReferences.Add(this.lblProductGroups); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vboxReferences[this.lblProductGroups])); w28.Position = 5; w28.Expand = false; w28.Fill = false; // Container child vboxReferences.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeViewProductGroups = new global::Gamma.GtkWidgets.yTreeView(); this.treeViewProductGroups.CanFocus = true; this.treeViewProductGroups.Name = "treeViewProductGroups"; this.GtkScrolledWindow.Add(this.treeViewProductGroups); this.vboxReferences.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vboxReferences[this.GtkScrolledWindow])); w30.Position = 6; // Container child vboxReferences.Gtk.Box+BoxChild this.hboxProductGroupBtns = new global::Gamma.GtkWidgets.yHBox(); this.hboxProductGroupBtns.Name = "hboxProductGroupBtns"; this.hboxProductGroupBtns.Spacing = 6; // Container child hboxProductGroupBtns.Gtk.Box+BoxChild this.btnAddProductGroup = new global::Gamma.GtkWidgets.yButton(); this.btnAddProductGroup.CanFocus = true; this.btnAddProductGroup.Name = "btnAddProductGroup"; this.btnAddProductGroup.UseUnderline = true; this.btnAddProductGroup.Label = global::Mono.Unix.Catalog.GetString("Добавить группу товаров"); this.hboxProductGroupBtns.Add(this.btnAddProductGroup); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hboxProductGroupBtns[this.btnAddProductGroup])); w31.Position = 0; w31.Expand = false; w31.Fill = false; // Container child hboxProductGroupBtns.Gtk.Box+BoxChild this.btnRemoveProductGroup = new global::Gamma.GtkWidgets.yButton(); this.btnRemoveProductGroup.CanFocus = true; this.btnRemoveProductGroup.Name = "btnRemoveProductGroup"; this.btnRemoveProductGroup.UseUnderline = true; this.btnRemoveProductGroup.Label = global::Mono.Unix.Catalog.GetString("Удалить группу товаров"); this.hboxProductGroupBtns.Add(this.btnRemoveProductGroup); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hboxProductGroupBtns[this.btnRemoveProductGroup])); w32.Position = 1; w32.Expand = false; w32.Fill = false; this.vboxReferences.Add(this.hboxProductGroupBtns); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vboxReferences[this.hboxProductGroupBtns])); w33.Position = 7; w33.Expand = false; w33.Fill = false; this.vbox1.Add(this.vboxReferences); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vboxReferences])); w34.Position = 3; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget workwear.NomenclatureDlg this.Name = "workwear.NomenclatureDlg"; this.Title = global::Mono.Unix.Catalog.GetString ("Новая номенклатура"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child workwear.NomenclatureDlg.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table (((uint)(6)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.ycomboWearStd = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboWearStd.Name = "ycomboWearStd"; this.ycomboWearStd.ShowSpecialStateAll = false; this.ycomboWearStd.ShowSpecialStateNot = false; this.ycomboWearStd.UseShortTitle = true; this.ycomboWearStd.DefaultFirst = true; this.hbox2.Add (this.ycomboWearStd); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.ycomboWearStd])); w2.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.ycomboWearSize = new global::Gamma.GtkWidgets.yComboBox (); this.ycomboWearSize.Name = "ycomboWearSize"; this.hbox2.Add (this.ycomboWearSize); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.ycomboWearSize])); w3.Position = 1; this.table2.Add (this.hbox2); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.hbox2])); w4.TopAttach = ((uint)(4)); w4.BottomAttach = ((uint)(5)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Код:"); this.table2.Add (this.label7); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.label7])); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Наименование<span foreground=\"red\">*</span>:"); this.label8.UseMarkup = true; this.table2.Add (this.label8); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Номенклатурная группа<span foreground=\"red\">*</span>:"); this.label9.UseMarkup = true; this.table2.Add (this.label9); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.label9])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelGrowth = new global::Gtk.Label (); this.labelGrowth.Name = "labelGrowth"; this.labelGrowth.Xalign = 1F; this.labelGrowth.LabelProp = global::Mono.Unix.Catalog.GetString ("Рост:"); this.table2.Add (this.labelGrowth); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelGrowth])); w8.TopAttach = ((uint)(5)); w8.BottomAttach = ((uint)(6)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelSize = new global::Gtk.Label (); this.labelSize.Name = "labelSize"; this.labelSize.Xalign = 1F; this.labelSize.LabelProp = global::Mono.Unix.Catalog.GetString ("Размер:"); this.table2.Add (this.labelSize); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelSize])); w9.TopAttach = ((uint)(4)); w9.BottomAttach = ((uint)(5)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ycomboClothesSex = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboClothesSex.Name = "ycomboClothesSex"; this.ycomboClothesSex.ShowSpecialStateAll = false; this.ycomboClothesSex.ShowSpecialStateNot = false; this.ycomboClothesSex.UseShortTitle = false; this.ycomboClothesSex.DefaultFirst = false; this.table2.Add (this.ycomboClothesSex); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2 [this.ycomboClothesSex])); w10.TopAttach = ((uint)(3)); w10.BottomAttach = ((uint)(4)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ycomboWearGrowth = new global::Gamma.GtkWidgets.yComboBox (); this.ycomboWearGrowth.Name = "ycomboWearGrowth"; this.table2.Add (this.ycomboWearGrowth); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.ycomboWearGrowth])); w11.TopAttach = ((uint)(5)); w11.BottomAttach = ((uint)(6)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryItemsType = new global::Gamma.Widgets.yEntryReference (); this.yentryItemsType.Events = ((global::Gdk.EventMask)(256)); this.yentryItemsType.Name = "yentryItemsType"; this.table2.Add (this.yentryItemsType); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryItemsType])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yentryName = new global::Gamma.GtkWidgets.yEntry (); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.MaxLength = 240; this.yentryName.InvisibleChar = '●'; this.table2.Add (this.yentryName); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryName])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ylabelClothesSex = new global::Gamma.GtkWidgets.yLabel (); this.ylabelClothesSex.Name = "ylabelClothesSex"; this.ylabelClothesSex.Xalign = 1F; this.ylabelClothesSex.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1"); this.table2.Add (this.ylabelClothesSex); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2 [this.ylabelClothesSex])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.ylabelId = new global::Gamma.GtkWidgets.yLabel (); this.ylabelId.Name = "ylabelId"; this.ylabelId.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1"); this.table2.Add (this.ylabelId); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2 [this.ylabelId])); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); w1.Add (this.table2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(w1 [this.table2])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Internal child workwear.NomenclatureDlg.ActionArea global::Gtk.HButtonBox w17 = this.ActionArea; w17.Name = "dialog1_ActionArea"; w17.Spacing = 10; w17.BorderWidth = ((uint)(5)); w17.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("О_тменить"); global::Gtk.Image w18 = new global::Gtk.Image (); w18.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w18; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w19 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w17 [this.buttonCancel])); w19.Expand = false; w19.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("_OK"); global::Gtk.Image w20 = new global::Gtk.Image (); w20.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu); this.buttonOk.Image = w20; w17.Add (this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w21 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w17 [this.buttonOk])); w21.Position = 1; w21.Expand = false; w21.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 425; this.DefaultHeight = 269; this.ycomboClothesSex.Hide (); this.ylabelClothesSex.Hide (); this.Show (); this.yentryItemsType.Changed += new global::System.EventHandler (this.OnYentryItemsTypeChanged); this.ycomboClothesSex.Changed += new global::System.EventHandler (this.OnYcomboClothesSexChanged); this.ycomboWearStd.Changed += new global::System.EventHandler (this.OnYcomboWearStdChanged); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.ReportParameters.Views.RequestSheetView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.ReportParameters.Views.RequestSheetView"; // Container child workwear.ReportParameters.Views.RequestSheetView.Gtk.Container+ContainerChild this.dialog1_VBox = new global::Gtk.VBox(); this.dialog1_VBox.Name = "dialog1_VBox"; this.dialog1_VBox.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(5)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboQuarter = new global::Gamma.Widgets.ySpecComboBox(); this.comboQuarter.Name = "comboQuarter"; this.comboQuarter.AddIfNotExist = false; this.comboQuarter.DefaultFirst = false; this.comboQuarter.ShowSpecialStateAll = false; this.comboQuarter.ShowSpecialStateNot = false; this.table1.Add(this.comboQuarter); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.comboQuarter])); w1.TopAttach = ((uint)(3)); w1.BottomAttach = ((uint)(4)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entitySubdivision = new global::QS.Views.Control.EntityEntry(); this.entitySubdivision.Events = ((global::Gdk.EventMask)(256)); this.entitySubdivision.Name = "entitySubdivision"; this.table1.Add(this.entitySubdivision); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entitySubdivision])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.radioMonth = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Месяц")); this.radioMonth.CanFocus = true; this.radioMonth.Name = "radioMonth"; this.radioMonth.DrawIndicator = true; this.radioMonth.UseUnderline = true; this.radioMonth.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.hbox1.Add(this.radioMonth); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioMonth])); w3.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.radioQuarter = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Квартал")); this.radioQuarter.CanFocus = true; this.radioQuarter.Name = "radioQuarter"; this.radioQuarter.DrawIndicator = true; this.radioQuarter.UseUnderline = true; this.radioQuarter.Group = this.radioMonth.Group; this.hbox1.Add(this.radioQuarter); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioQuarter])); w4.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.radioYear = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Год")); this.radioYear.CanFocus = true; this.radioYear.Name = "radioYear"; this.radioYear.DrawIndicator = true; this.radioYear.UseUnderline = true; this.radioYear.Group = this.radioMonth.Group; this.hbox1.Add(this.radioYear); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.radioYear])); w5.Position = 2; this.table1.Add(this.hbox1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox1])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Период:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelPeriodType = new global::Gamma.GtkWidgets.yLabel(); this.labelPeriodType.Name = "labelPeriodType"; this.labelPeriodType.Xalign = 1F; this.labelPeriodType.LabelProp = global::Mono.Unix.Catalog.GetString("Квартал:"); this.table1.Add(this.labelPeriodType); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.labelPeriodType])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycheckChild = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckChild.CanFocus = true; this.ycheckChild.Name = "ycheckChild"; this.ycheckChild.Label = global::Mono.Unix.Catalog.GetString("Учитывать дочерние"); this.ycheckChild.DrawIndicator = true; this.ycheckChild.UseUnderline = true; this.table1.Add(this.ycheckChild); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.ycheckChild])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yenumIssueType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumIssueType.Name = "yenumIssueType"; this.yenumIssueType.ShowSpecialStateAll = true; this.yenumIssueType.ShowSpecialStateNot = false; this.yenumIssueType.UseShortTitle = false; this.yenumIssueType.DefaultFirst = true; this.table1.Add(this.yenumIssueType); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumIssueType])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.Xalign = 1F; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Тип выдачи:"); this.table1.Add(this.ylabel1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.dialog1_VBox.Add(this.table1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.table1])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Номенклатура нормы"); this.dialog1_VBox.Add(this.ylabel2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.ylabel2])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.ycheckbuttonAllNomenclature = new global::Gamma.GtkWidgets.yButton(); this.ycheckbuttonAllNomenclature.CanFocus = true; this.ycheckbuttonAllNomenclature.Name = "ycheckbuttonAllNomenclature"; this.ycheckbuttonAllNomenclature.UseUnderline = true; this.ycheckbuttonAllNomenclature.Label = global::Mono.Unix.Catalog.GetString("Выделить/снять выделение"); this.dialog1_VBox.Add(this.ycheckbuttonAllNomenclature); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.ycheckbuttonAllNomenclature])); w15.Position = 2; w15.Expand = false; w15.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.buttonRun = new global::Gtk.Button(); this.buttonRun.CanFocus = true; this.buttonRun.Name = "buttonRun"; this.buttonRun.UseUnderline = true; this.buttonRun.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.dialog1_VBox.Add(this.buttonRun); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.buttonRun])); w16.PackType = ((global::Gtk.PackType)(1)); w16.Position = 3; w16.Expand = false; w16.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.ytreeNomenclature = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeNomenclature.CanFocus = true; this.ytreeNomenclature.Name = "ytreeNomenclature"; this.ytreeNomenclature.HeadersVisible = false; this.scrolledwindow1.Add(this.ytreeNomenclature); this.dialog1_VBox.Add(this.scrolledwindow1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.scrolledwindow1])); w18.PackType = ((global::Gtk.PackType)(1)); w18.Position = 4; this.Add(this.dialog1_VBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.radioMonth.Toggled += new global::System.EventHandler(this.OnRadioMonthToggled); this.radioQuarter.Toggled += new global::System.EventHandler(this.OnRadioQuarterToggled); this.radioYear.Toggled += new global::System.EventHandler(this.OnRadioYearToggled); this.ycheckbuttonAllNomenclature.Clicked += new global::System.EventHandler(this.SelectAll); this.buttonRun.Clicked += new global::System.EventHandler(this.OnButtonRunClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.EquipmentTypeDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.EquipmentTypeDlg"; // Container child Vodovoz.EquipmentTypeDlg.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add (this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.enumWarrantyType = new global::Gamma.Widgets.yEnumComboBox (); this.enumWarrantyType.Name = "enumWarrantyType"; this.enumWarrantyType.ShowSpecialStateAll = false; this.enumWarrantyType.ShowSpecialStateNot = false; this.enumWarrantyType.UseShortTitle = false; this.enumWarrantyType.DefaultFirst = false; this.table1.Add (this.enumWarrantyType); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.enumWarrantyType])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelName = new global::Gtk.Label (); this.labelName.Name = "labelName"; this.labelName.Xalign = 1F; this.labelName.LabelProp = global::Mono.Unix.Catalog.GetString ("Название:"); this.table1.Add (this.labelName); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelName])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelName1 = new global::Gtk.Label (); this.labelName1.Name = "labelName1"; this.labelName1.Xalign = 1F; this.labelName1.LabelProp = global::Mono.Unix.Catalog.GetString ("Тип гарантийного талона:"); this.table1.Add (this.labelName1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelName1])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryName = new global::Gamma.GtkWidgets.yEntry (); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.MaxLength = 80; this.yentryName.InvisibleChar = '•'; this.table1.Add (this.yentryName); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryName])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add (this.table1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1])); w10.PackType = ((global::Gtk.PackType)(1)); w10.Position = 1; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.Store.DefectiveItemsReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Store.DefectiveItemsReport"; // Container child Vodovoz.ReportsParameters.Store.DefectiveItemsReport.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)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.buttonRun = new global::Gtk.Button(); this.buttonRun.Sensitive = false; this.buttonRun.CanFocus = true; this.buttonRun.Name = "buttonRun"; this.buttonRun.UseUnderline = true; this.buttonRun.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.table1.Add(this.buttonRun); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonRun])); w1.TopAttach = ((uint)(3)); w1.BottomAttach = ((uint)(4)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(0)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.datePeriod = new global::QS.Widgets.GtkUI.DateRangePicker(); this.datePeriod.Events = ((global::Gdk.EventMask)(256)); this.datePeriod.Name = "datePeriod"; this.datePeriod.StartDate = new global::System.DateTime(0); this.datePeriod.EndDate = new global::System.DateTime(0); this.table1.Add(this.datePeriod); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.datePeriod])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.evmeDriver = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeDriver.Events = ((global::Gdk.EventMask)(256)); this.evmeDriver.Name = "evmeDriver"; this.evmeDriver.CanEditReference = true; this.table1.Add(this.evmeDriver); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.evmeDriver])); 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.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 w4 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Источник брака:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yEnumCmbSource = new global::Gamma.Widgets.yEnumComboBox(); this.yEnumCmbSource.Name = "yEnumCmbSource"; this.yEnumCmbSource.ShowSpecialStateAll = true; this.yEnumCmbSource.ShowSpecialStateNot = false; this.yEnumCmbSource.UseShortTitle = false; this.yEnumCmbSource.DefaultFirst = false; this.table1.Add(this.yEnumCmbSource); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.yEnumCmbSource])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.CashIncomeDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.CashIncomeDlg"; // Container child Vodovoz.CashIncomeDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox2.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox2.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonPrint = new global::Gtk.Button(); this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w5; this.hbox2.Add(this.buttonPrint); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonPrint])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(7)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checkNoClose = new global::Gamma.GtkWidgets.yCheckButton(); this.checkNoClose.CanFocus = true; this.checkNoClose.Name = "checkNoClose"; this.checkNoClose.Label = global::Mono.Unix.Catalog.GetString("Частичный возврат"); this.checkNoClose.DrawIndicator = true; this.checkNoClose.UseUnderline = true; this.table1.Add(this.checkNoClose); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.checkNoClose])); w8.TopAttach = ((uint)(5)); w8.BottomAttach = ((uint)(6)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboCategory = new global::Gamma.Widgets.ySpecComboBox(); this.comboCategory.Name = "comboCategory"; this.comboCategory.AddIfNotExist = false; this.comboCategory.DefaultFirst = false; this.comboCategory.ShowSpecialStateAll = false; this.comboCategory.ShowSpecialStateNot = true; this.table1.Add(this.comboCategory); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.comboCategory])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboExpense = new global::Gamma.Widgets.ySpecComboBox(); this.comboExpense.Name = "comboExpense"; this.comboExpense.AddIfNotExist = false; this.comboExpense.DefaultFirst = false; this.comboExpense.ShowSpecialStateAll = false; this.comboExpense.ShowSpecialStateNot = true; this.table1.Add(this.comboExpense); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.comboExpense])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumcomboOperation = new global::Gamma.Widgets.yEnumComboBox(); this.enumcomboOperation.Name = "enumcomboOperation"; this.enumcomboOperation.ShowSpecialStateAll = false; this.enumcomboOperation.ShowSpecialStateNot = false; this.enumcomboOperation.UseShortTitle = false; this.enumcomboOperation.DefaultFirst = false; this.table1.Add(this.enumcomboOperation); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.enumcomboOperation])); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.yspinMoney = new global::Gamma.GtkWidgets.ySpinButton(0, 1000000, 100); this.yspinMoney.CanDefault = true; this.yspinMoney.CanFocus = true; this.yspinMoney.Name = "yspinMoney"; this.yspinMoney.Adjustment.PageIncrement = 1000; this.yspinMoney.ClimbRate = 1; this.yspinMoney.Digits = ((uint)(2)); this.yspinMoney.Numeric = true; this.yspinMoney.ValueAsDecimal = 0m; this.yspinMoney.ValueAsInt = 0; this.hbox6.Add(this.yspinMoney); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspinMoney])); w12.Position = 0; // Container child hbox6.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.hbox6.Add(this.currencylabel1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.currencylabel1])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.table1.Add(this.hbox6); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox6])); w14.TopAttach = ((uint)(6)); w14.BottomAttach = ((uint)(7)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Кассир:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w16.LeftAttach = ((uint)(2)); w16.RightAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Тип операции:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Сумма:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w18.TopAttach = ((uint)(6)); w18.BottomAttach = ((uint)(7)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelClientTitle = new global::Gtk.Label(); this.labelClientTitle.Name = "labelClientTitle"; this.labelClientTitle.Xalign = 1F; this.labelClientTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Клиент:"); this.table1.Add(this.labelClientTitle); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.labelClientTitle])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelEmploeey = new global::Gtk.Label(); this.labelEmploeey.Name = "labelEmploeey"; this.labelEmploeey.Xalign = 1F; this.labelEmploeey.LabelProp = global::Mono.Unix.Catalog.GetString("Сотрудник:"); this.table1.Add(this.labelEmploeey); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.labelEmploeey])); w20.TopAttach = ((uint)(4)); w20.BottomAttach = ((uint)(5)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelExpenseTitle = new global::Gtk.Label(); this.labelExpenseTitle.Name = "labelExpenseTitle"; this.labelExpenseTitle.Xalign = 1F; this.labelExpenseTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.table1.Add(this.labelExpenseTitle); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.labelExpenseTitle])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelIncomeTitle = new global::Gtk.Label(); this.labelIncomeTitle.Name = "labelIncomeTitle"; this.labelIncomeTitle.Xalign = 1F; this.labelIncomeTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Статья дохода:"); this.table1.Add(this.labelIncomeTitle); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.labelIncomeTitle])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydateDocument = new global::Gamma.Widgets.yDatePicker(); this.ydateDocument.Events = ((global::Gdk.EventMask)(256)); this.ydateDocument.Name = "ydateDocument"; this.ydateDocument.WithTime = false; this.ydateDocument.Date = new global::System.DateTime(0); this.ydateDocument.IsEditable = true; this.ydateDocument.AutoSeparation = true; this.table1.Add(this.ydateDocument); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateDocument])); w23.TopAttach = ((uint)(1)); w23.BottomAttach = ((uint)(2)); w23.LeftAttach = ((uint)(3)); w23.RightAttach = ((uint)(4)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryCasher = new global::Gamma.Widgets.yEntryReference(); this.yentryCasher.Sensitive = false; this.yentryCasher.Events = ((global::Gdk.EventMask)(256)); this.yentryCasher.Name = "yentryCasher"; this.table1.Add(this.yentryCasher); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryCasher])); w24.LeftAttach = ((uint)(3)); w24.RightAttach = ((uint)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryClient = new global::Gamma.Widgets.yEntryReference(); this.yentryClient.Events = ((global::Gdk.EventMask)(256)); this.yentryClient.Name = "yentryClient"; this.table1.Add(this.yentryClient); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryClient])); w25.TopAttach = ((uint)(3)); w25.BottomAttach = ((uint)(4)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryEmploeey = new global::Gamma.Widgets.yEntryReference(); this.yentryEmploeey.Events = ((global::Gdk.EventMask)(256)); this.yentryEmploeey.Name = "yentryEmploeey"; this.table1.Add(this.yentryEmploeey); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryEmploeey])); w26.TopAttach = ((uint)(4)); w26.BottomAttach = ((uint)(5)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w27.Position = 1; w27.Expand = false; w27.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vboxDebts = new global::Gtk.VBox(); this.vboxDebts.Name = "vboxDebts"; this.vboxDebts.Spacing = 6; this.vboxDebts.BorderWidth = ((uint)(6)); // Container child vboxDebts.Gtk.Box+BoxChild this.labelTableTitle = new global::Gtk.Label(); this.labelTableTitle.Name = "labelTableTitle"; this.labelTableTitle.Xalign = 0F; this.labelTableTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Последние выданные авансы:"); this.vboxDebts.Add(this.labelTableTitle); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vboxDebts[this.labelTableTitle])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child vboxDebts.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeviewDebts = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewDebts.CanFocus = true; this.ytreeviewDebts.Name = "ytreeviewDebts"; this.GtkScrolledWindow1.Add(this.ytreeviewDebts); this.vboxDebts.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vboxDebts[this.GtkScrolledWindow1])); w30.Position = 1; this.vbox1.Add(this.vboxDebts); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vboxDebts])); w31.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Основание:"); this.vbox1.Add(this.label6); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label6])); w32.Position = 3; w32.Expand = false; w32.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewDescription = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewDescription.CanFocus = true; this.ytextviewDescription.Name = "ytextviewDescription"; this.ytextviewDescription.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add(this.ytextviewDescription); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w34.Position = 4; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.comboExpense.Hide(); this.labelExpenseTitle.Hide(); this.vboxDebts.Hide(); this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.buttonPrint.Clicked += new global::System.EventHandler(this.OnButtonPrintClicked); this.yentryEmploeey.Changed += new global::System.EventHandler(this.OnYentryEmploeeyChanged); this.enumcomboOperation.EnumItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnEnumcomboOperationEnumItemSelected); this.comboExpense.ItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnComboExpenseItemSelected); this.checkNoClose.Toggled += new global::System.EventHandler(this.OnCheckNoCloseToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.OrdersFilter global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.OrdersFilter"; // Container child Vodovoz.OrdersFilter.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(6)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checkHideService = new global::Gtk.CheckButton(); this.checkHideService.CanFocus = true; this.checkHideService.Name = "checkHideService"; this.checkHideService.Label = global::Mono.Unix.Catalog.GetString("Скрыть выезд мастера"); this.checkHideService.Active = true; this.checkHideService.DrawIndicator = true; this.checkHideService.UseUnderline = true; this.table1.Add(this.checkHideService); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.checkHideService])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); 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.checkLessThreeHours = new global::Gtk.CheckButton(); this.checkLessThreeHours.CanFocus = true; this.checkLessThreeHours.Name = "checkLessThreeHours"; this.checkLessThreeHours.Label = global::Mono.Unix.Catalog.GetString("Менее 3-х часов"); this.checkLessThreeHours.DrawIndicator = true; this.checkLessThreeHours.UseUnderline = true; this.table1.Add(this.checkLessThreeHours); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.checkLessThreeHours])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.LeftAttach = ((uint)(5)); w2.RightAttach = ((uint)(6)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkOnlySelfDelivery = new global::Gtk.CheckButton(); this.checkOnlySelfDelivery.CanFocus = true; this.checkOnlySelfDelivery.Name = "checkOnlySelfDelivery"; this.checkOnlySelfDelivery.Label = global::Mono.Unix.Catalog.GetString("Только самовывоз"); this.checkOnlySelfDelivery.DrawIndicator = true; this.checkOnlySelfDelivery.UseUnderline = true; this.table1.Add(this.checkOnlySelfDelivery); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.checkOnlySelfDelivery])); w3.LeftAttach = ((uint)(4)); w3.RightAttach = ((uint)(5)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkOnlyService = new global::Gtk.CheckButton(); this.checkOnlyService.CanFocus = true; this.checkOnlyService.Name = "checkOnlyService"; this.checkOnlyService.Label = global::Mono.Unix.Catalog.GetString("Только выезд мастера"); this.checkOnlyService.DrawIndicator = true; this.checkOnlyService.UseUnderline = true; this.table1.Add(this.checkOnlyService); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.checkOnlyService])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(4)); w4.RightAttach = ((uint)(5)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkWithoutCoordinates = new global::Gtk.CheckButton(); this.checkWithoutCoordinates.CanFocus = true; this.checkWithoutCoordinates.Name = "checkWithoutCoordinates"; this.checkWithoutCoordinates.Label = global::Mono.Unix.Catalog.GetString("Только без координат"); this.checkWithoutCoordinates.DrawIndicator = true; this.checkWithoutCoordinates.UseUnderline = true; this.table1.Add(this.checkWithoutCoordinates); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.checkWithoutCoordinates])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); 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.checkWithoutSelfDelivery = new global::Gtk.CheckButton(); this.checkWithoutSelfDelivery.CanFocus = true; this.checkWithoutSelfDelivery.Name = "checkWithoutSelfDelivery"; this.checkWithoutSelfDelivery.Label = global::Mono.Unix.Catalog.GetString("Скрыть самовывозы"); this.checkWithoutSelfDelivery.DrawIndicator = true; this.checkWithoutSelfDelivery.UseUnderline = true; this.table1.Add(this.checkWithoutSelfDelivery); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.checkWithoutSelfDelivery])); w6.LeftAttach = ((uint)(5)); w6.RightAttach = ((uint)(6)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.dateperiodOrders = new global::QS.Widgets.GtkUI.DateRangePicker(); this.dateperiodOrders.Events = ((global::Gdk.EventMask)(256)); this.dateperiodOrders.Name = "dateperiodOrders"; this.dateperiodOrders.StartDate = new global::System.DateTime(0); this.dateperiodOrders.EndDate = new global::System.DateTime(0); this.table1.Add(this.dateperiodOrders); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodOrders])); w7.LeftAttach = ((uint)(3)); w7.RightAttach = ((uint)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryreferenceClient = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.entryreferenceClient.Events = ((global::Gdk.EventMask)(256)); this.entryreferenceClient.Name = "entryreferenceClient"; this.table1.Add(this.entryreferenceClient); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.entryreferenceClient])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryreferencePoint = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.entryreferencePoint.Sensitive = false; this.entryreferencePoint.Events = ((global::Gdk.EventMask)(256)); this.entryreferencePoint.Name = "entryreferencePoint"; this.table1.Add(this.entryreferencePoint); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.entryreferencePoint])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(3)); w9.RightAttach = ((uint)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumcomboPaymentType = new global::Gamma.Widgets.yEnumComboBox(); this.enumcomboPaymentType.Name = "enumcomboPaymentType"; this.enumcomboPaymentType.ShowSpecialStateAll = true; this.enumcomboPaymentType.ShowSpecialStateNot = false; this.enumcomboPaymentType.UseShortTitle = false; this.enumcomboPaymentType.DefaultFirst = false; this.table1.Add(this.enumcomboPaymentType); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.enumcomboPaymentType])); 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.enumcomboStatus = new global::Gamma.Widgets.yEnumComboBox(); this.enumcomboStatus.Name = "enumcomboStatus"; this.enumcomboStatus.ShowSpecialStateAll = true; this.enumcomboStatus.ShowSpecialStateNot = false; this.enumcomboStatus.UseShortTitle = false; this.enumcomboStatus.DefaultFirst = false; this.table1.Add(this.enumcomboStatus); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.enumcomboStatus])); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Статус:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Контрагент:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w13.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.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Точка доставки:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Период:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Тип оплаты:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.enumcomboStatus.Changed += new global::System.EventHandler(this.OnEnumcomboStatusChanged); this.enumcomboPaymentType.Changed += new global::System.EventHandler(this.OnEnumcomboPaymentTypeChanged); this.entryreferencePoint.Changed += new global::System.EventHandler(this.OnEntryreferencePointChanged); this.entryreferenceClient.Changed += new global::System.EventHandler(this.OnEntryreferenceClientChanged); this.dateperiodOrders.PeriodChanged += new global::System.EventHandler(this.OnDateperiodOrdersPeriodChanged); this.dateperiodOrders.StartDateChanged += new global::System.EventHandler(this.OnDateperiodOrdersStartDateChanged); this.dateperiodOrders.EndDateChanged += new global::System.EventHandler(this.OnDateperiodOrdersEndDateChanged); this.checkWithoutSelfDelivery.Toggled += new global::System.EventHandler(this.OnCheckWithoutSelfDeliveryToggled); this.checkWithoutCoordinates.Toggled += new global::System.EventHandler(this.OnCheckWithoutCoordinatesToggled); this.checkOnlyService.Toggled += new global::System.EventHandler(this.OnCheckOnlyServiceToggled); this.checkOnlySelfDelivery.Toggled += new global::System.EventHandler(this.OnCheckOnlySelfDeliveryToggled); this.checkLessThreeHours.Toggled += new global::System.EventHandler(this.OnCheckLessThreeHoursToggled); this.checkHideService.Toggled += new global::System.EventHandler(this.OnCheckServiceToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.CounterpartyDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.CounterpartyDlg"; // Container child Vodovoz.CounterpartyDlg.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.HeightRequest = 400; this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(6)); // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-floppy", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox1.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отмена"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.menuActions = new global::QSWidgetLib.MenuButton(); this.menuActions.CanFocus = true; this.menuActions.Name = "menuActions"; this.menuActions.UseUnderline = true; this.menuActions.UseMarkup = false; global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.menu.png"); this.menuActions.Image = w5; this.hbox1.Add(this.menuActions); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.menuActions])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox2.Add(this.hseparator1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hseparator1])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox19 = new global::Gtk.HBox(); this.hbox19.Name = "hbox19"; this.hbox19.Spacing = 6; // Container child hbox19.Gtk.Box+BoxChild this.radioInfo = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Информация")); this.radioInfo.CanFocus = true; this.radioInfo.Name = "radioInfo"; this.radioInfo.DrawIndicator = false; this.radioInfo.UseUnderline = true; this.radioInfo.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.hbox19.Add(this.radioInfo); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioInfo])); w9.Position = 0; // Container child hbox19.Gtk.Box+BoxChild this.radioContacts = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Контакты")); this.radioContacts.CanFocus = true; this.radioContacts.Name = "radioContacts"; this.radioContacts.DrawIndicator = false; this.radioContacts.UseUnderline = true; this.radioContacts.Group = this.radioInfo.Group; this.hbox19.Add(this.radioContacts); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioContacts])); w10.Position = 1; // Container child hbox19.Gtk.Box+BoxChild this.radioDetails = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Реквизиты")); this.radioDetails.CanFocus = true; this.radioDetails.Name = "radioDetails"; this.radioDetails.DrawIndicator = false; this.radioDetails.UseUnderline = true; this.radioDetails.Group = this.radioInfo.Group; this.hbox19.Add(this.radioDetails); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioDetails])); w11.Position = 2; // Container child hbox19.Gtk.Box+BoxChild this.radioCurators = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Кураторы")); this.radioCurators.CanFocus = true; this.radioCurators.Name = "radioCurators"; this.radioCurators.DrawIndicator = false; this.radioCurators.UseUnderline = true; this.radioCurators.Group = this.radioInfo.Group; this.hbox19.Add(this.radioCurators); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioCurators])); w12.Position = 3; // Container child hbox19.Gtk.Box+BoxChild this.radioContactPersons = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Контактные лица")); this.radioContactPersons.CanFocus = true; this.radioContactPersons.Name = "radioContactPersons"; this.radioContactPersons.DrawIndicator = false; this.radioContactPersons.UseUnderline = true; this.radioContactPersons.Group = this.radioInfo.Group; this.hbox19.Add(this.radioContactPersons); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioContactPersons])); w13.Position = 4; // Container child hbox19.Gtk.Box+BoxChild this.radiobuttonProxies = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Доверенности")); this.radiobuttonProxies.CanFocus = true; this.radiobuttonProxies.Name = "radiobuttonProxies"; this.radiobuttonProxies.DrawIndicator = false; this.radiobuttonProxies.UseUnderline = true; this.radiobuttonProxies.Group = this.radioInfo.Group; this.hbox19.Add(this.radiobuttonProxies); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radiobuttonProxies])); w14.Position = 5; // Container child hbox19.Gtk.Box+BoxChild this.radioContracts = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Договор")); this.radioContracts.CanFocus = true; this.radioContracts.Name = "radioContracts"; this.radioContracts.DrawIndicator = false; this.radioContracts.UseUnderline = true; this.radioContracts.Group = this.radioInfo.Group; this.hbox19.Add(this.radioContracts); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioContracts])); w15.Position = 6; // Container child hbox19.Gtk.Box+BoxChild this.radioDeliveryPoint = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Точки доставки")); this.radioDeliveryPoint.CanFocus = true; this.radioDeliveryPoint.Name = "radioDeliveryPoint"; this.radioDeliveryPoint.DrawIndicator = false; this.radioDeliveryPoint.UseUnderline = true; this.radioDeliveryPoint.Group = this.radioInfo.Group; this.hbox19.Add(this.radioDeliveryPoint); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioDeliveryPoint])); w16.Position = 7; this.vbox2.Add(this.hbox19); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox19])); w17.Position = 2; w17.Expand = false; w17.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild global::Gtk.Viewport w18 = new global::Gtk.Viewport(); w18.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(11)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.datalegalname1 = new global::QSOrmProject.yLegalName(); this.datalegalname1.Events = ((global::Gdk.EventMask)(256)); this.datalegalname1.Name = "datalegalname1"; this.table1.Add(this.datalegalname1); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.datalegalname1])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(4)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryFIO = new global::Gamma.GtkWidgets.yEntry(); this.entryFIO.CanFocus = true; this.entryFIO.Name = "entryFIO"; this.entryFIO.IsEditable = true; this.entryFIO.InvisibleChar = '●'; this.table1.Add(this.entryFIO); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.entryFIO])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryFullName = new global::Gamma.GtkWidgets.yEntry(); this.entryFullName.CanFocus = true; this.entryFullName.Name = "entryFullName"; this.entryFullName.IsEditable = true; this.entryFullName.MaxLength = 300; this.entryFullName.InvisibleChar = '●'; this.table1.Add(this.entryFullName); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.entryFullName])); w21.TopAttach = ((uint)(3)); w21.BottomAttach = ((uint)(4)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumDefaultDocumentType = new global::Gamma.Widgets.yEnumComboBox(); this.enumDefaultDocumentType.Name = "enumDefaultDocumentType"; this.enumDefaultDocumentType.ShowSpecialStateAll = false; this.enumDefaultDocumentType.ShowSpecialStateNot = false; this.enumDefaultDocumentType.UseShortTitle = false; this.enumDefaultDocumentType.DefaultFirst = false; this.table1.Add(this.enumDefaultDocumentType); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.enumDefaultDocumentType])); w22.TopAttach = ((uint)(8)); w22.BottomAttach = ((uint)(9)); w22.LeftAttach = ((uint)(3)); w22.RightAttach = ((uint)(4)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.enumPayment = new global::Gamma.Widgets.yEnumComboBox(); this.enumPayment.Name = "enumPayment"; this.enumPayment.ShowSpecialStateAll = false; this.enumPayment.ShowSpecialStateNot = false; this.enumPayment.UseShortTitle = false; this.enumPayment.DefaultFirst = false; this.table1.Add(this.enumPayment); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.enumPayment])); w23.TopAttach = ((uint)(8)); w23.BottomAttach = ((uint)(9)); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(2)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow5 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow5.Name = "GtkScrolledWindow5"; this.GtkScrolledWindow5.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow5.Gtk.Container+ContainerChild this.dataWaybillComment = new global::Gamma.GtkWidgets.yTextView(); this.dataWaybillComment.CanFocus = true; this.dataWaybillComment.Name = "dataWaybillComment"; this.GtkScrolledWindow5.Add(this.dataWaybillComment); this.table1.Add(this.GtkScrolledWindow5); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow5])); w25.TopAttach = ((uint)(10)); w25.BottomAttach = ((uint)(11)); w25.LeftAttach = ((uint)(3)); w25.RightAttach = ((uint)(4)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow6 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow6.Name = "GtkScrolledWindow6"; this.GtkScrolledWindow6.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow6.Gtk.Container+ContainerChild this.dataComment = new global::Gamma.GtkWidgets.yTextView(); this.dataComment.CanFocus = true; this.dataComment.Name = "dataComment"; this.GtkScrolledWindow6.Add(this.dataComment); this.table1.Add(this.GtkScrolledWindow6); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow6])); w27.TopAttach = ((uint)(10)); w27.BottomAttach = ((uint)(11)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox17 = new global::Gtk.HBox(); this.hbox17.Name = "hbox17"; this.hbox17.Spacing = 6; // Container child hbox17.Gtk.Box+BoxChild this.enumPersonType = new global::Gamma.Widgets.yEnumComboBox(); this.enumPersonType.Name = "enumPersonType"; this.enumPersonType.ShowSpecialStateAll = false; this.enumPersonType.ShowSpecialStateNot = false; this.enumPersonType.UseShortTitle = false; this.enumPersonType.DefaultFirst = false; this.hbox17.Add(this.enumPersonType); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.enumPersonType])); w28.Position = 0; // Container child hbox17.Gtk.Box+BoxChild this.ycheckIsArchived = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckIsArchived.TooltipMarkup = "Больше не работаем с этим клиентом"; this.ycheckIsArchived.CanFocus = true; this.ycheckIsArchived.Name = "ycheckIsArchived"; this.ycheckIsArchived.Label = global::Mono.Unix.Catalog.GetString("Архивный"); this.ycheckIsArchived.DrawIndicator = true; this.ycheckIsArchived.UseUnderline = true; this.hbox17.Add(this.ycheckIsArchived); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.ycheckIsArchived])); w29.Position = 1; w29.Expand = false; w29.Fill = false; this.table1.Add(this.hbox17); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox17])); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label19 = new global::Gtk.Label(); this.label19.Name = "label19"; this.label19.Xalign = 1F; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString(" Максимальная\nсумма кредита:"); this.table1.Add(this.label19); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1[this.label19])); w31.TopAttach = ((uint)(9)); w31.BottomAttach = ((uint)(10)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label25 = new global::Gtk.Label(); this.label25.Name = "label25"; this.label25.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий\nдля накладной:"); this.label25.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.label25); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1[this.label25])); w32.TopAttach = ((uint)(10)); w32.BottomAttach = ((uint)(11)); w32.LeftAttach = ((uint)(2)); w32.RightAttach = ((uint)(3)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label26 = new global::Gtk.Label(); this.label26.Name = "label26"; this.label26.Xalign = 1F; this.label26.LabelProp = global::Mono.Unix.Catalog.GetString(" Форма оплаты \n(по умолчанию):"); this.table1.Add(this.label26); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1[this.label26])); w33.TopAttach = ((uint)(8)); w33.BottomAttach = ((uint)(9)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label31 = new global::Gtk.Label(); this.label31.Name = "label31"; this.label31.Xalign = 1F; this.label31.LabelProp = global::Mono.Unix.Catalog.GetString("Внутренний\nкомментарий:"); this.label31.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.label31); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1[this.label31])); w34.TopAttach = ((uint)(10)); w34.BottomAttach = ((uint)(11)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Предыдущий контрагент:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w35.TopAttach = ((uint)(5)); w35.BottomAttach = ((uint)(6)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Статус:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w36.TopAttach = ((uint)(6)); w36.BottomAttach = ((uint)(7)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Значимость:"); this.table1.Add(this.label6); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table1[this.label6])); w37.TopAttach = ((uint)(7)); w37.BottomAttach = ((uint)(8)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Форма контрагента:"); this.table1.Add(this.label8); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Тип контрагента:"); this.table1.Add(this.label9); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1[this.label9])); w39.TopAttach = ((uint)(6)); w39.BottomAttach = ((uint)(7)); w39.LeftAttach = ((uint)(2)); w39.RightAttach = ((uint)(3)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDefaultDocumentType = new global::Gtk.Label(); this.labelDefaultDocumentType.Name = "labelDefaultDocumentType"; this.labelDefaultDocumentType.Xalign = 1F; this.labelDefaultDocumentType.LabelProp = global::Mono.Unix.Catalog.GetString("Тип документов\n(по умолчанию):"); this.table1.Add(this.labelDefaultDocumentType); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDefaultDocumentType])); w40.TopAttach = ((uint)(8)); w40.BottomAttach = ((uint)(9)); w40.LeftAttach = ((uint)(2)); w40.RightAttach = ((uint)(3)); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDefaultExpense = new global::Gtk.Label(); this.labelDefaultExpense.Name = "labelDefaultExpense"; this.labelDefaultExpense.Xalign = 1F; this.labelDefaultExpense.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода\nпо-умолчанию:"); this.table1.Add(this.labelDefaultExpense); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDefaultExpense])); w41.TopAttach = ((uint)(9)); w41.BottomAttach = ((uint)(10)); w41.LeftAttach = ((uint)(2)); w41.RightAttach = ((uint)(3)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelFIO = new global::Gtk.Label(); this.labelFIO.Name = "labelFIO"; this.labelFIO.Xalign = 1F; this.labelFIO.LabelProp = global::Mono.Unix.Catalog.GetString("Ф.И.О.:"); this.table1.Add(this.labelFIO); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table1[this.labelFIO])); w42.TopAttach = ((uint)(1)); w42.BottomAttach = ((uint)(2)); w42.XOptions = ((global::Gtk.AttachOptions)(4)); w42.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelFullName = new global::Gtk.Label(); this.labelFullName.Name = "labelFullName"; this.labelFullName.Xalign = 1F; this.labelFullName.LabelProp = global::Mono.Unix.Catalog.GetString("Полное наименование:"); this.table1.Add(this.labelFullName); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table1[this.labelFullName])); w43.TopAttach = ((uint)(3)); w43.BottomAttach = ((uint)(4)); w43.XOptions = ((global::Gtk.AttachOptions)(4)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelMainCounterparty = new global::Gtk.Label(); this.labelMainCounterparty.Name = "labelMainCounterparty"; this.labelMainCounterparty.Xalign = 1F; this.labelMainCounterparty.LabelProp = global::Mono.Unix.Catalog.GetString("Головная организация:"); this.table1.Add(this.labelMainCounterparty); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table1[this.labelMainCounterparty])); w44.TopAttach = ((uint)(4)); w44.BottomAttach = ((uint)(5)); w44.XOptions = ((global::Gtk.AttachOptions)(4)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelShort = new global::Gtk.Label(); this.labelShort.Name = "labelShort"; this.labelShort.Xalign = 1F; this.labelShort.LabelProp = global::Mono.Unix.Catalog.GetString("Наименование:"); this.table1.Add(this.labelShort); global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.table1[this.labelShort])); w45.TopAttach = ((uint)(2)); w45.BottomAttach = ((uint)(3)); w45.XOptions = ((global::Gtk.AttachOptions)(4)); w45.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referenceDefaultExpense = new global::Gamma.Widgets.yEntryReference(); this.referenceDefaultExpense.Events = ((global::Gdk.EventMask)(256)); this.referenceDefaultExpense.Name = "referenceDefaultExpense"; this.referenceDefaultExpense.DisplayFields = new string[] { "Name"}; this.table1.Add(this.referenceDefaultExpense); global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceDefaultExpense])); w46.TopAttach = ((uint)(9)); w46.BottomAttach = ((uint)(10)); w46.LeftAttach = ((uint)(3)); w46.RightAttach = ((uint)(4)); w46.XOptions = ((global::Gtk.AttachOptions)(4)); w46.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referenceMainCounterparty = new global::Gamma.Widgets.yEntryReferenceVM(); this.referenceMainCounterparty.Events = ((global::Gdk.EventMask)(256)); this.referenceMainCounterparty.Name = "referenceMainCounterparty"; this.table1.Add(this.referenceMainCounterparty); global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceMainCounterparty])); w47.TopAttach = ((uint)(4)); w47.BottomAttach = ((uint)(5)); w47.LeftAttach = ((uint)(1)); w47.RightAttach = ((uint)(4)); w47.XOptions = ((global::Gtk.AttachOptions)(4)); w47.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referencePreviousCounterparty = new global::Gamma.Widgets.yEntryReferenceVM(); this.referencePreviousCounterparty.Events = ((global::Gdk.EventMask)(256)); this.referencePreviousCounterparty.Name = "referencePreviousCounterparty"; this.table1.Add(this.referencePreviousCounterparty); global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.table1[this.referencePreviousCounterparty])); w48.TopAttach = ((uint)(5)); w48.BottomAttach = ((uint)(6)); w48.LeftAttach = ((uint)(1)); w48.RightAttach = ((uint)(4)); w48.XOptions = ((global::Gtk.AttachOptions)(4)); w48.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referenceSignificance = new global::Gamma.Widgets.yEntryReference(); this.referenceSignificance.Events = ((global::Gdk.EventMask)(256)); this.referenceSignificance.Name = "referenceSignificance"; this.referenceSignificance.DisplayFields = new string[] { "Name"}; this.table1.Add(this.referenceSignificance); global::Gtk.Table.TableChild w49 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceSignificance])); w49.TopAttach = ((uint)(7)); w49.BottomAttach = ((uint)(8)); w49.LeftAttach = ((uint)(1)); w49.RightAttach = ((uint)(2)); w49.XOptions = ((global::Gtk.AttachOptions)(4)); w49.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.referenceStatus = new global::Gamma.Widgets.yEntryReference(); this.referenceStatus.Events = ((global::Gdk.EventMask)(256)); this.referenceStatus.Name = "referenceStatus"; this.referenceStatus.DisplayFields = new string[] { "Name"}; this.table1.Add(this.referenceStatus); global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceStatus])); w50.TopAttach = ((uint)(6)); w50.BottomAttach = ((uint)(7)); w50.LeftAttach = ((uint)(1)); w50.RightAttach = ((uint)(2)); w50.XOptions = ((global::Gtk.AttachOptions)(4)); w50.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinMaxCredit = new global::Gamma.GtkWidgets.ySpinButton(0, 1000000, 100); this.spinMaxCredit.CanFocus = true; this.spinMaxCredit.Name = "spinMaxCredit"; this.spinMaxCredit.ValueAsDecimal = 0m; this.spinMaxCredit.ValueAsInt = 0; this.table1.Add(this.spinMaxCredit); global::Gtk.Table.TableChild w51 = ((global::Gtk.Table.TableChild)(this.table1[this.spinMaxCredit])); w51.TopAttach = ((uint)(9)); w51.BottomAttach = ((uint)(10)); w51.LeftAttach = ((uint)(1)); w51.RightAttach = ((uint)(2)); w51.XOptions = ((global::Gtk.AttachOptions)(4)); w51.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vboxCooperation = new global::Gtk.VBox(); this.vboxCooperation.Name = "vboxCooperation"; this.vboxCooperation.Spacing = 1; // Container child vboxCooperation.Gtk.Box+BoxChild this.checkCustomer = new global::Gamma.GtkWidgets.yCheckButton(); this.checkCustomer.CanFocus = true; this.checkCustomer.Name = "checkCustomer"; this.checkCustomer.Label = global::Mono.Unix.Catalog.GetString("Покупатель"); this.checkCustomer.DrawIndicator = true; this.checkCustomer.UseUnderline = true; this.vboxCooperation.Add(this.checkCustomer); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vboxCooperation[this.checkCustomer])); w52.Position = 0; w52.Expand = false; w52.Fill = false; // Container child vboxCooperation.Gtk.Box+BoxChild this.checkSupplier = new global::Gamma.GtkWidgets.yCheckButton(); this.checkSupplier.CanFocus = true; this.checkSupplier.Name = "checkSupplier"; this.checkSupplier.Label = global::Mono.Unix.Catalog.GetString("Поставщик"); this.checkSupplier.DrawIndicator = true; this.checkSupplier.UseUnderline = true; this.vboxCooperation.Add(this.checkSupplier); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vboxCooperation[this.checkSupplier])); w53.Position = 1; w53.Expand = false; w53.Fill = false; // Container child vboxCooperation.Gtk.Box+BoxChild this.checkPartner = new global::Gamma.GtkWidgets.yCheckButton(); this.checkPartner.CanFocus = true; this.checkPartner.Name = "checkPartner"; this.checkPartner.Label = global::Mono.Unix.Catalog.GetString("Партнер"); this.checkPartner.DrawIndicator = true; this.checkPartner.UseUnderline = true; this.vboxCooperation.Add(this.checkPartner); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vboxCooperation[this.checkPartner])); w54.Position = 2; w54.Expand = false; w54.Fill = false; this.table1.Add(this.vboxCooperation); global::Gtk.Table.TableChild w55 = ((global::Gtk.Table.TableChild)(this.table1[this.vboxCooperation])); w55.TopAttach = ((uint)(6)); w55.BottomAttach = ((uint)(8)); w55.LeftAttach = ((uint)(3)); w55.RightAttach = ((uint)(4)); w55.XOptions = ((global::Gtk.AttachOptions)(4)); w55.YOptions = ((global::Gtk.AttachOptions)(0)); w18.Add(this.table1); this.GtkScrolledWindow4.Add(w18); this.notebook1.Add(this.GtkScrolledWindow4); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Информация"); this.notebook1.SetTabLabel(this.GtkScrolledWindow4, this.label1); this.label1.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.datatable2 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.datatable2.Name = "datatable2"; this.datatable2.RowSpacing = ((uint)(6)); this.datatable2.ColumnSpacing = ((uint)(6)); this.datatable2.BorderWidth = ((uint)(6)); // Container child datatable2.Gtk.Table+TableChild this.dataentryFinancialContact = new global::Gamma.Widgets.yEntryReferenceVM(); this.dataentryFinancialContact.Events = ((global::Gdk.EventMask)(256)); this.dataentryFinancialContact.Name = "dataentryFinancialContact"; this.datatable2.Add(this.dataentryFinancialContact); global::Gtk.Table.TableChild w59 = ((global::Gtk.Table.TableChild)(this.datatable2[this.dataentryFinancialContact])); w59.TopAttach = ((uint)(3)); w59.BottomAttach = ((uint)(4)); w59.LeftAttach = ((uint)(1)); w59.RightAttach = ((uint)(2)); w59.XOptions = ((global::Gtk.AttachOptions)(4)); w59.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.dataentryMainContact = new global::Gamma.Widgets.yEntryReferenceVM(); this.dataentryMainContact.Events = ((global::Gdk.EventMask)(256)); this.dataentryMainContact.Name = "dataentryMainContact"; this.datatable2.Add(this.dataentryMainContact); global::Gtk.Table.TableChild w60 = ((global::Gtk.Table.TableChild)(this.datatable2[this.dataentryMainContact])); w60.TopAttach = ((uint)(2)); w60.BottomAttach = ((uint)(3)); w60.LeftAttach = ((uint)(1)); w60.RightAttach = ((uint)(2)); w60.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.emailsView = new global::QSContacts.EmailsView(); this.emailsView.Events = ((global::Gdk.EventMask)(256)); this.emailsView.Name = "emailsView"; this.datatable2.Add(this.emailsView); global::Gtk.Table.TableChild w61 = ((global::Gtk.Table.TableChild)(this.datatable2[this.emailsView])); w61.TopAttach = ((uint)(1)); w61.BottomAttach = ((uint)(2)); w61.LeftAttach = ((uint)(1)); w61.RightAttach = ((uint)(2)); w61.XOptions = ((global::Gtk.AttachOptions)(4)); w61.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Общий e-mail:"); this.datatable2.Add(this.label11); global::Gtk.Table.TableChild w62 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label11])); w62.TopAttach = ((uint)(1)); w62.BottomAttach = ((uint)(2)); w62.XOptions = ((global::Gtk.AttachOptions)(4)); w62.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.Xalign = 1F; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Главное контактное лицо:"); this.datatable2.Add(this.label12); global::Gtk.Table.TableChild w63 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label12])); w63.TopAttach = ((uint)(2)); w63.BottomAttach = ((uint)(3)); w63.XOptions = ((global::Gtk.AttachOptions)(4)); w63.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.Xalign = 1F; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Контактное лицо по \nфинансовым вопросам:"); this.label13.UseMarkup = true; this.datatable2.Add(this.label13); global::Gtk.Table.TableChild w64 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label13])); w64.TopAttach = ((uint)(3)); w64.BottomAttach = ((uint)(4)); w64.XOptions = ((global::Gtk.AttachOptions)(4)); w64.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.label18 = new global::Gtk.Label(); this.label18.Name = "label18"; this.label18.Xalign = 1F; this.label18.LabelProp = global::Mono.Unix.Catalog.GetString("Общие телефоны:"); this.datatable2.Add(this.label18); global::Gtk.Table.TableChild w65 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label18])); w65.XOptions = ((global::Gtk.AttachOptions)(4)); w65.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.phonesView = new global::QSContacts.PhonesView(); this.phonesView.Events = ((global::Gdk.EventMask)(256)); this.phonesView.Name = "phonesView"; this.datatable2.Add(this.phonesView); global::Gtk.Table.TableChild w66 = ((global::Gtk.Table.TableChild)(this.datatable2[this.phonesView])); w66.LeftAttach = ((uint)(1)); w66.RightAttach = ((uint)(2)); w66.XOptions = ((global::Gtk.AttachOptions)(4)); w66.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebook1.Add(this.datatable2); global::Gtk.Notebook.NotebookChild w67 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.datatable2])); w67.Position = 1; // Notebook tab this.label20 = new global::Gtk.Label(); this.label20.Name = "label20"; this.label20.LabelProp = global::Mono.Unix.Catalog.GetString("Контакты"); this.notebook1.SetTabLabel(this.datatable2, this.label20); this.label20.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; this.vbox6.BorderWidth = ((uint)(6)); // Container child vbox6.Gtk.Box+BoxChild this.datatable4 = new global::Gtk.Table(((uint)(3)), ((uint)(4)), false); this.datatable4.Name = "datatable4"; this.datatable4.RowSpacing = ((uint)(6)); this.datatable4.ColumnSpacing = ((uint)(6)); // Container child datatable4.Gtk.Table+TableChild this.entryJurAddress = new global::Gamma.GtkWidgets.yEntry(); this.entryJurAddress.CanFocus = true; this.entryJurAddress.Name = "entryJurAddress"; this.entryJurAddress.IsEditable = true; this.entryJurAddress.InvisibleChar = '●'; this.datatable4.Add(this.entryJurAddress); global::Gtk.Table.TableChild w68 = ((global::Gtk.Table.TableChild)(this.datatable4[this.entryJurAddress])); w68.TopAttach = ((uint)(2)); w68.BottomAttach = ((uint)(3)); w68.LeftAttach = ((uint)(1)); w68.RightAttach = ((uint)(2)); w68.XOptions = ((global::Gtk.AttachOptions)(4)); w68.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label17 = new global::Gtk.Label(); this.label17.Name = "label17"; this.label17.Xalign = 1F; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString("В лице:"); this.datatable4.Add(this.label17); global::Gtk.Table.TableChild w69 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label17])); w69.TopAttach = ((uint)(1)); w69.BottomAttach = ((uint)(2)); w69.LeftAttach = ((uint)(2)); w69.RightAttach = ((uint)(3)); w69.XOptions = ((global::Gtk.AttachOptions)(4)); w69.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label27 = new global::Gtk.Label(); this.label27.Name = "label27"; this.label27.Xalign = 1F; this.label27.LabelProp = global::Mono.Unix.Catalog.GetString("ИНН:"); this.datatable4.Add(this.label27); global::Gtk.Table.TableChild w70 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label27])); w70.XOptions = ((global::Gtk.AttachOptions)(4)); w70.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label28 = new global::Gtk.Label(); this.label28.Name = "label28"; this.label28.Xalign = 1F; this.label28.LabelProp = global::Mono.Unix.Catalog.GetString("КПП:"); this.datatable4.Add(this.label28); global::Gtk.Table.TableChild w71 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label28])); w71.TopAttach = ((uint)(1)); w71.BottomAttach = ((uint)(2)); w71.XOptions = ((global::Gtk.AttachOptions)(4)); w71.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label29 = new global::Gtk.Label(); this.label29.Name = "label29"; this.label29.Xalign = 1F; this.label29.LabelProp = global::Mono.Unix.Catalog.GetString("Юр. адрес:"); this.datatable4.Add(this.label29); global::Gtk.Table.TableChild w72 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label29])); w72.TopAttach = ((uint)(2)); w72.BottomAttach = ((uint)(3)); w72.XOptions = ((global::Gtk.AttachOptions)(4)); w72.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label32 = new global::Gtk.Label(); this.label32.Name = "label32"; this.label32.Xalign = 1F; this.label32.LabelProp = global::Mono.Unix.Catalog.GetString("На основании:"); this.datatable4.Add(this.label32); global::Gtk.Table.TableChild w73 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label32])); w73.TopAttach = ((uint)(2)); w73.BottomAttach = ((uint)(3)); w73.LeftAttach = ((uint)(2)); w73.RightAttach = ((uint)(3)); w73.XOptions = ((global::Gtk.AttachOptions)(4)); w73.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("ФИО для договора:"); this.datatable4.Add(this.label7); global::Gtk.Table.TableChild w74 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label7])); w74.LeftAttach = ((uint)(2)); w74.RightAttach = ((uint)(3)); w74.XOptions = ((global::Gtk.AttachOptions)(4)); w74.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.validatedINN = new global::Gamma.Widgets.yValidatedEntry(); this.validatedINN.CanFocus = true; this.validatedINN.Name = "validatedINN"; this.validatedINN.IsEditable = true; this.validatedINN.MaxLength = 12; this.validatedINN.InvisibleChar = '●'; this.datatable4.Add(this.validatedINN); global::Gtk.Table.TableChild w75 = ((global::Gtk.Table.TableChild)(this.datatable4[this.validatedINN])); w75.LeftAttach = ((uint)(1)); w75.RightAttach = ((uint)(2)); w75.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.validatedKPP = new global::Gamma.Widgets.yValidatedEntry(); this.validatedKPP.CanFocus = true; this.validatedKPP.Name = "validatedKPP"; this.validatedKPP.IsEditable = true; this.validatedKPP.MaxLength = 9; this.validatedKPP.InvisibleChar = '●'; this.datatable4.Add(this.validatedKPP); global::Gtk.Table.TableChild w76 = ((global::Gtk.Table.TableChild)(this.datatable4[this.validatedKPP])); w76.TopAttach = ((uint)(1)); w76.BottomAttach = ((uint)(2)); w76.LeftAttach = ((uint)(1)); w76.RightAttach = ((uint)(2)); w76.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.yentrySignBaseOf = new global::Gamma.GtkWidgets.yEntry(); this.yentrySignBaseOf.CanFocus = true; this.yentrySignBaseOf.Name = "yentrySignBaseOf"; this.yentrySignBaseOf.IsEditable = true; this.yentrySignBaseOf.InvisibleChar = '●'; this.datatable4.Add(this.yentrySignBaseOf); global::Gtk.Table.TableChild w77 = ((global::Gtk.Table.TableChild)(this.datatable4[this.yentrySignBaseOf])); w77.TopAttach = ((uint)(2)); w77.BottomAttach = ((uint)(3)); w77.LeftAttach = ((uint)(3)); w77.RightAttach = ((uint)(4)); w77.XOptions = ((global::Gtk.AttachOptions)(4)); w77.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.yentrySignFIO = new global::Gamma.GtkWidgets.yEntry(); this.yentrySignFIO.CanFocus = true; this.yentrySignFIO.Name = "yentrySignFIO"; this.yentrySignFIO.IsEditable = true; this.yentrySignFIO.InvisibleChar = '●'; this.datatable4.Add(this.yentrySignFIO); global::Gtk.Table.TableChild w78 = ((global::Gtk.Table.TableChild)(this.datatable4[this.yentrySignFIO])); w78.LeftAttach = ((uint)(3)); w78.RightAttach = ((uint)(4)); w78.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable4.Gtk.Table+TableChild this.yentrySignPost = new global::Gamma.GtkWidgets.yEntry(); this.yentrySignPost.CanFocus = true; this.yentrySignPost.Name = "yentrySignPost"; this.yentrySignPost.IsEditable = true; this.yentrySignPost.InvisibleChar = '●'; this.datatable4.Add(this.yentrySignPost); global::Gtk.Table.TableChild w79 = ((global::Gtk.Table.TableChild)(this.datatable4[this.yentrySignPost])); w79.TopAttach = ((uint)(1)); w79.BottomAttach = ((uint)(2)); w79.LeftAttach = ((uint)(3)); w79.RightAttach = ((uint)(4)); w79.XOptions = ((global::Gtk.AttachOptions)(4)); w79.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox6.Add(this.datatable4); global::Gtk.Box.BoxChild w80 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.datatable4])); w80.Position = 0; w80.Expand = false; w80.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.accountsView = new global::QSBanks.AccountsView(); this.accountsView.Events = ((global::Gdk.EventMask)(256)); this.accountsView.Name = "accountsView"; this.vbox6.Add(this.accountsView); global::Gtk.Box.BoxChild w81 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.accountsView])); w81.Position = 1; this.notebook1.Add(this.vbox6); global::Gtk.Notebook.NotebookChild w82 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox6])); w82.Position = 2; // Notebook tab this.label21 = new global::Gtk.Label(); this.label21.Name = "label21"; this.label21.LabelProp = global::Mono.Unix.Catalog.GetString("Реквизиты"); this.notebook1.SetTabLabel(this.vbox6, this.label21); this.label21.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.datatable3 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.datatable3.Name = "datatable3"; this.datatable3.RowSpacing = ((uint)(6)); this.datatable3.ColumnSpacing = ((uint)(6)); this.datatable3.BorderWidth = ((uint)(6)); // Container child datatable3.Gtk.Table+TableChild this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.Xalign = 1F; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Менеджер по продажам:"); this.datatable3.Add(this.label14); global::Gtk.Table.TableChild w83 = ((global::Gtk.Table.TableChild)(this.datatable3[this.label14])); w83.XOptions = ((global::Gtk.AttachOptions)(4)); w83.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable3.Gtk.Table+TableChild this.label22 = new global::Gtk.Label(); this.label22.Name = "label22"; this.label22.Xalign = 1F; this.label22.LabelProp = global::Mono.Unix.Catalog.GetString("Бухгалтер:"); this.datatable3.Add(this.label22); global::Gtk.Table.TableChild w84 = ((global::Gtk.Table.TableChild)(this.datatable3[this.label22])); w84.TopAttach = ((uint)(1)); w84.BottomAttach = ((uint)(2)); w84.XOptions = ((global::Gtk.AttachOptions)(4)); w84.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable3.Gtk.Table+TableChild this.label23 = new global::Gtk.Label(); this.label23.Name = "label23"; this.label23.Xalign = 1F; this.label23.LabelProp = global::Mono.Unix.Catalog.GetString("Менеджер по бутылям:"); this.datatable3.Add(this.label23); global::Gtk.Table.TableChild w85 = ((global::Gtk.Table.TableChild)(this.datatable3[this.label23])); w85.TopAttach = ((uint)(2)); w85.BottomAttach = ((uint)(3)); w85.XOptions = ((global::Gtk.AttachOptions)(4)); w85.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable3.Gtk.Table+TableChild this.referenceAccountant = new global::Gamma.Widgets.yEntryReference(); this.referenceAccountant.Events = ((global::Gdk.EventMask)(256)); this.referenceAccountant.Name = "referenceAccountant"; this.referenceAccountant.DisplayFields = new string[] { "LastName", "Name", "Patronymic"}; this.referenceAccountant.DisplayFormatString = "{0} {1} {2}"; this.datatable3.Add(this.referenceAccountant); global::Gtk.Table.TableChild w86 = ((global::Gtk.Table.TableChild)(this.datatable3[this.referenceAccountant])); w86.TopAttach = ((uint)(1)); w86.BottomAttach = ((uint)(2)); w86.LeftAttach = ((uint)(1)); w86.RightAttach = ((uint)(2)); w86.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable3.Gtk.Table+TableChild this.referenceBottleManager = new global::Gamma.Widgets.yEntryReference(); this.referenceBottleManager.Events = ((global::Gdk.EventMask)(256)); this.referenceBottleManager.Name = "referenceBottleManager"; this.referenceBottleManager.DisplayFields = new string[] { "LastName", "Name", "Patronymic"}; this.referenceBottleManager.DisplayFormatString = "{0} {1} {2}"; this.datatable3.Add(this.referenceBottleManager); global::Gtk.Table.TableChild w87 = ((global::Gtk.Table.TableChild)(this.datatable3[this.referenceBottleManager])); w87.TopAttach = ((uint)(2)); w87.BottomAttach = ((uint)(3)); w87.LeftAttach = ((uint)(1)); w87.RightAttach = ((uint)(2)); w87.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable3.Gtk.Table+TableChild this.referenceSalesManager = new global::Gamma.Widgets.yEntryReference(); this.referenceSalesManager.Events = ((global::Gdk.EventMask)(256)); this.referenceSalesManager.Name = "referenceSalesManager"; this.referenceSalesManager.DisplayFields = new string[] { "LastName", "Name", "Patronymic"}; this.referenceSalesManager.DisplayFormatString = "{0} {1} {2}"; this.datatable3.Add(this.referenceSalesManager); global::Gtk.Table.TableChild w88 = ((global::Gtk.Table.TableChild)(this.datatable3[this.referenceSalesManager])); w88.LeftAttach = ((uint)(1)); w88.RightAttach = ((uint)(2)); w88.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebook1.Add(this.datatable3); global::Gtk.Notebook.NotebookChild w89 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.datatable3])); w89.Position = 3; // Notebook tab this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Кураторы"); this.notebook1.SetTabLabel(this.datatable3, this.label10); this.label10.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.contactsview1 = new global::Vodovoz.ContactsView(); this.contactsview1.Events = ((global::Gdk.EventMask)(256)); this.contactsview1.Name = "contactsview1"; this.notebook1.Add(this.contactsview1); global::Gtk.Notebook.NotebookChild w90 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.contactsview1])); w90.Position = 4; // Notebook tab this.label24 = new global::Gtk.Label(); this.label24.Name = "label24"; this.label24.LabelProp = global::Mono.Unix.Catalog.GetString("Контактные лица"); this.notebook1.SetTabLabel(this.contactsview1, this.label24); this.label24.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.proxiesview1 = new global::Vodovoz.ProxyView(); this.proxiesview1.Events = ((global::Gdk.EventMask)(256)); this.proxiesview1.Name = "proxiesview1"; this.notebook1.Add(this.proxiesview1); global::Gtk.Notebook.NotebookChild w91 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.proxiesview1])); w91.Position = 5; // Notebook tab this.label30 = new global::Gtk.Label(); this.label30.Name = "label30"; this.label30.LabelProp = global::Mono.Unix.Catalog.GetString("Доверенности"); this.notebook1.SetTabLabel(this.proxiesview1, this.label30); this.label30.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.counterpartyContractsView = new global::Vodovoz.CounterpartyContractsView(); this.counterpartyContractsView.Events = ((global::Gdk.EventMask)(256)); this.counterpartyContractsView.Name = "counterpartyContractsView"; this.notebook1.Add(this.counterpartyContractsView); global::Gtk.Notebook.NotebookChild w92 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.counterpartyContractsView])); w92.Position = 6; // Notebook tab this.label34 = new global::Gtk.Label(); this.label34.Name = "label34"; this.label34.LabelProp = global::Mono.Unix.Catalog.GetString("Договор"); this.notebook1.SetTabLabel(this.counterpartyContractsView, this.label34); this.label34.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox9 = new global::Gtk.VBox(); this.vbox9.Name = "vbox9"; this.vbox9.Spacing = 6; this.vbox9.BorderWidth = ((uint)(6)); // Container child vbox9.Gtk.Box+BoxChild this.deliveryPointView = new global::Vodovoz.DeliveryPointView(); this.deliveryPointView.Events = ((global::Gdk.EventMask)(256)); this.deliveryPointView.Name = "deliveryPointView"; this.vbox9.Add(this.deliveryPointView); global::Gtk.Box.BoxChild w93 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.deliveryPointView])); w93.Position = 0; this.notebook1.Add(this.vbox9); global::Gtk.Notebook.NotebookChild w94 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox9])); w94.Position = 7; // Notebook tab this.label40 = new global::Gtk.Label(); this.label40.Name = "label40"; this.label40.LabelProp = global::Mono.Unix.Catalog.GetString("Точки доставки"); this.notebook1.SetTabLabel(this.vbox9, this.label40); this.label40.ShowAll(); this.vbox2.Add(this.notebook1); global::Gtk.Box.BoxChild w95 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.notebook1])); w95.Position = 3; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.labelDefaultExpense.Hide(); this.referenceDefaultExpense.Hide(); this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.radioInfo.Toggled += new global::System.EventHandler(this.OnRadioInfoToggled); this.radioContacts.Toggled += new global::System.EventHandler(this.OnRadioContactsToggled); this.radioDetails.Toggled += new global::System.EventHandler(this.OnRadioDetailsToggled); this.radioCurators.Toggled += new global::System.EventHandler(this.OnRadioCuratorsToggled); this.radioContactPersons.Toggled += new global::System.EventHandler(this.OnRadioContactPersonsToggled); this.radiobuttonProxies.Toggled += new global::System.EventHandler(this.OnRadiobuttonProxiesToggled); this.radioContracts.Toggled += new global::System.EventHandler(this.OnRadioContractsToggled); this.radioDeliveryPoint.Toggled += new global::System.EventHandler(this.OnRadioDeliveryPointToggled); this.checkSupplier.Toggled += new global::System.EventHandler(this.OnCheckSupplierToggled); this.referencePreviousCounterparty.ChangedByUser += new global::System.EventHandler(this.OnReferencePreviousCounterpartyChangedByUser); this.referenceMainCounterparty.ChangedByUser += new global::System.EventHandler(this.OnReferenceMainCounterpartyChangedByUser); this.enumPersonType.Changed += new global::System.EventHandler(this.OnEnumPersonTypeChanged); this.enumPayment.EnumItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnEnumPaymentEnumItemSelected); this.yentrySignPost.FocusInEvent += new global::Gtk.FocusInEventHandler(this.OnYentrySignPostFocusInEvent); this.yentrySignBaseOf.FocusInEvent += new global::Gtk.FocusInEventHandler(this.OnYentrySignBaseOfFocusInEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.Orders.FirstClientsReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Orders.FirstClientsReport"; // Container child Vodovoz.ReportsParameters.Orders.FirstClientsReport.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(7)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.buttonRun = new global::Gtk.Button(); this.buttonRun.Sensitive = false; this.buttonRun.CanFocus = true; this.buttonRun.Name = "buttonRun"; this.buttonRun.UseUnderline = true; this.buttonRun.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.table1.Add(this.buttonRun); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonRun])); w1.TopAttach = ((uint)(6)); w1.BottomAttach = ((uint)(7)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(0)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.chkBtnWithPromotionalSets = new global::Gamma.GtkWidgets.yCheckButton(); this.chkBtnWithPromotionalSets.CanFocus = true; this.chkBtnWithPromotionalSets.Name = "chkBtnWithPromotionalSets"; this.chkBtnWithPromotionalSets.Label = global::Mono.Unix.Catalog.GetString("С промонаборами"); this.chkBtnWithPromotionalSets.DrawIndicator = true; this.chkBtnWithPromotionalSets.UseUnderline = true; this.table1.Add(this.chkBtnWithPromotionalSets); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.chkBtnWithPromotionalSets])); w2.TopAttach = ((uint)(4)); w2.BottomAttach = ((uint)(5)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.datePeriodPicker = new global::QS.Widgets.GtkUI.DateRangePicker(); this.datePeriodPicker.Events = ((global::Gdk.EventMask)(256)); this.datePeriodPicker.Name = "datePeriodPicker"; this.datePeriodPicker.StartDate = new global::System.DateTime(0); this.datePeriodPicker.EndDate = new global::System.DateTime(0); this.table1.Add(this.datePeriodPicker); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.datePeriodPicker])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryDistrict = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryDistrict.Events = ((global::Gdk.EventMask)(256)); this.entryDistrict.Name = "entryDistrict"; this.entryDistrict.CanEditReference = true; this.table1.Add(this.entryDistrict); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.entryDistrict])); w4.TopAttach = ((uint)(5)); w4.BottomAttach = ((uint)(6)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Период:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Основание скидки:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Район:"); this.label3.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.label3); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w7.TopAttach = ((uint)(5)); w7.BottomAttach = ((uint)(6)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Статус заказа:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString(" Тип оплаты:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yChooseOrderStatus = new global::Gamma.Widgets.yEnumComboBox(); this.yChooseOrderStatus.Name = "yChooseOrderStatus"; this.yChooseOrderStatus.ShowSpecialStateAll = true; this.yChooseOrderStatus.ShowSpecialStateNot = false; this.yChooseOrderStatus.UseShortTitle = false; this.yChooseOrderStatus.DefaultFirst = false; this.table1.Add(this.yChooseOrderStatus); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.yChooseOrderStatus])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yChooseThePaymentTypeForTheOrder = new global::Gamma.Widgets.yEnumComboBox(); this.yChooseThePaymentTypeForTheOrder.Name = "yChooseThePaymentTypeForTheOrder"; this.yChooseThePaymentTypeForTheOrder.ShowSpecialStateAll = true; this.yChooseThePaymentTypeForTheOrder.ShowSpecialStateNot = false; this.yChooseThePaymentTypeForTheOrder.UseShortTitle = false; this.yChooseThePaymentTypeForTheOrder.DefaultFirst = false; this.table1.Add(this.yChooseThePaymentTypeForTheOrder); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.yChooseThePaymentTypeForTheOrder])); w11.TopAttach = ((uint)(3)); w11.BottomAttach = ((uint)(4)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yCpecCmbDiscountReason = new global::Gamma.Widgets.ySpecComboBox(); this.yCpecCmbDiscountReason.Name = "yCpecCmbDiscountReason"; this.yCpecCmbDiscountReason.AddIfNotExist = false; this.yCpecCmbDiscountReason.DefaultFirst = false; this.yCpecCmbDiscountReason.ShowSpecialStateAll = true; this.yCpecCmbDiscountReason.ShowSpecialStateNot = false; this.table1.Add(this.yCpecCmbDiscountReason); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.yCpecCmbDiscountReason])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.datePeriodPicker.PeriodChanged += new global::System.EventHandler(this.OnDatePeriodPickerPeriodChanged); this.buttonRun.Clicked += new global::System.EventHandler(this.OnButtonRunClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget workwear.EmployeeCardDlg this.Name = "workwear.EmployeeCardDlg"; this.Title = global::Mono.Unix.Catalog.GetString ("Новая карточка сотрудника"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child workwear.EmployeeCardDlg.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(3)); // Container child hbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(8)), ((uint)(7)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboSex = new global::Gamma.Widgets.yEnumComboBox (); this.comboSex.Name = "comboSex"; this.comboSex.ShowSpecialStateAll = false; this.comboSex.ShowSpecialStateNot = false; this.comboSex.UseShortTitle = false; this.comboSex.DefaultFirst = false; this.table1.Add (this.comboSex); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboSex])); w2.TopAttach = ((uint)(4)); w2.BottomAttach = ((uint)(5)); w2.LeftAttach = ((uint)(3)); w2.RightAttach = ((uint)(4)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.dateDismiss = new global::Gamma.Widgets.yDatePicker (); this.dateDismiss.Events = ((global::Gdk.EventMask)(256)); this.dateDismiss.Name = "dateDismiss"; this.dateDismiss.WithTime = false; this.dateDismiss.Date = new global::System.DateTime (0); this.dateDismiss.IsEditable = true; this.dateDismiss.AutoSeparation = true; this.table1.Add (this.dateDismiss); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.dateDismiss])); w3.TopAttach = ((uint)(3)); w3.BottomAttach = ((uint)(4)); w3.LeftAttach = ((uint)(3)); w3.RightAttach = ((uint)(4)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.dateHire = new global::Gamma.Widgets.yDatePicker (); this.dateHire.Events = ((global::Gdk.EventMask)(256)); this.dateHire.Name = "dateHire"; this.dateHire.WithTime = false; this.dateHire.Date = new global::System.DateTime (0); this.dateHire.IsEditable = true; this.dateHire.AutoSeparation = true; this.table1.Add (this.dateHire); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.dateHire])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(3)); w4.RightAttach = ((uint)(4)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryFirstName = new global::Gamma.GtkWidgets.yEntry (); this.entryFirstName.CanFocus = true; this.entryFirstName.Name = "entryFirstName"; this.entryFirstName.IsEditable = true; this.entryFirstName.MaxLength = 20; this.entryFirstName.InvisibleChar = '●'; this.table1.Add (this.entryFirstName); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryFirstName])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryLastName = new global::Gamma.GtkWidgets.yEntry (); this.entryLastName.CanFocus = true; this.entryLastName.Name = "entryLastName"; this.entryLastName.IsEditable = true; this.entryLastName.MaxLength = 20; this.entryLastName.InvisibleChar = '●'; this.table1.Add (this.entryLastName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryLastName])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryPatronymic = new global::Gamma.GtkWidgets.yEntry (); this.entryPatronymic.CanFocus = true; this.entryPatronymic.Name = "entryPatronymic"; this.entryPatronymic.IsEditable = true; this.entryPatronymic.MaxLength = 20; this.entryPatronymic.InvisibleChar = '●'; this.table1.Add (this.entryPatronymic); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryPatronymic])); w7.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.entryId = new global::Gtk.Entry (); this.entryId.Sensitive = false; this.entryId.CanFocus = true; this.entryId.Name = "entryId"; this.entryId.Text = global::Mono.Unix.Catalog.GetString ("авто"); this.entryId.IsEditable = true; this.entryId.WidthChars = 10; this.entryId.MaxLength = 15; this.entryId.InvisibleChar = '●'; this.hbox7.Add (this.entryId); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.entryId])); w8.Position = 0; // Container child hbox7.Gtk.Box+BoxChild this.checkAuto = new global::Gtk.CheckButton (); this.checkAuto.CanFocus = true; this.checkAuto.Name = "checkAuto"; this.checkAuto.Label = global::Mono.Unix.Catalog.GetString ("Автоматически"); this.checkAuto.Active = true; this.checkAuto.DrawIndicator = true; this.checkAuto.UseUnderline = true; this.hbox7.Add (this.checkAuto); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.checkAuto])); w9.Position = 1; this.table1.Add (this.hbox7); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox7])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Номер карточки:"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Должность:"); this.table1.Add (this.label10); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label10])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Руководитель:"); this.table1.Add (this.label11); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label11])); w13.TopAttach = ((uint)(5)); w13.BottomAttach = ((uint)(6)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label12 = new global::Gtk.Label (); this.label12.Name = "label12"; this.label12.Xalign = 1F; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Объект:"); this.table1.Add (this.label12); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label12])); w14.TopAttach = ((uint)(6)); w14.BottomAttach = ((uint)(7)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label14 = new global::Gtk.Label (); this.label14.Name = "label14"; this.label14.Xalign = 1F; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("Адрес объекта:"); this.table1.Add (this.label14); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label14])); w15.TopAttach = ((uint)(7)); w15.BottomAttach = ((uint)(8)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label16 = new global::Gtk.Label (); this.label16.Name = "label16"; this.label16.Xalign = 0F; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Характеристики одежды</b>"); this.label16.UseMarkup = true; this.table1.Add (this.label16); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label16])); w16.LeftAttach = ((uint)(4)); w16.RightAttach = ((uint)(7)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label17 = new global::Gtk.Label (); this.label17.Name = "label17"; this.label17.Xalign = 1F; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString ("Карточку создал:"); this.table1.Add (this.label17); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label17])); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label18 = new global::Gtk.Label (); this.label18.Name = "label18"; this.label18.Xalign = 1F; this.label18.LabelProp = global::Mono.Unix.Catalog.GetString ("Размер обуви:"); this.table1.Add (this.label18); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.label18])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.LeftAttach = ((uint)(4)); w18.RightAttach = ((uint)(5)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label19 = new global::Gtk.Label (); this.label19.Name = "label19"; this.label19.Xalign = 1F; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString ("Размер головного убора:"); this.table1.Add (this.label19); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.label19])); w19.TopAttach = ((uint)(4)); w19.BottomAttach = ((uint)(5)); w19.LeftAttach = ((uint)(4)); w19.RightAttach = ((uint)(5)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Фамилия:"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label20 = new global::Gtk.Label (); this.label20.Name = "label20"; this.label20.Xalign = 1F; this.label20.LabelProp = global::Mono.Unix.Catalog.GetString ("Размер перчаток:"); this.table1.Add (this.label20); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.label20])); w21.TopAttach = ((uint)(5)); w21.BottomAttach = ((uint)(6)); w21.LeftAttach = ((uint)(4)); w21.RightAttach = ((uint)(5)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label23 = new global::Gtk.Label (); this.label23.Name = "label23"; this.label23.Xalign = 1F; this.label23.LabelProp = global::Mono.Unix.Catalog.GetString ("Табельный номер:"); this.table1.Add (this.label23); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.label23])); w22.TopAttach = ((uint)(2)); w22.BottomAttach = ((uint)(3)); w22.LeftAttach = ((uint)(2)); w22.RightAttach = ((uint)(3)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Имя:"); this.table1.Add (this.label3); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Отчество:"); this.table1.Add (this.label4); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w24.TopAttach = ((uint)(3)); w24.BottomAttach = ((uint)(4)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата поступления:"); this.table1.Add (this.label5); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.LeftAttach = ((uint)(2)); w25.RightAttach = ((uint)(3)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата увольнения:"); this.table1.Add (this.label6); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6])); w26.TopAttach = ((uint)(3)); w26.BottomAttach = ((uint)(4)); w26.LeftAttach = ((uint)(2)); w26.RightAttach = ((uint)(3)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Пол:"); this.table1.Add (this.label7); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); w27.TopAttach = ((uint)(4)); w27.BottomAttach = ((uint)(5)); w27.LeftAttach = ((uint)(2)); w27.RightAttach = ((uint)(3)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Рост:"); this.table1.Add (this.label8); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8])); w28.TopAttach = ((uint)(1)); w28.BottomAttach = ((uint)(2)); w28.LeftAttach = ((uint)(4)); w28.RightAttach = ((uint)(5)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Размер одежды:"); this.table1.Add (this.label9); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1 [this.label9])); w29.TopAttach = ((uint)(2)); w29.BottomAttach = ((uint)(3)); w29.LeftAttach = ((uint)(4)); w29.RightAttach = ((uint)(5)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelObjectAddress = new global::Gtk.Label (); this.labelObjectAddress.Name = "labelObjectAddress"; this.labelObjectAddress.LabelProp = global::Mono.Unix.Catalog.GetString ("---"); this.labelObjectAddress.Wrap = true; this.labelObjectAddress.Selectable = true; this.table1.Add (this.labelObjectAddress); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelObjectAddress])); w30.TopAttach = ((uint)(7)); w30.BottomAttach = ((uint)(8)); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelUser = new global::Gtk.Label (); this.labelUser.Name = "labelUser"; this.labelUser.LabelProp = global::Mono.Unix.Catalog.GetString ("не указан"); this.table1.Add (this.labelUser); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelUser])); w31.LeftAttach = ((uint)(3)); w31.RightAttach = ((uint)(4)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboGlovesSize = new global::Gamma.GtkWidgets.yComboBox (); this.ycomboGlovesSize.Name = "ycomboGlovesSize"; this.table1.Add (this.ycomboGlovesSize); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboGlovesSize])); w32.TopAttach = ((uint)(5)); w32.BottomAttach = ((uint)(6)); w32.LeftAttach = ((uint)(6)); w32.RightAttach = ((uint)(7)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboGlovesStd = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboGlovesStd.Name = "ycomboGlovesStd"; this.ycomboGlovesStd.ShowSpecialStateAll = false; this.ycomboGlovesStd.ShowSpecialStateNot = false; this.ycomboGlovesStd.UseShortTitle = true; this.ycomboGlovesStd.DefaultFirst = false; this.table1.Add (this.ycomboGlovesStd); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboGlovesStd])); w33.TopAttach = ((uint)(5)); w33.BottomAttach = ((uint)(6)); w33.LeftAttach = ((uint)(5)); w33.RightAttach = ((uint)(6)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboHeaddressSize = new global::Gamma.GtkWidgets.yComboBox (); this.ycomboHeaddressSize.Name = "ycomboHeaddressSize"; this.table1.Add (this.ycomboHeaddressSize); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboHeaddressSize])); w34.TopAttach = ((uint)(4)); w34.BottomAttach = ((uint)(5)); w34.LeftAttach = ((uint)(6)); w34.RightAttach = ((uint)(7)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboHeaddressStd = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboHeaddressStd.Name = "ycomboHeaddressStd"; this.ycomboHeaddressStd.ShowSpecialStateAll = false; this.ycomboHeaddressStd.ShowSpecialStateNot = false; this.ycomboHeaddressStd.UseShortTitle = true; this.ycomboHeaddressStd.DefaultFirst = false; this.table1.Add (this.ycomboHeaddressStd); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboHeaddressStd])); w35.TopAttach = ((uint)(4)); w35.BottomAttach = ((uint)(5)); w35.LeftAttach = ((uint)(5)); w35.RightAttach = ((uint)(6)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboShoesSize = new global::Gamma.GtkWidgets.yComboBox (); this.ycomboShoesSize.Name = "ycomboShoesSize"; this.table1.Add (this.ycomboShoesSize); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboShoesSize])); w36.TopAttach = ((uint)(3)); w36.BottomAttach = ((uint)(4)); w36.LeftAttach = ((uint)(6)); w36.RightAttach = ((uint)(7)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboShoesStd = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboShoesStd.Name = "ycomboShoesStd"; this.ycomboShoesStd.ShowSpecialStateAll = false; this.ycomboShoesStd.ShowSpecialStateNot = false; this.ycomboShoesStd.UseShortTitle = true; this.ycomboShoesStd.DefaultFirst = false; this.table1.Add (this.ycomboShoesStd); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboShoesStd])); w37.TopAttach = ((uint)(3)); w37.BottomAttach = ((uint)(4)); w37.LeftAttach = ((uint)(5)); w37.RightAttach = ((uint)(6)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboWearGrowth = new global::Gamma.GtkWidgets.yComboBox (); this.ycomboWearGrowth.Name = "ycomboWearGrowth"; this.table1.Add (this.ycomboWearGrowth); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboWearGrowth])); w38.TopAttach = ((uint)(1)); w38.BottomAttach = ((uint)(2)); w38.LeftAttach = ((uint)(5)); w38.RightAttach = ((uint)(7)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboWearSize = new global::Gamma.GtkWidgets.yComboBox (); this.ycomboWearSize.Name = "ycomboWearSize"; this.table1.Add (this.ycomboWearSize); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboWearSize])); w39.TopAttach = ((uint)(2)); w39.BottomAttach = ((uint)(3)); w39.LeftAttach = ((uint)(6)); w39.RightAttach = ((uint)(7)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboWearStd = new global::Gamma.Widgets.yEnumComboBox (); this.ycomboWearStd.Name = "ycomboWearStd"; this.ycomboWearStd.ShowSpecialStateAll = false; this.ycomboWearStd.ShowSpecialStateNot = false; this.ycomboWearStd.UseShortTitle = true; this.ycomboWearStd.DefaultFirst = false; this.table1.Add (this.ycomboWearStd); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboWearStd])); w40.TopAttach = ((uint)(2)); w40.BottomAttach = ((uint)(3)); w40.LeftAttach = ((uint)(5)); w40.RightAttach = ((uint)(6)); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryLeader = new global::Gamma.Widgets.yEntryReference (); this.yentryLeader.Events = ((global::Gdk.EventMask)(256)); this.yentryLeader.Name = "yentryLeader"; this.table1.Add (this.yentryLeader); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryLeader])); w41.TopAttach = ((uint)(5)); w41.BottomAttach = ((uint)(6)); w41.LeftAttach = ((uint)(1)); w41.RightAttach = ((uint)(2)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryObject = new global::Gamma.Widgets.yEntryReference (); this.yentryObject.Events = ((global::Gdk.EventMask)(256)); this.yentryObject.Name = "yentryObject"; this.table1.Add (this.yentryObject); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryObject])); w42.TopAttach = ((uint)(6)); w42.BottomAttach = ((uint)(7)); w42.LeftAttach = ((uint)(1)); w42.RightAttach = ((uint)(2)); w42.XOptions = ((global::Gtk.AttachOptions)(4)); w42.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryPersonnelNumber = new global::Gamma.GtkWidgets.yEntry (); this.yentryPersonnelNumber.CanFocus = true; this.yentryPersonnelNumber.Name = "yentryPersonnelNumber"; this.yentryPersonnelNumber.IsEditable = true; this.yentryPersonnelNumber.MaxLength = 15; this.yentryPersonnelNumber.InvisibleChar = '●'; this.table1.Add (this.yentryPersonnelNumber); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryPersonnelNumber])); w43.TopAttach = ((uint)(2)); w43.BottomAttach = ((uint)(3)); w43.LeftAttach = ((uint)(3)); w43.RightAttach = ((uint)(4)); w43.XOptions = ((global::Gtk.AttachOptions)(4)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryPost = new global::Gamma.Widgets.yEntryReference (); this.yentryPost.Events = ((global::Gdk.EventMask)(256)); this.yentryPost.Name = "yentryPost"; this.table1.Add (this.yentryPost); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryPost])); w44.TopAttach = ((uint)(4)); w44.BottomAttach = ((uint)(5)); w44.LeftAttach = ((uint)(1)); w44.RightAttach = ((uint)(2)); w44.XOptions = ((global::Gtk.AttachOptions)(4)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add (this.table1); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table1])); w45.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame (); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child frame1.Gtk.Container+ContainerChild this.yimagePhoto = new global::Gamma.Widgets.yImageViewer (); this.yimagePhoto.Name = "yimagePhoto"; this.yimagePhoto.VerticalFit = true; this.yimagePhoto.HorizontalFit = true; this.frame1.Add (this.yimagePhoto); this.vbox2.Add (this.frame1); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame1])); w47.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox (); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.buttonLoadPhoto = new global::Gtk.Button (); this.buttonLoadPhoto.TooltipMarkup = "Загрузить фотографию с диска на компьютере."; this.buttonLoadPhoto.CanFocus = true; this.buttonLoadPhoto.Name = "buttonLoadPhoto"; this.buttonLoadPhoto.UseUnderline = true; this.buttonLoadPhoto.Label = global::Mono.Unix.Catalog.GetString ("Загрузить"); global::Gtk.Image w48 = new global::Gtk.Image (); w48.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-open", global::Gtk.IconSize.Menu); this.buttonLoadPhoto.Image = w48; this.hbox8.Add (this.buttonLoadPhoto); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.buttonLoadPhoto])); w49.Position = 0; w49.Expand = false; w49.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.buttonSavePhoto = new global::Gtk.Button (); this.buttonSavePhoto.TooltipMarkup = "Сохранить фотографию на диск."; this.buttonSavePhoto.Sensitive = false; this.buttonSavePhoto.CanFocus = true; this.buttonSavePhoto.Name = "buttonSavePhoto"; this.buttonSavePhoto.UseUnderline = true; this.buttonSavePhoto.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w50 = new global::Gtk.Image (); w50.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSavePhoto.Image = w50; this.hbox8.Add (this.buttonSavePhoto); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.buttonSavePhoto])); w51.Position = 1; w51.Expand = false; w51.Fill = false; this.vbox2.Add (this.hbox8); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox8])); w52.Position = 1; w52.Expand = false; w52.Fill = false; this.hbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2])); w53.Position = 1; w53.Expand = false; w53.Fill = false; w1.Add (this.hbox1); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1])); w54.Position = 0; w54.Expand = false; w54.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook (); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox6 = new global::Gtk.VBox (); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.ytreeNorms = new global::Gamma.GtkWidgets.yTreeView (); this.ytreeNorms.CanFocus = true; this.ytreeNorms.Name = "ytreeNorms"; this.ytreeNorms.EnableSearch = false; this.GtkScrolledWindow2.Add (this.ytreeNorms); this.vbox6.Add (this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.GtkScrolledWindow2])); w56.Position = 0; // Container child vbox6.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox (); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.buttonAddNorm = new global::Gtk.Button (); this.buttonAddNorm.CanFocus = true; this.buttonAddNorm.Name = "buttonAddNorm"; this.buttonAddNorm.UseUnderline = true; this.buttonAddNorm.Label = global::Mono.Unix.Catalog.GetString ("Добавить норму"); global::Gtk.Image w57 = new global::Gtk.Image (); w57.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddNorm.Image = w57; this.hbox10.Add (this.buttonAddNorm); global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.buttonAddNorm])); w58.Position = 0; w58.Expand = false; w58.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.buttonNormFromPost = new global::Gtk.Button (); this.buttonNormFromPost.CanFocus = true; this.buttonNormFromPost.Name = "buttonNormFromPost"; this.buttonNormFromPost.UseUnderline = true; this.buttonNormFromPost.Label = global::Mono.Unix.Catalog.GetString ("По должности"); global::Gtk.Image w59 = new global::Gtk.Image (); w59.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonNormFromPost.Image = w59; this.hbox10.Add (this.buttonNormFromPost); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.buttonNormFromPost])); w60.Position = 1; w60.Expand = false; w60.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.buttonRemoveNorm = new global::Gtk.Button (); this.buttonRemoveNorm.CanFocus = true; this.buttonRemoveNorm.Name = "buttonRemoveNorm"; this.buttonRemoveNorm.UseUnderline = true; this.buttonRemoveNorm.Label = global::Mono.Unix.Catalog.GetString ("Удалить норму"); global::Gtk.Image w61 = new global::Gtk.Image (); w61.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveNorm.Image = w61; this.hbox10.Add (this.buttonRemoveNorm); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.buttonRemoveNorm])); w62.Position = 2; w62.Expand = false; w62.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.buttonRefreshWorkwearItems = new global::Gtk.Button (); this.buttonRefreshWorkwearItems.TooltipMarkup = "Обновить список требуемой спецодежды в соответсвтии с изменениями в нормах."; this.buttonRefreshWorkwearItems.CanFocus = true; this.buttonRefreshWorkwearItems.Name = "buttonRefreshWorkwearItems"; this.buttonRefreshWorkwearItems.UseUnderline = true; this.buttonRefreshWorkwearItems.Label = global::Mono.Unix.Catalog.GetString ("Обновить спецодежду"); this.hbox10.Add (this.buttonRefreshWorkwearItems); global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.buttonRefreshWorkwearItems])); w63.Position = 3; w63.Expand = false; w63.Fill = false; this.vbox6.Add (this.hbox10); global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox10])); w64.Position = 1; w64.Expand = false; w64.Fill = false; this.notebook1.Add (this.vbox6); // Notebook tab this.label13 = new global::Gtk.Label (); this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Применённые нормы"); this.notebook1.SetTabLabel (this.vbox6, this.label13); this.label13.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox7 = new global::Gtk.VBox (); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.ytreeWorkwear = new global::Gamma.GtkWidgets.yTreeView (); this.ytreeWorkwear.CanFocus = true; this.ytreeWorkwear.Name = "ytreeWorkwear"; this.GtkScrolledWindow3.Add (this.ytreeWorkwear); this.vbox7.Add (this.GtkScrolledWindow3); global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.GtkScrolledWindow3])); w67.Position = 0; // Container child vbox7.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox (); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; // Container child hbox11.Gtk.Box+BoxChild this.buttonPickNomenclature = new global::Gtk.Button (); this.buttonPickNomenclature.CanFocus = true; this.buttonPickNomenclature.Name = "buttonPickNomenclature"; this.buttonPickNomenclature.UseUnderline = true; this.buttonPickNomenclature.Label = global::Mono.Unix.Catalog.GetString ("Подобрать по складу"); global::Gtk.Image w68 = new global::Gtk.Image (); this.buttonPickNomenclature.Image = w68; this.hbox11.Add (this.buttonPickNomenclature); global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.buttonPickNomenclature])); w69.Position = 0; w69.Expand = false; w69.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.buttonGiveWearByNorm = new global::Gtk.Button (); this.buttonGiveWearByNorm.CanFocus = true; this.buttonGiveWearByNorm.Name = "buttonGiveWearByNorm"; this.buttonGiveWearByNorm.UseUnderline = true; this.buttonGiveWearByNorm.Label = global::Mono.Unix.Catalog.GetString ("Выдать неполученное"); global::Gtk.Image w70 = new global::Gtk.Image (); w70.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonGiveWearByNorm.Image = w70; this.hbox11.Add (this.buttonGiveWearByNorm); global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.buttonGiveWearByNorm])); w71.Position = 1; w71.Expand = false; w71.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.buttonReturnWear1 = new global::Gtk.Button (); this.buttonReturnWear1.CanFocus = true; this.buttonReturnWear1.Name = "buttonReturnWear1"; this.buttonReturnWear1.UseUnderline = true; this.buttonReturnWear1.Label = global::Mono.Unix.Catalog.GetString ("Возврат на склад"); global::Gtk.Image w72 = new global::Gtk.Image (); w72.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-redo", global::Gtk.IconSize.Menu); this.buttonReturnWear1.Image = w72; this.hbox11.Add (this.buttonReturnWear1); global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.buttonReturnWear1])); w73.Position = 2; w73.Expand = false; w73.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.buttonWriteOffWear1 = new global::Gtk.Button (); this.buttonWriteOffWear1.CanFocus = true; this.buttonWriteOffWear1.Name = "buttonWriteOffWear1"; this.buttonWriteOffWear1.UseUnderline = true; this.buttonWriteOffWear1.Label = global::Mono.Unix.Catalog.GetString ("Списание"); global::Gtk.Image w74 = new global::Gtk.Image (); w74.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete", global::Gtk.IconSize.Menu); this.buttonWriteOffWear1.Image = w74; this.hbox11.Add (this.buttonWriteOffWear1); global::Gtk.Box.BoxChild w75 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.buttonWriteOffWear1])); w75.Position = 3; w75.Expand = false; w75.Fill = false; this.vbox7.Add (this.hbox11); global::Gtk.Box.BoxChild w76 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox11])); w76.Position = 1; w76.Expand = false; w76.Fill = false; this.notebook1.Add (this.vbox7); global::Gtk.Notebook.NotebookChild w77 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox7])); w77.Position = 1; // Notebook tab this.label15 = new global::Gtk.Label (); this.label15.Name = "label15"; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("Спецодежда"); this.notebook1.SetTabLabel (this.vbox7, this.label15); this.label15.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeListedItems = new global::Gamma.GtkWidgets.yTreeView (); this.ytreeListedItems.CanFocus = true; this.ytreeListedItems.Name = "ytreeListedItems"; this.GtkScrolledWindow1.Add (this.ytreeListedItems); this.vbox4.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w79 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow1])); w79.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox (); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.buttonGiveWear = new global::Gtk.Button (); this.buttonGiveWear.Sensitive = false; this.buttonGiveWear.CanFocus = true; this.buttonGiveWear.Name = "buttonGiveWear"; this.buttonGiveWear.UseUnderline = true; this.buttonGiveWear.Label = global::Mono.Unix.Catalog.GetString ("Выдача сотруднику"); global::Gtk.Image w80 = new global::Gtk.Image (); w80.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonGiveWear.Image = w80; this.hbox9.Add (this.buttonGiveWear); global::Gtk.Box.BoxChild w81 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonGiveWear])); w81.Position = 0; w81.Expand = false; w81.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.buttonReturnWear = new global::Gtk.Button (); this.buttonReturnWear.Sensitive = false; this.buttonReturnWear.CanFocus = true; this.buttonReturnWear.Name = "buttonReturnWear"; this.buttonReturnWear.UseUnderline = true; this.buttonReturnWear.Label = global::Mono.Unix.Catalog.GetString ("Возврат на склад"); global::Gtk.Image w82 = new global::Gtk.Image (); w82.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-redo", global::Gtk.IconSize.Menu); this.buttonReturnWear.Image = w82; this.hbox9.Add (this.buttonReturnWear); global::Gtk.Box.BoxChild w83 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonReturnWear])); w83.Position = 1; w83.Expand = false; w83.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.buttonWriteOffWear = new global::Gtk.Button (); this.buttonWriteOffWear.Sensitive = false; this.buttonWriteOffWear.CanFocus = true; this.buttonWriteOffWear.Name = "buttonWriteOffWear"; this.buttonWriteOffWear.UseUnderline = true; this.buttonWriteOffWear.Label = global::Mono.Unix.Catalog.GetString ("Списание"); global::Gtk.Image w84 = new global::Gtk.Image (); w84.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete", global::Gtk.IconSize.Menu); this.buttonWriteOffWear.Image = w84; this.hbox9.Add (this.buttonWriteOffWear); global::Gtk.Box.BoxChild w85 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonWriteOffWear])); w85.Position = 2; w85.Expand = false; w85.Fill = false; this.vbox4.Add (this.hbox9); global::Gtk.Box.BoxChild w86 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox9])); w86.Position = 1; w86.Expand = false; w86.Fill = false; this.notebook1.Add (this.vbox4); global::Gtk.Notebook.NotebookChild w87 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox4])); w87.Position = 2; // Notebook tab this.label21 = new global::Gtk.Label (); this.label21.Name = "label21"; this.label21.LabelProp = global::Mono.Unix.Catalog.GetString ("Числится за сотрудником"); this.notebook1.SetTabLabel (this.vbox4, this.label21); this.label21.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeviewMovements = new global::Gamma.GtkWidgets.yTreeView (); this.treeviewMovements.CanFocus = true; this.treeviewMovements.Name = "treeviewMovements"; this.GtkScrolledWindow.Add (this.treeviewMovements); this.vbox5.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w89 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.GtkScrolledWindow])); w89.Position = 0; this.vbox3.Add (this.vbox5); global::Gtk.Box.BoxChild w90 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.vbox5])); w90.Position = 0; this.notebook1.Add (this.vbox3); global::Gtk.Notebook.NotebookChild w91 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox3])); w91.Position = 3; // Notebook tab this.label22 = new global::Gtk.Label (); this.label22.Name = "label22"; this.label22.LabelProp = global::Mono.Unix.Catalog.GetString ("История выдач"); this.notebook1.SetTabLabel (this.vbox3, this.label22); this.label22.ShowAll (); w1.Add (this.notebook1); global::Gtk.Box.BoxChild w92 = ((global::Gtk.Box.BoxChild)(w1 [this.notebook1])); w92.Position = 1; // Internal child workwear.EmployeeCardDlg.ActionArea global::Gtk.HButtonBox w93 = this.ActionArea; w93.Name = "dialog1_ActionArea"; w93.Spacing = 10; w93.BorderWidth = ((uint)(5)); w93.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonPrint = new global::Gtk.Button (); this.buttonPrint.Sensitive = false; this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString ("Печать"); global::Gtk.Image w94 = new global::Gtk.Image (); w94.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w94; this.AddActionWidget (this.buttonPrint, 0); global::Gtk.ButtonBox.ButtonBoxChild w95 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w93 [this.buttonPrint])); w95.Expand = false; w95.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("О_тменить"); global::Gtk.Image w96 = new global::Gtk.Image (); w96.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w96; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w97 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w93 [this.buttonCancel])); w97.Position = 1; w97.Expand = false; w97.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("_OK"); global::Gtk.Image w98 = new global::Gtk.Image (); w98.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu); this.buttonOk.Image = w98; w93.Add (this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w99 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w93 [this.buttonOk])); w99.Position = 2; w99.Expand = false; w99.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 1148; this.DefaultHeight = 569; this.Show (); this.yentryPost.Changed += new global::System.EventHandler (this.OnYentryPostChanged); this.ycomboWearStd.Changed += new global::System.EventHandler (this.OnYcomboWearStdChanged); this.ycomboShoesStd.Changed += new global::System.EventHandler (this.OnYcomboShoesStdChanged); this.ycomboHeaddressStd.Changed += new global::System.EventHandler (this.OnYcomboHeaddressChanged); this.ycomboGlovesStd.Changed += new global::System.EventHandler (this.OnYcomboGlovesStdChanged); this.entryId.Changed += new global::System.EventHandler (this.OnEntryIdChanged); this.checkAuto.Toggled += new global::System.EventHandler (this.OnCheckAutoToggled); this.comboSex.Changed += new global::System.EventHandler (this.OnComboSexChanged); this.yimagePhoto.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnYimagePhotoButtonPressEvent); this.buttonLoadPhoto.Clicked += new global::System.EventHandler (this.OnButtonLoadPhotoClicked); this.buttonSavePhoto.Clicked += new global::System.EventHandler (this.OnButtonSavePhotoClicked); this.notebook1.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebook1SwitchPage); this.buttonAddNorm.Clicked += new global::System.EventHandler (this.OnButtonAddNormClicked); this.buttonNormFromPost.Clicked += new global::System.EventHandler (this.OnButtonNormFromPostClicked); this.buttonRemoveNorm.Clicked += new global::System.EventHandler (this.OnButtonRemoveNormClicked); this.buttonRefreshWorkwearItems.Clicked += new global::System.EventHandler (this.OnButtonRefreshWorkwearItemsClicked); this.buttonPickNomenclature.Clicked += new global::System.EventHandler (this.OnButtonPickNomenclatureClicked); this.buttonGiveWearByNorm.Clicked += new global::System.EventHandler (this.OnButtonGiveWearByNormClicked); this.buttonReturnWear1.Clicked += new global::System.EventHandler (this.OnButtonReturnWearClicked); this.buttonWriteOffWear1.Clicked += new global::System.EventHandler (this.OnButtonWriteOffWearClicked); this.buttonGiveWear.Clicked += new global::System.EventHandler (this.OnButtonGiveWearClicked); this.buttonReturnWear.Clicked += new global::System.EventHandler (this.OnButtonReturnWearClicked); this.buttonWriteOffWear.Clicked += new global::System.EventHandler (this.OnButtonWriteOffWearClicked); this.buttonPrint.Clicked += new global::System.EventHandler (this.OnButtonPrintClicked); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
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 Vodovoz.JournalViewers.RouteListJournalFilterView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.JournalViewers.RouteListJournalFilterView"; // Container child Vodovoz.JournalViewers.RouteListJournalFilterView.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(7)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.buttonStatusAll = new global::Gtk.Button(); this.buttonStatusAll.CanFocus = true; this.buttonStatusAll.Name = "buttonStatusAll"; this.buttonStatusAll.UseUnderline = true; this.buttonStatusAll.Label = global::Mono.Unix.Catalog.GetString("Выбрать все"); this.table1.Add(this.buttonStatusAll); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonStatusAll])); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.buttonStatusNone = new global::Gtk.Button(); this.buttonStatusNone.CanFocus = true; this.buttonStatusNone.Name = "buttonStatusNone"; this.buttonStatusNone.UseUnderline = true; this.buttonStatusNone.Label = global::Mono.Unix.Catalog.GetString("Снять выбор"); this.table1.Add(this.buttonStatusNone); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonStatusNone])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.dateperiodOrders = new global::QS.Widgets.GtkUI.DateRangePicker(); this.dateperiodOrders.Events = ((global::Gdk.EventMask)(256)); this.dateperiodOrders.Name = "dateperiodOrders"; this.dateperiodOrders.StartDate = new global::System.DateTime(0); this.dateperiodOrders.EndDate = new global::System.DateTime(0); this.table1.Add(this.dateperiodOrders); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodOrders])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(3)); w3.RightAttach = ((uint)(4)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.WidthRequest = 220; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytreeviewRouteListStatuses = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewRouteListStatuses.CanFocus = true; this.ytreeviewRouteListStatuses.Name = "ytreeviewRouteListStatuses"; this.ytreeviewRouteListStatuses.HeadersVisible = false; this.GtkScrolledWindow.Add(this.ytreeviewRouteListStatuses); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w5.BottomAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(0)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Смена:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(4)); w6.RightAttach = ((uint)(5)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Район города:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w7.LeftAttach = ((uint)(2)); w7.RightAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Период:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(2)); w8.RightAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Тип ТС:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w9.LeftAttach = ((uint)(4)); w9.RightAttach = ((uint)(5)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryreferenceShift = new global::Gamma.Widgets.yEntryReference(); this.yentryreferenceShift.Events = ((global::Gdk.EventMask)(256)); this.yentryreferenceShift.Name = "yentryreferenceShift"; this.table1.Add(this.yentryreferenceShift); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryreferenceShift])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(5)); w10.RightAttach = ((uint)(6)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yEnumCmbTransport = new global::Gamma.Widgets.yEnumComboBox(); this.yEnumCmbTransport.Name = "yEnumCmbTransport"; this.yEnumCmbTransport.ShowSpecialStateAll = true; this.yEnumCmbTransport.ShowSpecialStateNot = false; this.yEnumCmbTransport.UseShortTitle = false; this.yEnumCmbTransport.DefaultFirst = false; this.table1.Add(this.yEnumCmbTransport); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.yEnumCmbTransport])); w11.LeftAttach = ((uint)(5)); w11.RightAttach = ((uint)(6)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ySpecCmbGeographicGroup = new global::Gamma.Widgets.ySpecComboBox(); this.ySpecCmbGeographicGroup.Name = "ySpecCmbGeographicGroup"; this.ySpecCmbGeographicGroup.AddIfNotExist = false; this.ySpecCmbGeographicGroup.DefaultFirst = false; this.ySpecCmbGeographicGroup.ShowSpecialStateAll = true; this.ySpecCmbGeographicGroup.ShowSpecialStateNot = false; this.table1.Add(this.ySpecCmbGeographicGroup); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.ySpecCmbGeographicGroup])); w12.LeftAttach = ((uint)(3)); w12.RightAttach = ((uint)(4)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ytreeviewAddressTypes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewAddressTypes.CanFocus = true; this.ytreeviewAddressTypes.Name = "ytreeviewAddressTypes"; this.ytreeviewAddressTypes.HeadersVisible = false; this.table1.Add(this.ytreeviewAddressTypes); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.ytreeviewAddressTypes])); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(6)); w13.RightAttach = ((uint)(7)); w13.XOptions = ((global::Gtk.AttachOptions)(0)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.ySpecCmbGeographicGroup.ItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnYSpecCmbGeographicGroupItemSelected); this.yEnumCmbTransport.ChangedByUser += new global::System.EventHandler(this.OnYEnumCmbTransportChangedByUser); this.yentryreferenceShift.ChangedByUser += new global::System.EventHandler(this.OnYentryreferenceShiftChangedByUser); this.dateperiodOrders.PeriodChangedByUser += new global::System.EventHandler(this.OnDateperiodOrdersPeriodChangedByUser); this.buttonStatusNone.Clicked += new global::System.EventHandler(this.OnButtonStatusNoneActivated); this.buttonStatusAll.Clicked += new global::System.EventHandler(this.OnButtonStatusAllActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Stock.ExpenseObjectView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Stock.ExpenseObjectView"; // Container child workwear.Views.Stock.ExpenseObjectView.Gtk.Container+ContainerChild this.dialog1_VBox = new global::Gtk.VBox(); this.dialog1_VBox.Name = "dialog1_VBox"; this.dialog1_VBox.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.dialog1_VBox.Add(this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(3)); // Container child hbox1.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.entitySubdivision = new global::QS.Views.Control.EntityEntry(); this.entitySubdivision.Events = ((global::Gdk.EventMask)(256)); this.entitySubdivision.Name = "entitySubdivision"; this.table2.Add(this.entitySubdivision); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2[this.entitySubdivision])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entityWarehouseExpense = new global::QS.Views.Control.EntityEntry(); this.entityWarehouseExpense.Events = ((global::Gdk.EventMask)(256)); this.entityWarehouseExpense.Name = "entityWarehouseExpense"; this.table2.Add(this.entityWarehouseExpense); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2[this.entityWarehouseExpense])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.hboxIssuanceSheet = new global::Gtk.HBox(); this.hboxIssuanceSheet.Name = "hboxIssuanceSheet"; this.hboxIssuanceSheet.Spacing = 6; this.table2.Add(this.hboxIssuanceSheet); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2[this.hboxIssuanceSheet])); w8.TopAttach = ((uint)(3)); w8.BottomAttach = ((uint)(4)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((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("Операция<span foreground=\"red\">*</span>:"); this.label2.UseMarkup = true; this.table2.Add(this.label2); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2[this.label2])); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.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("Склад<span foreground=\"red\">*</span>:"); this.label3.UseMarkup = true; this.table2.Add(this.label3); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2[this.label3])); 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.labelObject = new global::Gtk.Label(); this.labelObject.Name = "labelObject"; this.labelObject.Xalign = 1F; this.labelObject.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение<span foreground=\"red\">*</span>:"); this.labelObject.UseMarkup = true; this.table2.Add(this.labelObject); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2[this.labelObject])); 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.ycomboOperation = new global::Gamma.Widgets.yEnumComboBox(); this.ycomboOperation.Name = "ycomboOperation"; this.ycomboOperation.ShowSpecialStateAll = false; this.ycomboOperation.ShowSpecialStateNot = false; this.ycomboOperation.UseShortTitle = false; this.ycomboOperation.DefaultFirst = false; this.table2.Add(this.ycomboOperation); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2[this.ycomboOperation])); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table2])); w13.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.GtkScrolledWindowComments = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindowComments.Name = "GtkScrolledWindowComments"; this.GtkScrolledWindowComments.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowComments.Gtk.Container+ContainerChild this.ytextComment = new global::Gamma.GtkWidgets.yTextView(); this.ytextComment.CanFocus = true; this.ytextComment.Name = "ytextComment"; this.ytextComment.AcceptsTab = false; this.ytextComment.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindowComments.Add(this.ytextComment); this.table3.Add(this.GtkScrolledWindowComments); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table3[this.GtkScrolledWindowComments])); w15.TopAttach = ((uint)(3)); w15.BottomAttach = ((uint)(4)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label26 = new global::Gtk.Label(); this.label26.Name = "label26"; this.label26.Xalign = 1F; this.label26.Yalign = 0F; this.label26.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.table3.Add(this.label26); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table3[this.label26])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Номер:"); this.table3.Add(this.label4); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table3[this.label4])); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Пользователь:"); this.table3.Add(this.label5); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table3[this.label5])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Дата<span foreground=\"red\">*</span>:"); this.label6.UseMarkup = true; this.table3.Add(this.label6); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table3[this.label6])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ydateDoc = new global::QS.Widgets.GtkUI.DatePicker(); this.ydateDoc.Events = ((global::Gdk.EventMask)(256)); this.ydateDoc.Name = "ydateDoc"; this.ydateDoc.WithTime = false; this.ydateDoc.HideCalendarButton = false; this.ydateDoc.Date = new global::System.DateTime(0); this.ydateDoc.IsEditable = true; this.ydateDoc.AutoSeparation = true; this.table3.Add(this.ydateDoc); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table3[this.ydateDoc])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ylabelCreatedBy = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCreatedBy.Name = "ylabelCreatedBy"; this.ylabelCreatedBy.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1"); this.table3.Add(this.ylabelCreatedBy); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table3[this.ylabelCreatedBy])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.ylabelId = new global::Gamma.GtkWidgets.yLabel(); this.ylabelId.Name = "ylabelId"; this.ylabelId.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel3"); this.table3.Add(this.ylabelId); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table3[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.table3); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table3])); w23.Position = 1; this.dialog1_VBox.Add(this.hbox1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox1])); w24.Position = 1; w24.Expand = false; w24.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.expensedocitemobjectview1 = new global::workwear.Views.Stock.ExpenseDocItemObjectView(); this.expensedocitemobjectview1.Events = ((global::Gdk.EventMask)(256)); this.expensedocitemobjectview1.Name = "expensedocitemobjectview1"; this.dialog1_VBox.Add(this.expensedocitemobjectview1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.expensedocitemobjectview1])); w25.Position = 2; this.Add(this.dialog1_VBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Logistic.DriversInfoExportView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Logistic.DriversInfoExportView"; // Container child Vodovoz.Views.Logistic.DriversInfoExportView.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.yhbox1 = new global::Gamma.GtkWidgets.yHBox(); this.yhbox1.Name = "yhbox1"; this.yhbox1.Spacing = 6; // Container child yhbox1.Gtk.Box+BoxChild this.ytable1 = new global::Gamma.GtkWidgets.yTable(); this.ytable1.Name = "ytable1"; this.ytable1.NRows = ((uint)(2)); this.ytable1.NColumns = ((uint)(7)); this.ytable1.RowSpacing = ((uint)(6)); this.ytable1.ColumnSpacing = ((uint)(6)); // Container child ytable1.Gtk.Table+TableChild this.comboEmployeeStatus = new global::Gamma.Widgets.yEnumComboBox(); this.comboEmployeeStatus.Name = "comboEmployeeStatus"; this.comboEmployeeStatus.ShowSpecialStateAll = true; this.comboEmployeeStatus.ShowSpecialStateNot = false; this.comboEmployeeStatus.UseShortTitle = false; this.comboEmployeeStatus.DefaultFirst = false; this.ytable1.Add(this.comboEmployeeStatus); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.ytable1[this.comboEmployeeStatus])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.comboPlanFact = new global::Gamma.Widgets.yEnumComboBox(); this.comboPlanFact.Name = "comboPlanFact"; this.comboPlanFact.ShowSpecialStateAll = false; this.comboPlanFact.ShowSpecialStateNot = false; this.comboPlanFact.UseShortTitle = false; this.comboPlanFact.DefaultFirst = true; this.ytable1.Add(this.comboPlanFact); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.ytable1[this.comboPlanFact])); w2.LeftAttach = ((uint)(5)); w2.RightAttach = ((uint)(6)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.comboTypeOfDriversInfoExport = new global::Gamma.Widgets.yEnumComboBox(); this.comboTypeOfDriversInfoExport.Name = "comboTypeOfDriversInfoExport"; this.comboTypeOfDriversInfoExport.ShowSpecialStateAll = false; this.comboTypeOfDriversInfoExport.ShowSpecialStateNot = false; this.comboTypeOfDriversInfoExport.UseShortTitle = false; this.comboTypeOfDriversInfoExport.DefaultFirst = true; this.ytable1.Add(this.comboTypeOfDriversInfoExport); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.ytable1[this.comboTypeOfDriversInfoExport])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(5)); w3.RightAttach = ((uint)(6)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.datepickerPeriod = new global::QS.Widgets.GtkUI.DateRangePicker(); this.datepickerPeriod.WidthRequest = 180; this.datepickerPeriod.Events = ((global::Gdk.EventMask)(256)); this.datepickerPeriod.Name = "datepickerPeriod"; this.datepickerPeriod.StartDate = new global::System.DateTime(0); this.datepickerPeriod.EndDate = new global::System.DateTime(0); this.ytable1.Add(this.datepickerPeriod); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.ytable1[this.datepickerPeriod])); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.GtkScrolledWindowOwnType = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindowOwnType.WidthRequest = 200; this.GtkScrolledWindowOwnType.Name = "GtkScrolledWindowOwnType"; this.GtkScrolledWindowOwnType.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowOwnType.Gtk.Container+ContainerChild global::Gtk.Viewport w5 = new global::Gtk.Viewport(); w5.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport2.Gtk.Container+ContainerChild this.enumcheckCarOwnType = new global::Gamma.Widgets.EnumCheckList(); this.enumcheckCarOwnType.Name = "enumcheckCarOwnType"; w5.Add(this.enumcheckCarOwnType); this.GtkScrolledWindowOwnType.Add(w5); this.ytable1.Add(this.GtkScrolledWindowOwnType); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.ytable1[this.GtkScrolledWindowOwnType])); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(3)); w8.RightAttach = ((uint)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.GtkScrolledWindowTypeOfUse = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindowTypeOfUse.WidthRequest = 200; this.GtkScrolledWindowTypeOfUse.Name = "GtkScrolledWindowTypeOfUse"; this.GtkScrolledWindowTypeOfUse.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowTypeOfUse.Gtk.Container+ContainerChild global::Gtk.Viewport w9 = new global::Gtk.Viewport(); w9.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport1.Gtk.Container+ContainerChild this.enumcheckCarTypeOfUse = new global::Gamma.Widgets.EnumCheckList(); this.enumcheckCarTypeOfUse.Name = "enumcheckCarTypeOfUse"; w9.Add(this.enumcheckCarTypeOfUse); this.GtkScrolledWindowTypeOfUse.Add(w9); this.ytable1.Add(this.GtkScrolledWindowTypeOfUse); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.ytable1[this.GtkScrolledWindowTypeOfUse])); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(2)); w12.RightAttach = ((uint)(3)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.ybuttonInfo = new global::Gamma.GtkWidgets.yButton(); this.ybuttonInfo.TooltipMarkup = "Справка по работе с выгрузкой"; this.ybuttonInfo.WidthRequest = 40; this.ybuttonInfo.CanFocus = true; this.ybuttonInfo.Name = "ybuttonInfo"; this.ybuttonInfo.UseUnderline = true; this.ybuttonInfo.Relief = ((global::Gtk.ReliefStyle)(1)); global::Gtk.Image w13 = new global::Gtk.Image(); w13.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-help", global::Gtk.IconSize.Menu); this.ybuttonInfo.Image = w13; this.hbox2.Add(this.ybuttonInfo); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.ybuttonInfo])); w14.Position = 0; w14.Expand = false; w14.Fill = false; this.ytable1.Add(this.hbox2); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.ytable1[this.hbox2])); w15.LeftAttach = ((uint)(6)); w15.RightAttach = ((uint)(7)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.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.ytable1.Add(this.ylabel1); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.ytable1[this.ylabel1])); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.Xalign = 1F; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Статус сотрудника:"); this.ytable1.Add(this.ylabel2); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.ytable1[this.ylabel2])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.ylabelPlanFact = new global::Gamma.GtkWidgets.yLabel(); this.ylabelPlanFact.Name = "ylabelPlanFact"; this.ylabelPlanFact.Xalign = 1F; this.ylabelPlanFact.LabelProp = global::Mono.Unix.Catalog.GetString("План/факт:"); this.ytable1.Add(this.ylabelPlanFact); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.ytable1[this.ylabelPlanFact])); w18.LeftAttach = ((uint)(4)); w18.RightAttach = ((uint)(5)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.ylabelStatus = new global::Gamma.GtkWidgets.yLabel(); this.ylabelStatus.Name = "ylabelStatus"; this.ytable1.Add(this.ylabelStatus); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.ytable1[this.ylabelStatus])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.LeftAttach = ((uint)(6)); w19.RightAttach = ((uint)(7)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.ylabelTypeOfDriversInfoExport = new global::Gamma.GtkWidgets.yLabel(); this.ylabelTypeOfDriversInfoExport.Name = "ylabelTypeOfDriversInfoExport"; this.ylabelTypeOfDriversInfoExport.Xalign = 1F; this.ylabelTypeOfDriversInfoExport.LabelProp = global::Mono.Unix.Catalog.GetString("Тип выгрузки:"); this.ytable1.Add(this.ylabelTypeOfDriversInfoExport); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.ytable1[this.ylabelTypeOfDriversInfoExport])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.LeftAttach = ((uint)(4)); w20.RightAttach = ((uint)(5)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); this.yhbox1.Add(this.ytable1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.ytable1])); w21.Position = 0; w21.Expand = false; // Container child yhbox1.Gtk.Box+BoxChild this.yvbox2 = new global::Gamma.GtkWidgets.yVBox(); this.yvbox2.Name = "yvbox2"; this.yvbox2.Spacing = 6; // Container child yvbox2.Gtk.Box+BoxChild this.ybuttonForm = new global::Gamma.GtkWidgets.yButton(); this.ybuttonForm.CanFocus = true; this.ybuttonForm.Name = "ybuttonForm"; this.ybuttonForm.UseUnderline = true; this.ybuttonForm.Label = global::Mono.Unix.Catalog.GetString("Сформировать"); this.yvbox2.Add(this.ybuttonForm); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.yvbox2[this.ybuttonForm])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // Container child yvbox2.Gtk.Box+BoxChild this.ybuttonExport = new global::Gamma.GtkWidgets.yButton(); this.ybuttonExport.CanFocus = true; this.ybuttonExport.Name = "ybuttonExport"; this.ybuttonExport.UseUnderline = true; this.ybuttonExport.Label = global::Mono.Unix.Catalog.GetString("Выгрузить"); this.yvbox2.Add(this.ybuttonExport); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.yvbox2[this.ybuttonExport])); w23.PackType = ((global::Gtk.PackType)(1)); w23.Position = 1; w23.Expand = false; w23.Fill = false; this.yhbox1.Add(this.yvbox2); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.yhbox1[this.yvbox2])); w24.PackType = ((global::Gtk.PackType)(1)); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.yvbox1.Add(this.yhbox1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.yhbox1])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child yvbox1.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.ytreeDriversInfo = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeDriversInfo.CanFocus = true; this.ytreeDriversInfo.Name = "ytreeDriversInfo"; this.GtkScrolledWindow.Add(this.ytreeDriversInfo); this.yvbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.GtkScrolledWindow])); w27.Position = 1; this.Add(this.yvbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Employees.EmployeeDocDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Employees.EmployeeDocDlg"; // Container child Vodovoz.Dialogs.Employees.EmployeeDocDlg.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox2.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-cancel", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox2.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(6)), ((uint)(4)), false); this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboCategory = new global::Gamma.Widgets.yEnumComboBox(); this.comboCategory.Name = "comboCategory"; this.comboCategory.ShowSpecialStateAll = false; this.comboCategory.ShowSpecialStateNot = false; this.comboCategory.UseShortTitle = false; this.comboCategory.DefaultFirst = true; this.table1.Add(this.comboCategory); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.comboCategory])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(4)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewIssueOrg = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewIssueOrg.HeightRequest = 80; this.ytextviewIssueOrg.CanFocus = true; this.ytextviewIssueOrg.Name = "ytextviewIssueOrg"; this.GtkScrolledWindow.Add(this.ytextviewIssueOrg); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w8.TopAttach = ((uint)(5)); w8.BottomAttach = ((uint)(6)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("серия:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("номер:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(2)); w10.RightAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Дата выдачи:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w11.TopAttach = ((uint)(3)); w11.BottomAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Кем выдан:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w12.TopAttach = ((uint)(5)); w12.BottomAttach = ((uint)(6)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Вид документа:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Код подразделения:"); this.table1.Add(this.label7); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label7])); w14.TopAttach = ((uint)(4)); w14.BottomAttach = ((uint)(5)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycheckMainDoc = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckMainDoc.CanFocus = true; this.ycheckMainDoc.Name = "ycheckMainDoc"; this.ycheckMainDoc.Label = global::Mono.Unix.Catalog.GetString("Главный документ"); this.ycheckMainDoc.DrawIndicator = true; this.ycheckMainDoc.UseUnderline = true; this.ycheckMainDoc.FocusOnClick = false; this.table1.Add(this.ycheckMainDoc); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.ycheckMainDoc])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydatePassportIssuedDate = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatePassportIssuedDate.Events = ((global::Gdk.EventMask)(256)); this.ydatePassportIssuedDate.Name = "ydatePassportIssuedDate"; this.ydatePassportIssuedDate.WithTime = false; this.ydatePassportIssuedDate.HideCalendarButton = false; this.ydatePassportIssuedDate.Date = new global::System.DateTime(0); this.ydatePassportIssuedDate.IsEditable = true; this.ydatePassportIssuedDate.AutoSeparation = false; this.table1.Add(this.ydatePassportIssuedDate); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.ydatePassportIssuedDate])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryDocName = new global::Gamma.GtkWidgets.yEntry(); this.yentryDocName.CanFocus = true; this.yentryDocName.Name = "yentryDocName"; this.yentryDocName.IsEditable = true; this.yentryDocName.InvisibleChar = '•'; this.table1.Add(this.yentryDocName); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryDocName])); w17.TopAttach = ((uint)(4)); w17.BottomAttach = ((uint)(5)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryPasSeria = new global::Gamma.GtkWidgets.yEntry(); this.yentryPasSeria.WidthRequest = 100; this.yentryPasSeria.CanFocus = true; this.yentryPasSeria.Name = "yentryPasSeria"; this.yentryPasSeria.IsEditable = true; this.yentryPasSeria.InvisibleChar = '•'; this.table1.Add(this.yentryPasSeria); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryPasSeria])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryPassportNumber = new global::Gamma.GtkWidgets.yEntry(); this.yentryPassportNumber.WidthRequest = 200; this.yentryPassportNumber.CanFocus = true; this.yentryPassportNumber.Name = "yentryPassportNumber"; this.yentryPassportNumber.IsEditable = true; this.yentryPassportNumber.InvisibleChar = '•'; this.table1.Add(this.yentryPassportNumber); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryPassportNumber])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(3)); w19.RightAttach = ((uint)(4)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w20.Position = 1; w20.Expand = false; w20.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.ycheckMainDoc.Hide(); this.Hide(); this.buttonSave.Clicked += new global::System.EventHandler(this.OnSaveButtonClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.comboCategory.EnumItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnDocumentTypeSelected); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.Bottles.ReturnedTareReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Bottles.ReturnedTareReport"; // Container child Vodovoz.ReportsParameters.Bottles.ReturnedTareReport.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)(3)), ((uint)(5)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.buttonHelp = new global::Gtk.Button(); this.buttonHelp.CanFocus = true; this.buttonHelp.Name = "buttonHelp"; this.buttonHelp.UseUnderline = true; this.buttonHelp.Label = global::Mono.Unix.Catalog.GetString("Справка"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-help", global::Gtk.IconSize.Menu); this.buttonHelp.Image = w1; this.table1.Add(this.buttonHelp); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonHelp])); w2.LeftAttach = ((uint)(4)); w2.RightAttach = ((uint)(5)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.chkClosedOrdersOnly = new global::Gamma.GtkWidgets.yCheckButton(); this.chkClosedOrdersOnly.CanFocus = true; this.chkClosedOrdersOnly.Name = "chkClosedOrdersOnly"; this.chkClosedOrdersOnly.Label = global::Mono.Unix.Catalog.GetString("Закрытые заказы"); this.chkClosedOrdersOnly.DrawIndicator = true; this.chkClosedOrdersOnly.UseUnderline = true; this.table1.Add(this.chkClosedOrdersOnly); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.chkClosedOrdersOnly])); 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.daterangepicker = new global::QS.Widgets.GtkUI.DateRangePicker(); this.daterangepicker.Events = ((global::Gdk.EventMask)(256)); this.daterangepicker.Name = "daterangepicker"; this.daterangepicker.StartDate = new global::System.DateTime(0); this.daterangepicker.EndDate = new global::System.DateTime(0); this.table1.Add(this.daterangepicker); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.daterangepicker])); w4.LeftAttach = ((uint)(2)); w4.RightAttach = ((uint)(3)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entityviewmodelentryAuthor = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityviewmodelentryAuthor.Events = ((global::Gdk.EventMask)(256)); this.entityviewmodelentryAuthor.Name = "entityviewmodelentryAuthor"; this.entityviewmodelentryAuthor.CanEditReference = false; this.table1.Add(this.entityviewmodelentryAuthor); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.entityviewmodelentryAuthor])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата доставки: "); this.table1.Add(this.label1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(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 w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.table1.Add(this.vseparator1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.vseparator1])); w8.LeftAttach = ((uint)(3)); w8.RightAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yenumcomboboxDateType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboboxDateType.Name = "yenumcomboboxDateType"; this.yenumcomboboxDateType.ShowSpecialStateAll = false; this.yenumcomboboxDateType.ShowSpecialStateNot = false; this.yenumcomboboxDateType.UseShortTitle = false; this.yenumcomboboxDateType.DefaultFirst = false; this.table1.Add(this.yenumcomboboxDateType); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumcomboboxDateType])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.btnCreateReport = new global::Gamma.GtkWidgets.yButton(); this.btnCreateReport.CanFocus = true; this.btnCreateReport.Name = "btnCreateReport"; this.btnCreateReport.UseUnderline = true; this.btnCreateReport.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.vbox2.Add(this.btnCreateReport); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.btnCreateReport])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.WriteoffDocumentDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.WriteoffDocumentDlg"; // Container child Vodovoz.WriteoffDocumentDlg.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(6)); // Container child vbox4.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox5.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox5.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonPrint = new global::Gtk.Button(); this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w5; this.hbox5.Add(this.buttonPrint); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonPrint])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox4.Add(this.hbox5); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox5])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.tableWriteoff = new global::Gtk.Table(((uint)(4)), ((uint)(4)), false); this.tableWriteoff.Name = "tableWriteoff"; this.tableWriteoff.RowSpacing = ((uint)(6)); this.tableWriteoff.ColumnSpacing = ((uint)(6)); // Container child tableWriteoff.Gtk.Table+TableChild this.comboType = new global::Gamma.Widgets.yEnumComboBox(); this.comboType.CanFocus = true; this.comboType.Name = "comboType"; this.comboType.ShowSpecialStateAll = false; this.comboType.ShowSpecialStateNot = false; this.comboType.UseShortTitle = false; this.comboType.DefaultFirst = false; this.tableWriteoff.Add(this.comboType); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.comboType])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.evmeCounterparty = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeCounterparty.Events = ((global::Gdk.EventMask)(256)); this.evmeCounterparty.Name = "evmeCounterparty"; this.evmeCounterparty.CanEditReference = true; this.tableWriteoff.Add(this.evmeCounterparty); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.evmeCounterparty])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.evmeDeliveryPoint = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeDeliveryPoint.Events = ((global::Gdk.EventMask)(256)); this.evmeDeliveryPoint.Name = "evmeDeliveryPoint"; this.evmeDeliveryPoint.CanEditReference = false; this.tableWriteoff.Add(this.evmeDeliveryPoint); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.evmeDeliveryPoint])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(3)); w10.RightAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.evmeEmployee = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeEmployee.Events = ((global::Gdk.EventMask)(256)); this.evmeEmployee.Name = "evmeEmployee"; this.evmeEmployee.CanEditReference = true; this.tableWriteoff.Add(this.evmeEmployee); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.evmeEmployee])); w11.LeftAttach = ((uint)(3)); w11.RightAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.textComment = new global::Gamma.GtkWidgets.yTextView(); this.textComment.CanFocus = true; this.textComment.Name = "textComment"; this.GtkScrolledWindow1.Add(this.textComment); this.tableWriteoff.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.GtkScrolledWindow1])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.tableWriteoff.Add(this.label1); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label1])); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Ответственное лицо:"); this.tableWriteoff.Add(this.label12); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label12])); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Тип списания:"); this.tableWriteoff.Add(this.label2); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label2])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Склад:"); this.tableWriteoff.Add(this.label4); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label4])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.Yalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:"); this.tableWriteoff.Add(this.label5); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label5])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Клиент:"); this.tableWriteoff.Add(this.label6); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label6])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Точка доставки:"); this.tableWriteoff.Add(this.label7); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label7])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(2)); w20.RightAttach = ((uint)(3)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.labelTimeStamp = new global::Gamma.GtkWidgets.yLabel(); this.labelTimeStamp.Name = "labelTimeStamp"; this.labelTimeStamp.Xalign = 0F; this.tableWriteoff.Add(this.labelTimeStamp); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.labelTimeStamp])); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableWriteoff.Gtk.Table+TableChild this.ySpecCmbWarehouses = new global::Gamma.Widgets.ySpecComboBox(); this.ySpecCmbWarehouses.Name = "ySpecCmbWarehouses"; this.ySpecCmbWarehouses.AddIfNotExist = false; this.ySpecCmbWarehouses.DefaultFirst = false; this.ySpecCmbWarehouses.ShowSpecialStateAll = false; this.ySpecCmbWarehouses.ShowSpecialStateNot = true; this.tableWriteoff.Add(this.ySpecCmbWarehouses); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.ySpecCmbWarehouses])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.LeftAttach = ((uint)(3)); w22.RightAttach = ((uint)(4)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add(this.tableWriteoff); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.tableWriteoff])); w23.Position = 1; w23.Expand = false; w23.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.writeoffdocumentitemsview1 = new global::Vodovoz.WriteoffDocumentItemsView(); this.writeoffdocumentitemsview1.Events = ((global::Gdk.EventMask)(256)); this.writeoffdocumentitemsview1.Name = "writeoffdocumentitemsview1"; this.vbox4.Add(this.writeoffdocumentitemsview1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.writeoffdocumentitemsview1])); w24.PackType = ((global::Gtk.PackType)(1)); w24.Position = 2; this.Add(this.vbox4); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonPrint.Clicked += new global::System.EventHandler(this.OnButtonPrintClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Dialogs.Employees.EmployeeWorkChartDlg global::Stetic.BinContainer.Attach (this); this.Name = "Dialogs.Employees.EmployeeWorkChartDlg"; // Container child Dialogs.Employees.EmployeeWorkChartDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // 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 w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox5.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox5.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add (this.hbox5); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox5])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel (); this.ylabel1.Name = "ylabel1"; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("Месяц:"); this.hbox7.Add (this.ylabel1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.ylabel1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.yenumcomboMonth = new global::Gamma.Widgets.yEnumComboBox (); this.yenumcomboMonth.Name = "yenumcomboMonth"; this.yenumcomboMonth.ShowSpecialStateAll = false; this.yenumcomboMonth.ShowSpecialStateNot = false; this.yenumcomboMonth.UseShortTitle = false; this.yenumcomboMonth.DefaultFirst = false; this.hbox7.Add (this.yenumcomboMonth); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.yenumcomboMonth])); w7.Position = 1; this.vbox2.Add (this.hbox7); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox7])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Год:"); this.hbox3.Add (this.label2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label2])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.yspinYear = new global::Gamma.GtkWidgets.ySpinButton (1, 5000, 1); this.yspinYear.CanFocus = true; this.yspinYear.Name = "yspinYear"; this.yspinYear.Adjustment.PageIncrement = 10; this.yspinYear.ClimbRate = 1; this.yspinYear.Numeric = true; this.yspinYear.ValueAsDecimal = 0m; this.yspinYear.ValueAsInt = 0; this.hbox3.Add (this.yspinYear); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.yspinYear])); w10.Position = 1; this.vbox2.Add (this.hbox3); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3])); w11.Position = 2; w11.Expand = false; w11.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox (); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Сотрудник:"); this.hbox6.Add (this.label3); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.label3])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.yentryEmployee = new global::Gamma.Widgets.yEntryReference (); this.yentryEmployee.Events = ((global::Gdk.EventMask)(256)); this.yentryEmployee.Name = "yentryEmployee"; this.hbox6.Add (this.yentryEmployee); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.yentryEmployee])); w13.Position = 1; this.vbox2.Add (this.hbox6); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox6])); w14.Position = 3; w14.Expand = false; w14.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.labelTotalHours = new global::Gtk.Label (); this.labelTotalHours.Name = "labelTotalHours"; this.labelTotalHours.LabelProp = global::Mono.Unix.Catalog.GetString ("Всего за месяц 0 часов"); this.vbox2.Add (this.labelTotalHours); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.labelTotalHours])); w15.Position = 4; 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; w16.Expand = false; w16.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.workcharttable = new global::ViewWidgets.WorkChartTable (); this.workcharttable.Name = "workcharttable"; this.workcharttable.Date = new global::System.DateTime (0); this.hbox1.Add (this.workcharttable); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.workcharttable])); w17.Position = 1; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w18.Position = 0; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }