Example #1
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.FuelDocumentView
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.FuelDocumentView";
     // Container child Vodovoz.FuelDocumentView.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox8         = new global::Gtk.HBox();
     this.hbox8.Name    = "hbox8";
     this.hbox8.Spacing = 6;
     // Container child hbox8.Gtk.Box+BoxChild
     this.buttonSave              = new global::Gamma.GtkWidgets.yButton();
     this.buttonSave.CanFocus     = true;
     this.buttonSave.Name         = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label        = global::Mono.Unix.Catalog.GetString("Сохранить");
     global::Gtk.Image w1 = new global::Gtk.Image();
     w1.Pixbuf             = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w1;
     this.hbox8.Add(this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonSave]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.buttonCancel              = new global::Gtk.Button();
     this.buttonCancel.CanFocus     = true;
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label        = global::Mono.Unix.Catalog.GetString("Отменить");
     global::Gtk.Image w3 = new global::Gtk.Image();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w3;
     this.hbox8.Add(this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.buttonCancel]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     this.vbox1.Add(this.hbox8);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox8]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table3               = new global::Gtk.Table(((uint)(9)), ((uint)(3)), false);
     this.table3.Name          = "table3";
     this.table3.RowSpacing    = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(6));
     // Container child table3.Gtk.Table+TableChild
     this.entityviewmodelentryCar                  = new global::QS.Widgets.GtkUI.EntityViewModelEntry();
     this.entityviewmodelentryCar.Sensitive        = false;
     this.entityviewmodelentryCar.Events           = ((global::Gdk.EventMask)(256));
     this.entityviewmodelentryCar.Name             = "entityviewmodelentryCar";
     this.entityviewmodelentryCar.CanEditReference = true;
     this.table3.Add(this.entityviewmodelentryCar);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table3[this.entityviewmodelentryCar]));
     w6.TopAttach    = ((uint)(2));
     w6.BottomAttach = ((uint)(3));
     w6.LeftAttach   = ((uint)(1));
     w6.RightAttach  = ((uint)(2));
     w6.XOptions     = ((global::Gtk.AttachOptions)(4));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.evmeDriver                  = new global::QS.Widgets.GtkUI.EntityViewModelEntry();
     this.evmeDriver.Sensitive        = false;
     this.evmeDriver.Events           = ((global::Gdk.EventMask)(256));
     this.evmeDriver.Name             = "evmeDriver";
     this.evmeDriver.CanEditReference = true;
     this.table3.Add(this.evmeDriver);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table3[this.evmeDriver]));
     w7.TopAttach    = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.LeftAttach   = ((uint)(1));
     w7.RightAttach  = ((uint)(2));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.spinFuelPrice = new global::Gamma.GtkWidgets.ySpinButton(0D, 200D, 0.01D);
     this.spinFuelPrice.WidthRequest             = 100;
     this.spinFuelPrice.Sensitive                = false;
     this.spinFuelPrice.CanFocus                 = true;
     this.spinFuelPrice.Name                     = "spinFuelPrice";
     this.spinFuelPrice.Adjustment.PageIncrement = 0.01D;
     this.spinFuelPrice.ClimbRate                = 1D;
     this.spinFuelPrice.Digits                   = ((uint)(2));
     this.spinFuelPrice.Numeric                  = true;
     this.spinFuelPrice.ValueAsDecimal           = 0m;
     this.spinFuelPrice.ValueAsInt               = 0;
     this.hbox3.Add(this.spinFuelPrice);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.spinFuelPrice]));
     w8.Position = 0;
     w8.Expand   = false;
     w8.Fill     = false;
     this.table3.Add(this.hbox3);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox3]));
     w9.TopAttach    = ((uint)(6));
     w9.BottomAttach = ((uint)(7));
     w9.LeftAttach   = ((uint)(1));
     w9.RightAttach  = ((uint)(2));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.yenumcomboboxPaymentType      = new global::Gamma.Widgets.yEnumComboBox();
     this.yenumcomboboxPaymentType.Name = "yenumcomboboxPaymentType";
     this.yenumcomboboxPaymentType.ShowSpecialStateAll = false;
     this.yenumcomboboxPaymentType.ShowSpecialStateNot = false;
     this.yenumcomboboxPaymentType.UseShortTitle       = false;
     this.yenumcomboboxPaymentType.DefaultFirst        = false;
     this.hbox4.Add(this.yenumcomboboxPaymentType);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.yenumcomboboxPaymentType]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.disablespinMoney        = new global::QSOrmProject.DisableSpinButton();
     this.disablespinMoney.Events = ((global::Gdk.EventMask)(256));
     this.disablespinMoney.Name   = "disablespinMoney";
     this.disablespinMoney.Active = false;
     this.disablespinMoney.Upper  = 100000D;
     this.disablespinMoney.Lower  = 0D;
     this.disablespinMoney.Digits = ((uint)(2));
     this.hbox4.Add(this.disablespinMoney);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.disablespinMoney]));
     w11.Position = 1;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonSetRemain              = new global::Gamma.GtkWidgets.yButton();
     this.buttonSetRemain.CanFocus     = true;
     this.buttonSetRemain.Name         = "buttonSetRemain";
     this.buttonSetRemain.UseUnderline = true;
     this.buttonSetRemain.Label        = global::Mono.Unix.Catalog.GetString("Весь остаток");
     this.hbox4.Add(this.buttonSetRemain);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSetRemain]));
     w12.Position = 2;
     w12.Expand   = false;
     w12.Fill     = false;
     this.table3.Add(this.hbox4);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox4]));
     w13.TopAttach    = ((uint)(7));
     w13.BottomAttach = ((uint)(8));
     w13.LeftAttach   = ((uint)(1));
     w13.RightAttach  = ((uint)(2));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.hbox5         = new global::Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     this.table3.Add(this.hbox5);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox5]));
     w14.TopAttach    = ((uint)(6));
     w14.BottomAttach = ((uint)(7));
     w14.LeftAttach   = ((uint)(2));
     w14.RightAttach  = ((uint)(3));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.hbox6         = new global::Gtk.HBox();
     this.hbox6.Name    = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.yspinFuelTicketLiters = new global::Gamma.GtkWidgets.ySpinButton(0D, 1000D, 10D);
     this.yspinFuelTicketLiters.WidthRequest             = 90;
     this.yspinFuelTicketLiters.CanFocus                 = true;
     this.yspinFuelTicketLiters.Name                     = "yspinFuelTicketLiters";
     this.yspinFuelTicketLiters.Adjustment.PageIncrement = 20D;
     this.yspinFuelTicketLiters.ClimbRate                = 1D;
     this.yspinFuelTicketLiters.Numeric                  = true;
     this.yspinFuelTicketLiters.ValueAsDecimal           = 0m;
     this.yspinFuelTicketLiters.ValueAsInt               = 0;
     this.hbox6.Add(this.yspinFuelTicketLiters);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspinFuelTicketLiters]));
     w15.Position = 0;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.yspeccomboboxSubdivision                     = new global::Gamma.Widgets.ySpecComboBox();
     this.yspeccomboboxSubdivision.Name                = "yspeccomboboxSubdivision";
     this.yspeccomboboxSubdivision.AddIfNotExist       = false;
     this.yspeccomboboxSubdivision.DefaultFirst        = false;
     this.yspeccomboboxSubdivision.ShowSpecialStateAll = false;
     this.yspeccomboboxSubdivision.ShowSpecialStateNot = false;
     this.hbox6.Add(this.yspeccomboboxSubdivision);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspeccomboboxSubdivision]));
     w16.Position = 1;
     w16.Expand   = false;
     w16.Fill     = false;
     this.table3.Add(this.hbox6);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox6]));
     w17.TopAttach    = ((uint)(4));
     w17.BottomAttach = ((uint)(5));
     w17.LeftAttach   = ((uint)(1));
     w17.RightAttach  = ((uint)(2));
     w17.XOptions     = ((global::Gtk.AttachOptions)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.hbox7         = new global::Gtk.HBox();
     this.hbox7.Name    = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.labelExpenseInfo           = new global::Gamma.GtkWidgets.yLabel();
     this.labelExpenseInfo.Name      = "labelExpenseInfo";
     this.labelExpenseInfo.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel1");
     this.hbox7.Add(this.labelExpenseInfo);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.labelExpenseInfo]));
     w18.Position = 0;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child hbox7.Gtk.Box+BoxChild
     this.buttonOpenExpense              = new global::Gamma.GtkWidgets.yButton();
     this.buttonOpenExpense.CanFocus     = true;
     this.buttonOpenExpense.Name         = "buttonOpenExpense";
     this.buttonOpenExpense.UseUnderline = true;
     this.buttonOpenExpense.Label        = global::Mono.Unix.Catalog.GetString("Открыть расходный ордер");
     this.hbox7.Add(this.buttonOpenExpense);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonOpenExpense]));
     w19.Position = 1;
     w19.Expand   = false;
     w19.Fill     = false;
     this.table3.Add(this.hbox7);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table3[this.hbox7]));
     w20.TopAttach    = ((uint)(8));
     w20.BottomAttach = ((uint)(9));
     w20.LeftAttach   = ((uint)(1));
     w20.RightAttach  = ((uint)(2));
     w20.XOptions     = ((global::Gtk.AttachOptions)(4));
     w20.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:");
     this.table3.Add(this.label1);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table3[this.label1]));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Водитель:");
     this.table3.Add(this.label2);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table3[this.label2]));
     w22.TopAttach    = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.XOptions     = ((global::Gtk.AttachOptions)(4));
     w22.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.Xalign    = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Вид топлива:");
     this.table3.Add(this.label3);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table3[this.label3]));
     w23.TopAttach    = ((uint)(3));
     w23.BottomAttach = ((uint)(4));
     w23.XOptions     = ((global::Gtk.AttachOptions)(4));
     w23.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.Xalign    = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Автомобиль:");
     this.table3.Add(this.label4);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table3[this.label4]));
     w24.TopAttach    = ((uint)(2));
     w24.BottomAttach = ((uint)(3));
     w24.XOptions     = ((global::Gtk.AttachOptions)(4));
     w24.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.Xalign    = 1F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Выдано деньгами:");
     this.table3.Add(this.label5);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table3[this.label5]));
     w25.TopAttach    = ((uint)(7));
     w25.BottomAttach = ((uint)(8));
     w25.XOptions     = ((global::Gtk.AttachOptions)(4));
     w25.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.Xalign    = 1F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Выдано талонами(л):");
     this.table3.Add(this.label6);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table3[this.label6]));
     w26.TopAttach    = ((uint)(4));
     w26.BottomAttach = ((uint)(5));
     w26.XOptions     = ((global::Gtk.AttachOptions)(4));
     w26.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.Xalign    = 1F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Стоимость, р/литр:");
     this.table3.Add(this.label7);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table3[this.label7]));
     w27.TopAttach    = ((uint)(6));
     w27.BottomAttach = ((uint)(7));
     w27.XOptions     = ((global::Gtk.AttachOptions)(4));
     w27.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.labelAvalilableFuel           = new global::Gamma.GtkWidgets.yLabel();
     this.labelAvalilableFuel.Name      = "labelAvalilableFuel";
     this.labelAvalilableFuel.Xalign    = 0F;
     this.labelAvalilableFuel.LabelProp = global::Mono.Unix.Catalog.GetString("label1");
     this.table3.Add(this.labelAvalilableFuel);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table3[this.labelAvalilableFuel]));
     w28.TopAttach    = ((uint)(5));
     w28.BottomAttach = ((uint)(6));
     w28.LeftAttach   = ((uint)(1));
     w28.RightAttach  = ((uint)(2));
     w28.XOptions     = ((global::Gtk.AttachOptions)(4));
     w28.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.labelResultInfo           = new global::Gamma.GtkWidgets.yLabel();
     this.labelResultInfo.Name      = "labelResultInfo";
     this.labelResultInfo.LabelProp = global::Mono.Unix.Catalog.GetString("Итог");
     this.table3.Add(this.labelResultInfo);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table3[this.labelResultInfo]));
     w29.TopAttach    = ((uint)(7));
     w29.BottomAttach = ((uint)(8));
     w29.LeftAttach   = ((uint)(2));
     w29.RightAttach  = ((uint)(3));
     w29.XOptions     = ((global::Gtk.AttachOptions)(4));
     w29.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.ydatepicker                    = new global::QS.Widgets.GtkUI.DatePicker();
     this.ydatepicker.Events             = ((global::Gdk.EventMask)(256));
     this.ydatepicker.Name               = "ydatepicker";
     this.ydatepicker.WithTime           = false;
     this.ydatepicker.HideCalendarButton = false;
     this.ydatepicker.Date               = new global::System.DateTime(0);
     this.ydatepicker.IsEditable         = true;
     this.ydatepicker.AutoSeparation     = false;
     this.table3.Add(this.ydatepicker);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table3[this.ydatepicker]));
     w30.LeftAttach  = ((uint)(1));
     w30.RightAttach = ((uint)(2));
     w30.XOptions    = ((global::Gtk.AttachOptions)(4));
     w30.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.yentryfuel           = new global::Gamma.Widgets.yEntryReference();
     this.yentryfuel.Sensitive = false;
     this.yentryfuel.Events    = ((global::Gdk.EventMask)(256));
     this.yentryfuel.Name      = "yentryfuel";
     this.table3.Add(this.yentryfuel);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table3[this.yentryfuel]));
     w31.TopAttach    = ((uint)(3));
     w31.BottomAttach = ((uint)(4));
     w31.LeftAttach   = ((uint)(1));
     w31.RightAttach  = ((uint)(2));
     w31.XOptions     = ((global::Gtk.AttachOptions)(4));
     w31.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.ytextviewFuelInfo          = new global::Gamma.GtkWidgets.yTextView();
     this.ytextviewFuelInfo.CanFocus = true;
     this.ytextviewFuelInfo.Name     = "ytextviewFuelInfo";
     this.ytextviewFuelInfo.Editable = false;
     this.table3.Add(this.ytextviewFuelInfo);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table3[this.ytextviewFuelInfo]));
     w32.BottomAttach = ((uint)(4));
     w32.LeftAttach   = ((uint)(2));
     w32.RightAttach  = ((uint)(3));
     w32.XOptions     = ((global::Gtk.AttachOptions)(4));
     w32.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table3);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table3]));
     w33.Position = 1;
     w33.Expand   = false;
     w33.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.buttonSave.Clicked            += new global::System.EventHandler(this.OnButtonSaveClicked);
     this.buttonCancel.Clicked          += new global::System.EventHandler(this.OnButtonCancelClicked);
     this.buttonOpenExpense.Clicked     += new global::System.EventHandler(this.OnButtonOpenExpenseClicked);
     this.disablespinMoney.ValueChanged += new global::System.EventHandler(this.OnDisablespinMoneyValueChanged);
     this.buttonSetRemain.Clicked       += new global::System.EventHandler(this.OnButtonSetRemainClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.FuelDocumentDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.FuelDocumentDlg";
     // Container child Vodovoz.FuelDocumentDlg.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox8 = new global::Gtk.HBox ();
     this.hbox8.Name = "hbox8";
     this.hbox8.Spacing = 6;
     // Container child hbox8.Gtk.Box+BoxChild
     this.buttonSave = new global::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.hbox8.Add (this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.buttonSave]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.buttonCancel = new global::Gtk.Button ();
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить");
     global::Gtk.Image w3 = new global::Gtk.Image ();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w3;
     this.hbox8.Add (this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.buttonCancel]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     this.vbox1.Add (this.hbox8);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox8]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table3 = new global::Gtk.Table (((uint)(6)), ((uint)(3)), false);
     this.table3.Name = "table3";
     this.table3.RowSpacing = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(6));
     // Container child table3.Gtk.Table+TableChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.disablespinMoney = new global::QSOrmProject.DisableSpinButton ();
     this.disablespinMoney.Events = ((global::Gdk.EventMask)(256));
     this.disablespinMoney.Name = "disablespinMoney";
     this.disablespinMoney.Active = false;
     this.disablespinMoney.Upper = 100000;
     this.disablespinMoney.Lower = 0;
     this.disablespinMoney.Digits = ((uint)(2));
     this.hbox4.Add (this.disablespinMoney);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.disablespinMoney]));
     w6.Position = 0;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonSetRemain = new global::Gtk.Button ();
     this.buttonSetRemain.CanFocus = true;
     this.buttonSetRemain.Name = "buttonSetRemain";
     this.buttonSetRemain.UseUnderline = true;
     this.buttonSetRemain.Label = global::Mono.Unix.Catalog.GetString ("Весь остаток");
     this.hbox4.Add (this.buttonSetRemain);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSetRemain]));
     w7.Position = 1;
     w7.Expand = false;
     w7.Fill = false;
     this.table3.Add (this.hbox4);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table3 [this.hbox4]));
     w8.TopAttach = ((uint)(4));
     w8.BottomAttach = ((uint)(5));
     w8.LeftAttach = ((uint)(1));
     w8.RightAttach = ((uint)(2));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.hbox5 = new global::Gtk.HBox ();
     this.hbox5.Name = "hbox5";
     this.hbox5.Spacing = 6;
     this.table3.Add (this.hbox5);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table3 [this.hbox5]));
     w9.TopAttach = ((uint)(4));
     w9.BottomAttach = ((uint)(5));
     w9.LeftAttach = ((uint)(2));
     w9.RightAttach = ((uint)(3));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.hbox7 = new global::Gtk.HBox ();
     this.hbox7.Name = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.labelExpenseInfo = new global::Gtk.Label ();
     this.labelExpenseInfo.Name = "labelExpenseInfo";
     this.labelExpenseInfo.LabelProp = global::Mono.Unix.Catalog.GetString ("Расходный ордер");
     this.hbox7.Add (this.labelExpenseInfo);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.labelExpenseInfo]));
     w10.Position = 0;
     w10.Expand = false;
     w10.Fill = false;
     // Container child hbox7.Gtk.Box+BoxChild
     this.buttonOpenExpense = new global::Gtk.Button ();
     this.buttonOpenExpense.CanFocus = true;
     this.buttonOpenExpense.Name = "buttonOpenExpense";
     this.buttonOpenExpense.UseUnderline = true;
     this.buttonOpenExpense.Label = global::Mono.Unix.Catalog.GetString ("Открыть расходный ордер");
     this.hbox7.Add (this.buttonOpenExpense);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonOpenExpense]));
     w11.Position = 1;
     w11.Expand = false;
     w11.Fill = false;
     this.table3.Add (this.hbox7);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table3 [this.hbox7]));
     w12.TopAttach = ((uint)(5));
     w12.BottomAttach = ((uint)(6));
     w12.LeftAttach = ((uint)(1));
     w12.RightAttach = ((uint)(2));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.Xalign = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата:");
     this.table3.Add (this.label1);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table3 [this.label1]));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.Xalign = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Водитель:");
     this.table3.Add (this.label2);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table3 [this.label2]));
     w14.TopAttach = ((uint)(1));
     w14.BottomAttach = ((uint)(2));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.Xalign = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Вид топлива:");
     this.table3.Add (this.label3);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table3 [this.label3]));
     w15.TopAttach = ((uint)(3));
     w15.BottomAttach = ((uint)(4));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.Xalign = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Автомобиль:");
     this.table3.Add (this.label4);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table3 [this.label4]));
     w16.TopAttach = ((uint)(2));
     w16.BottomAttach = ((uint)(3));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.Xalign = 1F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Выдано деньгами:");
     this.table3.Add (this.label5);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table3 [this.label5]));
     w17.TopAttach = ((uint)(4));
     w17.BottomAttach = ((uint)(5));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.labelResultInfo = new global::Gtk.Label ();
     this.labelResultInfo.Name = "labelResultInfo";
     this.labelResultInfo.LabelProp = global::Mono.Unix.Catalog.GetString ("Итог");
     this.table3.Add (this.labelResultInfo);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table3 [this.labelResultInfo]));
     w18.TopAttach = ((uint)(5));
     w18.BottomAttach = ((uint)(6));
     w18.LeftAttach = ((uint)(2));
     w18.RightAttach = ((uint)(3));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.ydatepicker = new global::Gamma.Widgets.yDatePicker ();
     this.ydatepicker.Events = ((global::Gdk.EventMask)(256));
     this.ydatepicker.Name = "ydatepicker";
     this.ydatepicker.WithTime = false;
     this.ydatepicker.Date = new global::System.DateTime (0);
     this.ydatepicker.IsEditable = false;
     this.ydatepicker.AutoSeparation = false;
     this.table3.Add (this.ydatepicker);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table3 [this.ydatepicker]));
     w19.LeftAttach = ((uint)(1));
     w19.RightAttach = ((uint)(2));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.yentryCar = new global::Gamma.Widgets.yEntryReference ();
     this.yentryCar.Sensitive = false;
     this.yentryCar.Events = ((global::Gdk.EventMask)(256));
     this.yentryCar.Name = "yentryCar";
     this.table3.Add (this.yentryCar);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table3 [this.yentryCar]));
     w20.TopAttach = ((uint)(2));
     w20.BottomAttach = ((uint)(3));
     w20.LeftAttach = ((uint)(1));
     w20.RightAttach = ((uint)(2));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.yentrydriver = new global::Gamma.Widgets.yEntryReference ();
     this.yentrydriver.Sensitive = false;
     this.yentrydriver.Events = ((global::Gdk.EventMask)(256));
     this.yentrydriver.Name = "yentrydriver";
     this.table3.Add (this.yentrydriver);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table3 [this.yentrydriver]));
     w21.TopAttach = ((uint)(1));
     w21.BottomAttach = ((uint)(2));
     w21.LeftAttach = ((uint)(1));
     w21.RightAttach = ((uint)(2));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.yentryfuel = new global::Gamma.Widgets.yEntryReference ();
     this.yentryfuel.Sensitive = false;
     this.yentryfuel.Events = ((global::Gdk.EventMask)(256));
     this.yentryfuel.Name = "yentryfuel";
     this.table3.Add (this.yentryfuel);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table3 [this.yentryfuel]));
     w22.TopAttach = ((uint)(3));
     w22.BottomAttach = ((uint)(4));
     w22.LeftAttach = ((uint)(1));
     w22.RightAttach = ((uint)(2));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.ytextviewFuelInfo = new global::Gamma.GtkWidgets.yTextView ();
     this.ytextviewFuelInfo.CanFocus = true;
     this.ytextviewFuelInfo.Name = "ytextviewFuelInfo";
     this.ytextviewFuelInfo.Editable = false;
     this.table3.Add (this.ytextviewFuelInfo);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table3 [this.ytextviewFuelInfo]));
     w23.BottomAttach = ((uint)(4));
     w23.LeftAttach = ((uint)(2));
     w23.RightAttach = ((uint)(3));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add (this.table3);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table3]));
     w24.Position = 1;
     w24.Expand = false;
     w24.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.ytreeTickets = new global::Gamma.GtkWidgets.yTreeView ();
     this.ytreeTickets.CanFocus = true;
     this.ytreeTickets.Name = "ytreeTickets";
     this.GtkScrolledWindow.Add (this.ytreeTickets);
     this.vbox1.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow]));
     w26.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);
     this.buttonOpenExpense.Clicked += new global::System.EventHandler (this.OnButtonOpenExpenseClicked);
     this.disablespinMoney.ValueChanged += new global::System.EventHandler (this.OnDisablespinMoneyValueChanged);
     this.buttonSetRemain.Clicked += new global::System.EventHandler (this.OnButtonSetRemainClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.Views.ResidueView
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.Views.ResidueView";
     // Container child Vodovoz.Views.ResidueView.Gtk.Container+ContainerChild
     this.vboxDialog         = new global::Gtk.VBox();
     this.vboxDialog.Name    = "vboxDialog";
     this.vboxDialog.Spacing = 6;
     // Container child vboxDialog.Gtk.Box+BoxChild
     this.hboxDialogButtons         = new global::Gtk.HBox();
     this.hboxDialogButtons.Name    = "hboxDialogButtons";
     this.hboxDialogButtons.Spacing = 6;
     // Container child hboxDialogButtons.Gtk.Box+BoxChild
     this.buttonSave              = new global::Gamma.GtkWidgets.yButton();
     this.buttonSave.CanFocus     = true;
     this.buttonSave.Name         = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label        = global::Mono.Unix.Catalog.GetString("Сохранить");
     global::Gtk.Image w1 = new global::Gtk.Image();
     w1.Pixbuf             = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w1;
     this.hboxDialogButtons.Add(this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonSave]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hboxDialogButtons.Gtk.Box+BoxChild
     this.buttonCancel              = new global::Gamma.GtkWidgets.yButton();
     this.buttonCancel.CanFocus     = true;
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label        = global::Mono.Unix.Catalog.GetString("Отменить");
     global::Gtk.Image w3 = new global::Gtk.Image();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w3;
     this.hboxDialogButtons.Add(this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hboxDialogButtons[this.buttonCancel]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     this.vboxDialog.Add(this.hboxDialogButtons);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.hboxDialogButtons]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vboxDialog.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(9)), ((uint)(5)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.disablespinBottlesDeposit        = new global::QSOrmProject.DisableSpinButton();
     this.disablespinBottlesDeposit.Events = ((global::Gdk.EventMask)(256));
     this.disablespinBottlesDeposit.Name   = "disablespinBottlesDeposit";
     this.disablespinBottlesDeposit.Active = false;
     this.disablespinBottlesDeposit.Upper  = 10000000D;
     this.disablespinBottlesDeposit.Lower  = -10000000D;
     this.disablespinBottlesDeposit.Digits = ((uint)(2));
     this.table1.Add(this.disablespinBottlesDeposit);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.disablespinBottlesDeposit]));
     w6.TopAttach    = ((uint)(3));
     w6.BottomAttach = ((uint)(4));
     w6.LeftAttach   = ((uint)(3));
     w6.RightAttach  = ((uint)(4));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.disablespinBottlesResidue        = new global::QSOrmProject.DisableSpinButton();
     this.disablespinBottlesResidue.Events = ((global::Gdk.EventMask)(256));
     this.disablespinBottlesResidue.Name   = "disablespinBottlesResidue";
     this.disablespinBottlesResidue.Active = false;
     this.disablespinBottlesResidue.Upper  = 100000D;
     this.disablespinBottlesResidue.Lower  = -100000D;
     this.disablespinBottlesResidue.Digits = ((uint)(0));
     this.table1.Add(this.disablespinBottlesResidue);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.disablespinBottlesResidue]));
     w7.TopAttach    = ((uint)(3));
     w7.BottomAttach = ((uint)(4));
     w7.LeftAttach   = ((uint)(1));
     w7.RightAttach  = ((uint)(2));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.disablespinMoneyDebt        = new global::QSOrmProject.DisableSpinButton();
     this.disablespinMoneyDebt.Events = ((global::Gdk.EventMask)(256));
     this.disablespinMoneyDebt.Name   = "disablespinMoneyDebt";
     this.disablespinMoneyDebt.Active = false;
     this.disablespinMoneyDebt.Upper  = 10000000D;
     this.disablespinMoneyDebt.Lower  = -10000000D;
     this.disablespinMoneyDebt.Digits = ((uint)(2));
     this.table1.Add(this.disablespinMoneyDebt);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.disablespinMoneyDebt]));
     w8.TopAttach    = ((uint)(6));
     w8.BottomAttach = ((uint)(7));
     w8.LeftAttach   = ((uint)(1));
     w8.RightAttach  = ((uint)(2));
     w8.XOptions     = ((global::Gtk.AttachOptions)(4));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryClient                  = new global::QS.Widgets.GtkUI.EntityViewModelEntry();
     this.entryClient.Events           = ((global::Gdk.EventMask)(256));
     this.entryClient.Name             = "entryClient";
     this.entryClient.CanEditReference = false;
     this.table1.Add(this.entryClient);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.entryClient]));
     w9.TopAttach    = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.LeftAttach   = ((uint)(1));
     w9.RightAttach  = ((uint)(5));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.ytextviewComment          = new global::Gamma.GtkWidgets.yTextView();
     this.ytextviewComment.CanFocus = true;
     this.ytextviewComment.Name     = "ytextviewComment";
     this.GtkScrolledWindow.Add(this.ytextviewComment);
     this.table1.Add(this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow]));
     w11.TopAttach    = ((uint)(8));
     w11.BottomAttach = ((uint)(9));
     w11.LeftAttach   = ((uint)(1));
     w11.RightAttach  = ((uint)(4));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.GtkScrolledWindow1            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.ytreeviewEquipment          = new global::Gamma.GtkWidgets.yTreeView();
     this.ytreeviewEquipment.CanFocus = true;
     this.ytreeviewEquipment.Name     = "ytreeviewEquipment";
     this.GtkScrolledWindow1.Add(this.ytreeviewEquipment);
     this.table1.Add(this.GtkScrolledWindow1);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow1]));
     w13.TopAttach    = ((uint)(4));
     w13.BottomAttach = ((uint)(5));
     w13.LeftAttach   = ((uint)(1));
     w13.RightAttach  = ((uint)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonAddEquipment              = new global::Gtk.Button();
     this.buttonAddEquipment.CanFocus     = true;
     this.buttonAddEquipment.Name         = "buttonAddEquipment";
     this.buttonAddEquipment.UseUnderline = true;
     this.buttonAddEquipment.Label        = global::Mono.Unix.Catalog.GetString("Добавить");
     this.hbox4.Add(this.buttonAddEquipment);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonAddEquipment]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonDeleteEquipment              = new global::Gtk.Button();
     this.buttonDeleteEquipment.CanFocus     = true;
     this.buttonDeleteEquipment.Name         = "buttonDeleteEquipment";
     this.buttonDeleteEquipment.UseUnderline = true;
     this.buttonDeleteEquipment.Label        = global::Mono.Unix.Catalog.GetString("Удалить");
     this.hbox4.Add(this.buttonDeleteEquipment);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonDeleteEquipment]));
     w15.Position = 1;
     w15.Expand   = false;
     w15.Fill     = false;
     this.table1.Add(this.hbox4);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox4]));
     w16.TopAttach    = ((uint)(5));
     w16.BottomAttach = ((uint)(6));
     w16.LeftAttach   = ((uint)(1));
     w16.RightAttach  = ((uint)(4));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hboxInfo         = new global::Gtk.HBox();
     this.hboxInfo.Name    = "hboxInfo";
     this.hboxInfo.Spacing = 6;
     // Container child hboxInfo.Gtk.Box+BoxChild
     this.buttonOpenSlider              = new global::Gtk.Button();
     this.buttonOpenSlider.CanFocus     = true;
     this.buttonOpenSlider.Name         = "buttonOpenSlider";
     this.buttonOpenSlider.UseUnderline = true;
     this.buttonOpenSlider.Label        = global::Mono.Unix.Catalog.GetString("<");
     this.hboxInfo.Add(this.buttonOpenSlider);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hboxInfo[this.buttonOpenSlider]));
     w17.Position = 0;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child hboxInfo.Gtk.Box+BoxChild
     this.tableInfo               = new global::Gtk.Table(((uint)(7)), ((uint)(2)), false);
     this.tableInfo.Name          = "tableInfo";
     this.tableInfo.RowSpacing    = ((uint)(6));
     this.tableInfo.ColumnSpacing = ((uint)(6));
     // Container child tableInfo.Gtk.Table+TableChild
     this.label11           = new global::Gtk.Label();
     this.label11.Name      = "label11";
     this.label11.Xalign    = 1F;
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Текущий долг:");
     this.tableInfo.Add(this.label11);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.label11]));
     w18.TopAttach    = ((uint)(4));
     w18.BottomAttach = ((uint)(5));
     w18.XOptions     = ((global::Gtk.AttachOptions)(4));
     w18.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableInfo.Gtk.Table+TableChild
     this.label13           = new global::Gtk.Label();
     this.label13.Name      = "label13";
     this.label13.Xalign    = 1F;
     this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Текущие залоги:");
     this.tableInfo.Add(this.label13);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.label13]));
     w19.TopAttach    = ((uint)(6));
     w19.BottomAttach = ((uint)(7));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableInfo.Gtk.Table+TableChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.Xalign    = 1F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Текущий остаток:");
     this.tableInfo.Add(this.label7);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.label7]));
     w20.TopAttach    = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.XOptions     = ((global::Gtk.AttachOptions)(4));
     w20.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableInfo.Gtk.Table+TableChild
     this.labelBottles           = new global::Gtk.Label();
     this.labelBottles.Name      = "labelBottles";
     this.labelBottles.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Тара</b>:");
     this.labelBottles.UseMarkup = true;
     this.tableInfo.Add(this.labelBottles);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.labelBottles]));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableInfo.Gtk.Table+TableChild
     this.labelBottles1           = new global::Gtk.Label();
     this.labelBottles1.Name      = "labelBottles1";
     this.labelBottles1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Деньги</b>:");
     this.labelBottles1.UseMarkup = true;
     this.tableInfo.Add(this.labelBottles1);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.labelBottles1]));
     w22.TopAttach    = ((uint)(3));
     w22.BottomAttach = ((uint)(4));
     w22.XOptions     = ((global::Gtk.AttachOptions)(4));
     w22.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableInfo.Gtk.Table+TableChild
     this.labelCurrent           = new global::Gtk.Label();
     this.labelCurrent.Name      = "labelCurrent";
     this.labelCurrent.Xalign    = 1F;
     this.labelCurrent.LabelProp = global::Mono.Unix.Catalog.GetString("Текущие залоги:");
     this.tableInfo.Add(this.labelCurrent);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.labelCurrent]));
     w23.TopAttach    = ((uint)(2));
     w23.BottomAttach = ((uint)(3));
     w23.XOptions     = ((global::Gtk.AttachOptions)(4));
     w23.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableInfo.Gtk.Table+TableChild
     this.labelCurrentBottleDebt      = new global::Gamma.GtkWidgets.yLabel();
     this.labelCurrentBottleDebt.Name = "labelCurrentBottleDebt";
     this.tableInfo.Add(this.labelCurrentBottleDebt);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.labelCurrentBottleDebt]));
     w24.TopAttach    = ((uint)(1));
     w24.BottomAttach = ((uint)(2));
     w24.LeftAttach   = ((uint)(1));
     w24.RightAttach  = ((uint)(2));
     w24.XOptions     = ((global::Gtk.AttachOptions)(4));
     w24.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableInfo.Gtk.Table+TableChild
     this.labelCurrentBottleDeposit      = new global::Gamma.GtkWidgets.yLabel();
     this.labelCurrentBottleDeposit.Name = "labelCurrentBottleDeposit";
     this.tableInfo.Add(this.labelCurrentBottleDeposit);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.labelCurrentBottleDeposit]));
     w25.TopAttach    = ((uint)(2));
     w25.BottomAttach = ((uint)(3));
     w25.LeftAttach   = ((uint)(1));
     w25.RightAttach  = ((uint)(2));
     w25.XOptions     = ((global::Gtk.AttachOptions)(4));
     w25.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableInfo.Gtk.Table+TableChild
     this.labelCurrentEquipmentDeposit      = new global::Gamma.GtkWidgets.yLabel();
     this.labelCurrentEquipmentDeposit.Name = "labelCurrentEquipmentDeposit";
     this.tableInfo.Add(this.labelCurrentEquipmentDeposit);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.labelCurrentEquipmentDeposit]));
     w26.TopAttach    = ((uint)(6));
     w26.BottomAttach = ((uint)(7));
     w26.LeftAttach   = ((uint)(1));
     w26.RightAttach  = ((uint)(2));
     w26.XOptions     = ((global::Gtk.AttachOptions)(4));
     w26.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableInfo.Gtk.Table+TableChild
     this.labelCurrentMoneyDebt      = new global::Gamma.GtkWidgets.yLabel();
     this.labelCurrentMoneyDebt.Name = "labelCurrentMoneyDebt";
     this.tableInfo.Add(this.labelCurrentMoneyDebt);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.labelCurrentMoneyDebt]));
     w27.TopAttach    = ((uint)(4));
     w27.BottomAttach = ((uint)(5));
     w27.LeftAttach   = ((uint)(1));
     w27.RightAttach  = ((uint)(2));
     w27.XOptions     = ((global::Gtk.AttachOptions)(4));
     w27.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableInfo.Gtk.Table+TableChild
     this.labelEquipment           = new global::Gtk.Label();
     this.labelEquipment.Name      = "labelEquipment";
     this.labelEquipment.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Оборудование</b>:");
     this.labelEquipment.UseMarkup = true;
     this.tableInfo.Add(this.labelEquipment);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.tableInfo[this.labelEquipment]));
     w28.TopAttach    = ((uint)(5));
     w28.BottomAttach = ((uint)(6));
     w28.XOptions     = ((global::Gtk.AttachOptions)(4));
     w28.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.hboxInfo.Add(this.tableInfo);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hboxInfo[this.tableInfo]));
     w29.Position = 1;
     w29.Expand   = false;
     w29.Fill     = false;
     this.table1.Add(this.hboxInfo);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.hboxInfo]));
     w30.TopAttach    = ((uint)(3));
     w30.BottomAttach = ((uint)(9));
     w30.LeftAttach   = ((uint)(4));
     w30.RightAttach  = ((uint)(5));
     w30.XOptions     = ((global::Gtk.AttachOptions)(4));
     w30.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата документа:");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w31.XOptions = ((global::Gtk.AttachOptions)(4));
     w31.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label10           = new global::Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.Xalign    = 1F;
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Оборудование:");
     this.table1.Add(this.label10);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1[this.label10]));
     w32.TopAttach    = ((uint)(4));
     w32.BottomAttach = ((uint)(5));
     w32.XOptions     = ((global::Gtk.AttachOptions)(4));
     w32.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.Xalign    = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Остаток по таре:");
     this.table1.Add(this.label3);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1[this.label3]));
     w33.TopAttach    = ((uint)(3));
     w33.BottomAttach = ((uint)(4));
     w33.XOptions     = ((global::Gtk.AttachOptions)(4));
     w33.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.Xalign    = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Точка доставки:");
     this.table1.Add(this.label4);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1[this.label4]));
     w34.TopAttach    = ((uint)(2));
     w34.BottomAttach = ((uint)(3));
     w34.XOptions     = ((global::Gtk.AttachOptions)(4));
     w34.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.Xalign    = 1F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Залог за тару:");
     this.table1.Add(this.label5);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1[this.label5]));
     w35.TopAttach    = ((uint)(3));
     w35.BottomAttach = ((uint)(4));
     w35.LeftAttach   = ((uint)(2));
     w35.RightAttach  = ((uint)(3));
     w35.XOptions     = ((global::Gtk.AttachOptions)(4));
     w35.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.Xalign    = 1F;
     this.label8.Yalign    = 0F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий:");
     this.table1.Add(this.label8);
     global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1[this.label8]));
     w36.TopAttach    = ((uint)(8));
     w36.BottomAttach = ((uint)(9));
     w36.XOptions     = ((global::Gtk.AttachOptions)(4));
     w36.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label9           = new global::Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.Xalign    = 1F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Клиент:");
     this.table1.Add(this.label9);
     global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table1[this.label9]));
     w37.TopAttach    = ((uint)(1));
     w37.BottomAttach = ((uint)(2));
     w37.XOptions     = ((global::Gtk.AttachOptions)(4));
     w37.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.moneyLabel           = new global::Gtk.Label();
     this.moneyLabel.Name      = "moneyLabel";
     this.moneyLabel.Xalign    = 1F;
     this.moneyLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Долги по деньгам:");
     this.table1.Add(this.moneyLabel);
     global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1[this.moneyLabel]));
     w38.TopAttach    = ((uint)(6));
     w38.BottomAttach = ((uint)(7));
     w38.XOptions     = ((global::Gtk.AttachOptions)(4));
     w38.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yenumcomboDebtPaymentType      = new global::Gamma.Widgets.yEnumComboBox();
     this.yenumcomboDebtPaymentType.Name = "yenumcomboDebtPaymentType";
     this.yenumcomboDebtPaymentType.ShowSpecialStateAll = false;
     this.yenumcomboDebtPaymentType.ShowSpecialStateNot = false;
     this.yenumcomboDebtPaymentType.UseShortTitle       = false;
     this.yenumcomboDebtPaymentType.DefaultFirst        = false;
     this.table1.Add(this.yenumcomboDebtPaymentType);
     global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1[this.yenumcomboDebtPaymentType]));
     w39.TopAttach    = ((uint)(7));
     w39.BottomAttach = ((uint)(8));
     w39.LeftAttach   = ((uint)(1));
     w39.RightAttach  = ((uint)(2));
     w39.XOptions     = ((global::Gtk.AttachOptions)(4));
     w39.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ypickerDocDate                    = new global::QS.Widgets.GtkUI.DatePicker();
     this.ypickerDocDate.Events             = ((global::Gdk.EventMask)(256));
     this.ypickerDocDate.Name               = "ypickerDocDate";
     this.ypickerDocDate.WithTime           = false;
     this.ypickerDocDate.HideCalendarButton = false;
     this.ypickerDocDate.Date               = new global::System.DateTime(0);
     this.ypickerDocDate.IsEditable         = true;
     this.ypickerDocDate.AutoSeparation     = false;
     this.table1.Add(this.ypickerDocDate);
     global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table1[this.ypickerDocDate]));
     w40.LeftAttach  = ((uint)(1));
     w40.RightAttach = ((uint)(5));
     w40.XOptions    = ((global::Gtk.AttachOptions)(4));
     w40.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ySpecCmbDeliveryPoint                        = new global::Gamma.Widgets.ySpecComboBox();
     this.ySpecCmbDeliveryPoint.Name                   = "ySpecCmbDeliveryPoint";
     this.ySpecCmbDeliveryPoint.AddIfNotExist          = false;
     this.ySpecCmbDeliveryPoint.DefaultFirst           = false;
     this.ySpecCmbDeliveryPoint.ShowSpecialStateAll    = false;
     this.ySpecCmbDeliveryPoint.ShowSpecialStateNot    = true;
     this.ySpecCmbDeliveryPoint.NameForSpecialStateNot = "Самовывоз";
     this.table1.Add(this.ySpecCmbDeliveryPoint);
     global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table1[this.ySpecCmbDeliveryPoint]));
     w41.TopAttach    = ((uint)(2));
     w41.BottomAttach = ((uint)(3));
     w41.LeftAttach   = ((uint)(1));
     w41.RightAttach  = ((uint)(5));
     w41.XOptions     = ((global::Gtk.AttachOptions)(4));
     w41.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vboxDialog.Add(this.table1);
     global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vboxDialog[this.table1]));
     w42.Position = 1;
     this.Add(this.vboxDialog);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.tableInfo.Hide();
     this.Hide();
     this.entryClient.Changed += new global::System.EventHandler(this.OnEntryClientChanged);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.ResidueDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.ResidueDlg";
     // Container child Vodovoz.ResidueDlg.Gtk.Container+ContainerChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonSave = new global::Gtk.Button ();
     this.buttonSave.CanFocus = true;
     this.buttonSave.Name = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить");
     global::Gtk.Image w1 = new global::Gtk.Image ();
     w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w1;
     this.hbox4.Add (this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSave]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonCancel = new global::Gtk.Button ();
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить");
     global::Gtk.Image w3 = new global::Gtk.Image ();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w3;
     this.hbox4.Add (this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCancel]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     this.vbox2.Add (this.hbox4);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox4]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table (((uint)(8)), ((uint)(4)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.disablespinBottlesDeposit = new global::QSOrmProject.DisableSpinButton ();
     this.disablespinBottlesDeposit.Events = ((global::Gdk.EventMask)(256));
     this.disablespinBottlesDeposit.Name = "disablespinBottlesDeposit";
     this.disablespinBottlesDeposit.Active = false;
     this.disablespinBottlesDeposit.Upper = 100000;
     this.disablespinBottlesDeposit.Lower = -100000;
     this.disablespinBottlesDeposit.Digits = ((uint)(2));
     this.table1.Add (this.disablespinBottlesDeposit);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.disablespinBottlesDeposit]));
     w6.TopAttach = ((uint)(2));
     w6.BottomAttach = ((uint)(3));
     w6.LeftAttach = ((uint)(3));
     w6.RightAttach = ((uint)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.disablespinBottlesResidue = new global::QSOrmProject.DisableSpinButton ();
     this.disablespinBottlesResidue.Events = ((global::Gdk.EventMask)(256));
     this.disablespinBottlesResidue.Name = "disablespinBottlesResidue";
     this.disablespinBottlesResidue.Active = false;
     this.disablespinBottlesResidue.Upper = 100000;
     this.disablespinBottlesResidue.Lower = -100000;
     this.disablespinBottlesResidue.Digits = ((uint)(0));
     this.table1.Add (this.disablespinBottlesResidue);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.disablespinBottlesResidue]));
     w7.TopAttach = ((uint)(2));
     w7.BottomAttach = ((uint)(3));
     w7.LeftAttach = ((uint)(1));
     w7.RightAttach = ((uint)(2));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.disablespinEquipmentDeposit = new global::QSOrmProject.DisableSpinButton ();
     this.disablespinEquipmentDeposit.Events = ((global::Gdk.EventMask)(256));
     this.disablespinEquipmentDeposit.Name = "disablespinEquipmentDeposit";
     this.disablespinEquipmentDeposit.Active = false;
     this.disablespinEquipmentDeposit.Upper = 100000;
     this.disablespinEquipmentDeposit.Lower = -100000;
     this.disablespinEquipmentDeposit.Digits = ((uint)(2));
     this.table1.Add (this.disablespinEquipmentDeposit);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.disablespinEquipmentDeposit]));
     w8.TopAttach = ((uint)(4));
     w8.BottomAttach = ((uint)(5));
     w8.LeftAttach = ((uint)(3));
     w8.RightAttach = ((uint)(4));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.disablespinMoneyDebt = new global::QSOrmProject.DisableSpinButton ();
     this.disablespinMoneyDebt.Events = ((global::Gdk.EventMask)(256));
     this.disablespinMoneyDebt.Name = "disablespinMoneyDebt";
     this.disablespinMoneyDebt.Active = false;
     this.disablespinMoneyDebt.Upper = 10000000;
     this.disablespinMoneyDebt.Lower = -10000000;
     this.disablespinMoneyDebt.Digits = ((uint)(2));
     this.table1.Add (this.disablespinMoneyDebt);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.disablespinMoneyDebt]));
     w9.TopAttach = ((uint)(4));
     w9.BottomAttach = ((uint)(5));
     w9.LeftAttach = ((uint)(1));
     w9.RightAttach = ((uint)(2));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.ytextviewComment = new global::Gamma.GtkWidgets.yTextView ();
     this.ytextviewComment.CanFocus = true;
     this.ytextviewComment.Name = "ytextviewComment";
     this.GtkScrolledWindow.Add (this.ytextviewComment);
     this.table1.Add (this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow]));
     w11.TopAttach = ((uint)(7));
     w11.BottomAttach = ((uint)(8));
     w11.LeftAttach = ((uint)(1));
     w11.RightAttach = ((uint)(4));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.Xalign = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата документа:");
     this.table1.Add (this.label1);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label11 = new global::Gtk.Label ();
     this.label11.Name = "label11";
     this.label11.Xalign = 1F;
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Текущий долг:");
     this.table1.Add (this.label11);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label11]));
     w13.TopAttach = ((uint)(6));
     w13.BottomAttach = ((uint)(7));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label13 = new global::Gtk.Label ();
     this.label13.Name = "label13";
     this.label13.Xalign = 1F;
     this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Текущие залоги:");
     this.table1.Add (this.label13);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label13]));
     w14.TopAttach = ((uint)(6));
     w14.BottomAttach = ((uint)(7));
     w14.LeftAttach = ((uint)(2));
     w14.RightAttach = ((uint)(3));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.Xalign = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Клиент:");
     this.table1.Add (this.label2);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w15.LeftAttach = ((uint)(2));
     w15.RightAttach = ((uint)(3));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.Xalign = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Остаток по таре:");
     this.table1.Add (this.label3);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w16.TopAttach = ((uint)(2));
     w16.BottomAttach = ((uint)(3));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.Xalign = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Точка доставки:");
     this.table1.Add (this.label4);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
     w17.TopAttach = ((uint)(1));
     w17.BottomAttach = ((uint)(2));
     w17.LeftAttach = ((uint)(2));
     w17.RightAttach = ((uint)(3));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.Xalign = 1F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Залог за тару:");
     this.table1.Add (this.label5);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5]));
     w18.TopAttach = ((uint)(2));
     w18.BottomAttach = ((uint)(3));
     w18.LeftAttach = ((uint)(2));
     w18.RightAttach = ((uint)(3));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.Xalign = 1F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Залог за оборудование:");
     this.table1.Add (this.label6);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6]));
     w19.TopAttach = ((uint)(4));
     w19.BottomAttach = ((uint)(5));
     w19.LeftAttach = ((uint)(2));
     w19.RightAttach = ((uint)(3));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label7 = new global::Gtk.Label ();
     this.label7.Name = "label7";
     this.label7.Xalign = 1F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Текущий остаток:");
     this.table1.Add (this.label7);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7]));
     w20.TopAttach = ((uint)(3));
     w20.BottomAttach = ((uint)(4));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label8 = new global::Gtk.Label ();
     this.label8.Name = "label8";
     this.label8.Xalign = 1F;
     this.label8.Yalign = 0F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Комментарий:");
     this.table1.Add (this.label8);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8]));
     w21.TopAttach = ((uint)(7));
     w21.BottomAttach = ((uint)(8));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelCurrent = new global::Gtk.Label ();
     this.labelCurrent.Name = "labelCurrent";
     this.labelCurrent.Xalign = 1F;
     this.labelCurrent.LabelProp = global::Mono.Unix.Catalog.GetString ("Текущие залоги:");
     this.table1.Add (this.labelCurrent);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelCurrent]));
     w22.TopAttach = ((uint)(3));
     w22.BottomAttach = ((uint)(4));
     w22.LeftAttach = ((uint)(2));
     w22.RightAttach = ((uint)(3));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelCurrentBootle = new global::Gtk.Label ();
     this.labelCurrentBootle.Name = "labelCurrentBootle";
     this.labelCurrentBootle.LabelProp = global::Mono.Unix.Catalog.GetString ("label3");
     this.table1.Add (this.labelCurrentBootle);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelCurrentBootle]));
     w23.TopAttach = ((uint)(3));
     w23.BottomAttach = ((uint)(4));
     w23.LeftAttach = ((uint)(1));
     w23.RightAttach = ((uint)(2));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelCurrentBottleDeposit = new global::Gtk.Label ();
     this.labelCurrentBottleDeposit.Name = "labelCurrentBottleDeposit";
     this.labelCurrentBottleDeposit.LabelProp = global::Mono.Unix.Catalog.GetString ("label4");
     this.table1.Add (this.labelCurrentBottleDeposit);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelCurrentBottleDeposit]));
     w24.TopAttach = ((uint)(3));
     w24.BottomAttach = ((uint)(4));
     w24.LeftAttach = ((uint)(3));
     w24.RightAttach = ((uint)(4));
     w24.XOptions = ((global::Gtk.AttachOptions)(4));
     w24.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelCurrentEquipmentDeposit = new global::Gtk.Label ();
     this.labelCurrentEquipmentDeposit.Name = "labelCurrentEquipmentDeposit";
     this.labelCurrentEquipmentDeposit.LabelProp = global::Mono.Unix.Catalog.GetString ("label8");
     this.table1.Add (this.labelCurrentEquipmentDeposit);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelCurrentEquipmentDeposit]));
     w25.TopAttach = ((uint)(6));
     w25.BottomAttach = ((uint)(7));
     w25.LeftAttach = ((uint)(3));
     w25.RightAttach = ((uint)(4));
     w25.XOptions = ((global::Gtk.AttachOptions)(4));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelCurrentMoneyDebt = new global::Gtk.Label ();
     this.labelCurrentMoneyDebt.Name = "labelCurrentMoneyDebt";
     this.labelCurrentMoneyDebt.LabelProp = global::Mono.Unix.Catalog.GetString ("label6");
     this.table1.Add (this.labelCurrentMoneyDebt);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelCurrentMoneyDebt]));
     w26.TopAttach = ((uint)(6));
     w26.BottomAttach = ((uint)(7));
     w26.LeftAttach = ((uint)(1));
     w26.RightAttach = ((uint)(2));
     w26.XOptions = ((global::Gtk.AttachOptions)(4));
     w26.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.moneyLabel = new global::Gtk.Label ();
     this.moneyLabel.Name = "moneyLabel";
     this.moneyLabel.Xalign = 1F;
     this.moneyLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Долги по деньгам:");
     this.table1.Add (this.moneyLabel);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1 [this.moneyLabel]));
     w27.TopAttach = ((uint)(4));
     w27.BottomAttach = ((uint)(5));
     w27.XOptions = ((global::Gtk.AttachOptions)(4));
     w27.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yenumcomboDebtPaymentType = new global::Gamma.Widgets.yEnumComboBox ();
     this.yenumcomboDebtPaymentType.Name = "yenumcomboDebtPaymentType";
     this.yenumcomboDebtPaymentType.ShowSpecialStateAll = false;
     this.yenumcomboDebtPaymentType.ShowSpecialStateNot = false;
     this.yenumcomboDebtPaymentType.UseShortTitle = false;
     this.yenumcomboDebtPaymentType.DefaultFirst = false;
     this.table1.Add (this.yenumcomboDebtPaymentType);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1 [this.yenumcomboDebtPaymentType]));
     w28.TopAttach = ((uint)(5));
     w28.BottomAttach = ((uint)(6));
     w28.LeftAttach = ((uint)(1));
     w28.RightAttach = ((uint)(2));
     w28.XOptions = ((global::Gtk.AttachOptions)(4));
     w28.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ypickerDocDate = new global::Gamma.Widgets.yDatePicker ();
     this.ypickerDocDate.Events = ((global::Gdk.EventMask)(256));
     this.ypickerDocDate.Name = "ypickerDocDate";
     this.ypickerDocDate.WithTime = false;
     this.ypickerDocDate.Date = new global::System.DateTime (0);
     this.ypickerDocDate.IsEditable = true;
     this.ypickerDocDate.AutoSeparation = false;
     this.table1.Add (this.ypickerDocDate);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1 [this.ypickerDocDate]));
     w29.LeftAttach = ((uint)(1));
     w29.RightAttach = ((uint)(2));
     w29.XOptions = ((global::Gtk.AttachOptions)(4));
     w29.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yreferenceClientSelector = new global::Gamma.Widgets.yEntryReferenceVM ();
     this.yreferenceClientSelector.Events = ((global::Gdk.EventMask)(256));
     this.yreferenceClientSelector.Name = "yreferenceClientSelector";
     this.table1.Add (this.yreferenceClientSelector);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1 [this.yreferenceClientSelector]));
     w30.LeftAttach = ((uint)(3));
     w30.RightAttach = ((uint)(4));
     w30.XOptions = ((global::Gtk.AttachOptions)(4));
     w30.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yreferenceDeliveryPoint = new global::Gamma.Widgets.yEntryReferenceVM ();
     this.yreferenceDeliveryPoint.Events = ((global::Gdk.EventMask)(256));
     this.yreferenceDeliveryPoint.Name = "yreferenceDeliveryPoint";
     this.table1.Add (this.yreferenceDeliveryPoint);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1 [this.yreferenceDeliveryPoint]));
     w31.TopAttach = ((uint)(1));
     w31.BottomAttach = ((uint)(2));
     w31.LeftAttach = ((uint)(3));
     w31.RightAttach = ((uint)(4));
     w31.XOptions = ((global::Gtk.AttachOptions)(4));
     w31.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox2.Add (this.table1);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1]));
     w32.Position = 1;
     this.Add (this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Hide ();
     this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked);
     this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked);
     this.yreferenceDeliveryPoint.Changed += new global::System.EventHandler (this.OnYreferenceDeliveryPointChanged);
     this.yreferenceClientSelector.Changed += new global::System.EventHandler (this.OnYentryreferencevmClientSelectorChanged);
     this.disablespinMoneyDebt.ActiveChanged += new global::System.EventHandler (this.OnDisablespinMoneyDebtActiveChanged);
 }