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);
 }
Esempio n. 2
0
 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.RepairAgreementDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.RepairAgreementDlg";
     // Container child Vodovoz.RepairAgreementDlg.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)(3)), ((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.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.datatable1.Add (this.dateIssue);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dateIssue]));
     w6.TopAttach = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.LeftAttach = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.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 w7 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dateStart]));
     w7.TopAttach = ((uint)(2));
     w7.BottomAttach = ((uint)(3));
     w7.LeftAttach = ((uint)(1));
     w7.RightAttach = ((uint)(2));
     w7.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 w8 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label1]));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.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 w9 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label3]));
     w9.TopAttach = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.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 w10 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label4]));
     w10.TopAttach = ((uint)(2));
     w10.BottomAttach = ((uint)(3));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.templatewidget2 = new global::QSDocTemplates.TemplateWidget ();
     this.templatewidget2.Events = ((global::Gdk.EventMask)(256));
     this.templatewidget2.Name = "templatewidget2";
     this.datatable1.Add (this.templatewidget2);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.templatewidget2]));
     w11.BottomAttach = ((uint)(3));
     w11.LeftAttach = ((uint)(2));
     w11.RightAttach = ((uint)(5));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.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 w12 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.ylabelNumber]));
     w12.LeftAttach = ((uint)(1));
     w12.RightAttach = ((uint)(2));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add (this.datatable1);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.datatable1]));
     w13.Position = 1;
     w13.Expand = false;
     w13.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);
 }
