protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.EquipmentGenerator
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this);
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default");
     this.UIManager.InsertActionGroup (w2, 0);
     this.Name = "Vodovoz.EquipmentGenerator";
     // Container child Vodovoz.EquipmentGenerator.Gtk.Container+ContainerChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.datavbox1 = new global::Gtk.DataBindings.DataVBox ();
     this.datavbox1.Name = "datavbox1";
     this.datavbox1.Spacing = 6;
     this.datavbox1.InheritedDataSource = false;
     this.datavbox1.InheritedBoundaryDataSource = false;
     this.datavbox1.InheritedDataSource = false;
     this.datavbox1.InheritedBoundaryDataSource = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.Xalign = 0F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Регистрация оборудования</b>");
     this.label1.UseMarkup = true;
     this.datavbox1.Add (this.label1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.label1]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.hseparator1 = new global::Gtk.HSeparator ();
     this.hseparator1.Name = "hseparator1";
     this.datavbox1.Add (this.hseparator1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.hseparator1]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table (((uint)(4)), ((uint)(2)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.Xalign = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Модель:");
     this.table1.Add (this.label2);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w5.TopAttach = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.Xalign = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Количество:");
     this.table1.Add (this.label3);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w6.TopAttach = ((uint)(2));
     w6.BottomAttach = ((uint)(3));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.Xalign = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Номенклатура:");
     this.table1.Add (this.label4);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.Xalign = 1F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Окончание гарантии:");
     this.table1.Add (this.label5);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5]));
     w8.TopAttach = ((uint)(3));
     w8.BottomAttach = ((uint)(4));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelModel = new global::Gtk.Label ();
     this.labelModel.Name = "labelModel";
     this.labelModel.LabelProp = global::Mono.Unix.Catalog.GetString ("--//--");
     this.table1.Add (this.labelModel);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelModel]));
     w9.TopAttach = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.LeftAttach = ((uint)(1));
     w9.RightAttach = ((uint)(2));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.referenceNomenclature = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceNomenclature.Events = ((global::Gdk.EventMask)(256));
     this.referenceNomenclature.Name = "referenceNomenclature";
     this.referenceNomenclature.DisplayFields = new string[] {
         "Name"
     };
     this.referenceNomenclature.InheritedDataSource = false;
     this.referenceNomenclature.InheritedBoundaryDataSource = false;
     this.referenceNomenclature.CursorPointsEveryType = false;
     this.table1.Add (this.referenceNomenclature);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.referenceNomenclature]));
     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.spinAmount = new global::Gtk.SpinButton (0, 100, 1);
     this.spinAmount.CanFocus = true;
     this.spinAmount.Name = "spinAmount";
     this.spinAmount.Adjustment.PageIncrement = 10;
     this.spinAmount.ClimbRate = 1;
     this.spinAmount.Numeric = true;
     this.table1.Add (this.spinAmount);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.spinAmount]));
     w11.TopAttach = ((uint)(2));
     w11.BottomAttach = ((uint)(3));
     w11.LeftAttach = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ydatepickerWarrantyEnd = new global::Gamma.Widgets.yDatePicker ();
     this.ydatepickerWarrantyEnd.Events = ((global::Gdk.EventMask)(256));
     this.ydatepickerWarrantyEnd.Name = "ydatepickerWarrantyEnd";
     this.ydatepickerWarrantyEnd.WithTime = false;
     this.ydatepickerWarrantyEnd.Date = new global::System.DateTime (0);
     this.ydatepickerWarrantyEnd.IsEditable = true;
     this.ydatepickerWarrantyEnd.AutoSeparation = false;
     this.table1.Add (this.ydatepickerWarrantyEnd);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.ydatepickerWarrantyEnd]));
     w12.TopAttach = ((uint)(3));
     w12.BottomAttach = ((uint)(4));
     w12.LeftAttach = ((uint)(1));
     w12.RightAttach = ((uint)(2));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     this.datavbox1.Add (this.table1);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.table1]));
     w13.Position = 2;
     w13.Expand = false;
     w13.Fill = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.buttonCreate = new global::Gtk.Button ();
     this.buttonCreate.Sensitive = false;
     this.buttonCreate.CanFocus = true;
     this.buttonCreate.Name = "buttonCreate";
     this.buttonCreate.UseUnderline = true;
     this.buttonCreate.Label = global::Mono.Unix.Catalog.GetString ("Зарегистрировать оборудование");
     global::Gtk.Image w14 = new global::Gtk.Image ();
     w14.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonCreate.Image = w14;
     this.datavbox1.Add (this.buttonCreate);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.buttonCreate]));
     w15.Position = 3;
     w15.Expand = false;
     w15.Fill = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.Xalign = 0F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Формирование наклеек</b>");
     this.label6.UseMarkup = true;
     this.datavbox1.Add (this.label6);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.label6]));
     w16.Position = 4;
     w16.Expand = false;
     w16.Fill = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.printTwo = new global::Gtk.CheckButton ();
     this.printTwo.CanFocus = true;
     this.printTwo.Name = "printTwo";
     this.printTwo.Label = global::Mono.Unix.Catalog.GetString ("Печатать по 2 наклейки");
     this.printTwo.Active = true;
     this.printTwo.DrawIndicator = true;
     this.printTwo.UseUnderline = true;
     this.datavbox1.Add (this.printTwo);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.printTwo]));
     w17.Position = 5;
     w17.Expand = false;
     w17.Fill = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonAddAndClose = new global::Gtk.Button ();
     this.buttonAddAndClose.Sensitive = false;
     this.buttonAddAndClose.CanFocus = true;
     this.buttonAddAndClose.Name = "buttonAddAndClose";
     this.buttonAddAndClose.UseUnderline = true;
     this.buttonAddAndClose.Label = global::Mono.Unix.Catalog.GetString ("Добавить в накладную и закрыть");
     global::Gtk.Image w18 = new global::Gtk.Image ();
     w18.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu);
     this.buttonAddAndClose.Image = w18;
     this.hbox4.Add (this.buttonAddAndClose);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonAddAndClose]));
     w19.Position = 0;
     this.datavbox1.Add (this.hbox4);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.hbox4]));
     w20.Position = 6;
     w20.Expand = false;
     w20.Fill = false;
     this.hbox2.Add (this.datavbox1);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.datavbox1]));
     w21.Position = 0;
     w21.Expand = false;
     w21.Fill = false;
     w21.Padding = ((uint)(5));
     // Container child hbox2.Gtk.Box+BoxChild
     this.vseparator1 = new global::Gtk.VSeparator ();
     this.vseparator1.Name = "vseparator1";
     this.hbox2.Add (this.vseparator1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vseparator1]));
     w22.Position = 1;
     w22.Expand = false;
     w22.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.reportviewer2 = new global::fyiReporting.RdlGtkViewer.ReportViewer ();
     this.reportviewer2.WidthRequest = 0;
     this.reportviewer2.HeightRequest = 0;
     this.reportviewer2.Events = ((global::Gdk.EventMask)(256));
     this.reportviewer2.Name = "reportviewer2";
     this.reportviewer2.ShowErrors = false;
     this.reportviewer2.ShowParameters = false;
     this.hbox2.Add (this.reportviewer2);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.reportviewer2]));
     w23.Position = 2;
     w23.Padding = ((uint)(5));
     this.Add (this.hbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     w1.SetUiManager (UIManager);
     this.Hide ();
     this.spinAmount.ValueChanged += new global::System.EventHandler (this.OnSpinAmountValueChanged);
     this.referenceNomenclature.Changed += new global::System.EventHandler (this.OnReferenceNomenclatureChanged);
     this.buttonCreate.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
     this.printTwo.Toggled += new global::System.EventHandler (this.OnPrintTwoToggled);
     this.buttonAddAndClose.Clicked += new global::System.EventHandler (this.OnButtonAddAndCloseClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.WriteoffDocumentDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.WriteoffDocumentDlg";
     // Container child Vodovoz.WriteoffDocumentDlg.Gtk.Container+ContainerChild
     this.vbox4 = new global::Gtk.VBox ();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     this.vbox4.BorderWidth = ((uint)(6));
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox5 = new global::Gtk.HBox ();
     this.hbox5.Name = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.buttonSave = new global::Gtk.Button ();
     this.buttonSave.CanFocus = true;
     this.buttonSave.Name = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить");
     global::Gtk.Image w1 = new global::Gtk.Image ();
     w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w1;
     this.hbox5.Add (this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonSave]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.buttonCancel = new global::Gtk.Button ();
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить");
     global::Gtk.Image w3 = new global::Gtk.Image ();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w3;
     this.hbox5.Add (this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonCancel]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.buttonPrint = new global::Gtk.Button ();
     this.buttonPrint.CanFocus = true;
     this.buttonPrint.Name = "buttonPrint";
     this.buttonPrint.UseUnderline = true;
     this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString ("Печать");
     global::Gtk.Image w5 = new global::Gtk.Image ();
     w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-print", global::Gtk.IconSize.Menu);
     this.buttonPrint.Image = w5;
     this.hbox5.Add (this.buttonPrint);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonPrint]));
     w6.PackType = ((global::Gtk.PackType)(1));
     w6.Position = 2;
     w6.Expand = false;
     w6.Fill = false;
     this.vbox4.Add (this.hbox5);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox5]));
     w7.Position = 0;
     w7.Expand = false;
     w7.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.tableWriteoff = new global::Gtk.DataBindings.DataTable (((uint)(4)), ((uint)(4)), false);
     this.tableWriteoff.Name = "tableWriteoff";
     this.tableWriteoff.RowSpacing = ((uint)(6));
     this.tableWriteoff.ColumnSpacing = ((uint)(6));
     this.tableWriteoff.InheritedDataSource = false;
     this.tableWriteoff.InheritedBoundaryDataSource = false;
     this.tableWriteoff.InheritedDataSource = false;
     this.tableWriteoff.InheritedBoundaryDataSource = false;
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.comboType = new global::QSOrmProject.EnumComboBox ();
     this.comboType.CanFocus = true;
     this.comboType.Name = "comboType";
     this.comboType.ItemsEnumName = "";
     this.comboType.ShowSpecialStateAll = false;
     this.comboType.ShowSpecialStateNot = false;
     this.tableWriteoff.Add (this.comboType);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.comboType]));
     w8.TopAttach = ((uint)(1));
     w8.BottomAttach = ((uint)(2));
     w8.LeftAttach = ((uint)(1));
     w8.RightAttach = ((uint)(2));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.textComment = new global::Gtk.DataBindings.DataTextView ();
     this.textComment.CanFocus = true;
     this.textComment.Name = "textComment";
     this.textComment.InheritedDataSource = true;
     this.textComment.Mappings = "Comment";
     this.textComment.InheritedBoundaryDataSource = false;
     this.textComment.InheritedDataSource = true;
     this.textComment.Mappings = "Comment";
     this.textComment.InheritedBoundaryDataSource = false;
     this.GtkScrolledWindow1.Add (this.textComment);
     this.tableWriteoff.Add (this.GtkScrolledWindow1);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.GtkScrolledWindow1]));
     w10.TopAttach = ((uint)(3));
     w10.BottomAttach = ((uint)(4));
     w10.LeftAttach = ((uint)(1));
     w10.RightAttach = ((uint)(4));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.Xalign = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата:");
     this.tableWriteoff.Add (this.label1);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label1]));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.label12 = new global::Gtk.Label ();
     this.label12.Name = "label12";
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Ответственное лицо:");
     this.tableWriteoff.Add (this.label12);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label12]));
     w12.LeftAttach = ((uint)(2));
     w12.RightAttach = ((uint)(3));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.Xalign = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Тип списания:");
     this.tableWriteoff.Add (this.label2);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label2]));
     w13.TopAttach = ((uint)(1));
     w13.BottomAttach = ((uint)(2));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.Xalign = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Склад:");
     this.tableWriteoff.Add (this.label4);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label4]));
     w14.TopAttach = ((uint)(1));
     w14.BottomAttach = ((uint)(2));
     w14.LeftAttach = ((uint)(2));
     w14.RightAttach = ((uint)(3));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.Xalign = 1F;
     this.label5.Yalign = 0F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Комментарий:");
     this.tableWriteoff.Add (this.label5);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label5]));
     w15.TopAttach = ((uint)(3));
     w15.BottomAttach = ((uint)(4));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.Xalign = 1F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Клиент:");
     this.tableWriteoff.Add (this.label6);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label6]));
     w16.TopAttach = ((uint)(2));
     w16.BottomAttach = ((uint)(3));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.label7 = new global::Gtk.Label ();
     this.label7.Name = "label7";
     this.label7.Xalign = 1F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Точка доставки:");
     this.tableWriteoff.Add (this.label7);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label7]));
     w17.TopAttach = ((uint)(2));
     w17.BottomAttach = ((uint)(3));
     w17.LeftAttach = ((uint)(2));
     w17.RightAttach = ((uint)(3));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.labelTimeStamp = new global::Gtk.DataBindings.DataLabel ();
     this.labelTimeStamp.Name = "labelTimeStamp";
     this.labelTimeStamp.Xalign = 0F;
     this.labelTimeStamp.InheritedDataSource = true;
     this.labelTimeStamp.Mappings = "DateString";
     this.labelTimeStamp.InheritedBoundaryDataSource = false;
     this.labelTimeStamp.Important = false;
     this.labelTimeStamp.InheritedDataSource = true;
     this.labelTimeStamp.Mappings = "DateString";
     this.labelTimeStamp.InheritedBoundaryDataSource = false;
     this.tableWriteoff.Add (this.labelTimeStamp);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.labelTimeStamp]));
     w18.LeftAttach = ((uint)(1));
     w18.RightAttach = ((uint)(2));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.referenceCounterparty = new global::Gamma.Widgets.yEntryReferenceVM ();
     this.referenceCounterparty.Events = ((global::Gdk.EventMask)(256));
     this.referenceCounterparty.Name = "referenceCounterparty";
     this.tableWriteoff.Add (this.referenceCounterparty);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.referenceCounterparty]));
     w19.TopAttach = ((uint)(2));
     w19.BottomAttach = ((uint)(3));
     w19.LeftAttach = ((uint)(1));
     w19.RightAttach = ((uint)(2));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.referenceDeliveryPoint = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceDeliveryPoint.Events = ((global::Gdk.EventMask)(256));
     this.referenceDeliveryPoint.Name = "referenceDeliveryPoint";
     this.referenceDeliveryPoint.DisplayFields = new string[] {
         "CompiledAddress"
     };
     this.referenceDeliveryPoint.DisplayFormatString = "{0}";
     this.referenceDeliveryPoint.InheritedDataSource = true;
     this.referenceDeliveryPoint.Mappings = "DeliveryPoint";
     this.referenceDeliveryPoint.InheritedBoundaryDataSource = false;
     this.referenceDeliveryPoint.CursorPointsEveryType = false;
     this.tableWriteoff.Add (this.referenceDeliveryPoint);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.referenceDeliveryPoint]));
     w20.TopAttach = ((uint)(2));
     w20.BottomAttach = ((uint)(3));
     w20.LeftAttach = ((uint)(3));
     w20.RightAttach = ((uint)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.referenceEmployee = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceEmployee.Events = ((global::Gdk.EventMask)(256));
     this.referenceEmployee.Name = "referenceEmployee";
     this.referenceEmployee.DisplayFields = new string[] {
         "FullName"
     };
     this.referenceEmployee.DisplayFormatString = "{0}";
     this.referenceEmployee.InheritedDataSource = true;
     this.referenceEmployee.Mappings = "ResponsibleEmployee";
     this.referenceEmployee.InheritedBoundaryDataSource = false;
     this.referenceEmployee.CursorPointsEveryType = false;
     this.tableWriteoff.Add (this.referenceEmployee);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.referenceEmployee]));
     w21.LeftAttach = ((uint)(3));
     w21.RightAttach = ((uint)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.referenceWarehouse = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceWarehouse.Events = ((global::Gdk.EventMask)(256));
     this.referenceWarehouse.Name = "referenceWarehouse";
     this.referenceWarehouse.DisplayFields = new string[] {
         "Name"
     };
     this.referenceWarehouse.DisplayFormatString = "{0}";
     this.referenceWarehouse.InheritedDataSource = true;
     this.referenceWarehouse.Mappings = "WriteoffWarehouse";
     this.referenceWarehouse.InheritedBoundaryDataSource = false;
     this.referenceWarehouse.CursorPointsEveryType = false;
     this.tableWriteoff.Add (this.referenceWarehouse);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.referenceWarehouse]));
     w22.TopAttach = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.LeftAttach = ((uint)(3));
     w22.RightAttach = ((uint)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox4.Add (this.tableWriteoff);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.tableWriteoff]));
     w23.Position = 1;
     w23.Expand = false;
     w23.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.writeoffdocumentitemsview1 = new global::Vodovoz.WriteoffDocumentItemsView ();
     this.writeoffdocumentitemsview1.Events = ((global::Gdk.EventMask)(256));
     this.writeoffdocumentitemsview1.Name = "writeoffdocumentitemsview1";
     this.vbox4.Add (this.writeoffdocumentitemsview1);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.writeoffdocumentitemsview1]));
     w24.PackType = ((global::Gtk.PackType)(1));
     w24.Position = 2;
     this.Add (this.vbox4);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Hide ();
     this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked);
     this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked);
     this.buttonPrint.Clicked += new global::System.EventHandler (this.OnButtonPrintClicked);
     this.referenceCounterparty.Changed += new global::System.EventHandler (this.OnReferenceCounterpartyChanged);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.PaidRentPackageDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.PaidRentPackageDlg";
     // Container child Vodovoz.PaidRentPackageDlg.Gtk.Container+ContainerChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonSave = new global::Gtk.Button ();
     this.buttonSave.CanFocus = true;
     this.buttonSave.Name = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить");
     global::Gtk.Image w1 = new global::Gtk.Image ();
     w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w1;
     this.hbox1.Add (this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonSave]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonCancel = new global::Gtk.Button ();
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить");
     global::Gtk.Image w3 = new global::Gtk.Image ();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w3;
     this.hbox1.Add (this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     this.vbox2.Add (this.hbox1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.datatable1 = new global::Gtk.DataBindings.DataTable (((uint)(8)), ((uint)(2)), false);
     this.datatable1.Name = "datatable1";
     this.datatable1.RowSpacing = ((uint)(6));
     this.datatable1.ColumnSpacing = ((uint)(6));
     this.datatable1.BorderWidth = ((uint)(6));
     this.datatable1.InheritedDataSource = false;
     this.datatable1.InheritedBoundaryDataSource = false;
     this.datatable1.InheritedDataSource = false;
     this.datatable1.InheritedBoundaryDataSource = false;
     // Container child datatable1.Gtk.Table+TableChild
     this.dataentryName = new global::Gtk.DataBindings.DataEntry ();
     this.dataentryName.CanFocus = true;
     this.dataentryName.Name = "dataentryName";
     this.dataentryName.IsEditable = true;
     this.dataentryName.InvisibleChar = '●';
     this.dataentryName.InheritedDataSource = true;
     this.dataentryName.Mappings = "Name";
     this.dataentryName.InheritedBoundaryDataSource = false;
     this.dataentryName.InheritedDataSource = true;
     this.dataentryName.Mappings = "Name";
     this.dataentryName.InheritedBoundaryDataSource = false;
     this.datatable1.Add (this.dataentryName);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentryName]));
     w6.LeftAttach = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.hbox6 = new global::Gtk.HBox ();
     this.hbox6.Name = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.spinPriceDaily = new global::Gtk.DataBindings.DataSpinButton (0, 9000000, 1);
     this.spinPriceDaily.CanFocus = true;
     this.spinPriceDaily.Name = "spinPriceDaily";
     this.spinPriceDaily.Adjustment.PageIncrement = 10;
     this.spinPriceDaily.ClimbRate = 1;
     this.spinPriceDaily.Digits = ((uint)(2));
     this.spinPriceDaily.Numeric = true;
     this.spinPriceDaily.InheritedDataSource = true;
     this.spinPriceDaily.Mappings = "PriceDaily";
     this.spinPriceDaily.InheritedBoundaryDataSource = false;
     this.spinPriceDaily.InheritedDataSource = true;
     this.spinPriceDaily.Mappings = "PriceDaily";
     this.spinPriceDaily.InheritedBoundaryDataSource = false;
     this.hbox6.Add (this.spinPriceDaily);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.spinPriceDaily]));
     w7.Position = 0;
     // Container child hbox6.Gtk.Box+BoxChild
     this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel ();
     this.currencylabel1.Name = "currencylabel1";
     this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("currencylabel1");
     this.hbox6.Add (this.currencylabel1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.currencylabel1]));
     w8.Position = 1;
     w8.Expand = false;
     w8.Fill = false;
     this.datatable1.Add (this.hbox6);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.hbox6]));
     w9.TopAttach = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.LeftAttach = ((uint)(1));
     w9.RightAttach = ((uint)(2));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.hbox7 = new global::Gtk.HBox ();
     this.hbox7.Name = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.spinPriceMonthly = new global::Gtk.DataBindings.DataSpinButton (0, 9000000, 1);
     this.spinPriceMonthly.CanFocus = true;
     this.spinPriceMonthly.Name = "spinPriceMonthly";
     this.spinPriceMonthly.Adjustment.PageIncrement = 10;
     this.spinPriceMonthly.ClimbRate = 1;
     this.spinPriceMonthly.Digits = ((uint)(2));
     this.spinPriceMonthly.Numeric = true;
     this.spinPriceMonthly.InheritedDataSource = true;
     this.spinPriceMonthly.Mappings = "PriceMonthly";
     this.spinPriceMonthly.InheritedBoundaryDataSource = false;
     this.spinPriceMonthly.InheritedDataSource = true;
     this.spinPriceMonthly.Mappings = "PriceMonthly";
     this.spinPriceMonthly.InheritedBoundaryDataSource = false;
     this.hbox7.Add (this.spinPriceMonthly);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.spinPriceMonthly]));
     w10.Position = 0;
     // Container child hbox7.Gtk.Box+BoxChild
     this.currencylabel2 = new global::QSProjectsLib.CurrencyLabel ();
     this.currencylabel2.Name = "currencylabel2";
     this.currencylabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("currencylabel1");
     this.hbox7.Add (this.currencylabel2);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.currencylabel2]));
     w11.Position = 1;
     w11.Expand = false;
     w11.Fill = false;
     this.datatable1.Add (this.hbox7);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.hbox7]));
     w12.TopAttach = ((uint)(3));
     w12.BottomAttach = ((uint)(4));
     w12.LeftAttach = ((uint)(1));
     w12.RightAttach = ((uint)(2));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.hbox8 = new global::Gtk.HBox ();
     this.hbox8.Name = "hbox8";
     this.hbox8.Spacing = 6;
     // Container child hbox8.Gtk.Box+BoxChild
     this.spinDeposit = new global::Gtk.DataBindings.DataSpinButton (0, 99999, 1);
     this.spinDeposit.CanFocus = true;
     this.spinDeposit.Name = "spinDeposit";
     this.spinDeposit.Adjustment.PageIncrement = 10;
     this.spinDeposit.ClimbRate = 1;
     this.spinDeposit.Digits = ((uint)(2));
     this.spinDeposit.Numeric = true;
     this.spinDeposit.InheritedDataSource = true;
     this.spinDeposit.Mappings = "Deposit";
     this.spinDeposit.InheritedBoundaryDataSource = false;
     this.spinDeposit.InheritedDataSource = true;
     this.spinDeposit.Mappings = "Deposit";
     this.spinDeposit.InheritedBoundaryDataSource = false;
     this.hbox8.Add (this.spinDeposit);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.spinDeposit]));
     w13.Position = 0;
     // Container child hbox8.Gtk.Box+BoxChild
     this.currencylabel3 = new global::QSProjectsLib.CurrencyLabel ();
     this.currencylabel3.Name = "currencylabel3";
     this.currencylabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("currencylabel1");
     this.hbox8.Add (this.currencylabel3);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.currencylabel3]));
     w14.Position = 1;
     w14.Expand = false;
     w14.Fill = false;
     this.datatable1.Add (this.hbox8);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.hbox8]));
     w15.TopAttach = ((uint)(6));
     w15.BottomAttach = ((uint)(7));
     w15.LeftAttach = ((uint)(1));
     w15.RightAttach = ((uint)(2));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.Xalign = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Название:");
     this.datatable1.Add (this.label1);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label1]));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.Xalign = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Услуга посуточной \nаренды:");
     this.label3.Justify = ((global::Gtk.Justification)(1));
     this.datatable1.Add (this.label3);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label3]));
     w17.TopAttach = ((uint)(2));
     w17.BottomAttach = ((uint)(3));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.Xalign = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Стоимость (месяц):");
     this.datatable1.Add (this.label4);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label4]));
     w18.TopAttach = ((uint)(3));
     w18.BottomAttach = ((uint)(4));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.Xalign = 1F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Услуга залога:");
     this.datatable1.Add (this.label5);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label5]));
     w19.TopAttach = ((uint)(7));
     w19.BottomAttach = ((uint)(8));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.Xalign = 1F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Стоимость (сутки):");
     this.datatable1.Add (this.label6);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label6]));
     w20.TopAttach = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label7 = new global::Gtk.Label ();
     this.label7.Name = "label7";
     this.label7.Xalign = 1F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Тип оборудования:");
     this.datatable1.Add (this.label7);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label7]));
     w21.TopAttach = ((uint)(5));
     w21.BottomAttach = ((uint)(6));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label8 = new global::Gtk.Label ();
     this.label8.Name = "label8";
     this.label8.Xalign = 1F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Услуга долгосрочной\nаренды:");
     this.label8.Justify = ((global::Gtk.Justification)(1));
     this.datatable1.Add (this.label8);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label8]));
     w22.TopAttach = ((uint)(4));
     w22.BottomAttach = ((uint)(5));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label9 = new global::Gtk.Label ();
     this.label9.Name = "label9";
     this.label9.Xalign = 1F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Сумма залога:");
     this.datatable1.Add (this.label9);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label9]));
     w23.TopAttach = ((uint)(6));
     w23.BottomAttach = ((uint)(7));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.referenceDepositService = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceDepositService.Events = ((global::Gdk.EventMask)(256));
     this.referenceDepositService.Name = "referenceDepositService";
     this.referenceDepositService.DisplayFields = new string[] {
         "Name"
     };
     this.referenceDepositService.DisplayFormatString = "{0}";
     this.referenceDepositService.InheritedDataSource = true;
     this.referenceDepositService.Mappings = "DepositService";
     this.referenceDepositService.InheritedBoundaryDataSource = false;
     this.referenceDepositService.CursorPointsEveryType = false;
     this.datatable1.Add (this.referenceDepositService);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceDepositService]));
     w24.TopAttach = ((uint)(7));
     w24.BottomAttach = ((uint)(8));
     w24.LeftAttach = ((uint)(1));
     w24.RightAttach = ((uint)(2));
     w24.XOptions = ((global::Gtk.AttachOptions)(4));
     w24.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.referenceEquipmentType = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceEquipmentType.Events = ((global::Gdk.EventMask)(256));
     this.referenceEquipmentType.Name = "referenceEquipmentType";
     this.referenceEquipmentType.DisplayFields = new string[] {
         "Name"
     };
     this.referenceEquipmentType.DisplayFormatString = "{0}";
     this.referenceEquipmentType.InheritedDataSource = true;
     this.referenceEquipmentType.Mappings = "EquipmentType";
     this.referenceEquipmentType.InheritedBoundaryDataSource = false;
     this.referenceEquipmentType.CursorPointsEveryType = false;
     this.datatable1.Add (this.referenceEquipmentType);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceEquipmentType]));
     w25.TopAttach = ((uint)(5));
     w25.BottomAttach = ((uint)(6));
     w25.LeftAttach = ((uint)(1));
     w25.RightAttach = ((uint)(2));
     w25.XOptions = ((global::Gtk.AttachOptions)(4));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.referenceRentServiceDaily = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceRentServiceDaily.Events = ((global::Gdk.EventMask)(256));
     this.referenceRentServiceDaily.Name = "referenceRentServiceDaily";
     this.referenceRentServiceDaily.DisplayFields = new string[] {
         "Name"
     };
     this.referenceRentServiceDaily.DisplayFormatString = "{0}";
     this.referenceRentServiceDaily.InheritedDataSource = true;
     this.referenceRentServiceDaily.Mappings = "RentServiceDaily";
     this.referenceRentServiceDaily.InheritedBoundaryDataSource = false;
     this.referenceRentServiceDaily.CursorPointsEveryType = false;
     this.datatable1.Add (this.referenceRentServiceDaily);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceRentServiceDaily]));
     w26.TopAttach = ((uint)(2));
     w26.BottomAttach = ((uint)(3));
     w26.LeftAttach = ((uint)(1));
     w26.RightAttach = ((uint)(2));
     w26.XOptions = ((global::Gtk.AttachOptions)(4));
     w26.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.referenceRentServiceMonthly = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceRentServiceMonthly.Events = ((global::Gdk.EventMask)(256));
     this.referenceRentServiceMonthly.Name = "referenceRentServiceMonthly";
     this.referenceRentServiceMonthly.DisplayFields = new string[] {
         "Name"
     };
     this.referenceRentServiceMonthly.DisplayFormatString = "{0}";
     this.referenceRentServiceMonthly.InheritedDataSource = true;
     this.referenceRentServiceMonthly.Mappings = "RentServiceMonthly";
     this.referenceRentServiceMonthly.InheritedBoundaryDataSource = false;
     this.referenceRentServiceMonthly.CursorPointsEveryType = false;
     this.datatable1.Add (this.referenceRentServiceMonthly);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceRentServiceMonthly]));
     w27.TopAttach = ((uint)(4));
     w27.BottomAttach = ((uint)(5));
     w27.LeftAttach = ((uint)(1));
     w27.RightAttach = ((uint)(2));
     w27.XOptions = ((global::Gtk.AttachOptions)(4));
     w27.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox2.Add (this.datatable1);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.datatable1]));
     w28.Position = 1;
     w28.Expand = false;
     w28.Fill = false;
     this.Add (this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Hide ();
     this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked);
     this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.MovementDocumentDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.MovementDocumentDlg";
     // Container child Vodovoz.MovementDocumentDlg.Gtk.Container+ContainerChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     this.vbox3.BorderWidth = ((uint)(6));
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonSave = new global::Gtk.Button ();
     this.buttonSave.CanFocus = true;
     this.buttonSave.Name = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить");
     global::Gtk.Image w1 = new global::Gtk.Image ();
     w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w1;
     this.hbox4.Add (this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSave]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonCancel = new global::Gtk.Button ();
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить");
     global::Gtk.Image w3 = new global::Gtk.Image ();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w3;
     this.hbox4.Add (this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCancel]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     this.vbox3.Add (this.hbox4);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.tableCommon = new global::Gtk.DataBindings.DataTable (((uint)(4)), ((uint)(4)), false);
     this.tableCommon.Name = "tableCommon";
     this.tableCommon.RowSpacing = ((uint)(6));
     this.tableCommon.ColumnSpacing = ((uint)(6));
     this.tableCommon.InheritedDataSource = false;
     this.tableCommon.InheritedBoundaryDataSource = false;
     this.tableCommon.InheritedDataSource = false;
     this.tableCommon.InheritedBoundaryDataSource = false;
     // Container child tableCommon.Gtk.Table+TableChild
     this.enumMovementType = new global::Gamma.Widgets.yEnumComboBox ();
     this.enumMovementType.Name = "enumMovementType";
     this.enumMovementType.ShowSpecialStateAll = false;
     this.enumMovementType.ShowSpecialStateNot = false;
     this.enumMovementType.UseShortTitle = false;
     this.enumMovementType.DefaultFirst = true;
     this.tableCommon.Add (this.enumMovementType);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.enumMovementType]));
     w6.TopAttach = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.LeftAttach = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.Gtk.Table+TableChild
     this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.textComment = new global::Gtk.DataBindings.DataTextView ();
     this.textComment.CanFocus = true;
     this.textComment.Name = "textComment";
     this.textComment.InheritedDataSource = true;
     this.textComment.Mappings = "Comment";
     this.textComment.InheritedBoundaryDataSource = false;
     this.textComment.InheritedDataSource = true;
     this.textComment.Mappings = "Comment";
     this.textComment.InheritedBoundaryDataSource = false;
     this.GtkScrolledWindow1.Add (this.textComment);
     this.tableCommon.Add (this.GtkScrolledWindow1);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.GtkScrolledWindow1]));
     w8.TopAttach = ((uint)(3));
     w8.BottomAttach = ((uint)(4));
     w8.LeftAttach = ((uint)(1));
     w8.RightAttach = ((uint)(4));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.Gtk.Table+TableChild
     this.hboxTransportation = new global::Gtk.HBox ();
     this.hboxTransportation.Name = "hboxTransportation";
     this.hboxTransportation.Spacing = 6;
     // Container child hboxTransportation.Gtk.Box+BoxChild
     this.ylabelTransportationStatus = new global::Gamma.GtkWidgets.yLabel ();
     this.ylabelTransportationStatus.Name = "ylabelTransportationStatus";
     this.ylabelTransportationStatus.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1");
     this.hboxTransportation.Add (this.ylabelTransportationStatus);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxTransportation [this.ylabelTransportationStatus]));
     w9.Position = 0;
     // Container child hboxTransportation.Gtk.Box+BoxChild
     this.buttonDelivered = new global::Gtk.Button ();
     this.buttonDelivered.CanFocus = true;
     this.buttonDelivered.Name = "buttonDelivered";
     this.buttonDelivered.UseUnderline = true;
     this.buttonDelivered.Label = global::Mono.Unix.Catalog.GetString ("Доставлено");
     this.hboxTransportation.Add (this.buttonDelivered);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxTransportation [this.buttonDelivered]));
     w10.Position = 1;
     w10.Expand = false;
     w10.Fill = false;
     this.tableCommon.Add (this.hboxTransportation);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.hboxTransportation]));
     w11.TopAttach = ((uint)(2));
     w11.BottomAttach = ((uint)(3));
     w11.LeftAttach = ((uint)(3));
     w11.RightAttach = ((uint)(4));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.Xalign = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата:");
     this.tableCommon.Add (this.label1);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.label1]));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.Gtk.Table+TableChild
     this.label12 = new global::Gtk.Label ();
     this.label12.Name = "label12";
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Ответственное лицо:");
     this.tableCommon.Add (this.label12);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.label12]));
     w13.LeftAttach = ((uint)(2));
     w13.RightAttach = ((uint)(3));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.Gtk.Table+TableChild
     this.label13 = new global::Gtk.Label ();
     this.label13.Name = "label13";
     this.label13.Xalign = 1F;
     this.label13.Yalign = 0F;
     this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Комментарий:");
     this.tableCommon.Add (this.label13);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.label13]));
     w14.TopAttach = ((uint)(3));
     w14.BottomAttach = ((uint)(4));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.Gtk.Table+TableChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.Xalign = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Тип документа:");
     this.tableCommon.Add (this.label3);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.label3]));
     w15.TopAttach = ((uint)(1));
     w15.BottomAttach = ((uint)(2));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.Gtk.Table+TableChild
     this.labelTimeStamp = new global::Gtk.DataBindings.DataLabel ();
     this.labelTimeStamp.Name = "labelTimeStamp";
     this.labelTimeStamp.Xalign = 0F;
     this.labelTimeStamp.InheritedDataSource = true;
     this.labelTimeStamp.Mappings = "DateString";
     this.labelTimeStamp.InheritedBoundaryDataSource = false;
     this.labelTimeStamp.Important = false;
     this.labelTimeStamp.InheritedDataSource = true;
     this.labelTimeStamp.Mappings = "DateString";
     this.labelTimeStamp.InheritedBoundaryDataSource = false;
     this.tableCommon.Add (this.labelTimeStamp);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.labelTimeStamp]));
     w16.LeftAttach = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.Gtk.Table+TableChild
     this.labelTransportationTitle = new global::Gtk.Label ();
     this.labelTransportationTitle.Name = "labelTransportationTitle";
     this.labelTransportationTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Статус траспортировки:");
     this.tableCommon.Add (this.labelTransportationTitle);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.labelTransportationTitle]));
     w17.TopAttach = ((uint)(2));
     w17.BottomAttach = ((uint)(3));
     w17.LeftAttach = ((uint)(2));
     w17.RightAttach = ((uint)(3));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.Gtk.Table+TableChild
     this.labelWagon = new global::Gtk.Label ();
     this.labelWagon.Name = "labelWagon";
     this.labelWagon.Xalign = 1F;
     this.labelWagon.LabelProp = global::Mono.Unix.Catalog.GetString ("Фура:");
     this.tableCommon.Add (this.labelWagon);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.labelWagon]));
     w18.TopAttach = ((uint)(1));
     w18.BottomAttach = ((uint)(2));
     w18.LeftAttach = ((uint)(2));
     w18.RightAttach = ((uint)(3));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.Gtk.Table+TableChild
     this.referenceEmployee = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceEmployee.Events = ((global::Gdk.EventMask)(256));
     this.referenceEmployee.Name = "referenceEmployee";
     this.referenceEmployee.DisplayFields = new string[] {
         "FullName"
     };
     this.referenceEmployee.DisplayFormatString = "{0}";
     this.referenceEmployee.InheritedDataSource = true;
     this.referenceEmployee.Mappings = "ResponsiblePerson";
     this.referenceEmployee.InheritedBoundaryDataSource = false;
     this.referenceEmployee.CursorPointsEveryType = false;
     this.tableCommon.Add (this.referenceEmployee);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.referenceEmployee]));
     w19.LeftAttach = ((uint)(3));
     w19.RightAttach = ((uint)(4));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableCommon.Gtk.Table+TableChild
     this.yentryrefWagon = new global::Gamma.Widgets.yEntryReference ();
     this.yentryrefWagon.Events = ((global::Gdk.EventMask)(256));
     this.yentryrefWagon.Name = "yentryrefWagon";
     this.tableCommon.Add (this.yentryrefWagon);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableCommon [this.yentryrefWagon]));
     w20.TopAttach = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.LeftAttach = ((uint)(3));
     w20.RightAttach = ((uint)(4));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add (this.tableCommon);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.tableCommon]));
     w21.Position = 1;
     w21.Expand = false;
     w21.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label11 = new global::Gtk.Label ();
     this.label11.Name = "label11";
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Отправитель");
     this.vbox2.Add (this.label11);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label11]));
     w22.Position = 0;
     w22.Expand = false;
     w22.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.tableSender = new global::Gtk.DataBindings.DataTable (((uint)(3)), ((uint)(2)), false);
     this.tableSender.Name = "tableSender";
     this.tableSender.RowSpacing = ((uint)(6));
     this.tableSender.ColumnSpacing = ((uint)(6));
     this.tableSender.InheritedDataSource = false;
     this.tableSender.InheritedBoundaryDataSource = false;
     this.tableSender.InheritedDataSource = false;
     this.tableSender.InheritedBoundaryDataSource = false;
     // Container child tableSender.Gtk.Table+TableChild
     this.labelClientFrom = new global::Gtk.Label ();
     this.labelClientFrom.Name = "labelClientFrom";
     this.labelClientFrom.Xalign = 1F;
     this.labelClientFrom.LabelProp = global::Mono.Unix.Catalog.GetString ("Клиент:");
     this.tableSender.Add (this.labelClientFrom);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableSender [this.labelClientFrom]));
     w23.TopAttach = ((uint)(1));
     w23.BottomAttach = ((uint)(2));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableSender.Gtk.Table+TableChild
     this.labelPointFrom = new global::Gtk.Label ();
     this.labelPointFrom.Name = "labelPointFrom";
     this.labelPointFrom.Xalign = 1F;
     this.labelPointFrom.LabelProp = global::Mono.Unix.Catalog.GetString ("Точка доставки:");
     this.tableSender.Add (this.labelPointFrom);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tableSender [this.labelPointFrom]));
     w24.TopAttach = ((uint)(2));
     w24.BottomAttach = ((uint)(3));
     w24.XOptions = ((global::Gtk.AttachOptions)(4));
     w24.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableSender.Gtk.Table+TableChild
     this.labelStockFrom = new global::Gtk.Label ();
     this.labelStockFrom.Name = "labelStockFrom";
     this.labelStockFrom.Xalign = 1F;
     this.labelStockFrom.LabelProp = global::Mono.Unix.Catalog.GetString ("Склад:");
     this.tableSender.Add (this.labelStockFrom);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tableSender [this.labelStockFrom]));
     w25.XOptions = ((global::Gtk.AttachOptions)(4));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableSender.Gtk.Table+TableChild
     this.referenceCounterpartyFrom = new global::Gamma.Widgets.yEntryReferenceVM ();
     this.referenceCounterpartyFrom.Events = ((global::Gdk.EventMask)(256));
     this.referenceCounterpartyFrom.Name = "referenceCounterpartyFrom";
     this.tableSender.Add (this.referenceCounterpartyFrom);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.tableSender [this.referenceCounterpartyFrom]));
     w26.TopAttach = ((uint)(1));
     w26.BottomAttach = ((uint)(2));
     w26.LeftAttach = ((uint)(1));
     w26.RightAttach = ((uint)(2));
     w26.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableSender.Gtk.Table+TableChild
     this.referenceDeliveryPointFrom = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceDeliveryPointFrom.Events = ((global::Gdk.EventMask)(256));
     this.referenceDeliveryPointFrom.Name = "referenceDeliveryPointFrom";
     this.referenceDeliveryPointFrom.DisplayFields = new string[] {
         "CompiledAddress"
     };
     this.referenceDeliveryPointFrom.DisplayFormatString = "{0}";
     this.referenceDeliveryPointFrom.InheritedDataSource = true;
     this.referenceDeliveryPointFrom.Mappings = "FromDeliveryPoint";
     this.referenceDeliveryPointFrom.InheritedBoundaryDataSource = false;
     this.referenceDeliveryPointFrom.CursorPointsEveryType = false;
     this.tableSender.Add (this.referenceDeliveryPointFrom);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.tableSender [this.referenceDeliveryPointFrom]));
     w27.TopAttach = ((uint)(2));
     w27.BottomAttach = ((uint)(3));
     w27.LeftAttach = ((uint)(1));
     w27.RightAttach = ((uint)(2));
     w27.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableSender.Gtk.Table+TableChild
     this.referenceWarehouseFrom = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceWarehouseFrom.Events = ((global::Gdk.EventMask)(256));
     this.referenceWarehouseFrom.Name = "referenceWarehouseFrom";
     this.referenceWarehouseFrom.DisplayFields = new string[] {
         "Name"
     };
     this.referenceWarehouseFrom.DisplayFormatString = "{0}";
     this.referenceWarehouseFrom.InheritedDataSource = true;
     this.referenceWarehouseFrom.Mappings = "FromWarehouse";
     this.referenceWarehouseFrom.InheritedBoundaryDataSource = false;
     this.referenceWarehouseFrom.CursorPointsEveryType = false;
     this.tableSender.Add (this.referenceWarehouseFrom);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tableSender [this.referenceWarehouseFrom]));
     w28.LeftAttach = ((uint)(1));
     w28.RightAttach = ((uint)(2));
     w28.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox2.Add (this.tableSender);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.tableSender]));
     w29.Position = 1;
     w29.Expand = false;
     w29.Fill = false;
     this.hbox3.Add (this.vbox2);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox2]));
     w30.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.vseparator1 = new global::Gtk.VSeparator ();
     this.vseparator1.Name = "vseparator1";
     this.hbox3.Add (this.vseparator1);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vseparator1]));
     w31.Position = 1;
     w31.Expand = false;
     w31.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.vbox4 = new global::Gtk.VBox ();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.label10 = new global::Gtk.Label ();
     this.label10.Name = "label10";
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Получатель");
     this.vbox4.Add (this.label10);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label10]));
     w32.Position = 0;
     w32.Expand = false;
     w32.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.tableReceiver = new global::Gtk.DataBindings.DataTable (((uint)(3)), ((uint)(2)), false);
     this.tableReceiver.Name = "tableReceiver";
     this.tableReceiver.RowSpacing = ((uint)(6));
     this.tableReceiver.ColumnSpacing = ((uint)(6));
     this.tableReceiver.InheritedDataSource = false;
     this.tableReceiver.InheritedBoundaryDataSource = false;
     this.tableReceiver.InheritedDataSource = false;
     this.tableReceiver.InheritedBoundaryDataSource = false;
     // Container child tableReceiver.Gtk.Table+TableChild
     this.labelClientTo = new global::Gtk.Label ();
     this.labelClientTo.Name = "labelClientTo";
     this.labelClientTo.Xalign = 1F;
     this.labelClientTo.LabelProp = global::Mono.Unix.Catalog.GetString ("Клиент:");
     this.tableReceiver.Add (this.labelClientTo);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.labelClientTo]));
     w33.TopAttach = ((uint)(1));
     w33.BottomAttach = ((uint)(2));
     w33.XOptions = ((global::Gtk.AttachOptions)(4));
     w33.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableReceiver.Gtk.Table+TableChild
     this.labelPointTo = new global::Gtk.Label ();
     this.labelPointTo.Name = "labelPointTo";
     this.labelPointTo.Xalign = 1F;
     this.labelPointTo.LabelProp = global::Mono.Unix.Catalog.GetString ("Точка доставки:");
     this.tableReceiver.Add (this.labelPointTo);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.labelPointTo]));
     w34.TopAttach = ((uint)(2));
     w34.BottomAttach = ((uint)(3));
     w34.XOptions = ((global::Gtk.AttachOptions)(4));
     w34.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableReceiver.Gtk.Table+TableChild
     this.labelStockTo = new global::Gtk.Label ();
     this.labelStockTo.Name = "labelStockTo";
     this.labelStockTo.Xalign = 1F;
     this.labelStockTo.LabelProp = global::Mono.Unix.Catalog.GetString ("Склад:");
     this.tableReceiver.Add (this.labelStockTo);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.labelStockTo]));
     w35.XOptions = ((global::Gtk.AttachOptions)(4));
     w35.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableReceiver.Gtk.Table+TableChild
     this.referenceCounterpartyTo = new global::Gamma.Widgets.yEntryReferenceVM ();
     this.referenceCounterpartyTo.Events = ((global::Gdk.EventMask)(256));
     this.referenceCounterpartyTo.Name = "referenceCounterpartyTo";
     this.tableReceiver.Add (this.referenceCounterpartyTo);
     global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.referenceCounterpartyTo]));
     w36.TopAttach = ((uint)(1));
     w36.BottomAttach = ((uint)(2));
     w36.LeftAttach = ((uint)(1));
     w36.RightAttach = ((uint)(2));
     w36.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableReceiver.Gtk.Table+TableChild
     this.referenceDeliveryPointTo = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceDeliveryPointTo.Events = ((global::Gdk.EventMask)(256));
     this.referenceDeliveryPointTo.Name = "referenceDeliveryPointTo";
     this.referenceDeliveryPointTo.DisplayFields = new string[] {
         "CompiledAddress"
     };
     this.referenceDeliveryPointTo.DisplayFormatString = "{0}";
     this.referenceDeliveryPointTo.InheritedDataSource = true;
     this.referenceDeliveryPointTo.Mappings = "ToDeliveryPoint";
     this.referenceDeliveryPointTo.InheritedBoundaryDataSource = false;
     this.referenceDeliveryPointTo.CursorPointsEveryType = false;
     this.tableReceiver.Add (this.referenceDeliveryPointTo);
     global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.referenceDeliveryPointTo]));
     w37.TopAttach = ((uint)(2));
     w37.BottomAttach = ((uint)(3));
     w37.LeftAttach = ((uint)(1));
     w37.RightAttach = ((uint)(2));
     w37.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableReceiver.Gtk.Table+TableChild
     this.referenceWarehouseTo = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceWarehouseTo.Events = ((global::Gdk.EventMask)(256));
     this.referenceWarehouseTo.Name = "referenceWarehouseTo";
     this.referenceWarehouseTo.DisplayFields = new string[] {
         "Name"
     };
     this.referenceWarehouseTo.DisplayFormatString = "{0}";
     this.referenceWarehouseTo.InheritedDataSource = true;
     this.referenceWarehouseTo.Mappings = "ToWarehouse";
     this.referenceWarehouseTo.InheritedBoundaryDataSource = false;
     this.referenceWarehouseTo.CursorPointsEveryType = false;
     this.tableReceiver.Add (this.referenceWarehouseTo);
     global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.tableReceiver [this.referenceWarehouseTo]));
     w38.LeftAttach = ((uint)(1));
     w38.RightAttach = ((uint)(2));
     w38.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox4.Add (this.tableReceiver);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.tableReceiver]));
     w39.Position = 1;
     w39.Expand = false;
     w39.Fill = false;
     this.hbox3.Add (this.vbox4);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox4]));
     w40.Position = 2;
     this.vbox3.Add (this.hbox3);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3]));
     w41.Position = 2;
     w41.Expand = false;
     w41.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.movementdocumentitemsview1 = new global::Vodovoz.MovementDocumentItemsView ();
     this.movementdocumentitemsview1.Events = ((global::Gdk.EventMask)(256));
     this.movementdocumentitemsview1.Name = "movementdocumentitemsview1";
     this.vbox3.Add (this.movementdocumentitemsview1);
     global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.movementdocumentitemsview1]));
     w42.Position = 3;
     this.Add (this.vbox3);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Hide ();
     this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked);
     this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked);
     this.buttonDelivered.Clicked += new global::System.EventHandler (this.OnButtonDeliveredClicked);
     this.enumMovementType.Changed += new global::System.EventHandler (this.OnEnumMovementTypeChanged);
     this.referenceCounterpartyFrom.Changed += new global::System.EventHandler (this.OnReferenceCounterpartyFromChanged);
     this.referenceCounterpartyTo.Changed += new global::System.EventHandler (this.OnReferenceCounterpartyToChanged);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.FreeRentPackageDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.FreeRentPackageDlg";
     // Container child Vodovoz.FreeRentPackageDlg.Gtk.Container+ContainerChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonSave = new global::Gtk.Button ();
     this.buttonSave.CanFocus = true;
     this.buttonSave.Name = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить");
     global::Gtk.Image w1 = new global::Gtk.Image ();
     w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w1;
     this.hbox4.Add (this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSave]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonCancel = new global::Gtk.Button ();
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить");
     global::Gtk.Image w3 = new global::Gtk.Image ();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w3;
     this.hbox4.Add (this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCancel]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     this.vbox3.Add (this.hbox4);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.datatable1 = new global::Gtk.DataBindings.DataTable (((uint)(5)), ((uint)(2)), false);
     this.datatable1.Name = "datatable1";
     this.datatable1.RowSpacing = ((uint)(6));
     this.datatable1.ColumnSpacing = ((uint)(6));
     this.datatable1.BorderWidth = ((uint)(6));
     this.datatable1.InheritedDataSource = false;
     this.datatable1.InheritedBoundaryDataSource = false;
     this.datatable1.InheritedDataSource = false;
     this.datatable1.InheritedBoundaryDataSource = false;
     // Container child datatable1.Gtk.Table+TableChild
     this.dataentryName = new global::Gtk.DataBindings.DataEntry ();
     this.dataentryName.CanFocus = true;
     this.dataentryName.Name = "dataentryName";
     this.dataentryName.IsEditable = true;
     this.dataentryName.InvisibleChar = '●';
     this.dataentryName.InheritedDataSource = true;
     this.dataentryName.Mappings = "Name";
     this.dataentryName.InheritedBoundaryDataSource = false;
     this.dataentryName.InheritedDataSource = true;
     this.dataentryName.Mappings = "Name";
     this.dataentryName.InheritedBoundaryDataSource = false;
     this.datatable1.Add (this.dataentryName);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentryName]));
     w6.LeftAttach = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.hbox5 = new global::Gtk.HBox ();
     this.hbox5.Name = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.spinDeposit = new global::Gtk.DataBindings.DataSpinButton (0, 99999, 1);
     this.spinDeposit.CanFocus = true;
     this.spinDeposit.Name = "spinDeposit";
     this.spinDeposit.Adjustment.PageIncrement = 10;
     this.spinDeposit.ClimbRate = 1;
     this.spinDeposit.Numeric = true;
     this.spinDeposit.InheritedDataSource = true;
     this.spinDeposit.Mappings = "Deposit";
     this.spinDeposit.InheritedBoundaryDataSource = false;
     this.spinDeposit.InheritedDataSource = true;
     this.spinDeposit.Mappings = "Deposit";
     this.spinDeposit.InheritedBoundaryDataSource = false;
     this.hbox5.Add (this.spinDeposit);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.spinDeposit]));
     w7.Position = 0;
     // Container child hbox5.Gtk.Box+BoxChild
     this.currencylabel2 = new global::QSProjectsLib.CurrencyLabel ();
     this.currencylabel2.Name = "currencylabel2";
     this.currencylabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("currencylabel2");
     this.hbox5.Add (this.currencylabel2);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.currencylabel2]));
     w8.Position = 1;
     w8.Expand = false;
     w8.Fill = false;
     this.datatable1.Add (this.hbox5);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.hbox5]));
     w9.TopAttach = ((uint)(3));
     w9.BottomAttach = ((uint)(4));
     w9.LeftAttach = ((uint)(1));
     w9.RightAttach = ((uint)(2));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label10 = new global::Gtk.Label ();
     this.label10.Name = "label10";
     this.label10.Xalign = 1F;
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Минимальное\nкол-во бутылей:");
     this.label10.Justify = ((global::Gtk.Justification)(1));
     this.datatable1.Add (this.label10);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label10]));
     w10.TopAttach = ((uint)(1));
     w10.BottomAttach = ((uint)(2));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label11 = new global::Gtk.Label ();
     this.label11.Name = "label11";
     this.label11.Xalign = 1F;
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Название:");
     this.datatable1.Add (this.label11);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label11]));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label7 = new global::Gtk.Label ();
     this.label7.Name = "label7";
     this.label7.Xalign = 1F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Услуга залога:");
     this.datatable1.Add (this.label7);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label7]));
     w12.TopAttach = ((uint)(4));
     w12.BottomAttach = ((uint)(5));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label8 = new global::Gtk.Label ();
     this.label8.Name = "label8";
     this.label8.Xalign = 1F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Сумма залога:");
     this.datatable1.Add (this.label8);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label8]));
     w13.TopAttach = ((uint)(3));
     w13.BottomAttach = ((uint)(4));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label9 = new global::Gtk.Label ();
     this.label9.Name = "label9";
     this.label9.Xalign = 1F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Тип оборудования:");
     this.datatable1.Add (this.label9);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label9]));
     w14.TopAttach = ((uint)(2));
     w14.BottomAttach = ((uint)(3));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.referenceDepositService = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceDepositService.Events = ((global::Gdk.EventMask)(256));
     this.referenceDepositService.Name = "referenceDepositService";
     this.referenceDepositService.DisplayFields = new string[] {
         "Name"
     };
     this.referenceDepositService.DisplayFormatString = "{0}";
     this.referenceDepositService.InheritedDataSource = true;
     this.referenceDepositService.Mappings = "DepositService";
     this.referenceDepositService.InheritedBoundaryDataSource = false;
     this.referenceDepositService.CursorPointsEveryType = false;
     this.datatable1.Add (this.referenceDepositService);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceDepositService]));
     w15.TopAttach = ((uint)(4));
     w15.BottomAttach = ((uint)(5));
     w15.LeftAttach = ((uint)(1));
     w15.RightAttach = ((uint)(2));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.referenceEquipmentType = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceEquipmentType.Events = ((global::Gdk.EventMask)(256));
     this.referenceEquipmentType.Name = "referenceEquipmentType";
     this.referenceEquipmentType.DisplayFields = new string[] {
         "Name"
     };
     this.referenceEquipmentType.DisplayFormatString = "{0}";
     this.referenceEquipmentType.InheritedDataSource = true;
     this.referenceEquipmentType.Mappings = "EquipmentType";
     this.referenceEquipmentType.ColumnMappings = "";
     this.referenceEquipmentType.InheritedBoundaryDataSource = false;
     this.referenceEquipmentType.CursorPointsEveryType = false;
     this.datatable1.Add (this.referenceEquipmentType);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceEquipmentType]));
     w16.TopAttach = ((uint)(2));
     w16.BottomAttach = ((uint)(3));
     w16.LeftAttach = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.spinMinWaterAmount = new global::Gtk.DataBindings.DataSpinButton (0, 100, 1);
     this.spinMinWaterAmount.CanFocus = true;
     this.spinMinWaterAmount.Name = "spinMinWaterAmount";
     this.spinMinWaterAmount.Adjustment.PageIncrement = 10;
     this.spinMinWaterAmount.ClimbRate = 1;
     this.spinMinWaterAmount.Numeric = true;
     this.spinMinWaterAmount.InheritedDataSource = true;
     this.spinMinWaterAmount.Mappings = "MinWaterAmount";
     this.spinMinWaterAmount.InheritedBoundaryDataSource = false;
     this.spinMinWaterAmount.InheritedDataSource = true;
     this.spinMinWaterAmount.Mappings = "MinWaterAmount";
     this.spinMinWaterAmount.InheritedBoundaryDataSource = false;
     this.datatable1.Add (this.spinMinWaterAmount);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.spinMinWaterAmount]));
     w17.TopAttach = ((uint)(1));
     w17.BottomAttach = ((uint)(2));
     w17.LeftAttach = ((uint)(1));
     w17.RightAttach = ((uint)(2));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add (this.datatable1);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.datatable1]));
     w18.Position = 1;
     w18.Expand = false;
     w18.Fill = false;
     this.Add (this.vbox3);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Hide ();
     this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked);
     this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked);
 }