Beispiel #1
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget earchive.ViewDoc
     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              = "earchive.ViewDoc";
     this.WindowPosition    = ((global::Gtk.WindowPosition)(1));
     this.DestroyWithParent = true;
     this.Gravity           = ((global::Gdk.Gravity)(5));
     // Internal child earchive.ViewDoc.VBox
     global::Gtk.VBox w2 = this.VBox;
     w2.Name        = "dialog1_VBox";
     w2.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar1\'/></ui>");
     this.toolbar1           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.Name      = "toolbar1";
     this.toolbar1.ShowArrow = false;
     w2.Add(this.toolbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w2[this.toolbar1]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.scrolledImages                  = new global::Gtk.ScrolledWindow();
     this.scrolledImages.CanFocus         = true;
     this.scrolledImages.Name             = "scrolledImages";
     this.scrolledImages.VscrollbarPolicy = ((global::Gtk.PolicyType)(0));
     this.scrolledImages.ShadowType       = ((global::Gtk.ShadowType)(1));
     // Container child scrolledImages.Gtk.Container+ContainerChild
     global::Gtk.Viewport w4 = new global::Gtk.Viewport();
     w4.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.vboxImages         = new global::Gtk.VBox();
     this.vboxImages.Name    = "vboxImages";
     this.vboxImages.Spacing = 6;
     w4.Add(this.vboxImages);
     this.scrolledImages.Add(w4);
     this.hbox3.Add(this.scrolledImages);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.scrolledImages]));
     w7.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.tableProperty               = new global::Gtk.Table(((uint)(7)), ((uint)(2)), false);
     this.tableProperty.Name          = "tableProperty";
     this.tableProperty.RowSpacing    = ((uint)(6));
     this.tableProperty.ColumnSpacing = ((uint)(6));
     // Container child tableProperty.Gtk.Table+TableChild
     this.dateDoc                = new global::QSWidgetLib.DatePicker();
     this.dateDoc.Events         = ((global::Gdk.EventMask)(256));
     this.dateDoc.Name           = "dateDoc";
     this.dateDoc.WithTime       = false;
     this.dateDoc.Date           = new global::System.DateTime(0);
     this.dateDoc.IsEditable     = true;
     this.dateDoc.AutoSeparation = true;
     this.tableProperty.Add(this.dateDoc);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableProperty[this.dateDoc]));
     w8.TopAttach    = ((uint)(4));
     w8.BottomAttach = ((uint)(5));
     w8.LeftAttach   = ((uint)(1));
     w8.RightAttach  = ((uint)(2));
     w8.XOptions     = ((global::Gtk.AttachOptions)(4));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableProperty.Gtk.Table+TableChild
     this.entryNumber               = new global::Gtk.Entry();
     this.entryNumber.CanFocus      = true;
     this.entryNumber.Name          = "entryNumber";
     this.entryNumber.IsEditable    = true;
     this.entryNumber.InvisibleChar = '●';
     this.tableProperty.Add(this.entryNumber);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableProperty[this.entryNumber]));
     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 tableProperty.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.tableProperty.Add(this.label1);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableProperty[this.label1]));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableProperty.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("Номер<span foreground=\"red\">*</span>:");
     this.label3.UseMarkup = true;
     this.tableProperty.Add(this.label3);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableProperty[this.label3]));
     w11.TopAttach    = ((uint)(3));
     w11.BottomAttach = ((uint)(4));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableProperty.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.tableProperty.Add(this.label4);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableProperty[this.label4]));
     w12.TopAttach    = ((uint)(4));
     w12.BottomAttach = ((uint)(5));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableProperty.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.tableProperty.Add(this.label5);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableProperty[this.label5]));
     w13.TopAttach    = ((uint)(1));
     w13.BottomAttach = ((uint)(2));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableProperty.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.tableProperty.Add(this.label6);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableProperty[this.label6]));
     w14.TopAttach    = ((uint)(2));
     w14.BottomAttach = ((uint)(3));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableProperty.Gtk.Table+TableChild
     this.labelCreateDate           = new global::Gtk.Label();
     this.labelCreateDate.Name      = "labelCreateDate";
     this.labelCreateDate.LabelProp = global::Mono.Unix.Catalog.GetString("label7");
     this.tableProperty.Add(this.labelCreateDate);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableProperty[this.labelCreateDate]));
     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 tableProperty.Gtk.Table+TableChild
     this.labelCreateUser           = new global::Gtk.Label();
     this.labelCreateUser.Name      = "labelCreateUser";
     this.labelCreateUser.LabelProp = global::Mono.Unix.Catalog.GetString("label8");
     this.tableProperty.Add(this.labelCreateUser);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableProperty[this.labelCreateUser]));
     w16.TopAttach    = ((uint)(2));
     w16.BottomAttach = ((uint)(3));
     w16.LeftAttach   = ((uint)(1));
     w16.RightAttach  = ((uint)(2));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableProperty.Gtk.Table+TableChild
     this.labelType           = new global::Gtk.Label();
     this.labelType.Name      = "labelType";
     this.labelType.LabelProp = global::Mono.Unix.Catalog.GetString("Не указан");
     this.tableProperty.Add(this.labelType);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableProperty[this.labelType]));
     w17.LeftAttach  = ((uint)(1));
     w17.RightAttach = ((uint)(2));
     w17.XOptions    = ((global::Gtk.AttachOptions)(4));
     w17.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add(this.tableProperty);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.tableProperty]));
     w18.Position = 0;
     // Container child vbox3.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 0F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Комментарии:");
     this.label2.UseMarkup = true;
     this.vbox3.Add(this.label2);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.label2]));
     w19.Position = 1;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child vbox3.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.textviewComments          = new global::Gtk.TextView();
     this.textviewComments.CanFocus = true;
     this.textviewComments.Name     = "textviewComments";
     this.GtkScrolledWindow.Add(this.textviewComments);
     this.vbox3.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow]));
     w21.Position = 2;
     this.hbox3.Add(this.vbox3);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vbox3]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     w2.Add(this.hbox3);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(w2[this.hbox3]));
     w23.Position = 1;
     // Internal child earchive.ViewDoc.ActionArea
     global::Gtk.HButtonBox w24 = this.ActionArea;
     w24.Name        = "dialog1_ActionArea";
     w24.Spacing     = 10;
     w24.BorderWidth = ((uint)(5));
     w24.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonPDF              = new global::Gtk.Button();
     this.buttonPDF.CanFocus     = true;
     this.buttonPDF.Name         = "buttonPDF";
     this.buttonPDF.UseUnderline = true;
     this.buttonPDF.Label        = global::Mono.Unix.Catalog.GetString("Сохранить в PDF");
     global::Gtk.Image w25 = new global::Gtk.Image();
     w25.Pixbuf           = global::Gdk.Pixbuf.LoadFromResource("earchive.icons.page_pdf.ico");
     this.buttonPDF.Image = w25;
     w24.Add(this.buttonPDF);
     global::Gtk.ButtonBox.ButtonBoxChild w26 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w24[this.buttonPDF]));
     w26.Expand = false;
     w26.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 w27 = new global::Gtk.Image();
     w27.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-cancel", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w27;
     this.AddActionWidget(this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w28 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w24[this.buttonCancel]));
     w28.Position = 1;
     w28.Expand   = false;
     w28.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 w29 = new global::Gtk.Image();
     w29.Pixbuf          = global::Stetic.IconLoader.LoadIcon(this, "gtk-ok", global::Gtk.IconSize.Menu);
     this.buttonOk.Image = w29;
     this.AddActionWidget(this.buttonOk, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w30 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w24[this.buttonOk]));
     w30.Position = 2;
     w30.Expand   = false;
     w30.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 708;
     this.DefaultHeight = 435;
     this.Show();
     this.entryNumber.Changed += new global::System.EventHandler(this.OnEntryNumberChanged);
     this.dateDoc.DateChanged += new global::System.EventHandler(this.OnDateDocDateChanged);
     this.buttonPDF.Clicked   += new global::System.EventHandler(this.OnButtonPDFClicked);
     this.buttonOk.Clicked    += new global::System.EventHandler(this.OnButtonOkClicked);
 }