Esempio n. 4
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget BioGorod.Dialogs.Client.ContractLongLeaseDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "BioGorod.Dialogs.Client.ContractLongLeaseDlg";
     // Container child BioGorod.Dialogs.Client.ContractLongLeaseDlg.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;
     // 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 w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vseparator1]));
     w5.Position = 2;
     w5.Expand   = false;
     w5.Fill     = false;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(3)), ((uint)(5)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.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.LeftAttach  = ((uint)(2));
     w7.RightAttach = ((uint)(3));
     w7.XOptions    = ((global::Gtk.AttachOptions)(4));
     w7.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Организация:");
     this.table1.Add(this.label2);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w8.TopAttach    = ((uint)(1));
     w8.BottomAttach = ((uint)(2));
     w8.XOptions     = ((global::Gtk.AttachOptions)(4));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.Xalign    = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Контрагент:");
     this.table1.Add(this.label3);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w9.TopAttach    = ((uint)(2));
     w9.BottomAttach = ((uint)(3));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.Xalign    = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Дата подписания:");
     this.table1.Add(this.label4);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.Xalign    = 1F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Архивный:");
     this.table1.Add(this.label5);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5]));
     w11.TopAttach    = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.LeftAttach   = ((uint)(2));
     w11.RightAttach  = ((uint)(3));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.Xalign    = 1F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("В наличии:");
     this.table1.Add(this.label6);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6]));
     w12.TopAttach    = ((uint)(2));
     w12.BottomAttach = ((uint)(3));
     w12.LeftAttach   = ((uint)(2));
     w12.RightAttach  = ((uint)(3));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.templatewidget1        = new global::QSDocTemplates.TemplateWidget();
     this.templatewidget1.Events = ((global::Gdk.EventMask)(256));
     this.templatewidget1.Name   = "templatewidget1";
     this.table1.Add(this.templatewidget1);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.templatewidget1]));
     w13.BottomAttach = ((uint)(3));
     w13.LeftAttach   = ((uint)(4));
     w13.RightAttach  = ((uint)(5));
     w13.XOptions     = ((global::Gtk.AttachOptions)(0));
     w13.YOptions     = ((global::Gtk.AttachOptions)(0));
     // Container child table1.Gtk.Table+TableChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.ycheckOrigin               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckOrigin.CanFocus      = true;
     this.ycheckOrigin.Name          = "ycheckOrigin";
     this.ycheckOrigin.Label         = global::Mono.Unix.Catalog.GetString("Оригинал");
     this.ycheckOrigin.DrawIndicator = true;
     this.ycheckOrigin.UseUnderline  = true;
     this.vbox2.Add(this.ycheckOrigin);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ycheckOrigin]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.ycheckScanned               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckScanned.CanFocus      = true;
     this.ycheckScanned.Name          = "ycheckScanned";
     this.ycheckScanned.Label         = global::Mono.Unix.Catalog.GetString("Скан");
     this.ycheckScanned.DrawIndicator = true;
     this.ycheckScanned.UseUnderline  = true;
     this.vbox2.Add(this.ycheckScanned);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ycheckScanned]));
     w15.Position = 1;
     w15.Expand   = false;
     w15.Fill     = false;
     this.table1.Add(this.vbox2);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox2]));
     w16.TopAttach    = ((uint)(2));
     w16.BottomAttach = ((uint)(3));
     w16.LeftAttach   = ((uint)(3));
     w16.RightAttach  = ((uint)(4));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ycheckArchive               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckArchive.CanFocus      = true;
     this.ycheckArchive.Name          = "ycheckArchive";
     this.ycheckArchive.Label         = global::Mono.Unix.Catalog.GetString("Да");
     this.ycheckArchive.DrawIndicator = true;
     this.ycheckArchive.UseUnderline  = true;
     this.table1.Add(this.ycheckArchive);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycheckArchive]));
     w17.TopAttach    = ((uint)(1));
     w17.BottomAttach = ((uint)(2));
     w17.LeftAttach   = ((uint)(3));
     w17.RightAttach  = ((uint)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ydateIssue                = new global::Gamma.Widgets.yDatePicker();
     this.ydateIssue.Events         = ((global::Gdk.EventMask)(256));
     this.ydateIssue.Name           = "ydateIssue";
     this.ydateIssue.WithTime       = false;
     this.ydateIssue.Date           = new global::System.DateTime(0);
     this.ydateIssue.IsEditable     = true;
     this.ydateIssue.AutoSeparation = true;
     this.table1.Add(this.ydateIssue);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.ydateIssue]));
     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.yentryreferenceCounterparty        = new global::Gamma.Widgets.yEntryReferenceVM();
     this.yentryreferenceCounterparty.Events = ((global::Gdk.EventMask)(256));
     this.yentryreferenceCounterparty.Name   = "yentryreferenceCounterparty";
     this.table1.Add(this.yentryreferenceCounterparty);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryreferenceCounterparty]));
     w19.TopAttach    = ((uint)(2));
     w19.BottomAttach = ((uint)(3));
     w19.LeftAttach   = ((uint)(1));
     w19.RightAttach  = ((uint)(2));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(0));
     // Container child table1.Gtk.Table+TableChild
     this.yentryreferenceOrg        = new global::Gamma.Widgets.yEntryReference();
     this.yentryreferenceOrg.Events = ((global::Gdk.EventMask)(256));
     this.yentryreferenceOrg.Name   = "yentryreferenceOrg";
     this.table1.Add(this.yentryreferenceOrg);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryreferenceOrg]));
     w20.TopAttach    = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.LeftAttach   = ((uint)(1));
     w20.RightAttach  = ((uint)(2));
     w20.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.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.table1.Add(this.ylabelNumber);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.ylabelNumber]));
     w21.LeftAttach  = ((uint)(3));
     w21.RightAttach = ((uint)(4));
     w21.XOptions    = ((global::Gtk.AttachOptions)(4));
     w21.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebookAddresses             = new global::Gtk.Notebook();
     this.notebookAddresses.CanFocus    = true;
     this.notebookAddresses.Name        = "notebookAddresses";
     this.notebookAddresses.CurrentPage = 0;
     // Notebook tab
     global::Gtk.Label w23 = new global::Gtk.Label();
     w23.Visible = true;
     this.notebookAddresses.Add(w23);
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("page1");
     this.notebookAddresses.SetTabLabel(w23, this.label7);
     this.label7.ShowAll();
     this.vbox1.Add(this.notebookAddresses);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebookAddresses]));
     w24.Position = 2;
     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);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.Dialogs.Employees.CarProxyDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.Dialogs.Employees.CarProxyDlg";
     // Container child Vodovoz.Dialogs.Employees.CarProxyDlg.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.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(4)), ((uint)(3)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.entityviewmodelentryCar                  = new global::QS.Widgets.GtkUI.EntityViewModelEntry();
     this.entityviewmodelentryCar.Events           = ((global::Gdk.EventMask)(256));
     this.entityviewmodelentryCar.Name             = "entityviewmodelentryCar";
     this.entityviewmodelentryCar.CanEditReference = true;
     this.table1.Add(this.entityviewmodelentryCar);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.entityviewmodelentryCar]));
     w6.TopAttach    = ((uint)(3));
     w6.BottomAttach = ((uint)(4));
     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.labelCar           = new global::Gtk.Label();
     this.labelCar.Name      = "labelCar";
     this.labelCar.Xalign    = 1F;
     this.labelCar.LabelProp = global::Mono.Unix.Catalog.GetString("Автомобиль");
     this.labelCar.Justify   = ((global::Gtk.Justification)(1));
     this.table1.Add(this.labelCar);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCar]));
     w7.TopAttach    = ((uint)(3));
     w7.BottomAttach = ((uint)(4));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelDriver           = new global::Gtk.Label();
     this.labelDriver.Name      = "labelDriver";
     this.labelDriver.Xalign    = 1F;
     this.labelDriver.LabelProp = global::Mono.Unix.Catalog.GetString("Водитель");
     this.labelDriver.Justify   = ((global::Gtk.Justification)(1));
     this.table1.Add(this.labelDriver);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDriver]));
     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.labelOrganization           = new global::Gtk.Label();
     this.labelOrganization.Name      = "labelOrganization";
     this.labelOrganization.Xalign    = 1F;
     this.labelOrganization.LabelProp = global::Mono.Unix.Catalog.GetString("Организация");
     this.labelOrganization.Justify   = ((global::Gtk.Justification)(1));
     this.table1.Add(this.labelOrganization);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.labelOrganization]));
     w9.TopAttach    = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryDriver        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.yentryDriver.Events = ((global::Gdk.EventMask)(256));
     this.yentryDriver.Name   = "yentryDriver";
     this.table1.Add(this.yentryDriver);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryDriver]));
     w10.TopAttach    = ((uint)(2));
     w10.BottomAttach = ((uint)(3));
     w10.LeftAttach   = ((uint)(1));
     w10.RightAttach  = ((uint)(2));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     w10.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryOrganization        = new global::Gamma.Widgets.yEntryReference();
     this.yentryOrganization.Events = ((global::Gdk.EventMask)(256));
     this.yentryOrganization.Name   = "yentryOrganization";
     this.table1.Add(this.yentryOrganization);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryOrganization]));
     w11.TopAttach    = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.LeftAttach   = ((uint)(1));
     w11.RightAttach  = ((uint)(2));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ylabelNumber        = new global::Gamma.GtkWidgets.yLabel();
     this.ylabelNumber.Name   = "ylabelNumber";
     this.ylabelNumber.Xalign = 0F;
     this.table1.Add(this.ylabelNumber);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelNumber]));
     w12.RightAttach = ((uint)(2));
     w12.XOptions    = ((global::Gtk.AttachOptions)(4));
     w12.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.hbox2.Add(this.table1);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.table1]));
     w13.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.templatewidget                 = new global::QSDocTemplates.TemplateWidget();
     this.templatewidget.Events          = ((global::Gdk.EventMask)(256));
     this.templatewidget.Name            = "templatewidget";
     this.templatewidget.CanRevertCommon = false;
     this.hbox2.Add(this.templatewidget);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.templatewidget]));
     w14.Position = 1;
     w14.Expand   = false;
     w14.Fill     = false;
     this.vbox2.Add(this.hbox2);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2]));
     w15.Position = 1;
     w15.Expand   = false;
     w15.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 BioGorod.Dialogs.Client.ContractShortLeaseDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "BioGorod.Dialogs.Client.ContractShortLeaseDlg";
     // Container child BioGorod.Dialogs.Client.ContractShortLeaseDlg.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;
     // 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 w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vseparator1]));
     w5.Position = 2;
     w5.Expand   = false;
     w5.Fill     = false;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(3)), ((uint)(5)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.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.LeftAttach  = ((uint)(2));
     w7.RightAttach = ((uint)(3));
     w7.XOptions    = ((global::Gtk.AttachOptions)(4));
     w7.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Организация:");
     this.table1.Add(this.label2);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w8.TopAttach    = ((uint)(1));
     w8.BottomAttach = ((uint)(2));
     w8.XOptions     = ((global::Gtk.AttachOptions)(4));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.Xalign    = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Контрагент:");
     this.table1.Add(this.label3);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w9.TopAttach    = ((uint)(2));
     w9.BottomAttach = ((uint)(3));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.Xalign    = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Дата подписания:");
     this.table1.Add(this.label4);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.Xalign    = 1F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Архивный:");
     this.table1.Add(this.label5);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5]));
     w11.TopAttach    = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.LeftAttach   = ((uint)(2));
     w11.RightAttach  = ((uint)(3));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.Xalign    = 1F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("В наличии:");
     this.table1.Add(this.label6);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6]));
     w12.TopAttach    = ((uint)(2));
     w12.BottomAttach = ((uint)(3));
     w12.LeftAttach   = ((uint)(2));
     w12.RightAttach  = ((uint)(3));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.templatewidget1        = new global::QSDocTemplates.TemplateWidget();
     this.templatewidget1.Events = ((global::Gdk.EventMask)(256));
     this.templatewidget1.Name   = "templatewidget1";
     this.table1.Add(this.templatewidget1);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.templatewidget1]));
     w13.BottomAttach = ((uint)(3));
     w13.LeftAttach   = ((uint)(4));
     w13.RightAttach  = ((uint)(5));
     w13.XOptions     = ((global::Gtk.AttachOptions)(0));
     w13.YOptions     = ((global::Gtk.AttachOptions)(0));
     // Container child table1.Gtk.Table+TableChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.ycheckOrigin               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckOrigin.CanFocus      = true;
     this.ycheckOrigin.Name          = "ycheckOrigin";
     this.ycheckOrigin.Label         = global::Mono.Unix.Catalog.GetString("Оригинал");
     this.ycheckOrigin.DrawIndicator = true;
     this.ycheckOrigin.UseUnderline  = true;
     this.vbox2.Add(this.ycheckOrigin);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ycheckOrigin]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.ycheckScanned               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckScanned.CanFocus      = true;
     this.ycheckScanned.Name          = "ycheckScanned";
     this.ycheckScanned.Label         = global::Mono.Unix.Catalog.GetString("Скан");
     this.ycheckScanned.DrawIndicator = true;
     this.ycheckScanned.UseUnderline  = true;
     this.vbox2.Add(this.ycheckScanned);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ycheckScanned]));
     w15.Position = 1;
     w15.Expand   = false;
     w15.Fill     = false;
     this.table1.Add(this.vbox2);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox2]));
     w16.TopAttach    = ((uint)(2));
     w16.BottomAttach = ((uint)(3));
     w16.LeftAttach   = ((uint)(3));
     w16.RightAttach  = ((uint)(4));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ycheckArchive               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckArchive.CanFocus      = true;
     this.ycheckArchive.Name          = "ycheckArchive";
     this.ycheckArchive.Label         = global::Mono.Unix.Catalog.GetString("Да");
     this.ycheckArchive.DrawIndicator = true;
     this.ycheckArchive.UseUnderline  = true;
     this.table1.Add(this.ycheckArchive);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycheckArchive]));
     w17.TopAttach    = ((uint)(1));
     w17.BottomAttach = ((uint)(2));
     w17.LeftAttach   = ((uint)(3));
     w17.RightAttach  = ((uint)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ydateIssue                = new global::Gamma.Widgets.yDatePicker();
     this.ydateIssue.Events         = ((global::Gdk.EventMask)(256));
     this.ydateIssue.Name           = "ydateIssue";
     this.ydateIssue.WithTime       = false;
     this.ydateIssue.Date           = new global::System.DateTime(0);
     this.ydateIssue.IsEditable     = true;
     this.ydateIssue.AutoSeparation = true;
     this.table1.Add(this.ydateIssue);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.ydateIssue]));
     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.yentryreferenceCounterparty        = new global::Gamma.Widgets.yEntryReferenceVM();
     this.yentryreferenceCounterparty.Events = ((global::Gdk.EventMask)(256));
     this.yentryreferenceCounterparty.Name   = "yentryreferenceCounterparty";
     this.table1.Add(this.yentryreferenceCounterparty);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryreferenceCounterparty]));
     w19.TopAttach    = ((uint)(2));
     w19.BottomAttach = ((uint)(3));
     w19.LeftAttach   = ((uint)(1));
     w19.RightAttach  = ((uint)(2));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(0));
     // Container child table1.Gtk.Table+TableChild
     this.yentryreferenceOrg        = new global::Gamma.Widgets.yEntryReference();
     this.yentryreferenceOrg.Events = ((global::Gdk.EventMask)(256));
     this.yentryreferenceOrg.Name   = "yentryreferenceOrg";
     this.table1.Add(this.yentryreferenceOrg);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryreferenceOrg]));
     w20.TopAttach    = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.LeftAttach   = ((uint)(1));
     w20.RightAttach  = ((uint)(2));
     w20.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.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.table1.Add(this.ylabelNumber);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.ylabelNumber]));
     w21.LeftAttach  = ((uint)(3));
     w21.RightAttach = ((uint)(4));
     w21.XOptions    = ((global::Gtk.AttachOptions)(4));
     w21.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table2               = new global::Gtk.Table(((uint)(5)), ((uint)(4)), false);
     this.table2.Name          = "table2";
     this.table2.RowSpacing    = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.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.ytextAdditionalInfo          = new global::Gamma.GtkWidgets.yTextView();
     this.ytextAdditionalInfo.CanFocus = true;
     this.ytextAdditionalInfo.Name     = "ytextAdditionalInfo";
     this.GtkScrolledWindow.Add(this.ytextAdditionalInfo);
     this.table2.Add(this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2 [this.GtkScrolledWindow]));
     w24.TopAttach    = ((uint)(4));
     w24.BottomAttach = ((uint)(5));
     w24.LeftAttach   = ((uint)(1));
     w24.RightAttach  = ((uint)(3));
     w24.XOptions     = ((global::Gtk.AttachOptions)(4));
     w24.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label10           = new global::Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.Xalign    = 1F;
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Дата и время доставки:");
     this.table2.Add(this.label10);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2 [this.label10]));
     w25.TopAttach    = ((uint)(1));
     w25.BottomAttach = ((uint)(2));
     w25.XOptions     = ((global::Gtk.AttachOptions)(4));
     w25.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.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.table2.Add(this.label11);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2 [this.label11]));
     w26.TopAttach    = ((uint)(2));
     w26.BottomAttach = ((uint)(3));
     w26.XOptions     = ((global::Gtk.AttachOptions)(4));
     w26.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label12           = new global::Gtk.Label();
     this.label12.Name      = "label12";
     this.label12.Xalign    = 1F;
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Стоимость за кабину:");
     this.table2.Add(this.label12);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table2 [this.label12]));
     w27.TopAttach    = ((uint)(2));
     w27.BottomAttach = ((uint)(3));
     w27.LeftAttach   = ((uint)(2));
     w27.RightAttach  = ((uint)(3));
     w27.XOptions     = ((global::Gtk.AttachOptions)(4));
     w27.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.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.table2.Add(this.label13);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table2 [this.label13]));
     w28.TopAttach    = ((uint)(3));
     w28.BottomAttach = ((uint)(4));
     w28.LeftAttach   = ((uint)(2));
     w28.RightAttach  = ((uint)(3));
     w28.XOptions     = ((global::Gtk.AttachOptions)(4));
     w28.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Условия краткосрочной аренды</b>");
     this.label7.UseMarkup = true;
     this.table2.Add(this.label7);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table2 [this.label7]));
     w29.RightAttach = ((uint)(4));
     w29.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.Xalign    = 1F;
     this.label8.Yalign    = 0F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Дополнительная информация:");
     this.table2.Add(this.label8);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8]));
     w30.TopAttach    = ((uint)(4));
     w30.BottomAttach = ((uint)(5));
     w30.XOptions     = ((global::Gtk.AttachOptions)(4));
     w30.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label9           = new global::Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.Xalign    = 1F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Количество кабин:");
     this.table2.Add(this.label9);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table2 [this.label9]));
     w31.TopAttach    = ((uint)(1));
     w31.BottomAttach = ((uint)(2));
     w31.LeftAttach   = ((uint)(2));
     w31.RightAttach  = ((uint)(3));
     w31.XOptions     = ((global::Gtk.AttachOptions)(4));
     w31.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.ycheckDispenser               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckDispenser.CanFocus      = true;
     this.ycheckDispenser.Name          = "ycheckDispenser";
     this.ycheckDispenser.Label         = global::Mono.Unix.Catalog.GetString("Наличие рукомойника");
     this.ycheckDispenser.DrawIndicator = true;
     this.ycheckDispenser.UseUnderline  = true;
     this.vbox3.Add(this.ycheckDispenser);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ycheckDispenser]));
     w32.Position = 0;
     w32.Expand   = false;
     w32.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.ycheckAdditionalWater               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckAdditionalWater.CanFocus      = true;
     this.ycheckAdditionalWater.Name          = "ycheckAdditionalWater";
     this.ycheckAdditionalWater.Label         = global::Mono.Unix.Catalog.GetString("Дополнительная вода");
     this.ycheckAdditionalWater.DrawIndicator = true;
     this.ycheckAdditionalWater.UseUnderline  = true;
     this.vbox3.Add(this.ycheckAdditionalWater);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ycheckAdditionalWater]));
     w33.Position = 1;
     w33.Expand   = false;
     w33.Fill     = false;
     this.table2.Add(this.vbox3);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table2 [this.vbox3]));
     w34.TopAttach    = ((uint)(4));
     w34.BottomAttach = ((uint)(5));
     w34.LeftAttach   = ((uint)(3));
     w34.RightAttach  = ((uint)(4));
     w34.XOptions     = ((global::Gtk.AttachOptions)(4));
     w34.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.ydateDelivery                = new global::Gamma.Widgets.yDatePicker();
     this.ydateDelivery.Events         = ((global::Gdk.EventMask)(256));
     this.ydateDelivery.Name           = "ydateDelivery";
     this.ydateDelivery.WithTime       = true;
     this.ydateDelivery.Date           = new global::System.DateTime(0);
     this.ydateDelivery.IsEditable     = true;
     this.ydateDelivery.AutoSeparation = true;
     this.table2.Add(this.ydateDelivery);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table2 [this.ydateDelivery]));
     w35.TopAttach    = ((uint)(1));
     w35.BottomAttach = ((uint)(2));
     w35.LeftAttach   = ((uint)(1));
     w35.RightAttach  = ((uint)(2));
     w35.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.ydateRemoval                = new global::Gamma.Widgets.yDatePicker();
     this.ydateRemoval.Events         = ((global::Gdk.EventMask)(256));
     this.ydateRemoval.Name           = "ydateRemoval";
     this.ydateRemoval.WithTime       = true;
     this.ydateRemoval.Date           = new global::System.DateTime(0);
     this.ydateRemoval.IsEditable     = true;
     this.ydateRemoval.AutoSeparation = true;
     this.table2.Add(this.ydateRemoval);
     global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table2 [this.ydateRemoval]));
     w36.TopAttach    = ((uint)(2));
     w36.BottomAttach = ((uint)(3));
     w36.LeftAttach   = ((uint)(1));
     w36.RightAttach  = ((uint)(2));
     w36.XOptions     = ((global::Gtk.AttachOptions)(4));
     w36.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.ylabel2           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabel2.Name      = "ylabel2";
     this.ylabel2.Xalign    = 1F;
     this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Стоимость за доставку:");
     this.table2.Add(this.ylabel2);
     global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table2 [this.ylabel2]));
     w37.TopAttach    = ((uint)(3));
     w37.BottomAttach = ((uint)(4));
     w37.XOptions     = ((global::Gtk.AttachOptions)(4));
     w37.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.ylabelTotalCost           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabelTotalCost.Name      = "ylabelTotalCost";
     this.ylabelTotalCost.Xalign    = 0F;
     this.ylabelTotalCost.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel3");
     this.table2.Add(this.ylabelTotalCost);
     global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table2 [this.ylabelTotalCost]));
     w38.TopAttach    = ((uint)(3));
     w38.BottomAttach = ((uint)(4));
     w38.LeftAttach   = ((uint)(3));
     w38.RightAttach  = ((uint)(4));
     w38.XOptions     = ((global::Gtk.AttachOptions)(4));
     w38.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.yspinCabineCost          = new global::Gamma.GtkWidgets.ySpinButton(0, 1000000, 100);
     this.yspinCabineCost.CanFocus = true;
     this.yspinCabineCost.Name     = "yspinCabineCost";
     this.yspinCabineCost.Adjustment.PageIncrement = 1000;
     this.yspinCabineCost.ClimbRate      = 1;
     this.yspinCabineCost.Digits         = ((uint)(2));
     this.yspinCabineCost.Numeric        = true;
     this.yspinCabineCost.ValueAsDecimal = 0m;
     this.yspinCabineCost.ValueAsInt     = 0;
     this.table2.Add(this.yspinCabineCost);
     global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table2 [this.yspinCabineCost]));
     w39.TopAttach    = ((uint)(2));
     w39.BottomAttach = ((uint)(3));
     w39.LeftAttach   = ((uint)(3));
     w39.RightAttach  = ((uint)(4));
     w39.XOptions     = ((global::Gtk.AttachOptions)(4));
     w39.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.yspinCabineCount          = new global::Gamma.GtkWidgets.ySpinButton(0, 100, 1);
     this.yspinCabineCount.CanFocus = true;
     this.yspinCabineCount.Name     = "yspinCabineCount";
     this.yspinCabineCount.Adjustment.PageIncrement = 10;
     this.yspinCabineCount.ClimbRate      = 1;
     this.yspinCabineCount.Numeric        = true;
     this.yspinCabineCount.ValueAsDecimal = 0m;
     this.yspinCabineCount.ValueAsInt     = 0;
     this.table2.Add(this.yspinCabineCount);
     global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table2 [this.yspinCabineCount]));
     w40.TopAttach    = ((uint)(1));
     w40.BottomAttach = ((uint)(2));
     w40.LeftAttach   = ((uint)(3));
     w40.RightAttach  = ((uint)(4));
     w40.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.yspinDeliveryCost          = new global::Gamma.GtkWidgets.ySpinButton(0, 1000000, 100);
     this.yspinDeliveryCost.CanFocus = true;
     this.yspinDeliveryCost.Name     = "yspinDeliveryCost";
     this.yspinDeliveryCost.Adjustment.PageIncrement = 1000;
     this.yspinDeliveryCost.ClimbRate      = 1;
     this.yspinDeliveryCost.Digits         = ((uint)(2));
     this.yspinDeliveryCost.Numeric        = true;
     this.yspinDeliveryCost.ValueAsDecimal = 0m;
     this.yspinDeliveryCost.ValueAsInt     = 0;
     this.table2.Add(this.yspinDeliveryCost);
     global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table2 [this.yspinDeliveryCost]));
     w41.TopAttach    = ((uint)(3));
     w41.BottomAttach = ((uint)(4));
     w41.LeftAttach   = ((uint)(1));
     w41.RightAttach  = ((uint)(2));
     w41.XOptions     = ((global::Gtk.AttachOptions)(4));
     w41.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table2);
     global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table2]));
     w42.Position = 2;
     w42.Expand   = false;
     w42.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.contractshortleaseadressesview1        = new global::BioGorod.Dialogs.Client.ContractShortLeaseAdressesView();
     this.contractshortleaseadressesview1.Events = ((global::Gdk.EventMask)(256));
     this.contractshortleaseadressesview1.Name   = "contractshortleaseadressesview1";
     this.vbox1.Add(this.contractshortleaseadressesview1);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.contractshortleaseadressesview1]));
     w43.Position = 3;
     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);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.Dialogs.Employees.M2ProxyDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.Dialogs.Employees.M2ProxyDlg";
     // Container child Vodovoz.Dialogs.Employees.M2ProxyDlg.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.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(8)), ((uint)(3)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.lblDatesRange           = new global::Gtk.Label();
     this.lblDatesRange.Name      = "lblDatesRange";
     this.lblDatesRange.Xalign    = 1F;
     this.lblDatesRange.LabelProp = global::Mono.Unix.Catalog.GetString("Срок действия с");
     this.lblDatesRange.Justify   = ((global::Gtk.Justification)(1));
     this.table1.Add(this.lblDatesRange);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.lblDatesRange]));
     w6.TopAttach    = ((uint)(3));
     w6.BottomAttach = ((uint)(4));
     w6.XOptions     = ((global::Gtk.AttachOptions)(4));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lblEmployee           = new global::Gtk.Label();
     this.lblEmployee.Name      = "lblEmployee";
     this.lblEmployee.Xalign    = 1F;
     this.lblEmployee.LabelProp = global::Mono.Unix.Catalog.GetString("Выдана сотруднику");
     this.lblEmployee.Justify   = ((global::Gtk.Justification)(1));
     this.table1.Add(this.lblEmployee);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.lblEmployee]));
     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.lblForOrder           = new global::Gtk.Label();
     this.lblForOrder.Name      = "lblForOrder";
     this.lblForOrder.Xalign    = 1F;
     this.lblForOrder.LabelProp = global::Mono.Unix.Catalog.GetString("Заполнить для заказа");
     this.lblForOrder.Justify   = ((global::Gtk.Justification)(1));
     this.table1.Add(this.lblForOrder);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.lblForOrder]));
     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.lblOrganisation           = new global::Gtk.Label();
     this.lblOrganisation.Name      = "lblOrganisation";
     this.lblOrganisation.Xalign    = 1F;
     this.lblOrganisation.LabelProp = global::Mono.Unix.Catalog.GetString("Организация");
     this.lblOrganisation.Justify   = ((global::Gtk.Justification)(1));
     this.table1.Add(this.lblOrganisation);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.lblOrganisation]));
     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.lblSupplier           = new global::Gtk.Label();
     this.lblSupplier.Name      = "lblSupplier";
     this.lblSupplier.Xalign    = 1F;
     this.lblSupplier.LabelProp = global::Mono.Unix.Catalog.GetString("Поставщик");
     this.lblSupplier.Justify   = ((global::Gtk.Justification)(1));
     this.table1.Add(this.lblSupplier);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.lblSupplier]));
     w10.TopAttach    = ((uint)(5));
     w10.BottomAttach = ((uint)(6));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     w10.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lblTicketDate           = new global::Gtk.Label();
     this.lblTicketDate.Name      = "lblTicketDate";
     this.lblTicketDate.Xalign    = 1F;
     this.lblTicketDate.LabelProp = global::Mono.Unix.Catalog.GetString("Дата наряда");
     this.lblTicketDate.Justify   = ((global::Gtk.Justification)(1));
     this.table1.Add(this.lblTicketDate);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.lblTicketDate]));
     w11.TopAttach    = ((uint)(7));
     w11.BottomAttach = ((uint)(8));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lblTicketNr           = new global::Gtk.Label();
     this.lblTicketNr.Name      = "lblTicketNr";
     this.lblTicketNr.Xalign    = 1F;
     this.lblTicketNr.LabelProp = global::Mono.Unix.Catalog.GetString("Номер наряда");
     this.lblTicketNr.Justify   = ((global::Gtk.Justification)(1));
     this.table1.Add(this.lblTicketNr);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.lblTicketNr]));
     w12.TopAttach    = ((uint)(6));
     w12.BottomAttach = ((uint)(7));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yDPDatesRange           = new global::QS.Widgets.GtkUI.DateRangePicker();
     this.yDPDatesRange.Events    = ((global::Gdk.EventMask)(256));
     this.yDPDatesRange.Name      = "yDPDatesRange";
     this.yDPDatesRange.StartDate = new global::System.DateTime(0);
     this.yDPDatesRange.EndDate   = new global::System.DateTime(0);
     this.table1.Add(this.yDPDatesRange);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.yDPDatesRange]));
     w13.TopAttach    = ((uint)(3));
     w13.BottomAttach = ((uint)(4));
     w13.LeftAttach   = ((uint)(1));
     w13.RightAttach  = ((uint)(3));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yDTicketDate                    = new global::QS.Widgets.GtkUI.DatePicker();
     this.yDTicketDate.Events             = ((global::Gdk.EventMask)(256));
     this.yDTicketDate.Name               = "yDTicketDate";
     this.yDTicketDate.WithTime           = false;
     this.yDTicketDate.HideCalendarButton = false;
     this.yDTicketDate.Date               = new global::System.DateTime(636818976000000000);
     this.yDTicketDate.IsEditable         = true;
     this.yDTicketDate.AutoSeparation     = true;
     this.table1.Add(this.yDTicketDate);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.yDTicketDate]));
     w14.TopAttach    = ((uint)(7));
     w14.BottomAttach = ((uint)(8));
     w14.LeftAttach   = ((uint)(1));
     w14.RightAttach  = ((uint)(3));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yEEmployee        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.yEEmployee.Events = ((global::Gdk.EventMask)(256));
     this.yEEmployee.Name   = "yEEmployee";
     this.table1.Add(this.yEEmployee);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.yEEmployee]));
     w15.TopAttach    = ((uint)(4));
     w15.BottomAttach = ((uint)(5));
     w15.LeftAttach   = ((uint)(1));
     w15.RightAttach  = ((uint)(3));
     w15.XOptions     = ((global::Gtk.AttachOptions)(4));
     w15.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yEForOrder        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.yEForOrder.Events = ((global::Gdk.EventMask)(256));
     this.yEForOrder.Name   = "yEForOrder";
     this.table1.Add(this.yEForOrder);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.yEForOrder]));
     w16.TopAttach    = ((uint)(1));
     w16.BottomAttach = ((uint)(2));
     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.yentryOrganization        = new global::Gamma.Widgets.yEntryReference();
     this.yentryOrganization.Events = ((global::Gdk.EventMask)(256));
     this.yentryOrganization.Name   = "yentryOrganization";
     this.table1.Add(this.yentryOrganization);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryOrganization]));
     w17.TopAttach    = ((uint)(2));
     w17.BottomAttach = ((uint)(3));
     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.yESupplier        = new global::QS.Widgets.GtkUI.RepresentationEntry();
     this.yESupplier.Events = ((global::Gdk.EventMask)(256));
     this.yESupplier.Name   = "yESupplier";
     this.table1.Add(this.yESupplier);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.yESupplier]));
     w18.TopAttach    = ((uint)(5));
     w18.BottomAttach = ((uint)(6));
     w18.LeftAttach   = ((uint)(1));
     w18.RightAttach  = ((uint)(3));
     w18.XOptions     = ((global::Gtk.AttachOptions)(4));
     w18.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yETicketNr               = new global::Gamma.GtkWidgets.yEntry();
     this.yETicketNr.CanFocus      = true;
     this.yETicketNr.Name          = "yETicketNr";
     this.yETicketNr.IsEditable    = true;
     this.yETicketNr.InvisibleChar = '●';
     this.table1.Add(this.yETicketNr);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.yETicketNr]));
     w19.TopAttach    = ((uint)(6));
     w19.BottomAttach = ((uint)(7));
     w19.LeftAttach   = ((uint)(1));
     w19.RightAttach  = ((uint)(3));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ylabelNumber        = new global::Gamma.GtkWidgets.yLabel();
     this.ylabelNumber.Name   = "ylabelNumber";
     this.ylabelNumber.Xalign = 0F;
     this.table1.Add(this.ylabelNumber);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.ylabelNumber]));
     w20.RightAttach = ((uint)(2));
     w20.XOptions    = ((global::Gtk.AttachOptions)(4));
     w20.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.hbox2.Add(this.table1);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.table1]));
     w21.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.templatewidget                 = new global::QSDocTemplates.TemplateWidget();
     this.templatewidget.Events          = ((global::Gdk.EventMask)(256));
     this.templatewidget.Name            = "templatewidget";
     this.templatewidget.CanRevertCommon = false;
     this.hbox2.Add(this.templatewidget);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.templatewidget]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     this.vbox2.Add(this.hbox2);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2]));
     w23.Position = 1;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.lblEquipment           = new global::Gtk.Label();
     this.lblEquipment.Name      = "lblEquipment";
     this.lblEquipment.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Оборудование от клиента из заказа</b>");
     this.lblEquipment.UseMarkup = true;
     this.vbox2.Add(this.lblEquipment);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.lblEquipment]));
     w24.Position = 2;
     w24.Expand   = false;
     w24.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.yTWEquipment          = new global::Gamma.GtkWidgets.yTreeView();
     this.yTWEquipment.CanFocus = true;
     this.yTWEquipment.Name     = "yTWEquipment";
     this.GtkScrolledWindow.Add(this.yTWEquipment);
     this.vbox2.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow]));
     w26.Position = 3;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }