protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget workwear.EmployeeBalanceFilter
     global::Stetic.BinContainer.Attach (this);
     this.Name = "workwear.EmployeeBalanceFilter";
     // Container child workwear.EmployeeBalanceFilter.Gtk.Container+ContainerChild
     this.table1 = new global::Gtk.Table (((uint)(1)), ((uint)(2)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Сотрудник:");
     this.table1.Add (this.label1);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w1.XOptions = ((global::Gtk.AttachOptions)(4));
     w1.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryEmployee = new global::Gamma.Widgets.yEntryReference ();
     this.yentryEmployee.Events = ((global::Gdk.EventMask)(256));
     this.yentryEmployee.Name = "yentryEmployee";
     this.table1.Add (this.yentryEmployee);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryEmployee]));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.XOptions = ((global::Gtk.AttachOptions)(4));
     w2.YOptions = ((global::Gtk.AttachOptions)(4));
     this.Add (this.table1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Hide ();
     this.yentryEmployee.Changed += new global::System.EventHandler (this.OnYentryEmployeeChanged);
 }
 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.OrganizationDlg
     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.OrganizationDlg";
     // Container child Vodovoz.OrganizationDlg.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonSave = new global::Gtk.Button ();
     this.buttonSave.CanFocus = true;
     this.buttonSave.Name = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить");
     global::Gtk.Image w3 = new global::Gtk.Image ();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w3;
     this.hbox1.Add (this.buttonSave);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonSave]));
     w4.Position = 0;
     w4.Expand = false;
     w4.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 w5 = new global::Gtk.Image ();
     w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w5;
     this.hbox1.Add (this.buttonCancel);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel]));
     w6.Position = 1;
     w6.Expand = false;
     w6.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vseparator1 = new global::Gtk.VSeparator ();
     this.vseparator1.Name = "vseparator1";
     this.hbox1.Add (this.vseparator1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vseparator1]));
     w7.Position = 2;
     w7.Expand = false;
     w7.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.radioTabInfo = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Основное"));
     this.radioTabInfo.CanFocus = true;
     this.radioTabInfo.Name = "radioTabInfo";
     this.radioTabInfo.DrawIndicator = false;
     this.radioTabInfo.UseUnderline = true;
     this.radioTabInfo.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.hbox1.Add (this.radioTabInfo);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.radioTabInfo]));
     w8.Position = 3;
     // Container child hbox1.Gtk.Box+BoxChild
     this.radioTabAccounts = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Счета"));
     this.radioTabAccounts.CanFocus = true;
     this.radioTabAccounts.Name = "radioTabAccounts";
     this.radioTabAccounts.DrawIndicator = false;
     this.radioTabAccounts.UseUnderline = true;
     this.radioTabAccounts.Group = this.radioTabInfo.Group;
     this.hbox1.Add (this.radioTabAccounts);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.radioTabAccounts]));
     w9.Position = 4;
     this.vbox1.Add (this.hbox1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w10.Position = 0;
     w10.Expand = false;
     w10.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebookMain = new global::Gtk.Notebook ();
     this.notebookMain.CanFocus = true;
     this.notebookMain.Name = "notebookMain";
     this.notebookMain.CurrentPage = 0;
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.scrolledwindow1 = new global::Gtk.ScrolledWindow ();
     this.scrolledwindow1.CanFocus = true;
     this.scrolledwindow1.Name = "scrolledwindow1";
     this.scrolledwindow1.HscrollbarPolicy = ((global::Gtk.PolicyType)(2));
     this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     global::Gtk.Viewport w11 = new global::Gtk.Viewport ();
     w11.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.datatableMain = new global::Gtk.Table (((uint)(11)), ((uint)(2)), false);
     this.datatableMain.Name = "datatableMain";
     this.datatableMain.RowSpacing = ((uint)(6));
     this.datatableMain.ColumnSpacing = ((uint)(6));
     this.datatableMain.BorderWidth = ((uint)(2));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataentryEmail = new global::Gamma.Widgets.yValidatedEntry ();
     this.dataentryEmail.CanFocus = true;
     this.dataentryEmail.Name = "dataentryEmail";
     this.dataentryEmail.IsEditable = true;
     this.dataentryEmail.MaxLength = 45;
     this.dataentryEmail.InvisibleChar = '●';
     this.datatableMain.Add (this.dataentryEmail);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryEmail]));
     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 datatableMain.Gtk.Table+TableChild
     this.dataentryFullName = new global::Gamma.GtkWidgets.yEntry ();
     this.dataentryFullName.CanFocus = true;
     this.dataentryFullName.Name = "dataentryFullName";
     this.dataentryFullName.IsEditable = true;
     this.dataentryFullName.MaxLength = 200;
     this.dataentryFullName.InvisibleChar = '●';
     this.datatableMain.Add (this.dataentryFullName);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryFullName]));
     w13.TopAttach = ((uint)(1));
     w13.BottomAttach = ((uint)(2));
     w13.LeftAttach = ((uint)(1));
     w13.RightAttach = ((uint)(2));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataentryINN = new global::Gamma.Widgets.yValidatedEntry ();
     this.dataentryINN.CanFocus = true;
     this.dataentryINN.Name = "dataentryINN";
     this.dataentryINN.IsEditable = true;
     this.dataentryINN.MaxLength = 12;
     this.dataentryINN.InvisibleChar = '●';
     this.datatableMain.Add (this.dataentryINN);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryINN]));
     w14.TopAttach = ((uint)(6));
     w14.BottomAttach = ((uint)(7));
     w14.LeftAttach = ((uint)(1));
     w14.RightAttach = ((uint)(2));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataentryKPP = new global::Gamma.Widgets.yValidatedEntry ();
     this.dataentryKPP.CanFocus = true;
     this.dataentryKPP.Name = "dataentryKPP";
     this.dataentryKPP.IsEditable = true;
     this.dataentryKPP.MaxLength = 9;
     this.dataentryKPP.InvisibleChar = '●';
     this.datatableMain.Add (this.dataentryKPP);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryKPP]));
     w15.TopAttach = ((uint)(7));
     w15.BottomAttach = ((uint)(8));
     w15.LeftAttach = ((uint)(1));
     w15.RightAttach = ((uint)(2));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataentryName = new global::Gamma.GtkWidgets.yEntry ();
     this.dataentryName.CanFocus = true;
     this.dataentryName.Name = "dataentryName";
     this.dataentryName.IsEditable = true;
     this.dataentryName.MaxLength = 100;
     this.dataentryName.InvisibleChar = '●';
     this.datatableMain.Add (this.dataentryName);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryName]));
     w16.LeftAttach = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataentryOGRN = new global::Gamma.Widgets.yValidatedEntry ();
     this.dataentryOGRN.CanFocus = true;
     this.dataentryOGRN.Name = "dataentryOGRN";
     this.dataentryOGRN.IsEditable = true;
     this.dataentryOGRN.MaxLength = 13;
     this.dataentryOGRN.InvisibleChar = '●';
     this.datatableMain.Add (this.dataentryOGRN);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryOGRN]));
     w17.TopAttach = ((uint)(8));
     w17.BottomAttach = ((uint)(9));
     w17.LeftAttach = ((uint)(1));
     w17.RightAttach = ((uint)(2));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.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.datatextviewJurAddress = new global::Gamma.GtkWidgets.yTextView ();
     this.datatextviewJurAddress.CanFocus = true;
     this.datatextviewJurAddress.Name = "datatextviewJurAddress";
     this.datatextviewJurAddress.WrapMode = ((global::Gtk.WrapMode)(2));
     this.GtkScrolledWindow1.Add (this.datatextviewJurAddress);
     this.datatableMain.Add (this.GtkScrolledWindow1);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.GtkScrolledWindow1]));
     w19.TopAttach = ((uint)(10));
     w19.BottomAttach = ((uint)(11));
     w19.LeftAttach = ((uint)(1));
     w19.RightAttach = ((uint)(2));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow2.Name = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.datatextviewAddress = new global::Gamma.GtkWidgets.yTextView ();
     this.datatextviewAddress.CanFocus = true;
     this.datatextviewAddress.Name = "datatextviewAddress";
     this.datatextviewAddress.WrapMode = ((global::Gtk.WrapMode)(2));
     this.GtkScrolledWindow2.Add (this.datatextviewAddress);
     this.datatableMain.Add (this.GtkScrolledWindow2);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.GtkScrolledWindow2]));
     w21.TopAttach = ((uint)(9));
     w21.BottomAttach = ((uint)(10));
     w21.LeftAttach = ((uint)(1));
     w21.RightAttach = ((uint)(2));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.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.datatableMain.Add (this.label10);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label10]));
     w22.TopAttach = ((uint)(8));
     w22.BottomAttach = ((uint)(9));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.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 ("E-mail:");
     this.datatableMain.Add (this.label11);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label11]));
     w23.TopAttach = ((uint)(3));
     w23.BottomAttach = ((uint)(4));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.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.datatableMain.Add (this.label13);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label13]));
     w24.TopAttach = ((uint)(4));
     w24.BottomAttach = ((uint)(5));
     w24.XOptions = ((global::Gtk.AttachOptions)(4));
     w24.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label14 = new global::Gtk.Label ();
     this.label14.Name = "label14";
     this.label14.Xalign = 1F;
     this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("Главный бухгалтер:");
     this.datatableMain.Add (this.label14);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label14]));
     w25.TopAttach = ((uint)(5));
     w25.BottomAttach = ((uint)(6));
     w25.XOptions = ((global::Gtk.AttachOptions)(4));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.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.datatableMain.Add (this.label3);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label3]));
     w26.TopAttach = ((uint)(1));
     w26.BottomAttach = ((uint)(2));
     w26.XOptions = ((global::Gtk.AttachOptions)(4));
     w26.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.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 ("Название<span foreground=\"red\">*</span>:");
     this.label4.UseMarkup = true;
     this.datatableMain.Add (this.label4);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label4]));
     w27.XOptions = ((global::Gtk.AttachOptions)(4));
     w27.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.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.datatableMain.Add (this.label5);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label5]));
     w28.TopAttach = ((uint)(9));
     w28.BottomAttach = ((uint)(10));
     w28.XOptions = ((global::Gtk.AttachOptions)(4));
     w28.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.Xalign = 1F;
     this.label6.Yalign = 0F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Юр. адрес:");
     this.datatableMain.Add (this.label6);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label6]));
     w29.TopAttach = ((uint)(10));
     w29.BottomAttach = ((uint)(11));
     w29.XOptions = ((global::Gtk.AttachOptions)(4));
     w29.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.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.datatableMain.Add (this.label7);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label7]));
     w30.TopAttach = ((uint)(6));
     w30.BottomAttach = ((uint)(7));
     w30.XOptions = ((global::Gtk.AttachOptions)(4));
     w30.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.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.datatableMain.Add (this.label8);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label8]));
     w31.TopAttach = ((uint)(7));
     w31.BottomAttach = ((uint)(8));
     w31.XOptions = ((global::Gtk.AttachOptions)(4));
     w31.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.label9 = new global::Gtk.Label ();
     this.label9.Name = "label9";
     this.label9.Xalign = 1F;
     this.label9.Yalign = 0F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Телефоны:");
     this.datatableMain.Add (this.label9);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label9]));
     w32.TopAttach = ((uint)(2));
     w32.BottomAttach = ((uint)(3));
     w32.XOptions = ((global::Gtk.AttachOptions)(4));
     w32.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.phonesview1 = new global::QSContacts.PhonesView ();
     this.phonesview1.Events = ((global::Gdk.EventMask)(256));
     this.phonesview1.Name = "phonesview1";
     this.datatableMain.Add (this.phonesview1);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.phonesview1]));
     w33.TopAttach = ((uint)(2));
     w33.BottomAttach = ((uint)(3));
     w33.LeftAttach = ((uint)(1));
     w33.RightAttach = ((uint)(2));
     w33.XOptions = ((global::Gtk.AttachOptions)(4));
     w33.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.referenceBuhgalter = new global::Gamma.Widgets.yEntryReference ();
     this.referenceBuhgalter.Events = ((global::Gdk.EventMask)(256));
     this.referenceBuhgalter.Name = "referenceBuhgalter";
     this.referenceBuhgalter.DisplayFields = new string[] {
         "FullName"
     };
     this.referenceBuhgalter.DisplayFormatString = "{0}";
     this.datatableMain.Add (this.referenceBuhgalter);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.referenceBuhgalter]));
     w34.TopAttach = ((uint)(5));
     w34.BottomAttach = ((uint)(6));
     w34.LeftAttach = ((uint)(1));
     w34.RightAttach = ((uint)(2));
     w34.XOptions = ((global::Gtk.AttachOptions)(4));
     w34.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.referenceLeader = new global::Gamma.Widgets.yEntryReference ();
     this.referenceLeader.Events = ((global::Gdk.EventMask)(256));
     this.referenceLeader.Name = "referenceLeader";
     this.referenceLeader.DisplayFields = new string[] {
         "FullName"
     };
     this.referenceLeader.DisplayFormatString = "{0}";
     this.datatableMain.Add (this.referenceLeader);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.referenceLeader]));
     w35.TopAttach = ((uint)(4));
     w35.BottomAttach = ((uint)(5));
     w35.LeftAttach = ((uint)(1));
     w35.RightAttach = ((uint)(2));
     w35.XOptions = ((global::Gtk.AttachOptions)(4));
     w35.YOptions = ((global::Gtk.AttachOptions)(4));
     w11.Add (this.datatableMain);
     this.scrolledwindow1.Add (w11);
     this.notebookMain.Add (this.scrolledwindow1);
     // Notebook tab
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Информация");
     this.notebookMain.SetTabLabel (this.scrolledwindow1, this.label1);
     this.label1.ShowAll ();
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.accountsview1 = new global::QSBanks.AccountsView ();
     this.accountsview1.Events = ((global::Gdk.EventMask)(256));
     this.accountsview1.Name = "accountsview1";
     this.notebookMain.Add (this.accountsview1);
     global::Gtk.Notebook.NotebookChild w39 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.accountsview1]));
     w39.Position = 1;
     // Notebook tab
     this.label12 = new global::Gtk.Label ();
     this.label12.Name = "label12";
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Счет");
     this.notebookMain.SetTabLabel (this.accountsview1, this.label12);
     this.label12.ShowAll ();
     this.vbox1.Add (this.notebookMain);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebookMain]));
     w40.Position = 1;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     w1.SetUiManager (UIManager);
     this.Hide ();
     this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked);
     this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked);
     this.radioTabInfo.Toggled += new global::System.EventHandler (this.OnRadioTabInfoToggled);
     this.radioTabAccounts.Toggled += new global::System.EventHandler (this.OnRadioTabAccountsToggled);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.SubdivisionDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.SubdivisionDlg";
     // Container child Vodovoz.SubdivisionDlg.Gtk.Container+ContainerChild
     this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.buttonSave = new global::Gtk.Button ();
     this.buttonSave.CanFocus = true;
     this.buttonSave.Name = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить");
     global::Gtk.Image w1 = new global::Gtk.Image ();
     w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w1;
     this.hbox2.Add (this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonSave]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.buttonCancel = new global::Gtk.Button ();
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить");
     global::Gtk.Image w3 = new global::Gtk.Image ();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w3;
     this.hbox2.Add (this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonCancel]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     this.table1.Add (this.hbox2);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox2]));
     w5.RightAttach = ((uint)(2));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Название подразделения:");
     this.table1.Add (this.label1);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w6.TopAttach = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Начальник подразделения:");
     this.table1.Add (this.label2);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w7.TopAttach = ((uint)(2));
     w7.BottomAttach = ((uint)(3));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryName = new global::Gamma.GtkWidgets.yEntry ();
     this.yentryName.CanFocus = true;
     this.yentryName.Name = "yentryName";
     this.yentryName.IsEditable = true;
     this.yentryName.InvisibleChar = '●';
     this.table1.Add (this.yentryName);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryName]));
     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 table1.Gtk.Table+TableChild
     this.yentryreferenceChief = new global::Gamma.Widgets.yEntryReference ();
     this.yentryreferenceChief.Events = ((global::Gdk.EventMask)(256));
     this.yentryreferenceChief.Name = "yentryreferenceChief";
     this.table1.Add (this.yentryreferenceChief);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryreferenceChief]));
     w9.TopAttach = ((uint)(2));
     w9.BottomAttach = ((uint)(3));
     w9.LeftAttach = ((uint)(1));
     w9.RightAttach = ((uint)(2));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     this.Add (this.table1);
     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 LeaseAgreement.ContractDlg
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "LeaseAgreement.ContractDlg";
     this.Title = global::Mono.Unix.Catalog.GetString ("Новый договор");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child LeaseAgreement.ContractDlg.VBox
     global::Gtk.VBox w2 = this.VBox;
     w2.Name = "dialog1_VBox";
     w2.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.notebookMain = new global::Gtk.Notebook ();
     this.notebookMain.CanFocus = true;
     this.notebookMain.Name = "notebookMain";
     this.notebookMain.CurrentPage = 4;
     this.notebookMain.TabPos = ((global::Gtk.PositionType)(0));
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.hboxInfo = new global::Gtk.HBox ();
     this.hboxInfo.Name = "hboxInfo";
     this.hboxInfo.Spacing = 6;
     // Container child hboxInfo.Gtk.Box+BoxChild
     this.table2 = new global::Gtk.DataBindings.DataTable (((uint)(7)), ((uint)(2)), false);
     this.table2.Name = "table2";
     this.table2.RowSpacing = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     this.table2.InheritedDataSource = false;
     this.table2.InheritedBoundaryDataSource = false;
     this.table2.InheritedDataSource = false;
     this.table2.InheritedBoundaryDataSource = false;
     // Container child table2.Gtk.Table+TableChild
     this.checkDraft = new global::Gtk.DataBindings.DataCheckButton ();
     this.checkDraft.CanFocus = true;
     this.checkDraft.Name = "checkDraft";
     this.checkDraft.Label = global::Mono.Unix.Catalog.GetString ("Черновик");
     this.checkDraft.DrawIndicator = true;
     this.checkDraft.UseUnderline = true;
     this.checkDraft.InheritedDataSource = true;
     this.checkDraft.Mappings = "Draft";
     this.checkDraft.InheritedBoundaryDataSource = false;
     this.checkDraft.Editable = true;
     this.checkDraft.AutomaticTitle = false;
     this.checkDraft.InheritedBoundaryDataSource = false;
     this.checkDraft.InheritedDataSource = true;
     this.checkDraft.Mappings = "Draft";
     this.table2.Add (this.checkDraft);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2 [this.checkDraft]));
     w3.TopAttach = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.LeftAttach = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.XOptions = ((global::Gtk.AttachOptions)(4));
     w3.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.comboCategory = new global::Gamma.Widgets.ySpecComboBox ();
     this.comboCategory.Name = "comboCategory";
     this.comboCategory.AddIfNotExist = false;
     this.comboCategory.DefaultFirst = false;
     this.comboCategory.ShowSpecialStateAll = false;
     this.comboCategory.ShowSpecialStateNot = true;
     this.table2.Add (this.comboCategory);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboCategory]));
     w4.TopAttach = ((uint)(3));
     w4.BottomAttach = ((uint)(4));
     w4.LeftAttach = ((uint)(1));
     w4.RightAttach = ((uint)(2));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.comboContractType = new global::Gamma.Widgets.ySpecComboBox ();
     this.comboContractType.Name = "comboContractType";
     this.comboContractType.AddIfNotExist = false;
     this.comboContractType.DefaultFirst = false;
     this.comboContractType.ShowSpecialStateAll = false;
     this.comboContractType.ShowSpecialStateNot = true;
     this.table2.Add (this.comboContractType);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboContractType]));
     w5.TopAttach = ((uint)(2));
     w5.BottomAttach = ((uint)(3));
     w5.LeftAttach = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.comboOrg = new global::Gamma.Widgets.ySpecComboBox ();
     this.comboOrg.Name = "comboOrg";
     this.comboOrg.AddIfNotExist = false;
     this.comboOrg.DefaultFirst = false;
     this.comboOrg.ShowSpecialStateAll = false;
     this.comboOrg.ShowSpecialStateNot = true;
     this.table2.Add (this.comboOrg);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboOrg]));
     w6.TopAttach = ((uint)(4));
     w6.BottomAttach = ((uint)(5));
     w6.LeftAttach = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.datepickerSign = new global::Gamma.Widgets.yDatePicker ();
     this.datepickerSign.Events = ((global::Gdk.EventMask)(256));
     this.datepickerSign.Name = "datepickerSign";
     this.datepickerSign.WithTime = false;
     this.datepickerSign.Date = new global::System.DateTime (0);
     this.datepickerSign.IsEditable = true;
     this.datepickerSign.AutoSeparation = true;
     this.table2.Add (this.datepickerSign);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.datepickerSign]));
     w7.TopAttach = ((uint)(6));
     w7.BottomAttach = ((uint)(7));
     w7.LeftAttach = ((uint)(1));
     w7.RightAttach = ((uint)(2));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.entryNumber = new global::Gtk.DataBindings.DataEntry ();
     this.entryNumber.CanFocus = true;
     this.entryNumber.Events = ((global::Gdk.EventMask)(16384));
     this.entryNumber.Name = "entryNumber";
     this.entryNumber.IsEditable = true;
     this.entryNumber.MaxLength = 20;
     this.entryNumber.InvisibleChar = '•';
     this.entryNumber.InheritedDataSource = true;
     this.entryNumber.Mappings = "Number";
     this.entryNumber.InheritedBoundaryDataSource = false;
     this.entryNumber.InheritedDataSource = true;
     this.entryNumber.Mappings = "Number";
     this.entryNumber.InheritedBoundaryDataSource = false;
     this.table2.Add (this.entryNumber);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.entryNumber]));
     w8.LeftAttach = ((uint)(1));
     w8.RightAttach = ((uint)(2));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label10 = new global::Gtk.Label ();
     this.label10.Name = "label10";
     this.label10.Xalign = 1F;
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Статус:");
     this.table2.Add (this.label10);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.label10]));
     w9.TopAttach = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label14 = new global::Gtk.Label ();
     this.label14.Name = "label14";
     this.label14.Xalign = 1F;
     this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("Тип договора:");
     this.table2.Add (this.label14);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2 [this.label14]));
     w10.TopAttach = ((uint)(2));
     w10.BottomAttach = ((uint)(3));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label17 = new global::Gtk.Label ();
     this.label17.Name = "label17";
     this.label17.Xalign = 1F;
     this.label17.LabelProp = global::Mono.Unix.Catalog.GetString ("Категория:");
     this.table2.Add (this.label17);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.label17]));
     w11.TopAttach = ((uint)(3));
     w11.BottomAttach = ((uint)(4));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.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 ("Номер договора<span foreground=\"red\">*</span>:");
     this.label5.UseMarkup = true;
     this.table2.Add (this.label5);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.label5]));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.Xalign = 1F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Организация<span foreground=\"red\">*</span>:");
     this.label6.UseMarkup = true;
     this.table2.Add (this.label6);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2 [this.label6]));
     w13.TopAttach = ((uint)(4));
     w13.BottomAttach = ((uint)(5));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label8 = new global::Gtk.Label ();
     this.label8.Name = "label8";
     this.label8.Xalign = 1F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Арендатор<span foreground=\"red\">*</span>:");
     this.label8.UseMarkup = true;
     this.table2.Add (this.label8);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8]));
     w14.TopAttach = ((uint)(5));
     w14.BottomAttach = ((uint)(6));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label9 = new global::Gtk.Label ();
     this.label9.Name = "label9";
     this.label9.Xalign = 1F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата подписания:");
     this.table2.Add (this.label9);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2 [this.label9]));
     w15.TopAttach = ((uint)(6));
     w15.BottomAttach = ((uint)(7));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.yentryreferenceLessee = new global::Gamma.Widgets.yEntryReference ();
     this.yentryreferenceLessee.Events = ((global::Gdk.EventMask)(256));
     this.yentryreferenceLessee.Name = "yentryreferenceLessee";
     this.table2.Add (this.yentryreferenceLessee);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryreferenceLessee]));
     w16.TopAttach = ((uint)(5));
     w16.BottomAttach = ((uint)(6));
     w16.LeftAttach = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     this.hboxInfo.Add (this.table2);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hboxInfo [this.table2]));
     w17.Position = 0;
     w17.Expand = false;
     w17.Fill = false;
     // Container child hboxInfo.Gtk.Box+BoxChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.table3 = new global::Gtk.DataBindings.DataTable (((uint)(4)), ((uint)(2)), false);
     this.table3.Name = "table3";
     this.table3.RowSpacing = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(6));
     this.table3.InheritedDataSource = false;
     this.table3.InheritedBoundaryDataSource = false;
     this.table3.InheritedDataSource = false;
     this.table3.InheritedBoundaryDataSource = false;
     // Container child table3.Gtk.Table+TableChild
     this.comboResponsible = new global::Gamma.Widgets.ySpecComboBox ();
     this.comboResponsible.Name = "comboResponsible";
     this.comboResponsible.AddIfNotExist = true;
     this.comboResponsible.DefaultFirst = false;
     this.comboResponsible.ShowSpecialStateAll = false;
     this.comboResponsible.ShowSpecialStateNot = false;
     this.table3.Add (this.comboResponsible);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table3 [this.comboResponsible]));
     w18.LeftAttach = ((uint)(1));
     w18.RightAttach = ((uint)(2));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.datepickerCancel = new global::Gamma.Widgets.yDatePicker ();
     this.datepickerCancel.Events = ((global::Gdk.EventMask)(256));
     this.datepickerCancel.Name = "datepickerCancel";
     this.datepickerCancel.WithTime = false;
     this.datepickerCancel.Date = new global::System.DateTime (0);
     this.datepickerCancel.IsEditable = true;
     this.datepickerCancel.AutoSeparation = true;
     this.table3.Add (this.datepickerCancel);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table3 [this.datepickerCancel]));
     w19.TopAttach = ((uint)(3));
     w19.BottomAttach = ((uint)(4));
     w19.LeftAttach = ((uint)(1));
     w19.RightAttach = ((uint)(2));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.datepickerEnd = new global::Gamma.Widgets.yDatePicker ();
     this.datepickerEnd.Events = ((global::Gdk.EventMask)(256));
     this.datepickerEnd.Name = "datepickerEnd";
     this.datepickerEnd.WithTime = false;
     this.datepickerEnd.Date = new global::System.DateTime (0);
     this.datepickerEnd.IsEditable = true;
     this.datepickerEnd.AutoSeparation = true;
     this.table3.Add (this.datepickerEnd);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table3 [this.datepickerEnd]));
     w20.TopAttach = ((uint)(2));
     w20.BottomAttach = ((uint)(3));
     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.datepickerStart = new global::Gamma.Widgets.yDatePicker ();
     this.datepickerStart.Events = ((global::Gdk.EventMask)(256));
     this.datepickerStart.Name = "datepickerStart";
     this.datepickerStart.WithTime = false;
     this.datepickerStart.Date = new global::System.DateTime (0);
     this.datepickerStart.IsEditable = true;
     this.datepickerStart.AutoSeparation = true;
     this.table3.Add (this.datepickerStart);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table3 [this.datepickerStart]));
     w21.TopAttach = ((uint)(1));
     w21.BottomAttach = ((uint)(2));
     w21.LeftAttach = ((uint)(1));
     w21.RightAttach = ((uint)(2));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label11 = new global::Gtk.Label ();
     this.label11.Name = "label11";
     this.label11.Xalign = 1F;
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата начала аренды<span foreground=\"red\">*</span>:");
     this.label11.UseMarkup = true;
     this.table3.Add (this.label11);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table3 [this.label11]));
     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.label12 = new global::Gtk.Label ();
     this.label12.Name = "label12";
     this.label12.Xalign = 1F;
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата окончания аренды<span foreground=\"red\">*</span>:");
     this.label12.UseMarkup = true;
     this.table3.Add (this.label12);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table3 [this.label12]));
     w23.TopAttach = ((uint)(2));
     w23.BottomAttach = ((uint)(3));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label13 = new global::Gtk.Label ();
     this.label13.Name = "label13";
     this.label13.Xalign = 1F;
     this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата расторжения:");
     this.table3.Add (this.label13);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table3 [this.label13]));
     w24.TopAttach = ((uint)(3));
     w24.BottomAttach = ((uint)(4));
     w24.XOptions = ((global::Gtk.AttachOptions)(4));
     w24.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label18 = new global::Gtk.Label ();
     this.label18.Name = "label18";
     this.label18.Xalign = 1F;
     this.label18.LabelProp = global::Mono.Unix.Catalog.GetString ("Ответственный:");
     this.table3.Add (this.label18);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table3 [this.label18]));
     w25.XOptions = ((global::Gtk.AttachOptions)(4));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add (this.table3);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.table3]));
     w26.Position = 0;
     w26.Expand = false;
     w26.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.frame1 = new global::Gtk.Frame ();
     this.frame1.Name = "frame1";
     this.frame1.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment8 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment8.Name = "GtkAlignment8";
     this.GtkAlignment8.LeftPadding = ((uint)(12));
     // Container child GtkAlignment8.Gtk.Container+ContainerChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.textComments = new global::Gtk.DataBindings.DataTextView ();
     this.textComments.CanFocus = true;
     this.textComments.Name = "textComments";
     this.textComments.WrapMode = ((global::Gtk.WrapMode)(2));
     this.textComments.InheritedDataSource = false;
     this.textComments.Mappings = "Comments";
     this.textComments.InheritedBoundaryDataSource = false;
     this.textComments.InheritedDataSource = false;
     this.textComments.Mappings = "Comments";
     this.textComments.InheritedBoundaryDataSource = false;
     this.GtkScrolledWindow.Add (this.textComments);
     this.GtkAlignment8.Add (this.GtkScrolledWindow);
     this.frame1.Add (this.GtkAlignment8);
     this.GtkLabel9 = new global::Gtk.Label ();
     this.GtkLabel9.Name = "GtkLabel9";
     this.GtkLabel9.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Комментарии</b>");
     this.GtkLabel9.UseMarkup = true;
     this.frame1.LabelWidget = this.GtkLabel9;
     this.vbox3.Add (this.frame1);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.frame1]));
     w30.Position = 1;
     this.hboxInfo.Add (this.vbox3);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hboxInfo [this.vbox3]));
     w31.Position = 1;
     this.notebookMain.Add (this.hboxInfo);
     // Notebook tab
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Информация");
     this.notebookMain.SetTabLabel (this.hboxInfo, this.label2);
     this.label2.ShowAll ();
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.contractplacesview1 = new global::LeaseAgreement.ContractPlacesView ();
     this.contractplacesview1.Events = ((global::Gdk.EventMask)(256));
     this.contractplacesview1.Name = "contractplacesview1";
     this.notebookMain.Add (this.contractplacesview1);
     global::Gtk.Notebook.NotebookChild w33 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.contractplacesview1]));
     w33.Position = 1;
     // Notebook tab
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Места");
     this.notebookMain.SetTabLabel (this.contractplacesview1, this.label3);
     this.label3.ShowAll ();
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.customContracts = new global::QSCustomFields.CustomFields ();
     this.customContracts.Events = ((global::Gdk.EventMask)(256));
     this.customContracts.Name = "customContracts";
     this.customContracts.ObjectId = -1;
     this.notebookMain.Add (this.customContracts);
     global::Gtk.Notebook.NotebookChild w34 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.customContracts]));
     w34.Position = 2;
     // Notebook tab
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Дополнительно");
     this.notebookMain.SetTabLabel (this.customContracts, this.label4);
     this.label4.ShowAll ();
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.vboxDocs = new global::Gtk.VBox ();
     this.vboxDocs.Name = "vboxDocs";
     this.vboxDocs.Spacing = 6;
     // Container child vboxDocs.Gtk.Box+BoxChild
     this.label16 = new global::Gtk.Label ();
     this.label16.Name = "label16";
     this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("Печатные формы документов для договора.");
     this.vboxDocs.Add (this.label16);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vboxDocs [this.label16]));
     w35.Position = 0;
     w35.Expand = false;
     w35.Fill = false;
     // Container child vboxDocs.Gtk.Box+BoxChild
     this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow2.Name = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.treeviewDocs = new global::Gtk.TreeView ();
     this.treeviewDocs.CanFocus = true;
     this.treeviewDocs.Name = "treeviewDocs";
     this.GtkScrolledWindow2.Add (this.treeviewDocs);
     this.vboxDocs.Add (this.GtkScrolledWindow2);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vboxDocs [this.GtkScrolledWindow2]));
     w37.Position = 1;
     // Container child vboxDocs.Gtk.Box+BoxChild
     this.hbox9 = new global::Gtk.HBox ();
     this.hbox9.Name = "hbox9";
     this.hbox9.Spacing = 6;
     // Container child hbox9.Gtk.Box+BoxChild
     this.buttonPrint = new global::Gtk.Button ();
     this.buttonPrint.Sensitive = false;
     this.buttonPrint.CanFocus = true;
     this.buttonPrint.Name = "buttonPrint";
     this.buttonPrint.UseUnderline = true;
     this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString ("Распечатать");
     global::Gtk.Image w38 = new global::Gtk.Image ();
     w38.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-print", global::Gtk.IconSize.Menu);
     this.buttonPrint.Image = w38;
     this.hbox9.Add (this.buttonPrint);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonPrint]));
     w39.Position = 0;
     w39.Expand = false;
     w39.Fill = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.buttonEdit = new global::Gtk.Button ();
     this.buttonEdit.TooltipMarkup = "Редактировать шаблон только для этого договора.";
     this.buttonEdit.Sensitive = false;
     this.buttonEdit.CanFocus = true;
     this.buttonEdit.Name = "buttonEdit";
     this.buttonEdit.UseUnderline = true;
     this.buttonEdit.Label = global::Mono.Unix.Catalog.GetString ("Редактировать");
     global::Gtk.Image w40 = new global::Gtk.Image ();
     w40.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu);
     this.buttonEdit.Image = w40;
     this.hbox9.Add (this.buttonEdit);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonEdit]));
     w41.Position = 1;
     w41.Expand = false;
     w41.Fill = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.buttonRemove = new global::Gtk.Button ();
     this.buttonRemove.Sensitive = false;
     this.buttonRemove.CanFocus = true;
     this.buttonRemove.Name = "buttonRemove";
     this.buttonRemove.UseUnderline = true;
     this.buttonRemove.Label = global::Mono.Unix.Catalog.GetString ("Вернуть шаблон");
     global::Gtk.Image w42 = new global::Gtk.Image ();
     w42.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonRemove.Image = w42;
     this.hbox9.Add (this.buttonRemove);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonRemove]));
     w43.Position = 2;
     w43.Expand = false;
     w43.Fill = false;
     this.vboxDocs.Add (this.hbox9);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vboxDocs [this.hbox9]));
     w44.Position = 2;
     w44.Expand = false;
     w44.Fill = false;
     this.notebookMain.Add (this.vboxDocs);
     global::Gtk.Notebook.NotebookChild w45 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.vboxDocs]));
     w45.Position = 3;
     // Notebook tab
     this.label15 = new global::Gtk.Label ();
     this.label15.Name = "label15";
     this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("Документы");
     this.notebookMain.SetTabLabel (this.vboxDocs, this.label15);
     this.label15.ShowAll ();
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.attachmentFiles = new global::QSAttachment.Attachment ();
     this.attachmentFiles.Events = ((global::Gdk.EventMask)(256));
     this.attachmentFiles.Name = "attachmentFiles";
     this.notebookMain.Add (this.attachmentFiles);
     global::Gtk.Notebook.NotebookChild w46 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.attachmentFiles]));
     w46.Position = 4;
     // Notebook tab
     this.label19 = new global::Gtk.Label ();
     this.label19.Name = "label19";
     this.label19.LabelProp = global::Mono.Unix.Catalog.GetString ("Файлы");
     this.notebookMain.SetTabLabel (this.attachmentFiles, this.label19);
     this.label19.ShowAll ();
     w2.Add (this.notebookMain);
     global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(w2 [this.notebookMain]));
     w47.Position = 0;
     // Internal child LeaseAgreement.ContractDlg.ActionArea
     global::Gtk.HButtonBox w48 = this.ActionArea;
     w48.Name = "dialog1_ActionArea";
     w48.Spacing = 10;
     w48.BorderWidth = ((uint)(5));
     w48.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel = new global::Gtk.Button ();
     this.buttonCancel.CanDefault = true;
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("О_тменить");
     global::Gtk.Image w49 = new global::Gtk.Image ();
     w49.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w49;
     this.AddActionWidget (this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w50 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w48 [this.buttonCancel]));
     w50.Expand = false;
     w50.Fill = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk = new global::Gtk.Button ();
     this.buttonOk.Sensitive = false;
     this.buttonOk.CanDefault = true;
     this.buttonOk.CanFocus = true;
     this.buttonOk.Name = "buttonOk";
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("_OK");
     global::Gtk.Image w51 = new global::Gtk.Image ();
     w51.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu);
     this.buttonOk.Image = w51;
     w48.Add (this.buttonOk);
     global::Gtk.ButtonBox.ButtonBoxChild w52 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w48 [this.buttonOk]));
     w52.Position = 1;
     w52.Expand = false;
     w52.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 882;
     this.DefaultHeight = 383;
     this.Show ();
     this.yentryreferenceLessee.Changed += new global::System.EventHandler (this.OnYentryreferenceLesseeChanged);
     this.entryNumber.Changed += new global::System.EventHandler (this.OnEntryNumberChanged);
     this.entryNumber.Activated += new global::System.EventHandler (this.OnEntryActivated);
     this.entryNumber.FocusOutEvent += new global::Gtk.FocusOutEventHandler (this.OnEntryNumberFocusOutEvent);
     this.comboOrg.Changed += new global::System.EventHandler (this.OnComboOrgChanged);
     this.comboContractType.Changed += new global::System.EventHandler (this.OnComboContractTypeChanged);
     this.datepickerStart.DateChanged += new global::System.EventHandler (this.OnDatepickerStartDateChanged);
     this.datepickerEnd.DateChanged += new global::System.EventHandler (this.OnDatepickerEndDateChanged);
     this.datepickerCancel.DateChanged += new global::System.EventHandler (this.OnDatepickerCancelDateChanged);
     this.treeviewDocs.CursorChanged += new global::System.EventHandler (this.OnTreeviewDocsCursorChanged);
     this.treeviewDocs.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewDocsRowActivated);
     this.buttonPrint.Clicked += new global::System.EventHandler (this.OnButtonPrintClicked);
     this.buttonEdit.Clicked += new global::System.EventHandler (this.OnButtonEditClicked);
     this.buttonRemove.Clicked += new global::System.EventHandler (this.OnButtonRemoveClicked);
     this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget workwear.EmployeeCardDlg
     this.Name = "workwear.EmployeeCardDlg";
     this.Title = global::Mono.Unix.Catalog.GetString ("Новая карточка сотрудника");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child workwear.EmployeeCardDlg.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     this.hbox1.BorderWidth = ((uint)(3));
     // Container child hbox1.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table (((uint)(8)), ((uint)(7)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.comboSex = new global::Gamma.Widgets.yEnumComboBox ();
     this.comboSex.Name = "comboSex";
     this.comboSex.ShowSpecialStateAll = false;
     this.comboSex.ShowSpecialStateNot = false;
     this.comboSex.UseShortTitle = false;
     this.comboSex.DefaultFirst = false;
     this.table1.Add (this.comboSex);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboSex]));
     w2.TopAttach = ((uint)(4));
     w2.BottomAttach = ((uint)(5));
     w2.LeftAttach = ((uint)(3));
     w2.RightAttach = ((uint)(4));
     w2.XOptions = ((global::Gtk.AttachOptions)(4));
     w2.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.dateDismiss = new global::Gamma.Widgets.yDatePicker ();
     this.dateDismiss.Events = ((global::Gdk.EventMask)(256));
     this.dateDismiss.Name = "dateDismiss";
     this.dateDismiss.WithTime = false;
     this.dateDismiss.Date = new global::System.DateTime (0);
     this.dateDismiss.IsEditable = true;
     this.dateDismiss.AutoSeparation = true;
     this.table1.Add (this.dateDismiss);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.dateDismiss]));
     w3.TopAttach = ((uint)(3));
     w3.BottomAttach = ((uint)(4));
     w3.LeftAttach = ((uint)(3));
     w3.RightAttach = ((uint)(4));
     w3.XOptions = ((global::Gtk.AttachOptions)(4));
     w3.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.dateHire = new global::Gamma.Widgets.yDatePicker ();
     this.dateHire.Events = ((global::Gdk.EventMask)(256));
     this.dateHire.Name = "dateHire";
     this.dateHire.WithTime = false;
     this.dateHire.Date = new global::System.DateTime (0);
     this.dateHire.IsEditable = true;
     this.dateHire.AutoSeparation = true;
     this.table1.Add (this.dateHire);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.dateHire]));
     w4.TopAttach = ((uint)(1));
     w4.BottomAttach = ((uint)(2));
     w4.LeftAttach = ((uint)(3));
     w4.RightAttach = ((uint)(4));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryFirstName = new global::Gamma.GtkWidgets.yEntry ();
     this.entryFirstName.CanFocus = true;
     this.entryFirstName.Name = "entryFirstName";
     this.entryFirstName.IsEditable = true;
     this.entryFirstName.MaxLength = 20;
     this.entryFirstName.InvisibleChar = '●';
     this.table1.Add (this.entryFirstName);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryFirstName]));
     w5.TopAttach = ((uint)(2));
     w5.BottomAttach = ((uint)(3));
     w5.LeftAttach = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryLastName = new global::Gamma.GtkWidgets.yEntry ();
     this.entryLastName.CanFocus = true;
     this.entryLastName.Name = "entryLastName";
     this.entryLastName.IsEditable = true;
     this.entryLastName.MaxLength = 20;
     this.entryLastName.InvisibleChar = '●';
     this.table1.Add (this.entryLastName);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryLastName]));
     w6.TopAttach = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.LeftAttach = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryPatronymic = new global::Gamma.GtkWidgets.yEntry ();
     this.entryPatronymic.CanFocus = true;
     this.entryPatronymic.Name = "entryPatronymic";
     this.entryPatronymic.IsEditable = true;
     this.entryPatronymic.MaxLength = 20;
     this.entryPatronymic.InvisibleChar = '●';
     this.table1.Add (this.entryPatronymic);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryPatronymic]));
     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.hbox7 = new global::Gtk.HBox ();
     this.hbox7.Name = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.entryId = new global::Gtk.Entry ();
     this.entryId.Sensitive = false;
     this.entryId.CanFocus = true;
     this.entryId.Name = "entryId";
     this.entryId.Text = global::Mono.Unix.Catalog.GetString ("авто");
     this.entryId.IsEditable = true;
     this.entryId.WidthChars = 10;
     this.entryId.MaxLength = 15;
     this.entryId.InvisibleChar = '●';
     this.hbox7.Add (this.entryId);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.entryId]));
     w8.Position = 0;
     // Container child hbox7.Gtk.Box+BoxChild
     this.checkAuto = new global::Gtk.CheckButton ();
     this.checkAuto.CanFocus = true;
     this.checkAuto.Name = "checkAuto";
     this.checkAuto.Label = global::Mono.Unix.Catalog.GetString ("Автоматически");
     this.checkAuto.Active = true;
     this.checkAuto.DrawIndicator = true;
     this.checkAuto.UseUnderline = true;
     this.hbox7.Add (this.checkAuto);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.checkAuto]));
     w9.Position = 1;
     this.table1.Add (this.hbox7);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox7]));
     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.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 w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.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 w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label10]));
     w12.TopAttach = ((uint)(4));
     w12.BottomAttach = ((uint)(5));
     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)(5));
     w13.BottomAttach = ((uint)(6));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label12 = new global::Gtk.Label ();
     this.label12.Name = "label12";
     this.label12.Xalign = 1F;
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Объект:");
     this.table1.Add (this.label12);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label12]));
     w14.TopAttach = ((uint)(6));
     w14.BottomAttach = ((uint)(7));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label14 = new global::Gtk.Label ();
     this.label14.Name = "label14";
     this.label14.Xalign = 1F;
     this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("Адрес объекта:");
     this.table1.Add (this.label14);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label14]));
     w15.TopAttach = ((uint)(7));
     w15.BottomAttach = ((uint)(8));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label16 = new global::Gtk.Label ();
     this.label16.Name = "label16";
     this.label16.Xalign = 0F;
     this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Характеристики одежды</b>");
     this.label16.UseMarkup = true;
     this.table1.Add (this.label16);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label16]));
     w16.LeftAttach = ((uint)(4));
     w16.RightAttach = ((uint)(7));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label17 = new global::Gtk.Label ();
     this.label17.Name = "label17";
     this.label17.Xalign = 1F;
     this.label17.LabelProp = global::Mono.Unix.Catalog.GetString ("Карточку создал:");
     this.table1.Add (this.label17);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label17]));
     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.label18 = new global::Gtk.Label ();
     this.label18.Name = "label18";
     this.label18.Xalign = 1F;
     this.label18.LabelProp = global::Mono.Unix.Catalog.GetString ("Размер обуви:");
     this.table1.Add (this.label18);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.label18]));
     w18.TopAttach = ((uint)(3));
     w18.BottomAttach = ((uint)(4));
     w18.LeftAttach = ((uint)(4));
     w18.RightAttach = ((uint)(5));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label19 = new global::Gtk.Label ();
     this.label19.Name = "label19";
     this.label19.Xalign = 1F;
     this.label19.LabelProp = global::Mono.Unix.Catalog.GetString ("Размер головного убора:");
     this.table1.Add (this.label19);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.label19]));
     w19.TopAttach = ((uint)(4));
     w19.BottomAttach = ((uint)(5));
     w19.LeftAttach = ((uint)(4));
     w19.RightAttach = ((uint)(5));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.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 w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w20.TopAttach = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label20 = new global::Gtk.Label ();
     this.label20.Name = "label20";
     this.label20.Xalign = 1F;
     this.label20.LabelProp = global::Mono.Unix.Catalog.GetString ("Размер перчаток:");
     this.table1.Add (this.label20);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.label20]));
     w21.TopAttach = ((uint)(5));
     w21.BottomAttach = ((uint)(6));
     w21.LeftAttach = ((uint)(4));
     w21.RightAttach = ((uint)(5));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label23 = new global::Gtk.Label ();
     this.label23.Name = "label23";
     this.label23.Xalign = 1F;
     this.label23.LabelProp = global::Mono.Unix.Catalog.GetString ("Табельный номер:");
     this.table1.Add (this.label23);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.label23]));
     w22.TopAttach = ((uint)(2));
     w22.BottomAttach = ((uint)(3));
     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.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 w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w23.TopAttach = ((uint)(2));
     w23.BottomAttach = ((uint)(3));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.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 w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
     w24.TopAttach = ((uint)(3));
     w24.BottomAttach = ((uint)(4));
     w24.XOptions = ((global::Gtk.AttachOptions)(4));
     w24.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 w25 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5]));
     w25.TopAttach = ((uint)(1));
     w25.BottomAttach = ((uint)(2));
     w25.LeftAttach = ((uint)(2));
     w25.RightAttach = ((uint)(3));
     w25.XOptions = ((global::Gtk.AttachOptions)(4));
     w25.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 w26 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6]));
     w26.TopAttach = ((uint)(3));
     w26.BottomAttach = ((uint)(4));
     w26.LeftAttach = ((uint)(2));
     w26.RightAttach = ((uint)(3));
     w26.XOptions = ((global::Gtk.AttachOptions)(4));
     w26.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 w27 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7]));
     w27.TopAttach = ((uint)(4));
     w27.BottomAttach = ((uint)(5));
     w27.LeftAttach = ((uint)(2));
     w27.RightAttach = ((uint)(3));
     w27.XOptions = ((global::Gtk.AttachOptions)(4));
     w27.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label8 = new global::Gtk.Label ();
     this.label8.Name = "label8";
     this.label8.Xalign = 1F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Рост:");
     this.table1.Add (this.label8);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8]));
     w28.TopAttach = ((uint)(1));
     w28.BottomAttach = ((uint)(2));
     w28.LeftAttach = ((uint)(4));
     w28.RightAttach = ((uint)(5));
     w28.XOptions = ((global::Gtk.AttachOptions)(4));
     w28.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 w29 = ((global::Gtk.Table.TableChild)(this.table1 [this.label9]));
     w29.TopAttach = ((uint)(2));
     w29.BottomAttach = ((uint)(3));
     w29.LeftAttach = ((uint)(4));
     w29.RightAttach = ((uint)(5));
     w29.XOptions = ((global::Gtk.AttachOptions)(4));
     w29.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelObjectAddress = new global::Gtk.Label ();
     this.labelObjectAddress.Name = "labelObjectAddress";
     this.labelObjectAddress.LabelProp = global::Mono.Unix.Catalog.GetString ("---");
     this.labelObjectAddress.Wrap = true;
     this.labelObjectAddress.Selectable = true;
     this.table1.Add (this.labelObjectAddress);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelObjectAddress]));
     w30.TopAttach = ((uint)(7));
     w30.BottomAttach = ((uint)(8));
     w30.LeftAttach = ((uint)(1));
     w30.RightAttach = ((uint)(4));
     w30.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelUser = new global::Gtk.Label ();
     this.labelUser.Name = "labelUser";
     this.labelUser.LabelProp = global::Mono.Unix.Catalog.GetString ("не указан");
     this.table1.Add (this.labelUser);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelUser]));
     w31.LeftAttach = ((uint)(3));
     w31.RightAttach = ((uint)(4));
     w31.XOptions = ((global::Gtk.AttachOptions)(4));
     w31.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ycomboGlovesSize = new global::Gamma.GtkWidgets.yComboBox ();
     this.ycomboGlovesSize.Name = "ycomboGlovesSize";
     this.table1.Add (this.ycomboGlovesSize);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboGlovesSize]));
     w32.TopAttach = ((uint)(5));
     w32.BottomAttach = ((uint)(6));
     w32.LeftAttach = ((uint)(6));
     w32.RightAttach = ((uint)(7));
     w32.XOptions = ((global::Gtk.AttachOptions)(4));
     w32.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ycomboGlovesStd = new global::Gamma.Widgets.yEnumComboBox ();
     this.ycomboGlovesStd.Name = "ycomboGlovesStd";
     this.ycomboGlovesStd.ShowSpecialStateAll = false;
     this.ycomboGlovesStd.ShowSpecialStateNot = false;
     this.ycomboGlovesStd.UseShortTitle = true;
     this.ycomboGlovesStd.DefaultFirst = false;
     this.table1.Add (this.ycomboGlovesStd);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboGlovesStd]));
     w33.TopAttach = ((uint)(5));
     w33.BottomAttach = ((uint)(6));
     w33.LeftAttach = ((uint)(5));
     w33.RightAttach = ((uint)(6));
     w33.XOptions = ((global::Gtk.AttachOptions)(4));
     w33.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ycomboHeaddressSize = new global::Gamma.GtkWidgets.yComboBox ();
     this.ycomboHeaddressSize.Name = "ycomboHeaddressSize";
     this.table1.Add (this.ycomboHeaddressSize);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboHeaddressSize]));
     w34.TopAttach = ((uint)(4));
     w34.BottomAttach = ((uint)(5));
     w34.LeftAttach = ((uint)(6));
     w34.RightAttach = ((uint)(7));
     w34.XOptions = ((global::Gtk.AttachOptions)(4));
     w34.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ycomboHeaddressStd = new global::Gamma.Widgets.yEnumComboBox ();
     this.ycomboHeaddressStd.Name = "ycomboHeaddressStd";
     this.ycomboHeaddressStd.ShowSpecialStateAll = false;
     this.ycomboHeaddressStd.ShowSpecialStateNot = false;
     this.ycomboHeaddressStd.UseShortTitle = true;
     this.ycomboHeaddressStd.DefaultFirst = false;
     this.table1.Add (this.ycomboHeaddressStd);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboHeaddressStd]));
     w35.TopAttach = ((uint)(4));
     w35.BottomAttach = ((uint)(5));
     w35.LeftAttach = ((uint)(5));
     w35.RightAttach = ((uint)(6));
     w35.XOptions = ((global::Gtk.AttachOptions)(4));
     w35.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ycomboShoesSize = new global::Gamma.GtkWidgets.yComboBox ();
     this.ycomboShoesSize.Name = "ycomboShoesSize";
     this.table1.Add (this.ycomboShoesSize);
     global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboShoesSize]));
     w36.TopAttach = ((uint)(3));
     w36.BottomAttach = ((uint)(4));
     w36.LeftAttach = ((uint)(6));
     w36.RightAttach = ((uint)(7));
     w36.XOptions = ((global::Gtk.AttachOptions)(4));
     w36.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ycomboShoesStd = new global::Gamma.Widgets.yEnumComboBox ();
     this.ycomboShoesStd.Name = "ycomboShoesStd";
     this.ycomboShoesStd.ShowSpecialStateAll = false;
     this.ycomboShoesStd.ShowSpecialStateNot = false;
     this.ycomboShoesStd.UseShortTitle = true;
     this.ycomboShoesStd.DefaultFirst = false;
     this.table1.Add (this.ycomboShoesStd);
     global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboShoesStd]));
     w37.TopAttach = ((uint)(3));
     w37.BottomAttach = ((uint)(4));
     w37.LeftAttach = ((uint)(5));
     w37.RightAttach = ((uint)(6));
     w37.XOptions = ((global::Gtk.AttachOptions)(4));
     w37.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ycomboWearGrowth = new global::Gamma.GtkWidgets.yComboBox ();
     this.ycomboWearGrowth.Name = "ycomboWearGrowth";
     this.table1.Add (this.ycomboWearGrowth);
     global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboWearGrowth]));
     w38.TopAttach = ((uint)(1));
     w38.BottomAttach = ((uint)(2));
     w38.LeftAttach = ((uint)(5));
     w38.RightAttach = ((uint)(7));
     w38.XOptions = ((global::Gtk.AttachOptions)(4));
     w38.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ycomboWearSize = new global::Gamma.GtkWidgets.yComboBox ();
     this.ycomboWearSize.Name = "ycomboWearSize";
     this.table1.Add (this.ycomboWearSize);
     global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboWearSize]));
     w39.TopAttach = ((uint)(2));
     w39.BottomAttach = ((uint)(3));
     w39.LeftAttach = ((uint)(6));
     w39.RightAttach = ((uint)(7));
     w39.XOptions = ((global::Gtk.AttachOptions)(4));
     w39.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ycomboWearStd = new global::Gamma.Widgets.yEnumComboBox ();
     this.ycomboWearStd.Name = "ycomboWearStd";
     this.ycomboWearStd.ShowSpecialStateAll = false;
     this.ycomboWearStd.ShowSpecialStateNot = false;
     this.ycomboWearStd.UseShortTitle = true;
     this.ycomboWearStd.DefaultFirst = false;
     this.table1.Add (this.ycomboWearStd);
     global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table1 [this.ycomboWearStd]));
     w40.TopAttach = ((uint)(2));
     w40.BottomAttach = ((uint)(3));
     w40.LeftAttach = ((uint)(5));
     w40.RightAttach = ((uint)(6));
     w40.XOptions = ((global::Gtk.AttachOptions)(4));
     w40.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryLeader = new global::Gamma.Widgets.yEntryReference ();
     this.yentryLeader.Events = ((global::Gdk.EventMask)(256));
     this.yentryLeader.Name = "yentryLeader";
     this.table1.Add (this.yentryLeader);
     global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryLeader]));
     w41.TopAttach = ((uint)(5));
     w41.BottomAttach = ((uint)(6));
     w41.LeftAttach = ((uint)(1));
     w41.RightAttach = ((uint)(2));
     w41.XOptions = ((global::Gtk.AttachOptions)(4));
     w41.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryObject = new global::Gamma.Widgets.yEntryReference ();
     this.yentryObject.Events = ((global::Gdk.EventMask)(256));
     this.yentryObject.Name = "yentryObject";
     this.table1.Add (this.yentryObject);
     global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryObject]));
     w42.TopAttach = ((uint)(6));
     w42.BottomAttach = ((uint)(7));
     w42.LeftAttach = ((uint)(1));
     w42.RightAttach = ((uint)(2));
     w42.XOptions = ((global::Gtk.AttachOptions)(4));
     w42.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryPersonnelNumber = new global::Gamma.GtkWidgets.yEntry ();
     this.yentryPersonnelNumber.CanFocus = true;
     this.yentryPersonnelNumber.Name = "yentryPersonnelNumber";
     this.yentryPersonnelNumber.IsEditable = true;
     this.yentryPersonnelNumber.MaxLength = 15;
     this.yentryPersonnelNumber.InvisibleChar = '●';
     this.table1.Add (this.yentryPersonnelNumber);
     global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryPersonnelNumber]));
     w43.TopAttach = ((uint)(2));
     w43.BottomAttach = ((uint)(3));
     w43.LeftAttach = ((uint)(3));
     w43.RightAttach = ((uint)(4));
     w43.XOptions = ((global::Gtk.AttachOptions)(4));
     w43.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryPost = new global::Gamma.Widgets.yEntryReference ();
     this.yentryPost.Events = ((global::Gdk.EventMask)(256));
     this.yentryPost.Name = "yentryPost";
     this.table1.Add (this.yentryPost);
     global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryPost]));
     w44.TopAttach = ((uint)(4));
     w44.BottomAttach = ((uint)(5));
     w44.LeftAttach = ((uint)(1));
     w44.RightAttach = ((uint)(2));
     w44.XOptions = ((global::Gtk.AttachOptions)(4));
     w44.YOptions = ((global::Gtk.AttachOptions)(4));
     this.hbox1.Add (this.table1);
     global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table1]));
     w45.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame1 = new global::Gtk.Frame ();
     this.frame1.Name = "frame1";
     this.frame1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child frame1.Gtk.Container+ContainerChild
     this.yimagePhoto = new global::Gamma.Widgets.yImageViewer ();
     this.yimagePhoto.Name = "yimagePhoto";
     this.yimagePhoto.VerticalFit = true;
     this.yimagePhoto.HorizontalFit = true;
     this.frame1.Add (this.yimagePhoto);
     this.vbox2.Add (this.frame1);
     global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame1]));
     w47.Position = 0;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox8 = new global::Gtk.HBox ();
     this.hbox8.Name = "hbox8";
     this.hbox8.Spacing = 6;
     // Container child hbox8.Gtk.Box+BoxChild
     this.buttonLoadPhoto = new global::Gtk.Button ();
     this.buttonLoadPhoto.TooltipMarkup = "Загрузить фотографию с диска на компьютере.";
     this.buttonLoadPhoto.CanFocus = true;
     this.buttonLoadPhoto.Name = "buttonLoadPhoto";
     this.buttonLoadPhoto.UseUnderline = true;
     this.buttonLoadPhoto.Label = global::Mono.Unix.Catalog.GetString ("Загрузить");
     global::Gtk.Image w48 = new global::Gtk.Image ();
     w48.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-open", global::Gtk.IconSize.Menu);
     this.buttonLoadPhoto.Image = w48;
     this.hbox8.Add (this.buttonLoadPhoto);
     global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.buttonLoadPhoto]));
     w49.Position = 0;
     w49.Expand = false;
     w49.Fill = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.buttonSavePhoto = new global::Gtk.Button ();
     this.buttonSavePhoto.TooltipMarkup = "Сохранить фотографию на диск.";
     this.buttonSavePhoto.Sensitive = false;
     this.buttonSavePhoto.CanFocus = true;
     this.buttonSavePhoto.Name = "buttonSavePhoto";
     this.buttonSavePhoto.UseUnderline = true;
     this.buttonSavePhoto.Label = global::Mono.Unix.Catalog.GetString ("Сохранить");
     global::Gtk.Image w50 = new global::Gtk.Image ();
     w50.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSavePhoto.Image = w50;
     this.hbox8.Add (this.buttonSavePhoto);
     global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.buttonSavePhoto]));
     w51.Position = 1;
     w51.Expand = false;
     w51.Fill = false;
     this.vbox2.Add (this.hbox8);
     global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox8]));
     w52.Position = 1;
     w52.Expand = false;
     w52.Fill = false;
     this.hbox1.Add (this.vbox2);
     global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2]));
     w53.Position = 1;
     w53.Expand = false;
     w53.Fill = false;
     w1.Add (this.hbox1);
     global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1]));
     w54.Position = 0;
     w54.Expand = false;
     w54.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.notebook1 = new global::Gtk.Notebook ();
     this.notebook1.CanFocus = true;
     this.notebook1.Name = "notebook1";
     this.notebook1.CurrentPage = 0;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox6 = new global::Gtk.VBox ();
     this.vbox6.Name = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow2.Name = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.ytreeNorms = new global::Gamma.GtkWidgets.yTreeView ();
     this.ytreeNorms.CanFocus = true;
     this.ytreeNorms.Name = "ytreeNorms";
     this.ytreeNorms.EnableSearch = false;
     this.GtkScrolledWindow2.Add (this.ytreeNorms);
     this.vbox6.Add (this.GtkScrolledWindow2);
     global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.GtkScrolledWindow2]));
     w56.Position = 0;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox10 = new global::Gtk.HBox ();
     this.hbox10.Name = "hbox10";
     this.hbox10.Spacing = 6;
     // Container child hbox10.Gtk.Box+BoxChild
     this.buttonAddNorm = new global::Gtk.Button ();
     this.buttonAddNorm.CanFocus = true;
     this.buttonAddNorm.Name = "buttonAddNorm";
     this.buttonAddNorm.UseUnderline = true;
     this.buttonAddNorm.Label = global::Mono.Unix.Catalog.GetString ("Добавить норму");
     global::Gtk.Image w57 = new global::Gtk.Image ();
     w57.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu);
     this.buttonAddNorm.Image = w57;
     this.hbox10.Add (this.buttonAddNorm);
     global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.buttonAddNorm]));
     w58.Position = 0;
     w58.Expand = false;
     w58.Fill = false;
     // Container child hbox10.Gtk.Box+BoxChild
     this.buttonNormFromPost = new global::Gtk.Button ();
     this.buttonNormFromPost.CanFocus = true;
     this.buttonNormFromPost.Name = "buttonNormFromPost";
     this.buttonNormFromPost.UseUnderline = true;
     this.buttonNormFromPost.Label = global::Mono.Unix.Catalog.GetString ("По должности");
     global::Gtk.Image w59 = new global::Gtk.Image ();
     w59.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu);
     this.buttonNormFromPost.Image = w59;
     this.hbox10.Add (this.buttonNormFromPost);
     global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.buttonNormFromPost]));
     w60.Position = 1;
     w60.Expand = false;
     w60.Fill = false;
     // Container child hbox10.Gtk.Box+BoxChild
     this.buttonRemoveNorm = new global::Gtk.Button ();
     this.buttonRemoveNorm.CanFocus = true;
     this.buttonRemoveNorm.Name = "buttonRemoveNorm";
     this.buttonRemoveNorm.UseUnderline = true;
     this.buttonRemoveNorm.Label = global::Mono.Unix.Catalog.GetString ("Удалить норму");
     global::Gtk.Image w61 = new global::Gtk.Image ();
     w61.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-remove", global::Gtk.IconSize.Menu);
     this.buttonRemoveNorm.Image = w61;
     this.hbox10.Add (this.buttonRemoveNorm);
     global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.buttonRemoveNorm]));
     w62.Position = 2;
     w62.Expand = false;
     w62.Fill = false;
     // Container child hbox10.Gtk.Box+BoxChild
     this.buttonRefreshWorkwearItems = new global::Gtk.Button ();
     this.buttonRefreshWorkwearItems.TooltipMarkup = "Обновить список требуемой спецодежды в соответсвтии с изменениями в нормах.";
     this.buttonRefreshWorkwearItems.CanFocus = true;
     this.buttonRefreshWorkwearItems.Name = "buttonRefreshWorkwearItems";
     this.buttonRefreshWorkwearItems.UseUnderline = true;
     this.buttonRefreshWorkwearItems.Label = global::Mono.Unix.Catalog.GetString ("Обновить спецодежду");
     this.hbox10.Add (this.buttonRefreshWorkwearItems);
     global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.buttonRefreshWorkwearItems]));
     w63.Position = 3;
     w63.Expand = false;
     w63.Fill = false;
     this.vbox6.Add (this.hbox10);
     global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox10]));
     w64.Position = 1;
     w64.Expand = false;
     w64.Fill = false;
     this.notebook1.Add (this.vbox6);
     // Notebook tab
     this.label13 = new global::Gtk.Label ();
     this.label13.Name = "label13";
     this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Применённые нормы");
     this.notebook1.SetTabLabel (this.vbox6, this.label13);
     this.label13.ShowAll ();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox7 = new global::Gtk.VBox ();
     this.vbox7.Name = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow3.Name = "GtkScrolledWindow3";
     this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild
     this.ytreeWorkwear = new global::Gamma.GtkWidgets.yTreeView ();
     this.ytreeWorkwear.CanFocus = true;
     this.ytreeWorkwear.Name = "ytreeWorkwear";
     this.GtkScrolledWindow3.Add (this.ytreeWorkwear);
     this.vbox7.Add (this.GtkScrolledWindow3);
     global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.GtkScrolledWindow3]));
     w67.Position = 0;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hbox11 = new global::Gtk.HBox ();
     this.hbox11.Name = "hbox11";
     this.hbox11.Spacing = 6;
     // Container child hbox11.Gtk.Box+BoxChild
     this.buttonPickNomenclature = new global::Gtk.Button ();
     this.buttonPickNomenclature.CanFocus = true;
     this.buttonPickNomenclature.Name = "buttonPickNomenclature";
     this.buttonPickNomenclature.UseUnderline = true;
     this.buttonPickNomenclature.Label = global::Mono.Unix.Catalog.GetString ("Подобрать по складу");
     global::Gtk.Image w68 = new global::Gtk.Image ();
     this.buttonPickNomenclature.Image = w68;
     this.hbox11.Add (this.buttonPickNomenclature);
     global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.buttonPickNomenclature]));
     w69.Position = 0;
     w69.Expand = false;
     w69.Fill = false;
     // Container child hbox11.Gtk.Box+BoxChild
     this.buttonGiveWearByNorm = new global::Gtk.Button ();
     this.buttonGiveWearByNorm.CanFocus = true;
     this.buttonGiveWearByNorm.Name = "buttonGiveWearByNorm";
     this.buttonGiveWearByNorm.UseUnderline = true;
     this.buttonGiveWearByNorm.Label = global::Mono.Unix.Catalog.GetString ("Выдать неполученное");
     global::Gtk.Image w70 = new global::Gtk.Image ();
     w70.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu);
     this.buttonGiveWearByNorm.Image = w70;
     this.hbox11.Add (this.buttonGiveWearByNorm);
     global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.buttonGiveWearByNorm]));
     w71.Position = 1;
     w71.Expand = false;
     w71.Fill = false;
     // Container child hbox11.Gtk.Box+BoxChild
     this.buttonReturnWear1 = new global::Gtk.Button ();
     this.buttonReturnWear1.CanFocus = true;
     this.buttonReturnWear1.Name = "buttonReturnWear1";
     this.buttonReturnWear1.UseUnderline = true;
     this.buttonReturnWear1.Label = global::Mono.Unix.Catalog.GetString ("Возврат на склад");
     global::Gtk.Image w72 = new global::Gtk.Image ();
     w72.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-redo", global::Gtk.IconSize.Menu);
     this.buttonReturnWear1.Image = w72;
     this.hbox11.Add (this.buttonReturnWear1);
     global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.buttonReturnWear1]));
     w73.Position = 2;
     w73.Expand = false;
     w73.Fill = false;
     // Container child hbox11.Gtk.Box+BoxChild
     this.buttonWriteOffWear1 = new global::Gtk.Button ();
     this.buttonWriteOffWear1.CanFocus = true;
     this.buttonWriteOffWear1.Name = "buttonWriteOffWear1";
     this.buttonWriteOffWear1.UseUnderline = true;
     this.buttonWriteOffWear1.Label = global::Mono.Unix.Catalog.GetString ("Списание");
     global::Gtk.Image w74 = new global::Gtk.Image ();
     w74.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete", global::Gtk.IconSize.Menu);
     this.buttonWriteOffWear1.Image = w74;
     this.hbox11.Add (this.buttonWriteOffWear1);
     global::Gtk.Box.BoxChild w75 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.buttonWriteOffWear1]));
     w75.Position = 3;
     w75.Expand = false;
     w75.Fill = false;
     this.vbox7.Add (this.hbox11);
     global::Gtk.Box.BoxChild w76 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox11]));
     w76.Position = 1;
     w76.Expand = false;
     w76.Fill = false;
     this.notebook1.Add (this.vbox7);
     global::Gtk.Notebook.NotebookChild w77 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox7]));
     w77.Position = 1;
     // Notebook tab
     this.label15 = new global::Gtk.Label ();
     this.label15.Name = "label15";
     this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("Спецодежда");
     this.notebook1.SetTabLabel (this.vbox7, this.label15);
     this.label15.ShowAll ();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox4 = new global::Gtk.VBox ();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.ytreeListedItems = new global::Gamma.GtkWidgets.yTreeView ();
     this.ytreeListedItems.CanFocus = true;
     this.ytreeListedItems.Name = "ytreeListedItems";
     this.GtkScrolledWindow1.Add (this.ytreeListedItems);
     this.vbox4.Add (this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w79 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow1]));
     w79.Position = 0;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox9 = new global::Gtk.HBox ();
     this.hbox9.Name = "hbox9";
     this.hbox9.Spacing = 6;
     // Container child hbox9.Gtk.Box+BoxChild
     this.buttonGiveWear = new global::Gtk.Button ();
     this.buttonGiveWear.Sensitive = false;
     this.buttonGiveWear.CanFocus = true;
     this.buttonGiveWear.Name = "buttonGiveWear";
     this.buttonGiveWear.UseUnderline = true;
     this.buttonGiveWear.Label = global::Mono.Unix.Catalog.GetString ("Выдача сотруднику");
     global::Gtk.Image w80 = new global::Gtk.Image ();
     w80.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu);
     this.buttonGiveWear.Image = w80;
     this.hbox9.Add (this.buttonGiveWear);
     global::Gtk.Box.BoxChild w81 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonGiveWear]));
     w81.Position = 0;
     w81.Expand = false;
     w81.Fill = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.buttonReturnWear = new global::Gtk.Button ();
     this.buttonReturnWear.Sensitive = false;
     this.buttonReturnWear.CanFocus = true;
     this.buttonReturnWear.Name = "buttonReturnWear";
     this.buttonReturnWear.UseUnderline = true;
     this.buttonReturnWear.Label = global::Mono.Unix.Catalog.GetString ("Возврат на склад");
     global::Gtk.Image w82 = new global::Gtk.Image ();
     w82.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-redo", global::Gtk.IconSize.Menu);
     this.buttonReturnWear.Image = w82;
     this.hbox9.Add (this.buttonReturnWear);
     global::Gtk.Box.BoxChild w83 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonReturnWear]));
     w83.Position = 1;
     w83.Expand = false;
     w83.Fill = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.buttonWriteOffWear = new global::Gtk.Button ();
     this.buttonWriteOffWear.Sensitive = false;
     this.buttonWriteOffWear.CanFocus = true;
     this.buttonWriteOffWear.Name = "buttonWriteOffWear";
     this.buttonWriteOffWear.UseUnderline = true;
     this.buttonWriteOffWear.Label = global::Mono.Unix.Catalog.GetString ("Списание");
     global::Gtk.Image w84 = new global::Gtk.Image ();
     w84.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete", global::Gtk.IconSize.Menu);
     this.buttonWriteOffWear.Image = w84;
     this.hbox9.Add (this.buttonWriteOffWear);
     global::Gtk.Box.BoxChild w85 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonWriteOffWear]));
     w85.Position = 2;
     w85.Expand = false;
     w85.Fill = false;
     this.vbox4.Add (this.hbox9);
     global::Gtk.Box.BoxChild w86 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox9]));
     w86.Position = 1;
     w86.Expand = false;
     w86.Fill = false;
     this.notebook1.Add (this.vbox4);
     global::Gtk.Notebook.NotebookChild w87 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox4]));
     w87.Position = 2;
     // Notebook tab
     this.label21 = new global::Gtk.Label ();
     this.label21.Name = "label21";
     this.label21.LabelProp = global::Mono.Unix.Catalog.GetString ("Числится за сотрудником");
     this.notebook1.SetTabLabel (this.vbox4, this.label21);
     this.label21.ShowAll ();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.vbox5 = new global::Gtk.VBox ();
     this.vbox5.Name = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.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.treeviewMovements = new global::Gamma.GtkWidgets.yTreeView ();
     this.treeviewMovements.CanFocus = true;
     this.treeviewMovements.Name = "treeviewMovements";
     this.GtkScrolledWindow.Add (this.treeviewMovements);
     this.vbox5.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w89 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.GtkScrolledWindow]));
     w89.Position = 0;
     this.vbox3.Add (this.vbox5);
     global::Gtk.Box.BoxChild w90 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.vbox5]));
     w90.Position = 0;
     this.notebook1.Add (this.vbox3);
     global::Gtk.Notebook.NotebookChild w91 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox3]));
     w91.Position = 3;
     // Notebook tab
     this.label22 = new global::Gtk.Label ();
     this.label22.Name = "label22";
     this.label22.LabelProp = global::Mono.Unix.Catalog.GetString ("История выдач");
     this.notebook1.SetTabLabel (this.vbox3, this.label22);
     this.label22.ShowAll ();
     w1.Add (this.notebook1);
     global::Gtk.Box.BoxChild w92 = ((global::Gtk.Box.BoxChild)(w1 [this.notebook1]));
     w92.Position = 1;
     // Internal child workwear.EmployeeCardDlg.ActionArea
     global::Gtk.HButtonBox w93 = this.ActionArea;
     w93.Name = "dialog1_ActionArea";
     w93.Spacing = 10;
     w93.BorderWidth = ((uint)(5));
     w93.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonPrint = new global::Gtk.Button ();
     this.buttonPrint.Sensitive = false;
     this.buttonPrint.CanFocus = true;
     this.buttonPrint.Name = "buttonPrint";
     this.buttonPrint.UseUnderline = true;
     this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString ("Печать");
     global::Gtk.Image w94 = new global::Gtk.Image ();
     w94.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-print", global::Gtk.IconSize.Menu);
     this.buttonPrint.Image = w94;
     this.AddActionWidget (this.buttonPrint, 0);
     global::Gtk.ButtonBox.ButtonBoxChild w95 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w93 [this.buttonPrint]));
     w95.Expand = false;
     w95.Fill = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel = new global::Gtk.Button ();
     this.buttonCancel.CanDefault = true;
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("О_тменить");
     global::Gtk.Image w96 = new global::Gtk.Image ();
     w96.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w96;
     this.AddActionWidget (this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w97 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w93 [this.buttonCancel]));
     w97.Position = 1;
     w97.Expand = false;
     w97.Fill = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk = new global::Gtk.Button ();
     this.buttonOk.CanDefault = true;
     this.buttonOk.CanFocus = true;
     this.buttonOk.Name = "buttonOk";
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("_OK");
     global::Gtk.Image w98 = new global::Gtk.Image ();
     w98.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu);
     this.buttonOk.Image = w98;
     w93.Add (this.buttonOk);
     global::Gtk.ButtonBox.ButtonBoxChild w99 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w93 [this.buttonOk]));
     w99.Position = 2;
     w99.Expand = false;
     w99.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 1148;
     this.DefaultHeight = 569;
     this.Show ();
     this.yentryPost.Changed += new global::System.EventHandler (this.OnYentryPostChanged);
     this.ycomboWearStd.Changed += new global::System.EventHandler (this.OnYcomboWearStdChanged);
     this.ycomboShoesStd.Changed += new global::System.EventHandler (this.OnYcomboShoesStdChanged);
     this.ycomboHeaddressStd.Changed += new global::System.EventHandler (this.OnYcomboHeaddressChanged);
     this.ycomboGlovesStd.Changed += new global::System.EventHandler (this.OnYcomboGlovesStdChanged);
     this.entryId.Changed += new global::System.EventHandler (this.OnEntryIdChanged);
     this.checkAuto.Toggled += new global::System.EventHandler (this.OnCheckAutoToggled);
     this.comboSex.Changed += new global::System.EventHandler (this.OnComboSexChanged);
     this.yimagePhoto.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnYimagePhotoButtonPressEvent);
     this.buttonLoadPhoto.Clicked += new global::System.EventHandler (this.OnButtonLoadPhotoClicked);
     this.buttonSavePhoto.Clicked += new global::System.EventHandler (this.OnButtonSavePhotoClicked);
     this.notebook1.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebook1SwitchPage);
     this.buttonAddNorm.Clicked += new global::System.EventHandler (this.OnButtonAddNormClicked);
     this.buttonNormFromPost.Clicked += new global::System.EventHandler (this.OnButtonNormFromPostClicked);
     this.buttonRemoveNorm.Clicked += new global::System.EventHandler (this.OnButtonRemoveNormClicked);
     this.buttonRefreshWorkwearItems.Clicked += new global::System.EventHandler (this.OnButtonRefreshWorkwearItemsClicked);
     this.buttonPickNomenclature.Clicked += new global::System.EventHandler (this.OnButtonPickNomenclatureClicked);
     this.buttonGiveWearByNorm.Clicked += new global::System.EventHandler (this.OnButtonGiveWearByNormClicked);
     this.buttonReturnWear1.Clicked += new global::System.EventHandler (this.OnButtonReturnWearClicked);
     this.buttonWriteOffWear1.Clicked += new global::System.EventHandler (this.OnButtonWriteOffWearClicked);
     this.buttonGiveWear.Clicked += new global::System.EventHandler (this.OnButtonGiveWearClicked);
     this.buttonReturnWear.Clicked += new global::System.EventHandler (this.OnButtonReturnWearClicked);
     this.buttonWriteOffWear.Clicked += new global::System.EventHandler (this.OnButtonWriteOffWearClicked);
     this.buttonPrint.Clicked += new global::System.EventHandler (this.OnButtonPrintClicked);
     this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.UserSettingsDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.UserSettingsDlg";
     // Container child Vodovoz.UserSettingsDlg.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;
     this.vbox4.Add (this.hbox5);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox5]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.tableWriteoff = new global::Gtk.DataBindings.DataTable (((uint)(2)), ((uint)(2)), 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.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 w6 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label4]));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.yentryrefWarehouse = new global::Gamma.Widgets.yEntryReference ();
     this.yentryrefWarehouse.Events = ((global::Gdk.EventMask)(256));
     this.yentryrefWarehouse.Name = "yentryrefWarehouse";
     this.tableWriteoff.Add (this.yentryrefWarehouse);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.yentryrefWarehouse]));
     w7.LeftAttach = ((uint)(1));
     w7.RightAttach = ((uint)(2));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox4.Add (this.tableWriteoff);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.tableWriteoff]));
     w8.Position = 1;
     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);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.CounterpartyDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.CounterpartyDlg";
     // Container child Vodovoz.CounterpartyDlg.Gtk.Container+ContainerChild
     this.vbox2 = new global::Gtk.VBox();
     this.vbox2.HeightRequest = 400;
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     this.vbox2.BorderWidth = ((uint)(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-floppy", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w1;
     this.hbox1.Add(this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSave]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonCancel = new global::Gtk.Button();
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отмена");
     global::Gtk.Image w3 = new global::Gtk.Image();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w3;
     this.hbox1.Add(this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonCancel]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.menuActions = new global::QSWidgetLib.MenuButton();
     this.menuActions.CanFocus = true;
     this.menuActions.Name = "menuActions";
     this.menuActions.UseUnderline = true;
     this.menuActions.UseMarkup = false;
     global::Gtk.Image w5 = new global::Gtk.Image();
     w5.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.buttons.menu.png");
     this.menuActions.Image = w5;
     this.hbox1.Add(this.menuActions);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.menuActions]));
     w6.Position = 2;
     w6.Expand = false;
     w6.Fill = false;
     this.vbox2.Add(this.hbox1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
     w7.Position = 0;
     w7.Expand = false;
     w7.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hseparator1 = new global::Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     this.vbox2.Add(this.hseparator1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hseparator1]));
     w8.Position = 1;
     w8.Expand = false;
     w8.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox19 = new global::Gtk.HBox();
     this.hbox19.Name = "hbox19";
     this.hbox19.Spacing = 6;
     // Container child hbox19.Gtk.Box+BoxChild
     this.radioInfo = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Информация"));
     this.radioInfo.CanFocus = true;
     this.radioInfo.Name = "radioInfo";
     this.radioInfo.DrawIndicator = false;
     this.radioInfo.UseUnderline = true;
     this.radioInfo.Group = new global::GLib.SList(global::System.IntPtr.Zero);
     this.hbox19.Add(this.radioInfo);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioInfo]));
     w9.Position = 0;
     // Container child hbox19.Gtk.Box+BoxChild
     this.radioContacts = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Контакты"));
     this.radioContacts.CanFocus = true;
     this.radioContacts.Name = "radioContacts";
     this.radioContacts.DrawIndicator = false;
     this.radioContacts.UseUnderline = true;
     this.radioContacts.Group = this.radioInfo.Group;
     this.hbox19.Add(this.radioContacts);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioContacts]));
     w10.Position = 1;
     // Container child hbox19.Gtk.Box+BoxChild
     this.radioDetails = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Реквизиты"));
     this.radioDetails.CanFocus = true;
     this.radioDetails.Name = "radioDetails";
     this.radioDetails.DrawIndicator = false;
     this.radioDetails.UseUnderline = true;
     this.radioDetails.Group = this.radioInfo.Group;
     this.hbox19.Add(this.radioDetails);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioDetails]));
     w11.Position = 2;
     // Container child hbox19.Gtk.Box+BoxChild
     this.radioCurators = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Кураторы"));
     this.radioCurators.CanFocus = true;
     this.radioCurators.Name = "radioCurators";
     this.radioCurators.DrawIndicator = false;
     this.radioCurators.UseUnderline = true;
     this.radioCurators.Group = this.radioInfo.Group;
     this.hbox19.Add(this.radioCurators);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioCurators]));
     w12.Position = 3;
     // Container child hbox19.Gtk.Box+BoxChild
     this.radioContactPersons = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Контактные лица"));
     this.radioContactPersons.CanFocus = true;
     this.radioContactPersons.Name = "radioContactPersons";
     this.radioContactPersons.DrawIndicator = false;
     this.radioContactPersons.UseUnderline = true;
     this.radioContactPersons.Group = this.radioInfo.Group;
     this.hbox19.Add(this.radioContactPersons);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioContactPersons]));
     w13.Position = 4;
     // Container child hbox19.Gtk.Box+BoxChild
     this.radiobuttonProxies = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Доверенности"));
     this.radiobuttonProxies.CanFocus = true;
     this.radiobuttonProxies.Name = "radiobuttonProxies";
     this.radiobuttonProxies.DrawIndicator = false;
     this.radiobuttonProxies.UseUnderline = true;
     this.radiobuttonProxies.Group = this.radioInfo.Group;
     this.hbox19.Add(this.radiobuttonProxies);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radiobuttonProxies]));
     w14.Position = 5;
     // Container child hbox19.Gtk.Box+BoxChild
     this.radioContracts = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Договор"));
     this.radioContracts.CanFocus = true;
     this.radioContracts.Name = "radioContracts";
     this.radioContracts.DrawIndicator = false;
     this.radioContracts.UseUnderline = true;
     this.radioContracts.Group = this.radioInfo.Group;
     this.hbox19.Add(this.radioContracts);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioContracts]));
     w15.Position = 6;
     // Container child hbox19.Gtk.Box+BoxChild
     this.radioDeliveryPoint = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Точки доставки"));
     this.radioDeliveryPoint.CanFocus = true;
     this.radioDeliveryPoint.Name = "radioDeliveryPoint";
     this.radioDeliveryPoint.DrawIndicator = false;
     this.radioDeliveryPoint.UseUnderline = true;
     this.radioDeliveryPoint.Group = this.radioInfo.Group;
     this.hbox19.Add(this.radioDeliveryPoint);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.radioDeliveryPoint]));
     w16.Position = 7;
     this.vbox2.Add(this.hbox19);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox19]));
     w17.Position = 2;
     w17.Expand = false;
     w17.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.notebook1 = new global::Gtk.Notebook();
     this.notebook1.CanFocus = true;
     this.notebook1.Name = "notebook1";
     this.notebook1.CurrentPage = 0;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow4.Name = "GtkScrolledWindow4";
     this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild
     global::Gtk.Viewport w18 = new global::Gtk.Viewport();
     w18.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.table1 = new global::Gtk.Table(((uint)(11)), ((uint)(4)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.datalegalname1 = new global::QSOrmProject.yLegalName();
     this.datalegalname1.Events = ((global::Gdk.EventMask)(256));
     this.datalegalname1.Name = "datalegalname1";
     this.table1.Add(this.datalegalname1);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.datalegalname1]));
     w19.TopAttach = ((uint)(2));
     w19.BottomAttach = ((uint)(3));
     w19.LeftAttach = ((uint)(1));
     w19.RightAttach = ((uint)(4));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryFIO = new global::Gamma.GtkWidgets.yEntry();
     this.entryFIO.CanFocus = true;
     this.entryFIO.Name = "entryFIO";
     this.entryFIO.IsEditable = true;
     this.entryFIO.InvisibleChar = '●';
     this.table1.Add(this.entryFIO);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.entryFIO]));
     w20.TopAttach = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.LeftAttach = ((uint)(1));
     w20.RightAttach = ((uint)(4));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryFullName = new global::Gamma.GtkWidgets.yEntry();
     this.entryFullName.CanFocus = true;
     this.entryFullName.Name = "entryFullName";
     this.entryFullName.IsEditable = true;
     this.entryFullName.MaxLength = 300;
     this.entryFullName.InvisibleChar = '●';
     this.table1.Add(this.entryFullName);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.entryFullName]));
     w21.TopAttach = ((uint)(3));
     w21.BottomAttach = ((uint)(4));
     w21.LeftAttach = ((uint)(1));
     w21.RightAttach = ((uint)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.enumDefaultDocumentType = new global::Gamma.Widgets.yEnumComboBox();
     this.enumDefaultDocumentType.Name = "enumDefaultDocumentType";
     this.enumDefaultDocumentType.ShowSpecialStateAll = false;
     this.enumDefaultDocumentType.ShowSpecialStateNot = false;
     this.enumDefaultDocumentType.UseShortTitle = false;
     this.enumDefaultDocumentType.DefaultFirst = false;
     this.table1.Add(this.enumDefaultDocumentType);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.enumDefaultDocumentType]));
     w22.TopAttach = ((uint)(8));
     w22.BottomAttach = ((uint)(9));
     w22.LeftAttach = ((uint)(3));
     w22.RightAttach = ((uint)(4));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.enumPayment = new global::Gamma.Widgets.yEnumComboBox();
     this.enumPayment.Name = "enumPayment";
     this.enumPayment.ShowSpecialStateAll = false;
     this.enumPayment.ShowSpecialStateNot = false;
     this.enumPayment.UseShortTitle = false;
     this.enumPayment.DefaultFirst = false;
     this.table1.Add(this.enumPayment);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.enumPayment]));
     w23.TopAttach = ((uint)(8));
     w23.BottomAttach = ((uint)(9));
     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.GtkScrolledWindow5 = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow5.Name = "GtkScrolledWindow5";
     this.GtkScrolledWindow5.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow5.Gtk.Container+ContainerChild
     this.dataWaybillComment = new global::Gamma.GtkWidgets.yTextView();
     this.dataWaybillComment.CanFocus = true;
     this.dataWaybillComment.Name = "dataWaybillComment";
     this.GtkScrolledWindow5.Add(this.dataWaybillComment);
     this.table1.Add(this.GtkScrolledWindow5);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow5]));
     w25.TopAttach = ((uint)(10));
     w25.BottomAttach = ((uint)(11));
     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.GtkScrolledWindow6 = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow6.Name = "GtkScrolledWindow6";
     this.GtkScrolledWindow6.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow6.Gtk.Container+ContainerChild
     this.dataComment = new global::Gamma.GtkWidgets.yTextView();
     this.dataComment.CanFocus = true;
     this.dataComment.Name = "dataComment";
     this.GtkScrolledWindow6.Add(this.dataComment);
     this.table1.Add(this.GtkScrolledWindow6);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow6]));
     w27.TopAttach = ((uint)(10));
     w27.BottomAttach = ((uint)(11));
     w27.LeftAttach = ((uint)(1));
     w27.RightAttach = ((uint)(2));
     w27.XOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox17 = new global::Gtk.HBox();
     this.hbox17.Name = "hbox17";
     this.hbox17.Spacing = 6;
     // Container child hbox17.Gtk.Box+BoxChild
     this.enumPersonType = new global::Gamma.Widgets.yEnumComboBox();
     this.enumPersonType.Name = "enumPersonType";
     this.enumPersonType.ShowSpecialStateAll = false;
     this.enumPersonType.ShowSpecialStateNot = false;
     this.enumPersonType.UseShortTitle = false;
     this.enumPersonType.DefaultFirst = false;
     this.hbox17.Add(this.enumPersonType);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.enumPersonType]));
     w28.Position = 0;
     // Container child hbox17.Gtk.Box+BoxChild
     this.ycheckIsArchived = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckIsArchived.TooltipMarkup = "Больше не работаем с этим клиентом";
     this.ycheckIsArchived.CanFocus = true;
     this.ycheckIsArchived.Name = "ycheckIsArchived";
     this.ycheckIsArchived.Label = global::Mono.Unix.Catalog.GetString("Архивный");
     this.ycheckIsArchived.DrawIndicator = true;
     this.ycheckIsArchived.UseUnderline = true;
     this.hbox17.Add(this.ycheckIsArchived);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.ycheckIsArchived]));
     w29.Position = 1;
     w29.Expand = false;
     w29.Fill = false;
     this.table1.Add(this.hbox17);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox17]));
     w30.LeftAttach = ((uint)(1));
     w30.RightAttach = ((uint)(4));
     w30.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label19 = new global::Gtk.Label();
     this.label19.Name = "label19";
     this.label19.Xalign = 1F;
     this.label19.LabelProp = global::Mono.Unix.Catalog.GetString(" Максимальная\nсумма кредита:");
     this.table1.Add(this.label19);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1[this.label19]));
     w31.TopAttach = ((uint)(9));
     w31.BottomAttach = ((uint)(10));
     w31.XOptions = ((global::Gtk.AttachOptions)(4));
     w31.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label25 = new global::Gtk.Label();
     this.label25.Name = "label25";
     this.label25.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарий\nдля накладной:");
     this.label25.Justify = ((global::Gtk.Justification)(1));
     this.table1.Add(this.label25);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1[this.label25]));
     w32.TopAttach = ((uint)(10));
     w32.BottomAttach = ((uint)(11));
     w32.LeftAttach = ((uint)(2));
     w32.RightAttach = ((uint)(3));
     w32.XOptions = ((global::Gtk.AttachOptions)(4));
     w32.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label26 = new global::Gtk.Label();
     this.label26.Name = "label26";
     this.label26.Xalign = 1F;
     this.label26.LabelProp = global::Mono.Unix.Catalog.GetString("  Форма оплаты \n(по умолчанию):");
     this.table1.Add(this.label26);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1[this.label26]));
     w33.TopAttach = ((uint)(8));
     w33.BottomAttach = ((uint)(9));
     w33.XOptions = ((global::Gtk.AttachOptions)(4));
     w33.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label31 = new global::Gtk.Label();
     this.label31.Name = "label31";
     this.label31.Xalign = 1F;
     this.label31.LabelProp = global::Mono.Unix.Catalog.GetString("Внутренний\nкомментарий:");
     this.label31.Justify = ((global::Gtk.Justification)(1));
     this.table1.Add(this.label31);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1[this.label31]));
     w34.TopAttach = ((uint)(10));
     w34.BottomAttach = ((uint)(11));
     w34.XOptions = ((global::Gtk.AttachOptions)(4));
     w34.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 w35 = ((global::Gtk.Table.TableChild)(this.table1[this.label4]));
     w35.TopAttach = ((uint)(5));
     w35.BottomAttach = ((uint)(6));
     w35.XOptions = ((global::Gtk.AttachOptions)(4));
     w35.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 w36 = ((global::Gtk.Table.TableChild)(this.table1[this.label5]));
     w36.TopAttach = ((uint)(6));
     w36.BottomAttach = ((uint)(7));
     w36.XOptions = ((global::Gtk.AttachOptions)(4));
     w36.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 w37 = ((global::Gtk.Table.TableChild)(this.table1[this.label6]));
     w37.TopAttach = ((uint)(7));
     w37.BottomAttach = ((uint)(8));
     w37.XOptions = ((global::Gtk.AttachOptions)(4));
     w37.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label8 = new global::Gtk.Label();
     this.label8.Name = "label8";
     this.label8.Xalign = 1F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Форма контрагента:");
     this.table1.Add(this.label8);
     global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1[this.label8]));
     w38.XOptions = ((global::Gtk.AttachOptions)(4));
     w38.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 w39 = ((global::Gtk.Table.TableChild)(this.table1[this.label9]));
     w39.TopAttach = ((uint)(6));
     w39.BottomAttach = ((uint)(7));
     w39.LeftAttach = ((uint)(2));
     w39.RightAttach = ((uint)(3));
     w39.XOptions = ((global::Gtk.AttachOptions)(4));
     w39.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelDefaultDocumentType = new global::Gtk.Label();
     this.labelDefaultDocumentType.Name = "labelDefaultDocumentType";
     this.labelDefaultDocumentType.Xalign = 1F;
     this.labelDefaultDocumentType.LabelProp = global::Mono.Unix.Catalog.GetString("Тип документов\n(по умолчанию):");
     this.table1.Add(this.labelDefaultDocumentType);
     global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDefaultDocumentType]));
     w40.TopAttach = ((uint)(8));
     w40.BottomAttach = ((uint)(9));
     w40.LeftAttach = ((uint)(2));
     w40.RightAttach = ((uint)(3));
     w40.XOptions = ((global::Gtk.AttachOptions)(4));
     w40.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelDefaultExpense = new global::Gtk.Label();
     this.labelDefaultExpense.Name = "labelDefaultExpense";
     this.labelDefaultExpense.Xalign = 1F;
     this.labelDefaultExpense.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода\nпо-умолчанию:");
     this.table1.Add(this.labelDefaultExpense);
     global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table1[this.labelDefaultExpense]));
     w41.TopAttach = ((uint)(9));
     w41.BottomAttach = ((uint)(10));
     w41.LeftAttach = ((uint)(2));
     w41.RightAttach = ((uint)(3));
     w41.XOptions = ((global::Gtk.AttachOptions)(4));
     w41.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelFIO = new global::Gtk.Label();
     this.labelFIO.Name = "labelFIO";
     this.labelFIO.Xalign = 1F;
     this.labelFIO.LabelProp = global::Mono.Unix.Catalog.GetString("Ф.И.О.:");
     this.table1.Add(this.labelFIO);
     global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table1[this.labelFIO]));
     w42.TopAttach = ((uint)(1));
     w42.BottomAttach = ((uint)(2));
     w42.XOptions = ((global::Gtk.AttachOptions)(4));
     w42.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelFullName = new global::Gtk.Label();
     this.labelFullName.Name = "labelFullName";
     this.labelFullName.Xalign = 1F;
     this.labelFullName.LabelProp = global::Mono.Unix.Catalog.GetString("Полное наименование:");
     this.table1.Add(this.labelFullName);
     global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table1[this.labelFullName]));
     w43.TopAttach = ((uint)(3));
     w43.BottomAttach = ((uint)(4));
     w43.XOptions = ((global::Gtk.AttachOptions)(4));
     w43.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelMainCounterparty = new global::Gtk.Label();
     this.labelMainCounterparty.Name = "labelMainCounterparty";
     this.labelMainCounterparty.Xalign = 1F;
     this.labelMainCounterparty.LabelProp = global::Mono.Unix.Catalog.GetString("Головная организация:");
     this.table1.Add(this.labelMainCounterparty);
     global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table1[this.labelMainCounterparty]));
     w44.TopAttach = ((uint)(4));
     w44.BottomAttach = ((uint)(5));
     w44.XOptions = ((global::Gtk.AttachOptions)(4));
     w44.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelShort = new global::Gtk.Label();
     this.labelShort.Name = "labelShort";
     this.labelShort.Xalign = 1F;
     this.labelShort.LabelProp = global::Mono.Unix.Catalog.GetString("Наименование:");
     this.table1.Add(this.labelShort);
     global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.table1[this.labelShort]));
     w45.TopAttach = ((uint)(2));
     w45.BottomAttach = ((uint)(3));
     w45.XOptions = ((global::Gtk.AttachOptions)(4));
     w45.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.referenceDefaultExpense = new global::Gamma.Widgets.yEntryReference();
     this.referenceDefaultExpense.Events = ((global::Gdk.EventMask)(256));
     this.referenceDefaultExpense.Name = "referenceDefaultExpense";
     this.referenceDefaultExpense.DisplayFields = new string[] {
             "Name"};
     this.table1.Add(this.referenceDefaultExpense);
     global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceDefaultExpense]));
     w46.TopAttach = ((uint)(9));
     w46.BottomAttach = ((uint)(10));
     w46.LeftAttach = ((uint)(3));
     w46.RightAttach = ((uint)(4));
     w46.XOptions = ((global::Gtk.AttachOptions)(4));
     w46.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.referenceMainCounterparty = new global::Gamma.Widgets.yEntryReferenceVM();
     this.referenceMainCounterparty.Events = ((global::Gdk.EventMask)(256));
     this.referenceMainCounterparty.Name = "referenceMainCounterparty";
     this.table1.Add(this.referenceMainCounterparty);
     global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceMainCounterparty]));
     w47.TopAttach = ((uint)(4));
     w47.BottomAttach = ((uint)(5));
     w47.LeftAttach = ((uint)(1));
     w47.RightAttach = ((uint)(4));
     w47.XOptions = ((global::Gtk.AttachOptions)(4));
     w47.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.referencePreviousCounterparty = new global::Gamma.Widgets.yEntryReferenceVM();
     this.referencePreviousCounterparty.Events = ((global::Gdk.EventMask)(256));
     this.referencePreviousCounterparty.Name = "referencePreviousCounterparty";
     this.table1.Add(this.referencePreviousCounterparty);
     global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.table1[this.referencePreviousCounterparty]));
     w48.TopAttach = ((uint)(5));
     w48.BottomAttach = ((uint)(6));
     w48.LeftAttach = ((uint)(1));
     w48.RightAttach = ((uint)(4));
     w48.XOptions = ((global::Gtk.AttachOptions)(4));
     w48.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.referenceSignificance = new global::Gamma.Widgets.yEntryReference();
     this.referenceSignificance.Events = ((global::Gdk.EventMask)(256));
     this.referenceSignificance.Name = "referenceSignificance";
     this.referenceSignificance.DisplayFields = new string[] {
             "Name"};
     this.table1.Add(this.referenceSignificance);
     global::Gtk.Table.TableChild w49 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceSignificance]));
     w49.TopAttach = ((uint)(7));
     w49.BottomAttach = ((uint)(8));
     w49.LeftAttach = ((uint)(1));
     w49.RightAttach = ((uint)(2));
     w49.XOptions = ((global::Gtk.AttachOptions)(4));
     w49.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.referenceStatus = new global::Gamma.Widgets.yEntryReference();
     this.referenceStatus.Events = ((global::Gdk.EventMask)(256));
     this.referenceStatus.Name = "referenceStatus";
     this.referenceStatus.DisplayFields = new string[] {
             "Name"};
     this.table1.Add(this.referenceStatus);
     global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.table1[this.referenceStatus]));
     w50.TopAttach = ((uint)(6));
     w50.BottomAttach = ((uint)(7));
     w50.LeftAttach = ((uint)(1));
     w50.RightAttach = ((uint)(2));
     w50.XOptions = ((global::Gtk.AttachOptions)(4));
     w50.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spinMaxCredit = new global::Gamma.GtkWidgets.ySpinButton(0, 1000000, 100);
     this.spinMaxCredit.CanFocus = true;
     this.spinMaxCredit.Name = "spinMaxCredit";
     this.spinMaxCredit.ValueAsDecimal = 0m;
     this.spinMaxCredit.ValueAsInt = 0;
     this.table1.Add(this.spinMaxCredit);
     global::Gtk.Table.TableChild w51 = ((global::Gtk.Table.TableChild)(this.table1[this.spinMaxCredit]));
     w51.TopAttach = ((uint)(9));
     w51.BottomAttach = ((uint)(10));
     w51.LeftAttach = ((uint)(1));
     w51.RightAttach = ((uint)(2));
     w51.XOptions = ((global::Gtk.AttachOptions)(4));
     w51.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vboxCooperation = new global::Gtk.VBox();
     this.vboxCooperation.Name = "vboxCooperation";
     this.vboxCooperation.Spacing = 1;
     // Container child vboxCooperation.Gtk.Box+BoxChild
     this.checkCustomer = new global::Gamma.GtkWidgets.yCheckButton();
     this.checkCustomer.CanFocus = true;
     this.checkCustomer.Name = "checkCustomer";
     this.checkCustomer.Label = global::Mono.Unix.Catalog.GetString("Покупатель");
     this.checkCustomer.DrawIndicator = true;
     this.checkCustomer.UseUnderline = true;
     this.vboxCooperation.Add(this.checkCustomer);
     global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vboxCooperation[this.checkCustomer]));
     w52.Position = 0;
     w52.Expand = false;
     w52.Fill = false;
     // Container child vboxCooperation.Gtk.Box+BoxChild
     this.checkSupplier = new global::Gamma.GtkWidgets.yCheckButton();
     this.checkSupplier.CanFocus = true;
     this.checkSupplier.Name = "checkSupplier";
     this.checkSupplier.Label = global::Mono.Unix.Catalog.GetString("Поставщик");
     this.checkSupplier.DrawIndicator = true;
     this.checkSupplier.UseUnderline = true;
     this.vboxCooperation.Add(this.checkSupplier);
     global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vboxCooperation[this.checkSupplier]));
     w53.Position = 1;
     w53.Expand = false;
     w53.Fill = false;
     // Container child vboxCooperation.Gtk.Box+BoxChild
     this.checkPartner = new global::Gamma.GtkWidgets.yCheckButton();
     this.checkPartner.CanFocus = true;
     this.checkPartner.Name = "checkPartner";
     this.checkPartner.Label = global::Mono.Unix.Catalog.GetString("Партнер");
     this.checkPartner.DrawIndicator = true;
     this.checkPartner.UseUnderline = true;
     this.vboxCooperation.Add(this.checkPartner);
     global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vboxCooperation[this.checkPartner]));
     w54.Position = 2;
     w54.Expand = false;
     w54.Fill = false;
     this.table1.Add(this.vboxCooperation);
     global::Gtk.Table.TableChild w55 = ((global::Gtk.Table.TableChild)(this.table1[this.vboxCooperation]));
     w55.TopAttach = ((uint)(6));
     w55.BottomAttach = ((uint)(8));
     w55.LeftAttach = ((uint)(3));
     w55.RightAttach = ((uint)(4));
     w55.XOptions = ((global::Gtk.AttachOptions)(4));
     w55.YOptions = ((global::Gtk.AttachOptions)(0));
     w18.Add(this.table1);
     this.GtkScrolledWindow4.Add(w18);
     this.notebook1.Add(this.GtkScrolledWindow4);
     // Notebook tab
     this.label1 = new global::Gtk.Label();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Информация");
     this.notebook1.SetTabLabel(this.GtkScrolledWindow4, this.label1);
     this.label1.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.datatable2 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false);
     this.datatable2.Name = "datatable2";
     this.datatable2.RowSpacing = ((uint)(6));
     this.datatable2.ColumnSpacing = ((uint)(6));
     this.datatable2.BorderWidth = ((uint)(6));
     // Container child datatable2.Gtk.Table+TableChild
     this.dataentryFinancialContact = new global::Gamma.Widgets.yEntryReferenceVM();
     this.dataentryFinancialContact.Events = ((global::Gdk.EventMask)(256));
     this.dataentryFinancialContact.Name = "dataentryFinancialContact";
     this.datatable2.Add(this.dataentryFinancialContact);
     global::Gtk.Table.TableChild w59 = ((global::Gtk.Table.TableChild)(this.datatable2[this.dataentryFinancialContact]));
     w59.TopAttach = ((uint)(3));
     w59.BottomAttach = ((uint)(4));
     w59.LeftAttach = ((uint)(1));
     w59.RightAttach = ((uint)(2));
     w59.XOptions = ((global::Gtk.AttachOptions)(4));
     w59.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.Gtk.Table+TableChild
     this.dataentryMainContact = new global::Gamma.Widgets.yEntryReferenceVM();
     this.dataentryMainContact.Events = ((global::Gdk.EventMask)(256));
     this.dataentryMainContact.Name = "dataentryMainContact";
     this.datatable2.Add(this.dataentryMainContact);
     global::Gtk.Table.TableChild w60 = ((global::Gtk.Table.TableChild)(this.datatable2[this.dataentryMainContact]));
     w60.TopAttach = ((uint)(2));
     w60.BottomAttach = ((uint)(3));
     w60.LeftAttach = ((uint)(1));
     w60.RightAttach = ((uint)(2));
     w60.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.Gtk.Table+TableChild
     this.emailsView = new global::QSContacts.EmailsView();
     this.emailsView.Events = ((global::Gdk.EventMask)(256));
     this.emailsView.Name = "emailsView";
     this.datatable2.Add(this.emailsView);
     global::Gtk.Table.TableChild w61 = ((global::Gtk.Table.TableChild)(this.datatable2[this.emailsView]));
     w61.TopAttach = ((uint)(1));
     w61.BottomAttach = ((uint)(2));
     w61.LeftAttach = ((uint)(1));
     w61.RightAttach = ((uint)(2));
     w61.XOptions = ((global::Gtk.AttachOptions)(4));
     w61.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.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("Общий e-mail:");
     this.datatable2.Add(this.label11);
     global::Gtk.Table.TableChild w62 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label11]));
     w62.TopAttach = ((uint)(1));
     w62.BottomAttach = ((uint)(2));
     w62.XOptions = ((global::Gtk.AttachOptions)(4));
     w62.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.Gtk.Table+TableChild
     this.label12 = new global::Gtk.Label();
     this.label12.Name = "label12";
     this.label12.Xalign = 1F;
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Главное контактное лицо:");
     this.datatable2.Add(this.label12);
     global::Gtk.Table.TableChild w63 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label12]));
     w63.TopAttach = ((uint)(2));
     w63.BottomAttach = ((uint)(3));
     w63.XOptions = ((global::Gtk.AttachOptions)(4));
     w63.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.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("Контактное лицо по \nфинансовым вопросам:");
     this.label13.UseMarkup = true;
     this.datatable2.Add(this.label13);
     global::Gtk.Table.TableChild w64 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label13]));
     w64.TopAttach = ((uint)(3));
     w64.BottomAttach = ((uint)(4));
     w64.XOptions = ((global::Gtk.AttachOptions)(4));
     w64.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.Gtk.Table+TableChild
     this.label18 = new global::Gtk.Label();
     this.label18.Name = "label18";
     this.label18.Xalign = 1F;
     this.label18.LabelProp = global::Mono.Unix.Catalog.GetString("Общие телефоны:");
     this.datatable2.Add(this.label18);
     global::Gtk.Table.TableChild w65 = ((global::Gtk.Table.TableChild)(this.datatable2[this.label18]));
     w65.XOptions = ((global::Gtk.AttachOptions)(4));
     w65.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.Gtk.Table+TableChild
     this.phonesView = new global::QSContacts.PhonesView();
     this.phonesView.Events = ((global::Gdk.EventMask)(256));
     this.phonesView.Name = "phonesView";
     this.datatable2.Add(this.phonesView);
     global::Gtk.Table.TableChild w66 = ((global::Gtk.Table.TableChild)(this.datatable2[this.phonesView]));
     w66.LeftAttach = ((uint)(1));
     w66.RightAttach = ((uint)(2));
     w66.XOptions = ((global::Gtk.AttachOptions)(4));
     w66.YOptions = ((global::Gtk.AttachOptions)(4));
     this.notebook1.Add(this.datatable2);
     global::Gtk.Notebook.NotebookChild w67 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.datatable2]));
     w67.Position = 1;
     // Notebook tab
     this.label20 = new global::Gtk.Label();
     this.label20.Name = "label20";
     this.label20.LabelProp = global::Mono.Unix.Catalog.GetString("Контакты");
     this.notebook1.SetTabLabel(this.datatable2, this.label20);
     this.label20.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox6 = new global::Gtk.VBox();
     this.vbox6.Name = "vbox6";
     this.vbox6.Spacing = 6;
     this.vbox6.BorderWidth = ((uint)(6));
     // Container child vbox6.Gtk.Box+BoxChild
     this.datatable4 = new global::Gtk.Table(((uint)(3)), ((uint)(4)), false);
     this.datatable4.Name = "datatable4";
     this.datatable4.RowSpacing = ((uint)(6));
     this.datatable4.ColumnSpacing = ((uint)(6));
     // Container child datatable4.Gtk.Table+TableChild
     this.entryJurAddress = new global::Gamma.GtkWidgets.yEntry();
     this.entryJurAddress.CanFocus = true;
     this.entryJurAddress.Name = "entryJurAddress";
     this.entryJurAddress.IsEditable = true;
     this.entryJurAddress.InvisibleChar = '●';
     this.datatable4.Add(this.entryJurAddress);
     global::Gtk.Table.TableChild w68 = ((global::Gtk.Table.TableChild)(this.datatable4[this.entryJurAddress]));
     w68.TopAttach = ((uint)(2));
     w68.BottomAttach = ((uint)(3));
     w68.LeftAttach = ((uint)(1));
     w68.RightAttach = ((uint)(2));
     w68.XOptions = ((global::Gtk.AttachOptions)(4));
     w68.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.Gtk.Table+TableChild
     this.label17 = new global::Gtk.Label();
     this.label17.Name = "label17";
     this.label17.Xalign = 1F;
     this.label17.LabelProp = global::Mono.Unix.Catalog.GetString("В лице:");
     this.datatable4.Add(this.label17);
     global::Gtk.Table.TableChild w69 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label17]));
     w69.TopAttach = ((uint)(1));
     w69.BottomAttach = ((uint)(2));
     w69.LeftAttach = ((uint)(2));
     w69.RightAttach = ((uint)(3));
     w69.XOptions = ((global::Gtk.AttachOptions)(4));
     w69.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.Gtk.Table+TableChild
     this.label27 = new global::Gtk.Label();
     this.label27.Name = "label27";
     this.label27.Xalign = 1F;
     this.label27.LabelProp = global::Mono.Unix.Catalog.GetString("ИНН:");
     this.datatable4.Add(this.label27);
     global::Gtk.Table.TableChild w70 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label27]));
     w70.XOptions = ((global::Gtk.AttachOptions)(4));
     w70.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.Gtk.Table+TableChild
     this.label28 = new global::Gtk.Label();
     this.label28.Name = "label28";
     this.label28.Xalign = 1F;
     this.label28.LabelProp = global::Mono.Unix.Catalog.GetString("КПП:");
     this.datatable4.Add(this.label28);
     global::Gtk.Table.TableChild w71 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label28]));
     w71.TopAttach = ((uint)(1));
     w71.BottomAttach = ((uint)(2));
     w71.XOptions = ((global::Gtk.AttachOptions)(4));
     w71.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.Gtk.Table+TableChild
     this.label29 = new global::Gtk.Label();
     this.label29.Name = "label29";
     this.label29.Xalign = 1F;
     this.label29.LabelProp = global::Mono.Unix.Catalog.GetString("Юр. адрес:");
     this.datatable4.Add(this.label29);
     global::Gtk.Table.TableChild w72 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label29]));
     w72.TopAttach = ((uint)(2));
     w72.BottomAttach = ((uint)(3));
     w72.XOptions = ((global::Gtk.AttachOptions)(4));
     w72.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.Gtk.Table+TableChild
     this.label32 = new global::Gtk.Label();
     this.label32.Name = "label32";
     this.label32.Xalign = 1F;
     this.label32.LabelProp = global::Mono.Unix.Catalog.GetString("На основании:");
     this.datatable4.Add(this.label32);
     global::Gtk.Table.TableChild w73 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label32]));
     w73.TopAttach = ((uint)(2));
     w73.BottomAttach = ((uint)(3));
     w73.LeftAttach = ((uint)(2));
     w73.RightAttach = ((uint)(3));
     w73.XOptions = ((global::Gtk.AttachOptions)(4));
     w73.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.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.datatable4.Add(this.label7);
     global::Gtk.Table.TableChild w74 = ((global::Gtk.Table.TableChild)(this.datatable4[this.label7]));
     w74.LeftAttach = ((uint)(2));
     w74.RightAttach = ((uint)(3));
     w74.XOptions = ((global::Gtk.AttachOptions)(4));
     w74.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.Gtk.Table+TableChild
     this.validatedINN = new global::Gamma.Widgets.yValidatedEntry();
     this.validatedINN.CanFocus = true;
     this.validatedINN.Name = "validatedINN";
     this.validatedINN.IsEditable = true;
     this.validatedINN.MaxLength = 12;
     this.validatedINN.InvisibleChar = '●';
     this.datatable4.Add(this.validatedINN);
     global::Gtk.Table.TableChild w75 = ((global::Gtk.Table.TableChild)(this.datatable4[this.validatedINN]));
     w75.LeftAttach = ((uint)(1));
     w75.RightAttach = ((uint)(2));
     w75.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.Gtk.Table+TableChild
     this.validatedKPP = new global::Gamma.Widgets.yValidatedEntry();
     this.validatedKPP.CanFocus = true;
     this.validatedKPP.Name = "validatedKPP";
     this.validatedKPP.IsEditable = true;
     this.validatedKPP.MaxLength = 9;
     this.validatedKPP.InvisibleChar = '●';
     this.datatable4.Add(this.validatedKPP);
     global::Gtk.Table.TableChild w76 = ((global::Gtk.Table.TableChild)(this.datatable4[this.validatedKPP]));
     w76.TopAttach = ((uint)(1));
     w76.BottomAttach = ((uint)(2));
     w76.LeftAttach = ((uint)(1));
     w76.RightAttach = ((uint)(2));
     w76.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.Gtk.Table+TableChild
     this.yentrySignBaseOf = new global::Gamma.GtkWidgets.yEntry();
     this.yentrySignBaseOf.CanFocus = true;
     this.yentrySignBaseOf.Name = "yentrySignBaseOf";
     this.yentrySignBaseOf.IsEditable = true;
     this.yentrySignBaseOf.InvisibleChar = '●';
     this.datatable4.Add(this.yentrySignBaseOf);
     global::Gtk.Table.TableChild w77 = ((global::Gtk.Table.TableChild)(this.datatable4[this.yentrySignBaseOf]));
     w77.TopAttach = ((uint)(2));
     w77.BottomAttach = ((uint)(3));
     w77.LeftAttach = ((uint)(3));
     w77.RightAttach = ((uint)(4));
     w77.XOptions = ((global::Gtk.AttachOptions)(4));
     w77.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.Gtk.Table+TableChild
     this.yentrySignFIO = new global::Gamma.GtkWidgets.yEntry();
     this.yentrySignFIO.CanFocus = true;
     this.yentrySignFIO.Name = "yentrySignFIO";
     this.yentrySignFIO.IsEditable = true;
     this.yentrySignFIO.InvisibleChar = '●';
     this.datatable4.Add(this.yentrySignFIO);
     global::Gtk.Table.TableChild w78 = ((global::Gtk.Table.TableChild)(this.datatable4[this.yentrySignFIO]));
     w78.LeftAttach = ((uint)(3));
     w78.RightAttach = ((uint)(4));
     w78.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable4.Gtk.Table+TableChild
     this.yentrySignPost = new global::Gamma.GtkWidgets.yEntry();
     this.yentrySignPost.CanFocus = true;
     this.yentrySignPost.Name = "yentrySignPost";
     this.yentrySignPost.IsEditable = true;
     this.yentrySignPost.InvisibleChar = '●';
     this.datatable4.Add(this.yentrySignPost);
     global::Gtk.Table.TableChild w79 = ((global::Gtk.Table.TableChild)(this.datatable4[this.yentrySignPost]));
     w79.TopAttach = ((uint)(1));
     w79.BottomAttach = ((uint)(2));
     w79.LeftAttach = ((uint)(3));
     w79.RightAttach = ((uint)(4));
     w79.XOptions = ((global::Gtk.AttachOptions)(4));
     w79.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox6.Add(this.datatable4);
     global::Gtk.Box.BoxChild w80 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.datatable4]));
     w80.Position = 0;
     w80.Expand = false;
     w80.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.accountsView = new global::QSBanks.AccountsView();
     this.accountsView.Events = ((global::Gdk.EventMask)(256));
     this.accountsView.Name = "accountsView";
     this.vbox6.Add(this.accountsView);
     global::Gtk.Box.BoxChild w81 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.accountsView]));
     w81.Position = 1;
     this.notebook1.Add(this.vbox6);
     global::Gtk.Notebook.NotebookChild w82 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox6]));
     w82.Position = 2;
     // Notebook tab
     this.label21 = new global::Gtk.Label();
     this.label21.Name = "label21";
     this.label21.LabelProp = global::Mono.Unix.Catalog.GetString("Реквизиты");
     this.notebook1.SetTabLabel(this.vbox6, this.label21);
     this.label21.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.datatable3 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false);
     this.datatable3.Name = "datatable3";
     this.datatable3.RowSpacing = ((uint)(6));
     this.datatable3.ColumnSpacing = ((uint)(6));
     this.datatable3.BorderWidth = ((uint)(6));
     // Container child datatable3.Gtk.Table+TableChild
     this.label14 = new global::Gtk.Label();
     this.label14.Name = "label14";
     this.label14.Xalign = 1F;
     this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Менеджер по продажам:");
     this.datatable3.Add(this.label14);
     global::Gtk.Table.TableChild w83 = ((global::Gtk.Table.TableChild)(this.datatable3[this.label14]));
     w83.XOptions = ((global::Gtk.AttachOptions)(4));
     w83.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable3.Gtk.Table+TableChild
     this.label22 = new global::Gtk.Label();
     this.label22.Name = "label22";
     this.label22.Xalign = 1F;
     this.label22.LabelProp = global::Mono.Unix.Catalog.GetString("Бухгалтер:");
     this.datatable3.Add(this.label22);
     global::Gtk.Table.TableChild w84 = ((global::Gtk.Table.TableChild)(this.datatable3[this.label22]));
     w84.TopAttach = ((uint)(1));
     w84.BottomAttach = ((uint)(2));
     w84.XOptions = ((global::Gtk.AttachOptions)(4));
     w84.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable3.Gtk.Table+TableChild
     this.label23 = new global::Gtk.Label();
     this.label23.Name = "label23";
     this.label23.Xalign = 1F;
     this.label23.LabelProp = global::Mono.Unix.Catalog.GetString("Менеджер по бутылям:");
     this.datatable3.Add(this.label23);
     global::Gtk.Table.TableChild w85 = ((global::Gtk.Table.TableChild)(this.datatable3[this.label23]));
     w85.TopAttach = ((uint)(2));
     w85.BottomAttach = ((uint)(3));
     w85.XOptions = ((global::Gtk.AttachOptions)(4));
     w85.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable3.Gtk.Table+TableChild
     this.referenceAccountant = new global::Gamma.Widgets.yEntryReference();
     this.referenceAccountant.Events = ((global::Gdk.EventMask)(256));
     this.referenceAccountant.Name = "referenceAccountant";
     this.referenceAccountant.DisplayFields = new string[] {
             "LastName",
             "Name",
             "Patronymic"};
     this.referenceAccountant.DisplayFormatString = "{0} {1} {2}";
     this.datatable3.Add(this.referenceAccountant);
     global::Gtk.Table.TableChild w86 = ((global::Gtk.Table.TableChild)(this.datatable3[this.referenceAccountant]));
     w86.TopAttach = ((uint)(1));
     w86.BottomAttach = ((uint)(2));
     w86.LeftAttach = ((uint)(1));
     w86.RightAttach = ((uint)(2));
     w86.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable3.Gtk.Table+TableChild
     this.referenceBottleManager = new global::Gamma.Widgets.yEntryReference();
     this.referenceBottleManager.Events = ((global::Gdk.EventMask)(256));
     this.referenceBottleManager.Name = "referenceBottleManager";
     this.referenceBottleManager.DisplayFields = new string[] {
             "LastName",
             "Name",
             "Patronymic"};
     this.referenceBottleManager.DisplayFormatString = "{0} {1} {2}";
     this.datatable3.Add(this.referenceBottleManager);
     global::Gtk.Table.TableChild w87 = ((global::Gtk.Table.TableChild)(this.datatable3[this.referenceBottleManager]));
     w87.TopAttach = ((uint)(2));
     w87.BottomAttach = ((uint)(3));
     w87.LeftAttach = ((uint)(1));
     w87.RightAttach = ((uint)(2));
     w87.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable3.Gtk.Table+TableChild
     this.referenceSalesManager = new global::Gamma.Widgets.yEntryReference();
     this.referenceSalesManager.Events = ((global::Gdk.EventMask)(256));
     this.referenceSalesManager.Name = "referenceSalesManager";
     this.referenceSalesManager.DisplayFields = new string[] {
             "LastName",
             "Name",
             "Patronymic"};
     this.referenceSalesManager.DisplayFormatString = "{0} {1} {2}";
     this.datatable3.Add(this.referenceSalesManager);
     global::Gtk.Table.TableChild w88 = ((global::Gtk.Table.TableChild)(this.datatable3[this.referenceSalesManager]));
     w88.LeftAttach = ((uint)(1));
     w88.RightAttach = ((uint)(2));
     w88.YOptions = ((global::Gtk.AttachOptions)(4));
     this.notebook1.Add(this.datatable3);
     global::Gtk.Notebook.NotebookChild w89 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.datatable3]));
     w89.Position = 3;
     // Notebook tab
     this.label10 = new global::Gtk.Label();
     this.label10.Name = "label10";
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Кураторы");
     this.notebook1.SetTabLabel(this.datatable3, this.label10);
     this.label10.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.contactsview1 = new global::Vodovoz.ContactsView();
     this.contactsview1.Events = ((global::Gdk.EventMask)(256));
     this.contactsview1.Name = "contactsview1";
     this.notebook1.Add(this.contactsview1);
     global::Gtk.Notebook.NotebookChild w90 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.contactsview1]));
     w90.Position = 4;
     // Notebook tab
     this.label24 = new global::Gtk.Label();
     this.label24.Name = "label24";
     this.label24.LabelProp = global::Mono.Unix.Catalog.GetString("Контактные лица");
     this.notebook1.SetTabLabel(this.contactsview1, this.label24);
     this.label24.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.proxiesview1 = new global::Vodovoz.ProxyView();
     this.proxiesview1.Events = ((global::Gdk.EventMask)(256));
     this.proxiesview1.Name = "proxiesview1";
     this.notebook1.Add(this.proxiesview1);
     global::Gtk.Notebook.NotebookChild w91 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.proxiesview1]));
     w91.Position = 5;
     // Notebook tab
     this.label30 = new global::Gtk.Label();
     this.label30.Name = "label30";
     this.label30.LabelProp = global::Mono.Unix.Catalog.GetString("Доверенности");
     this.notebook1.SetTabLabel(this.proxiesview1, this.label30);
     this.label30.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.counterpartyContractsView = new global::Vodovoz.CounterpartyContractsView();
     this.counterpartyContractsView.Events = ((global::Gdk.EventMask)(256));
     this.counterpartyContractsView.Name = "counterpartyContractsView";
     this.notebook1.Add(this.counterpartyContractsView);
     global::Gtk.Notebook.NotebookChild w92 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.counterpartyContractsView]));
     w92.Position = 6;
     // Notebook tab
     this.label34 = new global::Gtk.Label();
     this.label34.Name = "label34";
     this.label34.LabelProp = global::Mono.Unix.Catalog.GetString("Договор");
     this.notebook1.SetTabLabel(this.counterpartyContractsView, this.label34);
     this.label34.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox9 = new global::Gtk.VBox();
     this.vbox9.Name = "vbox9";
     this.vbox9.Spacing = 6;
     this.vbox9.BorderWidth = ((uint)(6));
     // Container child vbox9.Gtk.Box+BoxChild
     this.deliveryPointView = new global::Vodovoz.DeliveryPointView();
     this.deliveryPointView.Events = ((global::Gdk.EventMask)(256));
     this.deliveryPointView.Name = "deliveryPointView";
     this.vbox9.Add(this.deliveryPointView);
     global::Gtk.Box.BoxChild w93 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.deliveryPointView]));
     w93.Position = 0;
     this.notebook1.Add(this.vbox9);
     global::Gtk.Notebook.NotebookChild w94 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox9]));
     w94.Position = 7;
     // Notebook tab
     this.label40 = new global::Gtk.Label();
     this.label40.Name = "label40";
     this.label40.LabelProp = global::Mono.Unix.Catalog.GetString("Точки доставки");
     this.notebook1.SetTabLabel(this.vbox9, this.label40);
     this.label40.ShowAll();
     this.vbox2.Add(this.notebook1);
     global::Gtk.Box.BoxChild w95 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.notebook1]));
     w95.Position = 3;
     this.Add(this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.labelDefaultExpense.Hide();
     this.referenceDefaultExpense.Hide();
     this.Hide();
     this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked);
     this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked);
     this.radioInfo.Toggled += new global::System.EventHandler(this.OnRadioInfoToggled);
     this.radioContacts.Toggled += new global::System.EventHandler(this.OnRadioContactsToggled);
     this.radioDetails.Toggled += new global::System.EventHandler(this.OnRadioDetailsToggled);
     this.radioCurators.Toggled += new global::System.EventHandler(this.OnRadioCuratorsToggled);
     this.radioContactPersons.Toggled += new global::System.EventHandler(this.OnRadioContactPersonsToggled);
     this.radiobuttonProxies.Toggled += new global::System.EventHandler(this.OnRadiobuttonProxiesToggled);
     this.radioContracts.Toggled += new global::System.EventHandler(this.OnRadioContractsToggled);
     this.radioDeliveryPoint.Toggled += new global::System.EventHandler(this.OnRadioDeliveryPointToggled);
     this.checkSupplier.Toggled += new global::System.EventHandler(this.OnCheckSupplierToggled);
     this.referencePreviousCounterparty.ChangedByUser += new global::System.EventHandler(this.OnReferencePreviousCounterpartyChangedByUser);
     this.referenceMainCounterparty.ChangedByUser += new global::System.EventHandler(this.OnReferenceMainCounterpartyChangedByUser);
     this.enumPersonType.Changed += new global::System.EventHandler(this.OnEnumPersonTypeChanged);
     this.enumPayment.EnumItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnEnumPaymentEnumItemSelected);
     this.yentrySignPost.FocusInEvent += new global::Gtk.FocusInEventHandler(this.OnYentrySignPostFocusInEvent);
     this.yentrySignBaseOf.FocusInEvent += new global::Gtk.FocusInEventHandler(this.OnYentrySignBaseOfFocusInEvent);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.Reports.CashFlow
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.Reports.CashFlow";
     // Container child Vodovoz.Reports.CashFlow.Gtk.Container+ContainerChild
     this.table1 = new global::Gtk.Table(((uint)(7)), ((uint)(2)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.buttonRun = new global::Gtk.Button();
     this.buttonRun.Sensitive = false;
     this.buttonRun.CanFocus = true;
     this.buttonRun.Name = "buttonRun";
     this.buttonRun.UseUnderline = true;
     this.buttonRun.Label = global::Mono.Unix.Catalog.GetString("Сформировать отчет");
     this.table1.Add(this.buttonRun);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonRun]));
     w1.TopAttach = ((uint)(6));
     w1.BottomAttach = ((uint)(7));
     w1.RightAttach = ((uint)(2));
     w1.XOptions = ((global::Gtk.AttachOptions)(0));
     w1.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.checkDetail = new global::Gtk.CheckButton();
     this.checkDetail.CanFocus = true;
     this.checkDetail.Name = "checkDetail";
     this.checkDetail.Label = global::Mono.Unix.Catalog.GetString("Детализированный");
     this.checkDetail.DrawIndicator = true;
     this.checkDetail.UseUnderline = true;
     this.checkDetail.Xalign = 0F;
     this.table1.Add(this.checkDetail);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.checkDetail]));
     w2.TopAttach = ((uint)(2));
     w2.BottomAttach = ((uint)(3));
     w2.RightAttach = ((uint)(2));
     w2.XOptions = ((global::Gtk.AttachOptions)(4));
     w2.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.comboExpenseCategory = new global::Gtk.ComboBox();
     this.comboExpenseCategory.Name = "comboExpenseCategory";
     this.table1.Add(this.comboExpenseCategory);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.comboExpenseCategory]));
     w3.TopAttach = ((uint)(5));
     w3.BottomAttach = ((uint)(6));
     w3.LeftAttach = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.XOptions = ((global::Gtk.AttachOptions)(4));
     w3.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.comboIncomeCategory = new global::Gamma.Widgets.ySpecComboBox();
     this.comboIncomeCategory.Name = "comboIncomeCategory";
     this.comboIncomeCategory.AddIfNotExist = false;
     this.comboIncomeCategory.DefaultFirst = false;
     this.comboIncomeCategory.ShowSpecialStateAll = true;
     this.comboIncomeCategory.ShowSpecialStateNot = false;
     this.table1.Add(this.comboIncomeCategory);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.comboIncomeCategory]));
     w4.TopAttach = ((uint)(4));
     w4.BottomAttach = ((uint)(5));
     w4.LeftAttach = ((uint)(1));
     w4.RightAttach = ((uint)(2));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.comboPart = new global::Gamma.Widgets.yEnumComboBox();
     this.comboPart.Sensitive = false;
     this.comboPart.Name = "comboPart";
     this.comboPart.ShowSpecialStateAll = true;
     this.comboPart.ShowSpecialStateNot = false;
     this.comboPart.UseShortTitle = false;
     this.comboPart.DefaultFirst = false;
     this.table1.Add(this.comboPart);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.comboPart]));
     w5.TopAttach = ((uint)(3));
     w5.BottomAttach = ((uint)(4));
     w5.LeftAttach = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.dateperiodpicker1 = new global::QSWidgetLib.DatePeriodPicker();
     this.dateperiodpicker1.Events = ((global::Gdk.EventMask)(256));
     this.dateperiodpicker1.Name = "dateperiodpicker1";
     this.dateperiodpicker1.StartDate = new global::System.DateTime(0);
     this.dateperiodpicker1.EndDate = new global::System.DateTime(0);
     this.table1.Add(this.dateperiodpicker1);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodpicker1]));
     w6.LeftAttach = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label();
     this.label1.Name = "label1";
     this.label1.Xalign = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Период:");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2 = new global::Gtk.Label();
     this.label2.Name = "label2";
     this.label2.Xalign = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Раздел:");
     this.table1.Add(this.label2);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
     w8.TopAttach = ((uint)(3));
     w8.BottomAttach = ((uint)(4));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3 = new global::Gtk.Label();
     this.label3.Name = "label3";
     this.label3.Xalign = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Статья дохода:");
     this.table1.Add(this.label3);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label3]));
     w9.TopAttach = ((uint)(4));
     w9.BottomAttach = ((uint)(5));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label4 = new global::Gtk.Label();
     this.label4.Name = "label4";
     this.label4.Xalign = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:");
     this.table1.Add(this.label4);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label4]));
     w10.TopAttach = ((uint)(5));
     w10.BottomAttach = ((uint)(6));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label5 = new global::Gtk.Label();
     this.label5.Name = "label5";
     this.label5.Xalign = 1F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Кассир:");
     this.table1.Add(this.label5);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label5]));
     w11.TopAttach = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryrefCasher = new global::Gamma.Widgets.yEntryReference();
     this.yentryrefCasher.Events = ((global::Gdk.EventMask)(256));
     this.yentryrefCasher.Name = "yentryrefCasher";
     this.table1.Add(this.yentryrefCasher);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryrefCasher]));
     w12.TopAttach = ((uint)(1));
     w12.BottomAttach = ((uint)(2));
     w12.LeftAttach = ((uint)(1));
     w12.RightAttach = ((uint)(2));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     this.Add(this.table1);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Hide();
     this.dateperiodpicker1.PeriodChanged += new global::System.EventHandler(this.OnDateperiodpicker1PeriodChanged);
     this.comboPart.EnumItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnComboPartEnumItemSelected);
     this.checkDetail.Toggled += new global::System.EventHandler(this.OnCheckDetailToggled);
     this.buttonRun.Clicked += new global::System.EventHandler(this.OnButtonRunClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget workwear.NomenclatureDlg
     this.Name = "workwear.NomenclatureDlg";
     this.Title = global::Mono.Unix.Catalog.GetString ("Новая номенклатура");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child workwear.NomenclatureDlg.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.table2 = new global::Gtk.Table (((uint)(6)), ((uint)(2)), false);
     this.table2.Name = "table2";
     this.table2.RowSpacing = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.ycomboWearStd = new global::Gamma.Widgets.yEnumComboBox ();
     this.ycomboWearStd.Name = "ycomboWearStd";
     this.ycomboWearStd.ShowSpecialStateAll = false;
     this.ycomboWearStd.ShowSpecialStateNot = false;
     this.ycomboWearStd.UseShortTitle = true;
     this.ycomboWearStd.DefaultFirst = true;
     this.hbox2.Add (this.ycomboWearStd);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.ycomboWearStd]));
     w2.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.ycomboWearSize = new global::Gamma.GtkWidgets.yComboBox ();
     this.ycomboWearSize.Name = "ycomboWearSize";
     this.hbox2.Add (this.ycomboWearSize);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.ycomboWearSize]));
     w3.Position = 1;
     this.table2.Add (this.hbox2);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.hbox2]));
     w4.TopAttach = ((uint)(4));
     w4.BottomAttach = ((uint)(5));
     w4.LeftAttach = ((uint)(1));
     w4.RightAttach = ((uint)(2));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.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.table2.Add (this.label7);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.label7]));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label8 = new global::Gtk.Label ();
     this.label8.Name = "label8";
     this.label8.Xalign = 1F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Наименование<span foreground=\"red\">*</span>:");
     this.label8.UseMarkup = true;
     this.table2.Add (this.label8);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8]));
     w6.TopAttach = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label9 = new global::Gtk.Label ();
     this.label9.Name = "label9";
     this.label9.Xalign = 1F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Номенклатурная группа<span foreground=\"red\">*</span>:");
     this.label9.UseMarkup = true;
     this.table2.Add (this.label9);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.label9]));
     w7.TopAttach = ((uint)(2));
     w7.BottomAttach = ((uint)(3));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.labelGrowth = new global::Gtk.Label ();
     this.labelGrowth.Name = "labelGrowth";
     this.labelGrowth.Xalign = 1F;
     this.labelGrowth.LabelProp = global::Mono.Unix.Catalog.GetString ("Рост:");
     this.table2.Add (this.labelGrowth);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelGrowth]));
     w8.TopAttach = ((uint)(5));
     w8.BottomAttach = ((uint)(6));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.labelSize = new global::Gtk.Label ();
     this.labelSize.Name = "labelSize";
     this.labelSize.Xalign = 1F;
     this.labelSize.LabelProp = global::Mono.Unix.Catalog.GetString ("Размер:");
     this.table2.Add (this.labelSize);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelSize]));
     w9.TopAttach = ((uint)(4));
     w9.BottomAttach = ((uint)(5));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.ycomboClothesSex = new global::Gamma.Widgets.yEnumComboBox ();
     this.ycomboClothesSex.Name = "ycomboClothesSex";
     this.ycomboClothesSex.ShowSpecialStateAll = false;
     this.ycomboClothesSex.ShowSpecialStateNot = false;
     this.ycomboClothesSex.UseShortTitle = false;
     this.ycomboClothesSex.DefaultFirst = false;
     this.table2.Add (this.ycomboClothesSex);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2 [this.ycomboClothesSex]));
     w10.TopAttach = ((uint)(3));
     w10.BottomAttach = ((uint)(4));
     w10.LeftAttach = ((uint)(1));
     w10.RightAttach = ((uint)(2));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.ycomboWearGrowth = new global::Gamma.GtkWidgets.yComboBox ();
     this.ycomboWearGrowth.Name = "ycomboWearGrowth";
     this.table2.Add (this.ycomboWearGrowth);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.ycomboWearGrowth]));
     w11.TopAttach = ((uint)(5));
     w11.BottomAttach = ((uint)(6));
     w11.LeftAttach = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.yentryItemsType = new global::Gamma.Widgets.yEntryReference ();
     this.yentryItemsType.Events = ((global::Gdk.EventMask)(256));
     this.yentryItemsType.Name = "yentryItemsType";
     this.table2.Add (this.yentryItemsType);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryItemsType]));
     w12.TopAttach = ((uint)(2));
     w12.BottomAttach = ((uint)(3));
     w12.LeftAttach = ((uint)(1));
     w12.RightAttach = ((uint)(2));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.yentryName = new global::Gamma.GtkWidgets.yEntry ();
     this.yentryName.CanFocus = true;
     this.yentryName.Name = "yentryName";
     this.yentryName.IsEditable = true;
     this.yentryName.MaxLength = 240;
     this.yentryName.InvisibleChar = '●';
     this.table2.Add (this.yentryName);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryName]));
     w13.TopAttach = ((uint)(1));
     w13.BottomAttach = ((uint)(2));
     w13.LeftAttach = ((uint)(1));
     w13.RightAttach = ((uint)(2));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.ylabelClothesSex = new global::Gamma.GtkWidgets.yLabel ();
     this.ylabelClothesSex.Name = "ylabelClothesSex";
     this.ylabelClothesSex.Xalign = 1F;
     this.ylabelClothesSex.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1");
     this.table2.Add (this.ylabelClothesSex);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2 [this.ylabelClothesSex]));
     w14.TopAttach = ((uint)(3));
     w14.BottomAttach = ((uint)(4));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.ylabelId = new global::Gamma.GtkWidgets.yLabel ();
     this.ylabelId.Name = "ylabelId";
     this.ylabelId.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1");
     this.table2.Add (this.ylabelId);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2 [this.ylabelId]));
     w15.LeftAttach = ((uint)(1));
     w15.RightAttach = ((uint)(2));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     w1.Add (this.table2);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(w1 [this.table2]));
     w16.Position = 0;
     w16.Expand = false;
     w16.Fill = false;
     // Internal child workwear.NomenclatureDlg.ActionArea
     global::Gtk.HButtonBox w17 = this.ActionArea;
     w17.Name = "dialog1_ActionArea";
     w17.Spacing = 10;
     w17.BorderWidth = ((uint)(5));
     w17.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel = new global::Gtk.Button ();
     this.buttonCancel.CanDefault = true;
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("О_тменить");
     global::Gtk.Image w18 = new global::Gtk.Image ();
     w18.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w18;
     this.AddActionWidget (this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w19 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w17 [this.buttonCancel]));
     w19.Expand = false;
     w19.Fill = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk = new global::Gtk.Button ();
     this.buttonOk.CanDefault = true;
     this.buttonOk.CanFocus = true;
     this.buttonOk.Name = "buttonOk";
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("_OK");
     global::Gtk.Image w20 = new global::Gtk.Image ();
     w20.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu);
     this.buttonOk.Image = w20;
     w17.Add (this.buttonOk);
     global::Gtk.ButtonBox.ButtonBoxChild w21 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w17 [this.buttonOk]));
     w21.Position = 1;
     w21.Expand = false;
     w21.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 425;
     this.DefaultHeight = 269;
     this.ycomboClothesSex.Hide ();
     this.ylabelClothesSex.Hide ();
     this.Show ();
     this.yentryItemsType.Changed += new global::System.EventHandler (this.OnYentryItemsTypeChanged);
     this.ycomboClothesSex.Changed += new global::System.EventHandler (this.OnYcomboClothesSexChanged);
     this.ycomboWearStd.Changed += new global::System.EventHandler (this.OnYcomboWearStdChanged);
     this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.Reports.DriverWagesReport
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.Reports.DriverWagesReport";
     // Container child Vodovoz.Reports.DriverWagesReport.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата:");
     this.hbox1.Add (this.label1);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.dateperiodpicker = new global::QSWidgetLib.DatePeriodPicker ();
     this.dateperiodpicker.Events = ((global::Gdk.EventMask)(256));
     this.dateperiodpicker.Name = "dateperiodpicker";
     this.dateperiodpicker.StartDate = new global::System.DateTime (0);
     this.dateperiodpicker.EndDate = new global::System.DateTime (0);
     this.hbox1.Add (this.dateperiodpicker);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.dateperiodpicker]));
     w2.Position = 1;
     this.vbox1.Add (this.hbox1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Водитель:");
     this.hbox3.Add (this.label2);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label2]));
     w4.Position = 0;
     w4.Expand = false;
     w4.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.yentryreferenceDriver = new global::Gamma.Widgets.yEntryReference ();
     this.yentryreferenceDriver.Events = ((global::Gdk.EventMask)(256));
     this.yentryreferenceDriver.Name = "yentryreferenceDriver";
     this.hbox3.Add (this.yentryreferenceDriver);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.yentryreferenceDriver]));
     w5.Position = 1;
     this.vbox1.Add (this.hbox3);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3]));
     w6.Position = 1;
     w6.Expand = false;
     w6.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.buttonCreateReport = new global::Gtk.Button ();
     this.buttonCreateReport.CanFocus = true;
     this.buttonCreateReport.Name = "buttonCreateReport";
     this.buttonCreateReport.UseUnderline = true;
     this.buttonCreateReport.Label = global::Mono.Unix.Catalog.GetString ("Сформировать отчет");
     this.vbox1.Add (this.buttonCreateReport);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.buttonCreateReport]));
     w7.Position = 2;
     w7.Expand = false;
     w7.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Hide ();
     this.buttonCreateReport.Clicked += new global::System.EventHandler (this.OnButtonCreateReportClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.ProductSpecificationDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.ProductSpecificationDlg";
     // Container child Vodovoz.ProductSpecificationDlg.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonSave = new global::Gtk.Button ();
     this.buttonSave.CanFocus = true;
     this.buttonSave.Name = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить");
     global::Gtk.Image w1 = new global::Gtk.Image ();
     w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w1;
     this.hbox4.Add (this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSave]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonCancel = new global::Gtk.Button ();
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить");
     global::Gtk.Image w3 = new global::Gtk.Image ();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w3;
     this.hbox4.Add (this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCancel]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     this.vbox1.Add (this.hbox4);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox4]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.datatable5 = new global::Gtk.DataBindings.DataTable (((uint)(3)), ((uint)(2)), false);
     this.datatable5.Name = "datatable5";
     this.datatable5.RowSpacing = ((uint)(6));
     this.datatable5.ColumnSpacing = ((uint)(6));
     this.datatable5.BorderWidth = ((uint)(6));
     this.datatable5.InheritedDataSource = false;
     this.datatable5.InheritedBoundaryDataSource = false;
     this.datatable5.InheritedDataSource = false;
     this.datatable5.InheritedBoundaryDataSource = false;
     // Container child datatable5.Gtk.Table+TableChild
     this.entryName = new global::Gamma.GtkWidgets.yEntry ();
     this.entryName.CanFocus = true;
     this.entryName.Name = "entryName";
     this.entryName.IsEditable = true;
     this.entryName.InvisibleChar = '●';
     this.datatable5.Add (this.entryName);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable5 [this.entryName]));
     w6.LeftAttach = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable5.Gtk.Table+TableChild
     this.label32 = new global::Gtk.Label ();
     this.label32.Name = "label32";
     this.label32.Xalign = 1F;
     this.label32.LabelProp = global::Mono.Unix.Catalog.GetString ("Название спецификации:");
     this.datatable5.Add (this.label32);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.datatable5 [this.label32]));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable5.Gtk.Table+TableChild
     this.label35 = new global::Gtk.Label ();
     this.label35.Name = "label35";
     this.label35.Xalign = 1F;
     this.label35.LabelProp = global::Mono.Unix.Catalog.GetString ("Продукция:");
     this.datatable5.Add (this.label35);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable5 [this.label35]));
     w8.TopAttach = ((uint)(1));
     w8.BottomAttach = ((uint)(2));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable5.Gtk.Table+TableChild
     this.productspecificationmaterialsview1 = new global::Vodovoz.ProductSpecificationMaterialsView ();
     this.productspecificationmaterialsview1.Events = ((global::Gdk.EventMask)(256));
     this.productspecificationmaterialsview1.Name = "productspecificationmaterialsview1";
     this.datatable5.Add (this.productspecificationmaterialsview1);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable5 [this.productspecificationmaterialsview1]));
     w9.TopAttach = ((uint)(2));
     w9.BottomAttach = ((uint)(3));
     w9.RightAttach = ((uint)(2));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable5.Gtk.Table+TableChild
     this.referenceProduct = new global::Gamma.Widgets.yEntryReference ();
     this.referenceProduct.Events = ((global::Gdk.EventMask)(256));
     this.referenceProduct.Name = "referenceProduct";
     this.datatable5.Add (this.referenceProduct);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable5 [this.referenceProduct]));
     w10.TopAttach = ((uint)(1));
     w10.BottomAttach = ((uint)(2));
     w10.LeftAttach = ((uint)(1));
     w10.RightAttach = ((uint)(2));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add (this.datatable5);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.datatable5]));
     w11.Position = 1;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Hide ();
     this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked);
     this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Dialogs.Employees.EmployeeWorkChartDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Dialogs.Employees.EmployeeWorkChartDlg";
     // Container child Dialogs.Employees.EmployeeWorkChartDlg.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.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;
     this.vbox2.Add (this.hbox5);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox5]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox7 = new global::Gtk.HBox ();
     this.hbox7.Name = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.ylabel1 = new global::Gamma.GtkWidgets.yLabel ();
     this.ylabel1.Name = "ylabel1";
     this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("Месяц:");
     this.hbox7.Add (this.ylabel1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.ylabel1]));
     w6.Position = 0;
     w6.Expand = false;
     w6.Fill = false;
     // Container child hbox7.Gtk.Box+BoxChild
     this.yenumcomboMonth = new global::Gamma.Widgets.yEnumComboBox ();
     this.yenumcomboMonth.Name = "yenumcomboMonth";
     this.yenumcomboMonth.ShowSpecialStateAll = false;
     this.yenumcomboMonth.ShowSpecialStateNot = false;
     this.yenumcomboMonth.UseShortTitle = false;
     this.yenumcomboMonth.DefaultFirst = false;
     this.hbox7.Add (this.yenumcomboMonth);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.yenumcomboMonth]));
     w7.Position = 1;
     this.vbox2.Add (this.hbox7);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox7]));
     w8.Position = 1;
     w8.Expand = false;
     w8.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Год:");
     this.hbox3.Add (this.label2);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label2]));
     w9.Position = 0;
     w9.Expand = false;
     w9.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.yspinYear = new global::Gamma.GtkWidgets.ySpinButton (1, 5000, 1);
     this.yspinYear.CanFocus = true;
     this.yspinYear.Name = "yspinYear";
     this.yspinYear.Adjustment.PageIncrement = 10;
     this.yspinYear.ClimbRate = 1;
     this.yspinYear.Numeric = true;
     this.yspinYear.ValueAsDecimal = 0m;
     this.yspinYear.ValueAsInt = 0;
     this.hbox3.Add (this.yspinYear);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.yspinYear]));
     w10.Position = 1;
     this.vbox2.Add (this.hbox3);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3]));
     w11.Position = 2;
     w11.Expand = false;
     w11.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox6 = new global::Gtk.HBox ();
     this.hbox6.Name = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Сотрудник:");
     this.hbox6.Add (this.label3);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.label3]));
     w12.Position = 0;
     w12.Expand = false;
     w12.Fill = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.yentryEmployee = new global::Gamma.Widgets.yEntryReference ();
     this.yentryEmployee.Events = ((global::Gdk.EventMask)(256));
     this.yentryEmployee.Name = "yentryEmployee";
     this.hbox6.Add (this.yentryEmployee);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.yentryEmployee]));
     w13.Position = 1;
     this.vbox2.Add (this.hbox6);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox6]));
     w14.Position = 3;
     w14.Expand = false;
     w14.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.labelTotalHours = new global::Gtk.Label ();
     this.labelTotalHours.Name = "labelTotalHours";
     this.labelTotalHours.LabelProp = global::Mono.Unix.Catalog.GetString ("Всего за месяц 0 часов");
     this.vbox2.Add (this.labelTotalHours);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.labelTotalHours]));
     w15.Position = 4;
     w15.Expand = false;
     w15.Fill = false;
     this.hbox1.Add (this.vbox2);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2]));
     w16.Position = 0;
     w16.Expand = false;
     w16.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.workcharttable = new global::ViewWidgets.WorkChartTable ();
     this.workcharttable.Name = "workcharttable";
     this.workcharttable.Date = new global::System.DateTime (0);
     this.hbox1.Add (this.workcharttable);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.workcharttable]));
     w17.Position = 1;
     this.vbox1.Add (this.hbox1);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w18.Position = 0;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Hide ();
     this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked);
     this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.RegradingOfGoodsDocumentDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.RegradingOfGoodsDocumentDlg";
     // Container child Vodovoz.RegradingOfGoodsDocumentDlg.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;
     this.vbox4.Add (this.hbox5);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox5]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.tableWriteoff = new global::Gtk.DataBindings.DataTable (((uint)(2)), ((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.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.ytextviewCommnet = new global::Gamma.GtkWidgets.yTextView ();
     this.ytextviewCommnet.CanFocus = true;
     this.ytextviewCommnet.Name = "ytextviewCommnet";
     this.GtkScrolledWindow.Add (this.ytextviewCommnet);
     this.tableWriteoff.Add (this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.GtkScrolledWindow]));
     w7.TopAttach = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.LeftAttach = ((uint)(1));
     w7.RightAttach = ((uint)(4));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.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 w8 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label1]));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.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 w9 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label4]));
     w9.LeftAttach = ((uint)(2));
     w9.RightAttach = ((uint)(3));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.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 w10 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label5]));
     w10.TopAttach = ((uint)(1));
     w10.BottomAttach = ((uint)(2));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.yentryrefWarehouse = new global::Gamma.Widgets.yEntryReference ();
     this.yentryrefWarehouse.Events = ((global::Gdk.EventMask)(256));
     this.yentryrefWarehouse.Name = "yentryrefWarehouse";
     this.tableWriteoff.Add (this.yentryrefWarehouse);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.yentryrefWarehouse]));
     w11.LeftAttach = ((uint)(3));
     w11.RightAttach = ((uint)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.ylabelDate = new global::Gamma.GtkWidgets.yLabel ();
     this.ylabelDate.Name = "ylabelDate";
     this.ylabelDate.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1");
     this.tableWriteoff.Add (this.ylabelDate);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.ylabelDate]));
     w12.LeftAttach = ((uint)(1));
     w12.RightAttach = ((uint)(2));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox4.Add (this.tableWriteoff);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.tableWriteoff]));
     w13.Position = 1;
     w13.Expand = false;
     w13.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.regradingofgoodsitemsview = new global::Vodovoz.RegradingOfGoodsDocumentItemsView ();
     this.regradingofgoodsitemsview.Events = ((global::Gdk.EventMask)(256));
     this.regradingofgoodsitemsview.Name = "regradingofgoodsitemsview";
     this.vbox4.Add (this.regradingofgoodsitemsview);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.regradingofgoodsitemsview]));
     w14.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);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.AdvanceReportDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.AdvanceReportDlg";
     // Container child Vodovoz.AdvanceReportDlg.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.buttonSave = new global::Gtk.Button ();
     this.buttonSave.CanFocus = true;
     this.buttonSave.Name = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить");
     global::Gtk.Image w1 = new global::Gtk.Image ();
     w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w1;
     this.hbox2.Add (this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonSave]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.buttonCancel = new global::Gtk.Button ();
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить");
     global::Gtk.Image w3 = new global::Gtk.Image ();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w3;
     this.hbox2.Add (this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonCancel]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     this.vbox1.Add (this.hbox2);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table (((uint)(4)), ((uint)(6)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.comboExpense = new global::Gamma.Widgets.ySpecComboBox ();
     this.comboExpense.Name = "comboExpense";
     this.comboExpense.AddIfNotExist = false;
     this.comboExpense.DefaultFirst = false;
     this.comboExpense.ShowSpecialStateAll = false;
     this.comboExpense.ShowSpecialStateNot = true;
     this.table1.Add (this.comboExpense);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboExpense]));
     w6.LeftAttach = ((uint)(1));
     w6.RightAttach = ((uint)(4));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox5 = new global::Gtk.HBox ();
     this.hbox5.Name = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.yspinMoney = new global::Gamma.GtkWidgets.ySpinButton (0, 1000000, 100);
     this.yspinMoney.CanFocus = true;
     this.yspinMoney.Name = "yspinMoney";
     this.yspinMoney.Adjustment.PageIncrement = 1000;
     this.yspinMoney.ClimbRate = 1;
     this.yspinMoney.Digits = ((uint)(2));
     this.yspinMoney.Numeric = true;
     this.yspinMoney.ValueAsDecimal = 0m;
     this.yspinMoney.ValueAsInt = 0;
     this.hbox5.Add (this.yspinMoney);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.yspinMoney]));
     w7.Position = 0;
     w7.Expand = false;
     w7.Fill = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel ();
     this.currencylabel1.Name = "currencylabel1";
     this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("currencylabel1");
     this.hbox5.Add (this.currencylabel1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.currencylabel1]));
     w8.Position = 1;
     w8.Expand = false;
     w8.Fill = false;
     this.table1.Add (this.hbox5);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [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 table1.Gtk.Table+TableChild
     this.hboxDebt = new global::Gtk.HBox ();
     this.hboxDebt.Name = "hboxDebt";
     this.hboxDebt.Spacing = 6;
     // Container child hboxDebt.Gtk.Box+BoxChild
     this.labelCurrentDebt = new global::Gtk.Label ();
     this.labelCurrentDebt.Name = "labelCurrentDebt";
     this.labelCurrentDebt.LabelProp = global::Mono.Unix.Catalog.GetString ("label2");
     this.hboxDebt.Add (this.labelCurrentDebt);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxDebt [this.labelCurrentDebt]));
     w10.Position = 0;
     w10.Expand = false;
     w10.Fill = false;
     this.table1.Add (this.hboxDebt);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.hboxDebt]));
     w11.TopAttach = ((uint)(2));
     w11.BottomAttach = ((uint)(3));
     w11.LeftAttach = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // 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.TopAttach = ((uint)(1));
     w12.BottomAttach = ((uint)(2));
     w12.LeftAttach = ((uint)(4));
     w12.RightAttach = ((uint)(5));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.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 w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w13.LeftAttach = ((uint)(4));
     w13.RightAttach = ((uint)(5));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.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 w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w14.TopAttach = ((uint)(2));
     w14.BottomAttach = ((uint)(3));
     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.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 w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.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 w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5]));
     w16.TopAttach = ((uint)(3));
     w16.BottomAttach = ((uint)(4));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.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 w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7]));
     w17.TopAttach = ((uint)(1));
     w17.BottomAttach = ((uint)(2));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelChangeSum = new global::Gtk.Label ();
     this.labelChangeSum.Name = "labelChangeSum";
     this.labelChangeSum.LabelProp = global::Mono.Unix.Catalog.GetString ("--//--");
     this.labelChangeSum.UseMarkup = true;
     this.table1.Add (this.labelChangeSum);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelChangeSum]));
     w18.TopAttach = ((uint)(3));
     w18.BottomAttach = ((uint)(4));
     w18.LeftAttach = ((uint)(3));
     w18.RightAttach = ((uint)(4));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelChangeType = new global::Gtk.Label ();
     this.labelChangeType.Name = "labelChangeType";
     this.labelChangeType.Xalign = 1F;
     this.labelChangeType.LabelProp = global::Mono.Unix.Catalog.GetString ("--//--");
     this.table1.Add (this.labelChangeType);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelChangeType]));
     w19.TopAttach = ((uint)(3));
     w19.BottomAttach = ((uint)(4));
     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.labelClosingSum = new global::Gtk.Label ();
     this.labelClosingSum.Name = "labelClosingSum";
     this.labelClosingSum.LabelProp = global::Mono.Unix.Catalog.GetString ("--//--");
     this.table1.Add (this.labelClosingSum);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelClosingSum]));
     w20.TopAttach = ((uint)(2));
     w20.BottomAttach = ((uint)(3));
     w20.LeftAttach = ((uint)(3));
     w20.RightAttach = ((uint)(4));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelDebtTitle = new global::Gtk.Label ();
     this.labelDebtTitle.Name = "labelDebtTitle";
     this.labelDebtTitle.Xalign = 1F;
     this.labelDebtTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Текущий долг:");
     this.table1.Add (this.labelDebtTitle);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelDebtTitle]));
     w21.TopAttach = ((uint)(2));
     w21.BottomAttach = ((uint)(3));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ydateDocument = new global::Gamma.Widgets.yDatePicker ();
     this.ydateDocument.Events = ((global::Gdk.EventMask)(256));
     this.ydateDocument.Name = "ydateDocument";
     this.ydateDocument.WithTime = false;
     this.ydateDocument.Date = new global::System.DateTime (0);
     this.ydateDocument.IsEditable = true;
     this.ydateDocument.AutoSeparation = true;
     this.table1.Add (this.ydateDocument);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.ydateDocument]));
     w22.TopAttach = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.LeftAttach = ((uint)(5));
     w22.RightAttach = ((uint)(6));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryCasher = new global::Gamma.Widgets.yEntryReference ();
     this.yentryCasher.Sensitive = false;
     this.yentryCasher.Events = ((global::Gdk.EventMask)(256));
     this.yentryCasher.Name = "yentryCasher";
     this.table1.Add (this.yentryCasher);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryCasher]));
     w23.LeftAttach = ((uint)(5));
     w23.RightAttach = ((uint)(6));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryEmploeey = new global::Gamma.Widgets.yEntryReference ();
     this.yentryEmploeey.Events = ((global::Gdk.EventMask)(256));
     this.yentryEmploeey.Name = "yentryEmploeey";
     this.table1.Add (this.yentryEmploeey);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryEmploeey]));
     w24.TopAttach = ((uint)(1));
     w24.BottomAttach = ((uint)(2));
     w24.LeftAttach = ((uint)(1));
     w24.RightAttach = ((uint)(4));
     w24.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add (this.table1);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1]));
     w25.Position = 1;
     w25.Expand = false;
     w25.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.labelCreating = new global::Gtk.Label ();
     this.labelCreating.Name = "labelCreating";
     this.labelCreating.Xpad = 9;
     this.labelCreating.Xalign = 0F;
     this.labelCreating.LabelProp = global::Mono.Unix.Catalog.GetString ("Рачет не производился");
     this.vbox1.Add (this.labelCreating);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.labelCreating]));
     w26.Position = 2;
     w26.Expand = false;
     w26.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.labelTableTitle = new global::Gtk.Label ();
     this.labelTableTitle.Name = "labelTableTitle";
     this.labelTableTitle.Xalign = 0F;
     this.labelTableTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Последние выданные авансы:");
     this.vbox1.Add (this.labelTableTitle);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.labelTableTitle]));
     w27.Position = 3;
     w27.Expand = false;
     w27.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.ytreeviewDebts = new global::Gamma.GtkWidgets.yTreeView ();
     this.ytreeviewDebts.CanFocus = true;
     this.ytreeviewDebts.Name = "ytreeviewDebts";
     this.GtkScrolledWindow1.Add (this.ytreeviewDebts);
     this.vbox1.Add (this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow1]));
     w29.Position = 4;
     // Container child vbox1.Gtk.Box+BoxChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.Xalign = 0F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Основание:");
     this.vbox1.Add (this.label6);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label6]));
     w30.Position = 5;
     w30.Expand = false;
     w30.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.ytextviewDescription = new global::Gamma.GtkWidgets.yTextView ();
     this.ytextviewDescription.CanFocus = true;
     this.ytextviewDescription.Name = "ytextviewDescription";
     this.ytextviewDescription.WrapMode = ((global::Gtk.WrapMode)(3));
     this.GtkScrolledWindow.Add (this.ytextviewDescription);
     this.vbox1.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow]));
     w32.Position = 6;
     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.yentryEmploeey.Changed += new global::System.EventHandler (this.OnYentryEmploeeyChanged);
     this.yspinMoney.ValueChanged += new global::System.EventHandler (this.OnYspinMoneyValueChanged);
     this.comboExpense.Changed += new global::System.EventHandler (this.OnComboExpenseChanged);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.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.CashIncomeDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.CashIncomeDlg";
     // Container child Vodovoz.CashIncomeDlg.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2 = new global::Gtk.HBox();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.buttonSave = new global::Gtk.Button();
     this.buttonSave.CanFocus = true;
     this.buttonSave.Name = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Сохранить");
     global::Gtk.Image w1 = new global::Gtk.Image();
     w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w1;
     this.hbox2.Add(this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonSave]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.buttonCancel = new global::Gtk.Button();
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Отменить");
     global::Gtk.Image w3 = new global::Gtk.Image();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w3;
     this.hbox2.Add(this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonCancel]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.buttonPrint = new global::Gtk.Button();
     this.buttonPrint.CanFocus = true;
     this.buttonPrint.Name = "buttonPrint";
     this.buttonPrint.UseUnderline = true;
     this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString("Печать");
     global::Gtk.Image w5 = new global::Gtk.Image();
     w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu);
     this.buttonPrint.Image = w5;
     this.hbox2.Add(this.buttonPrint);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonPrint]));
     w6.Position = 2;
     w6.Expand = false;
     w6.Fill = false;
     this.vbox1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
     w7.Position = 0;
     w7.Expand = false;
     w7.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table(((uint)(7)), ((uint)(4)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.checkNoClose = new global::Gamma.GtkWidgets.yCheckButton();
     this.checkNoClose.CanFocus = true;
     this.checkNoClose.Name = "checkNoClose";
     this.checkNoClose.Label = global::Mono.Unix.Catalog.GetString("Частичный возврат");
     this.checkNoClose.DrawIndicator = true;
     this.checkNoClose.UseUnderline = true;
     this.table1.Add(this.checkNoClose);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.checkNoClose]));
     w8.TopAttach = ((uint)(5));
     w8.BottomAttach = ((uint)(6));
     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.comboCategory = new global::Gamma.Widgets.ySpecComboBox();
     this.comboCategory.Name = "comboCategory";
     this.comboCategory.AddIfNotExist = false;
     this.comboCategory.DefaultFirst = false;
     this.comboCategory.ShowSpecialStateAll = false;
     this.comboCategory.ShowSpecialStateNot = true;
     this.table1.Add(this.comboCategory);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.comboCategory]));
     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.comboExpense = new global::Gamma.Widgets.ySpecComboBox();
     this.comboExpense.Name = "comboExpense";
     this.comboExpense.AddIfNotExist = false;
     this.comboExpense.DefaultFirst = false;
     this.comboExpense.ShowSpecialStateAll = false;
     this.comboExpense.ShowSpecialStateNot = true;
     this.table1.Add(this.comboExpense);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.comboExpense]));
     w10.TopAttach = ((uint)(2));
     w10.BottomAttach = ((uint)(3));
     w10.LeftAttach = ((uint)(1));
     w10.RightAttach = ((uint)(2));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.enumcomboOperation = new global::Gamma.Widgets.yEnumComboBox();
     this.enumcomboOperation.Name = "enumcomboOperation";
     this.enumcomboOperation.ShowSpecialStateAll = false;
     this.enumcomboOperation.ShowSpecialStateNot = false;
     this.enumcomboOperation.UseShortTitle = false;
     this.enumcomboOperation.DefaultFirst = false;
     this.table1.Add(this.enumcomboOperation);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.enumcomboOperation]));
     w11.LeftAttach = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox6 = new global::Gtk.HBox();
     this.hbox6.Name = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.yspinMoney = new global::Gamma.GtkWidgets.ySpinButton(0, 1000000, 100);
     this.yspinMoney.CanDefault = true;
     this.yspinMoney.CanFocus = true;
     this.yspinMoney.Name = "yspinMoney";
     this.yspinMoney.Adjustment.PageIncrement = 1000;
     this.yspinMoney.ClimbRate = 1;
     this.yspinMoney.Digits = ((uint)(2));
     this.yspinMoney.Numeric = true;
     this.yspinMoney.ValueAsDecimal = 0m;
     this.yspinMoney.ValueAsInt = 0;
     this.hbox6.Add(this.yspinMoney);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.yspinMoney]));
     w12.Position = 0;
     // Container child hbox6.Gtk.Box+BoxChild
     this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel();
     this.currencylabel1.Name = "currencylabel1";
     this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("currencylabel1");
     this.hbox6.Add(this.currencylabel1);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.currencylabel1]));
     w13.Position = 1;
     w13.Expand = false;
     w13.Fill = false;
     this.table1.Add(this.hbox6);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox6]));
     w14.TopAttach = ((uint)(6));
     w14.BottomAttach = ((uint)(7));
     w14.LeftAttach = ((uint)(1));
     w14.RightAttach = ((uint)(2));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label();
     this.label1.Name = "label1";
     this.label1.Xalign = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Дата:");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w15.TopAttach = ((uint)(1));
     w15.BottomAttach = ((uint)(2));
     w15.LeftAttach = ((uint)(2));
     w15.RightAttach = ((uint)(3));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2 = new global::Gtk.Label();
     this.label2.Name = "label2";
     this.label2.Xalign = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Кассир:");
     this.table1.Add(this.label2);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
     w16.LeftAttach = ((uint)(2));
     w16.RightAttach = ((uint)(3));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3 = new global::Gtk.Label();
     this.label3.Name = "label3";
     this.label3.Xalign = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Тип операции:");
     this.table1.Add(this.label3);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label3]));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.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)(6));
     w18.BottomAttach = ((uint)(7));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelClientTitle = new global::Gtk.Label();
     this.labelClientTitle.Name = "labelClientTitle";
     this.labelClientTitle.Xalign = 1F;
     this.labelClientTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Клиент:");
     this.table1.Add(this.labelClientTitle);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.labelClientTitle]));
     w19.TopAttach = ((uint)(3));
     w19.BottomAttach = ((uint)(4));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelEmploeey = new global::Gtk.Label();
     this.labelEmploeey.Name = "labelEmploeey";
     this.labelEmploeey.Xalign = 1F;
     this.labelEmploeey.LabelProp = global::Mono.Unix.Catalog.GetString("Сотрудник:");
     this.table1.Add(this.labelEmploeey);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.labelEmploeey]));
     w20.TopAttach = ((uint)(4));
     w20.BottomAttach = ((uint)(5));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelExpenseTitle = new global::Gtk.Label();
     this.labelExpenseTitle.Name = "labelExpenseTitle";
     this.labelExpenseTitle.Xalign = 1F;
     this.labelExpenseTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Статья расхода:");
     this.table1.Add(this.labelExpenseTitle);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.labelExpenseTitle]));
     w21.TopAttach = ((uint)(2));
     w21.BottomAttach = ((uint)(3));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelIncomeTitle = new global::Gtk.Label();
     this.labelIncomeTitle.Name = "labelIncomeTitle";
     this.labelIncomeTitle.Xalign = 1F;
     this.labelIncomeTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Статья дохода:");
     this.table1.Add(this.labelIncomeTitle);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.labelIncomeTitle]));
     w22.TopAttach = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ydateDocument = new global::Gamma.Widgets.yDatePicker();
     this.ydateDocument.Events = ((global::Gdk.EventMask)(256));
     this.ydateDocument.Name = "ydateDocument";
     this.ydateDocument.WithTime = false;
     this.ydateDocument.Date = new global::System.DateTime(0);
     this.ydateDocument.IsEditable = true;
     this.ydateDocument.AutoSeparation = true;
     this.table1.Add(this.ydateDocument);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.ydateDocument]));
     w23.TopAttach = ((uint)(1));
     w23.BottomAttach = ((uint)(2));
     w23.LeftAttach = ((uint)(3));
     w23.RightAttach = ((uint)(4));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryCasher = new global::Gamma.Widgets.yEntryReference();
     this.yentryCasher.Sensitive = false;
     this.yentryCasher.Events = ((global::Gdk.EventMask)(256));
     this.yentryCasher.Name = "yentryCasher";
     this.table1.Add(this.yentryCasher);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryCasher]));
     w24.LeftAttach = ((uint)(3));
     w24.RightAttach = ((uint)(4));
     w24.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryClient = new global::Gamma.Widgets.yEntryReference();
     this.yentryClient.Events = ((global::Gdk.EventMask)(256));
     this.yentryClient.Name = "yentryClient";
     this.table1.Add(this.yentryClient);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryClient]));
     w25.TopAttach = ((uint)(3));
     w25.BottomAttach = ((uint)(4));
     w25.LeftAttach = ((uint)(1));
     w25.RightAttach = ((uint)(2));
     w25.XOptions = ((global::Gtk.AttachOptions)(4));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryEmploeey = new global::Gamma.Widgets.yEntryReference();
     this.yentryEmploeey.Events = ((global::Gdk.EventMask)(256));
     this.yentryEmploeey.Name = "yentryEmploeey";
     this.table1.Add(this.yentryEmploeey);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryEmploeey]));
     w26.TopAttach = ((uint)(4));
     w26.BottomAttach = ((uint)(5));
     w26.LeftAttach = ((uint)(1));
     w26.RightAttach = ((uint)(2));
     w26.XOptions = ((global::Gtk.AttachOptions)(4));
     w26.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1]));
     w27.Position = 1;
     w27.Expand = false;
     w27.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vboxDebts = new global::Gtk.VBox();
     this.vboxDebts.Name = "vboxDebts";
     this.vboxDebts.Spacing = 6;
     this.vboxDebts.BorderWidth = ((uint)(6));
     // Container child vboxDebts.Gtk.Box+BoxChild
     this.labelTableTitle = new global::Gtk.Label();
     this.labelTableTitle.Name = "labelTableTitle";
     this.labelTableTitle.Xalign = 0F;
     this.labelTableTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Последние выданные авансы:");
     this.vboxDebts.Add(this.labelTableTitle);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vboxDebts[this.labelTableTitle]));
     w28.Position = 0;
     w28.Expand = false;
     w28.Fill = false;
     // Container child vboxDebts.Gtk.Box+BoxChild
     this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.ytreeviewDebts = new global::Gamma.GtkWidgets.yTreeView();
     this.ytreeviewDebts.CanFocus = true;
     this.ytreeviewDebts.Name = "ytreeviewDebts";
     this.GtkScrolledWindow1.Add(this.ytreeviewDebts);
     this.vboxDebts.Add(this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vboxDebts[this.GtkScrolledWindow1]));
     w30.Position = 1;
     this.vbox1.Add(this.vboxDebts);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vboxDebts]));
     w31.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.label6 = new global::Gtk.Label();
     this.label6.Name = "label6";
     this.label6.Xalign = 0F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Основание:");
     this.vbox1.Add(this.label6);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label6]));
     w32.Position = 3;
     w32.Expand = false;
     w32.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.ytextviewDescription = new global::Gamma.GtkWidgets.yTextView();
     this.ytextviewDescription.CanFocus = true;
     this.ytextviewDescription.Name = "ytextviewDescription";
     this.ytextviewDescription.WrapMode = ((global::Gtk.WrapMode)(3));
     this.GtkScrolledWindow.Add(this.ytextviewDescription);
     this.vbox1.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow]));
     w34.Position = 4;
     this.Add(this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.comboExpense.Hide();
     this.labelExpenseTitle.Hide();
     this.vboxDebts.Hide();
     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.yentryEmploeey.Changed += new global::System.EventHandler(this.OnYentryEmploeeyChanged);
     this.enumcomboOperation.EnumItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnEnumcomboOperationEnumItemSelected);
     this.comboExpense.ItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnComboExpenseItemSelected);
     this.checkNoClose.Toggled += new global::System.EventHandler(this.OnCheckNoCloseToggled);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget workwear.IncomeDocDlg
     this.Name = "workwear.IncomeDocDlg";
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child workwear.IncomeDocDlg.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     this.hbox1.BorderWidth = ((uint)(3));
     // Container child hbox1.Gtk.Box+BoxChild
     this.table2 = new global::Gtk.Table (((uint)(4)), ((uint)(2)), false);
     this.table2.Name = "table2";
     this.table2.RowSpacing = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.Xalign = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Операция<span foreground=\"red\">*</span>:");
     this.label1.UseMarkup = true;
     this.table2.Add (this.label1);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table2 [this.label1]));
     w2.XOptions = ((global::Gtk.AttachOptions)(4));
     w2.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.labelObject = new global::Gtk.Label ();
     this.labelObject.Name = "labelObject";
     this.labelObject.Xalign = 1F;
     this.labelObject.LabelProp = global::Mono.Unix.Catalog.GetString ("Объект<span foreground=\"red\">*</span>:");
     this.labelObject.UseMarkup = true;
     this.table2.Add (this.labelObject);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelObject]));
     w3.TopAttach = ((uint)(3));
     w3.BottomAttach = ((uint)(4));
     w3.XOptions = ((global::Gtk.AttachOptions)(4));
     w3.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.labelTTN = new global::Gtk.Label ();
     this.labelTTN.Name = "labelTTN";
     this.labelTTN.Xalign = 1F;
     this.labelTTN.LabelProp = global::Mono.Unix.Catalog.GetString ("ТН №<span foreground=\"red\">*</span>:");
     this.labelTTN.UseMarkup = true;
     this.table2.Add (this.labelTTN);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelTTN]));
     w4.TopAttach = ((uint)(1));
     w4.BottomAttach = ((uint)(2));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.labelWorker = new global::Gtk.Label ();
     this.labelWorker.Name = "labelWorker";
     this.labelWorker.LabelProp = global::Mono.Unix.Catalog.GetString ("Работник<span foreground=\"red\">*</span>:");
     this.labelWorker.UseMarkup = true;
     this.table2.Add (this.labelWorker);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelWorker]));
     w5.TopAttach = ((uint)(2));
     w5.BottomAttach = ((uint)(3));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.ycomboOperation = new global::Gamma.Widgets.yEnumComboBox ();
     this.ycomboOperation.Name = "ycomboOperation";
     this.ycomboOperation.ShowSpecialStateAll = false;
     this.ycomboOperation.ShowSpecialStateNot = false;
     this.ycomboOperation.UseShortTitle = false;
     this.ycomboOperation.DefaultFirst = false;
     this.table2.Add (this.ycomboOperation);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.ycomboOperation]));
     w6.LeftAttach = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.yentryEmployee = new global::Gamma.Widgets.yEntryReference ();
     this.yentryEmployee.Events = ((global::Gdk.EventMask)(256));
     this.yentryEmployee.Name = "yentryEmployee";
     this.table2.Add (this.yentryEmployee);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryEmployee]));
     w7.TopAttach = ((uint)(2));
     w7.BottomAttach = ((uint)(3));
     w7.LeftAttach = ((uint)(1));
     w7.RightAttach = ((uint)(2));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.yentryNumber = new global::Gamma.GtkWidgets.yEntry ();
     this.yentryNumber.CanFocus = true;
     this.yentryNumber.Name = "yentryNumber";
     this.yentryNumber.IsEditable = true;
     this.yentryNumber.MaxLength = 8;
     this.yentryNumber.InvisibleChar = '●';
     this.table2.Add (this.yentryNumber);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryNumber]));
     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 table2.Gtk.Table+TableChild
     this.yentryObject = new global::Gamma.Widgets.yEntryReference ();
     this.yentryObject.Events = ((global::Gdk.EventMask)(256));
     this.yentryObject.Name = "yentryObject";
     this.table2.Add (this.yentryObject);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryObject]));
     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));
     this.hbox1.Add (this.table2);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table2]));
     w10.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.table3 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false);
     this.table3.Name = "table3";
     this.table3.RowSpacing = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(6));
     // 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 w11 = ((global::Gtk.Table.TableChild)(this.table3 [this.label4]));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.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 w12 = ((global::Gtk.Table.TableChild)(this.table3 [this.label5]));
     w12.TopAttach = ((uint)(1));
     w12.BottomAttach = ((uint)(2));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.Xalign = 1F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата<span foreground=\"red\">*</span>:");
     this.label6.UseMarkup = true;
     this.table3.Add (this.label6);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table3 [this.label6]));
     w13.TopAttach = ((uint)(2));
     w13.BottomAttach = ((uint)(3));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.ydateDoc = new global::Gamma.Widgets.yDatePicker ();
     this.ydateDoc.Events = ((global::Gdk.EventMask)(256));
     this.ydateDoc.Name = "ydateDoc";
     this.ydateDoc.WithTime = false;
     this.ydateDoc.Date = new global::System.DateTime (0);
     this.ydateDoc.IsEditable = true;
     this.ydateDoc.AutoSeparation = true;
     this.table3.Add (this.ydateDoc);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table3 [this.ydateDoc]));
     w14.TopAttach = ((uint)(2));
     w14.BottomAttach = ((uint)(3));
     w14.LeftAttach = ((uint)(1));
     w14.RightAttach = ((uint)(2));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.ylabelCreatedBy = new global::Gamma.GtkWidgets.yLabel ();
     this.ylabelCreatedBy.Name = "ylabelCreatedBy";
     this.ylabelCreatedBy.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1");
     this.table3.Add (this.ylabelCreatedBy);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table3 [this.ylabelCreatedBy]));
     w15.TopAttach = ((uint)(1));
     w15.BottomAttach = ((uint)(2));
     w15.LeftAttach = ((uint)(1));
     w15.RightAttach = ((uint)(2));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.ylabelId = new global::Gamma.GtkWidgets.yLabel ();
     this.ylabelId.Name = "ylabelId";
     this.ylabelId.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel3");
     this.table3.Add (this.ylabelId);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table3 [this.ylabelId]));
     w16.LeftAttach = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     this.hbox1.Add (this.table3);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table3]));
     w17.Position = 1;
     w1.Add (this.hbox1);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1]));
     w18.Position = 0;
     w18.Expand = false;
     w18.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.ItemsTable = new global::workwear.IncomeDocItemsView ();
     this.ItemsTable.Events = ((global::Gdk.EventMask)(256));
     this.ItemsTable.Name = "ItemsTable";
     w1.Add (this.ItemsTable);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(w1 [this.ItemsTable]));
     w19.Position = 1;
     // Internal child workwear.IncomeDocDlg.ActionArea
     global::Gtk.HButtonBox w20 = this.ActionArea;
     w20.Name = "dialog1_ActionArea";
     w20.Spacing = 10;
     w20.BorderWidth = ((uint)(5));
     w20.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel = new global::Gtk.Button ();
     this.buttonCancel.CanDefault = true;
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("О_тменить");
     global::Gtk.Image w21 = new global::Gtk.Image ();
     w21.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w21;
     this.AddActionWidget (this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w22 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w20 [this.buttonCancel]));
     w22.Expand = false;
     w22.Fill = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk = new global::Gtk.Button ();
     this.buttonOk.CanDefault = true;
     this.buttonOk.CanFocus = true;
     this.buttonOk.Name = "buttonOk";
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("_OK");
     global::Gtk.Image w23 = new global::Gtk.Image ();
     w23.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu);
     this.buttonOk.Image = w23;
     w20.Add (this.buttonOk);
     global::Gtk.ButtonBox.ButtonBoxChild w24 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w20 [this.buttonOk]));
     w24.Position = 1;
     w24.Expand = false;
     w24.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 582;
     this.DefaultHeight = 436;
     this.Show ();
     this.ycomboOperation.Changed += new global::System.EventHandler (this.OnYcomboOperationChanged);
     this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.CarUnloadDocumentDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.CarUnloadDocumentDlg";
     // Container child Vodovoz.CarUnloadDocumentDlg.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)(3)), ((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.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.ytextviewCommnet = new global::Gamma.GtkWidgets.yTextView ();
     this.ytextviewCommnet.CanFocus = true;
     this.ytextviewCommnet.Name = "ytextviewCommnet";
     this.GtkScrolledWindow.Add (this.ytextviewCommnet);
     this.tableWriteoff.Add (this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.GtkScrolledWindow]));
     w9.TopAttach = ((uint)(2));
     w9.BottomAttach = ((uint)(3));
     w9.LeftAttach = ((uint)(1));
     w9.RightAttach = ((uint)(4));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.VscrollbarPolicy = ((global::Gtk.PolicyType)(2));
     this.GtkScrolledWindow1.HscrollbarPolicy = ((global::Gtk.PolicyType)(2));
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.ytextviewRouteListInfo = new global::Gamma.GtkWidgets.yTextView ();
     this.ytextviewRouteListInfo.CanFocus = true;
     this.ytextviewRouteListInfo.Name = "ytextviewRouteListInfo";
     this.ytextviewRouteListInfo.Editable = false;
     this.GtkScrolledWindow1.Add (this.ytextviewRouteListInfo);
     this.tableWriteoff.Add (this.GtkScrolledWindow1);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.GtkScrolledWindow1]));
     w11.TopAttach = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.LeftAttach = ((uint)(3));
     w11.RightAttach = ((uint)(4));
     w11.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 w12 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label1]));
     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.LeftAttach = ((uint)(2));
     w13.RightAttach = ((uint)(3));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.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.tableWriteoff.Add (this.label3);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label3]));
     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.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 w15 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label4]));
     w15.TopAttach = ((uint)(1));
     w15.BottomAttach = ((uint)(2));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.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 w16 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.label5]));
     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.yentryrefRouteList = new global::Gamma.Widgets.yEntryReferenceVM ();
     this.yentryrefRouteList.Events = ((global::Gdk.EventMask)(256));
     this.yentryrefRouteList.Name = "yentryrefRouteList";
     this.tableWriteoff.Add (this.yentryrefRouteList);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.yentryrefRouteList]));
     w17.LeftAttach = ((uint)(3));
     w17.RightAttach = ((uint)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.yentryrefWarehouse = new global::Gamma.Widgets.yEntryReference ();
     this.yentryrefWarehouse.Events = ((global::Gdk.EventMask)(256));
     this.yentryrefWarehouse.Name = "yentryrefWarehouse";
     this.tableWriteoff.Add (this.yentryrefWarehouse);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.yentryrefWarehouse]));
     w18.TopAttach = ((uint)(1));
     w18.BottomAttach = ((uint)(2));
     w18.LeftAttach = ((uint)(1));
     w18.RightAttach = ((uint)(2));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.YOptions = ((global::Gtk.AttachOptions)(0));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.ylabelDate = new global::Gamma.GtkWidgets.yLabel ();
     this.ylabelDate.Name = "ylabelDate";
     this.ylabelDate.LabelProp = global::Mono.Unix.Catalog.GetString ("ylabel1");
     this.tableWriteoff.Add (this.ylabelDate);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableWriteoff [this.ylabelDate]));
     w19.LeftAttach = ((uint)(1));
     w19.RightAttach = ((uint)(2));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox4.Add (this.tableWriteoff);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.tableWriteoff]));
     w20.Position = 1;
     w20.Expand = false;
     w20.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.bottlereceptionview1 = new global::Vodovoz.BottleReceptionView ();
     this.bottlereceptionview1.Events = ((global::Gdk.EventMask)(256));
     this.bottlereceptionview1.Name = "bottlereceptionview1";
     this.vbox1.Add (this.bottlereceptionview1);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.bottlereceptionview1]));
     w21.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.equipmentreceptionview1 = new global::Vodovoz.EquipmentReceptionView ();
     this.equipmentreceptionview1.Events = ((global::Gdk.EventMask)(256));
     this.equipmentreceptionview1.Name = "equipmentreceptionview1";
     this.vbox1.Add (this.equipmentreceptionview1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.equipmentreceptionview1]));
     w22.Position = 1;
     this.hbox4.Add (this.vbox1);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox1]));
     w23.Position = 0;
     // Container child hbox4.Gtk.Box+BoxChild
     this.returnsreceptionview1 = new global::Vodovoz.ReturnsReceptionView ();
     this.returnsreceptionview1.Events = ((global::Gdk.EventMask)(256));
     this.returnsreceptionview1.Name = "returnsreceptionview1";
     this.hbox4.Add (this.returnsreceptionview1);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.returnsreceptionview1]));
     w24.Position = 1;
     this.vbox4.Add (this.hbox4);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox4]));
     w25.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.yentryrefWarehouse.Changed += new global::System.EventHandler (this.OnYentryrefWarehouseChanged);
     this.yentryrefRouteList.Changed += new global::System.EventHandler (this.OnYentryrefRouteListChanged);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.CashDocumentsFilter
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.CashDocumentsFilter";
     // Container child Vodovoz.CashDocumentsFilter.Gtk.Container+ContainerChild
     this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(4)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.dateperiodDocs = new global::QSWidgetLib.DatePeriodPicker();
     this.dateperiodDocs.Events = ((global::Gdk.EventMask)(256));
     this.dateperiodDocs.Name = "dateperiodDocs";
     this.dateperiodDocs.StartDate = new global::System.DateTime(0);
     this.dateperiodDocs.EndDate = new global::System.DateTime(0);
     this.table1.Add(this.dateperiodDocs);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.dateperiodDocs]));
     w1.TopAttach = ((uint)(1));
     w1.BottomAttach = ((uint)(2));
     w1.LeftAttach = ((uint)(1));
     w1.RightAttach = ((uint)(2));
     w1.XOptions = ((global::Gtk.AttachOptions)(4));
     w1.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryEmployee = new global::QSOrmProject.EntryReference();
     this.entryEmployee.Events = ((global::Gdk.EventMask)(256));
     this.entryEmployee.Name = "entryEmployee";
     this.table1.Add(this.entryEmployee);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entryEmployee]));
     w2.TopAttach = ((uint)(2));
     w2.BottomAttach = ((uint)(3));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.XOptions = ((global::Gtk.AttachOptions)(4));
     w2.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.enumcomboDocumentType = new global::Gamma.Widgets.yEnumComboBox();
     this.enumcomboDocumentType.Name = "enumcomboDocumentType";
     this.enumcomboDocumentType.ShowSpecialStateAll = true;
     this.enumcomboDocumentType.ShowSpecialStateNot = false;
     this.enumcomboDocumentType.UseShortTitle = false;
     this.enumcomboDocumentType.DefaultFirst = false;
     this.table1.Add(this.enumcomboDocumentType);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.enumcomboDocumentType]));
     w3.LeftAttach = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Вид документа:");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.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 w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
     w5.LeftAttach = ((uint)(2));
     w5.RightAttach = ((uint)(3));
     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)(1));
     w6.BottomAttach = ((uint)(2));
     w6.LeftAttach = ((uint)(2));
     w6.RightAttach = ((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.TopAttach = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.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)(2));
     w8.BottomAttach = ((uint)(3));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryExpense = new global::Gamma.Widgets.yEntryReference();
     this.yentryExpense.Events = ((global::Gdk.EventMask)(256));
     this.yentryExpense.Name = "yentryExpense";
     this.table1.Add(this.yentryExpense);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryExpense]));
     w9.TopAttach = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.LeftAttach = ((uint)(3));
     w9.RightAttach = ((uint)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryIncome = new global::Gamma.Widgets.yEntryReference();
     this.yentryIncome.Events = ((global::Gdk.EventMask)(256));
     this.yentryIncome.Name = "yentryIncome";
     this.table1.Add(this.yentryIncome);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryIncome]));
     w10.LeftAttach = ((uint)(3));
     w10.RightAttach = ((uint)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     this.Add(this.table1);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Hide();
     this.yentryIncome.Changed += new global::System.EventHandler(this.OnYentryIncomeChanged);
     this.yentryExpense.Changed += new global::System.EventHandler(this.OnYentryExpenseChanged);
     this.enumcomboDocumentType.EnumItemSelected += new global::System.EventHandler<Gamma.Widgets.ItemSelectedEventArgs>(this.OnEnumcomboDocumentTypeEnumItemSelected);
     this.entryEmployee.Changed += new global::System.EventHandler(this.OnEntryEmployeeChanged);
     this.dateperiodDocs.PeriodChanged += new global::System.EventHandler(this.OnDateperiodDocsPeriodChanged);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget QSBanks.AccountDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "QSBanks.AccountDlg";
     // Container child QSBanks.AccountDlg.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonSave = new global::Gtk.Button ();
     this.buttonSave.CanFocus = true;
     this.buttonSave.Name = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить");
     global::Gtk.Image w1 = new global::Gtk.Image ();
     w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w1;
     this.hbox4.Add (this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSave]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonCancel = new global::Gtk.Button ();
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить");
     global::Gtk.Image w3 = new global::Gtk.Image ();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w3;
     this.hbox4.Add (this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCancel]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     this.vbox1.Add (this.hbox4);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox4]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.labelInactive = new global::Gtk.Label ();
     this.labelInactive.Name = "labelInactive";
     this.labelInactive.Justify = ((global::Gtk.Justification)(2));
     this.vbox1.Add (this.labelInactive);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.labelInactive]));
     w6.Position = 1;
     w6.Expand = false;
     w6.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.datatableMain = new global::Gtk.Table (((uint)(4)), ((uint)(2)), false);
     this.datatableMain.Name = "datatableMain";
     this.datatableMain.RowSpacing = ((uint)(6));
     this.datatableMain.ColumnSpacing = ((uint)(6));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataentryName = new global::Gamma.GtkWidgets.yEntry ();
     this.dataentryName.CanFocus = true;
     this.dataentryName.Name = "dataentryName";
     this.dataentryName.IsEditable = true;
     this.dataentryName.InvisibleChar = '●';
     this.datatableMain.Add (this.dataentryName);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryName]));
     w7.LeftAttach = ((uint)(1));
     w7.RightAttach = ((uint)(2));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataentryNumber = new global::Gamma.Widgets.yValidatedEntry ();
     this.dataentryNumber.CanFocus = true;
     this.dataentryNumber.Name = "dataentryNumber";
     this.dataentryNumber.IsEditable = true;
     this.dataentryNumber.MaxLength = 25;
     this.dataentryNumber.InvisibleChar = '●';
     this.datatableMain.Add (this.dataentryNumber);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryNumber]));
     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 datatableMain.Gtk.Table+TableChild
     this.dataentryrefBank = new global::Gamma.Widgets.yEntryReference ();
     this.dataentryrefBank.Events = ((global::Gdk.EventMask)(256));
     this.dataentryrefBank.Name = "dataentryrefBank";
     this.dataentryrefBank.DisplayFields = new string[] {
         "Name"
     };
     this.datatableMain.Add (this.dataentryrefBank);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataentryrefBank]));
     w9.TopAttach = ((uint)(2));
     w9.BottomAttach = ((uint)(3));
     w9.LeftAttach = ((uint)(1));
     w9.RightAttach = ((uint)(2));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.Gtk.Table+TableChild
     this.dataframe1 = new global::Gtk.Frame ();
     this.dataframe1.Name = "dataframe1";
     this.dataframe1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child dataframe1.Gtk.Container+ContainerChild
     this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(12));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.datatableBank = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false);
     this.datatableBank.Name = "datatableBank";
     this.datatableBank.RowSpacing = ((uint)(6));
     this.datatableBank.ColumnSpacing = ((uint)(6));
     // Container child datatableBank.Gtk.Table+TableChild
     this.datalabelBik = new global::Gamma.GtkWidgets.yLabel ();
     this.datalabelBik.Name = "datalabelBik";
     this.datalabelBik.LabelProp = global::Mono.Unix.Catalog.GetString ("datalabel1");
     this.datatableBank.Add (this.datalabelBik);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatableBank [this.datalabelBik]));
     w10.LeftAttach = ((uint)(1));
     w10.RightAttach = ((uint)(2));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableBank.Gtk.Table+TableChild
     this.datalabelCity = new global::Gamma.GtkWidgets.yLabel ();
     this.datalabelCity.Name = "datalabelCity";
     this.datalabelCity.LabelProp = global::Mono.Unix.Catalog.GetString ("datalabel1");
     this.datatableBank.Add (this.datalabelCity);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatableBank [this.datalabelCity]));
     w11.TopAttach = ((uint)(2));
     w11.BottomAttach = ((uint)(3));
     w11.LeftAttach = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableBank.Gtk.Table+TableChild
     this.datalabelRegion = new global::Gamma.GtkWidgets.yLabel ();
     this.datalabelRegion.Name = "datalabelRegion";
     this.datalabelRegion.LabelProp = global::Mono.Unix.Catalog.GetString ("datalabel2");
     this.datatableBank.Add (this.datalabelRegion);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatableBank [this.datalabelRegion]));
     w12.TopAttach = ((uint)(1));
     w12.BottomAttach = ((uint)(2));
     w12.LeftAttach = ((uint)(1));
     w12.RightAttach = ((uint)(2));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableBank.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.datatableBank.Add (this.label4);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatableBank [this.label4]));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableBank.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.datatableBank.Add (this.label5);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatableBank [this.label5]));
     w14.TopAttach = ((uint)(1));
     w14.BottomAttach = ((uint)(2));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableBank.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.datatableBank.Add (this.label6);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatableBank [this.label6]));
     w15.TopAttach = ((uint)(2));
     w15.BottomAttach = ((uint)(3));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     this.GtkAlignment2.Add (this.datatableBank);
     this.dataframe1.Add (this.GtkAlignment2);
     this.datatableMain.Add (this.dataframe1);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.dataframe1]));
     w18.TopAttach = ((uint)(3));
     w18.BottomAttach = ((uint)(4));
     w18.LeftAttach = ((uint)(1));
     w18.RightAttach = ((uint)(2));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.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.datatableMain.Add (this.label1);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label1]));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.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.datatableMain.Add (this.label2);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label2]));
     w20.TopAttach = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatableMain.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.datatableMain.Add (this.label3);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatableMain [this.label3]));
     w21.TopAttach = ((uint)(2));
     w21.BottomAttach = ((uint)(3));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add (this.datatableMain);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.datatableMain]));
     w22.Position = 2;
     w22.Expand = false;
     w22.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.labelInactive.Hide ();
     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.Reports.StockMovements
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.Reports.StockMovements";
     // Container child Vodovoz.Reports.StockMovements.Gtk.Container+ContainerChild
     this.table1 = new global::Gtk.Table (((uint)(6)), ((uint)(2)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.buttonRun = new global::Gtk.Button ();
     this.buttonRun.Sensitive = false;
     this.buttonRun.CanFocus = true;
     this.buttonRun.Name = "buttonRun";
     this.buttonRun.UseUnderline = true;
     this.buttonRun.Label = global::Mono.Unix.Catalog.GetString ("Сформировать отчет");
     this.table1.Add (this.buttonRun);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.buttonRun]));
     w1.TopAttach = ((uint)(5));
     w1.BottomAttach = ((uint)(6));
     w1.RightAttach = ((uint)(2));
     w1.XOptions = ((global::Gtk.AttachOptions)(0));
     w1.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.dateperiodpicker1 = new global::QSWidgetLib.DatePeriodPicker ();
     this.dateperiodpicker1.Events = ((global::Gdk.EventMask)(256));
     this.dateperiodpicker1.Name = "dateperiodpicker1";
     this.dateperiodpicker1.StartDate = new global::System.DateTime (0);
     this.dateperiodpicker1.EndDate = new global::System.DateTime (0);
     this.table1.Add (this.dateperiodpicker1);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.dateperiodpicker1]));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.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 w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w3.XOptions = ((global::Gtk.AttachOptions)(4));
     w3.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 w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w4.TopAttach = ((uint)(1));
     w4.BottomAttach = ((uint)(2));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryrefWarehouse = new global::Gamma.Widgets.yEntryReference ();
     this.yentryrefWarehouse.Events = ((global::Gdk.EventMask)(256));
     this.yentryrefWarehouse.Name = "yentryrefWarehouse";
     this.table1.Add (this.yentryrefWarehouse);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.yentryrefWarehouse]));
     w5.TopAttach = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     w5.LeftAttach = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     this.Add (this.table1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Hide ();
     this.yentryrefWarehouse.ChangedByUser += new global::System.EventHandler (this.OnYentryrefWarehouseChangedByUser);
     this.dateperiodpicker1.PeriodChanged += new global::System.EventHandler (this.OnDateperiodpicker1PeriodChanged);
     this.buttonRun.Clicked += new global::System.EventHandler (this.OnButtonRunClicked);
 }