protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.DailyRentAgreementDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.DailyRentAgreementDlg"; // Container child Vodovoz.DailyRentAgreementDlg.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.buttonSave = new global::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.hbox1.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отмена"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox1.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.datatable1 = new global::Gtk.DataBindings.DataTable (((uint)(5)), ((uint)(5)), false); this.datatable1.Name = "datatable1"; this.datatable1.RowSpacing = ((uint)(6)); this.datatable1.ColumnSpacing = ((uint)(6)); this.datatable1.BorderWidth = ((uint)(6)); this.datatable1.InheritedDataSource = false; this.datatable1.InheritedBoundaryDataSource = false; this.datatable1.InheritedDataSource = false; this.datatable1.InheritedBoundaryDataSource = false; // Container child datatable1.Gtk.Table+TableChild this.dailyrentpackagesview1 = new global::Vodovoz.DailyRentPackagesView (); this.dailyrentpackagesview1.Events = ((global::Gdk.EventMask)(256)); this.dailyrentpackagesview1.Name = "dailyrentpackagesview1"; this.dailyrentpackagesview1.IsEditable = true; this.datatable1.Add (this.dailyrentpackagesview1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dailyrentpackagesview1])); w6.TopAttach = ((uint)(4)); w6.BottomAttach = ((uint)(5)); w6.RightAttach = ((uint)(5)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.dateEnd = new global::QSOrmProject.DataDatePicker (); this.dateEnd.Events = ((global::Gdk.EventMask)(256)); this.dateEnd.Name = "dateEnd"; this.dateEnd.WithTime = false; this.dateEnd.Date = new global::System.DateTime (0); this.dateEnd.IsEditable = true; this.dateEnd.AutoSeparation = false; this.dateEnd.InheritedDataSource = false; this.dateEnd.Mappings = ""; this.dateEnd.InheritedBoundaryDataSource = false; this.datatable1.Add (this.dateEnd); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dateEnd])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.LeftAttach = ((uint)(3)); w7.RightAttach = ((uint)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.dateStart = new global::QSOrmProject.DataDatePicker (); this.dateStart.Events = ((global::Gdk.EventMask)(256)); this.dateStart.Name = "dateStart"; this.dateStart.WithTime = false; this.dateStart.Date = new global::System.DateTime (0); this.dateStart.IsEditable = true; this.dateStart.AutoSeparation = false; this.dateStart.InheritedDataSource = true; this.dateStart.Mappings = "StartDate"; this.dateStart.InheritedBoundaryDataSource = false; this.datatable1.Add (this.dateStart); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dateStart])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.dateIssue = new global::QSOrmProject.DataDatePicker (); this.dateIssue.Events = ((global::Gdk.EventMask)(256)); this.dateIssue.Name = "dateIssue"; this.dateIssue.WithTime = false; this.dateIssue.Date = new global::System.DateTime (0); this.dateIssue.IsEditable = true; this.dateIssue.AutoSeparation = false; this.dateIssue.InheritedDataSource = true; this.dateIssue.Mappings = "IssueDate"; this.dateIssue.InheritedBoundaryDataSource = false; this.hbox7.Add (this.dateIssue); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.dateIssue])); w9.Position = 0; // Container child hbox7.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Срок аренды:"); this.hbox7.Add (this.label7); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.label7])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.spinRentDays = new global::Gtk.DataBindings.DataSpinButton (0, 100, 1); this.spinRentDays.CanFocus = true; this.spinRentDays.Name = "spinRentDays"; this.spinRentDays.Adjustment.PageIncrement = 10; this.spinRentDays.ClimbRate = 1; this.spinRentDays.Numeric = true; this.spinRentDays.InheritedDataSource = true; this.spinRentDays.Mappings = "RentDays"; this.spinRentDays.InheritedBoundaryDataSource = false; this.spinRentDays.InheritedDataSource = true; this.spinRentDays.Mappings = "RentDays"; this.spinRentDays.InheritedBoundaryDataSource = false; this.hbox7.Add (this.spinRentDays); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.spinRentDays])); w11.Position = 2; // Container child hbox7.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.Xalign = 0F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("дней"); this.hbox7.Add (this.label8); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.label8])); w12.Position = 3; w12.Expand = false; w12.Fill = false; this.datatable1.Add (this.hbox7); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.hbox7])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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.datatable1.Add (this.label2); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label2])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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.datatable1.Add (this.label3); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label3])); w15.TopAttach = ((uint)(3)); w15.BottomAttach = ((uint)(4)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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.datatable1.Add (this.label4); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label4])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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.datatable1.Add (this.label6); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label6])); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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.datatable1.Add (this.label9); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label9])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.LeftAttach = ((uint)(2)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceDeliveryPoint = new global::Gtk.DataBindings.DataEntryReferenceVM (); this.referenceDeliveryPoint.Events = ((global::Gdk.EventMask)(256)); this.referenceDeliveryPoint.Name = "referenceDeliveryPoint"; this.referenceDeliveryPoint.InheritedDataSource = true; this.referenceDeliveryPoint.Mappings = "DeliveryPoint"; this.referenceDeliveryPoint.ColumnMappings = ""; this.referenceDeliveryPoint.InheritedBoundaryDataSource = false; this.referenceDeliveryPoint.CursorPointsEveryType = false; this.datatable1.Add (this.referenceDeliveryPoint); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceDeliveryPoint])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.templatewidget3 = new global::QSDocTemplates.TemplateWidget (); this.templatewidget3.Events = ((global::Gdk.EventMask)(256)); this.templatewidget3.Name = "templatewidget3"; this.datatable1.Add (this.templatewidget3); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.templatewidget3])); w20.BottomAttach = ((uint)(4)); w20.LeftAttach = ((uint)(4)); w20.RightAttach = ((uint)(5)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.ylabelNumber = new global::Gamma.GtkWidgets.yLabel (); this.ylabelNumber.Name = "ylabelNumber"; this.ylabelNumber.Xalign = 0F; this.ylabelNumber.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1"); this.datatable1.Add (this.ylabelNumber); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.ylabelNumber])); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(4)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add (this.datatable1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.datatable1])); w22.Position = 1; 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.dateStart.DateChanged += new global::System.EventHandler (this.OnDateStartDateChanged); this.dateEnd.DateChanged += new global::System.EventHandler (this.OnDateEndDateChanged); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget stopwatch.StopWatchDialog this.Name = "stopwatch.StopWatchDialog"; this.Title = "Add StopWatch"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.Resizable = false; this.AllowGrow = false; // Internal child stopwatch.StopWatchDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.DataBox = new global::Gtk.DataBindings.DataTable (((uint)(2)), ((uint)(2)), false); this.DataBox.Name = "DataBox"; this.DataBox.RowSpacing = ((uint)(6)); this.DataBox.ColumnSpacing = ((uint)(8)); this.DataBox.BorderWidth = ((uint)(8)); this.DataBox.InheritedDataSource = false; this.DataBox.InheritedBoundaryDataSource = false; this.DataBox.InheritedDataSource = false; this.DataBox.InheritedBoundaryDataSource = false; // Container child DataBox.Gtk.Table+TableChild this.dataentry1 = new global::Gtk.DataBindings.DataEntry (); this.dataentry1.CanFocus = true; this.dataentry1.Name = "dataentry1"; this.dataentry1.IsEditable = true; this.dataentry1.InvisibleChar = '•'; this.dataentry1.InheritedDataSource = true; this.dataentry1.Mappings = "Name"; this.dataentry1.InheritedBoundaryDataSource = false; this.dataentry1.InheritedDataSource = true; this.dataentry1.Mappings = "Name"; this.dataentry1.InheritedBoundaryDataSource = false; this.DataBox.Add (this.dataentry1); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.DataBox [this.dataentry1])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child DataBox.Gtk.Table+TableChild this.datahbox1 = new global::Gtk.DataBindings.DataHBox (); this.datahbox1.Name = "datahbox1"; this.datahbox1.Spacing = 6; this.datahbox1.InheritedDataSource = true; this.datahbox1.InheritedBoundaryDataSource = false; this.datahbox1.InheritedDataSource = true; this.datahbox1.InheritedBoundaryDataSource = false; // Container child datahbox1.Gtk.Box+BoxChild this.dataspinbutton1 = new global::Gtk.DataBindings.DataSpinButton (0, 100, 1); this.dataspinbutton1.CanFocus = true; this.dataspinbutton1.Name = "dataspinbutton1"; this.dataspinbutton1.Adjustment.PageIncrement = 10; this.dataspinbutton1.ClimbRate = 1; this.dataspinbutton1.Numeric = true; this.dataspinbutton1.InheritedDataSource = true; this.dataspinbutton1.Mappings = "MaxHours"; this.dataspinbutton1.InheritedBoundaryDataSource = false; this.dataspinbutton1.InheritedDataSource = true; this.dataspinbutton1.Mappings = "MaxHours"; this.dataspinbutton1.InheritedBoundaryDataSource = false; this.datahbox1.Add (this.dataspinbutton1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.dataspinbutton1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child datahbox1.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = "Hours"; this.datahbox1.Add (this.label3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.label3])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child datahbox1.Gtk.Box+BoxChild this.dataspinbutton2 = new global::Gtk.DataBindings.DataSpinButton (0, 100, 1); this.dataspinbutton2.CanFocus = true; this.dataspinbutton2.Name = "dataspinbutton2"; this.dataspinbutton2.Adjustment.PageIncrement = 10; this.dataspinbutton2.ClimbRate = 1; this.dataspinbutton2.Numeric = true; this.dataspinbutton2.InheritedDataSource = true; this.dataspinbutton2.Mappings = "MaxMinutes"; this.dataspinbutton2.InheritedBoundaryDataSource = false; this.dataspinbutton2.InheritedDataSource = true; this.dataspinbutton2.Mappings = "MaxMinutes"; this.dataspinbutton2.InheritedBoundaryDataSource = false; this.datahbox1.Add (this.dataspinbutton2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.dataspinbutton2])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child datahbox1.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = "Minutes"; this.datahbox1.Add (this.label4); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.label4])); w6.Position = 3; w6.Expand = false; w6.Fill = false; // Container child datahbox1.Gtk.Box+BoxChild this.dataspinbutton3 = new global::Gtk.DataBindings.DataSpinButton (0, 100, 1); this.dataspinbutton3.CanFocus = true; this.dataspinbutton3.Name = "dataspinbutton3"; this.dataspinbutton3.Adjustment.PageIncrement = 10; this.dataspinbutton3.ClimbRate = 1; this.dataspinbutton3.Numeric = true; this.dataspinbutton3.InheritedDataSource = true; this.dataspinbutton3.Mappings = "MaxSeconds"; this.dataspinbutton3.InheritedBoundaryDataSource = false; this.dataspinbutton3.InheritedDataSource = true; this.dataspinbutton3.Mappings = "MaxSeconds"; this.dataspinbutton3.InheritedBoundaryDataSource = false; this.datahbox1.Add (this.dataspinbutton3); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.dataspinbutton3])); w7.Position = 4; w7.Expand = false; w7.Fill = false; // Container child datahbox1.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = "Seconds"; this.datahbox1.Add (this.label5); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.label5])); w8.Position = 5; w8.Expand = false; w8.Fill = false; this.DataBox.Add (this.datahbox1); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.DataBox [this.datahbox1])); 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 DataBox.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = "Name"; this.DataBox.Add (this.label1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.DataBox [this.label1])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child DataBox.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = "Max Time"; this.DataBox.Add (this.label2); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.DataBox [this.label2])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); w1.Add (this.DataBox); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(w1 [this.DataBox])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Internal child stopwatch.StopWatchDialog.ActionArea global::Gtk.HButtonBox w13 = this.ActionArea; w13.Name = "dialog1_ActionArea"; w13.Spacing = 6; w13.BorderWidth = ((uint)(5)); w13.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; // Container child buttonOk.Gtk.Container+ContainerChild global::Gtk.Alignment w14 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w15 = new global::Gtk.HBox (); w15.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w16 = new global::Gtk.Image (); w16.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Menu); w15.Add (w16); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w18 = new global::Gtk.Label (); w18.LabelProp = "_Set timer"; w18.UseUnderline = true; w15.Add (w18); w14.Add (w15); this.buttonOk.Add (w14); this.AddActionWidget (this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w22 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13 [this.buttonOk])); w22.Expand = false; w22.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 467; this.DefaultHeight = 153; this.buttonOk.HasDefault = true; this.Show (); this.DestroyEvent += new global::Gtk.DestroyEventHandler (this.OnDestroyEvent); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.MainBox = new global::Gtk.DataBindings.DataVBox (); this.MainBox.Name = "MainBox"; this.MainBox.Spacing = 6; this.MainBox.BorderWidth = ((uint)(8)); this.MainBox.InheritedDataSource = false; this.MainBox.InheritedBoundaryDataSource = false; this.MainBox.InheritedDataSource = false; this.MainBox.InheritedBoundaryDataSource = false; // Container child MainBox.Gtk.Box+BoxChild this.datatable1 = new global::Gtk.DataBindings.DataTable (((uint)(3)), ((uint)(2)), false); this.datatable1.Name = "datatable1"; this.datatable1.RowSpacing = ((uint)(6)); this.datatable1.ColumnSpacing = ((uint)(6)); this.datatable1.InheritedDataSource = true; this.datatable1.InheritedBoundaryDataSource = false; this.datatable1.InheritedDataSource = true; this.datatable1.InheritedBoundaryDataSource = false; // Container child datatable1.Gtk.Table+TableChild this.dataentry1 = new global::Gtk.DataBindings.DataEntry (); this.dataentry1.CanFocus = true; this.dataentry1.Name = "dataentry1"; this.dataentry1.IsEditable = true; this.dataentry1.InvisibleChar = '•'; this.dataentry1.InheritedDataSource = true; this.dataentry1.Mappings = "Name"; this.dataentry1.InheritedBoundaryDataSource = false; this.dataentry1.InheritedDataSource = true; this.dataentry1.Mappings = "Name"; this.dataentry1.InheritedBoundaryDataSource = false; this.datatable1.Add (this.dataentry1); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentry1])); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.dataentry2 = new global::Gtk.DataBindings.DataEntry (); this.dataentry2.CanFocus = true; this.dataentry2.Name = "dataentry2"; this.dataentry2.IsEditable = true; this.dataentry2.InvisibleChar = '•'; this.dataentry2.InheritedDataSource = true; this.dataentry2.Mappings = "LastName"; this.dataentry2.InheritedBoundaryDataSource = false; this.dataentry2.InheritedDataSource = true; this.dataentry2.Mappings = "LastName"; this.dataentry2.InheritedBoundaryDataSource = false; this.datatable1.Add (this.dataentry2); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentry2])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.dataspinbutton1 = new global::Gtk.DataBindings.DataSpinButton (0, 100, 1); this.dataspinbutton1.CanFocus = true; this.dataspinbutton1.Name = "dataspinbutton1"; this.dataspinbutton1.Adjustment.PageIncrement = 10; this.dataspinbutton1.ClimbRate = 1; this.dataspinbutton1.Numeric = true; this.dataspinbutton1.InheritedDataSource = true; this.dataspinbutton1.Mappings = "Age"; this.dataspinbutton1.InheritedBoundaryDataSource = false; this.dataspinbutton1.InheritedDataSource = true; this.dataspinbutton1.Mappings = "Age"; this.dataspinbutton1.InheritedBoundaryDataSource = false; this.datatable1.Add (this.dataspinbutton1); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataspinbutton1])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Name"); this.datatable1.Add (this.label1); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label1])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("LastName"); this.datatable1.Add (this.label2); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label2])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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 ("Age"); this.datatable1.Add (this.label3); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label3])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); this.MainBox.Add (this.datatable1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.MainBox [this.datatable1])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child MainBox.Gtk.Box+BoxChild this.datatable2 = new global::Gtk.DataBindings.DataTable (((uint)(3)), ((uint)(2)), false); this.datatable2.Name = "datatable2"; this.datatable2.RowSpacing = ((uint)(6)); this.datatable2.ColumnSpacing = ((uint)(6)); this.datatable2.InheritedDataSource = true; this.datatable2.InheritedBoundaryDataSource = false; this.datatable2.InheritedDataSource = true; this.datatable2.InheritedBoundaryDataSource = false; // Container child datatable2.Gtk.Table+TableChild this.datalabel1 = new global::Gtk.DataBindings.DataLabel (); this.datalabel1.Name = "datalabel1"; this.datalabel1.Xalign = 0F; this.datalabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("datalabel1"); this.datalabel1.InheritedDataSource = true; this.datalabel1.Mappings = "Name"; this.datalabel1.InheritedBoundaryDataSource = false; this.datalabel1.Important = false; this.datalabel1.InheritedDataSource = true; this.datalabel1.Mappings = "Name"; this.datalabel1.InheritedBoundaryDataSource = false; this.datatable2.Add (this.datalabel1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.datalabel1])); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.datalabel2 = new global::Gtk.DataBindings.DataLabel (); this.datalabel2.Name = "datalabel2"; this.datalabel2.Xalign = 0F; this.datalabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("datalabel2"); this.datalabel2.InheritedDataSource = true; this.datalabel2.Mappings = "LastName"; this.datalabel2.InheritedBoundaryDataSource = false; this.datalabel2.Important = false; this.datalabel2.InheritedDataSource = true; this.datalabel2.Mappings = "LastName"; this.datalabel2.InheritedBoundaryDataSource = false; this.datatable2.Add (this.datalabel2); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.datalabel2])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.datalabel3 = new global::Gtk.DataBindings.DataLabel (); this.datalabel3.Name = "datalabel3"; this.datalabel3.Xalign = 0F; this.datalabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("datalabel3"); this.datalabel3.InheritedDataSource = true; this.datalabel3.Mappings = "Age"; this.datalabel3.InheritedBoundaryDataSource = false; this.datalabel3.Important = false; this.datalabel3.InheritedDataSource = true; this.datalabel3.Mappings = "Age"; this.datalabel3.InheritedBoundaryDataSource = false; this.datatable2.Add (this.datalabel3); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.datalabel3])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.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 ("Name in object"); this.datatable2.Add (this.label4); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.label4])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("LastName in object"); this.datatable2.Add (this.label5); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.label5])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Age in object"); this.datatable2.Add (this.label6); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.label6])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); this.MainBox.Add (this.datatable2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.MainBox [this.datatable2])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child MainBox.Gtk.Box+BoxChild this.datahbox1 = new global::Gtk.DataBindings.DataHBox (); this.datahbox1.Name = "datahbox1"; this.datahbox1.Spacing = 6; this.datahbox1.InheritedDataSource = false; this.datahbox1.InheritedBoundaryDataSource = false; this.datahbox1.InheritedDataSource = false; this.datahbox1.InheritedBoundaryDataSource = false; // Container child datahbox1.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button (); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString ("button1"); this.datahbox1.Add (this.button1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.button1])); w15.Position = 2; w15.Expand = false; w15.Fill = false; this.MainBox.Add (this.datahbox1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.MainBox [this.datahbox1])); w16.Position = 2; w16.Expand = false; w16.Fill = false; this.Add (this.MainBox); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.button1.Clicked += new global::System.EventHandler (this.OnButton1Clicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.jkjhkAction = new global::Gtk.Action ("jkjhkAction", global::Mono.Unix.Catalog.GetString ("jkjhk"), null, null); this.jkjhkAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("jkjhk"); w1.Add (this.jkjhkAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(8)); this.Resizable = false; this.AllowGrow = false; // Container child MainWindow.Gtk.Container+ContainerChild this.datavbox1 = new global::Gtk.DataBindings.DataVBox (); this.datavbox1.Name = "datavbox1"; this.datavbox1.Spacing = 6; this.datavbox1.InheritedDataSource = false; this.datavbox1.InheritedBoundaryDataSource = false; this.datavbox1.InheritedDataSource = false; this.datavbox1.InheritedBoundaryDataSource = false; // Container child datavbox1.Gtk.Box+BoxChild this.dataspinbutton2 = new global::Gtk.DataBindings.DataSpinButton (0, 100, 1); this.dataspinbutton2.CanFocus = true; this.dataspinbutton2.Name = "dataspinbutton2"; this.dataspinbutton2.Adjustment.PageIncrement = 10; this.dataspinbutton2.ClimbRate = 1; this.dataspinbutton2.Numeric = true; this.dataspinbutton2.Value = 1; this.dataspinbutton2.InheritedDataSource = true; this.dataspinbutton2.Mappings = "IntValue"; this.dataspinbutton2.InheritedBoundaryDataSource = false; this.dataspinbutton2.InheritedDataSource = true; this.dataspinbutton2.Mappings = "IntValue"; this.dataspinbutton2.InheritedBoundaryDataSource = false; this.datavbox1.Add (this.dataspinbutton2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.dataspinbutton2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child datavbox1.Gtk.Box+BoxChild this.dataentry2 = new global::Gtk.DataBindings.DataEntry (); this.dataentry2.CanFocus = true; this.dataentry2.Name = "dataentry2"; this.dataentry2.IsEditable = true; this.dataentry2.InvisibleChar = '•'; this.dataentry2.InheritedDataSource = true; this.dataentry2.Mappings = "StrValue"; this.dataentry2.InheritedBoundaryDataSource = false; this.dataentry2.InheritedDataSource = true; this.dataentry2.Mappings = "StrValue"; this.dataentry2.InheritedBoundaryDataSource = false; this.datavbox1.Add (this.dataentry2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.dataentry2])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child datavbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("ConfigFile supports file monitoring, so in this example you can go to ~/.config/config_sample1 or config_sample1 in your Application Data on Windows and manually edit config.xml. Controls will auto update on save"); this.label1.Wrap = true; this.datavbox1.Add (this.label1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.label1])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.Add (this.datavbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 1593; this.DefaultHeight = 300; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.dataspinbutton2.LeaveNotifyEvent += new global::Gtk.LeaveNotifyEventHandler (this.OnDataspinbutton2LeaveNotifyEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.jkjhkAction = new global::Gtk.Action("jkjhkAction", global::Mono.Unix.Catalog.GetString("jkjhk"), null, null); this.jkjhkAction.ShortLabel = global::Mono.Unix.Catalog.GetString("jkjhk"); w1.Add(this.jkjhkAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(8)); this.Resizable = false; this.AllowGrow = false; // Container child MainWindow.Gtk.Container+ContainerChild this.datavbox1 = new global::Gtk.DataBindings.DataVBox(); this.datavbox1.Name = "datavbox1"; this.datavbox1.Spacing = 6; this.datavbox1.InheritedDataSource = false; this.datavbox1.InheritedBoundaryDataSource = false; this.datavbox1.InheritedDataSource = false; this.datavbox1.InheritedBoundaryDataSource = false; // Container child datavbox1.Gtk.Box+BoxChild this.dataspinbutton2 = new global::Gtk.DataBindings.DataSpinButton(0, 100, 1); this.dataspinbutton2.CanFocus = true; this.dataspinbutton2.Name = "dataspinbutton2"; this.dataspinbutton2.Adjustment.PageIncrement = 10; this.dataspinbutton2.ClimbRate = 1; this.dataspinbutton2.Numeric = true; this.dataspinbutton2.Value = 1; this.dataspinbutton2.InheritedDataSource = true; this.dataspinbutton2.Mappings = "IntValue"; this.dataspinbutton2.InheritedBoundaryDataSource = false; this.dataspinbutton2.InheritedDataSource = true; this.dataspinbutton2.Mappings = "IntValue"; this.dataspinbutton2.InheritedBoundaryDataSource = false; this.datavbox1.Add(this.dataspinbutton2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.dataspinbutton2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child datavbox1.Gtk.Box+BoxChild this.dataentry2 = new global::Gtk.DataBindings.DataEntry(); this.dataentry2.CanFocus = true; this.dataentry2.Name = "dataentry2"; this.dataentry2.IsEditable = true; this.dataentry2.InvisibleChar = '•'; this.dataentry2.InheritedDataSource = true; this.dataentry2.Mappings = "StrValue"; this.dataentry2.InheritedBoundaryDataSource = false; this.dataentry2.InheritedDataSource = true; this.dataentry2.Mappings = "StrValue"; this.dataentry2.InheritedBoundaryDataSource = false; this.datavbox1.Add(this.dataentry2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.dataentry2])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child datavbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("ConfigFile supports file monitoring, so in this example you can go to ~/.config/config_sample1 or config_sample1 in your Application Data on Windows and manually edit config.xml. Controls will auto update on save"); this.label1.Wrap = true; this.datavbox1.Add(this.label1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.label1])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.Add(this.datavbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1593; this.DefaultHeight = 300; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.dataspinbutton2.LeaveNotifyEvent += new global::Gtk.LeaveNotifyEventHandler(this.OnDataspinbutton2LeaveNotifyEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget stopwatch.StopWatchDialog this.Name = "stopwatch.StopWatchDialog"; this.Title = "Add StopWatch"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.Resizable = false; this.AllowGrow = false; // Internal child stopwatch.StopWatchDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.DataBox = new global::Gtk.DataBindings.DataTable(((uint)(2)), ((uint)(2)), false); this.DataBox.Name = "DataBox"; this.DataBox.RowSpacing = ((uint)(6)); this.DataBox.ColumnSpacing = ((uint)(8)); this.DataBox.BorderWidth = ((uint)(8)); this.DataBox.InheritedDataSource = false; this.DataBox.InheritedBoundaryDataSource = false; this.DataBox.InheritedDataSource = false; this.DataBox.InheritedBoundaryDataSource = false; // Container child DataBox.Gtk.Table+TableChild this.dataentry1 = new global::Gtk.DataBindings.DataEntry(); this.dataentry1.CanFocus = true; this.dataentry1.Name = "dataentry1"; this.dataentry1.IsEditable = true; this.dataentry1.InvisibleChar = '•'; this.dataentry1.InheritedDataSource = true; this.dataentry1.Mappings = "Name"; this.dataentry1.InheritedBoundaryDataSource = false; this.dataentry1.InheritedDataSource = true; this.dataentry1.Mappings = "Name"; this.dataentry1.InheritedBoundaryDataSource = false; this.DataBox.Add(this.dataentry1); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.DataBox [this.dataentry1])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child DataBox.Gtk.Table+TableChild this.datahbox1 = new global::Gtk.DataBindings.DataHBox(); this.datahbox1.Name = "datahbox1"; this.datahbox1.Spacing = 6; this.datahbox1.InheritedDataSource = true; this.datahbox1.InheritedBoundaryDataSource = false; this.datahbox1.InheritedDataSource = true; this.datahbox1.InheritedBoundaryDataSource = false; // Container child datahbox1.Gtk.Box+BoxChild this.dataspinbutton1 = new global::Gtk.DataBindings.DataSpinButton(0, 100, 1); this.dataspinbutton1.CanFocus = true; this.dataspinbutton1.Name = "dataspinbutton1"; this.dataspinbutton1.Adjustment.PageIncrement = 10; this.dataspinbutton1.ClimbRate = 1; this.dataspinbutton1.Numeric = true; this.dataspinbutton1.InheritedDataSource = true; this.dataspinbutton1.Mappings = "MaxHours"; this.dataspinbutton1.InheritedBoundaryDataSource = false; this.dataspinbutton1.InheritedDataSource = true; this.dataspinbutton1.Mappings = "MaxHours"; this.dataspinbutton1.InheritedBoundaryDataSource = false; this.datahbox1.Add(this.dataspinbutton1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.dataspinbutton1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child datahbox1.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = "Hours"; this.datahbox1.Add(this.label3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.label3])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child datahbox1.Gtk.Box+BoxChild this.dataspinbutton2 = new global::Gtk.DataBindings.DataSpinButton(0, 100, 1); this.dataspinbutton2.CanFocus = true; this.dataspinbutton2.Name = "dataspinbutton2"; this.dataspinbutton2.Adjustment.PageIncrement = 10; this.dataspinbutton2.ClimbRate = 1; this.dataspinbutton2.Numeric = true; this.dataspinbutton2.InheritedDataSource = true; this.dataspinbutton2.Mappings = "MaxMinutes"; this.dataspinbutton2.InheritedBoundaryDataSource = false; this.dataspinbutton2.InheritedDataSource = true; this.dataspinbutton2.Mappings = "MaxMinutes"; this.dataspinbutton2.InheritedBoundaryDataSource = false; this.datahbox1.Add(this.dataspinbutton2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.dataspinbutton2])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child datahbox1.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = "Minutes"; this.datahbox1.Add(this.label4); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.label4])); w6.Position = 3; w6.Expand = false; w6.Fill = false; // Container child datahbox1.Gtk.Box+BoxChild this.dataspinbutton3 = new global::Gtk.DataBindings.DataSpinButton(0, 100, 1); this.dataspinbutton3.CanFocus = true; this.dataspinbutton3.Name = "dataspinbutton3"; this.dataspinbutton3.Adjustment.PageIncrement = 10; this.dataspinbutton3.ClimbRate = 1; this.dataspinbutton3.Numeric = true; this.dataspinbutton3.InheritedDataSource = true; this.dataspinbutton3.Mappings = "MaxSeconds"; this.dataspinbutton3.InheritedBoundaryDataSource = false; this.dataspinbutton3.InheritedDataSource = true; this.dataspinbutton3.Mappings = "MaxSeconds"; this.dataspinbutton3.InheritedBoundaryDataSource = false; this.datahbox1.Add(this.dataspinbutton3); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.dataspinbutton3])); w7.Position = 4; w7.Expand = false; w7.Fill = false; // Container child datahbox1.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = "Seconds"; this.datahbox1.Add(this.label5); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.label5])); w8.Position = 5; w8.Expand = false; w8.Fill = false; this.DataBox.Add(this.datahbox1); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.DataBox [this.datahbox1])); 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 DataBox.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = "Name"; this.DataBox.Add(this.label1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.DataBox [this.label1])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child DataBox.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = "Max Time"; this.DataBox.Add(this.label2); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.DataBox [this.label2])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); w1.Add(this.DataBox); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(w1 [this.DataBox])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Internal child stopwatch.StopWatchDialog.ActionArea global::Gtk.HButtonBox w13 = this.ActionArea; w13.Name = "dialog1_ActionArea"; w13.Spacing = 6; w13.BorderWidth = ((uint)(5)); w13.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; // Container child buttonOk.Gtk.Container+ContainerChild global::Gtk.Alignment w14 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w15 = new global::Gtk.HBox(); w15.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w16 = new global::Gtk.Image(); w16.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-apply", global::Gtk.IconSize.Menu); w15.Add(w16); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w18 = new global::Gtk.Label(); w18.LabelProp = "_Set timer"; w18.UseUnderline = true; w15.Add(w18); w14.Add(w15); this.buttonOk.Add(w14); this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w22 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13 [this.buttonOk])); w22.Expand = false; w22.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 467; this.DefaultHeight = 153; this.buttonOk.HasDefault = true; this.Show(); this.DestroyEvent += new global::Gtk.DestroyEventHandler(this.OnDestroyEvent); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.PaidRentPackageDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.PaidRentPackageDlg"; // Container child Vodovoz.PaidRentPackageDlg.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.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.hbox1.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox1.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.datatable1 = new global::Gtk.DataBindings.DataTable (((uint)(8)), ((uint)(2)), false); this.datatable1.Name = "datatable1"; this.datatable1.RowSpacing = ((uint)(6)); this.datatable1.ColumnSpacing = ((uint)(6)); this.datatable1.BorderWidth = ((uint)(6)); this.datatable1.InheritedDataSource = false; this.datatable1.InheritedBoundaryDataSource = false; this.datatable1.InheritedDataSource = false; this.datatable1.InheritedBoundaryDataSource = false; // Container child datatable1.Gtk.Table+TableChild this.dataentryName = new global::Gtk.DataBindings.DataEntry (); this.dataentryName.CanFocus = true; this.dataentryName.Name = "dataentryName"; this.dataentryName.IsEditable = true; this.dataentryName.InvisibleChar = '●'; this.dataentryName.InheritedDataSource = true; this.dataentryName.Mappings = "Name"; this.dataentryName.InheritedBoundaryDataSource = false; this.dataentryName.InheritedDataSource = true; this.dataentryName.Mappings = "Name"; this.dataentryName.InheritedBoundaryDataSource = false; this.datatable1.Add (this.dataentryName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentryName])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox (); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.spinPriceDaily = new global::Gtk.DataBindings.DataSpinButton (0, 9000000, 1); this.spinPriceDaily.CanFocus = true; this.spinPriceDaily.Name = "spinPriceDaily"; this.spinPriceDaily.Adjustment.PageIncrement = 10; this.spinPriceDaily.ClimbRate = 1; this.spinPriceDaily.Digits = ((uint)(2)); this.spinPriceDaily.Numeric = true; this.spinPriceDaily.InheritedDataSource = true; this.spinPriceDaily.Mappings = "PriceDaily"; this.spinPriceDaily.InheritedBoundaryDataSource = false; this.spinPriceDaily.InheritedDataSource = true; this.spinPriceDaily.Mappings = "PriceDaily"; this.spinPriceDaily.InheritedBoundaryDataSource = false; this.hbox6.Add (this.spinPriceDaily); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.spinPriceDaily])); w7.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 w8 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.currencylabel1])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.datatable1.Add (this.hbox6); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.hbox6])); 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 datatable1.Gtk.Table+TableChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.spinPriceMonthly = new global::Gtk.DataBindings.DataSpinButton (0, 9000000, 1); this.spinPriceMonthly.CanFocus = true; this.spinPriceMonthly.Name = "spinPriceMonthly"; this.spinPriceMonthly.Adjustment.PageIncrement = 10; this.spinPriceMonthly.ClimbRate = 1; this.spinPriceMonthly.Digits = ((uint)(2)); this.spinPriceMonthly.Numeric = true; this.spinPriceMonthly.InheritedDataSource = true; this.spinPriceMonthly.Mappings = "PriceMonthly"; this.spinPriceMonthly.InheritedBoundaryDataSource = false; this.spinPriceMonthly.InheritedDataSource = true; this.spinPriceMonthly.Mappings = "PriceMonthly"; this.spinPriceMonthly.InheritedBoundaryDataSource = false; this.hbox7.Add (this.spinPriceMonthly); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.spinPriceMonthly])); w10.Position = 0; // Container child hbox7.Gtk.Box+BoxChild this.currencylabel2 = new global::QSProjectsLib.CurrencyLabel (); this.currencylabel2.Name = "currencylabel2"; this.currencylabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("currencylabel1"); this.hbox7.Add (this.currencylabel2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.currencylabel2])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.datatable1.Add (this.hbox7); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.hbox7])); 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 datatable1.Gtk.Table+TableChild this.hbox8 = new global::Gtk.HBox (); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.spinDeposit = new global::Gtk.DataBindings.DataSpinButton (0, 99999, 1); this.spinDeposit.CanFocus = true; this.spinDeposit.Name = "spinDeposit"; this.spinDeposit.Adjustment.PageIncrement = 10; this.spinDeposit.ClimbRate = 1; this.spinDeposit.Digits = ((uint)(2)); this.spinDeposit.Numeric = true; this.spinDeposit.InheritedDataSource = true; this.spinDeposit.Mappings = "Deposit"; this.spinDeposit.InheritedBoundaryDataSource = false; this.spinDeposit.InheritedDataSource = true; this.spinDeposit.Mappings = "Deposit"; this.spinDeposit.InheritedBoundaryDataSource = false; this.hbox8.Add (this.spinDeposit); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.spinDeposit])); w13.Position = 0; // Container child hbox8.Gtk.Box+BoxChild this.currencylabel3 = new global::QSProjectsLib.CurrencyLabel (); this.currencylabel3.Name = "currencylabel3"; this.currencylabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("currencylabel1"); this.hbox8.Add (this.currencylabel3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.currencylabel3])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.datatable1.Add (this.hbox8); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.hbox8])); w15.TopAttach = ((uint)(6)); w15.BottomAttach = ((uint)(7)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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.datatable1.Add (this.label1); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label1])); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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 ("Услуга посуточной \nаренды:"); this.label3.Justify = ((global::Gtk.Justification)(1)); this.datatable1.Add (this.label3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label3])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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.datatable1.Add (this.label4); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label4])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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.datatable1.Add (this.label5); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label5])); w19.TopAttach = ((uint)(7)); w19.BottomAttach = ((uint)(8)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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.datatable1.Add (this.label6); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label6])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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.datatable1.Add (this.label7); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label7])); w21.TopAttach = ((uint)(5)); w21.BottomAttach = ((uint)(6)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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 ("Услуга долгосрочной\nаренды:"); this.label8.Justify = ((global::Gtk.Justification)(1)); this.datatable1.Add (this.label8); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label8])); w22.TopAttach = ((uint)(4)); w22.BottomAttach = ((uint)(5)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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.datatable1.Add (this.label9); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label9])); w23.TopAttach = ((uint)(6)); w23.BottomAttach = ((uint)(7)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceDepositService = new global::Gtk.DataBindings.DataEntryReference (); this.referenceDepositService.Events = ((global::Gdk.EventMask)(256)); this.referenceDepositService.Name = "referenceDepositService"; this.referenceDepositService.DisplayFields = new string[] { "Name" }; this.referenceDepositService.DisplayFormatString = "{0}"; this.referenceDepositService.InheritedDataSource = true; this.referenceDepositService.Mappings = "DepositService"; this.referenceDepositService.InheritedBoundaryDataSource = false; this.referenceDepositService.CursorPointsEveryType = false; this.datatable1.Add (this.referenceDepositService); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceDepositService])); w24.TopAttach = ((uint)(7)); w24.BottomAttach = ((uint)(8)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceEquipmentType = new global::Gtk.DataBindings.DataEntryReference (); this.referenceEquipmentType.Events = ((global::Gdk.EventMask)(256)); this.referenceEquipmentType.Name = "referenceEquipmentType"; this.referenceEquipmentType.DisplayFields = new string[] { "Name" }; this.referenceEquipmentType.DisplayFormatString = "{0}"; this.referenceEquipmentType.InheritedDataSource = true; this.referenceEquipmentType.Mappings = "EquipmentType"; this.referenceEquipmentType.InheritedBoundaryDataSource = false; this.referenceEquipmentType.CursorPointsEveryType = false; this.datatable1.Add (this.referenceEquipmentType); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceEquipmentType])); w25.TopAttach = ((uint)(5)); w25.BottomAttach = ((uint)(6)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceRentServiceDaily = new global::Gtk.DataBindings.DataEntryReference (); this.referenceRentServiceDaily.Events = ((global::Gdk.EventMask)(256)); this.referenceRentServiceDaily.Name = "referenceRentServiceDaily"; this.referenceRentServiceDaily.DisplayFields = new string[] { "Name" }; this.referenceRentServiceDaily.DisplayFormatString = "{0}"; this.referenceRentServiceDaily.InheritedDataSource = true; this.referenceRentServiceDaily.Mappings = "RentServiceDaily"; this.referenceRentServiceDaily.InheritedBoundaryDataSource = false; this.referenceRentServiceDaily.CursorPointsEveryType = false; this.datatable1.Add (this.referenceRentServiceDaily); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceRentServiceDaily])); 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 datatable1.Gtk.Table+TableChild this.referenceRentServiceMonthly = new global::Gtk.DataBindings.DataEntryReference (); this.referenceRentServiceMonthly.Events = ((global::Gdk.EventMask)(256)); this.referenceRentServiceMonthly.Name = "referenceRentServiceMonthly"; this.referenceRentServiceMonthly.DisplayFields = new string[] { "Name" }; this.referenceRentServiceMonthly.DisplayFormatString = "{0}"; this.referenceRentServiceMonthly.InheritedDataSource = true; this.referenceRentServiceMonthly.Mappings = "RentServiceMonthly"; this.referenceRentServiceMonthly.InheritedBoundaryDataSource = false; this.referenceRentServiceMonthly.CursorPointsEveryType = false; this.datatable1.Add (this.referenceRentServiceMonthly); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceRentServiceMonthly])); 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)); this.vbox2.Add (this.datatable1); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.datatable1])); w28.Position = 1; w28.Expand = false; w28.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.MainBox = new global::Gtk.DataBindings.DataVBox(); this.MainBox.Name = "MainBox"; this.MainBox.Spacing = 6; this.MainBox.BorderWidth = ((uint)(8)); this.MainBox.InheritedDataSource = false; this.MainBox.InheritedBoundaryDataSource = false; this.MainBox.InheritedDataSource = false; this.MainBox.InheritedBoundaryDataSource = false; // Container child MainBox.Gtk.Box+BoxChild this.datatable1 = new global::Gtk.DataBindings.DataTable(((uint)(3)), ((uint)(2)), false); this.datatable1.Name = "datatable1"; this.datatable1.RowSpacing = ((uint)(6)); this.datatable1.ColumnSpacing = ((uint)(6)); this.datatable1.InheritedDataSource = true; this.datatable1.InheritedBoundaryDataSource = false; this.datatable1.InheritedDataSource = true; this.datatable1.InheritedBoundaryDataSource = false; // Container child datatable1.Gtk.Table+TableChild this.dataentry1 = new global::Gtk.DataBindings.DataEntry(); this.dataentry1.CanFocus = true; this.dataentry1.Name = "dataentry1"; this.dataentry1.IsEditable = true; this.dataentry1.InvisibleChar = '•'; this.dataentry1.InheritedDataSource = true; this.dataentry1.Mappings = "Name"; this.dataentry1.InheritedBoundaryDataSource = false; this.dataentry1.InheritedDataSource = true; this.dataentry1.Mappings = "Name"; this.dataentry1.InheritedBoundaryDataSource = false; this.datatable1.Add(this.dataentry1); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentry1])); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.dataentry2 = new global::Gtk.DataBindings.DataEntry(); this.dataentry2.CanFocus = true; this.dataentry2.Name = "dataentry2"; this.dataentry2.IsEditable = true; this.dataentry2.InvisibleChar = '•'; this.dataentry2.InheritedDataSource = true; this.dataentry2.Mappings = "LastName"; this.dataentry2.InheritedBoundaryDataSource = false; this.dataentry2.InheritedDataSource = true; this.dataentry2.Mappings = "LastName"; this.dataentry2.InheritedBoundaryDataSource = false; this.datatable1.Add(this.dataentry2); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentry2])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.dataspinbutton1 = new global::Gtk.DataBindings.DataSpinButton(0, 100, 1); this.dataspinbutton1.CanFocus = true; this.dataspinbutton1.Name = "dataspinbutton1"; this.dataspinbutton1.Adjustment.PageIncrement = 10; this.dataspinbutton1.ClimbRate = 1; this.dataspinbutton1.Numeric = true; this.dataspinbutton1.InheritedDataSource = true; this.dataspinbutton1.Mappings = "Age"; this.dataspinbutton1.InheritedBoundaryDataSource = false; this.dataspinbutton1.InheritedDataSource = true; this.dataspinbutton1.Mappings = "Age"; this.dataspinbutton1.InheritedBoundaryDataSource = false; this.datatable1.Add(this.dataspinbutton1); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataspinbutton1])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Name"); this.datatable1.Add(this.label1); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label1])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("LastName"); this.datatable1.Add(this.label2); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label2])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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("Age"); this.datatable1.Add(this.label3); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label3])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); this.MainBox.Add(this.datatable1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.MainBox [this.datatable1])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child MainBox.Gtk.Box+BoxChild this.datatable2 = new global::Gtk.DataBindings.DataTable(((uint)(3)), ((uint)(2)), false); this.datatable2.Name = "datatable2"; this.datatable2.RowSpacing = ((uint)(6)); this.datatable2.ColumnSpacing = ((uint)(6)); this.datatable2.InheritedDataSource = true; this.datatable2.InheritedBoundaryDataSource = false; this.datatable2.InheritedDataSource = true; this.datatable2.InheritedBoundaryDataSource = false; // Container child datatable2.Gtk.Table+TableChild this.datalabel1 = new global::Gtk.DataBindings.DataLabel(); this.datalabel1.Name = "datalabel1"; this.datalabel1.Xalign = 0F; this.datalabel1.LabelProp = global::Mono.Unix.Catalog.GetString("datalabel1"); this.datalabel1.InheritedDataSource = true; this.datalabel1.Mappings = "Name"; this.datalabel1.InheritedBoundaryDataSource = false; this.datalabel1.Important = false; this.datalabel1.InheritedDataSource = true; this.datalabel1.Mappings = "Name"; this.datalabel1.InheritedBoundaryDataSource = false; this.datatable2.Add(this.datalabel1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.datalabel1])); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.datalabel2 = new global::Gtk.DataBindings.DataLabel(); this.datalabel2.Name = "datalabel2"; this.datalabel2.Xalign = 0F; this.datalabel2.LabelProp = global::Mono.Unix.Catalog.GetString("datalabel2"); this.datalabel2.InheritedDataSource = true; this.datalabel2.Mappings = "LastName"; this.datalabel2.InheritedBoundaryDataSource = false; this.datalabel2.Important = false; this.datalabel2.InheritedDataSource = true; this.datalabel2.Mappings = "LastName"; this.datalabel2.InheritedBoundaryDataSource = false; this.datatable2.Add(this.datalabel2); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.datalabel2])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.datalabel3 = new global::Gtk.DataBindings.DataLabel(); this.datalabel3.Name = "datalabel3"; this.datalabel3.Xalign = 0F; this.datalabel3.LabelProp = global::Mono.Unix.Catalog.GetString("datalabel3"); this.datalabel3.InheritedDataSource = true; this.datalabel3.Mappings = "Age"; this.datalabel3.InheritedBoundaryDataSource = false; this.datalabel3.Important = false; this.datalabel3.InheritedDataSource = true; this.datalabel3.Mappings = "Age"; this.datalabel3.InheritedBoundaryDataSource = false; this.datatable2.Add(this.datalabel3); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.datalabel3])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.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("Name in object"); this.datatable2.Add(this.label4); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.label4])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("LastName in object"); this.datatable2.Add(this.label5); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.label5])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable2.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Age in object"); this.datatable2.Add(this.label6); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.label6])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); this.MainBox.Add(this.datatable2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.MainBox [this.datatable2])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child MainBox.Gtk.Box+BoxChild this.datahbox1 = new global::Gtk.DataBindings.DataHBox(); this.datahbox1.Name = "datahbox1"; this.datahbox1.Spacing = 6; this.datahbox1.InheritedDataSource = false; this.datahbox1.InheritedBoundaryDataSource = false; this.datahbox1.InheritedDataSource = false; this.datahbox1.InheritedBoundaryDataSource = false; // Container child datahbox1.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("button1"); this.datahbox1.Add(this.button1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.button1])); w15.Position = 2; w15.Expand = false; w15.Fill = false; this.MainBox.Add(this.datahbox1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.MainBox [this.datahbox1])); w16.Position = 2; w16.Expand = false; w16.Fill = false; this.Add(this.MainBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.button1.Clicked += new global::System.EventHandler(this.OnButton1Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Vodovoz.FreeRentPackageDlg global::Stetic.BinContainer.Attach (this); this.Name = "Vodovoz.FreeRentPackageDlg"; // Container child Vodovoz.FreeRentPackageDlg.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button (); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); this.buttonSave.Image = w1; this.hbox4.Add (this.buttonSave); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSave])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w3; this.hbox4.Add (this.buttonCancel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCancel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox3.Add (this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.datatable1 = new global::Gtk.DataBindings.DataTable (((uint)(5)), ((uint)(2)), false); this.datatable1.Name = "datatable1"; this.datatable1.RowSpacing = ((uint)(6)); this.datatable1.ColumnSpacing = ((uint)(6)); this.datatable1.BorderWidth = ((uint)(6)); this.datatable1.InheritedDataSource = false; this.datatable1.InheritedBoundaryDataSource = false; this.datatable1.InheritedDataSource = false; this.datatable1.InheritedBoundaryDataSource = false; // Container child datatable1.Gtk.Table+TableChild this.dataentryName = new global::Gtk.DataBindings.DataEntry (); this.dataentryName.CanFocus = true; this.dataentryName.Name = "dataentryName"; this.dataentryName.IsEditable = true; this.dataentryName.InvisibleChar = '●'; this.dataentryName.InheritedDataSource = true; this.dataentryName.Mappings = "Name"; this.dataentryName.InheritedBoundaryDataSource = false; this.dataentryName.InheritedDataSource = true; this.dataentryName.Mappings = "Name"; this.dataentryName.InheritedBoundaryDataSource = false; this.datatable1.Add (this.dataentryName); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentryName])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.spinDeposit = new global::Gtk.DataBindings.DataSpinButton (0, 99999, 1); this.spinDeposit.CanFocus = true; this.spinDeposit.Name = "spinDeposit"; this.spinDeposit.Adjustment.PageIncrement = 10; this.spinDeposit.ClimbRate = 1; this.spinDeposit.Numeric = true; this.spinDeposit.InheritedDataSource = true; this.spinDeposit.Mappings = "Deposit"; this.spinDeposit.InheritedBoundaryDataSource = false; this.spinDeposit.InheritedDataSource = true; this.spinDeposit.Mappings = "Deposit"; this.spinDeposit.InheritedBoundaryDataSource = false; this.hbox5.Add (this.spinDeposit); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.spinDeposit])); w7.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.currencylabel2 = new global::QSProjectsLib.CurrencyLabel (); this.currencylabel2.Name = "currencylabel2"; this.currencylabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("currencylabel2"); this.hbox5.Add (this.currencylabel2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.currencylabel2])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.datatable1.Add (this.hbox5); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.hbox5])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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 ("Минимальное\nкол-во бутылей:"); this.label10.Justify = ((global::Gtk.Justification)(1)); this.datatable1.Add (this.label10); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label10])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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.datatable1.Add (this.label11); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label11])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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.datatable1.Add (this.label7); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label7])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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.datatable1.Add (this.label8); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label8])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.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.datatable1.Add (this.label9); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label9])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceDepositService = new global::Gtk.DataBindings.DataEntryReference (); this.referenceDepositService.Events = ((global::Gdk.EventMask)(256)); this.referenceDepositService.Name = "referenceDepositService"; this.referenceDepositService.DisplayFields = new string[] { "Name" }; this.referenceDepositService.DisplayFormatString = "{0}"; this.referenceDepositService.InheritedDataSource = true; this.referenceDepositService.Mappings = "DepositService"; this.referenceDepositService.InheritedBoundaryDataSource = false; this.referenceDepositService.CursorPointsEveryType = false; this.datatable1.Add (this.referenceDepositService); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceDepositService])); w15.TopAttach = ((uint)(4)); w15.BottomAttach = ((uint)(5)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.referenceEquipmentType = new global::Gtk.DataBindings.DataEntryReference (); this.referenceEquipmentType.Events = ((global::Gdk.EventMask)(256)); this.referenceEquipmentType.Name = "referenceEquipmentType"; this.referenceEquipmentType.DisplayFields = new string[] { "Name" }; this.referenceEquipmentType.DisplayFormatString = "{0}"; this.referenceEquipmentType.InheritedDataSource = true; this.referenceEquipmentType.Mappings = "EquipmentType"; this.referenceEquipmentType.ColumnMappings = ""; this.referenceEquipmentType.InheritedBoundaryDataSource = false; this.referenceEquipmentType.CursorPointsEveryType = false; this.datatable1.Add (this.referenceEquipmentType); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceEquipmentType])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child datatable1.Gtk.Table+TableChild this.spinMinWaterAmount = new global::Gtk.DataBindings.DataSpinButton (0, 100, 1); this.spinMinWaterAmount.CanFocus = true; this.spinMinWaterAmount.Name = "spinMinWaterAmount"; this.spinMinWaterAmount.Adjustment.PageIncrement = 10; this.spinMinWaterAmount.ClimbRate = 1; this.spinMinWaterAmount.Numeric = true; this.spinMinWaterAmount.InheritedDataSource = true; this.spinMinWaterAmount.Mappings = "MinWaterAmount"; this.spinMinWaterAmount.InheritedBoundaryDataSource = false; this.spinMinWaterAmount.InheritedDataSource = true; this.spinMinWaterAmount.Mappings = "MinWaterAmount"; this.spinMinWaterAmount.InheritedBoundaryDataSource = false; this.datatable1.Add (this.spinMinWaterAmount); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.spinMinWaterAmount])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add (this.datatable1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.datatable1])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.Add (this.vbox3); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }