protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.Logistic.OnLoadTimeAtDayReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Logistic.OnLoadTimeAtDayReport"; // Container child Vodovoz.ReportsParameters.Logistic.OnLoadTimeAtDayReport.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.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.ydateAtDay = new global::QS.Widgets.GtkUI.DatePicker(); this.ydateAtDay.Events = ((global::Gdk.EventMask)(256)); this.ydateAtDay.Name = "ydateAtDay"; this.ydateAtDay.WithTime = false; this.ydateAtDay.Date = new global::System.DateTime(0); this.ydateAtDay.IsEditable = true; this.ydateAtDay.AutoSeparation = true; this.hbox1.Add(this.ydateAtDay); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ydateAtDay])); w2.Position = 1; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.buttonCreateReport = new global::Gtk.Button(); this.buttonCreateReport.Sensitive = false; this.buttonCreateReport.CanFocus = true; this.buttonCreateReport.Name = "buttonCreateReport"; this.buttonCreateReport.UseUnderline = true; this.buttonCreateReport.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.vbox1.Add(this.buttonCreateReport); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.buttonCreateReport])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.ydateAtDay.DateChanged += new global::System.EventHandler(this.OnYdateAtDayDateChanged); this.buttonCreateReport.Clicked += new global::System.EventHandler(this.OnButtonCreateReportClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.Sales.SuburbWaterPriceReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Sales.SuburbWaterPriceReport"; // Container child Vodovoz.ReportsParameters.Sales.SuburbWaterPriceReport.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.hbox3.Add(this.label2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.ydatepicker = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatepicker.Events = ((global::Gdk.EventMask)(256)); this.ydatepicker.Name = "ydatepicker"; this.ydatepicker.WithTime = false; this.ydatepicker.Date = new global::System.DateTime(0); this.ydatepicker.IsEditable = true; this.ydatepicker.AutoSeparation = false; this.hbox3.Add(this.ydatepicker); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.ydatepicker])); w2.Position = 1; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.buttonCreateRepot = new global::Gtk.Button(); this.buttonCreateRepot.CanFocus = true; this.buttonCreateRepot.Name = "buttonCreateRepot"; this.buttonCreateRepot.UseUnderline = true; this.buttonCreateRepot.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.vbox1.Add(this.buttonCreateRepot); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.buttonCreateRepot])); w4.PackType = ((global::Gtk.PackType)(1)); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonCreateRepot.Clicked += new global::System.EventHandler(this.OnButtonCreateRepotClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.Logistic.OrdersByDistrictsAndDeliverySchedulesReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Logistic.OrdersByDistrictsAndDeliverySchedulesReport"; // Container child Vodovoz.ReportsParameters.Logistic.OrdersByDistrictsAndDeliverySchedulesReport.Gtk.Container+ContainerChild this.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.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.lblDate = new global::Gamma.GtkWidgets.yLabel(); this.lblDate.Name = "lblDate"; this.lblDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.table1.Add(this.lblDate); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.lblDate])); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.pkrDate = new global::QS.Widgets.GtkUI.DatePicker(); this.pkrDate.Events = ((global::Gdk.EventMask)(256)); this.pkrDate.Name = "pkrDate"; this.pkrDate.WithTime = false; this.pkrDate.HideCalendarButton = false; this.pkrDate.Date = new global::System.DateTime(0); this.pkrDate.IsEditable = true; this.pkrDate.AutoSeparation = false; this.table1.Add(this.pkrDate); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.pkrDate])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.pkrDate.DateChangedByUser += new global::System.EventHandler(this.OnPkrDateDateChangedByUser); this.buttonRun.Clicked += new global::System.EventHandler(this.OnButtonRunClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ServiceDialogs.ResendEmailsDialog global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ServiceDialogs.ResendEmailsDialog"; // Container child Vodovoz.ServiceDialogs.ResendEmailsDialog.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.datepicker1 = new global::QS.Widgets.GtkUI.DatePicker(); this.datepicker1.Events = ((global::Gdk.EventMask)(256)); this.datepicker1.Name = "datepicker1"; this.datepicker1.WithTime = false; this.datepicker1.Date = new global::System.DateTime(0); this.datepicker1.IsEditable = true; this.datepicker1.AutoSeparation = false; this.vbox2.Add(this.datepicker1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.datepicker1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.buttonSendErrorSendedEmails = new global::Gtk.Button(); this.buttonSendErrorSendedEmails.CanFocus = true; this.buttonSendErrorSendedEmails.Name = "buttonSendErrorSendedEmails"; this.buttonSendErrorSendedEmails.UseUnderline = true; this.buttonSendErrorSendedEmails.Label = global::Mono.Unix.Catalog.GetString("Переотправить не отправленные"); this.vbox2.Add(this.buttonSendErrorSendedEmails); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.buttonSendErrorSendedEmails])); w2.Position = 1; w2.Expand = false; w2.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.Views.Flyers.FlyerView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Flyers.FlyerView"; // Container child Vodovoz.Views.Flyers.FlyerView.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.hboxSaveAndClose = new global::Gamma.GtkWidgets.yHBox(); this.hboxSaveAndClose.Name = "hboxSaveAndClose"; this.hboxSaveAndClose.Spacing = 6; // Container child hboxSaveAndClose.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("Сохранить"); this.hboxSaveAndClose.Add(this.btnSave); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hboxSaveAndClose[this.btnSave])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hboxSaveAndClose.Gtk.Box+BoxChild this.btnCancel = new global::Gamma.GtkWidgets.yButton(); this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseUnderline = true; this.btnCancel.Label = global::Mono.Unix.Catalog.GetString("Отмена"); this.hboxSaveAndClose.Add(this.btnCancel); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxSaveAndClose[this.btnCancel])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vboxMain.Add(this.hboxSaveAndClose); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.hboxSaveAndClose])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vboxMain.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vboxMain.Add(this.hseparator1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.hseparator1])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vboxMain.Gtk.Box+BoxChild this.hboxFlyerNomenclature = new global::Gamma.GtkWidgets.yHBox(); this.hboxFlyerNomenclature.Name = "hboxFlyerNomenclature"; this.hboxFlyerNomenclature.Spacing = 6; // Container child hboxFlyerNomenclature.Gtk.Box+BoxChild this.lblFlyerNomenclature = new global::Gamma.GtkWidgets.yLabel(); this.lblFlyerNomenclature.Name = "lblFlyerNomenclature"; this.lblFlyerNomenclature.LabelProp = global::Mono.Unix.Catalog.GetString("Номенклатура:"); this.hboxFlyerNomenclature.Add(this.lblFlyerNomenclature); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxFlyerNomenclature[this.lblFlyerNomenclature])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hboxFlyerNomenclature.Gtk.Box+BoxChild this.entryFlyerNomenclature = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryFlyerNomenclature.Events = ((global::Gdk.EventMask)(256)); this.entryFlyerNomenclature.Name = "entryFlyerNomenclature"; this.entryFlyerNomenclature.CanEditReference = false; this.hboxFlyerNomenclature.Add(this.entryFlyerNomenclature); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hboxFlyerNomenclature[this.entryFlyerNomenclature])); w6.Position = 1; this.vboxMain.Add(this.hboxFlyerNomenclature); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.hboxFlyerNomenclature])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child vboxMain.Gtk.Box+BoxChild this.hboxActivationDeactivation = new global::Gamma.GtkWidgets.yHBox(); this.hboxActivationDeactivation.Name = "hboxActivationDeactivation"; this.hboxActivationDeactivation.Spacing = 6; // Container child hboxActivationDeactivation.Gtk.Box+BoxChild this.hboxActivation = new global::Gamma.GtkWidgets.yHBox(); this.hboxActivation.Name = "hboxActivation"; this.hboxActivation.Spacing = 6; // Container child hboxActivation.Gtk.Box+BoxChild this.lblStartDate = new global::Gamma.GtkWidgets.yLabel(); this.lblStartDate.Name = "lblStartDate"; this.lblStartDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата старта:"); this.hboxActivation.Add(this.lblStartDate); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hboxActivation[this.lblStartDate])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hboxActivation.Gtk.Box+BoxChild this.startDatePicker = new global::QS.Widgets.GtkUI.DatePicker(); this.startDatePicker.Events = ((global::Gdk.EventMask)(256)); this.startDatePicker.Name = "startDatePicker"; this.startDatePicker.WithTime = false; this.startDatePicker.HideCalendarButton = false; this.startDatePicker.Date = new global::System.DateTime(0); this.startDatePicker.IsEditable = false; this.startDatePicker.AutoSeparation = false; this.hboxActivation.Add(this.startDatePicker); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxActivation[this.startDatePicker])); w9.Position = 1; // Container child hboxActivation.Gtk.Box+BoxChild this.btnActivate = new global::Gamma.GtkWidgets.yButton(); this.btnActivate.CanFocus = true; this.btnActivate.Name = "btnActivate"; this.btnActivate.UseUnderline = true; this.btnActivate.Label = global::Mono.Unix.Catalog.GetString("Активировать"); this.hboxActivation.Add(this.btnActivate); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxActivation[this.btnActivate])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.hboxActivationDeactivation.Add(this.hboxActivation); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxActivationDeactivation[this.hboxActivation])); w11.Position = 0; // Container child hboxActivationDeactivation.Gtk.Box+BoxChild this.hboxDeactivation = new global::Gamma.GtkWidgets.yHBox(); this.hboxDeactivation.Name = "hboxDeactivation"; this.hboxDeactivation.Spacing = 6; // Container child hboxDeactivation.Gtk.Box+BoxChild this.lblEndDate = new global::Gamma.GtkWidgets.yLabel(); this.lblEndDate.Name = "lblEndDate"; this.lblEndDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата окончания:"); this.hboxDeactivation.Add(this.lblEndDate); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hboxDeactivation[this.lblEndDate])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hboxDeactivation.Gtk.Box+BoxChild this.endDatePicker = new global::QS.Widgets.GtkUI.DatePicker(); this.endDatePicker.Events = ((global::Gdk.EventMask)(256)); this.endDatePicker.Name = "endDatePicker"; this.endDatePicker.WithTime = false; this.endDatePicker.HideCalendarButton = false; this.endDatePicker.Date = new global::System.DateTime(0); this.endDatePicker.IsEditable = false; this.endDatePicker.AutoSeparation = false; this.hboxDeactivation.Add(this.endDatePicker); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hboxDeactivation[this.endDatePicker])); w13.Position = 1; // Container child hboxDeactivation.Gtk.Box+BoxChild this.btnDeactivate = new global::Gamma.GtkWidgets.yButton(); this.btnDeactivate.CanFocus = true; this.btnDeactivate.Name = "btnDeactivate"; this.btnDeactivate.UseUnderline = true; this.btnDeactivate.Label = global::Mono.Unix.Catalog.GetString("Отключить"); this.hboxDeactivation.Add(this.btnDeactivate); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hboxDeactivation[this.btnDeactivate])); w14.Position = 2; w14.Expand = false; w14.Fill = false; this.hboxActivationDeactivation.Add(this.hboxDeactivation); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hboxActivationDeactivation[this.hboxDeactivation])); w15.Position = 1; this.vboxMain.Add(this.hboxActivationDeactivation); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.hboxActivationDeactivation])); w16.Position = 3; w16.Expand = false; w16.Fill = false; // Container child vboxMain.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.treeViewFlyersActionTimes = new global::Gamma.GtkWidgets.yTreeView(); this.treeViewFlyersActionTimes.CanFocus = true; this.treeViewFlyersActionTimes.Name = "treeViewFlyersActionTimes"; this.GtkScrolledWindow.Add(this.treeViewFlyersActionTimes); this.vboxMain.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.GtkScrolledWindow])); w18.Position = 4; this.Add(this.vboxMain); 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.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.Views.Logistic.CarVersionsView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Logistic.CarVersionsView"; // Container child Vodovoz.Views.Logistic.CarVersionsView.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.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.ytreeCarVersions = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeCarVersions.CanFocus = true; this.ytreeCarVersions.Name = "ytreeCarVersions"; this.GtkScrolledWindow2.Add(this.ytreeCarVersions); this.vbox3.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow2])); w2.Position = 0; // 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.labelDate = new global::Gtk.Label(); this.labelDate.Name = "labelDate"; this.labelDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.labelDate.Justify = ((global::Gtk.Justification)(1)); this.hbox2.Add(this.labelDate); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.labelDate])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.datepickerVersionDate = new global::QS.Widgets.GtkUI.DatePicker(); this.datepickerVersionDate.Events = ((global::Gdk.EventMask)(256)); this.datepickerVersionDate.Name = "datepickerVersionDate"; this.datepickerVersionDate.WithTime = false; this.datepickerVersionDate.HideCalendarButton = false; this.datepickerVersionDate.Date = new global::System.DateTime(0); this.datepickerVersionDate.IsEditable = true; this.datepickerVersionDate.AutoSeparation = false; this.hbox2.Add(this.datepickerVersionDate); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.datepickerVersionDate])); w4.Position = 1; w4.Expand = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonNewVersion = new global::Gamma.GtkWidgets.yButton(); this.buttonNewVersion.CanFocus = true; this.buttonNewVersion.Name = "buttonNewVersion"; this.buttonNewVersion.UseUnderline = true; this.buttonNewVersion.Label = global::Mono.Unix.Catalog.GetString("Новая версия"); this.hbox2.Add(this.buttonNewVersion); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonNewVersion])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonChangeVersionDate = new global::Gamma.GtkWidgets.yButton(); this.buttonChangeVersionDate.CanFocus = true; this.buttonChangeVersionDate.Name = "buttonChangeVersionDate"; this.buttonChangeVersionDate.UseUnderline = true; this.buttonChangeVersionDate.Label = global::Mono.Unix.Catalog.GetString("Сменить дату начала"); this.hbox2.Add(this.buttonChangeVersionDate); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonChangeVersionDate])); w6.Position = 3; w6.Expand = false; w6.Fill = false; this.vbox3.Add(this.hbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox2])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
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 workwear.Dialogs.Regulations.RegulationDocDlg global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Dialogs.Regulations.RegulationDocDlg"; // Container child workwear.Dialogs.Regulations.RegulationDocDlg.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.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(9)); // 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.label1.UseMarkup = true; this.table1.Add(this.label1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); 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.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 w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.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 w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); 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.ydateDocDate = new global::QS.Widgets.GtkUI.DatePicker(); this.ydateDocDate.Events = ((global::Gdk.EventMask)(256)); this.ydateDocDate.Name = "ydateDocDate"; this.ydateDocDate.WithTime = false; this.ydateDocDate.HideCalendarButton = false; this.ydateDocDate.Date = new global::System.DateTime(0); this.ydateDocDate.IsEditable = true; this.ydateDocDate.AutoSeparation = true; this.table1.Add(this.ydateDocDate); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateDocDate])); 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.yentryName = new global::Gamma.GtkWidgets.yEntry(); this.yentryName.CanFocus = true; this.yentryName.Name = "yentryName"; this.yentryName.IsEditable = true; this.yentryName.MaxLength = 254; this.yentryName.InvisibleChar = '●'; this.table1.Add(this.yentryName); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryName])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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 = 10; this.yentryNumber.InvisibleChar = '●'; this.table1.Add(this.yentryNumber); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryNumber])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Приложения к документу</b>"); this.label5.UseMarkup = true; this.vbox1.Add(this.label5); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label5])); w13.Position = 2; w13.Expand = false; w13.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.ytreeAnnexes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeAnnexes.CanFocus = true; this.ytreeAnnexes.Name = "ytreeAnnexes"; this.GtkScrolledWindow.Add(this.ytreeAnnexes); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w15.Position = 3; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.buttonAddItem = new global::Gtk.Button(); this.buttonAddItem.CanFocus = true; this.buttonAddItem.Name = "buttonAddItem"; this.buttonAddItem.UseUnderline = true; this.buttonAddItem.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w16 = new global::Gtk.Image(); w16.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddItem.Image = w16; this.hbox3.Add(this.buttonAddItem); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonAddItem])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonRemoveItem = new global::Gtk.Button(); this.buttonRemoveItem.Sensitive = false; this.buttonRemoveItem.CanFocus = true; this.buttonRemoveItem.Name = "buttonRemoveItem"; this.buttonRemoveItem.UseUnderline = true; this.buttonRemoveItem.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w18 = new global::Gtk.Image(); w18.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveItem.Image = w18; this.hbox3.Add(this.buttonRemoveItem); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonRemoveItem])); w19.Position = 1; w19.Expand = false; w19.Fill = false; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); w20.Position = 4; w20.Expand = false; w20.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonAddItem.Clicked += new global::System.EventHandler(this.OnButtonAddItemClicked); this.buttonRemoveItem.Clicked += new global::System.EventHandler(this.OnButtonRemoveItemClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Views.Stock.CollectiveExpenseView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Views.Stock.CollectiveExpenseView"; // Container child workwear.Views.Stock.CollectiveExpenseView.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; // Container child hbox4.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox4.Add(this.vseparator1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vseparator1])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.dialog1_VBox.Add(this.hbox4); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox4])); w6.Position = 0; w6.Expand = false; w6.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)(2)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // 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.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; // Container child hboxIssuanceSheet.Gtk.Box+BoxChild this.buttonIssuanceSheetCreate = new global::Gtk.Button(); this.buttonIssuanceSheetCreate.CanFocus = true; this.buttonIssuanceSheetCreate.Name = "buttonIssuanceSheetCreate"; this.buttonIssuanceSheetCreate.UseUnderline = true; this.buttonIssuanceSheetCreate.Label = global::Mono.Unix.Catalog.GetString("Создать"); global::Gtk.Image w8 = new global::Gtk.Image(); w8.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-new", global::Gtk.IconSize.Menu); this.buttonIssuanceSheetCreate.Image = w8; this.hboxIssuanceSheet.Add(this.buttonIssuanceSheetCreate); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxIssuanceSheet[this.buttonIssuanceSheetCreate])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hboxIssuanceSheet.Gtk.Box+BoxChild this.buttonIssuanceSheetOpen = new global::Gtk.Button(); this.buttonIssuanceSheetOpen.CanFocus = true; this.buttonIssuanceSheetOpen.Name = "buttonIssuanceSheetOpen"; this.buttonIssuanceSheetOpen.UseUnderline = true; this.buttonIssuanceSheetOpen.Label = global::Mono.Unix.Catalog.GetString("Открыть"); global::Gtk.Image w10 = new global::Gtk.Image(); w10.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonIssuanceSheetOpen.Image = w10; this.hboxIssuanceSheet.Add(this.buttonIssuanceSheetOpen); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxIssuanceSheet[this.buttonIssuanceSheetOpen])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child hboxIssuanceSheet.Gtk.Box+BoxChild this.enumPrint = new global::QSOrmProject.EnumMenuButton(); this.enumPrint.CanFocus = true; this.enumPrint.Name = "enumPrint"; this.enumPrint.UseUnderline = true; this.enumPrint.UseMarkup = false; this.enumPrint.LabelXAlign = 0F; this.enumPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w12 = new global::Gtk.Image(); w12.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.enumPrint.Image = w12; this.hboxIssuanceSheet.Add(this.enumPrint); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hboxIssuanceSheet[this.enumPrint])); w13.Position = 2; w13.Expand = false; w13.Fill = false; this.table2.Add(this.hboxIssuanceSheet); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2[this.hboxIssuanceSheet])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.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 w15 = ((global::Gtk.Table.TableChild)(this.table2[this.label3])); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.labelIssuanceSheet = new global::Gtk.Label(); this.labelIssuanceSheet.Name = "labelIssuanceSheet"; this.labelIssuanceSheet.Xalign = 1F; this.labelIssuanceSheet.LabelProp = global::Mono.Unix.Catalog.GetString("Ведомость:"); this.table2.Add(this.labelIssuanceSheet); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2[this.labelIssuanceSheet])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table2])); w17.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 w19 = ((global::Gtk.Table.TableChild)(this.table3[this.GtkScrolledWindowComments])); w19.TopAttach = ((uint)(3)); w19.BottomAttach = ((uint)(4)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.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 w20 = ((global::Gtk.Table.TableChild)(this.table3[this.label26])); w20.TopAttach = ((uint)(3)); w20.BottomAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.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 w21 = ((global::Gtk.Table.TableChild)(this.table3[this.label4])); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.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 w22 = ((global::Gtk.Table.TableChild)(this.table3[this.label5])); 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.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 w23 = ((global::Gtk.Table.TableChild)(this.table3[this.label6])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.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 w24 = ((global::Gtk.Table.TableChild)(this.table3[this.ydateDoc])); w24.TopAttach = ((uint)(2)); w24.BottomAttach = ((uint)(3)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.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 w25 = ((global::Gtk.Table.TableChild)(this.table3[this.ylabelCreatedBy])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child 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 w26 = ((global::Gtk.Table.TableChild)(this.table3[this.ylabelId])); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table3); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table3])); w27.Position = 1; this.dialog1_VBox.Add(this.hbox1); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox1])); w28.Position = 1; w28.Expand = false; w28.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.expensedocitememployeeview1 = new global::workwear.Views.Stock.CollectiveExpenseItemsView(); this.expensedocitememployeeview1.Events = ((global::Gdk.EventMask)(256)); this.expensedocitememployeeview1.Name = "expensedocitememployeeview1"; this.dialog1_VBox.Add(this.expensedocitememployeeview1); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.expensedocitememployeeview1])); w29.Position = 2; this.Add(this.dialog1_VBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.buttonIssuanceSheetCreate.Clicked += new global::System.EventHandler(this.OnButtonIssuanceSheetCreateClicked); this.buttonIssuanceSheetOpen.Clicked += new global::System.EventHandler(this.OnButtonIssuanceSheetOpenClicked); this.enumPrint.EnumItemClicked += new global::System.EventHandler <QSOrmProject.EnumItemClickedEventArgs>(this.OnEnumPrintEnumItemClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.DocumentDialogs.TransferOperationDocumentDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.DocumentDialogs.TransferOperationDocumentDlg"; // Container child Vodovoz.Dialogs.DocumentDialogs.TransferOperationDocumentDlg.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.Table(((uint)(2)), ((uint)(4)), false); this.tableCommon.Name = "tableCommon"; this.tableCommon.RowSpacing = ((uint)(6)); this.tableCommon.ColumnSpacing = ((uint)(6)); // Container child tableCommon.Gtk.Table+TableChild this.datepickerDate = new global::QS.Widgets.GtkUI.DatePicker(); this.datepickerDate.Events = ((global::Gdk.EventMask)(256)); this.datepickerDate.Name = "datepickerDate"; this.datepickerDate.WithTime = false; this.datepickerDate.HideCalendarButton = false; this.datepickerDate.Date = new global::System.DateTime(0); this.datepickerDate.IsEditable = true; this.datepickerDate.AutoSeparation = true; this.tableCommon.Add(this.datepickerDate); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableCommon[this.datepickerDate])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableCommon.Gtk.Table+TableChild this.evmeEmployee = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeEmployee.Sensitive = false; this.evmeEmployee.Events = ((global::Gdk.EventMask)(256)); this.evmeEmployee.Name = "evmeEmployee"; this.evmeEmployee.CanEditReference = true; this.tableCommon.Add(this.evmeEmployee); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tableCommon[this.evmeEmployee])); w7.LeftAttach = ((uint)(3)); w7.RightAttach = ((uint)(4)); w7.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::Gamma.GtkWidgets.yTextView(); this.textComment.CanFocus = true; this.textComment.Name = "textComment"; this.GtkScrolledWindow1.Add(this.textComment); this.tableCommon.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableCommon[this.GtkScrolledWindow1])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.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 w10 = ((global::Gtk.Table.TableChild)(this.tableCommon[this.label1])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.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 w11 = ((global::Gtk.Table.TableChild)(this.tableCommon[this.label12])); w11.LeftAttach = ((uint)(2)); w11.RightAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.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 w12 = ((global::Gtk.Table.TableChild)(this.tableCommon[this.label13])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add(this.tableCommon); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.tableCommon])); w13.Position = 1; w13.Expand = false; w13.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 w14 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label11])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.tableSender = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.tableSender.Name = "tableSender"; this.tableSender.RowSpacing = ((uint)(6)); this.tableSender.ColumnSpacing = ((uint)(6)); // Container child tableSender.Gtk.Table+TableChild this.hbox11 = new global::Gtk.HBox(); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; // Container child hbox11.Gtk.Box+BoxChild this.checkbuttonLock = new global::Gtk.CheckButton(); this.checkbuttonLock.CanFocus = true; this.checkbuttonLock.Name = "checkbuttonLock"; this.checkbuttonLock.Label = global::Mono.Unix.Catalog.GetString("Привязка к остаткам"); this.checkbuttonLock.Active = true; this.checkbuttonLock.DrawIndicator = true; this.checkbuttonLock.UseUnderline = true; this.hbox11.Add(this.checkbuttonLock); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.checkbuttonLock])); w15.Position = 0; // Container child hbox11.Gtk.Box+BoxChild this.ycheckbuttonBottleStock = new global::Gamma.GtkWidgets.yCheckButton(); this.ycheckbuttonBottleStock.CanFocus = true; this.ycheckbuttonBottleStock.Name = "ycheckbuttonBottleStock"; this.ycheckbuttonBottleStock.Label = global::Mono.Unix.Catalog.GetString("Акция \"Бутыль\""); this.ycheckbuttonBottleStock.DrawIndicator = true; this.ycheckbuttonBottleStock.UseUnderline = true; this.hbox11.Add(this.ycheckbuttonBottleStock); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.ycheckbuttonBottleStock])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.tableSender.Add(this.hbox11); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableSender[this.hbox11])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSender.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.spinBottles = new global::Gtk.SpinButton(-1000D, 1000D, 1D); this.spinBottles.Sensitive = false; this.spinBottles.CanFocus = true; this.spinBottles.Name = "spinBottles"; this.spinBottles.Adjustment.PageIncrement = 10D; this.spinBottles.ClimbRate = 1D; this.spinBottles.Numeric = true; this.hbox6.Add(this.spinBottles); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.spinBottles])); w18.Position = 0; // Container child hbox6.Gtk.Box+BoxChild this.labelBottlesMaxName = new global::Gtk.Label(); this.labelBottlesMaxName.Name = "labelBottlesMaxName"; this.labelBottlesMaxName.Xalign = 1F; this.labelBottlesMaxName.LabelProp = global::Mono.Unix.Catalog.GetString("Макс.:"); this.hbox6.Add(this.labelBottlesMaxName); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.labelBottlesMaxName])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.labelBottlesMax = new global::Gtk.Label(); this.labelBottlesMax.Name = "labelBottlesMax"; this.labelBottlesMax.Xalign = 1F; this.labelBottlesMax.LabelProp = global::Mono.Unix.Catalog.GetString("0"); this.hbox6.Add(this.labelBottlesMax); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.labelBottlesMax])); w20.Position = 2; w20.Expand = false; w20.Fill = false; this.tableSender.Add(this.hbox6); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableSender[this.hbox6])); w21.TopAttach = ((uint)(3)); w21.BottomAttach = ((uint)(4)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSender.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.tableSender.Add(this.label3); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableSender[this.label3])); w22.TopAttach = ((uint)(2)); w22.BottomAttach = ((uint)(3)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSender.Gtk.Table+TableChild this.labelBottlesName = new global::Gtk.Label(); this.labelBottlesName.Name = "labelBottlesName"; this.labelBottlesName.Xalign = 1F; this.labelBottlesName.LabelProp = global::Mono.Unix.Catalog.GetString("Бутылей:"); this.tableSender.Add(this.labelBottlesName); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableSender[this.labelBottlesName])); w23.TopAttach = ((uint)(3)); w23.BottomAttach = ((uint)(4)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // 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 w24 = ((global::Gtk.Table.TableChild)(this.tableSender[this.labelClientFrom])); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.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 w25 = ((global::Gtk.Table.TableChild)(this.tableSender[this.labelPointFrom])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSender.Gtk.Table+TableChild this.referenceCounterpartyFrom = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.referenceCounterpartyFrom.Events = ((global::Gdk.EventMask)(256)); this.referenceCounterpartyFrom.Name = "referenceCounterpartyFrom"; this.referenceCounterpartyFrom.CanEditReference = false; this.tableSender.Add(this.referenceCounterpartyFrom); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.tableSender[this.referenceCounterpartyFrom])); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSender.Gtk.Table+TableChild this.ySpecCmbDeliveryPointFrom = new global::Gamma.Widgets.ySpecComboBox(); this.ySpecCmbDeliveryPointFrom.Name = "ySpecCmbDeliveryPointFrom"; this.ySpecCmbDeliveryPointFrom.AddIfNotExist = false; this.ySpecCmbDeliveryPointFrom.DefaultFirst = false; this.ySpecCmbDeliveryPointFrom.ShowSpecialStateAll = false; this.ySpecCmbDeliveryPointFrom.ShowSpecialStateNot = true; this.ySpecCmbDeliveryPointFrom.NameForSpecialStateNot = "Самовывоз"; this.tableSender.Add(this.ySpecCmbDeliveryPointFrom); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.tableSender[this.ySpecCmbDeliveryPointFrom])); w27.TopAttach = ((uint)(1)); w27.BottomAttach = ((uint)(2)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.tableSender); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.tableSender])); w28.Position = 1; w28.Expand = false; w28.Fill = false; this.hbox3.Add(this.vbox2); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vbox2])); w29.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 w30 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vseparator1])); w30.Position = 1; w30.Expand = false; w30.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 w31 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.label10])); w31.Position = 0; w31.Expand = false; w31.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.tableReceiver = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.tableReceiver.Name = "tableReceiver"; this.tableReceiver.RowSpacing = ((uint)(6)); this.tableReceiver.ColumnSpacing = ((uint)(6)); // Container child tableReceiver.Gtk.Table+TableChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.spinDepositsEquipment = new global::Gtk.SpinButton(-100000D, 100000D, 1D); this.spinDepositsEquipment.Sensitive = false; this.spinDepositsEquipment.CanFocus = true; this.spinDepositsEquipment.Name = "spinDepositsEquipment"; this.spinDepositsEquipment.Adjustment.PageIncrement = 10D; this.spinDepositsEquipment.ClimbRate = 1D; this.spinDepositsEquipment.Digits = ((uint)(2)); this.spinDepositsEquipment.Numeric = true; this.hbox8.Add(this.spinDepositsEquipment); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.spinDepositsEquipment])); w32.Position = 0; // Container child hbox8.Gtk.Box+BoxChild this.labelDepositsEquipmentMaxName = new global::Gtk.Label(); this.labelDepositsEquipmentMaxName.Name = "labelDepositsEquipmentMaxName"; this.labelDepositsEquipmentMaxName.Xalign = 1F; this.labelDepositsEquipmentMaxName.LabelProp = global::Mono.Unix.Catalog.GetString("Макс.:"); this.hbox8.Add(this.labelDepositsEquipmentMaxName); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.labelDepositsEquipmentMaxName])); w33.Position = 1; w33.Expand = false; w33.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.labelDepositsEquipmentMax = new global::Gtk.Label(); this.labelDepositsEquipmentMax.Name = "labelDepositsEquipmentMax"; this.labelDepositsEquipmentMax.Xalign = 1F; this.labelDepositsEquipmentMax.LabelProp = global::Mono.Unix.Catalog.GetString("0"); this.hbox8.Add(this.labelDepositsEquipmentMax); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.labelDepositsEquipmentMax])); w34.Position = 2; w34.Expand = false; w34.Fill = false; this.tableReceiver.Add(this.hbox8); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.tableReceiver[this.hbox8])); w35.TopAttach = ((uint)(3)); w35.BottomAttach = ((uint)(4)); w35.LeftAttach = ((uint)(1)); w35.RightAttach = ((uint)(2)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableReceiver.Gtk.Table+TableChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.spinDepositsBottles = new global::Gtk.SpinButton(-100000D, 100000D, 1D); this.spinDepositsBottles.Sensitive = false; this.spinDepositsBottles.CanFocus = true; this.spinDepositsBottles.Name = "spinDepositsBottles"; this.spinDepositsBottles.Adjustment.PageIncrement = 10D; this.spinDepositsBottles.ClimbRate = 1D; this.spinDepositsBottles.Digits = ((uint)(2)); this.spinDepositsBottles.Numeric = true; this.hbox9.Add(this.spinDepositsBottles); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.spinDepositsBottles])); w36.Position = 0; // Container child hbox9.Gtk.Box+BoxChild this.labelDepositsBottlesMaxName = new global::Gtk.Label(); this.labelDepositsBottlesMaxName.Name = "labelDepositsBottlesMaxName"; this.labelDepositsBottlesMaxName.Xalign = 1F; this.labelDepositsBottlesMaxName.LabelProp = global::Mono.Unix.Catalog.GetString("Макс.:"); this.hbox9.Add(this.labelDepositsBottlesMaxName); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.labelDepositsBottlesMaxName])); w37.Position = 1; w37.Expand = false; w37.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.labelDepositsBottlesMax = new global::Gtk.Label(); this.labelDepositsBottlesMax.Name = "labelDepositsBottlesMax"; this.labelDepositsBottlesMax.Xalign = 1F; this.labelDepositsBottlesMax.LabelProp = global::Mono.Unix.Catalog.GetString("0"); this.hbox9.Add(this.labelDepositsBottlesMax); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.labelDepositsBottlesMax])); w38.Position = 2; w38.Expand = false; w38.Fill = false; this.tableReceiver.Add(this.hbox9); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.tableReceiver[this.hbox9])); w39.TopAttach = ((uint)(2)); w39.BottomAttach = ((uint)(3)); w39.LeftAttach = ((uint)(1)); w39.RightAttach = ((uint)(2)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // 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 w40 = ((global::Gtk.Table.TableChild)(this.tableReceiver[this.labelClientTo])); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableReceiver.Gtk.Table+TableChild this.labelDepositsBottlesName = new global::Gtk.Label(); this.labelDepositsBottlesName.Name = "labelDepositsBottlesName"; this.labelDepositsBottlesName.Xalign = 1F; this.labelDepositsBottlesName.LabelProp = global::Mono.Unix.Catalog.GetString("Залогов (бут.):"); this.tableReceiver.Add(this.labelDepositsBottlesName); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.tableReceiver[this.labelDepositsBottlesName])); w41.TopAttach = ((uint)(2)); w41.BottomAttach = ((uint)(3)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableReceiver.Gtk.Table+TableChild this.labelDepositsEquipmentName = new global::Gtk.Label(); this.labelDepositsEquipmentName.Name = "labelDepositsEquipmentName"; this.labelDepositsEquipmentName.Xalign = 1F; this.labelDepositsEquipmentName.LabelProp = global::Mono.Unix.Catalog.GetString("Залогов (обор.):"); this.tableReceiver.Add(this.labelDepositsEquipmentName); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.tableReceiver[this.labelDepositsEquipmentName])); w42.TopAttach = ((uint)(3)); w42.BottomAttach = ((uint)(4)); w42.XOptions = ((global::Gtk.AttachOptions)(4)); w42.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 w43 = ((global::Gtk.Table.TableChild)(this.tableReceiver[this.labelPointTo])); w43.TopAttach = ((uint)(1)); w43.BottomAttach = ((uint)(2)); w43.XOptions = ((global::Gtk.AttachOptions)(4)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableReceiver.Gtk.Table+TableChild this.referenceCounterpartyTo = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.referenceCounterpartyTo.Events = ((global::Gdk.EventMask)(256)); this.referenceCounterpartyTo.Name = "referenceCounterpartyTo"; this.referenceCounterpartyTo.CanEditReference = false; this.tableReceiver.Add(this.referenceCounterpartyTo); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.tableReceiver[this.referenceCounterpartyTo])); w44.LeftAttach = ((uint)(1)); w44.RightAttach = ((uint)(2)); w44.XOptions = ((global::Gtk.AttachOptions)(4)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableReceiver.Gtk.Table+TableChild this.ySpecCmbDeliveryPointTo = new global::Gamma.Widgets.ySpecComboBox(); this.ySpecCmbDeliveryPointTo.Name = "ySpecCmbDeliveryPointTo"; this.ySpecCmbDeliveryPointTo.AddIfNotExist = false; this.ySpecCmbDeliveryPointTo.DefaultFirst = false; this.ySpecCmbDeliveryPointTo.ShowSpecialStateAll = false; this.ySpecCmbDeliveryPointTo.ShowSpecialStateNot = true; this.ySpecCmbDeliveryPointTo.NameForSpecialStateNot = "Самовывоз"; this.tableReceiver.Add(this.ySpecCmbDeliveryPointTo); global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.tableReceiver[this.ySpecCmbDeliveryPointTo])); w45.TopAttach = ((uint)(1)); w45.BottomAttach = ((uint)(2)); w45.LeftAttach = ((uint)(1)); w45.RightAttach = ((uint)(2)); w45.XOptions = ((global::Gtk.AttachOptions)(4)); w45.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add(this.tableReceiver); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.tableReceiver])); w46.Position = 1; w46.Expand = false; w46.Fill = false; this.hbox3.Add(this.vbox4); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vbox4])); w47.Position = 2; this.vbox3.Add(this.hbox3); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox3])); w48.Position = 2; w48.Expand = false; w48.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.transferoperationdocumentitemview1 = new global::Vodovoz.Dialogs.DocumentDialogs.TransferOperationDocumentItemView(); this.transferoperationdocumentitemview1.Events = ((global::Gdk.EventMask)(256)); this.transferoperationdocumentitemview1.Name = "transferoperationdocumentitemview1"; this.vbox3.Add(this.transferoperationdocumentitemview1); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.transferoperationdocumentitemview1])); w49.Position = 3; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.evmeEmployee.Hide(); this.label12.Hide(); this.Hide(); this.referenceCounterpartyFrom.Changed += new global::System.EventHandler(this.OnReferenceCounterpartyFromChanged); this.spinBottles.Changed += new global::System.EventHandler(this.OnSpinBottlesChanged); this.checkbuttonLock.Toggled += new global::System.EventHandler(this.OnCheckbuttonLockToggled); this.referenceCounterpartyTo.Changed += new global::System.EventHandler(this.OnReferenceCounterpartyToChanged); this.spinDepositsBottles.Changed += new global::System.EventHandler(this.OnSpinDepositsBottlesChanged); this.spinDepositsEquipment.Changed += new global::System.EventHandler(this.OnSpinDepositsEquipmentChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Logistic.AtWorksDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Logistic.AtWorksDlg"; // Container child Vodovoz.Dialogs.Logistic.AtWorksDlg.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.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSaveChanges = new global::Gtk.Button(); this.buttonSaveChanges.CanFocus = true; this.buttonSaveChanges.Name = "buttonSaveChanges"; this.buttonSaveChanges.UseUnderline = true; this.buttonSaveChanges.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.buttonSaveChanges.Image = w1; this.hbox4.Add(this.buttonSaveChanges); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSaveChanges])); w2.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancelChanges = new global::Gtk.Button(); this.buttonCancelChanges.CanFocus = true; this.buttonCancelChanges.Name = "buttonCancelChanges"; this.buttonCancelChanges.UseUnderline = true; this.buttonCancelChanges.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.buttonCancelChanges.Image = w3; this.hbox4.Add(this.buttonCancelChanges); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancelChanges])); w4.PackType = ((global::Gtk.PackType)(1)); w4.Position = 1; this.hbox8.Add(this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.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.hbox9.Add(this.label1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.label1])); w6.Position = 0; w6.Expand = false; // Container child hbox9.Gtk.Box+BoxChild this.ydateAtWorks = new global::QS.Widgets.GtkUI.DatePicker(); this.ydateAtWorks.Events = ((global::Gdk.EventMask)(256)); this.ydateAtWorks.Name = "ydateAtWorks"; this.ydateAtWorks.WithTime = false; this.ydateAtWorks.HideCalendarButton = false; this.ydateAtWorks.Date = new global::System.DateTime(0); this.ydateAtWorks.IsEditable = true; this.ydateAtWorks.AutoSeparation = true; this.hbox9.Add(this.ydateAtWorks); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.ydateAtWorks])); w7.Position = 1; this.hbox8.Add(this.hbox9); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.hbox9])); w8.Position = 1; w8.Expand = false; this.vbox1.Add(this.hbox8); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox8])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Водители на работе"); this.vbox2.Add(this.label2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label2])); w10.Position = 0; w10.Expand = false; w10.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.ytreeviewAtWorkDrivers = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewAtWorkDrivers.CanFocus = true; this.ytreeviewAtWorkDrivers.Name = "ytreeviewAtWorkDrivers"; this.GtkScrolledWindow.Add(this.ytreeviewAtWorkDrivers); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow])); w12.Position = 1; // 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.btnAddWorkingDrivers = new global::Gtk.Button(); this.btnAddWorkingDrivers.CanFocus = true; this.btnAddWorkingDrivers.Name = "btnAddWorkingDrivers"; this.btnAddWorkingDrivers.UseUnderline = true; this.btnAddWorkingDrivers.Label = global::Mono.Unix.Catalog.GetString("Добавить всех работающих водителей"); this.hbox7.Add(this.btnAddWorkingDrivers); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.btnAddWorkingDrivers])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonAddDriver = new global::Gtk.Button(); this.buttonAddDriver.CanFocus = true; this.buttonAddDriver.Name = "buttonAddDriver"; this.buttonAddDriver.UseUnderline = true; this.buttonAddDriver.Label = global::Mono.Unix.Catalog.GetString("Добавить водителя"); global::Gtk.Image w14 = new global::Gtk.Image(); w14.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddDriver.Image = w14; this.hbox7.Add(this.buttonAddDriver); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonAddDriver])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonOpenDriver = new global::Gtk.Button(); this.buttonOpenDriver.CanFocus = true; this.buttonOpenDriver.Name = "buttonOpenDriver"; this.buttonOpenDriver.UseUnderline = true; this.buttonOpenDriver.Label = global::Mono.Unix.Catalog.GetString("Открыть водителя"); global::Gtk.Image w16 = new global::Gtk.Image(); w16.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonOpenDriver.Image = w16; this.hbox7.Add(this.buttonOpenDriver); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonOpenDriver])); w17.Position = 2; w17.Expand = false; w17.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonRemoveDriver = new global::Gtk.Button(); this.buttonRemoveDriver.CanFocus = true; this.buttonRemoveDriver.Name = "buttonRemoveDriver"; this.buttonRemoveDriver.UseUnderline = true; this.buttonRemoveDriver.Label = global::Mono.Unix.Catalog.GetString("Снять водителя"); global::Gtk.Image w18 = new global::Gtk.Image(); w18.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveDriver.Image = w18; this.hbox7.Add(this.buttonRemoveDriver); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonRemoveDriver])); w19.Position = 3; w19.Expand = false; w19.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonClearDriverScreen = new global::Gtk.Button(); this.buttonClearDriverScreen.CanFocus = true; this.buttonClearDriverScreen.Name = "buttonClearDriverScreen"; this.buttonClearDriverScreen.UseUnderline = true; this.buttonClearDriverScreen.Label = global::Mono.Unix.Catalog.GetString("Отчистить список водителей"); this.hbox7.Add(this.buttonClearDriverScreen); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonClearDriverScreen])); w20.Position = 4; w20.Expand = false; w20.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonDriverSelectAuto = new global::Gtk.Button(); this.buttonDriverSelectAuto.CanFocus = true; this.buttonDriverSelectAuto.Name = "buttonDriverSelectAuto"; this.buttonDriverSelectAuto.UseUnderline = true; this.buttonDriverSelectAuto.Label = global::Mono.Unix.Catalog.GetString("Выбрать авто"); global::Gtk.Image w21 = new global::Gtk.Image(); w21.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.car.png"); this.buttonDriverSelectAuto.Image = w21; this.hbox7.Add(this.buttonDriverSelectAuto); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonDriverSelectAuto])); w22.Position = 5; w22.Expand = false; w22.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonOpenCar = new global::Gtk.Button(); this.buttonOpenCar.CanFocus = true; this.buttonOpenCar.Name = "buttonOpenCar"; this.buttonOpenCar.UseUnderline = true; this.buttonOpenCar.Label = global::Mono.Unix.Catalog.GetString("Открыть авто"); global::Gtk.Image w23 = new global::Gtk.Image(); w23.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonOpenCar.Image = w23; this.hbox7.Add(this.buttonOpenCar); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonOpenCar])); w24.Position = 6; w24.Expand = false; w24.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonEditDistricts = new global::Gtk.Button(); this.buttonEditDistricts.CanFocus = true; this.buttonEditDistricts.Name = "buttonEditDistricts"; this.buttonEditDistricts.UseUnderline = true; this.buttonEditDistricts.Label = global::Mono.Unix.Catalog.GetString("Редактировать районы"); global::Gtk.Image w25 = new global::Gtk.Image(); w25.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonEditDistricts.Image = w25; this.hbox7.Add(this.buttonEditDistricts); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonEditDistricts])); w26.PackType = ((global::Gtk.PackType)(1)); w26.Position = 7; w26.Expand = false; w26.Fill = false; this.vbox2.Add(this.hbox7); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox7])); w27.Position = 2; w27.Expand = false; w27.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hideForwaders = new global::Gamma.Widgets.SidePanels.HideHorizontalSeparator(); this.hideForwaders.Events = ((global::Gdk.EventMask)(256)); this.hideForwaders.Name = "hideForwaders"; this.hideForwaders.Label = "Экспедиторы на работе"; this.vbox2.Add(this.hideForwaders); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hideForwaders])); w28.Position = 3; w28.Expand = false; w28.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.vboxForwarders = new global::Gtk.VBox(); this.vboxForwarders.Name = "vboxForwarders"; this.vboxForwarders.Spacing = 6; // Container child vboxForwarders.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.ytreeviewOnDayForwarders = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewOnDayForwarders.CanFocus = true; this.ytreeviewOnDayForwarders.Name = "ytreeviewOnDayForwarders"; this.GtkScrolledWindow3.Add(this.ytreeviewOnDayForwarders); this.vboxForwarders.Add(this.GtkScrolledWindow3); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vboxForwarders[this.GtkScrolledWindow3])); w30.Position = 0; // Container child vboxForwarders.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::Gtk.Button(); this.buttonAddForwarder.CanFocus = true; this.buttonAddForwarder.Name = "buttonAddForwarder"; this.buttonAddForwarder.UseUnderline = true; this.buttonAddForwarder.Label = global::Mono.Unix.Catalog.GetString("Добавить экспедитора"); global::Gtk.Image w31 = new global::Gtk.Image(); w31.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddForwarder.Image = w31; this.hbox6.Add(this.buttonAddForwarder); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonAddForwarder])); w32.Position = 0; w32.Expand = false; w32.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonRemoveForwarder = new global::Gtk.Button(); this.buttonRemoveForwarder.CanFocus = true; this.buttonRemoveForwarder.Name = "buttonRemoveForwarder"; this.buttonRemoveForwarder.UseUnderline = true; this.buttonRemoveForwarder.Label = global::Mono.Unix.Catalog.GetString("Снять экспедитора"); global::Gtk.Image w33 = new global::Gtk.Image(); w33.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveForwarder.Image = w33; this.hbox6.Add(this.buttonRemoveForwarder); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonRemoveForwarder])); w34.Position = 1; w34.Expand = false; w34.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonAppointForwarders = new global::Gtk.Button(); this.buttonAppointForwarders.TooltipMarkup = "Распределить оставшихся экспедиторов по водителям"; this.buttonAppointForwarders.CanFocus = true; this.buttonAppointForwarders.Name = "buttonAppointForwarders"; this.buttonAppointForwarders.UseUnderline = true; this.buttonAppointForwarders.Label = global::Mono.Unix.Catalog.GetString("Распределить оставшихся"); global::Gtk.Image w35 = new global::Gtk.Image(); w35.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.menu.users.png"); this.buttonAppointForwarders.Image = w35; this.hbox6.Add(this.buttonAppointForwarders); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonAppointForwarders])); w36.PackType = ((global::Gtk.PackType)(1)); w36.Position = 2; w36.Expand = false; w36.Fill = false; this.vboxForwarders.Add(this.hbox6); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vboxForwarders[this.hbox6])); w37.Position = 1; w37.Expand = false; w37.Fill = false; this.vbox2.Add(this.vboxForwarders); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.vboxForwarders])); w38.Position = 4; this.hbox2.Add(this.vbox2); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox2])); w39.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.districtpriorityview1 = new global::Vodovoz.ViewWidgets.Logistics.DistrictPriorityView(); this.districtpriorityview1.Events = ((global::Gdk.EventMask)(256)); this.districtpriorityview1.Name = "districtpriorityview1"; this.hbox2.Add(this.districtpriorityview1); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.districtpriorityview1])); w40.Position = 1; w40.Expand = false; w40.Fill = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w41.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.districtpriorityview1.Hide(); this.Hide(); this.buttonSaveChanges.Clicked += new global::System.EventHandler(this.OnButtonSaveChangesClicked); this.buttonCancelChanges.Clicked += new global::System.EventHandler(this.OnButtonCancelChangesClicked); this.ydateAtWorks.DateChanged += new global::System.EventHandler(this.OnYdateAtWorksDateChanged); this.btnAddWorkingDrivers.Clicked += new global::System.EventHandler(this.OnButtonAddWorkingDriversClicked); this.buttonAddDriver.Clicked += new global::System.EventHandler(this.OnButtonAddDriverClicked); this.buttonOpenDriver.Clicked += new global::System.EventHandler(this.OnButtonOpenDriverClicked); this.buttonRemoveDriver.Clicked += new global::System.EventHandler(this.OnButtonRemoveDriverClicked); this.buttonClearDriverScreen.Clicked += new global::System.EventHandler(this.OnButtonClearDriverScreenClicked); this.buttonDriverSelectAuto.Clicked += new global::System.EventHandler(this.OnButtonDriverSelectAutoClicked); this.buttonOpenCar.Clicked += new global::System.EventHandler(this.OnButtonOpenCarClicked); this.buttonEditDistricts.Clicked += new global::System.EventHandler(this.OnButtonEditDistrictsClicked); this.hideForwaders.Toggled += new global::Gtk.ToggledHandler(this.OnHideForwadersToggled); this.buttonAddForwarder.Clicked += new global::System.EventHandler(this.OnButtonAddForwarderClicked); this.buttonRemoveForwarder.Clicked += new global::System.EventHandler(this.OnButtonRemoveForwarderClicked); this.buttonAppointForwarders.Clicked += new global::System.EventHandler(this.OnButtonAppointForwardersClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.BusinessTasks.PaymentTaskView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.BusinessTasks.PaymentTaskView"; // Container child Vodovoz.Views.BusinessTasks.PaymentTaskView.Gtk.Container+ContainerChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w1 = new global::Gtk.Viewport(); w1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.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 w2 = new global::Gtk.Image(); w2.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w2; this.hbox3.Add(this.buttonSave); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonSave])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w4 = new global::Gtk.Image(); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w4; this.hbox3.Add(this.buttonCancel); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonCancel])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.labelCreator = new global::Gamma.GtkWidgets.yLabel(); this.labelCreator.Name = "labelCreator"; this.labelCreator.LabelProp = global::Mono.Unix.Catalog.GetString("labelCreator"); this.hbox3.Add(this.labelCreator); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.labelCreator])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 3; w6.Expand = false; w6.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Создатель:"); this.hbox3.Add(this.label3); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label3])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 4; w7.Expand = false; w7.Fill = false; this.vbox2.Add(this.hbox3); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 15; // Container child hbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(13)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(10)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.counterpartyViewModelEntry = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.counterpartyViewModelEntry.Events = ((global::Gdk.EventMask)(256)); this.counterpartyViewModelEntry.Name = "counterpartyViewModelEntry"; this.counterpartyViewModelEntry.CanEditReference = true; this.table1.Add(this.counterpartyViewModelEntry); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.counterpartyViewModelEntry])); w9.TopAttach = ((uint)(5)); w9.BottomAttach = ((uint)(6)); 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.currentPayEntry = new global::Gamma.Widgets.yValidatedEntry(); this.currentPayEntry.CanFocus = true; this.currentPayEntry.Name = "currentPayEntry"; this.currentPayEntry.IsEditable = true; this.currentPayEntry.InvisibleChar = '•'; this.table1.Add(this.currentPayEntry); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.currentPayEntry])); w10.TopAttach = ((uint)(10)); w10.BottomAttach = ((uint)(11)); 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.datepickerPaymentDate = new global::QS.Widgets.GtkUI.DatePicker(); this.datepickerPaymentDate.Events = ((global::Gdk.EventMask)(256)); this.datepickerPaymentDate.Name = "datepickerPaymentDate"; this.datepickerPaymentDate.WithTime = true; this.datepickerPaymentDate.HideCalendarButton = false; this.datepickerPaymentDate.Date = new global::System.DateTime(0); this.datepickerPaymentDate.IsEditable = true; this.datepickerPaymentDate.AutoSeparation = false; this.table1.Add(this.datepickerPaymentDate); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.datepickerPaymentDate])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.deadlineYdatepicker = new global::QS.Widgets.GtkUI.DatePicker(); this.deadlineYdatepicker.Events = ((global::Gdk.EventMask)(256)); this.deadlineYdatepicker.Name = "deadlineYdatepicker"; this.deadlineYdatepicker.WithTime = true; this.deadlineYdatepicker.HideCalendarButton = false; this.deadlineYdatepicker.Date = new global::System.DateTime(0); this.deadlineYdatepicker.IsEditable = true; this.deadlineYdatepicker.AutoSeparation = false; this.table1.Add(this.deadlineYdatepicker); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.deadlineYdatepicker])); 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.employeeViewModelEntry = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.employeeViewModelEntry.Events = ((global::Gdk.EventMask)(256)); this.employeeViewModelEntry.Name = "employeeViewModelEntry"; this.employeeViewModelEntry.CanEditReference = true; this.table1.Add(this.employeeViewModelEntry); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.employeeViewModelEntry])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); 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.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textViewPaymentPurpose = new global::Gamma.GtkWidgets.yTextView(); this.textViewPaymentPurpose.CanFocus = true; this.textViewPaymentPurpose.Name = "textViewPaymentPurpose"; this.GtkScrolledWindow.Add(this.textViewPaymentPurpose); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w15.TopAttach = ((uint)(11)); w15.BottomAttach = ((uint)(12)); 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.isTaskCompleteButton = new global::Gamma.GtkWidgets.yCheckButton(); this.isTaskCompleteButton.HeightRequest = 40; this.isTaskCompleteButton.CanFocus = true; this.isTaskCompleteButton.Name = "isTaskCompleteButton"; this.isTaskCompleteButton.Label = global::Mono.Unix.Catalog.GetString("Задача выполнена "); this.isTaskCompleteButton.DrawIndicator = true; this.isTaskCompleteButton.UseUnderline = true; this.table1.Add(this.isTaskCompleteButton); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.isTaskCompleteButton])); w16.TopAttach = ((uint)(12)); w16.BottomAttach = ((uint)(13)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w17.TopAttach = ((uint)(5)); w17.BottomAttach = ((uint)(6)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Заказ"); this.table1.Add(this.label10); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label10])); 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.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Статус оплаты"); this.table1.Add(this.label11); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label11])); w19.TopAttach = ((uint)(7)); w19.BottomAttach = ((uint)(8)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Текущая оплата"); this.table1.Add(this.label12); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.label12])); w20.TopAttach = ((uint)(10)); w20.BottomAttach = ((uint)(11)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Основание"); this.table1.Add(this.label13); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.label13])); w21.TopAttach = ((uint)(11)); w21.BottomAttach = ((uint)(12)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.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 w22 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w22.TopAttach = ((uint)(4)); w22.BottomAttach = ((uint)(5)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.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 w23 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w23.TopAttach = ((uint)(8)); w23.BottomAttach = ((uint)(9)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.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 w24 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w24.TopAttach = ((uint)(9)); w24.BottomAttach = ((uint)(10)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Выполнить до"); this.table1.Add(this.label6); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.label6])); w25.TopAttach = ((uint)(2)); w25.BottomAttach = ((uint)(3)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.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 w26 = ((global::Gtk.Table.TableChild)(this.table1[this.label7])); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Закреплено за"); this.table1.Add(this.label8); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w27.TopAttach = ((uint)(3)); w27.BottomAttach = ((uint)(4)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Дата оплаты"); this.table1.Add(this.label9); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1[this.label9])); w28.TopAttach = ((uint)(1)); w28.BottomAttach = ((uint)(2)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lastPaymentsEntry = new global::Gamma.GtkWidgets.yEntry(); this.lastPaymentsEntry.CanFocus = true; this.lastPaymentsEntry.Name = "lastPaymentsEntry"; this.lastPaymentsEntry.IsEditable = false; this.lastPaymentsEntry.InvisibleChar = '•'; this.table1.Add(this.lastPaymentsEntry); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1[this.lastPaymentsEntry])); w29.TopAttach = ((uint)(9)); w29.BottomAttach = ((uint)(10)); 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.orderSumEntry = new global::Gamma.GtkWidgets.yEntry(); this.orderSumEntry.CanFocus = true; this.orderSumEntry.Name = "orderSumEntry"; this.orderSumEntry.IsEditable = false; this.orderSumEntry.InvisibleChar = '•'; this.table1.Add(this.orderSumEntry); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.orderSumEntry])); w30.TopAttach = ((uint)(8)); w30.BottomAttach = ((uint)(9)); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(2)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.orderViewModelEntry = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.orderViewModelEntry.Events = ((global::Gdk.EventMask)(256)); this.orderViewModelEntry.Name = "orderViewModelEntry"; this.orderViewModelEntry.CanEditReference = true; this.table1.Add(this.orderViewModelEntry); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1[this.orderViewModelEntry])); w31.TopAttach = ((uint)(6)); w31.BottomAttach = ((uint)(7)); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.paymentStatusComboBox = new global::Gamma.Widgets.yEnumComboBox(); this.paymentStatusComboBox.Name = "paymentStatusComboBox"; this.paymentStatusComboBox.ShowSpecialStateAll = false; this.paymentStatusComboBox.ShowSpecialStateNot = false; this.paymentStatusComboBox.UseShortTitle = false; this.paymentStatusComboBox.DefaultFirst = false; this.table1.Add(this.paymentStatusComboBox); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1[this.paymentStatusComboBox])); w32.TopAttach = ((uint)(7)); w32.BottomAttach = ((uint)(8)); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.subdivisionVMEntry = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.subdivisionVMEntry.Events = ((global::Gdk.EventMask)(256)); this.subdivisionVMEntry.Name = "subdivisionVMEntry"; this.subdivisionVMEntry.CanEditReference = true; this.table1.Add(this.subdivisionVMEntry); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1[this.subdivisionVMEntry])); 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 table1.Gtk.Table+TableChild this.taskStateComboBox = new global::Gamma.Widgets.yEnumComboBox(); this.taskStateComboBox.Name = "taskStateComboBox"; this.taskStateComboBox.ShowSpecialStateAll = false; this.taskStateComboBox.ShowSpecialStateNot = false; this.taskStateComboBox.UseShortTitle = false; this.taskStateComboBox.DefaultFirst = false; this.table1.Add(this.taskStateComboBox); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1[this.taskStateComboBox])); w34.LeftAttach = ((uint)(1)); w34.RightAttach = ((uint)(2)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table1); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table1])); w35.Position = 0; w35.Expand = false; w35.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox1.Add(this.vseparator1); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator1])); w36.Position = 1; w36.Expand = false; w36.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vboxComments = new global::Gtk.VBox(); this.vboxComments.Name = "vboxComments"; this.vboxComments.Spacing = 6; // Container child vboxComments.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vboxComments.Add(this.hseparator1); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vboxComments[this.hseparator1])); w37.Position = 0; w37.Expand = false; w37.Fill = false; this.hbox1.Add(this.vboxComments); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vboxComments])); w38.Position = 2; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w39.Position = 1; w1.Add(this.vbox2); this.scrolledwindow1.Add(w1); this.Add(this.scrolledwindow1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.ResidueView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.ResidueView"; // Container child Vodovoz.Views.ResidueView.Gtk.Container+ContainerChild this.vboxDialog = new global::Gtk.VBox(); this.vboxDialog.Name = "vboxDialog"; this.vboxDialog.Spacing = 6; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hboxDialogButtons.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hboxDialogButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vboxDialog.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxDialogButtons])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(9)), ((uint)(5)), 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 = 10000000D; this.disablespinBottlesDeposit.Lower = -10000000D; 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)(3)); w6.BottomAttach = ((uint)(4)); 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 = 100000D; this.disablespinBottlesResidue.Lower = -100000D; 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)(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.disablespinMoneyDebt = new global::QSOrmProject.DisableSpinButton(); this.disablespinMoneyDebt.Events = ((global::Gdk.EventMask)(256)); this.disablespinMoneyDebt.Name = "disablespinMoneyDebt"; this.disablespinMoneyDebt.Active = false; this.disablespinMoneyDebt.Upper = 10000000D; this.disablespinMoneyDebt.Lower = -10000000D; this.disablespinMoneyDebt.Digits = ((uint)(2)); this.table1.Add(this.disablespinMoneyDebt); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.disablespinMoneyDebt])); w8.TopAttach = ((uint)(6)); w8.BottomAttach = ((uint)(7)); 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.entryClient = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryClient.Events = ((global::Gdk.EventMask)(256)); this.entryClient.Name = "entryClient"; this.entryClient.CanEditReference = false; this.table1.Add(this.entryClient); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.entryClient])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(5)); 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)(8)); w11.BottomAttach = ((uint)(9)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeviewEquipment = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewEquipment.CanFocus = true; this.ytreeviewEquipment.Name = "ytreeviewEquipment"; this.GtkScrolledWindow1.Add(this.ytreeviewEquipment); this.table1.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow1])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(4)); // Container child table1.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonAddEquipment = new global::Gtk.Button(); this.buttonAddEquipment.CanFocus = true; this.buttonAddEquipment.Name = "buttonAddEquipment"; this.buttonAddEquipment.UseUnderline = true; this.buttonAddEquipment.Label = global::Mono.Unix.Catalog.GetString("Добавить"); this.hbox4.Add(this.buttonAddEquipment); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonAddEquipment])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonDeleteEquipment = new global::Gtk.Button(); this.buttonDeleteEquipment.CanFocus = true; this.buttonDeleteEquipment.Name = "buttonDeleteEquipment"; this.buttonDeleteEquipment.UseUnderline = true; this.buttonDeleteEquipment.Label = global::Mono.Unix.Catalog.GetString("Удалить"); this.hbox4.Add(this.buttonDeleteEquipment); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonDeleteEquipment])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.table1.Add(this.hbox4); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox4])); w16.TopAttach = ((uint)(5)); w16.BottomAttach = ((uint)(6)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hboxInfo = new global::Gtk.HBox(); this.hboxInfo.Name = "hboxInfo"; this.hboxInfo.Spacing = 6; // Container child hboxInfo.Gtk.Box+BoxChild this.buttonOpenSlider = new global::Gtk.Button(); this.buttonOpenSlider.CanFocus = true; this.buttonOpenSlider.Name = "buttonOpenSlider"; this.buttonOpenSlider.UseUnderline = true; this.buttonOpenSlider.Label = global::Mono.Unix.Catalog.GetString("<"); this.hboxInfo.Add(this.buttonOpenSlider); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hboxInfo[this.buttonOpenSlider])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hboxInfo.Gtk.Box+BoxChild this.tableInfo = new global::Gtk.Table(((uint)(7)), ((uint)(2)), false); this.tableInfo.Name = "tableInfo"; this.tableInfo.RowSpacing = ((uint)(6)); this.tableInfo.ColumnSpacing = ((uint)(6)); // Container child tableInfo.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.tableInfo.Add(this.label11); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.label11])); w18.TopAttach = ((uint)(4)); w18.BottomAttach = ((uint)(5)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.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.tableInfo.Add(this.label13); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.label13])); w19.TopAttach = ((uint)(6)); w19.BottomAttach = ((uint)(7)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.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.tableInfo.Add(this.label7); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.label7])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.labelBottles = new global::Gtk.Label(); this.labelBottles.Name = "labelBottles"; this.labelBottles.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Тара</b>:"); this.labelBottles.UseMarkup = true; this.tableInfo.Add(this.labelBottles); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.labelBottles])); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.labelBottles1 = new global::Gtk.Label(); this.labelBottles1.Name = "labelBottles1"; this.labelBottles1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Деньги</b>:"); this.labelBottles1.UseMarkup = true; this.tableInfo.Add(this.labelBottles1); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.labelBottles1])); w22.TopAttach = ((uint)(3)); w22.BottomAttach = ((uint)(4)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.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.tableInfo.Add(this.labelCurrent); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.labelCurrent])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.labelCurrentBottleDebt = new global::Gamma.GtkWidgets.yLabel(); this.labelCurrentBottleDebt.Name = "labelCurrentBottleDebt"; this.tableInfo.Add(this.labelCurrentBottleDebt); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.labelCurrentBottleDebt])); w24.TopAttach = ((uint)(1)); w24.BottomAttach = ((uint)(2)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.labelCurrentBottleDeposit = new global::Gamma.GtkWidgets.yLabel(); this.labelCurrentBottleDeposit.Name = "labelCurrentBottleDeposit"; this.tableInfo.Add(this.labelCurrentBottleDeposit); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.labelCurrentBottleDeposit])); w25.TopAttach = ((uint)(2)); w25.BottomAttach = ((uint)(3)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.labelCurrentEquipmentDeposit = new global::Gamma.GtkWidgets.yLabel(); this.labelCurrentEquipmentDeposit.Name = "labelCurrentEquipmentDeposit"; this.tableInfo.Add(this.labelCurrentEquipmentDeposit); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.labelCurrentEquipmentDeposit])); 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 tableInfo.Gtk.Table+TableChild this.labelCurrentMoneyDebt = new global::Gamma.GtkWidgets.yLabel(); this.labelCurrentMoneyDebt.Name = "labelCurrentMoneyDebt"; this.tableInfo.Add(this.labelCurrentMoneyDebt); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.labelCurrentMoneyDebt])); w27.TopAttach = ((uint)(4)); w27.BottomAttach = ((uint)(5)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableInfo.Gtk.Table+TableChild this.labelEquipment = new global::Gtk.Label(); this.labelEquipment.Name = "labelEquipment"; this.labelEquipment.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Оборудование</b>:"); this.labelEquipment.UseMarkup = true; this.tableInfo.Add(this.labelEquipment); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.labelEquipment])); w28.TopAttach = ((uint)(5)); w28.BottomAttach = ((uint)(6)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); this.hboxInfo.Add(this.tableInfo); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hboxInfo[this.tableInfo])); w29.Position = 1; w29.Expand = false; w29.Fill = false; this.table1.Add(this.hboxInfo); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.hboxInfo])); w30.TopAttach = ((uint)(3)); w30.BottomAttach = ((uint)(9)); w30.LeftAttach = ((uint)(4)); w30.RightAttach = ((uint)(5)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.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 w31 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.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 w32 = ((global::Gtk.Table.TableChild)(this.table1[this.label10])); w32.TopAttach = ((uint)(4)); w32.BottomAttach = ((uint)(5)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.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 w33 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w33.TopAttach = ((uint)(3)); w33.BottomAttach = ((uint)(4)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.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 w34 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w34.TopAttach = ((uint)(2)); w34.BottomAttach = ((uint)(3)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.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 w35 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w35.TopAttach = ((uint)(3)); w35.BottomAttach = ((uint)(4)); w35.LeftAttach = ((uint)(2)); w35.RightAttach = ((uint)(3)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.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 w36 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w36.TopAttach = ((uint)(8)); w36.BottomAttach = ((uint)(9)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.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 w37 = ((global::Gtk.Table.TableChild)(this.table1[this.label9])); w37.TopAttach = ((uint)(1)); w37.BottomAttach = ((uint)(2)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.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 w38 = ((global::Gtk.Table.TableChild)(this.table1[this.moneyLabel])); w38.TopAttach = ((uint)(6)); w38.BottomAttach = ((uint)(7)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.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 w39 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumcomboDebtPaymentType])); w39.TopAttach = ((uint)(7)); w39.BottomAttach = ((uint)(8)); w39.LeftAttach = ((uint)(1)); w39.RightAttach = ((uint)(2)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ypickerDocDate = new global::QS.Widgets.GtkUI.DatePicker(); this.ypickerDocDate.Events = ((global::Gdk.EventMask)(256)); this.ypickerDocDate.Name = "ypickerDocDate"; this.ypickerDocDate.WithTime = false; this.ypickerDocDate.HideCalendarButton = 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 w40 = ((global::Gtk.Table.TableChild)(this.table1[this.ypickerDocDate])); w40.LeftAttach = ((uint)(1)); w40.RightAttach = ((uint)(5)); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ySpecCmbDeliveryPoint = new global::Gamma.Widgets.ySpecComboBox(); this.ySpecCmbDeliveryPoint.Name = "ySpecCmbDeliveryPoint"; this.ySpecCmbDeliveryPoint.AddIfNotExist = false; this.ySpecCmbDeliveryPoint.DefaultFirst = false; this.ySpecCmbDeliveryPoint.ShowSpecialStateAll = false; this.ySpecCmbDeliveryPoint.ShowSpecialStateNot = true; this.ySpecCmbDeliveryPoint.NameForSpecialStateNot = "Самовывоз"; this.table1.Add(this.ySpecCmbDeliveryPoint); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table1[this.ySpecCmbDeliveryPoint])); w41.TopAttach = ((uint)(2)); w41.BottomAttach = ((uint)(3)); w41.LeftAttach = ((uint)(1)); w41.RightAttach = ((uint)(5)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxDialog.Add(this.table1); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.table1])); w42.Position = 1; this.Add(this.vboxDialog); if ((this.Child != null)) { this.Child.ShowAll(); } this.tableInfo.Hide(); this.Hide(); this.entryClient.Changed += new global::System.EventHandler(this.OnEntryClientChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Views.Goods.NomenclaturePurchasePricesView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Goods.NomenclaturePurchasePricesView"; // Container child Vodovoz.Views.Goods.NomenclaturePurchasePricesView.Gtk.Container+ContainerChild this.vboxWidged = new global::Gtk.VBox(); this.vboxWidged.Name = "vboxWidged"; this.vboxWidged.Spacing = 6; // Container child vboxWidged.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.treeViewPurchasePrices = new global::Gamma.GtkWidgets.yTreeView(); this.treeViewPurchasePrices.CanFocus = true; this.treeViewPurchasePrices.Name = "treeViewPurchasePrices"; this.GtkScrolledWindow.Add(this.treeViewPurchasePrices); this.vboxWidged.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxWidged[this.GtkScrolledWindow])); w2.Position = 0; // Container child vboxWidged.Gtk.Box+BoxChild this.hboxButtons = new global::Gtk.HBox(); this.hboxButtons.Name = "hboxButtons"; this.hboxButtons.Spacing = 6; // Container child hboxButtons.Gtk.Box+BoxChild this.ylabelDate = new global::Gamma.GtkWidgets.yLabel(); this.ylabelDate.Name = "ylabelDate"; this.ylabelDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.hboxButtons.Add(this.ylabelDate); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxButtons[this.ylabelDate])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hboxButtons.Gtk.Box+BoxChild this.ydatepickerStart = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatepickerStart.Events = ((global::Gdk.EventMask)(256)); this.ydatepickerStart.Name = "ydatepickerStart"; this.ydatepickerStart.WithTime = false; this.ydatepickerStart.HideCalendarButton = false; this.ydatepickerStart.Date = new global::System.DateTime(0); this.ydatepickerStart.IsEditable = true; this.ydatepickerStart.AutoSeparation = false; this.hboxButtons.Add(this.ydatepickerStart); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxButtons[this.ydatepickerStart])); w4.Position = 1; w4.Expand = false; // Container child hboxButtons.Gtk.Box+BoxChild this.buttonChangePurchasePrice = new global::Gamma.GtkWidgets.yButton(); this.buttonChangePurchasePrice.CanFocus = true; this.buttonChangePurchasePrice.Name = "buttonChangePurchasePrice"; this.buttonChangePurchasePrice.UseUnderline = true; this.buttonChangePurchasePrice.Label = global::Mono.Unix.Catalog.GetString("Новая цена закупки"); this.hboxButtons.Add(this.buttonChangePurchasePrice); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxButtons[this.buttonChangePurchasePrice])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child hboxButtons.Gtk.Box+BoxChild this.buttonChangeDate = new global::Gamma.GtkWidgets.yButton(); this.buttonChangeDate.CanFocus = true; this.buttonChangeDate.Name = "buttonChangeDate"; this.buttonChangeDate.UseUnderline = true; this.buttonChangeDate.Label = global::Mono.Unix.Catalog.GetString("Сменить дату"); this.hboxButtons.Add(this.buttonChangeDate); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hboxButtons[this.buttonChangeDate])); w6.Position = 3; w6.Expand = false; w6.Fill = false; this.vboxWidged.Add(this.hboxButtons); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxWidged[this.hboxButtons])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.Add(this.vboxWidged); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.Logistic.ShipmentReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Logistic.ShipmentReport"; // Container child Vodovoz.ReportsParameters.Logistic.ShipmentReport.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.labelDate = new global::Gtk.Label(); this.labelDate.Name = "labelDate"; this.labelDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.hbox1.Add(this.labelDate); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.labelDate])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.ydatepicker = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatepicker.Events = ((global::Gdk.EventMask)(256)); this.ydatepicker.Name = "ydatepicker"; this.ydatepicker.WithTime = false; this.ydatepicker.Date = new global::System.DateTime(0); this.ydatepicker.IsEditable = true; this.ydatepicker.AutoSeparation = false; this.hbox1.Add(this.ydatepicker); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ydatepicker])); w2.Position = 1; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.radioAll = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Все")); this.radioAll.CanFocus = true; this.radioAll.Name = "radioAll"; this.radioAll.DrawIndicator = true; this.radioAll.UseUnderline = true; this.radioAll.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.vbox2.Add(this.radioAll); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.radioAll])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.radioCash = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Отсортировать по кассе")); this.radioCash.CanFocus = true; this.radioCash.Name = "radioCash"; this.radioCash.DrawIndicator = true; this.radioCash.UseUnderline = true; this.radioCash.Group = this.radioAll.Group; this.vbox2.Add(this.radioCash); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.radioCash])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.radioWarehouse = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Отсортировать по складу")); this.radioWarehouse.CanFocus = true; this.radioWarehouse.Name = "radioWarehouse"; this.radioWarehouse.DrawIndicator = true; this.radioWarehouse.UseUnderline = true; this.radioWarehouse.Group = this.radioAll.Group; this.vbox2.Add(this.radioWarehouse); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.radioWarehouse])); w6.Position = 3; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.referenceWarehouse = new global::Gamma.Widgets.yEntryReference(); this.referenceWarehouse.Events = ((global::Gdk.EventMask)(256)); this.referenceWarehouse.Name = "referenceWarehouse"; this.vbox2.Add(this.referenceWarehouse); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.referenceWarehouse])); w7.Position = 4; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.buttonCreateReport = new global::Gtk.Button(); this.buttonCreateReport.CanFocus = true; this.buttonCreateReport.Name = "buttonCreateReport"; this.buttonCreateReport.UseUnderline = true; this.buttonCreateReport.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчёт"); this.vbox2.Add(this.buttonCreateReport); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.buttonCreateReport])); w8.Position = 6; w8.Expand = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.radioAll.Toggled += new global::System.EventHandler(this.OnRadioAllToggled); this.radioCash.Toggled += new global::System.EventHandler(this.OnRadioCashToggled); this.radioWarehouse.Toggled += new global::System.EventHandler(this.OnRadioWarehouseToggled); this.referenceWarehouse.Changed += new global::System.EventHandler(this.OnReferenceWarehouseChanged); this.buttonCreateReport.Clicked += new global::System.EventHandler(this.OnButtonCreateReportClicked); }
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)(11)), ((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)(10)); w1.BottomAttach = ((uint)(11)); 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)(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.checkOrganisations = new global::Gtk.CheckButton(); this.checkOrganisations.CanFocus = true; this.checkOrganisations.Name = "checkOrganisations"; this.checkOrganisations.Label = global::Mono.Unix.Catalog.GetString("По юр лицам"); this.checkOrganisations.DrawIndicator = true; this.checkOrganisations.UseUnderline = true; this.table1.Add(this.checkOrganisations); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.checkOrganisations])); w3.TopAttach = ((uint)(3)); w3.BottomAttach = ((uint)(4)); 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.comboExpenseCategory = new global::Gtk.ComboBox(); this.comboExpenseCategory.Name = "comboExpenseCategory"; this.table1.Add(this.comboExpenseCategory); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.comboExpenseCategory])); w4.TopAttach = ((uint)(9)); w4.BottomAttach = ((uint)(10)); 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.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 w5 = ((global::Gtk.Table.TableChild)(this.table1[this.comboIncomeCategory])); w5.TopAttach = ((uint)(8)); w5.BottomAttach = ((uint)(9)); 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.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 w6 = ((global::Gtk.Table.TableChild)(this.table1[this.comboPart])); w6.TopAttach = ((uint)(7)); w6.BottomAttach = ((uint)(8)); 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.evmeCashier = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeCashier.Events = ((global::Gdk.EventMask)(256)); this.evmeCashier.Name = "evmeCashier"; this.evmeCashier.CanEditReference = true; this.table1.Add(this.evmeCashier); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.evmeCashier])); 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 table1.Gtk.Table+TableChild this.evmeEmployee = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeEmployee.Events = ((global::Gdk.EventMask)(256)); this.evmeEmployee.Name = "evmeEmployee"; this.evmeEmployee.CanEditReference = true; this.table1.Add(this.evmeEmployee); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.evmeEmployee])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.dateStart = new global::QS.Widgets.GtkUI.DatePicker(); this.dateStart.Events = ((global::Gdk.EventMask)(256)); this.dateStart.Name = "dateStart"; this.dateStart.WithTime = true; this.dateStart.HideCalendarButton = false; this.dateStart.Date = new global::System.DateTime(0); this.dateStart.IsEditable = true; this.dateStart.AutoSeparation = true; this.hbox3.Add(this.dateStart); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.dateStart])); w9.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.lblMinus = new global::Gtk.Label(); this.lblMinus.Name = "lblMinus"; this.lblMinus.LabelProp = global::Mono.Unix.Catalog.GetString(" - "); this.hbox3.Add(this.lblMinus); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.lblMinus])); w10.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.dateEnd = new global::QS.Widgets.GtkUI.DatePicker(); this.dateEnd.Events = ((global::Gdk.EventMask)(256)); this.dateEnd.Name = "dateEnd"; this.dateEnd.WithTime = true; this.dateEnd.HideCalendarButton = false; this.dateEnd.Date = new global::System.DateTime(0); this.dateEnd.IsEditable = true; this.dateEnd.AutoSeparation = true; this.hbox3.Add(this.dateEnd); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.dateEnd])); w11.Position = 2; this.table1.Add(this.hbox3); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox3])); 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.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 w13 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.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 w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w14.TopAttach = ((uint)(7)); w14.BottomAttach = ((uint)(8)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w15.TopAttach = ((uint)(8)); w15.BottomAttach = ((uint)(9)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w16.TopAttach = ((uint)(9)); w16.BottomAttach = ((uint)(10)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.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 w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label6])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.specialListCmbCashSubdivisions = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.specialListCmbCashSubdivisions.Name = "specialListCmbCashSubdivisions"; this.specialListCmbCashSubdivisions.AddIfNotExist = false; this.specialListCmbCashSubdivisions.DefaultFirst = false; this.specialListCmbCashSubdivisions.ShowSpecialStateAll = true; this.specialListCmbCashSubdivisions.ShowSpecialStateNot = false; this.table1.Add(this.specialListCmbCashSubdivisions); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.specialListCmbCashSubdivisions])); w19.TopAttach = ((uint)(5)); w19.BottomAttach = ((uint)(6)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.specialListCmbOrganisations = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.specialListCmbOrganisations.Name = "specialListCmbOrganisations"; this.specialListCmbOrganisations.AddIfNotExist = false; this.specialListCmbOrganisations.DefaultFirst = false; this.specialListCmbOrganisations.ShowSpecialStateAll = true; this.specialListCmbOrganisations.ShowSpecialStateNot = false; this.table1.Add(this.specialListCmbOrganisations); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.specialListCmbOrganisations])); w20.TopAttach = ((uint)(6)); w20.BottomAttach = ((uint)(7)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylblCashSubdivisions = new global::Gamma.GtkWidgets.yLabel(); this.ylblCashSubdivisions.Name = "ylblCashSubdivisions"; this.ylblCashSubdivisions.Xalign = 1F; this.ylblCashSubdivisions.LabelProp = global::Mono.Unix.Catalog.GetString("Кассы:"); this.table1.Add(this.ylblCashSubdivisions); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.ylblCashSubdivisions])); w21.TopAttach = ((uint)(5)); w21.BottomAttach = ((uint)(6)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylblOrganisations = new global::Gamma.GtkWidgets.yLabel(); this.ylblOrganisations.Name = "ylblOrganisations"; this.ylblOrganisations.Xalign = 1F; this.ylblOrganisations.LabelProp = global::Mono.Unix.Catalog.GetString("Организации:"); this.table1.Add(this.ylblOrganisations); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.ylblOrganisations])); w22.TopAttach = ((uint)(6)); w22.BottomAttach = ((uint)(7)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.dateStart.DateChangedByUser += new global::System.EventHandler(this.OnDateChanged); this.dateEnd.DateChanged += new global::System.EventHandler(this.OnDateChanged); 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.RouteListsOnDayView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Views.Logistic.RouteListsOnDayView"; // Container child Vodovoz.Views.Logistic.RouteListsOnDayView.Gtk.Container+ContainerChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(6)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.buttonFilter = new global::Gamma.GtkWidgets.yButton(); this.buttonFilter.CanFocus = true; this.buttonFilter.Name = "buttonFilter"; this.buttonFilter.UseUnderline = true; this.buttonFilter.Label = global::Mono.Unix.Catalog.GetString("Фильтровать"); this.table1.Add(this.buttonFilter); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonFilter])); w1.TopAttach = ((uint)(2)); w1.BottomAttach = ((uint)(3)); w1.LeftAttach = ((uint)(2)); w1.RightAttach = ((uint)(3)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.yspeccomboboxCashSubdivision = new global::Gamma.Widgets.ySpecComboBox(); this.yspeccomboboxCashSubdivision.Name = "yspeccomboboxCashSubdivision"; this.yspeccomboboxCashSubdivision.AddIfNotExist = false; this.yspeccomboboxCashSubdivision.DefaultFirst = false; this.yspeccomboboxCashSubdivision.ShowSpecialStateAll = false; this.yspeccomboboxCashSubdivision.ShowSpecialStateNot = false; this.hbox9.Add(this.yspeccomboboxCashSubdivision); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.yspeccomboboxCashSubdivision])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.checkShowCompleted = new global::Gamma.GtkWidgets.yCheckButton(); this.checkShowCompleted.CanFocus = true; this.checkShowCompleted.Name = "checkShowCompleted"; this.checkShowCompleted.Label = global::Mono.Unix.Catalog.GetString("Показывать уехавшие"); this.checkShowCompleted.DrawIndicator = true; this.checkShowCompleted.UseUnderline = true; this.hbox9.Add(this.checkShowCompleted); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.checkShowCompleted])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.checkShowOnlyDriverOrders = new global::Gamma.GtkWidgets.yCheckButton(); this.checkShowOnlyDriverOrders.CanFocus = true; this.checkShowOnlyDriverOrders.Name = "checkShowOnlyDriverOrders"; this.checkShowOnlyDriverOrders.Label = global::Mono.Unix.Catalog.GetString("Показать только районы водителя"); this.checkShowOnlyDriverOrders.DrawIndicator = true; this.checkShowOnlyDriverOrders.UseUnderline = true; this.hbox9.Add(this.checkShowOnlyDriverOrders); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.checkShowOnlyDriverOrders])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.table1.Add(this.hbox9); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox9])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Сдается в кассу:"); this.label7.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.label7); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label7])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Мин. 19л. бут.:"); this.label8.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.label8); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.table2 = new global::Gtk.Table(((uint)(2)), ((uint)(5)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.enumCmbDeliveryType = new global::Gamma.Widgets.yEnumComboBox(); this.enumCmbDeliveryType.Name = "enumCmbDeliveryType"; this.enumCmbDeliveryType.ShowSpecialStateAll = false; this.enumCmbDeliveryType.ShowSpecialStateNot = false; this.enumCmbDeliveryType.UseShortTitle = false; this.enumCmbDeliveryType.DefaultFirst = false; this.table2.Add(this.enumCmbDeliveryType); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2[this.enumCmbDeliveryType])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.ytreeviewAddressesTypes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewAddressesTypes.CanFocus = true; this.ytreeviewAddressesTypes.Name = "ytreeviewAddressesTypes"; this.ytreeviewAddressesTypes.HeadersVisible = false; this.hbox10.Add(this.ytreeviewAddressesTypes); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.ytreeviewAddressesTypes])); w10.Position = 0; // Container child hbox10.Gtk.Box+BoxChild this.ytreeviewGeographicGroup = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewGeographicGroup.CanFocus = true; this.ytreeviewGeographicGroup.Name = "ytreeviewGeographicGroup"; this.hbox10.Add(this.ytreeviewGeographicGroup); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.ytreeviewGeographicGroup])); w11.Position = 1; this.table2.Add(this.hbox10); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2[this.hbox10])); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(3)); w12.RightAttach = ((uint)(5)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Начало работы водителей"); this.label3.Justify = ((global::Gtk.Justification)(1)); this.table2.Add(this.label3); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2[this.label3])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(0)); w13.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.timeDrvShiftRngpicker = new global::QS.Widgets.GtkUI.TimeRangePicker(); this.timeDrvShiftRngpicker.Events = ((global::Gdk.EventMask)(256)); this.timeDrvShiftRngpicker.Name = "timeDrvShiftRngpicker"; this.timeDrvShiftRngpicker.TimeStart = new global::System.TimeSpan(0); this.table2.Add(this.timeDrvShiftRngpicker); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2[this.timeDrvShiftRngpicker])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(0)); w14.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.timeRngPicker = new global::QS.Widgets.GtkUI.TimeRangePicker(); this.timeRngPicker.Events = ((global::Gdk.EventMask)(256)); this.timeRngPicker.Name = "timeRngPicker"; this.timeRngPicker.TimeStart = new global::System.TimeSpan(0); this.table2.Add(this.timeRngPicker); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2[this.timeRngPicker])); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(0)); w15.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.ydateForRoutes = new global::QS.Widgets.GtkUI.DatePicker(); this.ydateForRoutes.Events = ((global::Gdk.EventMask)(256)); this.ydateForRoutes.Name = "ydateForRoutes"; this.ydateForRoutes.WithTime = false; this.ydateForRoutes.HideCalendarButton = false; this.ydateForRoutes.Date = new global::System.DateTime(0); this.ydateForRoutes.IsEditable = true; this.ydateForRoutes.AutoSeparation = true; this.table2.Add(this.ydateForRoutes); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2[this.ydateForRoutes])); w16.XOptions = ((global::Gtk.AttachOptions)(0)); w16.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.ySpnMin19Btls = new global::Gamma.GtkWidgets.ySpinButton(0D, 100D, 1D); this.ySpnMin19Btls.WidthRequest = 100; this.ySpnMin19Btls.CanFocus = true; this.ySpnMin19Btls.Name = "ySpnMin19Btls"; this.ySpnMin19Btls.Adjustment.PageIncrement = 1D; this.ySpnMin19Btls.Adjustment.PageSize = 1D; this.ySpnMin19Btls.ClimbRate = 1D; this.ySpnMin19Btls.Numeric = true; this.ySpnMin19Btls.Value = 1D; this.ySpnMin19Btls.ValueAsDecimal = 0m; this.ySpnMin19Btls.ValueAsInt = 0; this.table2.Add(this.ySpnMin19Btls); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2[this.ySpnMin19Btls])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(0)); this.table1.Add(this.table2); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.table2])); w18.BottomAttach = ((uint)(2)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.textOrdersInfo = new global::Gtk.TextView(); this.textOrdersInfo.CanFocus = true; this.textOrdersInfo.Name = "textOrdersInfo"; this.textOrdersInfo.Editable = false; this.vbox6.Add(this.textOrdersInfo); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.textOrdersInfo])); w19.Position = 0; this.table1.Add(this.vbox6); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox6])); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(3)); w20.RightAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.ytextWorkDriversInfo = new global::Gamma.GtkWidgets.yTextView(); this.ytextWorkDriversInfo.CanFocus = true; this.ytextWorkDriversInfo.Name = "ytextWorkDriversInfo"; this.ytextWorkDriversInfo.Editable = false; this.vbox7.Add(this.ytextWorkDriversInfo); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.ytextWorkDriversInfo])); w21.Position = 0; this.table1.Add(this.vbox7); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox7])); w22.BottomAttach = ((uint)(3)); w22.LeftAttach = ((uint)(4)); w22.RightAttach = ((uint)(5)); w22.XOptions = ((global::Gtk.AttachOptions)(0)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.ytextFullOrdersInfo = new global::Gamma.GtkWidgets.yTextView(); this.ytextFullOrdersInfo.CanFocus = true; this.ytextFullOrdersInfo.Name = "ytextFullOrdersInfo"; this.ytextFullOrdersInfo.Editable = false; this.vbox8.Add(this.ytextFullOrdersInfo); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.ytextFullOrdersInfo])); w23.Position = 0; this.table1.Add(this.vbox8); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox8])); w24.BottomAttach = ((uint)(3)); w24.LeftAttach = ((uint)(5)); w24.RightAttach = ((uint)(6)); w24.XOptions = ((global::Gtk.AttachOptions)(0)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox5.Add(this.table1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.table1])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hpaned3 = new global::Gtk.HPaned(); this.hpaned3.CanFocus = true; this.hpaned3.Name = "hpaned3"; this.hpaned3.Position = 548; // Container child hpaned3.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.btnSave = new global::Gamma.GtkWidgets.yButton(); this.btnSave.CanFocus = true; this.btnSave.Name = "btnSave"; this.btnSave.UseUnderline = true; this.btnSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w26 = new global::Gtk.Image(); w26.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.btnSave.Image = w26; this.hbox8.Add(this.btnSave); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.btnSave])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.btnCancel = new global::Gamma.GtkWidgets.yButton(); this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseUnderline = true; this.btnCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w28 = new global::Gtk.Image(); w28.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.btnCancel.Image = w28; this.hbox8.Add(this.btnCancel); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.btnCancel])); w29.Position = 1; w29.Expand = false; w29.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.progressOrders = new global::Gtk.ProgressBar(); this.progressOrders.Name = "progressOrders"; this.progressOrders.Ellipsize = ((global::Pango.EllipsizeMode)(1)); this.hbox8.Add(this.progressOrders); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.progressOrders])); w30.Position = 2; // Container child hbox8.Gtk.Box+BoxChild this.buttonWarnings = new global::Gamma.GtkWidgets.yButton(); this.buttonWarnings.TooltipMarkup = "Имеются перудупреждения. Нажмите что бы посмотреть."; this.buttonWarnings.CanFocus = true; this.buttonWarnings.Name = "buttonWarnings"; this.buttonWarnings.UseUnderline = true; this.buttonWarnings.Relief = ((global::Gtk.ReliefStyle)(2)); global::Gtk.Image w31 = new global::Gtk.Image(); w31.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-warning", global::Gtk.IconSize.Menu); this.buttonWarnings.Image = w31; this.hbox8.Add(this.buttonWarnings); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonWarnings])); w32.Position = 3; w32.Expand = false; w32.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.buttonAutoCreate = new global::Gamma.GtkWidgets.yButton(); this.buttonAutoCreate.CanFocus = true; this.buttonAutoCreate.Name = "buttonAutoCreate"; this.buttonAutoCreate.UseUnderline = true; this.buttonAutoCreate.Label = global::Mono.Unix.Catalog.GetString("Создать маршруты"); this.hbox8.Add(this.buttonAutoCreate); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonAutoCreate])); w33.Position = 4; w33.Expand = false; w33.Fill = false; this.vbox3.Add(this.hbox8); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox8])); w34.Position = 0; w34.Expand = false; w34.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; this.notebook1.TabPos = ((global::Gtk.PositionType)(0)); // Container child notebook1.Gtk.Notebook+NotebookChild this.vboxDrivers = new global::Gtk.VBox(); this.vboxDrivers.Name = "vboxDrivers"; this.vboxDrivers.Spacing = 6; // Container child vboxDrivers.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeviewOnDayDrivers = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewOnDayDrivers.CanFocus = true; this.ytreeviewOnDayDrivers.Name = "ytreeviewOnDayDrivers"; this.GtkScrolledWindow1.Add(this.ytreeviewOnDayDrivers); this.vboxDrivers.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vboxDrivers[this.GtkScrolledWindow1])); w36.Position = 0; // Container child vboxDrivers.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.buttonAddDriver = new global::Gamma.GtkWidgets.yButton(); this.buttonAddDriver.CanFocus = true; this.buttonAddDriver.Name = "buttonAddDriver"; this.buttonAddDriver.UseUnderline = true; this.buttonAddDriver.Label = global::Mono.Unix.Catalog.GetString("Добавить водителя"); global::Gtk.Image w37 = new global::Gtk.Image(); w37.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddDriver.Image = w37; this.hbox7.Add(this.buttonAddDriver); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonAddDriver])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonRemoveDriver = new global::Gamma.GtkWidgets.yButton(); this.buttonRemoveDriver.CanFocus = true; this.buttonRemoveDriver.Name = "buttonRemoveDriver"; this.buttonRemoveDriver.UseUnderline = true; this.buttonRemoveDriver.Label = global::Mono.Unix.Catalog.GetString("Снять водителя"); global::Gtk.Image w39 = new global::Gtk.Image(); w39.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveDriver.Image = w39; this.hbox7.Add(this.buttonRemoveDriver); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonRemoveDriver])); w40.Position = 1; w40.Expand = false; w40.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonDriverSelectAuto = new global::Gamma.GtkWidgets.yButton(); this.buttonDriverSelectAuto.CanFocus = true; this.buttonDriverSelectAuto.Name = "buttonDriverSelectAuto"; this.buttonDriverSelectAuto.UseUnderline = true; this.buttonDriverSelectAuto.Label = global::Mono.Unix.Catalog.GetString("Выбрать авто"); global::Gtk.Image w41 = new global::Gtk.Image(); w41.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.car.png"); this.buttonDriverSelectAuto.Image = w41; this.hbox7.Add(this.buttonDriverSelectAuto); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonDriverSelectAuto])); w42.Position = 2; w42.Expand = false; w42.Fill = false; this.vboxDrivers.Add(this.hbox7); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vboxDrivers[this.hbox7])); w43.Position = 1; w43.Expand = false; w43.Fill = false; this.notebook1.Add(this.vboxDrivers); // Notebook tab this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Водители"); this.label4.Angle = 270D; this.notebook1.SetTabLabel(this.vboxDrivers, this.label4); this.label4.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.ytreeviewOnDayForwarders = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewOnDayForwarders.CanFocus = true; this.ytreeviewOnDayForwarders.Name = "ytreeviewOnDayForwarders"; this.GtkScrolledWindow2.Add(this.ytreeviewOnDayForwarders); this.vbox4.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.GtkScrolledWindow2])); w46.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.buttonAddForwarder = new global::Gamma.GtkWidgets.yButton(); this.buttonAddForwarder.CanFocus = true; this.buttonAddForwarder.Name = "buttonAddForwarder"; this.buttonAddForwarder.UseUnderline = true; this.buttonAddForwarder.Label = global::Mono.Unix.Catalog.GetString("Добавить экспедитора"); global::Gtk.Image w47 = new global::Gtk.Image(); w47.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddForwarder.Image = w47; this.hbox6.Add(this.buttonAddForwarder); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonAddForwarder])); w48.Position = 0; w48.Expand = false; w48.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonRemoveForwarder = new global::Gamma.GtkWidgets.yButton(); this.buttonRemoveForwarder.CanFocus = true; this.buttonRemoveForwarder.Name = "buttonRemoveForwarder"; this.buttonRemoveForwarder.UseUnderline = true; this.buttonRemoveForwarder.Label = global::Mono.Unix.Catalog.GetString("Снять экспедитора"); global::Gtk.Image w49 = new global::Gtk.Image(); w49.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveForwarder.Image = w49; this.hbox6.Add(this.buttonRemoveForwarder); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonRemoveForwarder])); w50.Position = 1; w50.Expand = false; w50.Fill = false; this.vbox4.Add(this.hbox6); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox6])); w51.Position = 1; w51.Expand = false; w51.Fill = false; this.notebook1.Add(this.vbox4); global::Gtk.Notebook.NotebookChild w52 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox4])); w52.Position = 1; // Notebook tab this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Экспедиторы"); this.label5.Angle = 270D; this.notebook1.SetTabLabel(this.vbox4, this.label5); this.label5.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vboxRouteLists = new global::Gtk.VBox(); this.vboxRouteLists.Name = "vboxRouteLists"; this.vboxRouteLists.Spacing = 6; // Container child vboxRouteLists.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytreeRoutes = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeRoutes.CanFocus = true; this.ytreeRoutes.Name = "ytreeRoutes"; this.GtkScrolledWindow.Add(this.ytreeRoutes); this.vboxRouteLists.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vboxRouteLists[this.GtkScrolledWindow])); w54.Position = 0; // Container child vboxRouteLists.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonOpen = new global::Gamma.GtkWidgets.yButton(); this.buttonOpen.CanFocus = true; this.buttonOpen.Name = "buttonOpen"; this.buttonOpen.UseUnderline = true; this.buttonOpen.Label = global::Mono.Unix.Catalog.GetString("Открыть"); this.hbox5.Add(this.buttonOpen); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonOpen])); w55.Position = 0; w55.Expand = false; w55.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonRebuildRoute = new global::Gamma.GtkWidgets.yButton(); this.buttonRebuildRoute.CanFocus = true; this.buttonRebuildRoute.Name = "buttonRebuildRoute"; this.buttonRebuildRoute.UseUnderline = true; this.buttonRebuildRoute.Label = global::Mono.Unix.Catalog.GetString("Перестроить маршрут"); global::Gtk.Image w56 = new global::Gtk.Image(); w56.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.sort-ascending.png"); this.buttonRebuildRoute.Image = w56; this.hbox5.Add(this.buttonRebuildRoute); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonRebuildRoute])); w57.Position = 1; w57.Expand = false; w57.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.buttonRemoveAddress = new global::Gamma.GtkWidgets.yButton(); this.buttonRemoveAddress.CanFocus = true; this.buttonRemoveAddress.Name = "buttonRemoveAddress"; this.buttonRemoveAddress.UseUnderline = true; this.buttonRemoveAddress.Label = global::Mono.Unix.Catalog.GetString("Убрать адрес"); global::Gtk.Image w58 = new global::Gtk.Image(); w58.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonRemoveAddress.Image = w58; this.hbox5.Add(this.buttonRemoveAddress); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonRemoveAddress])); w59.Position = 2; w59.Expand = false; w59.Fill = false; this.vboxRouteLists.Add(this.hbox5); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.vboxRouteLists[this.hbox5])); w60.Position = 1; w60.Expand = false; w60.Fill = false; this.notebook1.Add(this.vboxRouteLists); global::Gtk.Notebook.NotebookChild w61 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vboxRouteLists])); w61.Position = 2; // Notebook tab this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Маршруты"); this.label6.Angle = 270D; this.notebook1.SetTabLabel(this.vboxRouteLists, this.label6); this.label6.ShowAll(); this.vbox3.Add(this.notebook1); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.notebook1])); w62.Position = 1; this.hpaned3.Add(this.vbox3); global::Gtk.Paned.PanedChild w63 = ((global::Gtk.Paned.PanedChild)(this.hpaned3[this.vbox3])); w63.Resize = false; // Container child hpaned3.Gtk.Paned+PanedChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.btnRefresh = new global::Gamma.GtkWidgets.yButton(); this.btnRefresh.TooltipMarkup = "Обновить"; this.btnRefresh.CanFocus = true; this.btnRefresh.Name = "btnRefresh"; this.btnRefresh.UseUnderline = true; global::Gtk.Image w64 = new global::Gtk.Image(); w64.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu); this.btnRefresh.Image = w64; this.hbox4.Add(this.btnRefresh); global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.btnRefresh])); w65.Position = 0; w65.Expand = false; w65.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.labelSelected = new global::Gtk.Label(); this.labelSelected.Name = "labelSelected"; this.labelSelected.LabelProp = global::Mono.Unix.Catalog.GetString("Адресов\nне выбрано"); this.labelSelected.Justify = ((global::Gtk.Justification)(2)); this.hbox4.Add(this.labelSelected); global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.labelSelected])); w66.Position = 1; w66.Expand = false; w66.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.menuAddToRL = new global::QSWidgetLib.MenuButton(); this.menuAddToRL.Sensitive = false; this.menuAddToRL.CanFocus = true; this.menuAddToRL.Name = "menuAddToRL"; this.menuAddToRL.UseUnderline = true; this.menuAddToRL.UseMarkup = false; this.menuAddToRL.LabelXAlign = 0F; this.menuAddToRL.Label = global::Mono.Unix.Catalog.GetString("В маршрутный лист"); global::Gtk.Image w67 = new global::Gtk.Image(); w67.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.menuAddToRL.Image = w67; this.hbox4.Add(this.menuAddToRL); global::Gtk.Box.BoxChild w68 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.menuAddToRL])); w68.Position = 2; w68.Expand = false; w68.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.checkShowDistricts = new global::Gamma.GtkWidgets.yCheckButton(); this.checkShowDistricts.CanFocus = true; this.checkShowDistricts.Name = "checkShowDistricts"; this.checkShowDistricts.Label = global::Mono.Unix.Catalog.GetString("Районы"); this.checkShowDistricts.DrawIndicator = true; this.checkShowDistricts.UseUnderline = true; this.hbox4.Add(this.checkShowDistricts); global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.checkShowDistricts])); w69.Position = 3; w69.Expand = false; // Container child hbox4.Gtk.Box+BoxChild this.yspinMaxTime = new global::Gamma.GtkWidgets.ySpinButton(0D, 1000D, 1D); this.yspinMaxTime.TooltipMarkup = "Максимальное время оптимизаций, в секундах."; this.yspinMaxTime.CanFocus = true; this.yspinMaxTime.Name = "yspinMaxTime"; this.yspinMaxTime.Adjustment.PageIncrement = 10D; this.yspinMaxTime.ClimbRate = 1D; this.yspinMaxTime.Numeric = true; this.yspinMaxTime.UpdatePolicy = ((global::Gtk.SpinButtonUpdatePolicy)(1)); this.yspinMaxTime.Value = 30D; this.yspinMaxTime.ValueAsDecimal = 0m; this.yspinMaxTime.ValueAsInt = 0; this.hbox4.Add(this.yspinMaxTime); global::Gtk.Box.BoxChild w70 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.yspinMaxTime])); w70.Position = 4; w70.Expand = false; w70.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.hbox4.Add(this.vseparator2); global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vseparator2])); w71.Position = 5; w71.Expand = false; w71.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.yenumcomboMapType = new global::Gamma.Widgets.yEnumComboBox(); this.yenumcomboMapType.Name = "yenumcomboMapType"; this.yenumcomboMapType.ShowSpecialStateAll = false; this.yenumcomboMapType.ShowSpecialStateNot = false; this.yenumcomboMapType.UseShortTitle = false; this.yenumcomboMapType.DefaultFirst = true; this.hbox4.Add(this.yenumcomboMapType); global::Gtk.Box.BoxChild w72 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.yenumcomboMapType])); w72.Position = 6; w72.Expand = false; w72.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonMapHelp = new global::Gamma.GtkWidgets.yButton(); this.buttonMapHelp.TooltipMarkup = "Справка по работе с картой."; this.buttonMapHelp.CanFocus = true; this.buttonMapHelp.Name = "buttonMapHelp"; this.buttonMapHelp.UseUnderline = true; this.buttonMapHelp.Relief = ((global::Gtk.ReliefStyle)(1)); global::Gtk.Image w73 = new global::Gtk.Image(); w73.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-help", global::Gtk.IconSize.Menu); this.buttonMapHelp.Image = w73; this.hbox4.Add(this.buttonMapHelp); global::Gtk.Box.BoxChild w74 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonMapHelp])); w74.Position = 7; w74.Expand = false; this.vbox2.Add(this.hbox4); global::Gtk.Box.BoxChild w75 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox4])); w75.Position = 0; w75.Expand = false; w75.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.gmapWidget = new global::GMap.NET.GtkSharp.GMapControl(); this.gmapWidget.Name = "gmapWidget"; this.gmapWidget.MaxZoom = 24; this.gmapWidget.MinZoom = 0; this.gmapWidget.MouseWheelZoomEnabled = true; this.gmapWidget.ShowTileGridLines = false; this.gmapWidget.GrayScaleMode = false; this.gmapWidget.NegativeMode = false; this.gmapWidget.HasFrame = false; this.gmapWidget.Bearing = 0F; this.gmapWidget.Zoom = 9D; this.gmapWidget.RoutesEnabled = true; this.gmapWidget.PolygonsEnabled = true; this.gmapWidget.MarkersEnabled = true; this.gmapWidget.CanDragMap = true; this.vbox2.Add(this.gmapWidget); global::Gtk.Box.BoxChild w76 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.gmapWidget])); w76.Position = 1; this.hpaned3.Add(this.vbox2); this.vbox5.Add(this.hpaned3); global::Gtk.Box.BoxChild w78 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hpaned3])); w78.Position = 1; this.Add(this.vbox5); if ((this.Child != null)) { this.Child.ShowAll(); } this.buttonWarnings.Hide(); this.Hide(); this.ySpnMin19Btls.WidgetEvent += new global::Gtk.WidgetEventHandler(this.OnFilterWidgetEvent); this.buttonAutoCreate.Clicked += new global::System.EventHandler(this.OnButtonAutoCreateClicked); this.buttonDriverSelectAuto.Clicked += new global::System.EventHandler(this.OnButtonDriverSelectAutoClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.LastOrderByDeliveryPointReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.LastOrderByDeliveryPointReport"; // Container child Vodovoz.ReportsParameters.LastOrderByDeliveryPointReport.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.hbox3.Add(this.label2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.ydatepicker = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatepicker.Events = ((global::Gdk.EventMask)(256)); this.ydatepicker.Name = "ydatepicker"; this.ydatepicker.WithTime = false; this.ydatepicker.Date = new global::System.DateTime(0); this.ydatepicker.IsEditable = true; this.ydatepicker.AutoSeparation = false; this.hbox3.Add(this.ydatepicker); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.ydatepicker])); w2.Position = 1; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.buttonSanitary = new global::Gtk.CheckButton(); this.buttonSanitary.CanFocus = true; this.buttonSanitary.Name = "buttonSanitary"; this.buttonSanitary.Label = global::Mono.Unix.Catalog.GetString("Отчёт по санитарной обработке"); this.buttonSanitary.DrawIndicator = true; this.buttonSanitary.UseUnderline = true; this.vbox1.Add(this.buttonSanitary); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.buttonSanitary])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Долг бутылей >="); this.hbox2.Add(this.label1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.BottleDeptEntry = new global::QSWidgetLib.ValidatedEntry(); this.BottleDeptEntry.CanFocus = true; this.BottleDeptEntry.Name = "BottleDeptEntry"; this.BottleDeptEntry.IsEditable = true; this.BottleDeptEntry.InvisibleChar = '•'; this.hbox2.Add(this.BottleDeptEntry); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.BottleDeptEntry])); w6.Position = 1; 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 = 2; w7.Expand = false; w7.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.button36 = new global::Gtk.Button(); this.button36.Sensitive = false; this.button36.CanFocus = true; this.button36.Name = "button36"; this.button36.UseUnderline = true; this.button36.Label = global::Mono.Unix.Catalog.GetString("Добавить в обзвон"); global::Gtk.Image w8 = new global::Gtk.Image(); w8.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "stock_cell-phone", global::Gtk.IconSize.Menu); this.button36.Image = w8; this.vbox1.Add(this.button36); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.button36])); w9.PackType = ((global::Gtk.PackType)(1)); w9.Position = 4; w9.Expand = false; w9.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.buttonCreateRepot = new global::Gtk.Button(); this.buttonCreateRepot.CanFocus = true; this.buttonCreateRepot.Name = "buttonCreateRepot"; this.buttonCreateRepot.UseUnderline = true; this.buttonCreateRepot.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); global::Gtk.Image w10 = new global::Gtk.Image(); w10.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-apply", global::Gtk.IconSize.Menu); this.buttonCreateRepot.Image = w10; this.vbox1.Add(this.buttonCreateRepot); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.buttonCreateRepot])); w11.PackType = ((global::Gtk.PackType)(1)); w11.Position = 5; w11.Expand = false; w11.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonCreateRepot.Clicked += new global::System.EventHandler(this.OnButtonCreateRepotClicked); }
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 Vodovoz.Dialogs.Cash.CashRequestItemView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Cash.CashRequestItemView"; // Container child Vodovoz.Dialogs.Cash.CashRequestItemView.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)(4)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.AccountableEntityviewmodelentry3 = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.AccountableEntityviewmodelentry3.Events = ((global::Gdk.EventMask)(256)); this.AccountableEntityviewmodelentry3.Name = "AccountableEntityviewmodelentry3"; this.AccountableEntityviewmodelentry3.CanEditReference = false; this.table1.Add(this.AccountableEntityviewmodelentry3); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.AccountableEntityviewmodelentry3])); 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.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.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 w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.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 w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label7])); 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.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 w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); 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.ydateDate = new global::QS.Widgets.GtkUI.DatePicker(); this.ydateDate.Events = ((global::Gdk.EventMask)(256)); this.ydateDate.Name = "ydateDate"; this.ydateDate.WithTime = false; this.ydateDate.HideCalendarButton = false; this.ydateDate.Date = new global::System.DateTime(0); this.ydateDate.IsEditable = true; this.ydateDate.AutoSeparation = false; this.table1.Add(this.ydateDate); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateDate])); 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.yentryComment = new global::Gamma.GtkWidgets.yEntry(); this.yentryComment.CanFocus = true; this.yentryComment.Name = "yentryComment"; this.yentryComment.IsEditable = true; this.yentryComment.InvisibleChar = '•'; this.table1.Add(this.yentryComment); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryComment])); w12.TopAttach = ((uint)(3)); w12.BottomAttach = ((uint)(4)); 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.yspinsum = new global::Gamma.GtkWidgets.ySpinButton(0D, 1000000D, 100D); this.yspinsum.CanFocus = true; this.yspinsum.Name = "yspinsum"; this.yspinsum.Adjustment.PageIncrement = 10D; this.yspinsum.ClimbRate = 1D; this.yspinsum.Digits = ((uint)(2)); this.yspinsum.Numeric = true; this.yspinsum.ValueAsDecimal = 0m; this.yspinsum.ValueAsInt = 0; this.table1.Add(this.yspinsum); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.yspinsum])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w14.Position = 1; w14.Expand = false; w14.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.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.ReportsParameters.Store.GoodsForShipment global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Store.GoodsForShipment"; // Container child Vodovoz.ReportsParameters.Store.GoodsForShipment.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.hbox3.Add(this.label2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.ydatepicker = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatepicker.Events = ((global::Gdk.EventMask)(256)); this.ydatepicker.Name = "ydatepicker"; this.ydatepicker.WithTime = false; this.ydatepicker.Date = new global::System.DateTime(0); this.ydatepicker.IsEditable = true; this.ydatepicker.AutoSeparation = false; this.hbox3.Add(this.ydatepicker); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.ydatepicker])); w2.Position = 1; this.vbox2.Add(this.hbox3); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.checkbuttonS = new global::Gtk.CheckButton(); this.checkbuttonS.CanFocus = true; this.checkbuttonS.Name = "checkbuttonS"; this.checkbuttonS.Label = global::Mono.Unix.Catalog.GetString("ЮГ"); this.checkbuttonS.Active = true; this.checkbuttonS.DrawIndicator = true; this.checkbuttonS.UseUnderline = true; this.vbox2.Add(this.checkbuttonS); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkbuttonS])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.checkbuttonN = new global::Gtk.CheckButton(); this.checkbuttonN.CanFocus = true; this.checkbuttonN.Name = "checkbuttonN"; this.checkbuttonN.Label = global::Mono.Unix.Catalog.GetString("СЕВЕР"); this.checkbuttonN.DrawIndicator = true; this.checkbuttonN.UseUnderline = true; this.vbox2.Add(this.checkbuttonN); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkbuttonN])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.buttonCreateRepot = new global::Gtk.Button(); this.buttonCreateRepot.CanFocus = true; this.buttonCreateRepot.Name = "buttonCreateRepot"; this.buttonCreateRepot.UseUnderline = true; this.buttonCreateRepot.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.vbox2.Add(this.buttonCreateRepot); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.buttonCreateRepot])); w6.Position = 4; w6.Expand = false; w6.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonCreateRepot.Clicked += new global::System.EventHandler(this.OnButtonCreateRepotClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.Fuel.FuelWriteoffDocumentView global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.Fuel.FuelWriteoffDocumentView"; // Container child Vodovoz.Dialogs.Fuel.FuelWriteoffDocumentView.Gtk.Container+ContainerChild this.vboxDialog = new global::Gtk.VBox(); this.vboxDialog.Name = "vboxDialog"; this.vboxDialog.Spacing = 6; // Container child vboxDialog.Gtk.Box+BoxChild this.hboxDialogButtons = new global::Gtk.HBox(); this.hboxDialogButtons.Name = "hboxDialogButtons"; this.hboxDialogButtons.Spacing = 6; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonSave = new global::Gamma.GtkWidgets.yButton(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hboxDialogButtons.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.buttonCancel = new global::Gamma.GtkWidgets.yButton(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hboxDialogButtons.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hboxDialogButtons.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.buttonPrint = new global::Gamma.GtkWidgets.yButton(); this.buttonPrint.CanFocus = true; this.buttonPrint.Name = "buttonPrint"; this.buttonPrint.UseUnderline = true; this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString("Печать"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.buttonPrint.Image = w5; this.hbox5.Add(this.buttonPrint); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonPrint])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.hboxDialogButtons.Add(this.hbox5); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.hbox5])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 3; this.vboxDialog.Add(this.hboxDialogButtons); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxDialogButtons])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vboxDialog.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(7)), ((uint)(5)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entryEmployee = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryEmployee.Events = ((global::Gdk.EventMask)(256)); this.entryEmployee.Name = "entryEmployee"; this.entryEmployee.CanEditReference = false; this.table1.Add(this.entryEmployee); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.entryEmployee])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryExpenseCategory = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entryExpenseCategory.Events = ((global::Gdk.EventMask)(256)); this.entryExpenseCategory.Name = "entryExpenseCategory"; this.entryExpenseCategory.CanEditReference = false; this.table1.Add(this.entryExpenseCategory); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.entryExpenseCategory])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewReason = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewReason.CanFocus = true; this.ytextviewReason.Name = "ytextviewReason"; this.GtkScrolledWindow.Add(this.ytextviewReason); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeviewItems = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewItems.CanFocus = true; this.ytreeviewItems.Name = "ytreeviewItems"; this.GtkScrolledWindow1.Add(this.ytreeviewItems); this.table1.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow1])); w14.TopAttach = ((uint)(5)); w14.BottomAttach = ((uint)(6)); w14.RightAttach = ((uint)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.ybuttonAddItem = new global::Gamma.GtkWidgets.yButton(); this.ybuttonAddItem.CanFocus = true; this.ybuttonAddItem.Name = "ybuttonAddItem"; this.ybuttonAddItem.UseUnderline = true; this.ybuttonAddItem.Label = global::Mono.Unix.Catalog.GetString("Добавить"); global::Gtk.Image w15 = new global::Gtk.Image(); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.ybuttonAddItem.Image = w15; this.hbox4.Add(this.ybuttonAddItem); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ybuttonAddItem])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ybuttonDeleteItem = new global::Gamma.GtkWidgets.yButton(); this.ybuttonDeleteItem.CanFocus = true; this.ybuttonDeleteItem.Name = "ybuttonDeleteItem"; this.ybuttonDeleteItem.UseUnderline = true; this.ybuttonDeleteItem.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w17 = new global::Gtk.Image(); w17.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); this.ybuttonDeleteItem.Image = w17; this.hbox4.Add(this.ybuttonDeleteItem); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ybuttonDeleteItem])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.table1.Add(this.hbox4); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox4])); w19.TopAttach = ((uint)(6)); w19.BottomAttach = ((uint)(7)); w19.RightAttach = ((uint)(4)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCashier = new global::Gtk.Label(); this.labelCashier.Name = "labelCashier"; this.labelCashier.Xalign = 1F; this.labelCashier.LabelProp = global::Mono.Unix.Catalog.GetString("Кассир:"); this.labelCashier.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.labelCashier); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCashier])); w20.LeftAttach = ((uint)(2)); w20.RightAttach = ((uint)(3)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelCashSubdivision = new global::Gtk.Label(); this.labelCashSubdivision.Name = "labelCashSubdivision"; this.labelCashSubdivision.Xalign = 1F; this.labelCashSubdivision.LabelProp = global::Mono.Unix.Catalog.GetString("Касса:"); this.labelCashSubdivision.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.labelCashSubdivision); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCashSubdivision])); w21.TopAttach = ((uint)(3)); w21.BottomAttach = ((uint)(4)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDate = new global::Gtk.Label(); this.labelDate.Name = "labelDate"; this.labelDate.Xalign = 1F; this.labelDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.labelDate.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.labelDate); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDate])); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelEmployee = new global::Gtk.Label(); this.labelEmployee.Name = "labelEmployee"; this.labelEmployee.Xalign = 1F; this.labelEmployee.LabelProp = global::Mono.Unix.Catalog.GetString("Кому:"); this.labelEmployee.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.labelEmployee); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.labelEmployee])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelExpenseCategory = new global::Gtk.Label(); this.labelExpenseCategory.Name = "labelExpenseCategory"; this.labelExpenseCategory.Xalign = 1F; this.labelExpenseCategory.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.labelExpenseCategory.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.labelExpenseCategory); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.labelExpenseCategory])); w24.TopAttach = ((uint)(1)); w24.BottomAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelReason = new global::Gtk.Label(); this.labelReason.Name = "labelReason"; this.labelReason.Xalign = 1F; this.labelReason.LabelProp = global::Mono.Unix.Catalog.GetString("Основание:"); this.labelReason.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.labelReason); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.labelReason])); w25.TopAttach = ((uint)(4)); w25.BottomAttach = ((uint)(5)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.fuelbalanceview = new global::Vodovoz.Dialogs.Fuel.FuelBalanceView(); this.fuelbalanceview.Events = ((global::Gdk.EventMask)(256)); this.fuelbalanceview.Name = "fuelbalanceview"; this.vbox5.Add(this.fuelbalanceview); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.fuelbalanceview])); w26.Position = 0; w26.Expand = false; w26.Fill = false; this.table1.Add(this.vbox5); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox5])); w27.BottomAttach = ((uint)(6)); w27.LeftAttach = ((uint)(4)); w27.RightAttach = ((uint)(5)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ycomboboxCashSubdivision = new global::Gamma.Widgets.ySpecComboBox(); this.ycomboboxCashSubdivision.Name = "ycomboboxCashSubdivision"; this.ycomboboxCashSubdivision.AddIfNotExist = false; this.ycomboboxCashSubdivision.DefaultFirst = false; this.ycomboboxCashSubdivision.ShowSpecialStateAll = false; this.ycomboboxCashSubdivision.ShowSpecialStateNot = false; this.table1.Add(this.ycomboboxCashSubdivision); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1[this.ycomboboxCashSubdivision])); w28.TopAttach = ((uint)(3)); w28.BottomAttach = ((uint)(4)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(4)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydatepickerDate = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatepickerDate.Events = ((global::Gdk.EventMask)(256)); this.ydatepickerDate.Name = "ydatepickerDate"; this.ydatepickerDate.WithTime = false; this.ydatepickerDate.Date = new global::System.DateTime(0); this.ydatepickerDate.IsEditable = true; this.ydatepickerDate.AutoSeparation = false; this.table1.Add(this.ydatepickerDate); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1[this.ydatepickerDate])); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelCashierValue = new global::Gamma.GtkWidgets.yLabel(); this.ylabelCashierValue.Name = "ylabelCashierValue"; this.ylabelCashierValue.Xalign = 0F; this.ylabelCashierValue.LabelProp = global::Mono.Unix.Catalog.GetString("кассир"); this.table1.Add(this.ylabelCashierValue); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelCashierValue])); w30.LeftAttach = ((uint)(3)); w30.RightAttach = ((uint)(4)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); this.vboxDialog.Add(this.table1); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.table1])); w31.Position = 1; this.Add(this.vboxDialog); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.Dialogs.CallTaskDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.Dialogs.CallTaskDlg"; // Container child Vodovoz.Dialogs.CallTaskDlg.Gtk.Container+ContainerChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w1 = new global::Gtk.Viewport(); w1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 20; // 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.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 w2 = new global::Gtk.Image(); w2.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w2; this.hbox3.Add(this.buttonSave); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonSave])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w4 = new global::Gtk.Image(); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w4; this.hbox3.Add(this.buttonCancel); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonCancel])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.labelCreator = new global::Gtk.Label(); this.labelCreator.Name = "labelCreator"; this.labelCreator.LabelProp = global::Mono.Unix.Catalog.GetString("Создатель :"); this.hbox3.Add(this.labelCreator); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.labelCreator])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 3; w6.Expand = false; w6.Fill = false; this.vbox2.Add(this.hbox3); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 15; // Container child hbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(13)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(10)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.ClientPhonesView = new global::Vodovoz.Dialogs.Phones.PhonesView(); this.ClientPhonesView.Events = ((global::Gdk.EventMask)(256)); this.ClientPhonesView.Name = "ClientPhonesView"; this.table1.Add(this.ClientPhonesView); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.ClientPhonesView])); w8.TopAttach = ((uint)(3)); w8.BottomAttach = ((uint)(4)); 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.comboboxImpotanceType = new global::Gamma.Widgets.yEnumComboBox(); this.comboboxImpotanceType.Name = "comboboxImpotanceType"; this.comboboxImpotanceType.ShowSpecialStateAll = false; this.comboboxImpotanceType.ShowSpecialStateNot = false; this.comboboxImpotanceType.UseShortTitle = false; this.comboboxImpotanceType.DefaultFirst = false; this.table1.Add(this.comboboxImpotanceType); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.comboboxImpotanceType])); w9.TopAttach = ((uint)(11)); w9.BottomAttach = ((uint)(12)); 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.deadlineYdatepicker = new global::QS.Widgets.GtkUI.DatePicker(); this.deadlineYdatepicker.Events = ((global::Gdk.EventMask)(256)); this.deadlineYdatepicker.Name = "deadlineYdatepicker"; this.deadlineYdatepicker.WithTime = true; this.deadlineYdatepicker.HideCalendarButton = false; this.deadlineYdatepicker.Date = new global::System.DateTime(0); this.deadlineYdatepicker.IsEditable = true; this.deadlineYdatepicker.AutoSeparation = false; this.table1.Add(this.deadlineYdatepicker); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.deadlineYdatepicker])); w10.TopAttach = ((uint)(8)); w10.BottomAttach = ((uint)(9)); 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.debtByAddressEntry = new global::Gtk.Entry(); this.debtByAddressEntry.CanFocus = true; this.debtByAddressEntry.Name = "debtByAddressEntry"; this.debtByAddressEntry.IsEditable = false; this.debtByAddressEntry.InvisibleChar = '•'; this.table1.Add(this.debtByAddressEntry); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.debtByAddressEntry])); w11.TopAttach = ((uint)(6)); w11.BottomAttach = ((uint)(7)); 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.debtByClientEntry = new global::Gamma.GtkWidgets.yEntry(); this.debtByClientEntry.CanFocus = true; this.debtByClientEntry.Name = "debtByClientEntry"; this.debtByClientEntry.IsEditable = false; this.debtByClientEntry.InvisibleChar = '•'; this.table1.Add(this.debtByClientEntry); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.debtByClientEntry])); 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 table1.Gtk.Table+TableChild this.DeliveryPointPhonesView = new global::Vodovoz.Dialogs.Phones.PhonesView(); this.DeliveryPointPhonesView.Events = ((global::Gdk.EventMask)(256)); this.DeliveryPointPhonesView.Name = "DeliveryPointPhonesView"; this.table1.Add(this.DeliveryPointPhonesView); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.DeliveryPointPhonesView])); 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.EmployeeyEntryreferencevm = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.EmployeeyEntryreferencevm.Events = ((global::Gdk.EventMask)(256)); this.EmployeeyEntryreferencevm.Name = "EmployeeyEntryreferencevm"; this.table1.Add(this.EmployeeyEntryreferencevm); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.EmployeeyEntryreferencevm])); w14.TopAttach = ((uint)(9)); w14.BottomAttach = ((uint)(10)); 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.entityVMEntryCounterparty = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityVMEntryCounterparty.Events = ((global::Gdk.EventMask)(256)); this.entityVMEntryCounterparty.Name = "entityVMEntryCounterparty"; this.entityVMEntryCounterparty.CanEditReference = true; this.table1.Add(this.entityVMEntryCounterparty); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.entityVMEntryCounterparty])); 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.entityVMEntryDeliveryPoint = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityVMEntryDeliveryPoint.Events = ((global::Gdk.EventMask)(256)); this.entityVMEntryDeliveryPoint.Name = "entityVMEntryDeliveryPoint"; this.entityVMEntryDeliveryPoint.CanEditReference = true; this.table1.Add(this.entityVMEntryDeliveryPoint); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.entityVMEntryDeliveryPoint])); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryReserve = new global::Gtk.Entry(); this.entryReserve.CanFocus = true; this.entryReserve.Name = "entryReserve"; this.entryReserve.IsEditable = false; this.entryReserve.InvisibleChar = '•'; this.table1.Add(this.entryReserve); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.entryReserve])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.IsTaskCompleteButton = new global::Gamma.GtkWidgets.yCheckButton(); this.IsTaskCompleteButton.HeightRequest = 40; this.IsTaskCompleteButton.CanFocus = true; this.IsTaskCompleteButton.Name = "IsTaskCompleteButton"; this.IsTaskCompleteButton.Label = global::Mono.Unix.Catalog.GetString("Задача выполнена "); this.IsTaskCompleteButton.DrawIndicator = true; this.IsTaskCompleteButton.UseUnderline = true; this.table1.Add(this.IsTaskCompleteButton); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.IsTaskCompleteButton])); w18.TopAttach = ((uint)(12)); w18.BottomAttach = ((uint)(13)); 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.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 w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Резерв"); this.table1.Add(this.label10); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.label10])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Тара на забор :"); this.table1.Add(this.label12); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.label12])); w21.TopAttach = ((uint)(10)); w21.BottomAttach = ((uint)(11)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Срочность задачи"); this.table1.Add(this.label13); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.label13])); w22.TopAttach = ((uint)(11)); w22.BottomAttach = ((uint)(12)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Телефон( Точка доставки ) :"); this.table1.Add(this.label14); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.label14])); w23.TopAttach = ((uint)(4)); w23.BottomAttach = ((uint)(5)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.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 w24 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.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 w25 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w25.TopAttach = ((uint)(5)); w25.BottomAttach = ((uint)(6)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.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 w26 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w26.TopAttach = ((uint)(6)); w26.BottomAttach = ((uint)(7)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Выполнить до"); this.table1.Add(this.label6); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.label6])); w27.TopAttach = ((uint)(8)); w27.BottomAttach = ((uint)(9)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.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 w28 = ((global::Gtk.Table.TableChild)(this.table1[this.label7])); w28.TopAttach = ((uint)(7)); w28.BottomAttach = ((uint)(8)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Закреплено за"); this.table1.Add(this.label8); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w29.TopAttach = ((uint)(9)); w29.BottomAttach = ((uint)(10)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelClientPhone = new global::Gtk.Label(); this.labelClientPhone.Name = "labelClientPhone"; this.labelClientPhone.LabelProp = global::Mono.Unix.Catalog.GetString("Телефон( Клиент ) :"); this.table1.Add(this.labelClientPhone); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.labelClientPhone])); w30.TopAttach = ((uint)(3)); w30.BottomAttach = ((uint)(4)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.TaskStateComboBox = new global::Gamma.Widgets.yEnumComboBox(); this.TaskStateComboBox.Name = "TaskStateComboBox"; this.TaskStateComboBox.ShowSpecialStateAll = false; this.TaskStateComboBox.ShowSpecialStateNot = false; this.TaskStateComboBox.UseShortTitle = false; this.TaskStateComboBox.DefaultFirst = false; this.table1.Add(this.TaskStateComboBox); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1[this.TaskStateComboBox])); w31.TopAttach = ((uint)(7)); w31.BottomAttach = ((uint)(8)); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryTareReturn = new global::Gamma.Widgets.yValidatedEntry(); this.yentryTareReturn.CanFocus = true; this.yentryTareReturn.Name = "yentryTareReturn"; this.yentryTareReturn.IsEditable = true; this.yentryTareReturn.InvisibleChar = '•'; this.table1.Add(this.yentryTareReturn); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryTareReturn])); w32.TopAttach = ((uint)(10)); w32.BottomAttach = ((uint)(11)); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table1); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table1])); w33.Position = 0; w33.Expand = false; w33.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox1.Add(this.vseparator1); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator1])); w34.Position = 1; w34.Expand = false; w34.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vboxComments = new global::Gtk.VBox(); this.vboxComments.Name = "vboxComments"; this.vboxComments.Spacing = 6; // Container child vboxComments.Gtk.Box+BoxChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий :"); this.vboxComments.Add(this.label9); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vboxComments[this.label9])); w35.Position = 0; w35.Expand = false; w35.Fill = false; // Container child vboxComments.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.ytextviewComments = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewComments.CanFocus = true; this.ytextviewComments.Name = "ytextviewComments"; this.ytextviewComments.Editable = false; this.ytextviewComments.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add(this.ytextviewComments); this.vboxComments.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vboxComments[this.GtkScrolledWindow])); w37.Position = 1; // Container child vboxComments.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vboxComments.Add(this.hseparator1); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vboxComments[this.hseparator1])); w38.Position = 2; w38.Expand = false; w38.Fill = false; // Container child vboxComments.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.textviewLastComment = new global::Gamma.GtkWidgets.yTextView(); this.textviewLastComment.CanFocus = true; this.textviewLastComment.Name = "textviewLastComment"; this.GtkScrolledWindow1.Add(this.textviewLastComment); this.vboxComments.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vboxComments[this.GtkScrolledWindow1])); w40.Position = 3; // Container child vboxComments.Gtk.Box+BoxChild this.buttonAddComment = new global::Gtk.Button(); this.buttonAddComment.CanFocus = true; this.buttonAddComment.Name = "buttonAddComment"; this.buttonAddComment.UseUnderline = true; this.buttonAddComment.Label = global::Mono.Unix.Catalog.GetString("Добавить комментарий"); global::Gtk.Image w41 = new global::Gtk.Image(); w41.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAddComment.Image = w41; this.vboxComments.Add(this.buttonAddComment); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vboxComments[this.buttonAddComment])); w42.Position = 4; w42.Expand = false; w42.Fill = false; // Container child vboxComments.Gtk.Box+BoxChild this.buttonRevertComment = new global::Gtk.Button(); this.buttonRevertComment.CanFocus = true; this.buttonRevertComment.Name = "buttonRevertComment"; this.buttonRevertComment.UseUnderline = true; this.buttonRevertComment.Label = global::Mono.Unix.Catalog.GetString("Отменить последний комментарий"); global::Gtk.Image w43 = new global::Gtk.Image(); w43.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonRevertComment.Image = w43; this.vboxComments.Add(this.buttonRevertComment); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vboxComments[this.buttonRevertComment])); w44.Position = 5; w44.Expand = false; w44.Fill = false; this.hbox1.Add(this.vboxComments); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vboxComments])); w45.Position = 2; // Container child hbox1.Gtk.Box+BoxChild this.buttonSplit = new global::Gtk.Button(); this.buttonSplit.WidthRequest = 30; this.buttonSplit.CanFocus = true; this.buttonSplit.Name = "buttonSplit"; this.buttonSplit.UseUnderline = true; this.buttonSplit.Label = global::Mono.Unix.Catalog.GetString(">>"); this.hbox1.Add(this.buttonSplit); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSplit])); w46.Position = 3; w46.Expand = false; w46.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vboxOldComments = new global::Gtk.VBox(); this.vboxOldComments.Name = "vboxOldComments"; this.vboxOldComments.Spacing = 6; // Container child vboxOldComments.Gtk.Box+BoxChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарии про прошлым задачам"); this.vboxOldComments.Add(this.label11); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vboxOldComments[this.label11])); w47.Position = 0; w47.Expand = false; w47.Fill = false; // Container child vboxOldComments.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.ytextviewOldComments = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewOldComments.CanFocus = true; this.ytextviewOldComments.Name = "ytextviewOldComments"; this.ytextviewOldComments.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow2.Add(this.ytextviewOldComments); this.vboxOldComments.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vboxOldComments[this.GtkScrolledWindow2])); w49.Position = 1; this.hbox1.Add(this.vboxOldComments); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vboxOldComments])); w50.Position = 4; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w51.Position = 1; // 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.createOrderButton = new global::Gtk.Button(); this.createOrderButton.CanFocus = true; this.createOrderButton.Name = "createOrderButton"; this.createOrderButton.UseUnderline = true; this.createOrderButton.Label = global::Mono.Unix.Catalog.GetString("Оформить заказ"); this.hbox6.Add(this.createOrderButton); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.createOrderButton])); w52.Position = 0; w52.Expand = false; w52.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.createTaskButton = new global::Gtk.Button(); this.createTaskButton.CanFocus = true; this.createTaskButton.Name = "createTaskButton"; this.createTaskButton.UseUnderline = true; this.createTaskButton.Label = global::Mono.Unix.Catalog.GetString("Создать новую задачу"); this.hbox6.Add(this.createTaskButton); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.createTaskButton])); w53.Position = 1; w53.Expand = false; w53.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonReportByClient = new global::Gtk.Button(); this.buttonReportByClient.CanFocus = true; this.buttonReportByClient.Name = "buttonReportByClient"; this.buttonReportByClient.UseUnderline = true; this.buttonReportByClient.Label = global::Mono.Unix.Catalog.GetString("Акт по бутылям и залогам(по клиенту)"); this.hbox6.Add(this.buttonReportByClient); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonReportByClient])); w54.Position = 2; w54.Expand = false; w54.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.buttonReportByDP = new global::Gtk.Button(); this.buttonReportByDP.CanFocus = true; this.buttonReportByDP.Name = "buttonReportByDP"; this.buttonReportByDP.UseUnderline = true; this.buttonReportByDP.Label = global::Mono.Unix.Catalog.GetString("Акт по бутылям и залогам(по точке доставки)"); this.hbox6.Add(this.buttonReportByDP); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.buttonReportByDP])); w55.Position = 3; w55.Expand = false; w55.Fill = false; this.vbox2.Add(this.hbox6); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox6])); w56.Position = 2; w56.Expand = false; w56.Fill = false; w1.Add(this.vbox2); this.scrolledwindow1.Add(w1); this.Add(this.scrolledwindow1); if ((this.Child != null)) { this.Child.ShowAll(); } this.vboxOldComments.Hide(); this.Hide(); this.entityVMEntryDeliveryPoint.Changed += new global::System.EventHandler(this.OnEntityVMEntryDeliveryPointChanged); this.entityVMEntryDeliveryPoint.ChangedByUser += new global::System.EventHandler(this.OnEntityVMEntryDeliveryPointChangedByUser); this.entityVMEntryCounterparty.Changed += new global::System.EventHandler(this.OnEntityVMEntryCounterpartyChanged); this.entityVMEntryCounterparty.ChangedByUser += new global::System.EventHandler(this.OnEntityVMEntryCounterpartyChangedByUser); this.buttonAddComment.Clicked += new global::System.EventHandler(this.OnAddCommentButtonClicked); this.buttonRevertComment.Clicked += new global::System.EventHandler(this.OnCancelLastCommentButtonClicked); this.buttonSplit.Clicked += new global::System.EventHandler(this.OnButtonSplitClicked); this.createOrderButton.Clicked += new global::System.EventHandler(this.OnButtonCreateOrderClicked); this.createTaskButton.Clicked += new global::System.EventHandler(this.OnCreateTaskButtonClicked); this.buttonReportByClient.Clicked += new global::System.EventHandler(this.OnButtonReportByClientClicked); this.buttonReportByDP.Clicked += new global::System.EventHandler(this.OnButtonReportByDPClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget workwear.Journal.Filter.Views.Company.EmployeeBalanceFilterView global::Stetic.BinContainer.Attach(this); this.Name = "workwear.Journal.Filter.Views.Company.EmployeeBalanceFilterView"; // Container child workwear.Journal.Filter.Views.Company.EmployeeBalanceFilterView.Gtk.Container+ContainerChild this.ytable1 = new global::Gamma.GtkWidgets.yTable(); this.ytable1.Name = "ytable1"; this.ytable1.NRows = ((uint)(3)); this.ytable1.NColumns = ((uint)(3)); this.ytable1.RowSpacing = ((uint)(6)); this.ytable1.ColumnSpacing = ((uint)(6)); // Container child ytable1.Gtk.Table+TableChild this.datepicker = new global::QS.Widgets.GtkUI.DatePicker(); this.datepicker.Events = ((global::Gdk.EventMask)(256)); this.datepicker.Name = "datepicker"; this.datepicker.WithTime = false; this.datepicker.HideCalendarButton = false; this.datepicker.Date = new global::System.DateTime(0); this.datepicker.IsEditable = true; this.datepicker.AutoSeparation = false; this.ytable1.Add(this.datepicker); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.ytable1[this.datepicker])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.yentryEmployee = new global::QS.Views.Control.EntityEntry(); this.yentryEmployee.Events = ((global::Gdk.EventMask)(256)); this.yentryEmployee.Name = "yentryEmployee"; this.ytable1.Add(this.yentryEmployee); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.ytable1[this.yentryEmployee])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.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 w3 = ((global::Gtk.Table.TableChild)(this.ytable1[this.ylabel1])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child ytable1.Gtk.Table+TableChild this.ylabel2 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel2.Name = "ylabel2"; this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Сотрудник"); this.ytable1.Add(this.ylabel2); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.ytable1[this.ylabel2])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.ytable1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.CashExpenseDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.CashExpenseDlg"; // Container child Vodovoz.CashExpenseDlg.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; // Container child hbox2.Gtk.Box+BoxChild this.hboxSubdivision = new global::Gtk.HBox(); this.hboxSubdivision.Name = "hboxSubdivision"; this.hboxSubdivision.Spacing = 6; // Container child hboxSubdivision.Gtk.Box+BoxChild this.accessfilteredsubdivisionselectorwidget = new global::Vodovoz.Core.Permissions.AccessFilteredSubdivisionSelectorWidget(); this.accessfilteredsubdivisionselectorwidget.Events = ((global::Gdk.EventMask)(256)); this.accessfilteredsubdivisionselectorwidget.Name = "accessfilteredsubdivisionselectorwidget"; this.accessfilteredsubdivisionselectorwidget.NeedChooseSubdivision = false; this.hboxSubdivision.Add(this.accessfilteredsubdivisionselectorwidget); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxSubdivision[this.accessfilteredsubdivisionselectorwidget])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 2; w7.Expand = false; w7.Fill = false; this.hbox2.Add(this.hboxSubdivision); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.hboxSubdivision])); w8.Position = 3; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(5)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entityVMEntryExpenseCategory = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.entityVMEntryExpenseCategory.Events = ((global::Gdk.EventMask)(256)); this.entityVMEntryExpenseCategory.Name = "entityVMEntryExpenseCategory"; this.entityVMEntryExpenseCategory.CanEditReference = false; this.table1.Add(this.entityVMEntryExpenseCategory); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.entityVMEntryExpenseCategory])); 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.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(0D, 2147483647D, 100D); this.yspinMoney.CanFocus = true; this.yspinMoney.Name = "yspinMoney"; this.yspinMoney.Adjustment.PageIncrement = 1000D; this.yspinMoney.ClimbRate = 1D; this.yspinMoney.Digits = ((uint)(2)); this.yspinMoney.Numeric = true; this.yspinMoney.ValueAsDecimal = 0m; this.yspinMoney.ValueAsInt = 0; this.hbox6.Add(this.yspinMoney); global::Gtk.Box.BoxChild 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)(4)); w14.BottomAttach = ((uint)(5)); 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.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 w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.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 w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w19.TopAttach = ((uint)(4)); w19.BottomAttach = ((uint)(5)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelEmployee = new global::Gtk.Label(); this.labelEmployee.Name = "labelEmployee"; this.labelEmployee.Xalign = 1F; this.labelEmployee.LabelProp = global::Mono.Unix.Catalog.GetString("Сотрудник:"); this.table1.Add(this.labelEmployee); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.labelEmployee])); 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.specialListCmbOrganisation = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.specialListCmbOrganisation.Name = "specialListCmbOrganisation"; this.specialListCmbOrganisation.AddIfNotExist = false; this.specialListCmbOrganisation.DefaultFirst = false; this.specialListCmbOrganisation.ShowSpecialStateAll = false; this.specialListCmbOrganisation.ShowSpecialStateNot = false; this.table1.Add(this.specialListCmbOrganisation); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.specialListCmbOrganisation])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydateDocument = new global::QS.Widgets.GtkUI.DatePicker(); this.ydateDocument.Events = ((global::Gdk.EventMask)(256)); this.ydateDocument.Name = "ydateDocument"; this.ydateDocument.WithTime = false; this.ydateDocument.HideCalendarButton = false; this.ydateDocument.Date = new global::System.DateTime(0); this.ydateDocument.IsEditable = true; this.ydateDocument.AutoSeparation = true; this.table1.Add(this.ydateDocument); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateDocument])); 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)); // Container child table1.Gtk.Table+TableChild this.yentryCasher = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryCasher.Sensitive = false; this.yentryCasher.Events = ((global::Gdk.EventMask)(256)); this.yentryCasher.Name = "yentryCasher"; this.table1.Add(this.yentryCasher); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryCasher])); w23.LeftAttach = ((uint)(3)); w23.RightAttach = ((uint)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryEmployee = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryEmployee.Events = ((global::Gdk.EventMask)(256)); this.yentryEmployee.Name = "yentryEmployee"; this.table1.Add(this.yentryEmployee); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryEmployee])); w24.TopAttach = ((uint)(3)); w24.BottomAttach = ((uint)(4)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.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 w25 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1])); w25.TopAttach = ((uint)(2)); w25.BottomAttach = ((uint)(3)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabelEmployeeWageBalance = new global::Gamma.GtkWidgets.yLabel(); this.ylabelEmployeeWageBalance.Name = "ylabelEmployeeWageBalance"; this.ylabelEmployeeWageBalance.Xalign = 0F; this.ylabelEmployeeWageBalance.LabelProp = global::Mono.Unix.Catalog.GetString("Текущий баланс сотрудника:"); this.table1.Add(this.ylabelEmployeeWageBalance); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelEmployeeWageBalance])); w26.TopAttach = ((uint)(3)); w26.BottomAttach = ((uint)(4)); w26.LeftAttach = ((uint)(3)); w26.RightAttach = ((uint)(4)); 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.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 w28 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label6])); w28.Position = 2; w28.Expand = false; w28.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 w30 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w30.Position = 3; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.buttonPrint.Clicked += new global::System.EventHandler(this.OnButtonPrintClicked); this.yspinMoney.FocusInEvent += new global::Gtk.FocusInEventHandler(this.OnYspinMoneyFocusInEvent); this.enumcomboOperation.EnumItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnEnumcomboOperationEnumItemSelected); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.AdvanceReportDlg global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.AdvanceReportDlg"; // Container child Vodovoz.AdvanceReportDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox2.Add(this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox2.Add(this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.hboxSubdivision = new global::Gtk.HBox(); this.hboxSubdivision.Name = "hboxSubdivision"; this.hboxSubdivision.Spacing = 6; // Container child hboxSubdivision.Gtk.Box+BoxChild this.accessfilteredsubdivisionselectorwidget = new global::Vodovoz.Core.Permissions.AccessFilteredSubdivisionSelectorWidget(); this.accessfilteredsubdivisionselectorwidget.Events = ((global::Gdk.EventMask)(256)); this.accessfilteredsubdivisionselectorwidget.Name = "accessfilteredsubdivisionselectorwidget"; this.accessfilteredsubdivisionselectorwidget.NeedChooseSubdivision = false; this.hboxSubdivision.Add(this.accessfilteredsubdivisionselectorwidget); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxSubdivision[this.accessfilteredsubdivisionselectorwidget])); w5.PackType = ((global::Gtk.PackType)(1)); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.hbox2.Add(this.hboxSubdivision); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.hboxSubdivision])); w6.Position = 2; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(5)), ((uint)(6)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboExpense = new global::Gamma.Widgets.ySpecComboBox(); this.comboExpense.Name = "comboExpense"; this.comboExpense.AddIfNotExist = false; this.comboExpense.DefaultFirst = false; this.comboExpense.ShowSpecialStateAll = false; this.comboExpense.ShowSpecialStateNot = true; this.table1.Add(this.comboExpense); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.comboExpense])); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.evmeCashier = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeCashier.Sensitive = false; this.evmeCashier.Events = ((global::Gdk.EventMask)(256)); this.evmeCashier.Name = "evmeCashier"; this.evmeCashier.CanEditReference = true; this.table1.Add(this.evmeCashier); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.evmeCashier])); w9.LeftAttach = ((uint)(5)); w9.RightAttach = ((uint)(6)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.evmeEmployee = new global::QS.Widgets.GtkUI.EntityViewModelEntry(); this.evmeEmployee.Events = ((global::Gdk.EventMask)(256)); this.evmeEmployee.Name = "evmeEmployee"; this.evmeEmployee.CanEditReference = true; this.table1.Add(this.evmeEmployee); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.evmeEmployee])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.yspinMoney = new global::Gamma.GtkWidgets.ySpinButton(0D, 2147483647D, 100D); this.yspinMoney.CanFocus = true; this.yspinMoney.Name = "yspinMoney"; this.yspinMoney.Adjustment.PageIncrement = 1000D; this.yspinMoney.ClimbRate = 1D; this.yspinMoney.Digits = ((uint)(2)); this.yspinMoney.Numeric = true; this.yspinMoney.ValueAsDecimal = 0m; this.yspinMoney.ValueAsInt = 0; this.hbox6.Add(this.yspinMoney); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspinMoney])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel(); this.currencylabel1.Name = "currencylabel1"; this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1"); this.hbox6.Add(this.currencylabel1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.currencylabel1])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.table1.Add(this.hbox6); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox6])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hboxDebt = new global::Gtk.HBox(); this.hboxDebt.Name = "hboxDebt"; this.hboxDebt.Spacing = 6; // Container child hboxDebt.Gtk.Box+BoxChild this.labelCurrentDebt = new global::Gtk.Label(); this.labelCurrentDebt.Name = "labelCurrentDebt"; this.hboxDebt.Add(this.labelCurrentDebt); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hboxDebt[this.labelCurrentDebt])); w14.Position = 0; w14.Expand = false; w14.Fill = false; this.table1.Add(this.hboxDebt); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.hboxDebt])); w15.TopAttach = ((uint)(3)); w15.BottomAttach = ((uint)(4)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.LeftAttach = ((uint)(4)); w16.RightAttach = ((uint)(5)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Кассир:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w17.LeftAttach = ((uint)(4)); w17.RightAttach = ((uint)(5)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Сумма выбранных авансов:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.LeftAttach = ((uint)(2)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Сумма расхода:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w20.TopAttach = ((uint)(4)); w20.BottomAttach = ((uint)(5)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Подотчетное лицо:"); this.table1.Add(this.label7); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.label7])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelChangeSum = new global::Gtk.Label(); this.labelChangeSum.Name = "labelChangeSum"; this.labelChangeSum.LabelProp = global::Mono.Unix.Catalog.GetString("--//--"); this.labelChangeSum.UseMarkup = true; this.table1.Add(this.labelChangeSum); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.labelChangeSum])); w22.TopAttach = ((uint)(4)); w22.BottomAttach = ((uint)(5)); w22.LeftAttach = ((uint)(3)); w22.RightAttach = ((uint)(4)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelChangeType = new global::Gtk.Label(); this.labelChangeType.Name = "labelChangeType"; this.labelChangeType.Xalign = 1F; this.labelChangeType.LabelProp = global::Mono.Unix.Catalog.GetString("--//--"); this.table1.Add(this.labelChangeType); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.labelChangeType])); w23.TopAttach = ((uint)(4)); w23.BottomAttach = ((uint)(5)); w23.LeftAttach = ((uint)(2)); w23.RightAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelClosingSum = new global::Gtk.Label(); this.labelClosingSum.Name = "labelClosingSum"; this.labelClosingSum.LabelProp = global::Mono.Unix.Catalog.GetString("--//--"); this.table1.Add(this.labelClosingSum); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.labelClosingSum])); w24.TopAttach = ((uint)(3)); w24.BottomAttach = ((uint)(4)); w24.LeftAttach = ((uint)(3)); w24.RightAttach = ((uint)(4)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDebtTitle = new global::Gtk.Label(); this.labelDebtTitle.Name = "labelDebtTitle"; this.labelDebtTitle.Xalign = 1F; this.labelDebtTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Текущий долг:"); this.table1.Add(this.labelDebtTitle); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDebtTitle])); w25.TopAttach = ((uint)(3)); w25.BottomAttach = ((uint)(4)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.specialListCmbOrganisation = new global::QS.Widgets.GtkUI.SpecialListComboBox(); this.specialListCmbOrganisation.Name = "specialListCmbOrganisation"; this.specialListCmbOrganisation.AddIfNotExist = false; this.specialListCmbOrganisation.DefaultFirst = false; this.specialListCmbOrganisation.ShowSpecialStateAll = false; this.specialListCmbOrganisation.ShowSpecialStateNot = false; this.table1.Add(this.specialListCmbOrganisation); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.specialListCmbOrganisation])); w26.TopAttach = ((uint)(2)); w26.BottomAttach = ((uint)(3)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ydateDocument = new global::QS.Widgets.GtkUI.DatePicker(); this.ydateDocument.Events = ((global::Gdk.EventMask)(256)); this.ydateDocument.Name = "ydateDocument"; this.ydateDocument.WithTime = false; this.ydateDocument.HideCalendarButton = false; this.ydateDocument.Date = new global::System.DateTime(0); this.ydateDocument.IsEditable = true; this.ydateDocument.AutoSeparation = true; this.table1.Add(this.ydateDocument); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateDocument])); w27.TopAttach = ((uint)(1)); w27.BottomAttach = ((uint)(2)); w27.LeftAttach = ((uint)(5)); w27.RightAttach = ((uint)(6)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ylabel1 = new global::Gamma.GtkWidgets.yLabel(); this.ylabel1.Name = "ylabel1"; this.ylabel1.Xalign = 1F; this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Организация:"); this.table1.Add(this.ylabel1); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabel1])); w28.TopAttach = ((uint)(2)); w28.BottomAttach = ((uint)(3)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w29.Position = 1; w29.Expand = false; w29.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.labelCreating = new global::Gtk.Label(); this.labelCreating.Name = "labelCreating"; this.labelCreating.Xpad = 9; this.labelCreating.Xalign = 0F; this.labelCreating.LabelProp = global::Mono.Unix.Catalog.GetString("Рачет не производился"); this.vbox1.Add(this.labelCreating); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.labelCreating])); w30.Position = 2; w30.Expand = false; w30.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.labelTableTitle = new global::Gtk.Label(); this.labelTableTitle.Name = "labelTableTitle"; this.labelTableTitle.Xalign = 0F; this.labelTableTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Последние выданные авансы:"); this.vbox1.Add(this.labelTableTitle); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.labelTableTitle])); w31.Position = 3; w31.Expand = false; w31.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ytreeviewDebts = new global::Gamma.GtkWidgets.yTreeView(); this.ytreeviewDebts.CanFocus = true; this.ytreeviewDebts.Name = "ytreeviewDebts"; this.GtkScrolledWindow1.Add(this.ytreeviewDebts); this.vbox1.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow1])); w33.Position = 4; // Container child vbox1.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Основание:"); this.vbox1.Add(this.label6); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label6])); w34.Position = 5; w34.Expand = false; w34.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.ytextviewDescription = new global::Gamma.GtkWidgets.yTextView(); this.ytextviewDescription.CanFocus = true; this.ytextviewDescription.Name = "ytextviewDescription"; this.ytextviewDescription.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add(this.ytextviewDescription); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w36.Position = 6; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.yspinMoney.ValueChanged += new global::System.EventHandler(this.OnYspinMoneyValueChanged); this.comboExpense.Changed += new global::System.EventHandler(this.OnComboExpenseChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Vodovoz.ReportsParameters.Bottles.ShortfallBattlesReport global::Stetic.BinContainer.Attach(this); this.Name = "Vodovoz.ReportsParameters.Bottles.ShortfallBattlesReport"; // Container child Vodovoz.ReportsParameters.Bottles.ShortfallBattlesReport.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:"); this.hbox3.Add(this.label2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.ydatepicker = new global::QS.Widgets.GtkUI.DatePicker(); this.ydatepicker.Events = ((global::Gdk.EventMask)(256)); this.ydatepicker.Name = "ydatepicker"; this.ydatepicker.WithTime = false; this.ydatepicker.Date = new global::System.DateTime(0); this.ydatepicker.IsEditable = true; this.ydatepicker.AutoSeparation = false; this.hbox3.Add(this.ydatepicker); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.ydatepicker])); w2.Position = 1; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(6)), ((uint)(1)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checkOneDriver = new global::Gtk.CheckButton(); this.checkOneDriver.CanFocus = true; this.checkOneDriver.Name = "checkOneDriver"; this.checkOneDriver.Label = global::Mono.Unix.Catalog.GetString("По водителю"); this.checkOneDriver.DrawIndicator = true; this.checkOneDriver.UseUnderline = true; this.table1.Add(this.checkOneDriver); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.checkOneDriver])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboboxDriver = new global::Gamma.Widgets.yEnumComboBox(); this.comboboxDriver.Name = "comboboxDriver"; this.comboboxDriver.ShowSpecialStateAll = false; this.comboboxDriver.ShowSpecialStateNot = false; this.comboboxDriver.UseShortTitle = false; this.comboboxDriver.DefaultFirst = true; this.table1.Add(this.comboboxDriver); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.comboboxDriver])); w5.TopAttach = ((uint)(5)); w5.BottomAttach = ((uint)(6)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Причина несдачи:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Водитель без отзвона:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w7.TopAttach = ((uint)(4)); w7.BottomAttach = ((uint)(5)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.yentryDriver = new global::QS.Widgets.GtkUI.RepresentationEntry(); this.yentryDriver.Sensitive = false; this.yentryDriver.Events = ((global::Gdk.EventMask)(256)); this.yentryDriver.Name = "yentryDriver"; this.table1.Add(this.yentryDriver); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryDriver])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ySpecCmbNonReturnReason = new global::Gamma.Widgets.ySpecComboBox(); this.ySpecCmbNonReturnReason.Name = "ySpecCmbNonReturnReason"; this.ySpecCmbNonReturnReason.AddIfNotExist = false; this.ySpecCmbNonReturnReason.DefaultFirst = true; this.ySpecCmbNonReturnReason.ShowSpecialStateAll = true; this.ySpecCmbNonReturnReason.ShowSpecialStateNot = false; this.table1.Add(this.ySpecCmbNonReturnReason); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.ySpecCmbNonReturnReason])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w10.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.buttonCreateRepot = new global::Gtk.Button(); this.buttonCreateRepot.CanFocus = true; this.buttonCreateRepot.Name = "buttonCreateRepot"; this.buttonCreateRepot.UseUnderline = true; this.buttonCreateRepot.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет"); this.vbox1.Add(this.buttonCreateRepot); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.buttonCreateRepot])); w11.PackType = ((global::Gtk.PackType)(1)); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.checkOneDriver.Toggled += new global::System.EventHandler(this.OnCheckOneDriverToggled); this.buttonCreateRepot.Clicked += new global::System.EventHandler(this.OnButtonCreateRepotClicked); }