Beispiel #2
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget QSWidgetLib.SelectPeriod
     global::Stetic.BinContainer.Attach(this);
     this.Name = "QSWidgetLib.SelectPeriod";
     // Container child QSWidgetLib.SelectPeriod.Gtk.Container+ContainerChild
     this.vboxMain         = new global::Gtk.VBox();
     this.vboxMain.Name    = "vboxMain";
     this.vboxMain.Spacing = 6;
     // Container child vboxMain.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Выбор периода</b>");
     this.label1.UseMarkup = true;
     this.vboxMain.Add(this.label1);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.label1]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child vboxMain.Gtk.Box+BoxChild
     this.RadiosTable               = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false);
     this.RadiosTable.Name          = "RadiosTable";
     this.RadiosTable.RowSpacing    = ((uint)(6));
     this.RadiosTable.ColumnSpacing = ((uint)(6));
     this.vboxMain.Add(this.RadiosTable);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.RadiosTable]));
     w2.Position = 1;
     w2.Expand   = false;
     // Container child vboxMain.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.StartDate                = new global::QSWidgetLib.DatePicker();
     this.StartDate.Events         = ((global::Gdk.EventMask)(256));
     this.StartDate.Name           = "StartDate";
     this.StartDate.Date           = new global::System.DateTime(0);
     this.StartDate.IsEditable     = true;
     this.StartDate.AutoSeparation = true;
     this.hbox1.Add(this.StartDate);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.StartDate]));
     w3.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("-");
     this.hbox1.Add(this.label2);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label2]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.EndDate                = new global::QSWidgetLib.DatePicker();
     this.EndDate.Events         = ((global::Gdk.EventMask)(256));
     this.EndDate.Name           = "EndDate";
     this.EndDate.Date           = new global::System.DateTime(0);
     this.EndDate.IsEditable     = true;
     this.EndDate.AutoSeparation = true;
     this.hbox1.Add(this.EndDate);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.EndDate]));
     w5.Position = 2;
     this.vboxMain.Add(this.hbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.hbox1]));
     w6.Position = 2;
     w6.Expand   = false;
     w6.Fill     = false;
     this.Add(this.vboxMain);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.StartDate.DateChanged += new global::System.EventHandler(this.OnStartDateDateChanged);
     this.EndDate.DateChanged   += new global::System.EventHandler(this.OnEndDateDateChanged);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget bazar.DailyCashReport
     this.Name = "bazar.DailyCashReport";
     this.Title = global::Mono.Unix.Catalog.GetString ("Кассовый отчет за день");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Modal = true;
     // Internal child bazar.DailyCashReport.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth = ((uint)(9));
     // Container child table1.Gtk.Table+TableChild
     this.comboCash = new global::Gtk.ComboBox ();
     this.comboCash.Name = "comboCash";
     this.table1.Add (this.comboCash);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboCash]));
     w2.TopAttach = ((uint)(1));
     w2.BottomAttach = ((uint)(2));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.XOptions = ((global::Gtk.AttachOptions)(4));
     w2.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.datepickerCash = new global::QSWidgetLib.DatePicker ();
     this.datepickerCash.Events = ((global::Gdk.EventMask)(256));
     this.datepickerCash.Name = "datepickerCash";
     this.datepickerCash.Date = new global::System.DateTime (0);
     this.datepickerCash.IsEditable = true;
     this.datepickerCash.AutoSeparation = true;
     this.table1.Add (this.datepickerCash);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.datepickerCash]));
     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.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.table1.Add (this.label1);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     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 ("По кассе<span foreground=\"red\">*</span>:");
     this.label2.UseMarkup = true;
     this.table1.Add (this.label2);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w5.TopAttach = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     w1.Add (this.table1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1 [this.table1]));
     w6.Position = 0;
     w6.Expand = false;
     w6.Fill = false;
     // Internal child bazar.DailyCashReport.ActionArea
     global::Gtk.HButtonBox w7 = this.ActionArea;
     w7.Name = "dialog1_ActionArea";
     w7.Spacing = 10;
     w7.BorderWidth = ((uint)(5));
     w7.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.UseStock = true;
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = "gtk-cancel";
     this.AddActionWidget (this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7 [this.buttonCancel]));
     w8.Expand = false;
     w8.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.UseStock = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label = "gtk-ok";
     this.AddActionWidget (this.buttonOk, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7 [this.buttonOk]));
     w9.Position = 1;
     w9.Expand = false;
     w9.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 279;
     this.DefaultHeight = 138;
     this.Show ();
     this.datepickerCash.DateChanged += new global::System.EventHandler (this.OnDatepickerCashDateChanged);
     this.comboCash.Changed += new global::System.EventHandler (this.OnComboCashChanged);
     this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget earchive.InputDocs
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("Из файла"), null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Из файла");
     w1.Add (this.openAction, null);
     this.ScanAction = new global::Gtk.Action ("ScanAction", global::Mono.Unix.Catalog.GetString ("Сканировать"), global::Mono.Unix.Catalog.GetString ("Добавить изображения со сканера"), "scanner");
     this.ScanAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Сканировать");
     w1.Add (this.ScanAction, null);
     this.clearAction = new global::Gtk.Action ("clearAction", null, global::Mono.Unix.Catalog.GetString ("Очистить список изображений"), "gtk-clear");
     this.clearAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Очистить");
     w1.Add (this.clearAction, null);
     this.saveAction = new global::Gtk.Action ("saveAction", null, global::Mono.Unix.Catalog.GetString ("Сохранить в базу"), "gtk-save");
     this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Сохранить");
     w1.Add (this.saveAction, null);
     this.zoom100Action = new global::Gtk.Action ("zoom100Action", global::Mono.Unix.Catalog.GetString ("1:1"), null, "gtk-zoom-100");
     this.zoom100Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("1:1");
     w1.Add (this.zoom100Action, null);
     this.zoomFitAction = new global::Gtk.Action ("zoomFitAction", global::Mono.Unix.Catalog.GetString ("Вписать"), null, "gtk-zoom-fit");
     this.zoomFitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Вписать");
     w1.Add (this.zoomFitAction, null);
     this.zoomInAction = new global::Gtk.Action ("zoomInAction", null, null, "gtk-zoom-in");
     this.zoomInAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Увеличить");
     w1.Add (this.zoomInAction, null);
     this.zoomOutAction = new global::Gtk.Action ("zoomOutAction", null, null, "gtk-zoom-out");
     this.zoomOutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Уменьшить");
     w1.Add (this.zoomOutAction, null);
     this.Rotate90Action = new global::Gtk.Action ("Rotate90Action", global::Mono.Unix.Catalog.GetString ("90"), null, "rotate-90");
     this.Rotate90Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("90°");
     w1.Add (this.Rotate90Action, null);
     this.Rotate180Action = new global::Gtk.Action ("Rotate180Action", global::Mono.Unix.Catalog.GetString ("180"), null, "rotate-180");
     this.Rotate180Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("180°");
     w1.Add (this.Rotate180Action, null);
     this.Rotate270Action = new global::Gtk.Action ("Rotate270Action", global::Mono.Unix.Catalog.GetString ("270"), null, "rotate-270");
     this.Rotate270Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("270°");
     w1.Add (this.Rotate270Action, null);
     this.Action1 = new global::Gtk.Action ("Action1", global::Mono.Unix.Catalog.GetString ("Распознать"), null, "recognize");
     this.Action1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Распознать");
     w1.Add (this.Action1, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "earchive.InputDocs";
     this.Title = global::Mono.Unix.Catalog.GetString ("Ввод документов");
     this.Icon = global::Gdk.Pixbuf.LoadFromResource ("earchive.icons.scanner.png");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child earchive.InputDocs.Gtk.Container+ContainerChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='clearAction' action='clearAction'/><toolitem name='openAction' action='openAction'/><toolitem name='ScanAction' action='ScanAction'/><toolitem name='Action1' action='Action1'/><toolitem name='saveAction' action='saveAction'/><separator/><toolitem name='zoom100Action' action='zoom100Action'/><toolitem name='zoomFitAction' action='zoomFitAction'/><toolitem name='zoomInAction' action='zoomInAction'/><toolitem name='zoomOutAction' action='zoomOutAction'/><separator/><toolitem name='Rotate90Action' action='Rotate90Action'/><toolitem name='Rotate180Action' action='Rotate180Action'/><toolitem name='Rotate270Action' action='Rotate270Action'/></toolbar></ui>");
     this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
     this.toolbar1.Name = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2));
     this.toolbar1.IconSize = ((global::Gtk.IconSize)(6));
     this.vbox2.Add (this.toolbar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.hpaned1 = new global::Gtk.HPaned ();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name = "hpaned1";
     this.hpaned1.Position = 206;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeviewImages = new global::Gtk.TreeView ();
     this.treeviewImages.CanFocus = true;
     this.treeviewImages.Name = "treeviewImages";
     this.treeviewImages.HeadersVisible = false;
     this.treeviewImages.Reorderable = true;
     this.GtkScrolledWindow.Add (this.treeviewImages);
     this.hpaned1.Add (this.GtkScrolledWindow);
     global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.GtkScrolledWindow]));
     w4.Resize = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.scrolledImage = new global::Gtk.ScrolledWindow ();
     this.scrolledImage.Name = "scrolledImage";
     this.scrolledImage.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledImage.Gtk.Container+ContainerChild
     global::Gtk.Viewport w5 = new global::Gtk.Viewport ();
     w5.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.imageDoc = new global::Gtk.Image ();
     this.imageDoc.Name = "imageDoc";
     w5.Add (this.imageDoc);
     this.scrolledImage.Add (w5);
     this.hpaned1.Add (this.scrolledImage);
     this.hbox2.Add (this.hpaned1);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hpaned1]));
     w9.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     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.comboScaner = new global::Gamma.Widgets.yListComboBox ();
     this.comboScaner.Name = "comboScaner";
     this.comboScaner.AddIfNotExist = false;
     this.comboScaner.DefaultFirst = false;
     this.table1.Add (this.comboScaner);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboScaner]));
     w10.LeftAttach = ((uint)(1));
     w10.RightAttach = ((uint)(2));
     w10.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 w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add (this.table1);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.table1]));
     w12.Position = 0;
     w12.Expand = false;
     w12.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.tableFieldWidgets = new global::Gtk.Table (((uint)(5)), ((uint)(3)), false);
     this.tableFieldWidgets.Name = "tableFieldWidgets";
     this.tableFieldWidgets.RowSpacing = ((uint)(6));
     this.tableFieldWidgets.ColumnSpacing = ((uint)(6));
     // Container child tableFieldWidgets.Gtk.Table+TableChild
     this.comboType = global::Gtk.ComboBox.NewText ();
     this.comboType.Name = "comboType";
     this.tableFieldWidgets.Add (this.comboType);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.comboType]));
     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 tableFieldWidgets.Gtk.Table+TableChild
     this.dateDoc = new global::QSWidgetLib.DatePicker ();
     this.dateDoc.Events = ((global::Gdk.EventMask)(256));
     this.dateDoc.Name = "dateDoc";
     this.dateDoc.WithTime = false;
     this.dateDoc.Date = new global::System.DateTime (0);
     this.dateDoc.IsEditable = true;
     this.dateDoc.AutoSeparation = true;
     this.tableFieldWidgets.Add (this.dateDoc);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.dateDoc]));
     w14.TopAttach = ((uint)(3));
     w14.BottomAttach = ((uint)(4));
     w14.LeftAttach = ((uint)(1));
     w14.RightAttach = ((uint)(2));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.Gtk.Table+TableChild
     this.entryNumber = new global::Gtk.Entry ();
     this.entryNumber.CanFocus = true;
     this.entryNumber.Name = "entryNumber";
     this.entryNumber.IsEditable = true;
     this.entryNumber.InvisibleChar = '●';
     this.tableFieldWidgets.Add (this.entryNumber);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.entryNumber]));
     w15.TopAttach = ((uint)(2));
     w15.BottomAttach = ((uint)(3));
     w15.LeftAttach = ((uint)(1));
     w15.RightAttach = ((uint)(2));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.Gtk.Table+TableChild
     this.eventboxDateIcon = new global::Gtk.EventBox ();
     this.eventboxDateIcon.Name = "eventboxDateIcon";
     // Container child eventboxDateIcon.Gtk.Container+ContainerChild
     this.IconDate = new global::Gtk.Image ();
     this.IconDate.Name = "IconDate";
     this.IconDate.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-info", global::Gtk.IconSize.Button);
     this.eventboxDateIcon.Add (this.IconDate);
     this.tableFieldWidgets.Add (this.eventboxDateIcon);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.eventboxDateIcon]));
     w17.TopAttach = ((uint)(3));
     w17.BottomAttach = ((uint)(4));
     w17.LeftAttach = ((uint)(2));
     w17.RightAttach = ((uint)(3));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.Gtk.Table+TableChild
     this.eventboxNumberIcon = new global::Gtk.EventBox ();
     this.eventboxNumberIcon.Name = "eventboxNumberIcon";
     // Container child eventboxNumberIcon.Gtk.Container+ContainerChild
     this.IconNumber = new global::Gtk.Image ();
     this.IconNumber.Name = "IconNumber";
     this.IconNumber.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-info", global::Gtk.IconSize.Button);
     this.eventboxNumberIcon.Add (this.IconNumber);
     this.tableFieldWidgets.Add (this.eventboxNumberIcon);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.eventboxNumberIcon]));
     w19.TopAttach = ((uint)(2));
     w19.BottomAttach = ((uint)(3));
     w19.LeftAttach = ((uint)(2));
     w19.RightAttach = ((uint)(3));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Поля текущего документа</b>");
     this.label1.UseMarkup = true;
     this.label1.Justify = ((global::Gtk.Justification)(2));
     this.tableFieldWidgets.Add (this.label1);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.label1]));
     w20.RightAttach = ((uint)(3));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.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 ("Дата<span foreground=\"red\">*</span>:");
     this.label10.UseMarkup = true;
     this.tableFieldWidgets.Add (this.label10);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.label10]));
     w21.TopAttach = ((uint)(3));
     w21.BottomAttach = ((uint)(4));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.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.tableFieldWidgets.Add (this.label11);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.label11]));
     w22.TopAttach = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.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.tableFieldWidgets.Add (this.label9);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.label9]));
     w23.TopAttach = ((uint)(2));
     w23.BottomAttach = ((uint)(3));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add (this.tableFieldWidgets);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.tableFieldWidgets]));
     w24.Position = 1;
     // Container child vbox3.Gtk.Box+BoxChild
     this.checkDiagnostic = new global::Gtk.CheckButton ();
     this.checkDiagnostic.CanFocus = true;
     this.checkDiagnostic.Name = "checkDiagnostic";
     this.checkDiagnostic.Label = global::Mono.Unix.Catalog.GetString ("Диагностика распознования");
     this.checkDiagnostic.DrawIndicator = true;
     this.checkDiagnostic.UseUnderline = true;
     this.vbox3.Add (this.checkDiagnostic);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.checkDiagnostic]));
     w25.Position = 2;
     w25.Expand = false;
     w25.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.buttonLog = new global::Gtk.Button ();
     this.buttonLog.CanFocus = true;
     this.buttonLog.Name = "buttonLog";
     this.buttonLog.UseUnderline = true;
     this.buttonLog.Label = global::Mono.Unix.Catalog.GetString ("Показать журнал распознования.");
     global::Gtk.Image w26 = new global::Gtk.Image ();
     w26.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-execute", global::Gtk.IconSize.Button);
     this.buttonLog.Image = w26;
     this.vbox3.Add (this.buttonLog);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.buttonLog]));
     w27.Position = 3;
     w27.Expand = false;
     w27.Fill = false;
     this.hbox2.Add (this.vbox3);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox3]));
     w28.Position = 1;
     w28.Expand = false;
     w28.Fill = false;
     this.vbox2.Add (this.hbox2);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2]));
     w29.Position = 1;
     // Container child vbox2.Gtk.Box+BoxChild
     this.progresswork = new global::Gtk.ProgressBar ();
     this.progresswork.Name = "progresswork";
     this.vbox2.Add (this.progresswork);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.progresswork]));
     w30.Position = 2;
     w30.Expand = false;
     w30.Fill = false;
     this.Add (this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 1053;
     this.DefaultHeight = 478;
     this.Show ();
     this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated);
     this.ScanAction.Activated += new global::System.EventHandler (this.OnScanActionActivated);
     this.clearAction.Activated += new global::System.EventHandler (this.OnClearActionActivated);
     this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated);
     this.zoom100Action.Activated += new global::System.EventHandler (this.OnZoom100ActionActivated);
     this.zoomFitAction.Activated += new global::System.EventHandler (this.OnZoomFitActionActivated);
     this.zoomInAction.Activated += new global::System.EventHandler (this.OnZoomInActionActivated);
     this.zoomOutAction.Activated += new global::System.EventHandler (this.OnZoomOutActionActivated);
     this.Rotate90Action.Activated += new global::System.EventHandler (this.OnRotate90ActionActivated);
     this.Rotate180Action.Activated += new global::System.EventHandler (this.OnRotate180ActionActivated);
     this.Rotate270Action.Activated += new global::System.EventHandler (this.OnRotate270ActionActivated);
     this.Action1.Activated += new global::System.EventHandler (this.OnAction1Activated);
     this.treeviewImages.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.OnTreeviewImagesButtonReleaseEvent);
     this.imageDoc.DragMotion += new global::Gtk.DragMotionHandler (this.OnImageDocDragMotion);
     this.comboScaner.Changed += new global::System.EventHandler (this.OnComboScanerChanged);
     this.eventboxNumberIcon.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnEventboxNumberIconButtonPressEvent);
     this.eventboxDateIcon.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnEventboxDateIconButtonPressEvent);
     this.entryNumber.Changed += new global::System.EventHandler (this.OnEntryNumberChanged);
     this.dateDoc.DateChanged += new global::System.EventHandler (this.OnDateDocDateChanged);
     this.comboType.Changed += new global::System.EventHandler (this.OnComboTypeChanged);
     this.buttonLog.Clicked += new global::System.EventHandler (this.OnButtonLogClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget bazar.CashBalance
     this.Name = "bazar.CashBalance";
     this.Title = global::Mono.Unix.Catalog.GetString ("Расходы и доходы");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child bazar.CashBalance.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.table2 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
     this.table2.Name = "table2";
     this.table2.RowSpacing = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     this.table2.BorderWidth = ((uint)(9));
     // Container child table2.Gtk.Table+TableChild
     this.comboCash = new global::Gtk.ComboBox ();
     this.comboCash.Name = "comboCash";
     this.table2.Add (this.comboCash);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboCash]));
     w2.TopAttach = ((uint)(1));
     w2.BottomAttach = ((uint)(2));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.XOptions = ((global::Gtk.AttachOptions)(4));
     w2.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.comboOrg = new global::Gtk.ComboBox ();
     this.comboOrg.Name = "comboOrg";
     this.table2.Add (this.comboOrg);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboOrg]));
     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.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.Xalign = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Организация:");
     this.table2.Add (this.label4);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.label4]));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.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 ("Касса:");
     this.table2.Add (this.label5);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.label5]));
     w5.TopAttach = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     this.hbox2.Add (this.table2);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.table2]));
     w6.Position = 0;
     w6.Expand = false;
     w6.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox11 = new global::Gtk.VBox ();
     this.vbox11.Name = "vbox11";
     this.vbox11.Spacing = 6;
     this.vbox11.BorderWidth = ((uint)(6));
     // Container child vbox11.Gtk.Box+BoxChild
     this.label31 = new global::Gtk.Label ();
     this.label31.Name = "label31";
     this.label31.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Выбор периода</b>");
     this.label31.UseMarkup = true;
     this.vbox11.Add (this.label31);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.label31]));
     w7.Position = 0;
     w7.Expand = false;
     w7.Fill = false;
     // Container child vbox11.Gtk.Box+BoxChild
     this.table3 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
     this.table3.Name = "table3";
     this.table3.RowSpacing = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(6));
     // Container child table3.Gtk.Table+TableChild
     this.radio3month = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("3 месяца"));
     this.radio3month.CanFocus = true;
     this.radio3month.Name = "radio3month";
     this.radio3month.DrawIndicator = true;
     this.radio3month.UseUnderline = true;
     this.radio3month.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.table3.Add (this.radio3month);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table3 [this.radio3month]));
     w8.TopAttach = ((uint)(1));
     w8.BottomAttach = ((uint)(2));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.radioAll = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Весь период"));
     this.radioAll.CanFocus = true;
     this.radioAll.Name = "radioAll";
     this.radioAll.DrawIndicator = true;
     this.radioAll.UseUnderline = true;
     this.radioAll.Group = this.radio3month.Group;
     this.table3.Add (this.radioAll);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table3 [this.radioAll]));
     w9.TopAttach = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.LeftAttach = ((uint)(1));
     w9.RightAttach = ((uint)(2));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.radioMonth = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Месяц"));
     this.radioMonth.CanFocus = true;
     this.radioMonth.Name = "radioMonth";
     this.radioMonth.DrawIndicator = true;
     this.radioMonth.UseUnderline = true;
     this.radioMonth.Group = this.radio3month.Group;
     this.table3.Add (this.radioMonth);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table3 [this.radioMonth]));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.radioYear = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Год"));
     this.radioYear.CanFocus = true;
     this.radioYear.Name = "radioYear";
     this.radioYear.DrawIndicator = true;
     this.radioYear.UseUnderline = true;
     this.radioYear.Group = this.radio3month.Group;
     this.table3.Add (this.radioYear);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table3 [this.radioYear]));
     w11.LeftAttach = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox11.Add (this.table3);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.table3]));
     w12.Position = 1;
     w12.Expand = false;
     w12.Fill = false;
     // Container child vbox11.Gtk.Box+BoxChild
     this.hbox15 = new global::Gtk.HBox ();
     this.hbox15.Name = "hbox15";
     this.hbox15.Spacing = 6;
     // Container child hbox15.Gtk.Box+BoxChild
     this.dateCashStart = new global::QSWidgetLib.DatePicker ();
     this.dateCashStart.Events = ((global::Gdk.EventMask)(256));
     this.dateCashStart.Name = "dateCashStart";
     this.dateCashStart.Date = new global::System.DateTime (0);
     this.dateCashStart.IsEditable = true;
     this.dateCashStart.AutoSeparation = true;
     this.hbox15.Add (this.dateCashStart);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.dateCashStart]));
     w13.Position = 0;
     // Container child hbox15.Gtk.Box+BoxChild
     this.label32 = new global::Gtk.Label ();
     this.label32.Name = "label32";
     this.label32.LabelProp = global::Mono.Unix.Catalog.GetString ("-");
     this.hbox15.Add (this.label32);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.label32]));
     w14.Position = 1;
     w14.Expand = false;
     w14.Fill = false;
     // Container child hbox15.Gtk.Box+BoxChild
     this.dateCashEnd = new global::QSWidgetLib.DatePicker ();
     this.dateCashEnd.Events = ((global::Gdk.EventMask)(256));
     this.dateCashEnd.Name = "dateCashEnd";
     this.dateCashEnd.Date = new global::System.DateTime (0);
     this.dateCashEnd.IsEditable = true;
     this.dateCashEnd.AutoSeparation = true;
     this.hbox15.Add (this.dateCashEnd);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.dateCashEnd]));
     w15.Position = 2;
     this.vbox11.Add (this.hbox15);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.hbox15]));
     w16.Position = 2;
     w16.Expand = false;
     w16.Fill = false;
     this.hbox2.Add (this.vbox11);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox11]));
     w17.Position = 1;
     w17.Expand = false;
     w17.Fill = false;
     w1.Add (this.hbox2);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox2]));
     w18.Position = 0;
     w18.Expand = false;
     w18.Fill = false;
     // Container child dialog1_VBox.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.treeviewBalance = new global::Gtk.TreeView ();
     this.treeviewBalance.CanFocus = true;
     this.treeviewBalance.Name = "treeviewBalance";
     this.GtkScrolledWindow.Add (this.treeviewBalance);
     w1.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(w1 [this.GtkScrolledWindow]));
     w20.Position = 1;
     // Internal child bazar.CashBalance.ActionArea
     global::Gtk.HButtonBox w21 = this.ActionArea;
     w21.Name = "dialog1_ActionArea";
     w21.Spacing = 10;
     w21.BorderWidth = ((uint)(5));
     w21.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonClose = new global::Gtk.Button ();
     this.buttonClose.CanFocus = true;
     this.buttonClose.Name = "buttonClose";
     this.buttonClose.UseUnderline = true;
     this.buttonClose.Label = global::Mono.Unix.Catalog.GetString ("_Закрыть");
     global::Gtk.Image w22 = new global::Gtk.Image ();
     w22.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-close", global::Gtk.IconSize.Menu);
     this.buttonClose.Image = w22;
     this.AddActionWidget (this.buttonClose, -7);
     global::Gtk.ButtonBox.ButtonBoxChild w23 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w21 [this.buttonClose]));
     w23.Expand = false;
     w23.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 511;
     this.DefaultHeight = 473;
     this.Show ();
     this.comboOrg.Changed += new global::System.EventHandler (this.OnComboOrgChanged);
     this.comboCash.Changed += new global::System.EventHandler (this.OnComboCashChanged);
     this.radioYear.Clicked += new global::System.EventHandler (this.OnRadioYearClicked);
     this.radioMonth.Clicked += new global::System.EventHandler (this.OnRadioMonthClicked);
     this.radioAll.Clicked += new global::System.EventHandler (this.OnRadioAllClicked);
     this.radio3month.Clicked += new global::System.EventHandler (this.OnRadio3monthClicked);
     this.dateCashStart.DateChanged += new global::System.EventHandler (this.OnDateCashStartDateChanged);
     this.dateCashEnd.DateChanged += new global::System.EventHandler (this.OnDateCashEndDateChanged);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget bazar.LesseeDebtsReport
     this.Name = "bazar.LesseeDebtsReport";
     this.Title = global::Mono.Unix.Catalog.GetString ("Отчет по долгам арендаторов");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Modal = true;
     // Internal child bazar.LesseeDebtsReport.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     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.comboCash = global::Gtk.ComboBox.NewText ();
     this.comboCash.Name = "comboCash";
     this.table1.Add (this.comboCash);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboCash]));
     w2.TopAttach = ((uint)(2));
     w2.BottomAttach = ((uint)(3));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.comboOrg = new global::Gtk.ComboBox ();
     this.comboOrg.Name = "comboOrg";
     this.table1.Add (this.comboOrg);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboOrg]));
     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 table1.Gtk.Table+TableChild
     this.dateReport = new global::QSWidgetLib.DatePicker ();
     this.dateReport.Events = ((global::Gdk.EventMask)(256));
     this.dateReport.Name = "dateReport";
     this.dateReport.Date = new global::System.DateTime (0);
     this.dateReport.IsEditable = true;
     this.dateReport.AutoSeparation = true;
     this.table1.Add (this.dateReport);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.dateReport]));
     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.label = new global::Gtk.Label ();
     this.label.Name = "label";
     this.label.Xalign = 1F;
     this.label.LabelProp = global::Mono.Unix.Catalog.GetString ("по организации:");
     this.table1.Add (this.label);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label]));
     w5.TopAttach = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.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 w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.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 w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w7.TopAttach = ((uint)(2));
     w7.BottomAttach = ((uint)(3));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     w1.Add (this.table1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(w1 [this.table1]));
     w8.Position = 0;
     w8.Expand = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("* Если в договоре не указан день оплаты,\n  долг попадет в отчет с первого числа.\n* Детализированный отчет покажет суммы\n  только по выбранным услугам.");
     this.label1.Wrap = true;
     w1.Add (this.label1);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(w1 [this.label1]));
     w9.Position = 1;
     w9.Expand = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     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;
     w1.Add (this.checkDetail);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(w1 [this.checkDetail]));
     w10.Position = 2;
     w10.Expand = false;
     w10.Fill = false;
     // Container child dialog1_VBox.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.treeviewServices = new global::Gtk.TreeView ();
     this.treeviewServices.Sensitive = false;
     this.treeviewServices.CanFocus = true;
     this.treeviewServices.Name = "treeviewServices";
     this.GtkScrolledWindow.Add (this.treeviewServices);
     w1.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(w1 [this.GtkScrolledWindow]));
     w12.Position = 3;
     // Internal child bazar.LesseeDebtsReport.ActionArea
     global::Gtk.HButtonBox w13 = this.ActionArea;
     w13.Name = "dialog1_ActionArea";
     w13.Spacing = 10;
     w13.BorderWidth = ((uint)(5));
     w13.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.UseStock = true;
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = "gtk-cancel";
     this.AddActionWidget (this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13 [this.buttonCancel]));
     w14.Expand = false;
     w14.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.UseStock = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label = "gtk-ok";
     this.AddActionWidget (this.buttonOk, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13 [this.buttonOk]));
     w15.Position = 1;
     w15.Expand = false;
     w15.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 337;
     this.DefaultHeight = 382;
     this.Show ();
     this.comboCash.Changed += new global::System.EventHandler (this.OnComboCashChanged);
     this.checkDetail.Clicked += new global::System.EventHandler (this.OnCheckDetailClicked);
     this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget bazar.MeterReading
     this.Name = "bazar.MeterReading";
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child bazar.MeterReading.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     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.comboTariff = new global::Gtk.ComboBox ();
     this.comboTariff.Name = "comboTariff";
     this.table1.Add (this.comboTariff);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboTariff]));
     w2.TopAttach = ((uint)(1));
     w2.BottomAttach = ((uint)(2));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.XOptions = ((global::Gtk.AttachOptions)(4));
     w2.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.dateReading = new global::QSWidgetLib.DatePicker ();
     this.dateReading.Events = ((global::Gdk.EventMask)(256));
     this.dateReading.Name = "dateReading";
     this.dateReading.Date = new global::System.DateTime (0);
     this.dateReading.IsEditable = true;
     this.dateReading.AutoSeparation = true;
     this.table1.Add (this.dateReading);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.dateReading]));
     w3.LeftAttach = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.YOptions = ((global::Gtk.AttachOptions)(4));
     // 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.spinValue = new global::Gtk.SpinButton (0, 10000000, 1);
     this.spinValue.CanFocus = true;
     this.spinValue.Name = "spinValue";
     this.spinValue.Adjustment.PageIncrement = 10;
     this.spinValue.ClimbRate = 1;
     this.spinValue.Numeric = true;
     this.hbox2.Add (this.spinValue);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.spinValue]));
     w4.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.labelUnits = new global::Gtk.Label ();
     this.labelUnits.Name = "labelUnits";
     this.labelUnits.LabelProp = global::Mono.Unix.Catalog.GetString ("label4");
     this.hbox2.Add (this.labelUnits);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.labelUnits]));
     w5.Position = 1;
     w5.Expand = false;
     w5.Fill = false;
     this.table1.Add (this.hbox2);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox2]));
     w6.TopAttach = ((uint)(2));
     w6.BottomAttach = ((uint)(3));
     w6.LeftAttach = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child 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 ("Дата<span foreground=\"red\">*</span>:");
     this.label1.UseMarkup = true;
     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 ("Тариф счётчика<span foreground=\"red\">*</span>:");
     this.label2.UseMarkup = true;
     this.table1.Add (this.label2);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w8.TopAttach = ((uint)(1));
     w8.BottomAttach = ((uint)(2));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.Xalign = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Показания счётчика<span foreground=\"red\">*</span>:");
     this.label3.UseMarkup = true;
     this.table1.Add (this.label3);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w9.TopAttach = ((uint)(2));
     w9.BottomAttach = ((uint)(3));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     w1.Add (this.table1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(w1 [this.table1]));
     w10.Position = 0;
     w10.Expand = false;
     w10.Fill = false;
     // Internal child bazar.MeterReading.ActionArea
     global::Gtk.HButtonBox w11 = this.ActionArea;
     w11.Name = "dialog1_ActionArea";
     w11.Spacing = 10;
     w11.BorderWidth = ((uint)(5));
     w11.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 w12 = new global::Gtk.Image ();
     w12.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w12;
     this.AddActionWidget (this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w11 [this.buttonCancel]));
     w13.Expand = false;
     w13.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 w14 = new global::Gtk.Image ();
     w14.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu);
     this.buttonOk.Image = w14;
     w11.Add (this.buttonOk);
     global::Gtk.ButtonBox.ButtonBoxChild w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w11 [this.buttonOk]));
     w15.Position = 1;
     w15.Expand = false;
     w15.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 298;
     this.DefaultHeight = 160;
     this.Show ();
     this.comboTariff.Changed += new global::System.EventHandler (this.OnComboTariffChanged);
     this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget CarGlass.PrintDay
     this.Name           = "CarGlass.PrintDay";
     this.Title          = global::Mono.Unix.Catalog.GetString("Печать календаря на день");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child CarGlass.PrintDay.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Календарь");
     w1.Add(this.label2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1[this.label2]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox2             = new global::Gtk.HBox();
     this.hbox2.Name        = "hbox2";
     this.hbox2.Spacing     = 6;
     this.hbox2.BorderWidth = ((uint)(6));
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     this.hbox2.Add(this.vbox2);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox2]));
     w3.Position = 0;
     w1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1[this.hbox2]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     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.dateCalendar                = new global::QSWidgetLib.DatePicker();
     this.dateCalendar.Events         = ((global::Gdk.EventMask)(256));
     this.dateCalendar.Name           = "dateCalendar";
     this.dateCalendar.WithTime       = false;
     this.dateCalendar.Date           = new global::System.DateTime(0);
     this.dateCalendar.IsEditable     = true;
     this.dateCalendar.AutoSeparation = true;
     this.table1.Add(this.dateCalendar);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.dateCalendar]));
     w5.TopAttach    = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     w5.LeftAttach   = ((uint)(2));
     w5.RightAttach  = ((uint)(3));
     w5.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 w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     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));
     w1.Add(this.table1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w1[this.table1]));
     w7.Position = 2;
     // Internal child CarGlass.PrintDay.ActionArea
     global::Gtk.HButtonBox w8 = this.ActionArea;
     w8.Name        = "dialog1_ActionArea";
     w8.Spacing     = 10;
     w8.BorderWidth = ((uint)(5));
     w8.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.UseStock     = true;
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label        = "gtk-cancel";
     this.AddActionWidget(this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8[this.buttonCancel]));
     w9.Expand = false;
     w9.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.UseStock     = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label        = "gtk-ok";
     this.AddActionWidget(this.buttonOk, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8[this.buttonOk]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 311;
     this.DefaultHeight = 273;
     this.Show();
     this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget CupboardDesigner.Order
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.revertToSavedAction = new global::Gtk.Action ("revertToSavedAction", global::Mono.Unix.Catalog.GetString ("Отменить"), global::Mono.Unix.Catalog.GetString ("Отменить изменения"), "gtk-revert-to-saved");
     this.revertToSavedAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Отменить");
     w1.Add (this.revertToSavedAction, null);
     this.goBackAction = new global::Gtk.Action ("goBackAction", global::Mono.Unix.Catalog.GetString ("Назад"), global::Mono.Unix.Catalog.GetString ("К предыдущему шагу."), "gtk-go-back");
     this.goBackAction.Sensitive = false;
     this.goBackAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Назад");
     w1.Add (this.goBackAction, null);
     this.goForwardAction = new global::Gtk.Action ("goForwardAction", global::Mono.Unix.Catalog.GetString ("Далее"), global::Mono.Unix.Catalog.GetString ("Следующий шаг"), "gtk-go-forward");
     this.goForwardAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Далее");
     w1.Add (this.goForwardAction, null);
     this.saveAction = new global::Gtk.Action ("saveAction", global::Mono.Unix.Catalog.GetString ("Сохранить"), global::Mono.Unix.Catalog.GetString ("Сохранить изменения"), "gtk-save");
     this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Сохранить");
     w1.Add (this.saveAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "CupboardDesigner.Order";
     this.Title = global::Mono.Unix.Catalog.GetString ("Новый заказ");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child CupboardDesigner.Order.Gtk.Container+ContainerChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='goBackAction' action='goBackAction'/><toolitem name='goForwardAction' action='goForwardAction'/><toolitem name='revertToSavedAction' action='revertToSavedAction'/><toolitem name='saveAction' action='saveAction'/></toolbar></ui>");
     this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
     this.toolbar1.Name = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2));
     this.toolbar1.IconSize = ((global::Gtk.IconSize)(3));
     this.vbox2.Add (this.toolbar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.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.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.table3 = new global::Gtk.Table (((uint)(10)), ((uint)(2)), false);
     this.table3.Name = "table3";
     this.table3.RowSpacing = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(6));
     this.table3.BorderWidth = ((uint)(36));
     // Container child table3.Gtk.Table+TableChild
     this.checkEstimation = new global::Gtk.CheckButton ();
     this.checkEstimation.CanFocus = true;
     this.checkEstimation.Name = "checkEstimation";
     this.checkEstimation.Label = global::Mono.Unix.Catalog.GetString ("Предварительный расчет");
     this.checkEstimation.Active = true;
     this.checkEstimation.DrawIndicator = true;
     this.checkEstimation.UseUnderline = true;
     this.table3.Add (this.checkEstimation);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table3 [this.checkEstimation]));
     w3.LeftAttach = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.XOptions = ((global::Gtk.AttachOptions)(4));
     w3.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.comboExhibition = new global::Gtk.ComboBox ();
     this.comboExhibition.Name = "comboExhibition";
     this.table3.Add (this.comboExhibition);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table3 [this.comboExhibition]));
     w4.TopAttach = ((uint)(9));
     w4.BottomAttach = ((uint)(10));
     w4.LeftAttach = ((uint)(1));
     w4.RightAttach = ((uint)(2));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.dateArrval = new global::QSWidgetLib.DatePicker ();
     this.dateArrval.Events = ((global::Gdk.EventMask)(256));
     this.dateArrval.Name = "dateArrval";
     this.dateArrval.Date = new global::System.DateTime (0);
     this.dateArrval.IsEditable = true;
     this.dateArrval.AutoSeparation = true;
     this.table3.Add (this.dateArrval);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table3 [this.dateArrval]));
     w5.TopAttach = ((uint)(6));
     w5.BottomAttach = ((uint)(7));
     w5.LeftAttach = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.entryContract = new global::Gtk.Entry ();
     this.entryContract.Sensitive = false;
     this.entryContract.CanFocus = true;
     this.entryContract.Name = "entryContract";
     this.entryContract.IsEditable = true;
     this.entryContract.InvisibleChar = '●';
     this.table3.Add (this.entryContract);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table3 [this.entryContract]));
     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 table3.Gtk.Table+TableChild
     this.entryCustomer = new global::Gtk.Entry ();
     this.entryCustomer.CanFocus = true;
     this.entryCustomer.Name = "entryCustomer";
     this.entryCustomer.IsEditable = true;
     this.entryCustomer.InvisibleChar = '●';
     this.table3.Add (this.entryCustomer);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table3 [this.entryCustomer]));
     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 table3.Gtk.Table+TableChild
     this.entryPhone1 = new global::Gtk.Entry ();
     this.entryPhone1.CanFocus = true;
     this.entryPhone1.Name = "entryPhone1";
     this.entryPhone1.IsEditable = true;
     this.entryPhone1.InvisibleChar = '●';
     this.table3.Add (this.entryPhone1);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table3 [this.entryPhone1]));
     w8.TopAttach = ((uint)(4));
     w8.BottomAttach = ((uint)(5));
     w8.LeftAttach = ((uint)(1));
     w8.RightAttach = ((uint)(2));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.entryPhone2 = new global::Gtk.Entry ();
     this.entryPhone2.CanFocus = true;
     this.entryPhone2.Name = "entryPhone2";
     this.entryPhone2.IsEditable = true;
     this.entryPhone2.InvisibleChar = '●';
     this.table3.Add (this.entryPhone2);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table3 [this.entryPhone2]));
     w9.TopAttach = ((uint)(5));
     w9.BottomAttach = ((uint)(6));
     w9.LeftAttach = ((uint)(1));
     w9.RightAttach = ((uint)(2));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.textviewComments = new global::Gtk.TextView ();
     this.textviewComments.CanFocus = true;
     this.textviewComments.Name = "textviewComments";
     this.GtkScrolledWindow.Add (this.textviewComments);
     this.table3.Add (this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table3 [this.GtkScrolledWindow]));
     w11.TopAttach = ((uint)(8));
     w11.BottomAttach = ((uint)(9));
     w11.LeftAttach = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.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.textAddress = new global::Gtk.TextView ();
     this.textAddress.CanFocus = true;
     this.textAddress.Name = "textAddress";
     this.GtkScrolledWindow2.Add (this.textAddress);
     this.table3.Add (this.GtkScrolledWindow2);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table3 [this.GtkScrolledWindow2]));
     w13.TopAttach = ((uint)(3));
     w13.BottomAttach = ((uint)(4));
     w13.LeftAttach = ((uint)(1));
     w13.RightAttach = ((uint)(2));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.dateDeadlineS = new global::QSWidgetLib.DatePicker ();
     this.dateDeadlineS.Events = ((global::Gdk.EventMask)(256));
     this.dateDeadlineS.Name = "dateDeadlineS";
     this.dateDeadlineS.Date = new global::System.DateTime (0);
     this.dateDeadlineS.IsEditable = true;
     this.dateDeadlineS.AutoSeparation = true;
     this.hbox4.Add (this.dateDeadlineS);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.dateDeadlineS]));
     w14.Position = 0;
     // Container child hbox4.Gtk.Box+BoxChild
     this.label17 = new global::Gtk.Label ();
     this.label17.Name = "label17";
     this.label17.LabelProp = global::Mono.Unix.Catalog.GetString ("-");
     this.hbox4.Add (this.label17);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label17]));
     w15.Position = 1;
     w15.Expand = false;
     w15.Fill = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.dateDeadlineE = new global::QSWidgetLib.DatePicker ();
     this.dateDeadlineE.Events = ((global::Gdk.EventMask)(256));
     this.dateDeadlineE.Name = "dateDeadlineE";
     this.dateDeadlineE.Date = new global::System.DateTime (0);
     this.dateDeadlineE.IsEditable = true;
     this.dateDeadlineE.AutoSeparation = true;
     this.hbox4.Add (this.dateDeadlineE);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.dateDeadlineE]));
     w16.Position = 2;
     this.table3.Add (this.hbox4);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table3 [this.hbox4]));
     w17.TopAttach = ((uint)(7));
     w17.BottomAttach = ((uint)(8));
     w17.LeftAttach = ((uint)(1));
     w17.RightAttach = ((uint)(2));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.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 w18 = ((global::Gtk.Table.TableChild)(this.table3 [this.label1]));
     w18.TopAttach = ((uint)(1));
     w18.BottomAttach = ((uint)(2));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.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.table3.Add (this.label10);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table3 [this.label10]));
     w19.TopAttach = ((uint)(2));
     w19.BottomAttach = ((uint)(3));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.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 ("Дата прихода Заказа:");
     this.table3.Add (this.label11);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table3 [this.label11]));
     w20.TopAttach = ((uint)(6));
     w20.BottomAttach = ((uint)(7));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.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 ("Дата сдачи Заказа:");
     this.table3.Add (this.label12);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table3 [this.label12]));
     w21.TopAttach = ((uint)(7));
     w21.BottomAttach = ((uint)(8));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.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.Yalign = 0F;
     this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Примечания:");
     this.table3.Add (this.label13);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table3 [this.label13]));
     w22.TopAttach = ((uint)(8));
     w22.BottomAttach = ((uint)(9));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.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.table3.Add (this.label14);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table3 [this.label14]));
     w23.TopAttach = ((uint)(5));
     w23.BottomAttach = ((uint)(6));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.Xalign = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Выставка:");
     this.table3.Add (this.label4);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table3 [this.label4]));
     w24.TopAttach = ((uint)(9));
     w24.BottomAttach = ((uint)(10));
     w24.XOptions = ((global::Gtk.AttachOptions)(4));
     w24.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.Yalign = 0F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Адрес доставки:");
     this.table3.Add (this.label6);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table3 [this.label6]));
     w25.TopAttach = ((uint)(3));
     w25.BottomAttach = ((uint)(4));
     w25.XOptions = ((global::Gtk.AttachOptions)(4));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.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.table3.Add (this.label9);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table3 [this.label9]));
     w26.TopAttach = ((uint)(4));
     w26.BottomAttach = ((uint)(5));
     w26.XOptions = ((global::Gtk.AttachOptions)(4));
     w26.YOptions = ((global::Gtk.AttachOptions)(4));
     this.hbox1.Add (this.table3);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table3]));
     w27.Position = 0;
     this.notebook1.Add (this.hbox1);
     // Notebook tab
     this.label7 = new global::Gtk.Label ();
     this.label7.Name = "label7";
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Информация");
     this.notebook1.SetTabLabel (this.hbox1, this.label7);
     this.label7.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.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(3)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.checkCuttingBase = new global::Gtk.CheckButton ();
     this.checkCuttingBase.CanFocus = true;
     this.checkCuttingBase.Name = "checkCuttingBase";
     this.checkCuttingBase.Label = global::Mono.Unix.Catalog.GetString ("Усечённое основание");
     this.checkCuttingBase.DrawIndicator = true;
     this.checkCuttingBase.UseUnderline = true;
     this.table1.Add (this.checkCuttingBase);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkCuttingBase]));
     w29.TopAttach = ((uint)(1));
     w29.BottomAttach = ((uint)(2));
     w29.LeftAttach = ((uint)(2));
     w29.RightAttach = ((uint)(3));
     w29.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.comboCubeH = global::Gtk.ComboBox.NewText ();
     this.comboCubeH.AppendText (global::Mono.Unix.Catalog.GetString ("1"));
     this.comboCubeH.AppendText (global::Mono.Unix.Catalog.GetString ("2"));
     this.comboCubeH.AppendText (global::Mono.Unix.Catalog.GetString ("3"));
     this.comboCubeH.AppendText (global::Mono.Unix.Catalog.GetString ("4"));
     this.comboCubeH.AppendText (global::Mono.Unix.Catalog.GetString ("5"));
     this.comboCubeH.AppendText (global::Mono.Unix.Catalog.GetString ("6"));
     this.comboCubeH.AppendText (global::Mono.Unix.Catalog.GetString ("7"));
     this.comboCubeH.AppendText (global::Mono.Unix.Catalog.GetString ("8"));
     this.comboCubeH.AppendText (global::Mono.Unix.Catalog.GetString ("9"));
     this.comboCubeH.AppendText (global::Mono.Unix.Catalog.GetString ("10"));
     this.comboCubeH.AppendText (global::Mono.Unix.Catalog.GetString ("11"));
     this.comboCubeH.AppendText (global::Mono.Unix.Catalog.GetString ("12"));
     this.comboCubeH.AppendText (global::Mono.Unix.Catalog.GetString ("13"));
     this.comboCubeH.AppendText (global::Mono.Unix.Catalog.GetString ("14"));
     this.comboCubeH.AppendText (global::Mono.Unix.Catalog.GetString ("15"));
     this.comboCubeH.Name = "comboCubeH";
     this.comboCubeH.Active = 0;
     this.table1.Add (this.comboCubeH);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboCubeH]));
     w30.LeftAttach = ((uint)(1));
     w30.RightAttach = ((uint)(2));
     w30.XOptions = ((global::Gtk.AttachOptions)(4));
     w30.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.comboCubeV = global::Gtk.ComboBox.NewText ();
     this.comboCubeV.AppendText (global::Mono.Unix.Catalog.GetString ("1"));
     this.comboCubeV.AppendText (global::Mono.Unix.Catalog.GetString ("2"));
     this.comboCubeV.AppendText (global::Mono.Unix.Catalog.GetString ("3"));
     this.comboCubeV.AppendText (global::Mono.Unix.Catalog.GetString ("4"));
     this.comboCubeV.AppendText (global::Mono.Unix.Catalog.GetString ("5"));
     this.comboCubeV.AppendText (global::Mono.Unix.Catalog.GetString ("6"));
     this.comboCubeV.AppendText (global::Mono.Unix.Catalog.GetString ("7"));
     this.comboCubeV.AppendText (global::Mono.Unix.Catalog.GetString ("8"));
     this.comboCubeV.AppendText (global::Mono.Unix.Catalog.GetString ("9"));
     this.comboCubeV.AppendText (global::Mono.Unix.Catalog.GetString ("10"));
     this.comboCubeV.Name = "comboCubeV";
     this.comboCubeV.Active = 0;
     this.table1.Add (this.comboCubeV);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboCubeV]));
     w31.TopAttach = ((uint)(1));
     w31.BottomAttach = ((uint)(2));
     w31.LeftAttach = ((uint)(1));
     w31.RightAttach = ((uint)(2));
     w31.XOptions = ((global::Gtk.AttachOptions)(4));
     w31.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.label2.UseMarkup = true;
     this.table1.Add (this.label2);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w32.TopAttach = ((uint)(1));
     w32.BottomAttach = ((uint)(2));
     w32.XOptions = ((global::Gtk.AttachOptions)(4));
     w32.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.Xalign = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Кубов по горизонтали:");
     this.label3.UseMarkup = true;
     this.table1.Add (this.label3);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w33.XOptions = ((global::Gtk.AttachOptions)(4));
     w33.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox7.Add (this.table1);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.table1]));
     w34.Position = 0;
     w34.Expand = false;
     w34.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.scrolledTypesH = new global::Gtk.ScrolledWindow ();
     this.scrolledTypesH.CanFocus = true;
     this.scrolledTypesH.Name = "scrolledTypesH";
     this.scrolledTypesH.VscrollbarPolicy = ((global::Gtk.PolicyType)(2));
     this.scrolledTypesH.ShadowType = ((global::Gtk.ShadowType)(1));
     this.vbox7.Add (this.scrolledTypesH);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.scrolledTypesH]));
     w35.Position = 1;
     this.notebook1.Add (this.vbox7);
     global::Gtk.Notebook.NotebookChild w36 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox7]));
     w36.Position = 1;
     // Notebook tab
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("ШАГ-1 (выбор каркаса)");
     this.notebook1.SetTabLabel (this.vbox7, this.label5);
     this.label5.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.tableConstructor = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
     this.tableConstructor.Name = "tableConstructor";
     this.tableConstructor.RowSpacing = ((uint)(6));
     this.tableConstructor.ColumnSpacing = ((uint)(6));
     // Container child tableConstructor.Gtk.Table+TableChild
     this.buttonCubeListOrientation = new global::Gtk.Button ();
     this.buttonCubeListOrientation.TooltipMarkup = "Изменить положение листа";
     this.buttonCubeListOrientation.CanFocus = true;
     this.buttonCubeListOrientation.Name = "buttonCubeListOrientation";
     this.buttonCubeListOrientation.UseUnderline = true;
     this.buttonCubeListOrientation.Relief = ((global::Gtk.ReliefStyle)(2));
     global::Gtk.Image w37 = new global::Gtk.Image ();
     w37.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("CupboardDesigner.icons.emblem-synchronizing.png");
     this.buttonCubeListOrientation.Image = w37;
     this.tableConstructor.Add (this.buttonCubeListOrientation);
     global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.tableConstructor [this.buttonCubeListOrientation]));
     w38.TopAttach = ((uint)(1));
     w38.BottomAttach = ((uint)(2));
     w38.LeftAttach = ((uint)(1));
     w38.RightAttach = ((uint)(2));
     w38.XOptions = ((global::Gtk.AttachOptions)(4));
     w38.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableConstructor.Gtk.Table+TableChild
     this.drawCupboard = new global::Gtk.DrawingArea ();
     this.drawCupboard.Name = "drawCupboard";
     this.tableConstructor.Add (this.drawCupboard);
     // Container child tableConstructor.Gtk.Table+TableChild
     this.scrolledCubeListH = new global::Gtk.ScrolledWindow ();
     this.scrolledCubeListH.CanFocus = true;
     this.scrolledCubeListH.Name = "scrolledCubeListH";
     this.scrolledCubeListH.VscrollbarPolicy = ((global::Gtk.PolicyType)(2));
     this.scrolledCubeListH.ShadowType = ((global::Gtk.ShadowType)(1));
     this.tableConstructor.Add (this.scrolledCubeListH);
     global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.tableConstructor [this.scrolledCubeListH]));
     w40.TopAttach = ((uint)(1));
     w40.BottomAttach = ((uint)(2));
     w40.YOptions = ((global::Gtk.AttachOptions)(6));
     // Container child tableConstructor.Gtk.Table+TableChild
     this.scrolledCubeListV = new global::Gtk.ScrolledWindow ();
     this.scrolledCubeListV.CanFocus = true;
     this.scrolledCubeListV.Name = "scrolledCubeListV";
     this.scrolledCubeListV.VscrollbarPolicy = ((global::Gtk.PolicyType)(0));
     this.scrolledCubeListV.HscrollbarPolicy = ((global::Gtk.PolicyType)(2));
     this.scrolledCubeListV.ShadowType = ((global::Gtk.ShadowType)(1));
     this.tableConstructor.Add (this.scrolledCubeListV);
     global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.tableConstructor [this.scrolledCubeListV]));
     w41.LeftAttach = ((uint)(1));
     w41.RightAttach = ((uint)(2));
     w41.XOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add (this.tableConstructor);
     global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.tableConstructor]));
     w42.PackType = ((global::Gtk.PackType)(1));
     w42.Position = 0;
     this.notebook1.Add (this.vbox3);
     global::Gtk.Notebook.NotebookChild w43 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox3]));
     w43.Position = 2;
     // Notebook tab
     this.label8 = new global::Gtk.Label ();
     this.label8.Name = "label8";
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("ШАГ-2 (выбор заполнения)");
     this.notebook1.SetTabLabel (this.vbox3, this.label8);
     this.label8.ShowAll ();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox5 = new global::Gtk.VBox ();
     this.vbox5.Name = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.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.treeviewComponents = new global::Gtk.TreeView ();
     this.treeviewComponents.CanFocus = true;
     this.treeviewComponents.Name = "treeviewComponents";
     this.GtkScrolledWindow1.Add (this.treeviewComponents);
     this.vbox5.Add (this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.GtkScrolledWindow1]));
     w45.Position = 0;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox6 = new global::Gtk.HBox ();
     this.hbox6.Name = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.checkbuttonShowPrice = new global::Gtk.CheckButton ();
     this.checkbuttonShowPrice.CanFocus = true;
     this.checkbuttonShowPrice.Name = "checkbuttonShowPrice";
     this.checkbuttonShowPrice.Label = global::Mono.Unix.Catalog.GetString ("Показать расчет стоимости");
     this.checkbuttonShowPrice.Active = true;
     this.checkbuttonShowPrice.DrawIndicator = true;
     this.checkbuttonShowPrice.UseUnderline = true;
     this.hbox6.Add (this.checkbuttonShowPrice);
     global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.checkbuttonShowPrice]));
     w46.Position = 0;
     // Container child hbox6.Gtk.Box+BoxChild
     this.checkbuttonDiscount = new global::Gtk.CheckButton ();
     this.checkbuttonDiscount.CanFocus = true;
     this.checkbuttonDiscount.Name = "checkbuttonDiscount";
     this.checkbuttonDiscount.Label = global::Mono.Unix.Catalog.GetString ("Скидка:");
     this.checkbuttonDiscount.DrawIndicator = true;
     this.checkbuttonDiscount.UseUnderline = true;
     this.hbox6.Add (this.checkbuttonDiscount);
     global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.checkbuttonDiscount]));
     w47.Position = 1;
     w47.Expand = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.spinbutton1 = new global::Gtk.SpinButton (-100, 100, 1);
     this.spinbutton1.CanDefault = true;
     this.spinbutton1.CanFocus = true;
     this.spinbutton1.Name = "spinbutton1";
     this.spinbutton1.Adjustment.PageIncrement = 10;
     this.spinbutton1.ClimbRate = 1;
     this.spinbutton1.Numeric = true;
     this.spinbutton1.UpdatePolicy = ((global::Gtk.SpinButtonUpdatePolicy)(1));
     this.hbox6.Add (this.spinbutton1);
     global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.spinbutton1]));
     w48.Position = 2;
     w48.Expand = false;
     w48.Fill = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.label18 = new global::Gtk.Label ();
     this.label18.Name = "label18";
     this.label18.LabelProp = global::Mono.Unix.Catalog.GetString ("%        ");
     this.hbox6.Add (this.label18);
     global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.label18]));
     w49.Position = 3;
     w49.Expand = false;
     w49.Fill = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.labelTotalCount = new global::Gtk.Label ();
     this.labelTotalCount.Name = "labelTotalCount";
     this.labelTotalCount.Xalign = 1F;
     this.labelTotalCount.LabelProp = global::Mono.Unix.Catalog.GetString ("label2");
     this.hbox6.Add (this.labelTotalCount);
     global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.labelTotalCount]));
     w50.Position = 4;
     w50.Expand = false;
     w50.Fill = false;
     this.vbox5.Add (this.hbox6);
     global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox6]));
     w51.Position = 1;
     w51.Expand = false;
     w51.Fill = false;
     this.notebook1.Add (this.vbox5);
     global::Gtk.Notebook.NotebookChild w52 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox5]));
     w52.Position = 3;
     // Notebook tab
     this.label15 = new global::Gtk.Label ();
     this.label15.Name = "label15";
     this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("ШАГ-3 (выбор отделки)");
     this.notebook1.SetTabLabel (this.vbox5, this.label15);
     this.label15.ShowAll ();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.reportviewer1 = new global::fyiReporting.RdlGtkViewer.ReportViewer ();
     this.reportviewer1.WidthRequest = 0;
     this.reportviewer1.HeightRequest = 0;
     this.reportviewer1.Events = ((global::Gdk.EventMask)(256));
     this.reportviewer1.Name = "reportviewer1";
     this.reportviewer1.ShowErrors = false;
     this.reportviewer1.ShowParameters = false;
     this.notebook1.Add (this.reportviewer1);
     global::Gtk.Notebook.NotebookChild w53 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.reportviewer1]));
     w53.Position = 4;
     // Notebook tab
     this.label16 = new global::Gtk.Label ();
     this.label16.Name = "label16";
     this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("ШАГ-4 (печать заказа)");
     this.notebook1.SetTabLabel (this.reportviewer1, this.label16);
     this.label16.ShowAll ();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.reportviewer2 = new global::fyiReporting.RdlGtkViewer.ReportViewer ();
     this.reportviewer2.WidthRequest = 0;
     this.reportviewer2.HeightRequest = 0;
     this.reportviewer2.Events = ((global::Gdk.EventMask)(256));
     this.reportviewer2.Name = "reportviewer2";
     this.reportviewer2.ShowErrors = false;
     this.reportviewer2.ShowParameters = false;
     this.notebook1.Add (this.reportviewer2);
     global::Gtk.Notebook.NotebookChild w54 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.reportviewer2]));
     w54.Position = 5;
     // Notebook tab
     this.label19 = new global::Gtk.Label ();
     this.label19.Name = "label19";
     this.label19.LabelProp = global::Mono.Unix.Catalog.GetString ("ШАГ-5 (печать для производства)");
     this.notebook1.SetTabLabel (this.reportviewer2, this.label19);
     this.label19.ShowAll ();
     this.vbox2.Add (this.notebook1);
     global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.notebook1]));
     w55.Position = 1;
     this.Add (this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 1045;
     this.DefaultHeight = 602;
     this.Show ();
     this.revertToSavedAction.Activated += new global::System.EventHandler (this.OnRevertToSavedActionActivated);
     this.goBackAction.Activated += new global::System.EventHandler (this.OnGoBackActionActivated);
     this.goForwardAction.Activated += new global::System.EventHandler (this.OnGoForwardActionActivated);
     this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated);
     this.notebook1.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebook1SwitchPage);
     this.dateDeadlineS.DateChanged += new global::System.EventHandler (this.OnDateDeadlineSDateChanged);
     this.dateDeadlineE.DateChanged += new global::System.EventHandler (this.OnDateDeadlineEDateChanged);
     this.entryContract.Changed += new global::System.EventHandler (this.OnEntryContractChanged);
     this.checkEstimation.Clicked += new global::System.EventHandler (this.OnCheckEstimationClicked);
     this.comboCubeV.Changed += new global::System.EventHandler (this.OnComboCubeVChanged);
     this.comboCubeH.Changed += new global::System.EventHandler (this.OnComboCubeHChanged);
     this.drawCupboard.ExposeEvent += new global::Gtk.ExposeEventHandler (this.OnDrawCupboardExposeEvent);
     this.drawCupboard.SizeAllocated += new global::Gtk.SizeAllocatedHandler (this.OnDrawCupboardSizeAllocated);
     this.drawCupboard.DragMotion += new global::Gtk.DragMotionHandler (this.OnDrawCupboardDragMotion);
     this.drawCupboard.DragDrop += new global::Gtk.DragDropHandler (this.OnDrawCupboardDragDrop);
     this.drawCupboard.DragBegin += new global::Gtk.DragBeginHandler (this.OnDrawCupboardDragBegin);
     this.drawCupboard.DragDataDelete += new global::Gtk.DragDataDeleteHandler (this.OnDrawCupboardDragDataDelete);
     this.buttonCubeListOrientation.Clicked += new global::System.EventHandler (this.OnButtonCubeListOrientationClicked);
     this.treeviewComponents.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.OnTreeviewComponentsButtonReleaseEvent);
     this.checkbuttonShowPrice.Toggled += new global::System.EventHandler (this.OnCheckbutton2Toggled);
     this.checkbuttonDiscount.Toggled += new global::System.EventHandler (this.OnCheckbutton1Toggled);
     this.spinbutton1.ValueChanged += new global::System.EventHandler (this.OnSpinbutton1ValueChanged);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget QSWidgetLib.SelectPeriod
     global::Stetic.BinContainer.Attach (this);
     this.Name = "QSWidgetLib.SelectPeriod";
     // Container child QSWidgetLib.SelectPeriod.Gtk.Container+ContainerChild
     this.vboxMain = new global::Gtk.VBox ();
     this.vboxMain.Name = "vboxMain";
     this.vboxMain.Spacing = 6;
     // Container child vboxMain.Gtk.Box+BoxChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Выбор периода</b>");
     this.label1.UseMarkup = true;
     this.vboxMain.Add (this.label1);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.label1]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child vboxMain.Gtk.Box+BoxChild
     this.RadiosTable = new global::Gtk.Table (((uint)(1)), ((uint)(2)), false);
     this.RadiosTable.Name = "RadiosTable";
     this.RadiosTable.RowSpacing = ((uint)(6));
     this.RadiosTable.ColumnSpacing = ((uint)(6));
     this.vboxMain.Add (this.RadiosTable);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.RadiosTable]));
     w2.Position = 1;
     w2.Expand = false;
     // Container child vboxMain.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.StartDate = new global::QSWidgetLib.DatePicker ();
     this.StartDate.Events = ((global::Gdk.EventMask)(256));
     this.StartDate.Name = "StartDate";
     this.StartDate.Date = new global::System.DateTime (0);
     this.StartDate.IsEditable = true;
     this.StartDate.AutoSeparation = true;
     this.hbox1.Add (this.StartDate);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.StartDate]));
     w3.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("-");
     this.hbox1.Add (this.label2);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label2]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.EndDate = new global::QSWidgetLib.DatePicker ();
     this.EndDate.Events = ((global::Gdk.EventMask)(256));
     this.EndDate.Name = "EndDate";
     this.EndDate.Date = new global::System.DateTime (0);
     this.EndDate.IsEditable = true;
     this.EndDate.AutoSeparation = true;
     this.hbox1.Add (this.EndDate);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.EndDate]));
     w5.Position = 2;
     this.vboxMain.Add (this.hbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.hbox1]));
     w6.Position = 2;
     w6.Expand = false;
     w6.Fill = false;
     this.Add (this.vboxMain);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Hide ();
     this.StartDate.DateChanged += new global::System.EventHandler (this.OnStartDateDateChanged);
     this.EndDate.DateChanged += new global::System.EventHandler (this.OnEndDateDateChanged);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget bazar.DocRegister
     this.Name = "bazar.DocRegister";
     this.Title = global::Mono.Unix.Catalog.GetString ("Реестр документов");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child bazar.DocRegister.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     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));
     this.table1.BorderWidth = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.comboDoc = global::Gtk.ComboBox.NewText ();
     this.comboDoc.AppendText (global::Mono.Unix.Catalog.GetString ("Приходный ордер"));
     this.comboDoc.AppendText (global::Mono.Unix.Catalog.GetString ("Расходный ордер"));
     this.comboDoc.Name = "comboDoc";
     this.table1.Add (this.comboDoc);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboDoc]));
     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));
     w1.Add (this.table1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1 [this.table1]));
     w4.Position = 0;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.vbox11 = new global::Gtk.VBox ();
     this.vbox11.Name = "vbox11";
     this.vbox11.Spacing = 6;
     this.vbox11.BorderWidth = ((uint)(6));
     // Container child vbox11.Gtk.Box+BoxChild
     this.label31 = new global::Gtk.Label ();
     this.label31.Name = "label31";
     this.label31.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Выбор периода</b>");
     this.label31.UseMarkup = true;
     this.vbox11.Add (this.label31);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.label31]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox11.Gtk.Box+BoxChild
     this.radioCashToday = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Сегодня"));
     this.radioCashToday.CanFocus = true;
     this.radioCashToday.Name = "radioCashToday";
     this.radioCashToday.DrawIndicator = true;
     this.radioCashToday.UseUnderline = true;
     this.radioCashToday.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.vbox11.Add (this.radioCashToday);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.radioCashToday]));
     w6.Position = 1;
     w6.Expand = false;
     w6.Fill = false;
     // Container child vbox11.Gtk.Box+BoxChild
     this.radioCashWeek = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("За неделю"));
     this.radioCashWeek.CanFocus = true;
     this.radioCashWeek.Name = "radioCashWeek";
     this.radioCashWeek.DrawIndicator = true;
     this.radioCashWeek.UseUnderline = true;
     this.radioCashWeek.Group = this.radioCashToday.Group;
     this.vbox11.Add (this.radioCashWeek);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.radioCashWeek]));
     w7.Position = 2;
     w7.Expand = false;
     w7.Fill = false;
     // Container child vbox11.Gtk.Box+BoxChild
     this.radioMonth = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("За месяц"));
     this.radioMonth.CanFocus = true;
     this.radioMonth.Name = "radioMonth";
     this.radioMonth.DrawIndicator = true;
     this.radioMonth.UseUnderline = true;
     this.radioMonth.Group = this.radioCashToday.Group;
     this.vbox11.Add (this.radioMonth);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.radioMonth]));
     w8.Position = 3;
     w8.Expand = false;
     w8.Fill = false;
     // Container child vbox11.Gtk.Box+BoxChild
     this.radioCash6Month = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("За полгода"));
     this.radioCash6Month.CanFocus = true;
     this.radioCash6Month.Name = "radioCash6Month";
     this.radioCash6Month.DrawIndicator = true;
     this.radioCash6Month.UseUnderline = true;
     this.radioCash6Month.Group = this.radioCashToday.Group;
     this.vbox11.Add (this.radioCash6Month);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.radioCash6Month]));
     w9.Position = 4;
     w9.Expand = false;
     w9.Fill = false;
     // Container child vbox11.Gtk.Box+BoxChild
     this.hbox15 = new global::Gtk.HBox ();
     this.hbox15.Name = "hbox15";
     this.hbox15.Spacing = 6;
     // Container child hbox15.Gtk.Box+BoxChild
     this.dateCashStart = new global::QSWidgetLib.DatePicker ();
     this.dateCashStart.Events = ((global::Gdk.EventMask)(256));
     this.dateCashStart.Name = "dateCashStart";
     this.dateCashStart.Date = new global::System.DateTime (0);
     this.dateCashStart.IsEditable = true;
     this.dateCashStart.AutoSeparation = true;
     this.hbox15.Add (this.dateCashStart);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.dateCashStart]));
     w10.Position = 0;
     // Container child hbox15.Gtk.Box+BoxChild
     this.label32 = new global::Gtk.Label ();
     this.label32.Name = "label32";
     this.label32.LabelProp = global::Mono.Unix.Catalog.GetString ("-");
     this.hbox15.Add (this.label32);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.label32]));
     w11.Position = 1;
     w11.Expand = false;
     w11.Fill = false;
     // Container child hbox15.Gtk.Box+BoxChild
     this.dateCashEnd = new global::QSWidgetLib.DatePicker ();
     this.dateCashEnd.Events = ((global::Gdk.EventMask)(256));
     this.dateCashEnd.Name = "dateCashEnd";
     this.dateCashEnd.Date = new global::System.DateTime (0);
     this.dateCashEnd.IsEditable = true;
     this.dateCashEnd.AutoSeparation = true;
     this.hbox15.Add (this.dateCashEnd);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.dateCashEnd]));
     w12.Position = 2;
     this.vbox11.Add (this.hbox15);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.hbox15]));
     w13.Position = 5;
     w13.Expand = false;
     w13.Fill = false;
     w1.Add (this.vbox11);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox11]));
     w14.Position = 1;
     w14.Expand = false;
     w14.Fill = false;
     // Internal child bazar.DocRegister.ActionArea
     global::Gtk.HButtonBox w15 = this.ActionArea;
     w15.Name = "dialog1_ActionArea";
     w15.Spacing = 10;
     w15.BorderWidth = ((uint)(5));
     w15.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.UseStock = true;
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = "gtk-cancel";
     this.AddActionWidget (this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w16 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w15 [this.buttonCancel]));
     w16.Expand = false;
     w16.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.UseStock = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label = "gtk-ok";
     this.AddActionWidget (this.buttonOk, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w15 [this.buttonOk]));
     w17.Position = 1;
     w17.Expand = false;
     w17.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 274;
     this.DefaultHeight = 281;
     this.Show ();
     this.radioCashToday.Clicked += new global::System.EventHandler (this.OnRadioCashTodayClicked);
     this.radioCashWeek.Clicked += new global::System.EventHandler (this.OnRadioCashWeekClicked);
     this.radioMonth.Clicked += new global::System.EventHandler (this.OnRadioMonthClicked);
     this.radioCash6Month.Clicked += new global::System.EventHandler (this.OnRadioCash6MonthClicked);
     this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget bazar.AdvanceStatement
     this.Name = "bazar.AdvanceStatement";
     this.Title = global::Mono.Unix.Catalog.GetString ("Новый авансовый отчет");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child bazar.AdvanceStatement.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;
     // Container child hbox1.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));
     this.table2.BorderWidth = ((uint)(3));
     // Container child table2.Gtk.Table+TableChild
     this.comboCash = new global::Gtk.ComboBox ();
     this.comboCash.Name = "comboCash";
     this.table2.Add (this.comboCash);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboCash]));
     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 table2.Gtk.Table+TableChild
     this.comboOrg = new global::Gtk.ComboBox ();
     this.comboOrg.Name = "comboOrg";
     this.table2.Add (this.comboOrg);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboOrg]));
     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.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.entryAccountable = new global::Gtk.Entry ();
     this.entryAccountable.CanFocus = true;
     this.entryAccountable.Name = "entryAccountable";
     this.entryAccountable.IsEditable = false;
     this.entryAccountable.InvisibleChar = '●';
     this.hbox2.Add (this.entryAccountable);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.entryAccountable]));
     w4.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.buttonAccountableEdit = new global::Gtk.Button ();
     this.buttonAccountableEdit.CanFocus = true;
     this.buttonAccountableEdit.Name = "buttonAccountableEdit";
     this.buttonAccountableEdit.UseUnderline = true;
     global::Gtk.Image w5 = new global::Gtk.Image ();
     w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu);
     this.buttonAccountableEdit.Image = w5;
     this.hbox2.Add (this.buttonAccountableEdit);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonAccountableEdit]));
     w6.Position = 1;
     w6.Expand = false;
     w6.Fill = false;
     this.table2.Add (this.hbox2);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.hbox2]));
     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.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.entryContractor = new global::Gtk.Entry ();
     this.entryContractor.CanFocus = true;
     this.entryContractor.Name = "entryContractor";
     this.entryContractor.IsEditable = false;
     this.entryContractor.InvisibleChar = '●';
     this.hbox3.Add (this.entryContractor);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.entryContractor]));
     w8.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.buttonContractorEdit = new global::Gtk.Button ();
     this.buttonContractorEdit.CanFocus = true;
     this.buttonContractorEdit.Name = "buttonContractorEdit";
     this.buttonContractorEdit.UseUnderline = true;
     global::Gtk.Image w9 = new global::Gtk.Image ();
     w9.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu);
     this.buttonContractorEdit.Image = w9;
     this.hbox3.Add (this.buttonContractorEdit);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.buttonContractorEdit]));
     w10.Position = 1;
     w10.Expand = false;
     w10.Fill = false;
     this.table2.Add (this.hbox3);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.hbox3]));
     w11.TopAttach = ((uint)(3));
     w11.BottomAttach = ((uint)(4));
     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.label12 = new global::Gtk.Label ();
     this.label12.Name = "label12";
     this.label12.Xalign = 1F;
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Текущий долг:");
     this.table2.Add (this.label12);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.label12]));
     w12.TopAttach = ((uint)(4));
     w12.BottomAttach = ((uint)(5));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.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 w13 = ((global::Gtk.Table.TableChild)(this.table2 [this.label5]));
     w13.TopAttach = ((uint)(1));
     w13.BottomAttach = ((uint)(2));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.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 w14 = ((global::Gtk.Table.TableChild)(this.table2 [this.label6]));
     w14.TopAttach = ((uint)(2));
     w14.BottomAttach = ((uint)(3));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.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 ("Подотчетное лицо<span foreground=\"red\">*</span>:");
     this.label7.UseMarkup = true;
     this.table2.Add (this.label7);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2 [this.label7]));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.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 ("Контрагент:");
     this.table2.Add (this.label8);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8]));
     w16.TopAttach = ((uint)(3));
     w16.BottomAttach = ((uint)(4));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.labelBalance = new global::Gtk.Label ();
     this.labelBalance.Name = "labelBalance";
     this.labelBalance.LabelProp = global::Mono.Unix.Catalog.GetString ("0");
     this.labelBalance.UseMarkup = true;
     this.table2.Add (this.labelBalance);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelBalance]));
     w17.TopAttach = ((uint)(5));
     w17.BottomAttach = ((uint)(6));
     w17.LeftAttach = ((uint)(1));
     w17.RightAttach = ((uint)(2));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.labelDebt = new global::Gtk.Label ();
     this.labelDebt.Name = "labelDebt";
     this.labelDebt.LabelProp = global::Mono.Unix.Catalog.GetString ("0");
     this.table2.Add (this.labelDebt);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelDebt]));
     w18.TopAttach = ((uint)(4));
     w18.BottomAttach = ((uint)(5));
     w18.LeftAttach = ((uint)(1));
     w18.RightAttach = ((uint)(2));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.labelDiffName = new global::Gtk.Label ();
     this.labelDiffName.Name = "labelDiffName";
     this.labelDiffName.Xalign = 1F;
     this.labelDiffName.LabelProp = global::Mono.Unix.Catalog.GetString ("Остаток:");
     this.table2.Add (this.labelDiffName);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelDiffName]));
     w19.TopAttach = ((uint)(5));
     w19.BottomAttach = ((uint)(6));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     this.hbox1.Add (this.table2);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table2]));
     w20.Position = 0;
     w20.Expand = false;
     w20.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table (((uint)(5)), ((uint)(2)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth = ((uint)(3));
     // Container child table1.Gtk.Table+TableChild
     this.dateStatement = new global::QSWidgetLib.DatePicker ();
     this.dateStatement.Sensitive = false;
     this.dateStatement.Events = ((global::Gdk.EventMask)(256));
     this.dateStatement.Name = "dateStatement";
     this.dateStatement.Date = new global::System.DateTime (0);
     this.dateStatement.IsEditable = true;
     this.dateStatement.AutoSeparation = true;
     this.table1.Add (this.dateStatement);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.dateStatement]));
     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 table1.Gtk.Table+TableChild
     this.entryNumber = new global::Gtk.Entry ();
     this.entryNumber.Sensitive = false;
     this.entryNumber.CanFocus = true;
     this.entryNumber.Name = "entryNumber";
     this.entryNumber.Text = global::Mono.Unix.Catalog.GetString ("Не назначен");
     this.entryNumber.IsEditable = true;
     this.entryNumber.InvisibleChar = '●';
     this.table1.Add (this.entryNumber);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryNumber]));
     w22.LeftAttach = ((uint)(1));
     w22.RightAttach = ((uint)(2));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryUser = new global::Gtk.Entry ();
     this.entryUser.Sensitive = false;
     this.entryUser.CanFocus = true;
     this.entryUser.Name = "entryUser";
     this.entryUser.IsEditable = true;
     this.entryUser.InvisibleChar = '●';
     this.table1.Add (this.entryUser);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryUser]));
     w23.TopAttach = ((uint)(2));
     w23.BottomAttach = ((uint)(3));
     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.hbox5 = new global::Gtk.HBox ();
     this.hbox5.Name = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.entryExpense = new global::Gtk.Entry ();
     this.entryExpense.CanFocus = true;
     this.entryExpense.Name = "entryExpense";
     this.entryExpense.IsEditable = false;
     this.entryExpense.InvisibleChar = '●';
     this.hbox5.Add (this.entryExpense);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.entryExpense]));
     w24.Position = 0;
     // Container child hbox5.Gtk.Box+BoxChild
     this.buttonExpense = new global::Gtk.Button ();
     this.buttonExpense.CanFocus = true;
     this.buttonExpense.Name = "buttonExpense";
     this.buttonExpense.UseUnderline = true;
     global::Gtk.Image w25 = new global::Gtk.Image ();
     w25.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu);
     this.buttonExpense.Image = w25;
     this.hbox5.Add (this.buttonExpense);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonExpense]));
     w26.Position = 1;
     w26.Expand = false;
     w26.Fill = false;
     this.table1.Add (this.hbox5);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox5]));
     w27.TopAttach = ((uint)(3));
     w27.BottomAttach = ((uint)(4));
     w27.LeftAttach = ((uint)(1));
     w27.RightAttach = ((uint)(2));
     w27.XOptions = ((global::Gtk.AttachOptions)(4));
     w27.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 ("Сумма<span foreground=\"red\">*</span>:");
     this.label10.UseMarkup = true;
     this.table1.Add (this.label10);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1 [this.label10]));
     w28.TopAttach = ((uint)(4));
     w28.BottomAttach = ((uint)(5));
     w28.XOptions = ((global::Gtk.AttachOptions)(4));
     w28.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 w29 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w29.XOptions = ((global::Gtk.AttachOptions)(4));
     w29.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 w30 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w30.TopAttach = ((uint)(1));
     w30.BottomAttach = ((uint)(2));
     w30.XOptions = ((global::Gtk.AttachOptions)(4));
     w30.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 w31 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
     w31.TopAttach = ((uint)(2));
     w31.BottomAttach = ((uint)(3));
     w31.XOptions = ((global::Gtk.AttachOptions)(4));
     w31.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 ("Статья расхода<span foreground=\"red\">*</span>:");
     this.label9.UseMarkup = true;
     this.table1.Add (this.label9);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1 [this.label9]));
     w32.TopAttach = ((uint)(3));
     w32.BottomAttach = ((uint)(4));
     w32.XOptions = ((global::Gtk.AttachOptions)(4));
     w32.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spinSum = new global::Gtk.SpinButton (0, 100000000, 100);
     this.spinSum.CanFocus = true;
     this.spinSum.Name = "spinSum";
     this.spinSum.Adjustment.PageIncrement = 1000;
     this.spinSum.ClimbRate = 1;
     this.spinSum.Digits = ((uint)(2));
     this.spinSum.Numeric = true;
     this.table1.Add (this.spinSum);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1 [this.spinSum]));
     w33.TopAttach = ((uint)(4));
     w33.BottomAttach = ((uint)(5));
     w33.LeftAttach = ((uint)(1));
     w33.RightAttach = ((uint)(2));
     w33.XOptions = ((global::Gtk.AttachOptions)(4));
     w33.YOptions = ((global::Gtk.AttachOptions)(4));
     this.hbox1.Add (this.table1);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table1]));
     w34.Position = 1;
     w34.Expand = false;
     w34.Fill = false;
     w1.Add (this.hbox1);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1]));
     w35.Position = 0;
     w35.Expand = false;
     w35.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.checkCreateSlip = new global::Gtk.CheckButton ();
     this.checkCreateSlip.CanFocus = true;
     this.checkCreateSlip.Name = "checkCreateSlip";
     this.checkCreateSlip.Label = global::Mono.Unix.Catalog.GetString ("Создать приходный ордер на сумму остатка");
     this.checkCreateSlip.DrawIndicator = true;
     this.checkCreateSlip.UseUnderline = true;
     w1.Add (this.checkCreateSlip);
     global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(w1 [this.checkCreateSlip]));
     w36.Position = 1;
     w36.Expand = false;
     w36.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.label14 = new global::Gtk.Label ();
     this.label14.Name = "label14";
     this.label14.Xalign = 0F;
     this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Последние авансы:</b>");
     this.label14.UseMarkup = true;
     w1.Add (this.label14);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(w1 [this.label14]));
     w37.Position = 2;
     w37.Expand = false;
     w37.Fill = false;
     // Container child dialog1_VBox.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.treeviewAdvances = new global::Gtk.TreeView ();
     this.treeviewAdvances.CanFocus = true;
     this.treeviewAdvances.Name = "treeviewAdvances";
     this.GtkScrolledWindow1.Add (this.treeviewAdvances);
     w1.Add (this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(w1 [this.GtkScrolledWindow1]));
     w39.Position = 3;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.label11 = new global::Gtk.Label ();
     this.label11.Name = "label11";
     this.label11.Xalign = 0F;
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Основание:</b>");
     this.label11.UseMarkup = true;
     w1.Add (this.label11);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(w1 [this.label11]));
     w40.Position = 4;
     w40.Expand = false;
     w40.Fill = false;
     // Container child dialog1_VBox.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.textviewDetails = new global::Gtk.TextView ();
     this.textviewDetails.CanFocus = true;
     this.textviewDetails.Name = "textviewDetails";
     this.textviewDetails.WrapMode = ((global::Gtk.WrapMode)(2));
     this.GtkScrolledWindow.Add (this.textviewDetails);
     w1.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(w1 [this.GtkScrolledWindow]));
     w42.Position = 5;
     // Internal child bazar.AdvanceStatement.ActionArea
     global::Gtk.HButtonBox w43 = this.ActionArea;
     w43.Name = "dialog1_ActionArea";
     w43.Spacing = 10;
     w43.BorderWidth = ((uint)(5));
     w43.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 w44 = new global::Gtk.Image ();
     w44.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w44;
     this.AddActionWidget (this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w45 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w43 [this.buttonCancel]));
     w45.Expand = false;
     w45.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 w46 = new global::Gtk.Image ();
     w46.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu);
     this.buttonOk.Image = w46;
     w43.Add (this.buttonOk);
     global::Gtk.ButtonBox.ButtonBoxChild w47 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w43 [this.buttonOk]));
     w47.Position = 1;
     w47.Expand = false;
     w47.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 636;
     this.DefaultHeight = 458;
     this.Show ();
     this.buttonContractorEdit.Clicked += new global::System.EventHandler (this.OnButtonContractorEditClicked);
     this.buttonAccountableEdit.Clicked += new global::System.EventHandler (this.OnButtonAccountableEditClicked);
     this.comboOrg.Changed += new global::System.EventHandler (this.OnComboOrgChanged);
     this.comboCash.Changed += new global::System.EventHandler (this.OnComboCashChanged);
     this.spinSum.ValueChanged += new global::System.EventHandler (this.OnSpinSumValueChanged);
     this.spinSum.Changed += new global::System.EventHandler (this.OnSpinSumChanged);
     this.buttonExpense.Clicked += new global::System.EventHandler (this.OnButtonExpenseClicked);
     this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
 }
Beispiel #13
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget bazar.Contract
     this.Name = "bazar.Contract";
     this.Title = global::Mono.Unix.Catalog.GetString ("Новый договор");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child bazar.Contract.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // 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.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.comboOrg = new global::Gtk.ComboBox ();
     this.comboOrg.Name = "comboOrg";
     this.table2.Add (this.comboOrg);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboOrg]));
     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 table2.Gtk.Table+TableChild
     this.comboPayDay = global::Gtk.ComboBox.NewText ();
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("Не установлен"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("1"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("2"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("3"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("4"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("5"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("6"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("7"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("8"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("9"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("10"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("11"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("12"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("13"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("14"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("15"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("16"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("17"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("18"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("19"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("20"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("21"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("22"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("23"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("24"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("25"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("26"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("27"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("28"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("29"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("30"));
     this.comboPayDay.AppendText (global::Mono.Unix.Catalog.GetString ("31"));
     this.comboPayDay.Name = "comboPayDay";
     this.comboPayDay.Active = 0;
     this.table2.Add (this.comboPayDay);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboPayDay]));
     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 table2.Gtk.Table+TableChild
     this.datepickerSign = new global::QSWidgetLib.DatePicker ();
     this.datepickerSign.Events = ((global::Gdk.EventMask)(256));
     this.datepickerSign.Name = "datepickerSign";
     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 w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.datepickerSign]));
     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.entryNumber = new global::Gtk.Entry ();
     this.entryNumber.CanFocus = true;
     this.entryNumber.Name = "entryNumber";
     this.entryNumber.IsEditable = true;
     this.entryNumber.MaxLength = 15;
     this.entryNumber.InvisibleChar = '•';
     this.table2.Add (this.entryNumber);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.entryNumber]));
     w5.LeftAttach = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.entryLessee = new global::Gtk.Entry ();
     this.entryLessee.CanFocus = true;
     this.entryLessee.Name = "entryLessee";
     this.entryLessee.IsEditable = false;
     this.entryLessee.InvisibleChar = '•';
     this.hbox1.Add (this.entryLessee);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryLessee]));
     w6.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonLesseeOpen = new global::Gtk.Button ();
     this.buttonLesseeOpen.TooltipMarkup = "Открыть текущего арендатора";
     this.buttonLesseeOpen.Sensitive = false;
     this.buttonLesseeOpen.CanFocus = true;
     this.buttonLesseeOpen.Name = "buttonLesseeOpen";
     this.buttonLesseeOpen.UseUnderline = true;
     global::Gtk.Image w7 = new global::Gtk.Image ();
     w7.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-open", global::Gtk.IconSize.Menu);
     this.buttonLesseeOpen.Image = w7;
     this.hbox1.Add (this.buttonLesseeOpen);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonLesseeOpen]));
     w8.Position = 1;
     w8.Expand = false;
     w8.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonLesseeEdit = new global::Gtk.Button ();
     this.buttonLesseeEdit.TooltipMarkup = "Изменить арендатора";
     this.buttonLesseeEdit.CanFocus = true;
     this.buttonLesseeEdit.Name = "buttonLesseeEdit";
     this.buttonLesseeEdit.UseUnderline = true;
     global::Gtk.Image w9 = new global::Gtk.Image ();
     w9.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu);
     this.buttonLesseeEdit.Image = w9;
     this.hbox1.Add (this.buttonLesseeEdit);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonLesseeEdit]));
     w10.Position = 2;
     w10.Expand = false;
     w10.Fill = false;
     this.table2.Add (this.hbox1);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.hbox1]));
     w11.TopAttach = ((uint)(3));
     w11.BottomAttach = ((uint)(4));
     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.hbox5 = new global::Gtk.HBox ();
     this.hbox5.Name = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.comboPlaceT = new global::Gtk.ComboBox ();
     this.comboPlaceT.Name = "comboPlaceT";
     this.hbox5.Add (this.comboPlaceT);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.comboPlaceT]));
     w12.Position = 0;
     w12.Expand = false;
     w12.Fill = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("-");
     this.hbox5.Add (this.label1);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.label1]));
     w13.Position = 1;
     w13.Expand = false;
     w13.Fill = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.comboPlaceNo = global::Gtk.ComboBox.NewText ();
     this.comboPlaceNo.Name = "comboPlaceNo";
     this.hbox5.Add (this.comboPlaceNo);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.comboPlaceNo]));
     w14.Position = 2;
     w14.Expand = false;
     w14.Fill = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.labelArea = new global::Gtk.Label ();
     this.labelArea.TooltipMarkup = "Площадь";
     this.labelArea.Name = "labelArea";
     this.labelArea.UseMarkup = true;
     this.hbox5.Add (this.labelArea);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.labelArea]));
     w15.PackType = ((global::Gtk.PackType)(1));
     w15.Position = 3;
     w15.Fill = false;
     this.table2.Add (this.hbox5);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2 [this.hbox5]));
     w16.TopAttach = ((uint)(1));
     w16.BottomAttach = ((uint)(2));
     w16.LeftAttach = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.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 w17 = ((global::Gtk.Table.TableChild)(this.table2 [this.label10]));
     w17.TopAttach = ((uint)(5));
     w17.BottomAttach = ((uint)(6));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.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 w18 = ((global::Gtk.Table.TableChild)(this.table2 [this.label5]));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.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 w19 = ((global::Gtk.Table.TableChild)(this.table2 [this.label6]));
     w19.TopAttach = ((uint)(2));
     w19.BottomAttach = ((uint)(3));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.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 ("Место<span foreground=\"red\">*</span>:");
     this.label7.UseMarkup = true;
     this.table2.Add (this.label7);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table2 [this.label7]));
     w20.TopAttach = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.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 w21 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8]));
     w21.TopAttach = ((uint)(3));
     w21.BottomAttach = ((uint)(4));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.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 w22 = ((global::Gtk.Table.TableChild)(this.table2 [this.label9]));
     w22.TopAttach = ((uint)(4));
     w22.BottomAttach = ((uint)(5));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     this.hbox8.Add (this.table2);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.table2]));
     w23.Position = 0;
     w23.Expand = false;
     w23.Fill = false;
     // Container child hbox8.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.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.datepickerCancel = new global::QSWidgetLib.DatePicker ();
     this.datepickerCancel.Events = ((global::Gdk.EventMask)(256));
     this.datepickerCancel.Name = "datepickerCancel";
     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 w24 = ((global::Gtk.Table.TableChild)(this.table3 [this.datepickerCancel]));
     w24.TopAttach = ((uint)(2));
     w24.BottomAttach = ((uint)(3));
     w24.LeftAttach = ((uint)(1));
     w24.RightAttach = ((uint)(2));
     w24.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.datepickerEnd = new global::QSWidgetLib.DatePicker ();
     this.datepickerEnd.Events = ((global::Gdk.EventMask)(256));
     this.datepickerEnd.Name = "datepickerEnd";
     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 w25 = ((global::Gtk.Table.TableChild)(this.table3 [this.datepickerEnd]));
     w25.TopAttach = ((uint)(1));
     w25.BottomAttach = ((uint)(2));
     w25.LeftAttach = ((uint)(1));
     w25.RightAttach = ((uint)(2));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.datepickerStart = new global::QSWidgetLib.DatePicker ();
     this.datepickerStart.Events = ((global::Gdk.EventMask)(256));
     this.datepickerStart.Name = "datepickerStart";
     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 w26 = ((global::Gtk.Table.TableChild)(this.table3 [this.datepickerStart]));
     w26.LeftAttach = ((uint)(1));
     w26.RightAttach = ((uint)(2));
     w26.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 w27 = ((global::Gtk.Table.TableChild)(this.table3 [this.label11]));
     w27.XOptions = ((global::Gtk.AttachOptions)(4));
     w27.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 w28 = ((global::Gtk.Table.TableChild)(this.table3 [this.label12]));
     w28.TopAttach = ((uint)(1));
     w28.BottomAttach = ((uint)(2));
     w28.XOptions = ((global::Gtk.AttachOptions)(4));
     w28.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 w29 = ((global::Gtk.Table.TableChild)(this.table3 [this.label13]));
     w29.TopAttach = ((uint)(2));
     w29.BottomAttach = ((uint)(3));
     w29.XOptions = ((global::Gtk.AttachOptions)(4));
     w29.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add (this.table3);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.table3]));
     w30.Position = 0;
     w30.Expand = false;
     w30.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.TextView ();
     this.textComments.CanFocus = true;
     this.textComments.Name = "textComments";
     this.textComments.WrapMode = ((global::Gtk.WrapMode)(2));
     this.GtkScrolledWindow.Add (this.textComments);
     this.GtkAlignment8.Add (this.GtkScrolledWindow);
     this.frame1.Add (this.GtkAlignment8);
     this.GtkLabel8 = new global::Gtk.Label ();
     this.GtkLabel8.Name = "GtkLabel8";
     this.GtkLabel8.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Комментарии</b>");
     this.GtkLabel8.UseMarkup = true;
     this.frame1.LabelWidget = this.GtkLabel8;
     this.vbox3.Add (this.frame1);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.frame1]));
     w34.Position = 1;
     this.hbox8.Add (this.vbox3);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.vbox3]));
     w35.Position = 1;
     this.vbox2.Add (this.hbox8);
     global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox8]));
     w36.Position = 0;
     w36.Expand = false;
     w36.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label14 = new global::Gtk.Label ();
     this.label14.Name = "label14";
     this.label14.Xalign = 0F;
     this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Услуги по договору</b>");
     this.label14.UseMarkup = true;
     this.vbox2.Add (this.label14);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label14]));
     w37.Position = 1;
     w37.Expand = false;
     w37.Fill = false;
     // Container child vbox2.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.treeviewServices = new global::Gtk.TreeView ();
     this.treeviewServices.CanFocus = true;
     this.treeviewServices.Name = "treeviewServices";
     this.GtkScrolledWindow1.Add (this.treeviewServices);
     this.vbox2.Add (this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow1]));
     w39.Position = 2;
     // 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.vbox4 = new global::Gtk.VBox ();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     // 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.buttonAddService = new global::Gtk.Button ();
     this.buttonAddService.CanFocus = true;
     this.buttonAddService.Name = "buttonAddService";
     this.buttonAddService.UseUnderline = true;
     this.buttonAddService.Label = global::Mono.Unix.Catalog.GetString ("Добавить");
     global::Gtk.Image w40 = new global::Gtk.Image ();
     w40.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu);
     this.buttonAddService.Image = w40;
     this.hbox9.Add (this.buttonAddService);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonAddService]));
     w41.Position = 0;
     w41.Expand = false;
     w41.Fill = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.buttonDelService = new global::Gtk.Button ();
     this.buttonDelService.CanFocus = true;
     this.buttonDelService.Name = "buttonDelService";
     this.buttonDelService.UseUnderline = true;
     this.buttonDelService.Label = global::Mono.Unix.Catalog.GetString ("Удалить");
     global::Gtk.Image w42 = new global::Gtk.Image ();
     w42.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-remove", global::Gtk.IconSize.Menu);
     this.buttonDelService.Image = w42;
     this.hbox9.Add (this.buttonDelService);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonDelService]));
     w43.Position = 1;
     w43.Expand = false;
     w43.Fill = false;
     this.vbox4.Add (this.hbox9);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox9]));
     w44.Position = 0;
     w44.Expand = false;
     w44.Fill = false;
     this.hbox7.Add (this.vbox4);
     global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.vbox4]));
     w45.Position = 0;
     w45.Expand = false;
     w45.Fill = false;
     // Container child hbox7.Gtk.Box+BoxChild
     this.labelSum = new global::Gtk.Label ();
     this.labelSum.Name = "labelSum";
     this.labelSum.Xalign = 1F;
     this.labelSum.LabelProp = global::Mono.Unix.Catalog.GetString ("Сумма: 0 руб.");
     this.labelSum.Justify = ((global::Gtk.Justification)(1));
     this.hbox7.Add (this.labelSum);
     global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.labelSum]));
     w46.Position = 1;
     this.vbox2.Add (this.hbox7);
     global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox7]));
     w47.Position = 3;
     w47.Expand = false;
     w47.Fill = false;
     w1.Add (this.vbox2);
     global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2]));
     w48.Position = 0;
     // Internal child bazar.Contract.ActionArea
     global::Gtk.HButtonBox w49 = this.ActionArea;
     w49.Name = "dialog1_ActionArea";
     w49.Spacing = 10;
     w49.BorderWidth = ((uint)(5));
     w49.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 w50 = new global::Gtk.Image ();
     w50.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w50;
     this.AddActionWidget (this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w51 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w49 [this.buttonCancel]));
     w51.Expand = false;
     w51.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 w52 = new global::Gtk.Image ();
     w52.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu);
     this.buttonOk.Image = w52;
     w49.Add (this.buttonOk);
     global::Gtk.ButtonBox.ButtonBoxChild w53 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w49 [this.buttonOk]));
     w53.Position = 1;
     w53.Expand = false;
     w53.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 746;
     this.DefaultHeight = 521;
     this.Show ();
     this.comboPlaceT.Changed += new global::System.EventHandler (this.OnComboPlaceTChanged);
     this.comboPlaceNo.Changed += new global::System.EventHandler (this.OnComboPlaceNoChanged);
     this.buttonLesseeOpen.Clicked += new global::System.EventHandler (this.OnButtonLesseeOpenClicked);
     this.buttonLesseeEdit.Clicked += new global::System.EventHandler (this.OnButtonLesseeEditClicked);
     this.entryNumber.Changed += new global::System.EventHandler (this.OnEntryNumberChanged);
     this.entryNumber.Activated += new global::System.EventHandler (this.OnEntryActivated);
     this.comboOrg.Changed += new global::System.EventHandler (this.OnComboOrgChanged);
     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.treeviewServices.CursorChanged += new global::System.EventHandler (this.OnTreeviewServicesCursorChanged);
     this.buttonAddService.Clicked += new global::System.EventHandler (this.OnButtonAddServiceClicked);
     this.buttonDelService.Clicked += new global::System.EventHandler (this.OnButtonDelServiceClicked);
     this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget earchive.InputDocs
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.openAction            = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("Из файла"), null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Из файла");
     w1.Add(this.openAction, null);
     this.ScanAction            = new global::Gtk.Action("ScanAction", global::Mono.Unix.Catalog.GetString("Сканировать"), global::Mono.Unix.Catalog.GetString("Добавить изображения со сканера"), "scanner");
     this.ScanAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Сканировать");
     w1.Add(this.ScanAction, null);
     this.clearAction            = new global::Gtk.Action("clearAction", null, global::Mono.Unix.Catalog.GetString("Очистить список изображений"), "gtk-clear");
     this.clearAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Очистить");
     w1.Add(this.clearAction, null);
     this.saveAction            = new global::Gtk.Action("saveAction", null, global::Mono.Unix.Catalog.GetString("Сохранить в базу"), "gtk-save");
     this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Сохранить");
     w1.Add(this.saveAction, null);
     this.zoom100Action            = new global::Gtk.Action("zoom100Action", global::Mono.Unix.Catalog.GetString("1:1"), null, "gtk-zoom-100");
     this.zoom100Action.ShortLabel = global::Mono.Unix.Catalog.GetString("1:1");
     w1.Add(this.zoom100Action, null);
     this.zoomFitAction            = new global::Gtk.Action("zoomFitAction", global::Mono.Unix.Catalog.GetString("Вписать"), null, "gtk-zoom-fit");
     this.zoomFitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Вписать");
     w1.Add(this.zoomFitAction, null);
     this.zoomInAction            = new global::Gtk.Action("zoomInAction", null, null, "gtk-zoom-in");
     this.zoomInAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Увеличить");
     w1.Add(this.zoomInAction, null);
     this.zoomOutAction            = new global::Gtk.Action("zoomOutAction", null, null, "gtk-zoom-out");
     this.zoomOutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Уменьшить");
     w1.Add(this.zoomOutAction, null);
     this.Rotate90Action            = new global::Gtk.Action("Rotate90Action", global::Mono.Unix.Catalog.GetString("90"), null, "rotate-90");
     this.Rotate90Action.ShortLabel = global::Mono.Unix.Catalog.GetString("90°");
     w1.Add(this.Rotate90Action, null);
     this.Rotate180Action            = new global::Gtk.Action("Rotate180Action", global::Mono.Unix.Catalog.GetString("180"), null, "rotate-180");
     this.Rotate180Action.ShortLabel = global::Mono.Unix.Catalog.GetString("180°");
     w1.Add(this.Rotate180Action, null);
     this.Rotate270Action            = new global::Gtk.Action("Rotate270Action", global::Mono.Unix.Catalog.GetString("270"), null, "rotate-270");
     this.Rotate270Action.ShortLabel = global::Mono.Unix.Catalog.GetString("270°");
     w1.Add(this.Rotate270Action, null);
     this.ActionRecognize            = new global::Gtk.Action("ActionRecognize", global::Mono.Unix.Catalog.GetString("Распознать"), null, "recognize");
     this.ActionRecognize.ShortLabel = global::Mono.Unix.Catalog.GetString("Распознать");
     w1.Add(this.ActionRecognize, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "earchive.InputDocs";
     this.Title          = global::Mono.Unix.Catalog.GetString("Ввод документов");
     this.Icon           = global::Gdk.Pixbuf.LoadFromResource("earchive.icons.scanner.png");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child earchive.InputDocs.Gtk.Container+ContainerChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><toolbar name='toolbar1'><toolitem name='clearAction' action='clearAction'/><toolitem name='openAction' action='openAction'/><toolitem name='ScanAction' action='ScanAction'/><toolitem name='ActionRecognize' action='ActionRecognize'/><toolitem name='saveAction' action='saveAction'/><separator/><toolitem name='zoom100Action' action='zoom100Action'/><toolitem name='zoomFitAction' action='zoomFitAction'/><toolitem name='zoomInAction' action='zoomInAction'/><toolitem name='zoomOutAction' action='zoomOutAction'/><separator/><toolitem name='Rotate90Action' action='Rotate90Action'/><toolitem name='Rotate180Action' action='Rotate180Action'/><toolitem name='Rotate270Action' action='Rotate270Action'/></toolbar></ui>");
     this.toolbar1              = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.Name         = "toolbar1";
     this.toolbar1.ShowArrow    = false;
     this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2));
     this.toolbar1.IconSize     = ((global::Gtk.IconSize)(6));
     this.vbox2.Add(this.toolbar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.toolbar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.hpaned1          = new global::Gtk.HPaned();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name     = "hpaned1";
     this.hpaned1.Position = 206;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeviewImages                = new global::Gtk.TreeView();
     this.treeviewImages.CanFocus       = true;
     this.treeviewImages.Name           = "treeviewImages";
     this.treeviewImages.HeadersVisible = false;
     this.treeviewImages.Reorderable    = true;
     this.GtkScrolledWindow.Add(this.treeviewImages);
     this.hpaned1.Add(this.GtkScrolledWindow);
     global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.GtkScrolledWindow]));
     w4.Resize = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.scrolledImage            = new global::Gtk.ScrolledWindow();
     this.scrolledImage.Name       = "scrolledImage";
     this.scrolledImage.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledImage.Gtk.Container+ContainerChild
     global::Gtk.Viewport w5 = new global::Gtk.Viewport();
     w5.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.imageDoc      = new global::Gtk.Image();
     this.imageDoc.Name = "imageDoc";
     w5.Add(this.imageDoc);
     this.scrolledImage.Add(w5);
     this.hpaned1.Add(this.scrolledImage);
     this.hbox2.Add(this.hpaned1);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.hpaned1]));
     w9.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     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.comboScaner               = new global::Gamma.Widgets.yListComboBox();
     this.comboScaner.Name          = "comboScaner";
     this.comboScaner.AddIfNotExist = false;
     this.comboScaner.DefaultFirst  = false;
     this.table1.Add(this.comboScaner);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.comboScaner]));
     w10.LeftAttach  = ((uint)(1));
     w10.RightAttach = ((uint)(2));
     w10.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 w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add(this.table1);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.table1]));
     w12.Position = 0;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.tableFieldWidgets               = new global::Gtk.Table(((uint)(5)), ((uint)(3)), false);
     this.tableFieldWidgets.Name          = "tableFieldWidgets";
     this.tableFieldWidgets.RowSpacing    = ((uint)(6));
     this.tableFieldWidgets.ColumnSpacing = ((uint)(6));
     // Container child tableFieldWidgets.Gtk.Table+TableChild
     this.comboType      = global::Gtk.ComboBox.NewText();
     this.comboType.Name = "comboType";
     this.tableFieldWidgets.Add(this.comboType);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets[this.comboType]));
     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 tableFieldWidgets.Gtk.Table+TableChild
     this.dateDoc                = new global::QSWidgetLib.DatePicker();
     this.dateDoc.Events         = ((global::Gdk.EventMask)(256));
     this.dateDoc.Name           = "dateDoc";
     this.dateDoc.WithTime       = false;
     this.dateDoc.Date           = new global::System.DateTime(0);
     this.dateDoc.IsEditable     = true;
     this.dateDoc.AutoSeparation = true;
     this.tableFieldWidgets.Add(this.dateDoc);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets[this.dateDoc]));
     w14.TopAttach    = ((uint)(3));
     w14.BottomAttach = ((uint)(4));
     w14.LeftAttach   = ((uint)(1));
     w14.RightAttach  = ((uint)(2));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.Gtk.Table+TableChild
     this.entryNumber               = new global::Gtk.Entry();
     this.entryNumber.CanFocus      = true;
     this.entryNumber.Name          = "entryNumber";
     this.entryNumber.IsEditable    = true;
     this.entryNumber.InvisibleChar = '●';
     this.tableFieldWidgets.Add(this.entryNumber);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets[this.entryNumber]));
     w15.TopAttach    = ((uint)(2));
     w15.BottomAttach = ((uint)(3));
     w15.LeftAttach   = ((uint)(1));
     w15.RightAttach  = ((uint)(2));
     w15.XOptions     = ((global::Gtk.AttachOptions)(4));
     w15.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.Gtk.Table+TableChild
     this.eventboxDateIcon      = new global::Gtk.EventBox();
     this.eventboxDateIcon.Name = "eventboxDateIcon";
     // Container child eventboxDateIcon.Gtk.Container+ContainerChild
     this.IconDate        = new global::Gtk.Image();
     this.IconDate.Name   = "IconDate";
     this.IconDate.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", global::Gtk.IconSize.Button);
     this.eventboxDateIcon.Add(this.IconDate);
     this.tableFieldWidgets.Add(this.eventboxDateIcon);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets[this.eventboxDateIcon]));
     w17.TopAttach    = ((uint)(3));
     w17.BottomAttach = ((uint)(4));
     w17.LeftAttach   = ((uint)(2));
     w17.RightAttach  = ((uint)(3));
     w17.XOptions     = ((global::Gtk.AttachOptions)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.Gtk.Table+TableChild
     this.eventboxNumberIcon      = new global::Gtk.EventBox();
     this.eventboxNumberIcon.Name = "eventboxNumberIcon";
     // Container child eventboxNumberIcon.Gtk.Container+ContainerChild
     this.IconNumber        = new global::Gtk.Image();
     this.IconNumber.Name   = "IconNumber";
     this.IconNumber.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", global::Gtk.IconSize.Button);
     this.eventboxNumberIcon.Add(this.IconNumber);
     this.tableFieldWidgets.Add(this.eventboxNumberIcon);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets[this.eventboxNumberIcon]));
     w19.TopAttach    = ((uint)(2));
     w19.BottomAttach = ((uint)(3));
     w19.LeftAttach   = ((uint)(2));
     w19.RightAttach  = ((uint)(3));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Поля текущего документа</b>");
     this.label1.UseMarkup = true;
     this.label1.Justify   = ((global::Gtk.Justification)(2));
     this.tableFieldWidgets.Add(this.label1);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets[this.label1]));
     w20.RightAttach = ((uint)(3));
     w20.XOptions    = ((global::Gtk.AttachOptions)(4));
     w20.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.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("Дата<span foreground=\"red\">*</span>:");
     this.label10.UseMarkup = true;
     this.tableFieldWidgets.Add(this.label10);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets[this.label10]));
     w21.TopAttach    = ((uint)(3));
     w21.BottomAttach = ((uint)(4));
     w21.XOptions     = ((global::Gtk.AttachOptions)(4));
     w21.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.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.tableFieldWidgets.Add(this.label11);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets[this.label11]));
     w22.TopAttach    = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.XOptions     = ((global::Gtk.AttachOptions)(4));
     w22.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.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.tableFieldWidgets.Add(this.label9);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets[this.label9]));
     w23.TopAttach    = ((uint)(2));
     w23.BottomAttach = ((uint)(3));
     w23.XOptions     = ((global::Gtk.AttachOptions)(4));
     w23.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add(this.tableFieldWidgets);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.tableFieldWidgets]));
     w24.Position = 1;
     // Container child vbox3.Gtk.Box+BoxChild
     this.checkDiagnostic               = new global::Gtk.CheckButton();
     this.checkDiagnostic.CanFocus      = true;
     this.checkDiagnostic.Name          = "checkDiagnostic";
     this.checkDiagnostic.Label         = global::Mono.Unix.Catalog.GetString("Диагностика распознования");
     this.checkDiagnostic.DrawIndicator = true;
     this.checkDiagnostic.UseUnderline  = true;
     this.vbox3.Add(this.checkDiagnostic);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkDiagnostic]));
     w25.Position = 2;
     w25.Expand   = false;
     w25.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.buttonLog              = new global::Gtk.Button();
     this.buttonLog.CanFocus     = true;
     this.buttonLog.Name         = "buttonLog";
     this.buttonLog.UseUnderline = true;
     this.buttonLog.Label        = global::Mono.Unix.Catalog.GetString("Показать журнал распознования.");
     global::Gtk.Image w26 = new global::Gtk.Image();
     w26.Pixbuf           = global::Stetic.IconLoader.LoadIcon(this, "gtk-execute", global::Gtk.IconSize.Button);
     this.buttonLog.Image = w26;
     this.vbox3.Add(this.buttonLog);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.buttonLog]));
     w27.Position = 3;
     w27.Expand   = false;
     w27.Fill     = false;
     this.hbox2.Add(this.vbox3);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox3]));
     w28.Position = 1;
     w28.Expand   = false;
     w28.Fill     = false;
     this.vbox2.Add(this.hbox2);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2]));
     w29.Position = 1;
     // Container child vbox2.Gtk.Box+BoxChild
     this.progresswork      = new global::Gtk.ProgressBar();
     this.progresswork.Name = "progresswork";
     this.vbox2.Add(this.progresswork);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.progresswork]));
     w30.Position = 2;
     w30.Expand   = false;
     w30.Fill     = false;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 1053;
     this.DefaultHeight = 478;
     this.Show();
     this.openAction.Activated              += new global::System.EventHandler(this.OnOpenActionActivated);
     this.ScanAction.Activated              += new global::System.EventHandler(this.OnScanActionActivated);
     this.clearAction.Activated             += new global::System.EventHandler(this.OnClearActionActivated);
     this.saveAction.Activated              += new global::System.EventHandler(this.OnSaveActionActivated);
     this.zoom100Action.Activated           += new global::System.EventHandler(this.OnZoom100ActionActivated);
     this.zoomFitAction.Activated           += new global::System.EventHandler(this.OnZoomFitActionActivated);
     this.zoomInAction.Activated            += new global::System.EventHandler(this.OnZoomInActionActivated);
     this.zoomOutAction.Activated           += new global::System.EventHandler(this.OnZoomOutActionActivated);
     this.Rotate90Action.Activated          += new global::System.EventHandler(this.OnRotate90ActionActivated);
     this.Rotate180Action.Activated         += new global::System.EventHandler(this.OnRotate180ActionActivated);
     this.Rotate270Action.Activated         += new global::System.EventHandler(this.OnRotate270ActionActivated);
     this.ActionRecognize.Activated         += new global::System.EventHandler(this.OnActionRecognizeActivated);
     this.treeviewImages.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.OnTreeviewImagesButtonReleaseEvent);
     this.imageDoc.DragMotion += new global::Gtk.DragMotionHandler(this.OnImageDocDragMotion);
     this.comboScaner.Changed += new global::System.EventHandler(this.OnComboScanerChanged);
     this.eventboxNumberIcon.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.OnEventboxNumberIconButtonPressEvent);
     this.eventboxDateIcon.ButtonPressEvent   += new global::Gtk.ButtonPressEventHandler(this.OnEventboxDateIconButtonPressEvent);
     this.entryNumber.Changed += new global::System.EventHandler(this.OnEntryNumberChanged);
     this.dateDoc.DateChanged += new global::System.EventHandler(this.OnDateDocDateChanged);
     this.comboType.Changed   += new global::System.EventHandler(this.OnComboTypeChanged);
     this.buttonLog.Clicked   += new global::System.EventHandler(this.OnButtonLogClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget earchive.ViewDoc
     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 = "earchive.ViewDoc";
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.DestroyWithParent = true;
     this.Gravity = ((global::Gdk.Gravity)(5));
     // Internal child earchive.ViewDoc.VBox
     global::Gtk.VBox w2 = this.VBox;
     w2.Name = "dialog1_VBox";
     w2.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'/></ui>");
     this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
     this.toolbar1.Name = "toolbar1";
     this.toolbar1.ShowArrow = false;
     w2.Add (this.toolbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w2 [this.toolbar1]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.scrolledImages = new global::Gtk.ScrolledWindow ();
     this.scrolledImages.CanFocus = true;
     this.scrolledImages.Name = "scrolledImages";
     this.scrolledImages.VscrollbarPolicy = ((global::Gtk.PolicyType)(0));
     this.scrolledImages.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledImages.Gtk.Container+ContainerChild
     global::Gtk.Viewport w4 = new global::Gtk.Viewport ();
     w4.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.vboxImages = new global::Gtk.VBox ();
     this.vboxImages.Name = "vboxImages";
     this.vboxImages.Spacing = 6;
     w4.Add (this.vboxImages);
     this.scrolledImages.Add (w4);
     this.hbox3.Add (this.scrolledImages);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.scrolledImages]));
     w7.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.tableProperty = new global::Gtk.Table (((uint)(7)), ((uint)(2)), false);
     this.tableProperty.Name = "tableProperty";
     this.tableProperty.RowSpacing = ((uint)(6));
     this.tableProperty.ColumnSpacing = ((uint)(6));
     // Container child tableProperty.Gtk.Table+TableChild
     this.dateDoc = new global::QSWidgetLib.DatePicker ();
     this.dateDoc.Events = ((global::Gdk.EventMask)(256));
     this.dateDoc.Name = "dateDoc";
     this.dateDoc.Date = new global::System.DateTime (0);
     this.dateDoc.IsEditable = true;
     this.dateDoc.AutoSeparation = true;
     this.tableProperty.Add (this.dateDoc);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableProperty [this.dateDoc]));
     w8.TopAttach = ((uint)(4));
     w8.BottomAttach = ((uint)(5));
     w8.LeftAttach = ((uint)(1));
     w8.RightAttach = ((uint)(2));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableProperty.Gtk.Table+TableChild
     this.entryNumber = new global::Gtk.Entry ();
     this.entryNumber.CanFocus = true;
     this.entryNumber.Name = "entryNumber";
     this.entryNumber.IsEditable = true;
     this.entryNumber.InvisibleChar = '●';
     this.tableProperty.Add (this.entryNumber);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableProperty [this.entryNumber]));
     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 tableProperty.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.tableProperty.Add (this.label1);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableProperty [this.label1]));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableProperty.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 ("Номер<span foreground=\"red\">*</span>:");
     this.label3.UseMarkup = true;
     this.tableProperty.Add (this.label3);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableProperty [this.label3]));
     w11.TopAttach = ((uint)(3));
     w11.BottomAttach = ((uint)(4));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableProperty.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.tableProperty.Add (this.label4);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableProperty [this.label4]));
     w12.TopAttach = ((uint)(4));
     w12.BottomAttach = ((uint)(5));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableProperty.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.tableProperty.Add (this.label5);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableProperty [this.label5]));
     w13.TopAttach = ((uint)(1));
     w13.BottomAttach = ((uint)(2));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableProperty.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.tableProperty.Add (this.label6);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableProperty [this.label6]));
     w14.TopAttach = ((uint)(2));
     w14.BottomAttach = ((uint)(3));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableProperty.Gtk.Table+TableChild
     this.labelCreateDate = new global::Gtk.Label ();
     this.labelCreateDate.Name = "labelCreateDate";
     this.labelCreateDate.LabelProp = global::Mono.Unix.Catalog.GetString ("label7");
     this.tableProperty.Add (this.labelCreateDate);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableProperty [this.labelCreateDate]));
     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 tableProperty.Gtk.Table+TableChild
     this.labelCreateUser = new global::Gtk.Label ();
     this.labelCreateUser.Name = "labelCreateUser";
     this.labelCreateUser.LabelProp = global::Mono.Unix.Catalog.GetString ("label8");
     this.tableProperty.Add (this.labelCreateUser);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableProperty [this.labelCreateUser]));
     w16.TopAttach = ((uint)(2));
     w16.BottomAttach = ((uint)(3));
     w16.LeftAttach = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableProperty.Gtk.Table+TableChild
     this.labelType = new global::Gtk.Label ();
     this.labelType.Name = "labelType";
     this.labelType.LabelProp = global::Mono.Unix.Catalog.GetString ("Не указан");
     this.tableProperty.Add (this.labelType);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableProperty [this.labelType]));
     w17.LeftAttach = ((uint)(1));
     w17.RightAttach = ((uint)(2));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add (this.tableProperty);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.tableProperty]));
     w18.Position = 0;
     // Container child vbox3.Gtk.Box+BoxChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.Xalign = 0F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Комментарии:");
     this.label2.UseMarkup = true;
     this.vbox3.Add (this.label2);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label2]));
     w19.Position = 1;
     w19.Expand = false;
     w19.Fill = false;
     // Container child vbox3.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.textviewComments = new global::Gtk.TextView ();
     this.textviewComments.CanFocus = true;
     this.textviewComments.Name = "textviewComments";
     this.GtkScrolledWindow.Add (this.textviewComments);
     this.vbox3.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow]));
     w21.Position = 2;
     this.hbox3.Add (this.vbox3);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox3]));
     w22.Position = 1;
     w22.Expand = false;
     w22.Fill = false;
     w2.Add (this.hbox3);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(w2 [this.hbox3]));
     w23.Position = 1;
     // Internal child earchive.ViewDoc.ActionArea
     global::Gtk.HButtonBox w24 = this.ActionArea;
     w24.Name = "dialog1_ActionArea";
     w24.Spacing = 10;
     w24.BorderWidth = ((uint)(5));
     w24.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonPDF = new global::Gtk.Button ();
     this.buttonPDF.CanFocus = true;
     this.buttonPDF.Name = "buttonPDF";
     this.buttonPDF.UseUnderline = true;
     this.buttonPDF.Label = global::Mono.Unix.Catalog.GetString ("Сохранить в PDF");
     global::Gtk.Image w25 = new global::Gtk.Image ();
     w25.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("earchive.icons.page_pdf.ico");
     this.buttonPDF.Image = w25;
     w24.Add (this.buttonPDF);
     global::Gtk.ButtonBox.ButtonBoxChild w26 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w24 [this.buttonPDF]));
     w26.Expand = false;
     w26.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 w27 = new global::Gtk.Image ();
     w27.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w27;
     this.AddActionWidget (this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w28 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w24 [this.buttonCancel]));
     w28.Position = 1;
     w28.Expand = false;
     w28.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 w29 = new global::Gtk.Image ();
     w29.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu);
     this.buttonOk.Image = w29;
     this.AddActionWidget (this.buttonOk, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w30 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w24 [this.buttonOk]));
     w30.Position = 2;
     w30.Expand = false;
     w30.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 708;
     this.DefaultHeight = 435;
     this.Show ();
     this.entryNumber.Changed += new global::System.EventHandler (this.OnEntryNumberChanged);
     this.dateDoc.DateChanged += new global::System.EventHandler (this.OnDateDocDateChanged);
     this.buttonPDF.Clicked += new global::System.EventHandler (this.OnButtonPDFClicked);
     this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget bazar.IncomeSlip
     this.Name = "bazar.IncomeSlip";
     this.Title = global::Mono.Unix.Catalog.GetString ("Новый приходный ордер");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child bazar.IncomeSlip.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.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)(3));
     // Container child table1.Gtk.Table+TableChild
     this.comboAccrual = new global::Gtk.ComboBox ();
     this.comboAccrual.Name = "comboAccrual";
     this.table1.Add (this.comboAccrual);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboAccrual]));
     w2.TopAttach = ((uint)(5));
     w2.BottomAttach = ((uint)(6));
     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.comboCash = new global::Gtk.ComboBox ();
     this.comboCash.Name = "comboCash";
     this.table1.Add (this.comboCash);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboCash]));
     w3.TopAttach = ((uint)(2));
     w3.BottomAttach = ((uint)(3));
     w3.LeftAttach = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.XOptions = ((global::Gtk.AttachOptions)(4));
     w3.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.comboContract = new global::Gtk.ComboBox ();
     this.comboContract.Name = "comboContract";
     this.table1.Add (this.comboContract);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboContract]));
     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.comboOperation = global::Gtk.ComboBox.NewText ();
     this.comboOperation.AppendText (global::Mono.Unix.Catalog.GetString ("Прочий приход"));
     this.comboOperation.AppendText (global::Mono.Unix.Catalog.GetString ("Возврат от подотчетного лица"));
     this.comboOperation.AppendText (global::Mono.Unix.Catalog.GetString ("Оплата по начислению"));
     this.comboOperation.Name = "comboOperation";
     this.comboOperation.Active = 0;
     this.table1.Add (this.comboOperation);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboOperation]));
     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.comboOrg = new global::Gtk.ComboBox ();
     this.comboOrg.Name = "comboOrg";
     this.table1.Add (this.comboOrg);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboOrg]));
     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 table1.Gtk.Table+TableChild
     this.hboxAccountable = new global::Gtk.HBox ();
     this.hboxAccountable.Name = "hboxAccountable";
     this.hboxAccountable.Spacing = 6;
     // Container child hboxAccountable.Gtk.Box+BoxChild
     this.entryAccountable = new global::Gtk.Entry ();
     this.entryAccountable.CanFocus = true;
     this.entryAccountable.Name = "entryAccountable";
     this.entryAccountable.IsEditable = false;
     this.entryAccountable.InvisibleChar = '●';
     this.hboxAccountable.Add (this.entryAccountable);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxAccountable [this.entryAccountable]));
     w7.Position = 0;
     // Container child hboxAccountable.Gtk.Box+BoxChild
     this.buttonAccountableEdit = new global::Gtk.Button ();
     this.buttonAccountableEdit.CanFocus = true;
     this.buttonAccountableEdit.Name = "buttonAccountableEdit";
     this.buttonAccountableEdit.UseUnderline = true;
     global::Gtk.Image w8 = new global::Gtk.Image ();
     w8.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu);
     this.buttonAccountableEdit.Image = w8;
     this.hboxAccountable.Add (this.buttonAccountableEdit);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxAccountable [this.buttonAccountableEdit]));
     w9.Position = 1;
     w9.Expand = false;
     w9.Fill = false;
     this.table1.Add (this.hboxAccountable);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.hboxAccountable]));
     w10.TopAttach = ((uint)(6));
     w10.BottomAttach = ((uint)(7));
     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.hboxLessee = new global::Gtk.HBox ();
     this.hboxLessee.Name = "hboxLessee";
     this.hboxLessee.Spacing = 6;
     // Container child hboxLessee.Gtk.Box+BoxChild
     this.entryLessee = new global::Gtk.Entry ();
     this.entryLessee.CanFocus = true;
     this.entryLessee.Name = "entryLessee";
     this.entryLessee.IsEditable = false;
     this.entryLessee.InvisibleChar = '●';
     this.hboxLessee.Add (this.entryLessee);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxLessee [this.entryLessee]));
     w11.Position = 0;
     // Container child hboxLessee.Gtk.Box+BoxChild
     this.buttonLesseeEdit = new global::Gtk.Button ();
     this.buttonLesseeEdit.TooltipMarkup = "Выбрать контрагента";
     this.buttonLesseeEdit.CanFocus = true;
     this.buttonLesseeEdit.Name = "buttonLesseeEdit";
     this.buttonLesseeEdit.UseUnderline = true;
     global::Gtk.Image w12 = new global::Gtk.Image ();
     w12.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu);
     this.buttonLesseeEdit.Image = w12;
     this.hboxLessee.Add (this.buttonLesseeEdit);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hboxLessee [this.buttonLesseeEdit]));
     w13.Position = 1;
     w13.Expand = false;
     w13.Fill = false;
     this.table1.Add (this.hboxLessee);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.hboxLessee]));
     w14.TopAttach = ((uint)(3));
     w14.BottomAttach = ((uint)(4));
     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.label11 = new global::Gtk.Label ();
     this.label11.Name = "label11";
     this.label11.Xalign = 1F;
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Вид операции:</b>");
     this.label11.UseMarkup = true;
     this.table1.Add (this.label11);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label11]));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.Xalign = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Организация<span foreground=\"red\">*</span>:");
     this.label3.UseMarkup = true;
     this.table1.Add (this.label3);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w16.TopAttach = ((uint)(1));
     w16.BottomAttach = ((uint)(2));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.Xalign = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Касса<span foreground=\"red\">*</span>:");
     this.label4.UseMarkup = true;
     this.table1.Add (this.label4);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
     w17.TopAttach = ((uint)(2));
     w17.BottomAttach = ((uint)(3));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelAccountable = new global::Gtk.Label ();
     this.labelAccountable.Name = "labelAccountable";
     this.labelAccountable.LabelProp = global::Mono.Unix.Catalog.GetString ("Подотчетное лицо<span foreground=\"red\">*</span>:");
     this.labelAccountable.UseMarkup = true;
     this.table1.Add (this.labelAccountable);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelAccountable]));
     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.labelAccrual = new global::Gtk.Label ();
     this.labelAccrual.Name = "labelAccrual";
     this.labelAccrual.Xalign = 1F;
     this.labelAccrual.LabelProp = global::Mono.Unix.Catalog.GetString ("По начислению<span foreground=\"red\">*</span>:");
     this.labelAccrual.UseMarkup = true;
     this.table1.Add (this.labelAccrual);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelAccrual]));
     w19.TopAttach = ((uint)(5));
     w19.BottomAttach = ((uint)(6));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelContract = new global::Gtk.Label ();
     this.labelContract.Name = "labelContract";
     this.labelContract.Xalign = 1F;
     this.labelContract.LabelProp = global::Mono.Unix.Catalog.GetString ("Договор:");
     this.table1.Add (this.labelContract);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelContract]));
     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.labelLessee = new global::Gtk.Label ();
     this.labelLessee.Name = "labelLessee";
     this.labelLessee.Xalign = 1F;
     this.labelLessee.LabelProp = global::Mono.Unix.Catalog.GetString ("Арендатор<span foreground=\"red\">*</span>:");
     this.labelLessee.UseMarkup = true;
     this.table1.Add (this.labelLessee);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelLessee]));
     w21.TopAttach = ((uint)(3));
     w21.BottomAttach = ((uint)(4));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     this.hbox1.Add (this.table1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table1]));
     w22.Position = 0;
     w22.Expand = false;
     w22.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.table2 = new global::Gtk.Table (((uint)(5)), ((uint)(2)), false);
     this.table2.Name = "table2";
     this.table2.RowSpacing = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     this.table2.BorderWidth = ((uint)(3));
     // Container child table2.Gtk.Table+TableChild
     this.dateSlip = new global::QSWidgetLib.DatePicker ();
     this.dateSlip.Sensitive = false;
     this.dateSlip.Events = ((global::Gdk.EventMask)(256));
     this.dateSlip.Name = "dateSlip";
     this.dateSlip.Date = new global::System.DateTime (0);
     this.dateSlip.IsEditable = true;
     this.dateSlip.AutoSeparation = true;
     this.table2.Add (this.dateSlip);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table2 [this.dateSlip]));
     w23.TopAttach = ((uint)(1));
     w23.BottomAttach = ((uint)(2));
     w23.LeftAttach = ((uint)(1));
     w23.RightAttach = ((uint)(2));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.entryNumber = new global::Gtk.Entry ();
     this.entryNumber.Sensitive = false;
     this.entryNumber.CanFocus = true;
     this.entryNumber.Name = "entryNumber";
     this.entryNumber.Text = global::Mono.Unix.Catalog.GetString ("Не назначен");
     this.entryNumber.IsEditable = false;
     this.entryNumber.InvisibleChar = '●';
     this.table2.Add (this.entryNumber);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2 [this.entryNumber]));
     w24.LeftAttach = ((uint)(1));
     w24.RightAttach = ((uint)(2));
     w24.XOptions = ((global::Gtk.AttachOptions)(4));
     w24.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.entryUser = new global::Gtk.Entry ();
     this.entryUser.Sensitive = false;
     this.entryUser.CanFocus = true;
     this.entryUser.Name = "entryUser";
     this.entryUser.IsEditable = true;
     this.entryUser.InvisibleChar = '●';
     this.table2.Add (this.entryUser);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2 [this.entryUser]));
     w25.TopAttach = ((uint)(2));
     w25.BottomAttach = ((uint)(3));
     w25.LeftAttach = ((uint)(1));
     w25.RightAttach = ((uint)(2));
     w25.XOptions = ((global::Gtk.AttachOptions)(4));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.entryIncome = new global::Gtk.Entry ();
     this.entryIncome.CanFocus = true;
     this.entryIncome.Name = "entryIncome";
     this.entryIncome.IsEditable = false;
     this.entryIncome.InvisibleChar = '●';
     this.hbox4.Add (this.entryIncome);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.entryIncome]));
     w26.Position = 0;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonIncome = new global::Gtk.Button ();
     this.buttonIncome.CanFocus = true;
     this.buttonIncome.Name = "buttonIncome";
     this.buttonIncome.UseUnderline = true;
     global::Gtk.Image w27 = new global::Gtk.Image ();
     w27.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu);
     this.buttonIncome.Image = w27;
     this.hbox4.Add (this.buttonIncome);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonIncome]));
     w28.Position = 1;
     w28.Expand = false;
     w28.Fill = false;
     this.table2.Add (this.hbox4);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table2 [this.hbox4]));
     w29.TopAttach = ((uint)(3));
     w29.BottomAttach = ((uint)(4));
     w29.LeftAttach = ((uint)(1));
     w29.RightAttach = ((uint)(2));
     w29.XOptions = ((global::Gtk.AttachOptions)(4));
     w29.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.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.table2.Add (this.label2);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table2 [this.label2]));
     w30.XOptions = ((global::Gtk.AttachOptions)(4));
     w30.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 ("Дата документа:");
     this.table2.Add (this.label6);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table2 [this.label6]));
     w31.TopAttach = ((uint)(1));
     w31.BottomAttach = ((uint)(2));
     w31.XOptions = ((global::Gtk.AttachOptions)(4));
     w31.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 w32 = ((global::Gtk.Table.TableChild)(this.table2 [this.label7]));
     w32.TopAttach = ((uint)(2));
     w32.BottomAttach = ((uint)(3));
     w32.XOptions = ((global::Gtk.AttachOptions)(4));
     w32.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 w33 = ((global::Gtk.Table.TableChild)(this.table2 [this.label9]));
     w33.TopAttach = ((uint)(4));
     w33.BottomAttach = ((uint)(5));
     w33.XOptions = ((global::Gtk.AttachOptions)(4));
     w33.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.labelIncomeItem = new global::Gtk.Label ();
     this.labelIncomeItem.Name = "labelIncomeItem";
     this.labelIncomeItem.Xalign = 1F;
     this.labelIncomeItem.LabelProp = global::Mono.Unix.Catalog.GetString ("Статья дохода<span foreground=\"red\">*</span>:");
     this.labelIncomeItem.UseMarkup = true;
     this.table2.Add (this.labelIncomeItem);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelIncomeItem]));
     w34.TopAttach = ((uint)(3));
     w34.BottomAttach = ((uint)(4));
     w34.XOptions = ((global::Gtk.AttachOptions)(4));
     w34.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.spinSum = new global::Gtk.SpinButton (0, 100000000, 100);
     this.spinSum.CanFocus = true;
     this.spinSum.Name = "spinSum";
     this.spinSum.Adjustment.PageIncrement = 1000;
     this.spinSum.ClimbRate = 1;
     this.spinSum.Digits = ((uint)(2));
     this.spinSum.Numeric = true;
     this.table2.Add (this.spinSum);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table2 [this.spinSum]));
     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));
     this.hbox1.Add (this.table2);
     global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table2]));
     w36.Position = 1;
     w36.Expand = false;
     w36.Fill = false;
     this.vbox2.Add (this.hbox1);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w37.Position = 0;
     w37.Expand = false;
     w37.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.separationpayment = new global::bazar.SeparationPayment ();
     this.separationpayment.Events = ((global::Gdk.EventMask)(256));
     this.separationpayment.Name = "separationpayment";
     this.separationpayment.PaymentSum = 0m;
     this.separationpayment.PaymentId = 0;
     this.separationpayment.AccrualId = 0;
     this.vbox2.Add (this.separationpayment);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.separationpayment]));
     w38.Position = 1;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.Xalign = 0F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Основание:");
     this.vbox2.Add (this.label5);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label5]));
     w39.Position = 2;
     w39.Expand = false;
     w39.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     this.GtkScrolledWindow1.BorderWidth = ((uint)(3));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.textviewDetails = new global::Gtk.TextView ();
     this.textviewDetails.CanFocus = true;
     this.textviewDetails.Name = "textviewDetails";
     this.textviewDetails.WrapMode = ((global::Gtk.WrapMode)(2));
     this.GtkScrolledWindow1.Add (this.textviewDetails);
     this.vbox2.Add (this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow1]));
     w41.Position = 3;
     w1.Add (this.vbox2);
     global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2]));
     w42.Position = 0;
     // Internal child bazar.IncomeSlip.ActionArea
     global::Gtk.HButtonBox w43 = this.ActionArea;
     w43.Name = "dialog1_ActionArea";
     w43.Spacing = 10;
     w43.BorderWidth = ((uint)(5));
     w43.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 w44 = new global::Gtk.Image ();
     w44.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-print", global::Gtk.IconSize.Button);
     this.buttonPrint.Image = w44;
     this.AddActionWidget (this.buttonPrint, 0);
     global::Gtk.ButtonBox.ButtonBoxChild w45 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w43 [this.buttonPrint]));
     w45.Expand = false;
     w45.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 w46 = new global::Gtk.Image ();
     w46.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w46;
     this.AddActionWidget (this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w47 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w43 [this.buttonCancel]));
     w47.Position = 1;
     w47.Expand = false;
     w47.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 w48 = new global::Gtk.Image ();
     w48.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu);
     this.buttonOk.Image = w48;
     this.AddActionWidget (this.buttonOk, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w49 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w43 [this.buttonOk]));
     w49.Position = 2;
     w49.Expand = false;
     w49.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 709;
     this.DefaultHeight = 625;
     this.Show ();
     this.buttonLesseeEdit.Clicked += new global::System.EventHandler (this.OnButtonLesseeEditClicked);
     this.buttonAccountableEdit.Clicked += new global::System.EventHandler (this.OnButtonAccountableEditClicked);
     this.comboOrg.Changed += new global::System.EventHandler (this.OnComboOrgChanged);
     this.comboOperation.Changed += new global::System.EventHandler (this.OnComboOperationChanged);
     this.comboContract.Changed += new global::System.EventHandler (this.OnComboContractChanged);
     this.comboCash.Changed += new global::System.EventHandler (this.OnComboCashChanged);
     this.comboAccrual.Changed += new global::System.EventHandler (this.OnComboAccrualChanged);
     this.spinSum.ValueChanged += new global::System.EventHandler (this.OnSpinSumValueChanged);
     this.buttonIncome.Clicked += new global::System.EventHandler (this.OnButtonIncomeClicked);
     this.separationpayment.CanSaveStateChanged += new global::System.EventHandler (this.OnSeparationpaymentCanSaveStateChanged);
     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 CarGlass.PrintDay
     this.Name = "CarGlass.PrintDay";
     this.Title = global::Mono.Unix.Catalog.GetString ("Печать календаря на день");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child CarGlass.PrintDay.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Календарь");
     w1.Add (this.label2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.label2]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     this.hbox3.BorderWidth = ((uint)(9));
     // Container child hbox3.Gtk.Box+BoxChild
     this.radioinstall = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Установка"));
     this.radioinstall.CanFocus = true;
     this.radioinstall.Name = "radioinstall";
     this.radioinstall.Active = true;
     this.radioinstall.DrawIndicator = false;
     this.radioinstall.UseUnderline = true;
     this.radioinstall.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.hbox3.Add (this.radioinstall);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.radioinstall]));
     w3.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.radiotinting = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Тонировка"));
     this.radiotinting.CanFocus = true;
     this.radiotinting.Name = "radiotinting";
     this.radiotinting.DrawIndicator = false;
     this.radiotinting.UseUnderline = true;
     this.radiotinting.Group = this.radioinstall.Group;
     this.hbox3.Add (this.radiotinting);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.radiotinting]));
     w4.Position = 1;
     w1.Add (this.hbox3);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox3]));
     w5.Position = 1;
     w5.Expand = false;
     w5.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     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.dateCalendar = new global::QSWidgetLib.DatePicker ();
     this.dateCalendar.Events = ((global::Gdk.EventMask)(256));
     this.dateCalendar.Name = "dateCalendar";
     this.dateCalendar.Date = new global::System.DateTime (0);
     this.dateCalendar.IsEditable = true;
     this.dateCalendar.AutoSeparation = true;
     this.table1.Add (this.dateCalendar);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.dateCalendar]));
     w6.TopAttach = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.LeftAttach = ((uint)(2));
     w6.RightAttach = ((uint)(3));
     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.TopAttach = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.LeftAttach = ((uint)(1));
     w7.RightAttach = ((uint)(2));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     w1.Add (this.table1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(w1 [this.table1]));
     w8.Position = 2;
     // Internal child CarGlass.PrintDay.ActionArea
     global::Gtk.HButtonBox w9 = this.ActionArea;
     w9.Name = "dialog1_ActionArea";
     w9.Spacing = 10;
     w9.BorderWidth = ((uint)(5));
     w9.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.UseStock = true;
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = "gtk-cancel";
     this.AddActionWidget (this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9 [this.buttonCancel]));
     w10.Expand = false;
     w10.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.UseStock = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label = "gtk-ok";
     this.AddActionWidget (this.buttonOk, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9 [this.buttonOk]));
     w11.Position = 1;
     w11.Expand = false;
     w11.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 311;
     this.DefaultHeight = 194;
     this.Show ();
     this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget bazar.ContractsProlongation
     this.Name = "bazar.ContractsProlongation";
     this.Title = global::Mono.Unix.Catalog.GetString ("Обработка договоров");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child bazar.ContractsProlongation.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.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 = 0;
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(4)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.dateFrom = new global::QSWidgetLib.DatePicker ();
     this.dateFrom.Sensitive = false;
     this.dateFrom.Events = ((global::Gdk.EventMask)(256));
     this.dateFrom.Name = "dateFrom";
     this.dateFrom.Date = new global::System.DateTime (0);
     this.dateFrom.IsEditable = true;
     this.dateFrom.AutoSeparation = true;
     this.table1.Add (this.dateFrom);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.dateFrom]));
     w2.TopAttach = ((uint)(1));
     w2.BottomAttach = ((uint)(2));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.dateTo = new global::QSWidgetLib.DatePicker ();
     this.dateTo.Sensitive = false;
     this.dateTo.Events = ((global::Gdk.EventMask)(256));
     this.dateTo.Name = "dateTo";
     this.dateTo.Date = new global::System.DateTime (0);
     this.dateTo.IsEditable = true;
     this.dateTo.AutoSeparation = true;
     this.table1.Add (this.dateTo);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.dateTo]));
     w3.TopAttach = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.LeftAttach = ((uint)(3));
     w3.RightAttach = ((uint)(4));
     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.TopAttach = ((uint)(1));
     w4.BottomAttach = ((uint)(2));
     w4.LeftAttach = ((uint)(2));
     w4.RightAttach = ((uint)(3));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.radiobuttonActiveOnly = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Только активные"));
     this.radiobuttonActiveOnly.CanFocus = true;
     this.radiobuttonActiveOnly.Name = "radiobuttonActiveOnly";
     this.radiobuttonActiveOnly.Active = true;
     this.radiobuttonActiveOnly.DrawIndicator = true;
     this.radiobuttonActiveOnly.UseUnderline = true;
     this.radiobuttonActiveOnly.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.table1.Add (this.radiobuttonActiveOnly);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.radiobuttonActiveOnly]));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.radiobuttonDates = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Дата окончания в диапазоне:"));
     this.radiobuttonDates.CanFocus = true;
     this.radiobuttonDates.Name = "radiobuttonDates";
     this.radiobuttonDates.DrawIndicator = true;
     this.radiobuttonDates.UseUnderline = true;
     this.radiobuttonDates.Group = this.radiobuttonActiveOnly.Group;
     this.table1.Add (this.radiobuttonDates);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.radiobuttonDates]));
     w6.TopAttach = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox2.Add (this.table1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1]));
     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.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.checkAll = new global::Gtk.CheckButton ();
     this.checkAll.CanFocus = true;
     this.checkAll.Name = "checkAll";
     this.checkAll.Label = global::Mono.Unix.Catalog.GetString ("Выбрать все");
     this.checkAll.DrawIndicator = true;
     this.checkAll.UseUnderline = true;
     this.hbox3.Add (this.checkAll);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.checkAll]));
     w9.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.Xalign = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Поиск:");
     this.hbox3.Add (this.label4);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label4]));
     w10.Position = 1;
     w10.Expand = false;
     w10.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.entrySearch = new global::Gtk.Entry ();
     this.entrySearch.CanFocus = true;
     this.entrySearch.Name = "entrySearch";
     this.entrySearch.IsEditable = true;
     this.entrySearch.InvisibleChar = '●';
     this.hbox3.Add (this.entrySearch);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.entrySearch]));
     w11.Position = 2;
     this.vbox2.Add (this.hbox3);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3]));
     w12.Position = 2;
     w12.Expand = false;
     w12.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeviewContracts = new global::Gtk.TreeView ();
     this.treeviewContracts.CanFocus = true;
     this.treeviewContracts.Name = "treeviewContracts";
     this.GtkScrolledWindow.Add (this.treeviewContracts);
     this.vbox2.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow]));
     w14.Position = 3;
     this.notebookMain.Add (this.vbox2);
     // Notebook tab
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Выборка");
     this.notebookMain.SetTabLabel (this.vbox2, this.label2);
     this.label2.ShowAll ();
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.Xalign = 0F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Метод обработки договоров</b>");
     this.label5.UseMarkup = true;
     this.vbox3.Add (this.label5);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label5]));
     w16.Position = 0;
     w16.Expand = false;
     w16.Fill = false;
     // 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.radioCopyMode = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Копирование"));
     this.radioCopyMode.CanFocus = true;
     this.radioCopyMode.Name = "radioCopyMode";
     this.radioCopyMode.Active = true;
     this.radioCopyMode.DrawIndicator = true;
     this.radioCopyMode.UseUnderline = true;
     this.radioCopyMode.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.hbox4.Add (this.radioCopyMode);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.radioCopyMode]));
     w17.Position = 0;
     // Container child hbox4.Gtk.Box+BoxChild
     this.radioChangeMode = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Изменение"));
     this.radioChangeMode.CanFocus = true;
     this.radioChangeMode.Name = "radioChangeMode";
     this.radioChangeMode.DrawIndicator = true;
     this.radioChangeMode.UseUnderline = true;
     this.radioChangeMode.Group = this.radioCopyMode.Group;
     this.hbox4.Add (this.radioChangeMode);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.radioChangeMode]));
     w18.Position = 1;
     this.vbox3.Add (this.hbox4);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4]));
     w19.Position = 1;
     w19.Expand = false;
     w19.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.Xalign = 0F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Изменения в данных</b>");
     this.label6.UseMarkup = true;
     this.vbox3.Add (this.label6);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label6]));
     w20.Position = 2;
     w20.Expand = false;
     w20.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.table2 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false);
     this.table2.Name = "table2";
     this.table2.RowSpacing = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.checkEnd = new global::Gtk.CheckButton ();
     this.checkEnd.CanFocus = true;
     this.checkEnd.Name = "checkEnd";
     this.checkEnd.Label = global::Mono.Unix.Catalog.GetString ("Дата окончания аренды");
     this.checkEnd.DrawIndicator = true;
     this.checkEnd.UseUnderline = true;
     this.table2.Add (this.checkEnd);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table2 [this.checkEnd]));
     w21.TopAttach = ((uint)(2));
     w21.BottomAttach = ((uint)(3));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.checkSign = new global::Gtk.CheckButton ();
     this.checkSign.CanFocus = true;
     this.checkSign.Name = "checkSign";
     this.checkSign.Label = global::Mono.Unix.Catalog.GetString ("Дата подписания");
     this.checkSign.DrawIndicator = true;
     this.checkSign.UseUnderline = true;
     this.table2.Add (this.checkSign);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table2 [this.checkSign]));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.checkStart = new global::Gtk.CheckButton ();
     this.checkStart.CanFocus = true;
     this.checkStart.Name = "checkStart";
     this.checkStart.Label = global::Mono.Unix.Catalog.GetString ("Дата начала аренды");
     this.checkStart.DrawIndicator = true;
     this.checkStart.UseUnderline = true;
     this.table2.Add (this.checkStart);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table2 [this.checkStart]));
     w23.TopAttach = ((uint)(1));
     w23.BottomAttach = ((uint)(2));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.dateEnd = new global::QSWidgetLib.DatePicker ();
     this.dateEnd.Sensitive = false;
     this.dateEnd.Events = ((global::Gdk.EventMask)(256));
     this.dateEnd.Name = "dateEnd";
     this.dateEnd.Date = new global::System.DateTime (0);
     this.dateEnd.IsEditable = true;
     this.dateEnd.AutoSeparation = true;
     this.table2.Add (this.dateEnd);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2 [this.dateEnd]));
     w24.TopAttach = ((uint)(2));
     w24.BottomAttach = ((uint)(3));
     w24.LeftAttach = ((uint)(1));
     w24.RightAttach = ((uint)(2));
     w24.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.dateSign = new global::QSWidgetLib.DatePicker ();
     this.dateSign.Sensitive = false;
     this.dateSign.Events = ((global::Gdk.EventMask)(256));
     this.dateSign.Name = "dateSign";
     this.dateSign.Date = new global::System.DateTime (0);
     this.dateSign.IsEditable = true;
     this.dateSign.AutoSeparation = true;
     this.table2.Add (this.dateSign);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2 [this.dateSign]));
     w25.LeftAttach = ((uint)(1));
     w25.RightAttach = ((uint)(2));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.dateStart = new global::QSWidgetLib.DatePicker ();
     this.dateStart.Sensitive = false;
     this.dateStart.Events = ((global::Gdk.EventMask)(256));
     this.dateStart.Name = "dateStart";
     this.dateStart.Date = new global::System.DateTime (0);
     this.dateStart.IsEditable = true;
     this.dateStart.AutoSeparation = true;
     this.table2.Add (this.dateStart);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2 [this.dateStart]));
     w26.TopAttach = ((uint)(1));
     w26.BottomAttach = ((uint)(2));
     w26.LeftAttach = ((uint)(1));
     w26.RightAttach = ((uint)(2));
     w26.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add (this.table2);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.table2]));
     w27.Position = 3;
     w27.Expand = false;
     w27.Fill = false;
     this.notebookMain.Add (this.vbox3);
     global::Gtk.Notebook.NotebookChild w28 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.vbox3]));
     w28.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.vbox3, this.label3);
     this.label3.ShowAll ();
     w1.Add (this.notebookMain);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(w1 [this.notebookMain]));
     w29.Position = 0;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.labelInfo = new global::Gtk.Label ();
     this.labelInfo.Name = "labelInfo";
     this.labelInfo.LabelProp = global::Mono.Unix.Catalog.GetString ("Договоров не выбрано.");
     this.labelInfo.UseMarkup = true;
     this.labelInfo.Justify = ((global::Gtk.Justification)(2));
     w1.Add (this.labelInfo);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(w1 [this.labelInfo]));
     w30.Position = 1;
     w30.Expand = false;
     w30.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.progressbarMain = new global::Gtk.ProgressBar ();
     this.progressbarMain.Name = "progressbarMain";
     w1.Add (this.progressbarMain);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(w1 [this.progressbarMain]));
     w31.Position = 2;
     w31.Expand = false;
     w31.Fill = false;
     // Internal child bazar.ContractsProlongation.ActionArea
     global::Gtk.HButtonBox w32 = this.ActionArea;
     w32.Name = "dialog1_ActionArea";
     w32.Spacing = 10;
     w32.BorderWidth = ((uint)(5));
     w32.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.UseStock = true;
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = "gtk-cancel";
     this.AddActionWidget (this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w33 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w32 [this.buttonCancel]));
     w33.Expand = false;
     w33.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.UseStock = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label = "gtk-ok";
     this.AddActionWidget (this.buttonOk, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w34 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w32 [this.buttonOk]));
     w34.Position = 1;
     w34.Expand = false;
     w34.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 713;
     this.DefaultHeight = 466;
     this.Show ();
     this.radiobuttonDates.Clicked += new global::System.EventHandler (this.OnRadiobuttonDatesClicked);
     this.radiobuttonActiveOnly.Clicked += new global::System.EventHandler (this.OnRadiobuttonActiveOnlyClicked);
     this.dateTo.DateChanged += new global::System.EventHandler (this.OnDateToDateChanged);
     this.dateFrom.DateChanged += new global::System.EventHandler (this.OnDateFromDateChanged);
     this.checkAll.Clicked += new global::System.EventHandler (this.OnCheckAllClicked);
     this.entrySearch.Changed += new global::System.EventHandler (this.OnEntrySearchChanged);
     this.radioCopyMode.Toggled += new global::System.EventHandler (this.OnRadioCopyModeToggled);
     this.dateStart.DateChanged += new global::System.EventHandler (this.OnDateStartDateChanged);
     this.dateSign.DateChanged += new global::System.EventHandler (this.OnDateSignDateChanged);
     this.dateEnd.DateChanged += new global::System.EventHandler (this.OnDateEndDateChanged);
     this.checkStart.Clicked += new global::System.EventHandler (this.OnCheckStartClicked);
     this.checkSign.Clicked += new global::System.EventHandler (this.OnCheckSignClicked);
     this.checkEnd.Clicked += new global::System.EventHandler (this.OnCheckEndClicked);
     this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
 }
Beispiel #19
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.ActionFileMenu = new global::Gtk.Action ("ActionFileMenu", global::Mono.Unix.Catalog.GetString ("_Файл"), null, null);
     this.ActionFileMenu.ShortLabel = global::Mono.Unix.Catalog.GetString ("Файл");
     w1.Add (this.ActionFileMenu, null);
     this.Action9 = new global::Gtk.Action ("Action9", global::Mono.Unix.Catalog.GetString ("_Справочники"), null, null);
     this.Action9.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Справочники");
     w1.Add (this.Action9, null);
     this.Action10 = new global::Gtk.Action ("Action10", global::Mono.Unix.Catalog.GetString ("Арендаторы"), null, null);
     this.Action10.ShortLabel = global::Mono.Unix.Catalog.GetString ("Арендаторы");
     w1.Add (this.Action10, null);
     this.Action3 = new global::Gtk.Action ("Action3", global::Mono.Unix.Catalog.GetString ("Контактные лица"), null, null);
     this.Action3.ShortLabel = global::Mono.Unix.Catalog.GetString ("Контактные лица");
     w1.Add (this.Action3, null);
     this.Action7 = new global::Gtk.Action ("Action7", global::Mono.Unix.Catalog.GetString ("Типы мест"), null, null);
     this.Action7.ShortLabel = global::Mono.Unix.Catalog.GetString ("Типы мест");
     w1.Add (this.Action7, null);
     this.Action6 = new global::Gtk.Action ("Action6", global::Mono.Unix.Catalog.GetString ("Группа товаров"), null, null);
     this.Action6.ShortLabel = global::Mono.Unix.Catalog.GetString ("Группа товаров");
     w1.Add (this.Action6, null);
     this.Action5 = new global::Gtk.Action ("Action5", global::Mono.Unix.Catalog.GetString ("Тип события"), null, null);
     this.Action5.ShortLabel = global::Mono.Unix.Catalog.GetString ("Тип события");
     w1.Add (this.Action5, null);
     this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("В_ыход"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("В_ыход");
     w1.Add (this.quitAction, null);
     this.Action34 = new global::Gtk.Action ("Action34", global::Mono.Unix.Catalog.GetString ("Справка"), null, null);
     this.Action34.ShortLabel = global::Mono.Unix.Catalog.GetString ("Справка");
     w1.Add (this.Action34, null);
     this.aboutAction = new global::Gtk.Action ("aboutAction", global::Mono.Unix.Catalog.GetString ("О программе..."), null, "gtk-about");
     this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("О программе...");
     w1.Add (this.aboutAction, null);
     this.dialogAuthenticationAction = new global::Gtk.Action ("dialogAuthenticationAction", global::Mono.Unix.Catalog.GetString ("Изменить пароль"), null, "gtk-dialog-authentication");
     this.dialogAuthenticationAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Изменить пароль");
     w1.Add (this.dialogAuthenticationAction, null);
     this.Action15 = new global::Gtk.Action ("Action15", global::Mono.Unix.Catalog.GetString ("Организации"), null, null);
     this.Action15.ShortLabel = global::Mono.Unix.Catalog.GetString ("Организации");
     w1.Add (this.Action15, null);
     this.Action17 = new global::Gtk.Action ("Action17", global::Mono.Unix.Catalog.GetString ("Услуги по договору"), null, null);
     this.Action17.ShortLabel = global::Mono.Unix.Catalog.GetString ("Услуги по договору");
     w1.Add (this.Action17, null);
     this.Action18 = new global::Gtk.Action ("Action18", global::Mono.Unix.Catalog.GetString ("Единицы измерения"), null, null);
     this.Action18.ShortLabel = global::Mono.Unix.Catalog.GetString ("Единицы измерения");
     w1.Add (this.Action18, null);
     this.Action19 = new global::Gtk.Action ("Action19", global::Mono.Unix.Catalog.GetString ("Кассы"), null, null);
     this.Action19.ShortLabel = global::Mono.Unix.Catalog.GetString ("Кассы");
     w1.Add (this.Action19, null);
     this.Action26 = new global::Gtk.Action ("Action26", global::Mono.Unix.Catalog.GetString ("История версий"), null, null);
     this.Action26.ShortLabel = global::Mono.Unix.Catalog.GetString ("История версий");
     w1.Add (this.Action26, null);
     this.Action21 = new global::Gtk.Action ("Action21", global::Mono.Unix.Catalog.GetString ("Контрагенты"), null, null);
     this.Action21.ShortLabel = global::Mono.Unix.Catalog.GetString ("Контрагенты");
     w1.Add (this.Action21, null);
     this.Action24 = new global::Gtk.Action ("Action24", global::Mono.Unix.Catalog.GetString ("Статьи расходов"), null, null);
     this.Action24.ShortLabel = global::Mono.Unix.Catalog.GetString ("Статьи расходов");
     w1.Add (this.Action24, null);
     this.Action25 = new global::Gtk.Action ("Action25", global::Mono.Unix.Catalog.GetString ("Статьи доходов"), null, null);
     this.Action25.ShortLabel = global::Mono.Unix.Catalog.GetString ("Статьи доходов");
     w1.Add (this.Action25, null);
     this.UsersAction = new global::Gtk.Action ("UsersAction", global::Mono.Unix.Catalog.GetString ("Пользователи"), null, "gtk-properties");
     this.UsersAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Пользователи");
     w1.Add (this.UsersAction, null);
     this.Action27 = new global::Gtk.Action ("Action27", global::Mono.Unix.Catalog.GetString ("Сотрудники"), null, null);
     this.Action27.ShortLabel = global::Mono.Unix.Catalog.GetString ("Сотрудники");
     w1.Add (this.Action27, null);
     this.Action = new global::Gtk.Action ("Action", global::Mono.Unix.Catalog.GetString ("Отчеты"), null, null);
     this.Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("Отчеты");
     w1.Add (this.Action, null);
     this.Action29 = new global::Gtk.Action ("Action29", global::Mono.Unix.Catalog.GetString ("Касса"), null, null);
     this.Action29.ShortLabel = global::Mono.Unix.Catalog.GetString ("Касса");
     w1.Add (this.Action29, null);
     this.Action30 = new global::Gtk.Action ("Action30", global::Mono.Unix.Catalog.GetString ("Доходы и расходы"), null, null);
     this.Action30.ShortLabel = global::Mono.Unix.Catalog.GetString ("Доходы и расходы");
     w1.Add (this.Action30, null);
     this.Action31 = new global::Gtk.Action ("Action31", global::Mono.Unix.Catalog.GetString ("Долги сотрудников"), null, null);
     this.Action31.ShortLabel = global::Mono.Unix.Catalog.GetString ("Долги сотрудников");
     w1.Add (this.Action31, null);
     this.Action32 = new global::Gtk.Action ("Action32", global::Mono.Unix.Catalog.GetString ("Движения по долгам"), null, null);
     this.Action32.ShortLabel = global::Mono.Unix.Catalog.GetString ("Движения по долгам");
     w1.Add (this.Action32, null);
     this.helpAction = new global::Gtk.Action ("helpAction", global::Mono.Unix.Catalog.GetString ("Документация"), null, "gtk-help");
     this.helpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Документация");
     w1.Add (this.helpAction, null);
     this.Action33 = new global::Gtk.Action ("Action33", global::Mono.Unix.Catalog.GetString ("Долги арендаторов"), null, null);
     this.Action33.ShortLabel = global::Mono.Unix.Catalog.GetString ("Долги арендаторов");
     w1.Add (this.Action33, null);
     this.Action36 = new global::Gtk.Action ("Action36", global::Mono.Unix.Catalog.GetString ("Сайт программы"), null, null);
     this.Action36.ShortLabel = global::Mono.Unix.Catalog.GetString ("Сайт программы");
     w1.Add (this.Action36, null);
     this.Action37 = new global::Gtk.Action ("Action37", global::Mono.Unix.Catalog.GetString ("Задать вопрос на форуме"), null, null);
     this.Action37.ShortLabel = global::Mono.Unix.Catalog.GetString ("Задать вопрос на форуме");
     w1.Add (this.Action37, null);
     this.Action38 = new global::Gtk.Action ("Action38", global::Mono.Unix.Catalog.GetString ("Реестр документов"), null, null);
     this.Action38.ShortLabel = global::Mono.Unix.Catalog.GetString ("Реестр документов");
     w1.Add (this.Action38, null);
     this.Action39 = new global::Gtk.Action ("Action39", global::Mono.Unix.Catalog.GetString ("Реестр договоров"), null, null);
     this.Action39.ShortLabel = global::Mono.Unix.Catalog.GetString ("Реестр договоров");
     w1.Add (this.Action39, null);
     this.Action40 = new global::Gtk.Action ("Action40", global::Mono.Unix.Catalog.GetString ("Касса за день"), null, null);
     this.Action40.ShortLabel = global::Mono.Unix.Catalog.GetString ("Касса за день");
     w1.Add (this.Action40, null);
     this.Action41 = new global::Gtk.Action ("Action41", global::Mono.Unix.Catalog.GetString ("Типы счётчиков"), null, null);
     this.Action41.ShortLabel = global::Mono.Unix.Catalog.GetString ("Типы счётчиков");
     w1.Add (this.Action41, null);
     this.Action42 = new global::Gtk.Action ("Action42", global::Mono.Unix.Catalog.GetString ("Счётчики"), null, null);
     this.Action42.ShortLabel = global::Mono.Unix.Catalog.GetString ("Счётчики");
     w1.Add (this.Action42, null);
     this.Action43 = new global::Gtk.Action ("Action43", global::Mono.Unix.Catalog.GetString ("Оплата за место"), null, null);
     this.Action43.ShortLabel = global::Mono.Unix.Catalog.GetString ("Оплата за место");
     w1.Add (this.Action43, null);
     this.checkUpdateAction = new global::Gtk.Action ("checkUpdateAction", global::Mono.Unix.Catalog.GetString ("Проверить обновление"), null, "gtk-goto-bottom");
     this.checkUpdateAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Проверить обновление");
     w1.Add (this.checkUpdateAction, null);
     this.Action44 = new global::Gtk.Action ("Action44", global::Mono.Unix.Catalog.GetString ("Поставщики"), null, null);
     this.Action44.ShortLabel = global::Mono.Unix.Catalog.GetString ("Поставщики");
     w1.Add (this.Action44, null);
     this.Action45 = new global::Gtk.Action ("Action45", global::Mono.Unix.Catalog.GetString ("Отчет по поставщикам"), null, null);
     this.Action45.ShortLabel = global::Mono.Unix.Catalog.GetString ("Отчет по поставщикам");
     w1.Add (this.Action45, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("QS: База арендаторов");
     this.Icon = global::Gdk.Pixbuf.LoadFromResource ("bazar.icons.logo.png");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='ActionFileMenu' action='ActionFileMenu'><menuitem name='dialogAuthenticationAction' action='dialogAuthenticationAction'/><menuitem name='UsersAction' action='UsersAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='Action9' action='Action9'><menuitem name='Action15' action='Action15'/><menuitem name='Action27' action='Action27'/><separator/><menuitem name='Action10' action='Action10'/><menuitem name='Action21' action='Action21'/><menuitem name='Action3' action='Action3'/><separator/><menuitem name='Action7' action='Action7'/><menuitem name='Action6' action='Action6'/><menuitem name='Action5' action='Action5'/><separator/><menuitem name='Action17' action='Action17'/><menuitem name='Action18' action='Action18'/><menuitem name='Action41' action='Action41'/><menuitem name='Action44' action='Action44'/><separator/><menuitem name='Action19' action='Action19'/><menuitem name='Action24' action='Action24'/><menuitem name='Action25' action='Action25'/></menu><menu name='Action' action='Action'><menu name='Action29' action='Action29'><menuitem name='Action30' action='Action30'/><menuitem name='Action31' action='Action31'/><menuitem name='Action32' action='Action32'/><menuitem name='Action40' action='Action40'/></menu><menuitem name='Action43' action='Action43'/><menuitem name='Action33' action='Action33'/><menuitem name='Action42' action='Action42'/><menuitem name='Action45' action='Action45'/><separator/><menuitem name='Action38' action='Action38'/><menuitem name='Action39' action='Action39'/></menu><menu name='Action34' action='Action34'><menuitem name='helpAction' action='helpAction'/><menuitem name='Action36' action='Action36'/><menuitem name='Action37' action='Action37'/><menuitem name='Action26' action='Action26'/><menuitem name='checkUpdateAction' action='checkUpdateAction'/><separator/><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebookMain = new global::Gtk.Notebook ();
     this.notebookMain.CanFocus = true;
     this.notebookMain.Name = "notebookMain";
     this.notebookMain.CurrentPage = 3;
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // 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.table3 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
     this.table3.Name = "table3";
     this.table3.RowSpacing = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(6));
     this.table3.BorderWidth = ((uint)(3));
     // Container child table3.Gtk.Table+TableChild
     this.comboPlaceOrg = new global::Gtk.ComboBox ();
     this.comboPlaceOrg.Name = "comboPlaceOrg";
     this.table3.Add (this.comboPlaceOrg);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table3 [this.comboPlaceOrg]));
     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 table3.Gtk.Table+TableChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.comboPlaceType = new global::Gtk.ComboBox ();
     this.comboPlaceType.Name = "comboPlaceType";
     this.hbox1.Add (this.comboPlaceType);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.comboPlaceType]));
     w4.Position = 0;
     w4.Expand = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label19 = new global::Gtk.Label ();
     this.label19.Name = "label19";
     this.label19.LabelProp = global::Mono.Unix.Catalog.GetString ("-");
     this.hbox1.Add (this.label19);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label19]));
     w5.Position = 1;
     w5.Expand = false;
     w5.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.entryPlaceNum = new global::Gtk.Entry ();
     this.entryPlaceNum.TooltipMarkup = "Введите номер места, для поиска в таблице.";
     this.entryPlaceNum.CanFocus = true;
     this.entryPlaceNum.Name = "entryPlaceNum";
     this.entryPlaceNum.IsEditable = true;
     this.entryPlaceNum.InvisibleChar = '●';
     this.hbox1.Add (this.entryPlaceNum);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryPlaceNum]));
     w6.Position = 2;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonCleanTabPPlaceNo = new global::Gtk.Button ();
     this.buttonCleanTabPPlaceNo.TooltipMarkup = "Очистить фильтр по месту";
     this.buttonCleanTabPPlaceNo.CanFocus = true;
     this.buttonCleanTabPPlaceNo.Name = "buttonCleanTabPPlaceNo";
     this.buttonCleanTabPPlaceNo.UseUnderline = true;
     global::Gtk.Image w7 = new global::Gtk.Image ();
     w7.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu);
     this.buttonCleanTabPPlaceNo.Image = w7;
     this.hbox1.Add (this.buttonCleanTabPPlaceNo);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCleanTabPPlaceNo]));
     w8.Position = 3;
     w8.Expand = false;
     w8.Fill = false;
     this.table3.Add (this.hbox1);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table3 [this.hbox1]));
     w9.LeftAttach = ((uint)(1));
     w9.RightAttach = ((uint)(2));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label22 = new global::Gtk.Label ();
     this.label22.Name = "label22";
     this.label22.Xalign = 1F;
     this.label22.LabelProp = global::Mono.Unix.Catalog.GetString ("по организации:");
     this.table3.Add (this.label22);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table3 [this.label22]));
     w10.TopAttach = ((uint)(1));
     w10.BottomAttach = ((uint)(2));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.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 w11 = ((global::Gtk.Table.TableChild)(this.table3 [this.label3]));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     this.hbox8.Add (this.table3);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.table3]));
     w12.Position = 0;
     w12.Expand = false;
     w12.Fill = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.table6 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
     this.table6.Name = "table6";
     this.table6.RowSpacing = ((uint)(6));
     this.table6.ColumnSpacing = ((uint)(6));
     this.table6.BorderWidth = ((uint)(3));
     // Container child table6.Gtk.Table+TableChild
     this.hbox19 = new global::Gtk.HBox ();
     this.hbox19.Name = "hbox19";
     this.hbox19.Spacing = 6;
     // Container child hbox19.Gtk.Box+BoxChild
     this.entryPlaceLess = new global::Gtk.Entry ();
     this.entryPlaceLess.CanFocus = true;
     this.entryPlaceLess.Name = "entryPlaceLess";
     this.entryPlaceLess.IsEditable = true;
     this.entryPlaceLess.InvisibleChar = '●';
     this.hbox19.Add (this.entryPlaceLess);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox19 [this.entryPlaceLess]));
     w13.Position = 0;
     // Container child hbox19.Gtk.Box+BoxChild
     this.buttonCleanTabPLessee = new global::Gtk.Button ();
     this.buttonCleanTabPLessee.TooltipMarkup = "Очистить фильтр по имени арендатора";
     this.buttonCleanTabPLessee.CanFocus = true;
     this.buttonCleanTabPLessee.Name = "buttonCleanTabPLessee";
     this.buttonCleanTabPLessee.UseUnderline = true;
     global::Gtk.Image w14 = new global::Gtk.Image ();
     w14.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu);
     this.buttonCleanTabPLessee.Image = w14;
     this.hbox19.Add (this.buttonCleanTabPLessee);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox19 [this.buttonCleanTabPLessee]));
     w15.Position = 1;
     w15.Expand = false;
     w15.Fill = false;
     this.table6.Add (this.hbox19);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table6 [this.hbox19]));
     w16.LeftAttach = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table6.Gtk.Table+TableChild
     this.hbox20 = new global::Gtk.HBox ();
     this.hbox20.Name = "hbox20";
     this.hbox20.Spacing = 6;
     // Container child hbox20.Gtk.Box+BoxChild
     this.entryPlaceContact = new global::Gtk.Entry ();
     this.entryPlaceContact.CanFocus = true;
     this.entryPlaceContact.Name = "entryPlaceContact";
     this.entryPlaceContact.IsEditable = true;
     this.entryPlaceContact.InvisibleChar = '●';
     this.hbox20.Add (this.entryPlaceContact);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox20 [this.entryPlaceContact]));
     w17.Position = 0;
     // Container child hbox20.Gtk.Box+BoxChild
     this.buttonCleanTabPContact = new global::Gtk.Button ();
     this.buttonCleanTabPContact.TooltipMarkup = "Очистить фильтр по имени контактного лица";
     this.buttonCleanTabPContact.CanFocus = true;
     this.buttonCleanTabPContact.Name = "buttonCleanTabPContact";
     this.buttonCleanTabPContact.UseUnderline = true;
     global::Gtk.Image w18 = new global::Gtk.Image ();
     w18.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu);
     this.buttonCleanTabPContact.Image = w18;
     this.hbox20.Add (this.buttonCleanTabPContact);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox20 [this.buttonCleanTabPContact]));
     w19.Position = 1;
     w19.Expand = false;
     w19.Fill = false;
     this.table6.Add (this.hbox20);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table6 [this.hbox20]));
     w20.TopAttach = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.LeftAttach = ((uint)(1));
     w20.RightAttach = ((uint)(2));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table6.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.table6.Add (this.label20);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table6 [this.label20]));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table6.Gtk.Table+TableChild
     this.label21 = new global::Gtk.Label ();
     this.label21.Name = "label21";
     this.label21.Xalign = 1F;
     this.label21.LabelProp = global::Mono.Unix.Catalog.GetString ("по контактному лицу");
     this.table6.Add (this.label21);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table6 [this.label21]));
     w22.TopAttach = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     this.hbox8.Add (this.table6);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.table6]));
     w23.Position = 1;
     this.vbox2.Add (this.hbox8);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox8]));
     w24.Position = 0;
     w24.Expand = false;
     w24.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     this.GtkScrolledWindow.BorderWidth = ((uint)(6));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeviewPlaces = new global::Gtk.TreeView ();
     this.treeviewPlaces.CanFocus = true;
     this.treeviewPlaces.Name = "treeviewPlaces";
     this.GtkScrolledWindow.Add (this.treeviewPlaces);
     this.vbox2.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow]));
     w26.Position = 1;
     this.notebookMain.Add (this.vbox2);
     // Notebook tab
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Места");
     this.notebookMain.SetTabLabel (this.vbox2, this.label1);
     this.label1.ShowAll ();
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     this.hbox3.BorderWidth = ((uint)(6));
     // Container child hbox3.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(3)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.button233 = new global::Gtk.Button ();
     this.button233.TooltipMarkup = "Очистить фильтр по имени";
     this.button233.CanFocus = true;
     this.button233.Name = "button233";
     this.button233.UseUnderline = true;
     global::Gtk.Image w28 = new global::Gtk.Image ();
     w28.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu);
     this.button233.Image = w28;
     this.table1.Add (this.button233);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1 [this.button233]));
     w29.LeftAttach = ((uint)(2));
     w29.RightAttach = ((uint)(3));
     w29.XOptions = ((global::Gtk.AttachOptions)(4));
     w29.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.button234 = new global::Gtk.Button ();
     this.button234.TooltipMarkup = "Очистить фильтр по ФИО";
     this.button234.CanFocus = true;
     this.button234.Name = "button234";
     this.button234.UseUnderline = true;
     global::Gtk.Image w30 = new global::Gtk.Image ();
     w30.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu);
     this.button234.Image = w30;
     this.table1.Add (this.button234);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1 [this.button234]));
     w31.TopAttach = ((uint)(1));
     w31.BottomAttach = ((uint)(2));
     w31.LeftAttach = ((uint)(2));
     w31.RightAttach = ((uint)(3));
     w31.XOptions = ((global::Gtk.AttachOptions)(4));
     w31.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.button235 = new global::Gtk.Button ();
     this.button235.TooltipMarkup = "Очистить фильтр по ИНН";
     this.button235.CanFocus = true;
     this.button235.Name = "button235";
     this.button235.UseUnderline = true;
     global::Gtk.Image w32 = new global::Gtk.Image ();
     w32.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu);
     this.button235.Image = w32;
     this.table1.Add (this.button235);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1 [this.button235]));
     w33.TopAttach = ((uint)(2));
     w33.BottomAttach = ((uint)(3));
     w33.LeftAttach = ((uint)(2));
     w33.RightAttach = ((uint)(3));
     w33.XOptions = ((global::Gtk.AttachOptions)(4));
     w33.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryFilterFIO = new global::Gtk.Entry ();
     this.entryFilterFIO.CanFocus = true;
     this.entryFilterFIO.Name = "entryFilterFIO";
     this.entryFilterFIO.IsEditable = true;
     this.entryFilterFIO.InvisibleChar = '●';
     this.table1.Add (this.entryFilterFIO);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryFilterFIO]));
     w34.TopAttach = ((uint)(1));
     w34.BottomAttach = ((uint)(2));
     w34.LeftAttach = ((uint)(1));
     w34.RightAttach = ((uint)(2));
     w34.XOptions = ((global::Gtk.AttachOptions)(4));
     w34.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryFilterINN = new global::Gtk.Entry ();
     this.entryFilterINN.CanFocus = true;
     this.entryFilterINN.Name = "entryFilterINN";
     this.entryFilterINN.IsEditable = true;
     this.entryFilterINN.InvisibleChar = '●';
     this.table1.Add (this.entryFilterINN);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryFilterINN]));
     w35.TopAttach = ((uint)(2));
     w35.BottomAttach = ((uint)(3));
     w35.LeftAttach = ((uint)(1));
     w35.RightAttach = ((uint)(2));
     w35.XOptions = ((global::Gtk.AttachOptions)(4));
     w35.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryFilterName = new global::Gtk.Entry ();
     this.entryFilterName.CanFocus = true;
     this.entryFilterName.Name = "entryFilterName";
     this.entryFilterName.IsEditable = true;
     this.entryFilterName.InvisibleChar = '●';
     this.table1.Add (this.entryFilterName);
     global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryFilterName]));
     w36.LeftAttach = ((uint)(1));
     w36.RightAttach = ((uint)(2));
     w36.XOptions = ((global::Gtk.AttachOptions)(4));
     w36.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 w37 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
     w37.XOptions = ((global::Gtk.AttachOptions)(4));
     w37.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 w38 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5]));
     w38.TopAttach = ((uint)(1));
     w38.BottomAttach = ((uint)(2));
     w38.XOptions = ((global::Gtk.AttachOptions)(4));
     w38.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 w39 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6]));
     w39.TopAttach = ((uint)(2));
     w39.BottomAttach = ((uint)(3));
     w39.XOptions = ((global::Gtk.AttachOptions)(4));
     w39.YOptions = ((global::Gtk.AttachOptions)(4));
     this.hbox3.Add (this.table1);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.table1]));
     w40.Position = 0;
     w40.Expand = false;
     w40.Fill = false;
     this.vbox3.Add (this.hbox3);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3]));
     w41.Position = 0;
     w41.Expand = false;
     w41.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     this.GtkScrolledWindow1.BorderWidth = ((uint)(6));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.treeviewLessees = new global::Gtk.TreeView ();
     this.treeviewLessees.CanFocus = true;
     this.treeviewLessees.Name = "treeviewLessees";
     this.GtkScrolledWindow1.Add (this.treeviewLessees);
     this.vbox3.Add (this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow1]));
     w43.Position = 1;
     this.notebookMain.Add (this.vbox3);
     global::Gtk.Notebook.NotebookChild w44 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.vbox3]));
     w44.Position = 1;
     // Notebook tab
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Арендаторы");
     this.notebookMain.SetTabLabel (this.vbox3, this.label2);
     this.label2.ShowAll ();
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.vbox8 = new global::Gtk.VBox ();
     this.vbox8.Name = "vbox8";
     this.vbox8.Spacing = 6;
     // Container child vbox8.Gtk.Box+BoxChild
     this.hbox9 = new global::Gtk.HBox ();
     this.hbox9.Name = "hbox9";
     this.hbox9.Spacing = 6;
     this.hbox9.BorderWidth = ((uint)(3));
     // Container child hbox9.Gtk.Box+BoxChild
     this.table4 = new global::Gtk.Table (((uint)(4)), ((uint)(2)), false);
     this.table4.Name = "table4";
     this.table4.RowSpacing = ((uint)(6));
     this.table4.ColumnSpacing = ((uint)(6));
     // Container child table4.Gtk.Table+TableChild
     this.comboContractOrg = new global::Gtk.ComboBox ();
     this.comboContractOrg.Name = "comboContractOrg";
     this.table4.Add (this.comboContractOrg);
     global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.table4 [this.comboContractOrg]));
     w45.LeftAttach = ((uint)(1));
     w45.RightAttach = ((uint)(2));
     w45.XOptions = ((global::Gtk.AttachOptions)(4));
     w45.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.hbox10 = new global::Gtk.HBox ();
     this.hbox10.Name = "hbox10";
     this.hbox10.Spacing = 6;
     // Container child hbox10.Gtk.Box+BoxChild
     this.comboContractPlaceT = new global::Gtk.ComboBox ();
     this.comboContractPlaceT.Name = "comboContractPlaceT";
     this.hbox10.Add (this.comboContractPlaceT);
     global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.comboContractPlaceT]));
     w46.Position = 0;
     w46.Expand = false;
     // Container child hbox10.Gtk.Box+BoxChild
     this.label30 = new global::Gtk.Label ();
     this.label30.Name = "label30";
     this.label30.LabelProp = global::Mono.Unix.Catalog.GetString ("-");
     this.hbox10.Add (this.label30);
     global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.label30]));
     w47.Position = 1;
     w47.Expand = false;
     w47.Fill = false;
     // Container child hbox10.Gtk.Box+BoxChild
     this.entryContractPlaceN = new global::Gtk.Entry ();
     this.entryContractPlaceN.TooltipMarkup = "Введите номер места, для поиска в таблице.";
     this.entryContractPlaceN.CanFocus = true;
     this.entryContractPlaceN.Name = "entryContractPlaceN";
     this.entryContractPlaceN.IsEditable = true;
     this.entryContractPlaceN.InvisibleChar = '●';
     this.hbox10.Add (this.entryContractPlaceN);
     global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.entryContractPlaceN]));
     w48.Position = 2;
     // Container child hbox10.Gtk.Box+BoxChild
     this.buttonContractClearPlace = new global::Gtk.Button ();
     this.buttonContractClearPlace.CanFocus = true;
     this.buttonContractClearPlace.Name = "buttonContractClearPlace";
     this.buttonContractClearPlace.UseUnderline = true;
     global::Gtk.Image w49 = new global::Gtk.Image ();
     w49.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu);
     this.buttonContractClearPlace.Image = w49;
     this.hbox10.Add (this.buttonContractClearPlace);
     global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.buttonContractClearPlace]));
     w50.Position = 3;
     w50.Expand = false;
     w50.Fill = false;
     this.table4.Add (this.hbox10);
     global::Gtk.Table.TableChild w51 = ((global::Gtk.Table.TableChild)(this.table4 [this.hbox10]));
     w51.TopAttach = ((uint)(1));
     w51.BottomAttach = ((uint)(2));
     w51.LeftAttach = ((uint)(1));
     w51.RightAttach = ((uint)(2));
     w51.XOptions = ((global::Gtk.AttachOptions)(4));
     w51.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.hbox11 = new global::Gtk.HBox ();
     this.hbox11.Name = "hbox11";
     this.hbox11.Spacing = 6;
     // Container child hbox11.Gtk.Box+BoxChild
     this.entryContractLessee = new global::Gtk.Entry ();
     this.entryContractLessee.CanFocus = true;
     this.entryContractLessee.Name = "entryContractLessee";
     this.entryContractLessee.IsEditable = true;
     this.entryContractLessee.InvisibleChar = '•';
     this.hbox11.Add (this.entryContractLessee);
     global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.entryContractLessee]));
     w52.Position = 0;
     // Container child hbox11.Gtk.Box+BoxChild
     this.buttonContractClearLessee = new global::Gtk.Button ();
     this.buttonContractClearLessee.CanFocus = true;
     this.buttonContractClearLessee.Name = "buttonContractClearLessee";
     this.buttonContractClearLessee.UseUnderline = true;
     global::Gtk.Image w53 = new global::Gtk.Image ();
     w53.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu);
     this.buttonContractClearLessee.Image = w53;
     this.hbox11.Add (this.buttonContractClearLessee);
     global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.buttonContractClearLessee]));
     w54.Position = 1;
     w54.Expand = false;
     w54.Fill = false;
     this.table4.Add (this.hbox11);
     global::Gtk.Table.TableChild w55 = ((global::Gtk.Table.TableChild)(this.table4 [this.hbox11]));
     w55.TopAttach = ((uint)(2));
     w55.BottomAttach = ((uint)(3));
     w55.LeftAttach = ((uint)(1));
     w55.RightAttach = ((uint)(2));
     w55.XOptions = ((global::Gtk.AttachOptions)(4));
     w55.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.hbox12 = new global::Gtk.HBox ();
     this.hbox12.Name = "hbox12";
     this.hbox12.Spacing = 6;
     // Container child hbox12.Gtk.Box+BoxChild
     this.entryContractNumber = new global::Gtk.Entry ();
     this.entryContractNumber.CanFocus = true;
     this.entryContractNumber.Name = "entryContractNumber";
     this.entryContractNumber.IsEditable = true;
     this.entryContractNumber.InvisibleChar = '•';
     this.hbox12.Add (this.entryContractNumber);
     global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.entryContractNumber]));
     w56.Position = 0;
     // Container child hbox12.Gtk.Box+BoxChild
     this.buttonContractClearNumber = new global::Gtk.Button ();
     this.buttonContractClearNumber.CanFocus = true;
     this.buttonContractClearNumber.Name = "buttonContractClearNumber";
     this.buttonContractClearNumber.UseUnderline = true;
     global::Gtk.Image w57 = new global::Gtk.Image ();
     w57.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu);
     this.buttonContractClearNumber.Image = w57;
     this.hbox12.Add (this.buttonContractClearNumber);
     global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.buttonContractClearNumber]));
     w58.Position = 1;
     w58.Expand = false;
     w58.Fill = false;
     this.table4.Add (this.hbox12);
     global::Gtk.Table.TableChild w59 = ((global::Gtk.Table.TableChild)(this.table4 [this.hbox12]));
     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 table4.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 ("Организация:");
     this.table4.Add (this.label26);
     global::Gtk.Table.TableChild w60 = ((global::Gtk.Table.TableChild)(this.table4 [this.label26]));
     w60.XOptions = ((global::Gtk.AttachOptions)(4));
     w60.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table4.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.table4.Add (this.label27);
     global::Gtk.Table.TableChild w61 = ((global::Gtk.Table.TableChild)(this.table4 [this.label27]));
     w61.TopAttach = ((uint)(1));
     w61.BottomAttach = ((uint)(2));
     w61.XOptions = ((global::Gtk.AttachOptions)(4));
     w61.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table4.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.table4.Add (this.label28);
     global::Gtk.Table.TableChild w62 = ((global::Gtk.Table.TableChild)(this.table4 [this.label28]));
     w62.TopAttach = ((uint)(2));
     w62.BottomAttach = ((uint)(3));
     w62.XOptions = ((global::Gtk.AttachOptions)(4));
     w62.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table4.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.table4.Add (this.label29);
     global::Gtk.Table.TableChild w63 = ((global::Gtk.Table.TableChild)(this.table4 [this.label29]));
     w63.TopAttach = ((uint)(3));
     w63.BottomAttach = ((uint)(4));
     w63.XOptions = ((global::Gtk.AttachOptions)(4));
     w63.YOptions = ((global::Gtk.AttachOptions)(4));
     this.hbox9.Add (this.table4);
     global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.table4]));
     w64.Position = 0;
     w64.Expand = false;
     w64.Fill = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.vbox9 = new global::Gtk.VBox ();
     this.vbox9.Name = "vbox9";
     this.vbox9.Spacing = 6;
     // Container child vbox9.Gtk.Box+BoxChild
     this.checkActiveContracts = new global::Gtk.CheckButton ();
     this.checkActiveContracts.CanFocus = true;
     this.checkActiveContracts.Name = "checkActiveContracts";
     this.checkActiveContracts.Label = global::Mono.Unix.Catalog.GetString ("Показывать только действующие");
     this.checkActiveContracts.Active = true;
     this.checkActiveContracts.DrawIndicator = true;
     this.checkActiveContracts.UseUnderline = true;
     this.vbox9.Add (this.checkActiveContracts);
     global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.checkActiveContracts]));
     w65.Position = 0;
     w65.Expand = false;
     // Container child vbox9.Gtk.Box+BoxChild
     this.check30daysContracts = new global::Gtk.CheckButton ();
     this.check30daysContracts.CanFocus = true;
     this.check30daysContracts.Name = "check30daysContracts";
     this.check30daysContracts.Label = global::Mono.Unix.Catalog.GetString ("Аренда заканчивается в течении 30 дней");
     this.check30daysContracts.DrawIndicator = true;
     this.check30daysContracts.UseUnderline = true;
     this.vbox9.Add (this.check30daysContracts);
     global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.check30daysContracts]));
     w66.Position = 1;
     w66.Expand = false;
     w66.Fill = false;
     // Container child vbox9.Gtk.Box+BoxChild
     this.hbox28 = new global::Gtk.HBox ();
     this.hbox28.Name = "hbox28";
     this.hbox28.Spacing = 6;
     // Container child hbox28.Gtk.Box+BoxChild
     this.buttonProlongation = new global::Gtk.Button ();
     this.buttonProlongation.CanFocus = true;
     this.buttonProlongation.Name = "buttonProlongation";
     this.buttonProlongation.UseUnderline = true;
     this.buttonProlongation.Label = global::Mono.Unix.Catalog.GetString ("Пролонгация договоров");
     global::Gtk.Image w67 = new global::Gtk.Image ();
     w67.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-execute", global::Gtk.IconSize.Menu);
     this.buttonProlongation.Image = w67;
     this.hbox28.Add (this.buttonProlongation);
     global::Gtk.Box.BoxChild w68 = ((global::Gtk.Box.BoxChild)(this.hbox28 [this.buttonProlongation]));
     w68.Position = 0;
     w68.Expand = false;
     w68.Fill = false;
     this.vbox9.Add (this.hbox28);
     global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.hbox28]));
     w69.Position = 2;
     w69.Expand = false;
     w69.Fill = false;
     this.hbox9.Add (this.vbox9);
     global::Gtk.Box.BoxChild w70 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.vbox9]));
     w70.Position = 1;
     this.vbox8.Add (this.hbox9);
     global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.hbox9]));
     w71.Position = 0;
     w71.Expand = false;
     w71.Fill = false;
     // Container child vbox8.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.treeviewContract = new global::Gtk.TreeView ();
     this.treeviewContract.CanFocus = true;
     this.treeviewContract.Name = "treeviewContract";
     this.GtkScrolledWindow3.Add (this.treeviewContract);
     this.vbox8.Add (this.GtkScrolledWindow3);
     global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.GtkScrolledWindow3]));
     w73.Position = 1;
     this.notebookMain.Add (this.vbox8);
     global::Gtk.Notebook.NotebookChild w74 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.vbox8]));
     w74.Position = 2;
     // Notebook tab
     this.label15 = new global::Gtk.Label ();
     this.label15.Name = "label15";
     this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("Договора");
     this.notebookMain.SetTabLabel (this.vbox8, this.label15);
     this.label15.ShowAll ();
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.vbox13 = new global::Gtk.VBox ();
     this.vbox13.Name = "vbox13";
     this.vbox13.Spacing = 6;
     // Container child vbox13.Gtk.Box+BoxChild
     this.hbox21 = new global::Gtk.HBox ();
     this.hbox21.Name = "hbox21";
     this.hbox21.Spacing = 6;
     // Container child hbox21.Gtk.Box+BoxChild
     this.table7 = new global::Gtk.Table (((uint)(6)), ((uint)(2)), false);
     this.table7.Name = "table7";
     this.table7.RowSpacing = ((uint)(6));
     this.table7.ColumnSpacing = ((uint)(6));
     // Container child table7.Gtk.Table+TableChild
     this.comboAccrualCash = new global::Gtk.ComboBox ();
     this.comboAccrualCash.Name = "comboAccrualCash";
     this.table7.Add (this.comboAccrualCash);
     global::Gtk.Table.TableChild w75 = ((global::Gtk.Table.TableChild)(this.table7 [this.comboAccrualCash]));
     w75.TopAttach = ((uint)(1));
     w75.BottomAttach = ((uint)(2));
     w75.LeftAttach = ((uint)(1));
     w75.RightAttach = ((uint)(2));
     w75.XOptions = ((global::Gtk.AttachOptions)(4));
     w75.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.comboAccrualItem = global::Gtk.ComboBox.NewText ();
     this.comboAccrualItem.Name = "comboAccrualItem";
     this.table7.Add (this.comboAccrualItem);
     global::Gtk.Table.TableChild w76 = ((global::Gtk.Table.TableChild)(this.table7 [this.comboAccrualItem]));
     w76.TopAttach = ((uint)(2));
     w76.BottomAttach = ((uint)(3));
     w76.LeftAttach = ((uint)(1));
     w76.RightAttach = ((uint)(2));
     w76.XOptions = ((global::Gtk.AttachOptions)(4));
     w76.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.comboAccrualOrg = new global::Gtk.ComboBox ();
     this.comboAccrualOrg.Name = "comboAccrualOrg";
     this.table7.Add (this.comboAccrualOrg);
     global::Gtk.Table.TableChild w77 = ((global::Gtk.Table.TableChild)(this.table7 [this.comboAccrualOrg]));
     w77.LeftAttach = ((uint)(1));
     w77.RightAttach = ((uint)(2));
     w77.XOptions = ((global::Gtk.AttachOptions)(4));
     w77.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.hbox22 = new global::Gtk.HBox ();
     this.hbox22.Name = "hbox22";
     this.hbox22.Spacing = 6;
     // Container child hbox22.Gtk.Box+BoxChild
     this.entryAccrualLessee = new global::Gtk.Entry ();
     this.entryAccrualLessee.CanFocus = true;
     this.entryAccrualLessee.Name = "entryAccrualLessee";
     this.entryAccrualLessee.IsEditable = true;
     this.entryAccrualLessee.InvisibleChar = '●';
     this.hbox22.Add (this.entryAccrualLessee);
     global::Gtk.Box.BoxChild w78 = ((global::Gtk.Box.BoxChild)(this.hbox22 [this.entryAccrualLessee]));
     w78.Position = 0;
     // Container child hbox22.Gtk.Box+BoxChild
     this.buttonAccrualLesseeClear = new global::Gtk.Button ();
     this.buttonAccrualLesseeClear.CanFocus = true;
     this.buttonAccrualLesseeClear.Name = "buttonAccrualLesseeClear";
     this.buttonAccrualLesseeClear.UseUnderline = true;
     global::Gtk.Image w79 = new global::Gtk.Image ();
     w79.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu);
     this.buttonAccrualLesseeClear.Image = w79;
     this.hbox22.Add (this.buttonAccrualLesseeClear);
     global::Gtk.Box.BoxChild w80 = ((global::Gtk.Box.BoxChild)(this.hbox22 [this.buttonAccrualLesseeClear]));
     w80.Position = 1;
     w80.Expand = false;
     w80.Fill = false;
     this.table7.Add (this.hbox22);
     global::Gtk.Table.TableChild w81 = ((global::Gtk.Table.TableChild)(this.table7 [this.hbox22]));
     w81.TopAttach = ((uint)(4));
     w81.BottomAttach = ((uint)(5));
     w81.LeftAttach = ((uint)(1));
     w81.RightAttach = ((uint)(2));
     w81.XOptions = ((global::Gtk.AttachOptions)(4));
     w81.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.hbox23 = new global::Gtk.HBox ();
     this.hbox23.Name = "hbox23";
     this.hbox23.Spacing = 6;
     // Container child hbox23.Gtk.Box+BoxChild
     this.comboAccrualMonth = global::Gtk.ComboBox.NewText ();
     this.comboAccrualMonth.AppendText (global::Mono.Unix.Catalog.GetString ("Все"));
     this.comboAccrualMonth.AppendText (global::Mono.Unix.Catalog.GetString ("Январь"));
     this.comboAccrualMonth.AppendText (global::Mono.Unix.Catalog.GetString ("Февраль"));
     this.comboAccrualMonth.AppendText (global::Mono.Unix.Catalog.GetString ("Март"));
     this.comboAccrualMonth.AppendText (global::Mono.Unix.Catalog.GetString ("Апрель"));
     this.comboAccrualMonth.AppendText (global::Mono.Unix.Catalog.GetString ("Май"));
     this.comboAccrualMonth.AppendText (global::Mono.Unix.Catalog.GetString ("Июнь"));
     this.comboAccrualMonth.AppendText (global::Mono.Unix.Catalog.GetString ("Июль"));
     this.comboAccrualMonth.AppendText (global::Mono.Unix.Catalog.GetString ("Август"));
     this.comboAccrualMonth.AppendText (global::Mono.Unix.Catalog.GetString ("Сентябрь"));
     this.comboAccrualMonth.AppendText (global::Mono.Unix.Catalog.GetString ("Октябрь"));
     this.comboAccrualMonth.AppendText (global::Mono.Unix.Catalog.GetString ("Ноябрь"));
     this.comboAccrualMonth.AppendText (global::Mono.Unix.Catalog.GetString ("Декабрь"));
     this.comboAccrualMonth.Name = "comboAccrualMonth";
     this.hbox23.Add (this.comboAccrualMonth);
     global::Gtk.Box.BoxChild w82 = ((global::Gtk.Box.BoxChild)(this.hbox23 [this.comboAccrualMonth]));
     w82.Position = 0;
     // Container child hbox23.Gtk.Box+BoxChild
     this.comboAccuralYear = global::Gtk.ComboBox.NewText ();
     this.comboAccuralYear.Name = "comboAccuralYear";
     this.hbox23.Add (this.comboAccuralYear);
     global::Gtk.Box.BoxChild w83 = ((global::Gtk.Box.BoxChild)(this.hbox23 [this.comboAccuralYear]));
     w83.Position = 1;
     w83.Expand = false;
     w83.Fill = false;
     this.table7.Add (this.hbox23);
     global::Gtk.Table.TableChild w84 = ((global::Gtk.Table.TableChild)(this.table7 [this.hbox23]));
     w84.TopAttach = ((uint)(3));
     w84.BottomAttach = ((uint)(4));
     w84.LeftAttach = ((uint)(1));
     w84.RightAttach = ((uint)(2));
     w84.XOptions = ((global::Gtk.AttachOptions)(4));
     w84.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.hbox25 = new global::Gtk.HBox ();
     this.hbox25.Name = "hbox25";
     this.hbox25.Spacing = 6;
     // Container child hbox25.Gtk.Box+BoxChild
     this.entryAccrualContract = new global::Gtk.Entry ();
     this.entryAccrualContract.CanFocus = true;
     this.entryAccrualContract.Name = "entryAccrualContract";
     this.entryAccrualContract.IsEditable = true;
     this.entryAccrualContract.InvisibleChar = '●';
     this.hbox25.Add (this.entryAccrualContract);
     global::Gtk.Box.BoxChild w85 = ((global::Gtk.Box.BoxChild)(this.hbox25 [this.entryAccrualContract]));
     w85.Position = 0;
     // Container child hbox25.Gtk.Box+BoxChild
     this.buttonAccrualContractClear = new global::Gtk.Button ();
     this.buttonAccrualContractClear.CanFocus = true;
     this.buttonAccrualContractClear.Name = "buttonAccrualContractClear";
     this.buttonAccrualContractClear.UseUnderline = true;
     global::Gtk.Image w86 = new global::Gtk.Image ();
     w86.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu);
     this.buttonAccrualContractClear.Image = w86;
     this.hbox25.Add (this.buttonAccrualContractClear);
     global::Gtk.Box.BoxChild w87 = ((global::Gtk.Box.BoxChild)(this.hbox25 [this.buttonAccrualContractClear]));
     w87.Position = 1;
     w87.Expand = false;
     w87.Fill = false;
     this.table7.Add (this.hbox25);
     global::Gtk.Table.TableChild w88 = ((global::Gtk.Table.TableChild)(this.table7 [this.hbox25]));
     w88.TopAttach = ((uint)(5));
     w88.BottomAttach = ((uint)(6));
     w88.LeftAttach = ((uint)(1));
     w88.RightAttach = ((uint)(2));
     w88.XOptions = ((global::Gtk.AttachOptions)(4));
     w88.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.label42 = new global::Gtk.Label ();
     this.label42.Name = "label42";
     this.label42.Xalign = 1F;
     this.label42.LabelProp = global::Mono.Unix.Catalog.GetString ("Организация:");
     this.table7.Add (this.label42);
     global::Gtk.Table.TableChild w89 = ((global::Gtk.Table.TableChild)(this.table7 [this.label42]));
     w89.XOptions = ((global::Gtk.AttachOptions)(4));
     w89.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.label43 = new global::Gtk.Label ();
     this.label43.Name = "label43";
     this.label43.Xalign = 1F;
     this.label43.LabelProp = global::Mono.Unix.Catalog.GetString ("Месяц начисления:");
     this.table7.Add (this.label43);
     global::Gtk.Table.TableChild w90 = ((global::Gtk.Table.TableChild)(this.table7 [this.label43]));
     w90.TopAttach = ((uint)(3));
     w90.BottomAttach = ((uint)(4));
     w90.XOptions = ((global::Gtk.AttachOptions)(4));
     w90.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.label44 = new global::Gtk.Label ();
     this.label44.Name = "label44";
     this.label44.Xalign = 1F;
     this.label44.LabelProp = global::Mono.Unix.Catalog.GetString ("Арендатор:");
     this.table7.Add (this.label44);
     global::Gtk.Table.TableChild w91 = ((global::Gtk.Table.TableChild)(this.table7 [this.label44]));
     w91.TopAttach = ((uint)(4));
     w91.BottomAttach = ((uint)(5));
     w91.XOptions = ((global::Gtk.AttachOptions)(4));
     w91.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.label45 = new global::Gtk.Label ();
     this.label45.Name = "label45";
     this.label45.Xalign = 1F;
     this.label45.LabelProp = global::Mono.Unix.Catalog.GetString ("Договор:");
     this.table7.Add (this.label45);
     global::Gtk.Table.TableChild w92 = ((global::Gtk.Table.TableChild)(this.table7 [this.label45]));
     w92.TopAttach = ((uint)(5));
     w92.BottomAttach = ((uint)(6));
     w92.XOptions = ((global::Gtk.AttachOptions)(4));
     w92.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.label46 = new global::Gtk.Label ();
     this.label46.Name = "label46";
     this.label46.Xalign = 1F;
     this.label46.LabelProp = global::Mono.Unix.Catalog.GetString ("Касса:");
     this.table7.Add (this.label46);
     global::Gtk.Table.TableChild w93 = ((global::Gtk.Table.TableChild)(this.table7 [this.label46]));
     w93.TopAttach = ((uint)(1));
     w93.BottomAttach = ((uint)(2));
     w93.XOptions = ((global::Gtk.AttachOptions)(4));
     w93.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table7.Gtk.Table+TableChild
     this.label47 = new global::Gtk.Label ();
     this.label47.Name = "label47";
     this.label47.Xalign = 1F;
     this.label47.LabelProp = global::Mono.Unix.Catalog.GetString ("Статья дохода:");
     this.table7.Add (this.label47);
     global::Gtk.Table.TableChild w94 = ((global::Gtk.Table.TableChild)(this.table7 [this.label47]));
     w94.TopAttach = ((uint)(2));
     w94.BottomAttach = ((uint)(3));
     w94.XOptions = ((global::Gtk.AttachOptions)(4));
     w94.YOptions = ((global::Gtk.AttachOptions)(4));
     this.hbox21.Add (this.table7);
     global::Gtk.Box.BoxChild w95 = ((global::Gtk.Box.BoxChild)(this.hbox21 [this.table7]));
     w95.Position = 0;
     w95.Expand = false;
     w95.Fill = false;
     // Container child hbox21.Gtk.Box+BoxChild
     this.vbox14 = new global::Gtk.VBox ();
     this.vbox14.Name = "vbox14";
     this.vbox14.Spacing = 6;
     // Container child vbox14.Gtk.Box+BoxChild
     this.checkOnlyNotPaid = new global::Gtk.CheckButton ();
     this.checkOnlyNotPaid.CanFocus = true;
     this.checkOnlyNotPaid.Name = "checkOnlyNotPaid";
     this.checkOnlyNotPaid.Label = global::Mono.Unix.Catalog.GetString ("Показывать только неоплаченные");
     this.checkOnlyNotPaid.DrawIndicator = true;
     this.checkOnlyNotPaid.UseUnderline = true;
     this.vbox14.Add (this.checkOnlyNotPaid);
     global::Gtk.Box.BoxChild w96 = ((global::Gtk.Box.BoxChild)(this.vbox14 [this.checkOnlyNotPaid]));
     w96.Position = 0;
     w96.Expand = false;
     w96.Fill = false;
     // Container child vbox14.Gtk.Box+BoxChild
     this.checkNotComplete = new global::Gtk.CheckButton ();
     this.checkNotComplete.CanFocus = true;
     this.checkNotComplete.Name = "checkNotComplete";
     this.checkNotComplete.Label = global::Mono.Unix.Catalog.GetString ("Только частично начисленные");
     this.checkNotComplete.DrawIndicator = true;
     this.checkNotComplete.UseUnderline = true;
     this.vbox14.Add (this.checkNotComplete);
     global::Gtk.Box.BoxChild w97 = ((global::Gtk.Box.BoxChild)(this.vbox14 [this.checkNotComplete]));
     w97.Position = 1;
     w97.Expand = false;
     w97.Fill = false;
     // Container child vbox14.Gtk.Box+BoxChild
     this.hbox24 = new global::Gtk.HBox ();
     this.hbox24.Name = "hbox24";
     this.hbox24.Spacing = 6;
     // Container child hbox24.Gtk.Box+BoxChild
     this.buttonMakePayment = new global::Gtk.Button ();
     this.buttonMakePayment.CanFocus = true;
     this.buttonMakePayment.Name = "buttonMakePayment";
     this.buttonMakePayment.UseUnderline = true;
     this.buttonMakePayment.Label = global::Mono.Unix.Catalog.GetString ("Внести оплату");
     global::Gtk.Image w98 = new global::Gtk.Image ();
     w98.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dnd", global::Gtk.IconSize.Menu);
     this.buttonMakePayment.Image = w98;
     this.hbox24.Add (this.buttonMakePayment);
     global::Gtk.Box.BoxChild w99 = ((global::Gtk.Box.BoxChild)(this.hbox24 [this.buttonMakePayment]));
     w99.Position = 0;
     w99.Expand = false;
     w99.Fill = false;
     // Container child hbox24.Gtk.Box+BoxChild
     this.buttonAccrualMass = new global::Gtk.Button ();
     this.buttonAccrualMass.CanFocus = true;
     this.buttonAccrualMass.Name = "buttonAccrualMass";
     this.buttonAccrualMass.UseUnderline = true;
     this.buttonAccrualMass.Label = global::Mono.Unix.Catalog.GetString ("Массовое начисление");
     global::Gtk.Image w100 = new global::Gtk.Image ();
     w100.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-execute", global::Gtk.IconSize.Menu);
     this.buttonAccrualMass.Image = w100;
     this.hbox24.Add (this.buttonAccrualMass);
     global::Gtk.Box.BoxChild w101 = ((global::Gtk.Box.BoxChild)(this.hbox24 [this.buttonAccrualMass]));
     w101.Position = 1;
     w101.Expand = false;
     w101.Fill = false;
     this.vbox14.Add (this.hbox24);
     global::Gtk.Box.BoxChild w102 = ((global::Gtk.Box.BoxChild)(this.vbox14 [this.hbox24]));
     w102.PackType = ((global::Gtk.PackType)(1));
     w102.Position = 2;
     w102.Fill = false;
     this.hbox21.Add (this.vbox14);
     global::Gtk.Box.BoxChild w103 = ((global::Gtk.Box.BoxChild)(this.hbox21 [this.vbox14]));
     w103.Position = 1;
     this.vbox13.Add (this.hbox21);
     global::Gtk.Box.BoxChild w104 = ((global::Gtk.Box.BoxChild)(this.vbox13 [this.hbox21]));
     w104.Position = 0;
     w104.Expand = false;
     w104.Fill = false;
     // Container child vbox13.Gtk.Box+BoxChild
     this.GtkScrolledWindow7 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow7.Name = "GtkScrolledWindow7";
     this.GtkScrolledWindow7.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow7.Gtk.Container+ContainerChild
     this.treeviewAccrual = new global::Gamma.GtkWidgets.yTreeView ();
     this.treeviewAccrual.CanFocus = true;
     this.treeviewAccrual.Name = "treeviewAccrual";
     this.GtkScrolledWindow7.Add (this.treeviewAccrual);
     this.vbox13.Add (this.GtkScrolledWindow7);
     global::Gtk.Box.BoxChild w106 = ((global::Gtk.Box.BoxChild)(this.vbox13 [this.GtkScrolledWindow7]));
     w106.Position = 1;
     this.notebookMain.Add (this.vbox13);
     global::Gtk.Notebook.NotebookChild w107 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.vbox13]));
     w107.Position = 3;
     // Notebook tab
     this.label17 = new global::Gtk.Label ();
     this.label17.Name = "label17";
     this.label17.LabelProp = global::Mono.Unix.Catalog.GetString ("Начисления");
     this.notebookMain.SetTabLabel (this.vbox13, this.label17);
     this.label17.ShowAll ();
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.vbox10 = new global::Gtk.VBox ();
     this.vbox10.Name = "vbox10";
     this.vbox10.Spacing = 6;
     // Container child vbox10.Gtk.Box+BoxChild
     this.hbox18 = new global::Gtk.HBox ();
     this.hbox18.Name = "hbox18";
     this.hbox18.Spacing = 6;
     // Container child hbox18.Gtk.Box+BoxChild
     this.table5 = new global::Gtk.Table (((uint)(5)), ((uint)(2)), false);
     this.table5.Name = "table5";
     this.table5.RowSpacing = ((uint)(6));
     this.table5.ColumnSpacing = ((uint)(6));
     this.table5.BorderWidth = ((uint)(6));
     // Container child table5.Gtk.Table+TableChild
     this.comboCashCash = new global::Gtk.ComboBox ();
     this.comboCashCash.Name = "comboCashCash";
     this.table5.Add (this.comboCashCash);
     global::Gtk.Table.TableChild w108 = ((global::Gtk.Table.TableChild)(this.table5 [this.comboCashCash]));
     w108.TopAttach = ((uint)(1));
     w108.BottomAttach = ((uint)(2));
     w108.LeftAttach = ((uint)(1));
     w108.RightAttach = ((uint)(2));
     w108.XOptions = ((global::Gtk.AttachOptions)(4));
     w108.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table5.Gtk.Table+TableChild
     this.comboCashItem = new global::Gtk.ComboBox ();
     this.comboCashItem.Name = "comboCashItem";
     this.table5.Add (this.comboCashItem);
     global::Gtk.Table.TableChild w109 = ((global::Gtk.Table.TableChild)(this.table5 [this.comboCashItem]));
     w109.TopAttach = ((uint)(2));
     w109.BottomAttach = ((uint)(3));
     w109.LeftAttach = ((uint)(1));
     w109.RightAttach = ((uint)(2));
     w109.XOptions = ((global::Gtk.AttachOptions)(4));
     w109.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table5.Gtk.Table+TableChild
     this.comboCashOrg = new global::Gtk.ComboBox ();
     this.comboCashOrg.Name = "comboCashOrg";
     this.table5.Add (this.comboCashOrg);
     global::Gtk.Table.TableChild w110 = ((global::Gtk.Table.TableChild)(this.table5 [this.comboCashOrg]));
     w110.LeftAttach = ((uint)(1));
     w110.RightAttach = ((uint)(2));
     w110.XOptions = ((global::Gtk.AttachOptions)(4));
     w110.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table5.Gtk.Table+TableChild
     this.hbox26 = new global::Gtk.HBox ();
     this.hbox26.Name = "hbox26";
     this.hbox26.Spacing = 6;
     // Container child hbox26.Gtk.Box+BoxChild
     this.entryCashContractor = new global::Gtk.Entry ();
     this.entryCashContractor.CanFocus = true;
     this.entryCashContractor.Name = "entryCashContractor";
     this.entryCashContractor.IsEditable = true;
     this.entryCashContractor.InvisibleChar = '●';
     this.hbox26.Add (this.entryCashContractor);
     global::Gtk.Box.BoxChild w111 = ((global::Gtk.Box.BoxChild)(this.hbox26 [this.entryCashContractor]));
     w111.Position = 0;
     // Container child hbox26.Gtk.Box+BoxChild
     this.buttonCashContractorClear = new global::Gtk.Button ();
     this.buttonCashContractorClear.CanFocus = true;
     this.buttonCashContractorClear.Name = "buttonCashContractorClear";
     this.buttonCashContractorClear.UseUnderline = true;
     global::Gtk.Image w112 = new global::Gtk.Image ();
     w112.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu);
     this.buttonCashContractorClear.Image = w112;
     this.hbox26.Add (this.buttonCashContractorClear);
     global::Gtk.Box.BoxChild w113 = ((global::Gtk.Box.BoxChild)(this.hbox26 [this.buttonCashContractorClear]));
     w113.Position = 1;
     w113.Expand = false;
     w113.Fill = false;
     this.table5.Add (this.hbox26);
     global::Gtk.Table.TableChild w114 = ((global::Gtk.Table.TableChild)(this.table5 [this.hbox26]));
     w114.TopAttach = ((uint)(3));
     w114.BottomAttach = ((uint)(4));
     w114.LeftAttach = ((uint)(1));
     w114.RightAttach = ((uint)(2));
     w114.XOptions = ((global::Gtk.AttachOptions)(4));
     w114.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table5.Gtk.Table+TableChild
     this.hbox27 = new global::Gtk.HBox ();
     this.hbox27.Name = "hbox27";
     this.hbox27.Spacing = 6;
     // Container child hbox27.Gtk.Box+BoxChild
     this.entryCashEmployee = new global::Gtk.Entry ();
     this.entryCashEmployee.CanFocus = true;
     this.entryCashEmployee.Name = "entryCashEmployee";
     this.entryCashEmployee.IsEditable = true;
     this.entryCashEmployee.InvisibleChar = '●';
     this.hbox27.Add (this.entryCashEmployee);
     global::Gtk.Box.BoxChild w115 = ((global::Gtk.Box.BoxChild)(this.hbox27 [this.entryCashEmployee]));
     w115.Position = 0;
     // Container child hbox27.Gtk.Box+BoxChild
     this.buttonCashEmployeeClear = new global::Gtk.Button ();
     this.buttonCashEmployeeClear.CanFocus = true;
     this.buttonCashEmployeeClear.Name = "buttonCashEmployeeClear";
     this.buttonCashEmployeeClear.UseUnderline = true;
     global::Gtk.Image w116 = new global::Gtk.Image ();
     w116.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu);
     this.buttonCashEmployeeClear.Image = w116;
     this.hbox27.Add (this.buttonCashEmployeeClear);
     global::Gtk.Box.BoxChild w117 = ((global::Gtk.Box.BoxChild)(this.hbox27 [this.buttonCashEmployeeClear]));
     w117.Position = 1;
     w117.Expand = false;
     w117.Fill = false;
     this.table5.Add (this.hbox27);
     global::Gtk.Table.TableChild w118 = ((global::Gtk.Table.TableChild)(this.table5 [this.hbox27]));
     w118.TopAttach = ((uint)(4));
     w118.BottomAttach = ((uint)(5));
     w118.LeftAttach = ((uint)(1));
     w118.RightAttach = ((uint)(2));
     w118.XOptions = ((global::Gtk.AttachOptions)(4));
     w118.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table5.Gtk.Table+TableChild
     this.label33 = new global::Gtk.Label ();
     this.label33.Name = "label33";
     this.label33.Xalign = 1F;
     this.label33.LabelProp = global::Mono.Unix.Catalog.GetString ("Организация:");
     this.table5.Add (this.label33);
     global::Gtk.Table.TableChild w119 = ((global::Gtk.Table.TableChild)(this.table5 [this.label33]));
     w119.XOptions = ((global::Gtk.AttachOptions)(4));
     w119.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table5.Gtk.Table+TableChild
     this.label34 = new global::Gtk.Label ();
     this.label34.Name = "label34";
     this.label34.Xalign = 1F;
     this.label34.LabelProp = global::Mono.Unix.Catalog.GetString ("Касса:");
     this.table5.Add (this.label34);
     global::Gtk.Table.TableChild w120 = ((global::Gtk.Table.TableChild)(this.table5 [this.label34]));
     w120.TopAttach = ((uint)(1));
     w120.BottomAttach = ((uint)(2));
     w120.XOptions = ((global::Gtk.AttachOptions)(4));
     w120.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table5.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.table5.Add (this.label35);
     global::Gtk.Table.TableChild w121 = ((global::Gtk.Table.TableChild)(this.table5 [this.label35]));
     w121.TopAttach = ((uint)(2));
     w121.BottomAttach = ((uint)(3));
     w121.XOptions = ((global::Gtk.AttachOptions)(4));
     w121.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table5.Gtk.Table+TableChild
     this.label36 = new global::Gtk.Label ();
     this.label36.Name = "label36";
     this.label36.Xalign = 1F;
     this.label36.LabelProp = global::Mono.Unix.Catalog.GetString ("Контрагент:");
     this.table5.Add (this.label36);
     global::Gtk.Table.TableChild w122 = ((global::Gtk.Table.TableChild)(this.table5 [this.label36]));
     w122.TopAttach = ((uint)(3));
     w122.BottomAttach = ((uint)(4));
     w122.XOptions = ((global::Gtk.AttachOptions)(4));
     w122.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table5.Gtk.Table+TableChild
     this.label41 = new global::Gtk.Label ();
     this.label41.Name = "label41";
     this.label41.Xalign = 1F;
     this.label41.LabelProp = global::Mono.Unix.Catalog.GetString ("Сотрудник:");
     this.table5.Add (this.label41);
     global::Gtk.Table.TableChild w123 = ((global::Gtk.Table.TableChild)(this.table5 [this.label41]));
     w123.TopAttach = ((uint)(4));
     w123.BottomAttach = ((uint)(5));
     w123.XOptions = ((global::Gtk.AttachOptions)(4));
     w123.YOptions = ((global::Gtk.AttachOptions)(4));
     this.hbox18.Add (this.table5);
     global::Gtk.Box.BoxChild w124 = ((global::Gtk.Box.BoxChild)(this.hbox18 [this.table5]));
     w124.Position = 0;
     w124.Expand = false;
     w124.Fill = false;
     // Container child hbox18.Gtk.Box+BoxChild
     this.vbox11 = new global::Gtk.VBox ();
     this.vbox11.Name = "vbox11";
     this.vbox11.Spacing = 6;
     this.vbox11.BorderWidth = ((uint)(6));
     // Container child vbox11.Gtk.Box+BoxChild
     this.label31 = new global::Gtk.Label ();
     this.label31.Name = "label31";
     this.label31.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Выбор периода</b>");
     this.label31.UseMarkup = true;
     this.vbox11.Add (this.label31);
     global::Gtk.Box.BoxChild w125 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.label31]));
     w125.Position = 0;
     w125.Expand = false;
     w125.Fill = false;
     // Container child vbox11.Gtk.Box+BoxChild
     this.radioCashToday = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Сегодня"));
     this.radioCashToday.CanFocus = true;
     this.radioCashToday.Name = "radioCashToday";
     this.radioCashToday.DrawIndicator = true;
     this.radioCashToday.UseUnderline = true;
     this.radioCashToday.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.vbox11.Add (this.radioCashToday);
     global::Gtk.Box.BoxChild w126 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.radioCashToday]));
     w126.Position = 1;
     w126.Expand = false;
     w126.Fill = false;
     // Container child vbox11.Gtk.Box+BoxChild
     this.radioCashWeek = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("За неделю"));
     this.radioCashWeek.CanFocus = true;
     this.radioCashWeek.Name = "radioCashWeek";
     this.radioCashWeek.DrawIndicator = true;
     this.radioCashWeek.UseUnderline = true;
     this.radioCashWeek.Group = this.radioCashToday.Group;
     this.vbox11.Add (this.radioCashWeek);
     global::Gtk.Box.BoxChild w127 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.radioCashWeek]));
     w127.Position = 2;
     w127.Expand = false;
     w127.Fill = false;
     // Container child vbox11.Gtk.Box+BoxChild
     this.radioMonth = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("За месяц"));
     this.radioMonth.CanFocus = true;
     this.radioMonth.Name = "radioMonth";
     this.radioMonth.DrawIndicator = true;
     this.radioMonth.UseUnderline = true;
     this.radioMonth.Group = this.radioCashToday.Group;
     this.vbox11.Add (this.radioMonth);
     global::Gtk.Box.BoxChild w128 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.radioMonth]));
     w128.Position = 3;
     w128.Expand = false;
     w128.Fill = false;
     // Container child vbox11.Gtk.Box+BoxChild
     this.radioCash6Month = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("За полгода"));
     this.radioCash6Month.CanFocus = true;
     this.radioCash6Month.Name = "radioCash6Month";
     this.radioCash6Month.DrawIndicator = true;
     this.radioCash6Month.UseUnderline = true;
     this.radioCash6Month.Group = this.radioCashToday.Group;
     this.vbox11.Add (this.radioCash6Month);
     global::Gtk.Box.BoxChild w129 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.radioCash6Month]));
     w129.Position = 4;
     w129.Expand = false;
     w129.Fill = false;
     // Container child vbox11.Gtk.Box+BoxChild
     this.hbox15 = new global::Gtk.HBox ();
     this.hbox15.Name = "hbox15";
     this.hbox15.Spacing = 6;
     // Container child hbox15.Gtk.Box+BoxChild
     this.dateCashStart = new global::QSWidgetLib.DatePicker ();
     this.dateCashStart.Events = ((global::Gdk.EventMask)(256));
     this.dateCashStart.Name = "dateCashStart";
     this.dateCashStart.Date = new global::System.DateTime (0);
     this.dateCashStart.IsEditable = true;
     this.dateCashStart.AutoSeparation = true;
     this.hbox15.Add (this.dateCashStart);
     global::Gtk.Box.BoxChild w130 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.dateCashStart]));
     w130.Position = 0;
     // Container child hbox15.Gtk.Box+BoxChild
     this.label32 = new global::Gtk.Label ();
     this.label32.Name = "label32";
     this.label32.LabelProp = global::Mono.Unix.Catalog.GetString ("-");
     this.hbox15.Add (this.label32);
     global::Gtk.Box.BoxChild w131 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.label32]));
     w131.Position = 1;
     w131.Expand = false;
     w131.Fill = false;
     // Container child hbox15.Gtk.Box+BoxChild
     this.dateCashEnd = new global::QSWidgetLib.DatePicker ();
     this.dateCashEnd.Events = ((global::Gdk.EventMask)(256));
     this.dateCashEnd.Name = "dateCashEnd";
     this.dateCashEnd.Date = new global::System.DateTime (0);
     this.dateCashEnd.IsEditable = true;
     this.dateCashEnd.AutoSeparation = true;
     this.hbox15.Add (this.dateCashEnd);
     global::Gtk.Box.BoxChild w132 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.dateCashEnd]));
     w132.Position = 2;
     this.vbox11.Add (this.hbox15);
     global::Gtk.Box.BoxChild w133 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.hbox15]));
     w133.Position = 5;
     w133.Expand = false;
     w133.Fill = false;
     this.hbox18.Add (this.vbox11);
     global::Gtk.Box.BoxChild w134 = ((global::Gtk.Box.BoxChild)(this.hbox18 [this.vbox11]));
     w134.Position = 1;
     w134.Expand = false;
     w134.Fill = false;
     // Container child hbox18.Gtk.Box+BoxChild
     this.vbox12 = new global::Gtk.VBox ();
     this.vbox12.Name = "vbox12";
     this.vbox12.Spacing = 6;
     // Container child vbox12.Gtk.Box+BoxChild
     this.label39 = new global::Gtk.Label ();
     this.label39.Name = "label39";
     this.label39.Xalign = 0F;
     this.label39.LabelProp = global::Mono.Unix.Catalog.GetString ("Деньги в кассе:");
     this.label39.UseMarkup = true;
     this.vbox12.Add (this.label39);
     global::Gtk.Box.BoxChild w135 = ((global::Gtk.Box.BoxChild)(this.vbox12 [this.label39]));
     w135.Position = 0;
     w135.Expand = false;
     w135.Fill = false;
     // Container child vbox12.Gtk.Box+BoxChild
     this.labelCashSum = new global::Gtk.Label ();
     this.labelCashSum.Name = "labelCashSum";
     this.labelCashSum.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>0</b>");
     this.labelCashSum.UseMarkup = true;
     this.vbox12.Add (this.labelCashSum);
     global::Gtk.Box.BoxChild w136 = ((global::Gtk.Box.BoxChild)(this.vbox12 [this.labelCashSum]));
     w136.Position = 1;
     w136.Expand = false;
     w136.Fill = false;
     // Container child vbox12.Gtk.Box+BoxChild
     this.labelCashSumOrg = new global::Gtk.Label ();
     this.labelCashSumOrg.Name = "labelCashSumOrg";
     this.labelCashSumOrg.LabelProp = global::Mono.Unix.Catalog.GetString ("Касса не выбрана");
     this.vbox12.Add (this.labelCashSumOrg);
     global::Gtk.Box.BoxChild w137 = ((global::Gtk.Box.BoxChild)(this.vbox12 [this.labelCashSumOrg]));
     w137.Position = 2;
     w137.Expand = false;
     w137.Fill = false;
     // Container child vbox12.Gtk.Box+BoxChild
     this.labelCashSumCash = new global::Gtk.Label ();
     this.labelCashSumCash.Name = "labelCashSumCash";
     this.vbox12.Add (this.labelCashSumCash);
     global::Gtk.Box.BoxChild w138 = ((global::Gtk.Box.BoxChild)(this.vbox12 [this.labelCashSumCash]));
     w138.Position = 3;
     w138.Expand = false;
     w138.Fill = false;
     // Container child vbox12.Gtk.Box+BoxChild
     this.buttonCashBalance = new global::Gtk.Button ();
     this.buttonCashBalance.CanFocus = true;
     this.buttonCashBalance.Name = "buttonCashBalance";
     this.buttonCashBalance.UseUnderline = true;
     this.buttonCashBalance.Label = global::Mono.Unix.Catalog.GetString ("Расходы и доходы");
     this.vbox12.Add (this.buttonCashBalance);
     global::Gtk.Box.BoxChild w139 = ((global::Gtk.Box.BoxChild)(this.vbox12 [this.buttonCashBalance]));
     w139.PackType = ((global::Gtk.PackType)(1));
     w139.Position = 4;
     w139.Expand = false;
     w139.Fill = false;
     // Container child vbox12.Gtk.Box+BoxChild
     this.buttonCashDebts = new global::Gtk.Button ();
     this.buttonCashDebts.CanFocus = true;
     this.buttonCashDebts.Name = "buttonCashDebts";
     this.buttonCashDebts.UseUnderline = true;
     this.buttonCashDebts.Label = global::Mono.Unix.Catalog.GetString ("Долги Сотрудников");
     this.vbox12.Add (this.buttonCashDebts);
     global::Gtk.Box.BoxChild w140 = ((global::Gtk.Box.BoxChild)(this.vbox12 [this.buttonCashDebts]));
     w140.PackType = ((global::Gtk.PackType)(1));
     w140.Position = 5;
     w140.Expand = false;
     w140.Fill = false;
     this.hbox18.Add (this.vbox12);
     global::Gtk.Box.BoxChild w141 = ((global::Gtk.Box.BoxChild)(this.hbox18 [this.vbox12]));
     w141.PackType = ((global::Gtk.PackType)(1));
     w141.Position = 2;
     w141.Fill = false;
     this.vbox10.Add (this.hbox18);
     global::Gtk.Box.BoxChild w142 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.hbox18]));
     w142.Position = 0;
     w142.Expand = false;
     w142.Fill = false;
     // Container child vbox10.Gtk.Box+BoxChild
     this.notebookCash = new global::Gtk.Notebook ();
     this.notebookCash.CanFocus = true;
     this.notebookCash.Name = "notebookCash";
     this.notebookCash.CurrentPage = 2;
     // Container child notebookCash.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
     this.treeviewIncome = new global::Gtk.TreeView ();
     this.treeviewIncome.CanFocus = true;
     this.treeviewIncome.Name = "treeviewIncome";
     this.GtkScrolledWindow4.Add (this.treeviewIncome);
     this.notebookCash.Add (this.GtkScrolledWindow4);
     // Notebook tab
     this.label37 = new global::Gtk.Label ();
     this.label37.Name = "label37";
     this.label37.LabelProp = global::Mono.Unix.Catalog.GetString ("Приходные ордера");
     this.notebookCash.SetTabLabel (this.GtkScrolledWindow4, this.label37);
     this.label37.ShowAll ();
     // Container child notebookCash.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow5 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow5.Name = "GtkScrolledWindow5";
     this.GtkScrolledWindow5.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow5.Gtk.Container+ContainerChild
     this.treeviewExpense = new global::Gtk.TreeView ();
     this.treeviewExpense.CanFocus = true;
     this.treeviewExpense.Name = "treeviewExpense";
     this.GtkScrolledWindow5.Add (this.treeviewExpense);
     this.notebookCash.Add (this.GtkScrolledWindow5);
     global::Gtk.Notebook.NotebookChild w146 = ((global::Gtk.Notebook.NotebookChild)(this.notebookCash [this.GtkScrolledWindow5]));
     w146.Position = 1;
     // Notebook tab
     this.label9 = new global::Gtk.Label ();
     this.label9.Name = "label9";
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Расходные ордера");
     this.notebookCash.SetTabLabel (this.GtkScrolledWindow5, this.label9);
     this.label9.ShowAll ();
     // Container child notebookCash.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow6 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow6.Name = "GtkScrolledWindow6";
     this.GtkScrolledWindow6.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow6.Gtk.Container+ContainerChild
     this.treeviewAdvance = new global::Gtk.TreeView ();
     this.treeviewAdvance.CanFocus = true;
     this.treeviewAdvance.Name = "treeviewAdvance";
     this.GtkScrolledWindow6.Add (this.treeviewAdvance);
     this.notebookCash.Add (this.GtkScrolledWindow6);
     global::Gtk.Notebook.NotebookChild w148 = ((global::Gtk.Notebook.NotebookChild)(this.notebookCash [this.GtkScrolledWindow6]));
     w148.Position = 2;
     // Notebook tab
     this.label7 = new global::Gtk.Label ();
     this.label7.Name = "label7";
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Авансовые отчеты");
     this.notebookCash.SetTabLabel (this.GtkScrolledWindow6, this.label7);
     this.label7.ShowAll ();
     this.vbox10.Add (this.notebookCash);
     global::Gtk.Box.BoxChild w149 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.notebookCash]));
     w149.Position = 1;
     this.notebookMain.Add (this.vbox10);
     global::Gtk.Notebook.NotebookChild w150 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.vbox10]));
     w150.Position = 4;
     // Notebook tab
     this.label16 = new global::Gtk.Label ();
     this.label16.Name = "label16";
     this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("Касса");
     this.notebookMain.SetTabLabel (this.vbox10, this.label16);
     this.label16.ShowAll ();
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.vbox4 = new global::Gtk.VBox ();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox5 = new global::Gtk.HBox ();
     this.hbox5.Name = "hbox5";
     this.hbox5.Spacing = 6;
     this.hbox5.BorderWidth = ((uint)(6));
     // Container child hbox5.Gtk.Box+BoxChild
     this.vbox5 = new global::Gtk.VBox ();
     this.vbox5.Name = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.label8 = new global::Gtk.Label ();
     this.label8.Name = "label8";
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Параметры выборки</b>");
     this.label8.UseMarkup = true;
     this.label8.Justify = ((global::Gtk.Justification)(2));
     this.vbox5.Add (this.label8);
     global::Gtk.Box.BoxChild w151 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.label8]));
     w151.Position = 0;
     w151.Expand = false;
     w151.Fill = false;
     // Container child vbox5.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.comboEventType = new global::Gtk.ComboBox ();
     this.comboEventType.Name = "comboEventType";
     this.table2.Add (this.comboEventType);
     global::Gtk.Table.TableChild w152 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboEventType]));
     w152.LeftAttach = ((uint)(1));
     w152.RightAttach = ((uint)(2));
     w152.XOptions = ((global::Gtk.AttachOptions)(4));
     w152.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.comboEventUser = global::Gtk.ComboBox.NewText ();
     this.comboEventUser.Name = "comboEventUser";
     this.table2.Add (this.comboEventUser);
     global::Gtk.Table.TableChild w153 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboEventUser]));
     w153.TopAttach = ((uint)(1));
     w153.BottomAttach = ((uint)(2));
     w153.LeftAttach = ((uint)(1));
     w153.RightAttach = ((uint)(2));
     w153.XOptions = ((global::Gtk.AttachOptions)(4));
     w153.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.hbox6 = new global::Gtk.HBox ();
     this.hbox6.Name = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.comboEventPlaceT = new global::Gtk.ComboBox ();
     this.comboEventPlaceT.Name = "comboEventPlaceT";
     this.hbox6.Add (this.comboEventPlaceT);
     global::Gtk.Box.BoxChild w154 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.comboEventPlaceT]));
     w154.Position = 0;
     w154.Expand = false;
     w154.Fill = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.label18 = new global::Gtk.Label ();
     this.label18.Name = "label18";
     this.label18.LabelProp = global::Mono.Unix.Catalog.GetString ("-");
     this.hbox6.Add (this.label18);
     global::Gtk.Box.BoxChild w155 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.label18]));
     w155.Position = 1;
     w155.Expand = false;
     w155.Fill = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.comboboxEventPlaceNo = global::Gtk.ComboBox.NewText ();
     this.comboboxEventPlaceNo.Name = "comboboxEventPlaceNo";
     this.hbox6.Add (this.comboboxEventPlaceNo);
     global::Gtk.Box.BoxChild w156 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.comboboxEventPlaceNo]));
     w156.Position = 2;
     w156.Expand = false;
     w156.Fill = false;
     this.table2.Add (this.hbox6);
     global::Gtk.Table.TableChild w157 = ((global::Gtk.Table.TableChild)(this.table2 [this.hbox6]));
     w157.TopAttach = ((uint)(3));
     w157.BottomAttach = ((uint)(4));
     w157.LeftAttach = ((uint)(1));
     w157.RightAttach = ((uint)(2));
     w157.XOptions = ((global::Gtk.AttachOptions)(4));
     w157.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.hbox7 = new global::Gtk.HBox ();
     this.hbox7.Name = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.entryEventLessee = new global::Gtk.Entry ();
     this.entryEventLessee.CanFocus = true;
     this.entryEventLessee.Name = "entryEventLessee";
     this.entryEventLessee.IsEditable = false;
     this.entryEventLessee.WidthChars = 0;
     this.entryEventLessee.InvisibleChar = '●';
     this.hbox7.Add (this.entryEventLessee);
     global::Gtk.Box.BoxChild w158 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.entryEventLessee]));
     w158.Position = 0;
     // Container child hbox7.Gtk.Box+BoxChild
     this.buttonEventLesseeClean = new global::Gtk.Button ();
     this.buttonEventLesseeClean.TooltipMarkup = "Очистить арендатора";
     this.buttonEventLesseeClean.CanFocus = true;
     this.buttonEventLesseeClean.Name = "buttonEventLesseeClean";
     this.buttonEventLesseeClean.UseUnderline = true;
     global::Gtk.Image w159 = new global::Gtk.Image ();
     w159.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu);
     this.buttonEventLesseeClean.Image = w159;
     this.hbox7.Add (this.buttonEventLesseeClean);
     global::Gtk.Box.BoxChild w160 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonEventLesseeClean]));
     w160.Position = 1;
     w160.Expand = false;
     w160.Fill = false;
     // Container child hbox7.Gtk.Box+BoxChild
     this.buttonEventLesseeEdit = new global::Gtk.Button ();
     this.buttonEventLesseeEdit.TooltipMarkup = "Выбрать арендатора";
     this.buttonEventLesseeEdit.CanFocus = true;
     this.buttonEventLesseeEdit.Name = "buttonEventLesseeEdit";
     this.buttonEventLesseeEdit.UseUnderline = true;
     global::Gtk.Image w161 = new global::Gtk.Image ();
     w161.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu);
     this.buttonEventLesseeEdit.Image = w161;
     this.hbox7.Add (this.buttonEventLesseeEdit);
     global::Gtk.Box.BoxChild w162 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonEventLesseeEdit]));
     w162.Position = 2;
     w162.Expand = false;
     w162.Fill = false;
     this.table2.Add (this.hbox7);
     global::Gtk.Table.TableChild w163 = ((global::Gtk.Table.TableChild)(this.table2 [this.hbox7]));
     w163.TopAttach = ((uint)(2));
     w163.BottomAttach = ((uint)(3));
     w163.LeftAttach = ((uint)(1));
     w163.RightAttach = ((uint)(2));
     w163.XOptions = ((global::Gtk.AttachOptions)(4));
     w163.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.label10.Justify = ((global::Gtk.Justification)(1));
     this.table2.Add (this.label10);
     global::Gtk.Table.TableChild w164 = ((global::Gtk.Table.TableChild)(this.table2 [this.label10]));
     w164.XOptions = ((global::Gtk.AttachOptions)(4));
     w164.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label11 = new global::Gtk.Label ();
     this.label11.Name = "label11";
     this.label11.Xalign = 1F;
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Арендатор:");
     this.label11.Justify = ((global::Gtk.Justification)(1));
     this.table2.Add (this.label11);
     global::Gtk.Table.TableChild w165 = ((global::Gtk.Table.TableChild)(this.table2 [this.label11]));
     w165.TopAttach = ((uint)(2));
     w165.BottomAttach = ((uint)(3));
     w165.XOptions = ((global::Gtk.AttachOptions)(4));
     w165.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label12 = new global::Gtk.Label ();
     this.label12.Name = "label12";
     this.label12.Xalign = 1F;
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Место:");
     this.table2.Add (this.label12);
     global::Gtk.Table.TableChild w166 = ((global::Gtk.Table.TableChild)(this.table2 [this.label12]));
     w166.TopAttach = ((uint)(3));
     w166.BottomAttach = ((uint)(4));
     w166.XOptions = ((global::Gtk.AttachOptions)(4));
     w166.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label13 = new global::Gtk.Label ();
     this.label13.Name = "label13";
     this.label13.Xalign = 1F;
     this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Пользователь:");
     this.label13.Justify = ((global::Gtk.Justification)(1));
     this.table2.Add (this.label13);
     global::Gtk.Table.TableChild w167 = ((global::Gtk.Table.TableChild)(this.table2 [this.label13]));
     w167.TopAttach = ((uint)(1));
     w167.BottomAttach = ((uint)(2));
     w167.XOptions = ((global::Gtk.AttachOptions)(4));
     w167.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox5.Add (this.table2);
     global::Gtk.Box.BoxChild w168 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.table2]));
     w168.Position = 1;
     w168.Expand = false;
     w168.Fill = false;
     this.hbox5.Add (this.vbox5);
     global::Gtk.Box.BoxChild w169 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.vbox5]));
     w169.Position = 0;
     w169.Expand = false;
     w169.Fill = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.vseparator1 = new global::Gtk.VSeparator ();
     this.vseparator1.Name = "vseparator1";
     this.hbox5.Add (this.vseparator1);
     global::Gtk.Box.BoxChild w170 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.vseparator1]));
     w170.Position = 1;
     w170.Expand = false;
     w170.Fill = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.vbox6 = new global::Gtk.VBox ();
     this.vbox6.Name = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.label14 = new global::Gtk.Label ();
     this.label14.Name = "label14";
     this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Выбор периода</b>");
     this.label14.UseMarkup = true;
     this.vbox6.Add (this.label14);
     global::Gtk.Box.BoxChild w171 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label14]));
     w171.Position = 0;
     w171.Expand = false;
     w171.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.radiobuttonToday = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Сегодня"));
     this.radiobuttonToday.CanFocus = true;
     this.radiobuttonToday.Name = "radiobuttonToday";
     this.radiobuttonToday.DrawIndicator = true;
     this.radiobuttonToday.UseUnderline = true;
     this.radiobuttonToday.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.vbox6.Add (this.radiobuttonToday);
     global::Gtk.Box.BoxChild w172 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.radiobuttonToday]));
     w172.Position = 1;
     w172.Expand = false;
     w172.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.radiobuttonWeek = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("За неделю"));
     this.radiobuttonWeek.CanFocus = true;
     this.radiobuttonWeek.Name = "radiobuttonWeek";
     this.radiobuttonWeek.DrawIndicator = true;
     this.radiobuttonWeek.UseUnderline = true;
     this.radiobuttonWeek.Group = this.radiobuttonToday.Group;
     this.vbox6.Add (this.radiobuttonWeek);
     global::Gtk.Box.BoxChild w173 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.radiobuttonWeek]));
     w173.Position = 2;
     w173.Expand = false;
     w173.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.radiobuttonMonth = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("За месяц"));
     this.radiobuttonMonth.CanFocus = true;
     this.radiobuttonMonth.Name = "radiobuttonMonth";
     this.radiobuttonMonth.DrawIndicator = true;
     this.radiobuttonMonth.UseUnderline = true;
     this.radiobuttonMonth.Group = this.radiobuttonToday.Group;
     this.vbox6.Add (this.radiobuttonMonth);
     global::Gtk.Box.BoxChild w174 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.radiobuttonMonth]));
     w174.Position = 3;
     w174.Expand = false;
     w174.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.radiobutton6Month = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("За полгода"));
     this.radiobutton6Month.CanFocus = true;
     this.radiobutton6Month.Name = "radiobutton6Month";
     this.radiobutton6Month.DrawIndicator = true;
     this.radiobutton6Month.UseUnderline = true;
     this.radiobutton6Month.Group = this.radiobuttonToday.Group;
     this.vbox6.Add (this.radiobutton6Month);
     global::Gtk.Box.BoxChild w175 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.radiobutton6Month]));
     w175.Position = 4;
     w175.Expand = false;
     w175.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox13 = new global::Gtk.HBox ();
     this.hbox13.Name = "hbox13";
     this.hbox13.Spacing = 6;
     // Container child hbox13.Gtk.Box+BoxChild
     this.datepickerEventBegin = new global::QSWidgetLib.DatePicker ();
     this.datepickerEventBegin.Events = ((global::Gdk.EventMask)(256));
     this.datepickerEventBegin.Name = "datepickerEventBegin";
     this.datepickerEventBegin.Date = new global::System.DateTime (0);
     this.datepickerEventBegin.IsEditable = true;
     this.datepickerEventBegin.AutoSeparation = true;
     this.hbox13.Add (this.datepickerEventBegin);
     global::Gtk.Box.BoxChild w176 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.datepickerEventBegin]));
     w176.Position = 0;
     // Container child hbox13.Gtk.Box+BoxChild
     this.label23 = new global::Gtk.Label ();
     this.label23.Name = "label23";
     this.label23.LabelProp = global::Mono.Unix.Catalog.GetString ("-");
     this.hbox13.Add (this.label23);
     global::Gtk.Box.BoxChild w177 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.label23]));
     w177.Position = 1;
     w177.Expand = false;
     w177.Fill = false;
     // Container child hbox13.Gtk.Box+BoxChild
     this.datepickerEventEnd = new global::QSWidgetLib.DatePicker ();
     this.datepickerEventEnd.Events = ((global::Gdk.EventMask)(256));
     this.datepickerEventEnd.Name = "datepickerEventEnd";
     this.datepickerEventEnd.Date = new global::System.DateTime (0);
     this.datepickerEventEnd.IsEditable = true;
     this.datepickerEventEnd.AutoSeparation = true;
     this.hbox13.Add (this.datepickerEventEnd);
     global::Gtk.Box.BoxChild w178 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.datepickerEventEnd]));
     w178.Position = 2;
     this.vbox6.Add (this.hbox13);
     global::Gtk.Box.BoxChild w179 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox13]));
     w179.Position = 5;
     w179.Expand = false;
     w179.Fill = false;
     this.hbox5.Add (this.vbox6);
     global::Gtk.Box.BoxChild w180 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.vbox6]));
     w180.Position = 2;
     w180.Expand = false;
     w180.Fill = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.vseparator3 = new global::Gtk.VSeparator ();
     this.vseparator3.Name = "vseparator3";
     this.hbox5.Add (this.vseparator3);
     global::Gtk.Box.BoxChild w181 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.vseparator3]));
     w181.Position = 3;
     w181.Expand = false;
     w181.Fill = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.vbox7 = new global::Gtk.VBox ();
     this.vbox7.Name = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.label24 = new global::Gtk.Label ();
     this.label24.Name = "label24";
     this.label24.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Поиск по тексту</b>");
     this.label24.UseMarkup = true;
     this.vbox7.Add (this.label24);
     global::Gtk.Box.BoxChild w182 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.label24]));
     w182.Position = 0;
     w182.Expand = false;
     w182.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.label25 = new global::Gtk.Label ();
     this.label25.Name = "label25";
     this.label25.Xalign = 0F;
     this.label25.LabelProp = global::Mono.Unix.Catalog.GetString ("В причинах:");
     this.vbox7.Add (this.label25);
     global::Gtk.Box.BoxChild w183 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.label25]));
     w183.Position = 1;
     w183.Expand = false;
     w183.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.entryEventCause = new global::Gtk.Entry ();
     this.entryEventCause.CanFocus = true;
     this.entryEventCause.Name = "entryEventCause";
     this.entryEventCause.IsEditable = true;
     this.entryEventCause.InvisibleChar = '●';
     this.vbox7.Add (this.entryEventCause);
     global::Gtk.Box.BoxChild w184 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.entryEventCause]));
     w184.Position = 2;
     w184.Expand = false;
     w184.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.label38 = new global::Gtk.Label ();
     this.label38.Name = "label38";
     this.label38.Xalign = 0F;
     this.label38.LabelProp = global::Mono.Unix.Catalog.GetString ("В предпринятых мерах:");
     this.label38.Ellipsize = ((global::Pango.EllipsizeMode)(3));
     this.vbox7.Add (this.label38);
     global::Gtk.Box.BoxChild w185 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.label38]));
     w185.Position = 3;
     w185.Expand = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.entryEventActivity = new global::Gtk.Entry ();
     this.entryEventActivity.CanFocus = true;
     this.entryEventActivity.Name = "entryEventActivity";
     this.entryEventActivity.IsEditable = true;
     this.entryEventActivity.InvisibleChar = '●';
     this.vbox7.Add (this.entryEventActivity);
     global::Gtk.Box.BoxChild w186 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.entryEventActivity]));
     w186.Position = 4;
     w186.Expand = false;
     w186.Fill = false;
     this.hbox5.Add (this.vbox7);
     global::Gtk.Box.BoxChild w187 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.vbox7]));
     w187.Position = 4;
     // Container child hbox5.Gtk.Box+BoxChild
     this.vseparator4 = new global::Gtk.VSeparator ();
     this.vseparator4.Name = "vseparator4";
     this.hbox5.Add (this.vseparator4);
     global::Gtk.Box.BoxChild w188 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.vseparator4]));
     w188.Position = 5;
     w188.Expand = false;
     w188.Fill = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.buttonEventRefresh = new global::Gtk.Button ();
     this.buttonEventRefresh.CanFocus = true;
     this.buttonEventRefresh.Name = "buttonEventRefresh";
     this.buttonEventRefresh.UseUnderline = true;
     this.buttonEventRefresh.Label = global::Mono.Unix.Catalog.GetString ("Заполнить");
     global::Gtk.Image w189 = new global::Gtk.Image ();
     w189.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-index", global::Gtk.IconSize.LargeToolbar);
     this.buttonEventRefresh.Image = w189;
     this.hbox5.Add (this.buttonEventRefresh);
     global::Gtk.Box.BoxChild w190 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonEventRefresh]));
     w190.Position = 6;
     w190.Expand = false;
     w190.Fill = false;
     this.vbox4.Add (this.hbox5);
     global::Gtk.Box.BoxChild w191 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox5]));
     w191.Position = 0;
     w191.Expand = false;
     w191.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow2.Name = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     this.GtkScrolledWindow2.BorderWidth = ((uint)(6));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.treeviewEvents = new global::Gtk.TreeView ();
     this.treeviewEvents.CanFocus = true;
     this.treeviewEvents.Name = "treeviewEvents";
     this.GtkScrolledWindow2.Add (this.treeviewEvents);
     this.vbox4.Add (this.GtkScrolledWindow2);
     global::Gtk.Box.BoxChild w193 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow2]));
     w193.Position = 1;
     this.notebookMain.Add (this.vbox4);
     global::Gtk.Notebook.NotebookChild w194 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.vbox4]));
     w194.Position = 5;
     // Notebook tab
     this.label40 = new global::Gtk.Label ();
     this.label40.Name = "label40";
     this.label40.LabelProp = global::Mono.Unix.Catalog.GetString ("События");
     this.notebookMain.SetTabLabel (this.vbox4, this.label40);
     this.label40.ShowAll ();
     this.vbox1.Add (this.notebookMain);
     global::Gtk.Box.BoxChild w195 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebookMain]));
     w195.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox17 = new global::Gtk.HBox ();
     this.hbox17.Name = "hbox17";
     this.hbox17.Spacing = 6;
     this.hbox17.BorderWidth = ((uint)(6));
     // Container child hbox17.Gtk.Box+BoxChild
     this.buttonOpen = new global::Gtk.Button ();
     this.buttonOpen.Sensitive = false;
     this.buttonOpen.CanFocus = true;
     this.buttonOpen.Name = "buttonOpen";
     this.buttonOpen.UseUnderline = true;
     this.buttonOpen.Label = global::Mono.Unix.Catalog.GetString ("_Открыть");
     global::Gtk.Image w196 = new global::Gtk.Image ();
     w196.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu);
     this.buttonOpen.Image = w196;
     this.hbox17.Add (this.buttonOpen);
     global::Gtk.Box.BoxChild w197 = ((global::Gtk.Box.BoxChild)(this.hbox17 [this.buttonOpen]));
     w197.Position = 0;
     w197.Expand = false;
     w197.Fill = false;
     // Container child hbox17.Gtk.Box+BoxChild
     this.buttonAdd = new global::Gtk.Button ();
     this.buttonAdd.CanFocus = true;
     this.buttonAdd.Name = "buttonAdd";
     this.buttonAdd.UseUnderline = true;
     this.buttonAdd.Label = global::Mono.Unix.Catalog.GetString ("_Добавить");
     global::Gtk.Image w198 = new global::Gtk.Image ();
     w198.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu);
     this.buttonAdd.Image = w198;
     this.hbox17.Add (this.buttonAdd);
     global::Gtk.Box.BoxChild w199 = ((global::Gtk.Box.BoxChild)(this.hbox17 [this.buttonAdd]));
     w199.Position = 1;
     w199.Expand = false;
     w199.Fill = false;
     // Container child hbox17.Gtk.Box+BoxChild
     this.buttonDel = new global::Gtk.Button ();
     this.buttonDel.Sensitive = false;
     this.buttonDel.CanFocus = true;
     this.buttonDel.Name = "buttonDel";
     this.buttonDel.UseUnderline = true;
     this.buttonDel.Label = global::Mono.Unix.Catalog.GetString ("_Удалить");
     global::Gtk.Image w200 = new global::Gtk.Image ();
     w200.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete", global::Gtk.IconSize.Menu);
     this.buttonDel.Image = w200;
     this.hbox17.Add (this.buttonDel);
     global::Gtk.Box.BoxChild w201 = ((global::Gtk.Box.BoxChild)(this.hbox17 [this.buttonDel]));
     w201.Position = 2;
     w201.Expand = false;
     w201.Fill = false;
     // Container child hbox17.Gtk.Box+BoxChild
     this.vseparator2 = new global::Gtk.VSeparator ();
     this.vseparator2.Name = "vseparator2";
     this.hbox17.Add (this.vseparator2);
     global::Gtk.Box.BoxChild w202 = ((global::Gtk.Box.BoxChild)(this.hbox17 [this.vseparator2]));
     w202.Position = 3;
     w202.Expand = false;
     w202.Fill = false;
     // Container child hbox17.Gtk.Box+BoxChild
     this.buttonRefreshTable = new global::Gtk.Button ();
     this.buttonRefreshTable.CanFocus = true;
     this.buttonRefreshTable.Name = "buttonRefreshTable";
     this.buttonRefreshTable.UseUnderline = true;
     this.buttonRefreshTable.Label = global::Mono.Unix.Catalog.GetString ("Обновить");
     global::Gtk.Image w203 = new global::Gtk.Image ();
     w203.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-refresh", global::Gtk.IconSize.Menu);
     this.buttonRefreshTable.Image = w203;
     this.hbox17.Add (this.buttonRefreshTable);
     global::Gtk.Box.BoxChild w204 = ((global::Gtk.Box.BoxChild)(this.hbox17 [this.buttonRefreshTable]));
     w204.PackType = ((global::Gtk.PackType)(1));
     w204.Position = 4;
     w204.Expand = false;
     w204.Fill = false;
     this.vbox1.Add (this.hbox17);
     global::Gtk.Box.BoxChild w205 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox17]));
     w205.Position = 2;
     w205.Expand = false;
     w205.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.statusbar1.BorderWidth = ((uint)(1));
     // Container child statusbar1.Gtk.Box+BoxChild
     this.labelUser = new global::Gtk.Label ();
     this.labelUser.Name = "labelUser";
     this.labelUser.LabelProp = global::Mono.Unix.Catalog.GetString ("Пользователь");
     this.statusbar1.Add (this.labelUser);
     global::Gtk.Box.BoxChild w206 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.labelUser]));
     w206.Position = 0;
     w206.Expand = false;
     w206.Fill = false;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.labelStatus = new global::Gtk.Label ();
     this.labelStatus.Name = "labelStatus";
     this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString ("Ок");
     this.statusbar1.Add (this.labelStatus);
     global::Gtk.Box.BoxChild w207 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.labelStatus]));
     w207.Position = 2;
     w207.Expand = false;
     w207.Fill = false;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.labelSum = new global::Gtk.Label ();
     this.labelSum.Name = "labelSum";
     this.labelSum.LabelProp = global::Mono.Unix.Catalog.GetString ("Суммарная площадь: 0 м<sup>2</sup>");
     this.labelSum.UseMarkup = true;
     this.statusbar1.Add (this.labelSum);
     global::Gtk.Box.BoxChild w208 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.labelSum]));
     w208.Position = 3;
     w208.Expand = false;
     w208.Fill = false;
     this.vbox1.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w209 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w209.Position = 3;
     w209.Expand = false;
     w209.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 875;
     this.DefaultHeight = 590;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.Action10.Activated += new global::System.EventHandler (this.OnAction10Activated);
     this.Action3.Activated += new global::System.EventHandler (this.OnAction3Activated);
     this.Action7.Activated += new global::System.EventHandler (this.OnAction7Activated);
     this.Action6.Activated += new global::System.EventHandler (this.OnAction6Activated);
     this.Action5.Activated += new global::System.EventHandler (this.OnAction5Activated);
     this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated);
     this.aboutAction.Activated += new global::System.EventHandler (this.OnAction12Activated);
     this.dialogAuthenticationAction.Activated += new global::System.EventHandler (this.OnDialogAuthenticationActionActivated);
     this.Action15.Activated += new global::System.EventHandler (this.OnAction15Activated);
     this.Action17.Activated += new global::System.EventHandler (this.OnAction17Activated);
     this.Action18.Activated += new global::System.EventHandler (this.OnAction18Activated);
     this.Action19.Activated += new global::System.EventHandler (this.OnAction19Activated);
     this.Action26.Activated += new global::System.EventHandler (this.OnAction20Activated);
     this.Action21.Activated += new global::System.EventHandler (this.OnAction21Activated);
     this.Action24.Activated += new global::System.EventHandler (this.OnAction24Activated);
     this.Action25.Activated += new global::System.EventHandler (this.OnAction25Activated);
     this.UsersAction.Activated += new global::System.EventHandler (this.OnUsersActionActivated);
     this.Action27.Activated += new global::System.EventHandler (this.OnAction27Activated);
     this.Action30.Activated += new global::System.EventHandler (this.OnAction30Activated);
     this.Action31.Activated += new global::System.EventHandler (this.OnAction31Activated);
     this.Action32.Activated += new global::System.EventHandler (this.OnAction32Activated);
     this.helpAction.Activated += new global::System.EventHandler (this.OnHelpActionActivated);
     this.Action33.Activated += new global::System.EventHandler (this.OnAction33Activated);
     this.Action36.Activated += new global::System.EventHandler (this.OnAction36Activated);
     this.Action37.Activated += new global::System.EventHandler (this.OnAction37Activated);
     this.Action38.Activated += new global::System.EventHandler (this.OnAction38Activated);
     this.Action39.Activated += new global::System.EventHandler (this.OnAction39Activated);
     this.Action40.Activated += new global::System.EventHandler (this.OnAction40Activated);
     this.Action41.Activated += new global::System.EventHandler (this.OnAction41Activated);
     this.Action42.Activated += new global::System.EventHandler (this.OnAction42Activated);
     this.Action43.Activated += new global::System.EventHandler (this.OnActionLesseeRentReportActivated);
     this.checkUpdateAction.Activated += new global::System.EventHandler (this.OnCheckUpdateActionActivated);
     this.Action44.Activated += new global::System.EventHandler (this.OnProvidersActionActivated);
     this.Action45.Activated += new global::System.EventHandler (this.OnServiceProviderPaymentReport);
     this.notebookMain.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebookMainSwitchPage);
     this.comboPlaceType.Changed += new global::System.EventHandler (this.OnComboPlaceTypeChanged);
     this.entryPlaceNum.Changed += new global::System.EventHandler (this.OnEntryPlaceNumChanged);
     this.buttonCleanTabPPlaceNo.Clicked += new global::System.EventHandler (this.OnButton236Clicked);
     this.comboPlaceOrg.Changed += new global::System.EventHandler (this.OnComboPlaceOrgChanged);
     this.entryPlaceContact.Changed += new global::System.EventHandler (this.OnEntryPlaceContactChanged);
     this.buttonCleanTabPContact.Clicked += new global::System.EventHandler (this.OnButton238Clicked);
     this.entryPlaceLess.Changed += new global::System.EventHandler (this.OnEntryPlaceLessChanged);
     this.buttonCleanTabPLessee.Clicked += new global::System.EventHandler (this.OnButton237Clicked);
     this.treeviewPlaces.CursorChanged += new global::System.EventHandler (this.OnTreeviewPlacesCursorChanged);
     this.treeviewPlaces.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewPlacesRowActivated);
     this.treeviewPlaces.PopupMenu += new global::Gtk.PopupMenuHandler (this.OnTreeviewPlacesPopupMenu);
     this.treeviewPlaces.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnTreeviewPlacesButtonPressEvent);
     this.entryFilterName.Changed += new global::System.EventHandler (this.OnEntryFilterNameChanged);
     this.entryFilterINN.Changed += new global::System.EventHandler (this.OnEntryFilterINNChanged);
     this.entryFilterFIO.Changed += new global::System.EventHandler (this.OnEntryFilterFIOChanged);
     this.button235.Clicked += new global::System.EventHandler (this.OnButton235Clicked);
     this.button234.Clicked += new global::System.EventHandler (this.OnButton234Clicked);
     this.button233.Clicked += new global::System.EventHandler (this.OnButton233Clicked);
     this.treeviewLessees.CursorChanged += new global::System.EventHandler (this.OnTreeviewLesseesCursorChanged);
     this.treeviewLessees.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewLesseesRowActivated);
     this.entryContractNumber.Changed += new global::System.EventHandler (this.OnEntryContractNumberChanged);
     this.buttonContractClearNumber.Clicked += new global::System.EventHandler (this.OnButtonContractClearNumberClicked);
     this.entryContractLessee.Changed += new global::System.EventHandler (this.OnEntryContractLesseeChanged);
     this.buttonContractClearLessee.Clicked += new global::System.EventHandler (this.OnButtonContractClearLesseeClicked);
     this.comboContractPlaceT.Changed += new global::System.EventHandler (this.OnComboContractPlaceTChanged);
     this.entryContractPlaceN.Changed += new global::System.EventHandler (this.OnEntryContractPlaceNChanged);
     this.buttonContractClearPlace.Clicked += new global::System.EventHandler (this.OnButtonContractClearPlaceClicked);
     this.comboContractOrg.Changed += new global::System.EventHandler (this.OnComboContractOrgChanged);
     this.checkActiveContracts.Toggled += new global::System.EventHandler (this.OnCheckActiveContractsToggled);
     this.check30daysContracts.Toggled += new global::System.EventHandler (this.OnCheck30daysContractsToggled);
     this.buttonProlongation.Clicked += new global::System.EventHandler (this.OnButtonProlongationClicked);
     this.treeviewContract.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewContractRowActivated);
     this.treeviewContract.CursorChanged += new global::System.EventHandler (this.OnTreeviewContractCursorChanged);
     this.entryAccrualContract.Changed += new global::System.EventHandler (this.OnEntryAccrualContractChanged);
     this.buttonAccrualContractClear.Clicked += new global::System.EventHandler (this.OnButtonAccrualContractClearClicked);
     this.comboAccrualMonth.Changed += new global::System.EventHandler (this.OnComboAccrualMonthChanged);
     this.comboAccuralYear.Changed += new global::System.EventHandler (this.OnComboAccuralYearChanged);
     this.entryAccrualLessee.Changed += new global::System.EventHandler (this.OnEntryAccrualLesseeChanged);
     this.buttonAccrualLesseeClear.Clicked += new global::System.EventHandler (this.OnButtonAccrualLesseeClearClicked);
     this.comboAccrualOrg.Changed += new global::System.EventHandler (this.OnComboAccrualOrgChanged);
     this.comboAccrualItem.Changed += new global::System.EventHandler (this.OnComboAccrualItemChanged);
     this.comboAccrualCash.Changed += new global::System.EventHandler (this.OnComboAccrualCashChanged);
     this.checkOnlyNotPaid.Clicked += new global::System.EventHandler (this.OnCheckOnlyNotPaidClicked);
     this.checkNotComplete.Clicked += new global::System.EventHandler (this.OnCheckNotCompleteClicked);
     this.buttonMakePayment.Clicked += new global::System.EventHandler (this.OnButtonMakePaymentClicked);
     this.buttonAccrualMass.Clicked += new global::System.EventHandler (this.OnButtonAccrualMassClicked);
     this.treeviewAccrual.CursorChanged += new global::System.EventHandler (this.OnTreeviewAccrualCursorChanged);
     this.treeviewAccrual.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewAccrualRowActivated);
     this.entryCashEmployee.Changed += new global::System.EventHandler (this.OnEntryEmployeeChanged);
     this.buttonCashEmployeeClear.Clicked += new global::System.EventHandler (this.OnButtonCashEmployeeClearClicked);
     this.entryCashContractor.Changed += new global::System.EventHandler (this.OnEntryCashContractorChanged);
     this.buttonCashContractorClear.Clicked += new global::System.EventHandler (this.OnButtonCashContractorClearClicked);
     this.comboCashOrg.Changed += new global::System.EventHandler (this.OnComboCashOrgChanged);
     this.comboCashItem.Changed += new global::System.EventHandler (this.OnComboCashItemChanged);
     this.comboCashCash.Changed += new global::System.EventHandler (this.OnComboCashCashChanged);
     this.radioCashToday.Clicked += new global::System.EventHandler (this.OnRadioCashTodayClicked);
     this.radioCashWeek.Clicked += new global::System.EventHandler (this.OnRadioCashWeekClicked);
     this.radioMonth.Clicked += new global::System.EventHandler (this.OnRadioMonthClicked);
     this.radioCash6Month.Clicked += new global::System.EventHandler (this.OnRadioCash6MonthClicked);
     this.dateCashStart.DateChanged += new global::System.EventHandler (this.OnDateCashStartDateChanged);
     this.dateCashEnd.DateChanged += new global::System.EventHandler (this.OnDateCashEndDateChanged);
     this.buttonCashDebts.Clicked += new global::System.EventHandler (this.OnButtonCashDebtsClicked);
     this.buttonCashBalance.Clicked += new global::System.EventHandler (this.OnButtonCashBalanceClicked);
     this.notebookCash.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebook1SwitchPage);
     this.treeviewIncome.CursorChanged += new global::System.EventHandler (this.OnTreeviewIncomeCursorChanged);
     this.treeviewIncome.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewIncomeRowActivated);
     this.treeviewIncome.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.OnTreeviewIncomeButtonReleaseEvent);
     this.treeviewExpense.CursorChanged += new global::System.EventHandler (this.OnTreeviewExpenseCursorChanged);
     this.treeviewExpense.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewExpenseRowActivated);
     this.treeviewExpense.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.OnTreeviewExpenseButtonReleaseEvent);
     this.treeviewAdvance.CursorChanged += new global::System.EventHandler (this.OnTreeviewAdvanceCursorChanged);
     this.treeviewAdvance.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewAdvanceRowActivated);
     this.treeviewAdvance.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.OnTreeviewAdvanceButtonReleaseEvent);
     this.buttonEventLesseeClean.Clicked += new global::System.EventHandler (this.OnButtonEventLesseeCleanClicked);
     this.buttonEventLesseeEdit.Clicked += new global::System.EventHandler (this.OnButtonEventLesseeEditClicked);
     this.comboEventPlaceT.Changed += new global::System.EventHandler (this.OnComboEventPlaceTChanged);
     this.radiobuttonToday.Clicked += new global::System.EventHandler (this.OnRadiobuttonTodayClicked);
     this.radiobuttonWeek.Clicked += new global::System.EventHandler (this.OnRadiobuttonWeekClicked);
     this.radiobuttonMonth.Clicked += new global::System.EventHandler (this.OnRadiobuttonMonthClicked);
     this.radiobutton6Month.Clicked += new global::System.EventHandler (this.OnRadiobutton6MonthClicked);
     this.entryEventCause.Activated += new global::System.EventHandler (this.OnEntryEventCauseActivated);
     this.entryEventActivity.Activated += new global::System.EventHandler (this.OnEntryEventActivityActivated);
     this.buttonEventRefresh.Clicked += new global::System.EventHandler (this.OnButtonEventRefreshClicked);
     this.treeviewEvents.CursorChanged += new global::System.EventHandler (this.OnTreeviewEventsCursorChanged);
     this.treeviewEvents.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewEventsRowActivated);
     this.buttonOpen.Clicked += new global::System.EventHandler (this.OnButtonViewClicked);
     this.buttonAdd.Clicked += new global::System.EventHandler (this.OnButtonAddClicked);
     this.buttonDel.Clicked += new global::System.EventHandler (this.OnButtonDelClicked);
     this.buttonRefreshTable.Clicked += new global::System.EventHandler (this.OnButtonRefreshTableClicked);
 }