Пример #1
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.Views.Organization.SubdivisionView
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.Views.Organization.SubdivisionView";
     // Container child Vodovoz.Views.Organization.SubdivisionView.Gtk.Container+ContainerChild
     this.table1               = new global::Gtk.Table(((uint)(8)), ((uint)(3)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.entryChief                  = new global::QS.Widgets.GtkUI.EntityViewModelEntry();
     this.entryChief.Events           = ((global::Gdk.EventMask)(256));
     this.entryChief.Name             = "entryChief";
     this.entryChief.CanEditReference = false;
     this.table1.Add(this.entryChief);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.entryChief]));
     w1.TopAttach    = ((uint)(3));
     w1.BottomAttach = ((uint)(4));
     w1.LeftAttach   = ((uint)(1));
     w1.RightAttach  = ((uint)(2));
     w1.XOptions     = ((global::Gtk.AttachOptions)(4));
     w1.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryDefaultSalesPlan                  = new global::QS.Widgets.GtkUI.EntityViewModelEntry();
     this.entryDefaultSalesPlan.Events           = ((global::Gdk.EventMask)(256));
     this.entryDefaultSalesPlan.Name             = "entryDefaultSalesPlan";
     this.entryDefaultSalesPlan.CanEditReference = false;
     this.table1.Add(this.entryDefaultSalesPlan);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entryDefaultSalesPlan]));
     w2.TopAttach    = ((uint)(6));
     w2.BottomAttach = ((uint)(7));
     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.frmWarehoses            = new global::Gtk.Frame();
     this.frmWarehoses.Name       = "frmWarehoses";
     this.frmWarehoses.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frmWarehoses.Gtk.Container+ContainerChild
     this.GtkAlignment4             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment4.Name        = "GtkAlignment4";
     this.GtkAlignment4.LeftPadding = ((uint)(12));
     // Container child GtkAlignment4.Gtk.Container+ContainerChild
     this.lblWarehouses            = new global::Gtk.Label();
     this.lblWarehouses.Name       = "lblWarehouses";
     this.lblWarehouses.Xalign     = 0F;
     this.lblWarehouses.LabelProp  = global::Mono.Unix.Catalog.GetString("<b>?</b>");
     this.lblWarehouses.UseMarkup  = true;
     this.lblWarehouses.Selectable = true;
     this.GtkAlignment4.Add(this.lblWarehouses);
     this.frmWarehoses.Add(this.GtkAlignment4);
     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.frmWarehoses.LabelWidget = this.GtkLabel8;
     this.table1.Add(this.frmWarehoses);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.frmWarehoses]));
     w5.TopAttach    = ((uint)(2));
     w5.BottomAttach = ((uint)(6));
     w5.LeftAttach   = ((uint)(2));
     w5.RightAttach  = ((uint)(3));
     w5.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.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.subdivisionentitypermissionwidget        = new global::Vodovoz.Core.Permissions.SubdivisionEntityPermissionWidget();
     this.subdivisionentitypermissionwidget.Events = ((global::Gdk.EventMask)(256));
     this.subdivisionentitypermissionwidget.Name   = "subdivisionentitypermissionwidget";
     this.notebook1.Add(this.subdivisionentitypermissionwidget);
     // Notebook tab
     this.labelPermissions           = new global::Gtk.Label();
     this.labelPermissions.Name      = "labelPermissions";
     this.labelPermissions.LabelProp = global::Mono.Unix.Catalog.GetString("Права доступа");
     this.notebook1.SetTabLabel(this.subdivisionentitypermissionwidget, this.labelPermissions);
     this.labelPermissions.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow2            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow2.Name       = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.repTreeChildSubdivisions          = new global::QSOrmProject.RepresentationTreeView();
     this.repTreeChildSubdivisions.CanFocus = true;
     this.repTreeChildSubdivisions.Name     = "repTreeChildSubdivisions";
     this.GtkScrolledWindow2.Add(this.repTreeChildSubdivisions);
     this.notebook1.Add(this.GtkScrolledWindow2);
     global::Gtk.Notebook.NotebookChild w8 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.GtkScrolledWindow2]));
     w8.Position = 1;
     // Notebook tab
     this.labelChildSubdivizions           = new global::Gtk.Label();
     this.labelChildSubdivizions.Name      = "labelChildSubdivizions";
     this.labelChildSubdivizions.LabelProp = global::Mono.Unix.Catalog.GetString("Дочерние подразделения");
     this.notebook1.SetTabLabel(this.GtkScrolledWindow2, this.labelChildSubdivizions);
     this.labelChildSubdivizions.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vboxDocuments         = new global::Gtk.VBox();
     this.vboxDocuments.Name    = "vboxDocuments";
     this.vboxDocuments.Spacing = 6;
     // Container child vboxDocuments.Gtk.Box+BoxChild
     this.GtkScrolledWindow4            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow4.Name       = "GtkScrolledWindow4";
     this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild
     this.ytreeviewDocuments          = new global::Gamma.GtkWidgets.yTreeView();
     this.ytreeviewDocuments.CanFocus = true;
     this.ytreeviewDocuments.Name     = "ytreeviewDocuments";
     this.GtkScrolledWindow4.Add(this.ytreeviewDocuments);
     this.vboxDocuments.Add(this.GtkScrolledWindow4);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxDocuments[this.GtkScrolledWindow4]));
     w10.Position = 0;
     // Container child vboxDocuments.Gtk.Box+BoxChild
     this.hbox5         = new global::Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.buttonAddDocument              = new global::Gamma.GtkWidgets.yButton();
     this.buttonAddDocument.CanFocus     = true;
     this.buttonAddDocument.Name         = "buttonAddDocument";
     this.buttonAddDocument.UseUnderline = true;
     this.buttonAddDocument.Label        = global::Mono.Unix.Catalog.GetString("Добавить");
     this.hbox5.Add(this.buttonAddDocument);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonAddDocument]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.buttonDeleteDocument              = new global::Gamma.GtkWidgets.yButton();
     this.buttonDeleteDocument.CanFocus     = true;
     this.buttonDeleteDocument.Name         = "buttonDeleteDocument";
     this.buttonDeleteDocument.UseUnderline = true;
     this.buttonDeleteDocument.Label        = global::Mono.Unix.Catalog.GetString("Удалить");
     this.hbox5.Add(this.buttonDeleteDocument);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonDeleteDocument]));
     w12.Position = 1;
     w12.Expand   = false;
     w12.Fill     = false;
     this.vboxDocuments.Add(this.hbox5);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vboxDocuments[this.hbox5]));
     w13.Position = 1;
     w13.Expand   = false;
     w13.Fill     = false;
     this.notebook1.Add(this.vboxDocuments);
     global::Gtk.Notebook.NotebookChild w14 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vboxDocuments]));
     w14.Position = 2;
     // Notebook tab
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Документы");
     this.notebook1.SetTabLabel(this.vboxDocuments, this.label3);
     this.label3.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.widgetcontainerview2        = new global::Vodovoz.Core.WidgetContainerView();
     this.widgetcontainerview2.Events = ((global::Gdk.EventMask)(256));
     this.widgetcontainerview2.Name   = "widgetcontainerview2";
     this.notebook1.Add(this.widgetcontainerview2);
     global::Gtk.Notebook.NotebookChild w15 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.widgetcontainerview2]));
     w15.Position = 3;
     // Notebook tab
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Предустановленные права");
     this.notebook1.SetTabLabel(this.widgetcontainerview2, this.label4);
     this.label4.ShowAll();
     this.hbox3.Add(this.notebook1);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.notebook1]));
     w16.Position = 0;
     this.table1.Add(this.hbox3);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox3]));
     w17.TopAttach    = ((uint)(7));
     w17.BottomAttach = ((uint)(8));
     w17.RightAttach  = ((uint)(3));
     // Container child table1.Gtk.Table+TableChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonSave              = new global::Gtk.Button();
     this.buttonSave.CanFocus     = true;
     this.buttonSave.Name         = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label        = global::Mono.Unix.Catalog.GetString("Сохранить");
     global::Gtk.Image w18 = new global::Gtk.Image();
     w18.Pixbuf            = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w18;
     this.hbox4.Add(this.buttonSave);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSave]));
     w19.Position = 0;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonCancel              = new global::Gtk.Button();
     this.buttonCancel.CanFocus     = true;
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label        = global::Mono.Unix.Catalog.GetString("Отменить");
     global::Gtk.Image w20 = new global::Gtk.Image();
     w20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w20;
     this.hbox4.Add(this.buttonCancel);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonCancel]));
     w21.Position = 1;
     w21.Expand   = false;
     w21.Fill     = false;
     this.table1.Add(this.hbox4);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox4]));
     w22.RightAttach = ((uint)(3));
     w22.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hboxtype         = new global::Gtk.HBox();
     this.hboxtype.Name    = "hboxtype";
     this.hboxtype.Spacing = 6;
     // Container child hboxtype.Gtk.Box+BoxChild
     this.ylabelType           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabelType.Name      = "ylabelType";
     this.ylabelType.Xalign    = 1F;
     this.ylabelType.LabelProp = global::Mono.Unix.Catalog.GetString(" Тип:");
     this.hboxtype.Add(this.ylabelType);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hboxtype[this.ylabelType]));
     w23.Position = 0;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child hboxtype.Gtk.Box+BoxChild
     this.yenumcomboType      = new global::Gamma.Widgets.yEnumComboBox();
     this.yenumcomboType.Name = "yenumcomboType";
     this.yenumcomboType.ShowSpecialStateAll = false;
     this.yenumcomboType.ShowSpecialStateNot = false;
     this.yenumcomboType.UseShortTitle       = false;
     this.yenumcomboType.DefaultFirst        = false;
     this.hboxtype.Add(this.yenumcomboType);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hboxtype[this.yenumcomboType]));
     w24.Position = 1;
     w24.Expand   = false;
     w24.Fill     = false;
     this.table1.Add(this.hboxtype);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.hboxtype]));
     w25.TopAttach    = ((uint)(1));
     w25.BottomAttach = ((uint)(2));
     w25.LeftAttach   = ((uint)(2));
     w25.RightAttach  = ((uint)(3));
     w25.XOptions     = ((global::Gtk.AttachOptions)(4));
     w25.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.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 w26 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w26.TopAttach    = ((uint)(1));
     w26.BottomAttach = ((uint)(2));
     w26.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 w27 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
     w27.TopAttach    = ((uint)(3));
     w27.BottomAttach = ((uint)(4));
     w27.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelShortName           = new global::Gtk.Label();
     this.labelShortName.Name      = "labelShortName";
     this.labelShortName.Xalign    = 1F;
     this.labelShortName.LabelProp = global::Mono.Unix.Catalog.GetString("Сокращенное наименование:");
     this.table1.Add(this.labelShortName);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1[this.labelShortName]));
     w28.TopAttach    = ((uint)(2));
     w28.BottomAttach = ((uint)(3));
     w28.XOptions     = ((global::Gtk.AttachOptions)(4));
     w28.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lblDefaultSalesPlan           = new global::Gamma.GtkWidgets.yLabel();
     this.lblDefaultSalesPlan.Name      = "lblDefaultSalesPlan";
     this.lblDefaultSalesPlan.Xalign    = 1F;
     this.lblDefaultSalesPlan.LabelProp = global::Mono.Unix.Catalog.GetString("План продаж по умолчанию:");
     this.table1.Add(this.lblDefaultSalesPlan);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1[this.lblDefaultSalesPlan]));
     w29.TopAttach    = ((uint)(6));
     w29.BottomAttach = ((uint)(7));
     w29.XOptions     = ((global::Gtk.AttachOptions)(4));
     w29.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lblGeographicGroup           = new global::Gamma.GtkWidgets.yLabel();
     this.lblGeographicGroup.Name      = "lblGeographicGroup";
     this.lblGeographicGroup.Xalign    = 1F;
     this.lblGeographicGroup.LabelProp = global::Mono.Unix.Catalog.GetString("Местоположение подразделения:");
     this.table1.Add(this.lblGeographicGroup);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.lblGeographicGroup]));
     w30.TopAttach    = ((uint)(5));
     w30.BottomAttach = ((uint)(6));
     w30.XOptions     = ((global::Gtk.AttachOptions)(4));
     w30.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lblParent           = new global::Gtk.Label();
     this.lblParent.Name      = "lblParent";
     this.lblParent.Xalign    = 1F;
     this.lblParent.LabelProp = global::Mono.Unix.Catalog.GetString("Вышестоящее подразделение:");
     this.table1.Add(this.lblParent);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1[this.lblParent]));
     w31.TopAttach    = ((uint)(4));
     w31.BottomAttach = ((uint)(5));
     w31.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryName               = new global::Gamma.GtkWidgets.yEntry();
     this.yentryName.CanFocus      = true;
     this.yentryName.Name          = "yentryName";
     this.yentryName.IsEditable    = true;
     this.yentryName.InvisibleChar = '●';
     this.table1.Add(this.yentryName);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryName]));
     w32.TopAttach    = ((uint)(1));
     w32.BottomAttach = ((uint)(2));
     w32.LeftAttach   = ((uint)(1));
     w32.RightAttach  = ((uint)(2));
     w32.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryrefParentSubdivision        = new global::Gamma.Widgets.yEntryReference();
     this.yentryrefParentSubdivision.Events = ((global::Gdk.EventMask)(256));
     this.yentryrefParentSubdivision.Name   = "yentryrefParentSubdivision";
     this.table1.Add(this.yentryrefParentSubdivision);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryrefParentSubdivision]));
     w33.TopAttach    = ((uint)(4));
     w33.BottomAttach = ((uint)(5));
     w33.LeftAttach   = ((uint)(1));
     w33.RightAttach  = ((uint)(2));
     w33.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.yentryShortName               = new global::Gamma.GtkWidgets.yEntry();
     this.yentryShortName.CanFocus      = true;
     this.yentryShortName.Name          = "yentryShortName";
     this.yentryShortName.IsEditable    = true;
     this.yentryShortName.MaxLength     = 20;
     this.yentryShortName.InvisibleChar = '●';
     this.table1.Add(this.yentryShortName);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1[this.yentryShortName]));
     w34.TopAttach    = ((uint)(2));
     w34.BottomAttach = ((uint)(3));
     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.ySpecCmbGeographicGroup                     = new global::Gamma.Widgets.ySpecComboBox();
     this.ySpecCmbGeographicGroup.Name                = "ySpecCmbGeographicGroup";
     this.ySpecCmbGeographicGroup.AddIfNotExist       = false;
     this.ySpecCmbGeographicGroup.DefaultFirst        = false;
     this.ySpecCmbGeographicGroup.ShowSpecialStateAll = false;
     this.ySpecCmbGeographicGroup.ShowSpecialStateNot = true;
     this.table1.Add(this.ySpecCmbGeographicGroup);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1[this.ySpecCmbGeographicGroup]));
     w35.TopAttach    = ((uint)(5));
     w35.BottomAttach = ((uint)(6));
     w35.LeftAttach   = ((uint)(1));
     w35.RightAttach  = ((uint)(2));
     w35.XOptions     = ((global::Gtk.AttachOptions)(4));
     w35.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.Add(this.table1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }
Пример #2
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.ViewWidgets.AdvancedWageParameterViews.AdvancedWageParametersView
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.ViewWidgets.AdvancedWageParameterViews.AdvancedWageParametersView";
     // Container child Vodovoz.ViewWidgets.AdvancedWageParameterViews.AdvancedWageParametersView.Gtk.Container+ContainerChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.ybuttonAdd              = new global::Gamma.GtkWidgets.yButton();
     this.ybuttonAdd.CanFocus     = true;
     this.ybuttonAdd.Name         = "ybuttonAdd";
     this.ybuttonAdd.UseUnderline = true;
     this.ybuttonAdd.Label        = global::Mono.Unix.Catalog.GetString("Ок");
     global::Gtk.Image w1 = new global::Gtk.Image();
     w1.Pixbuf             = global::Stetic.IconLoader.LoadIcon(this, "gtk-apply", global::Gtk.IconSize.Menu);
     this.ybuttonAdd.Image = w1;
     this.hbox1.Add(this.ybuttonAdd);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ybuttonAdd]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.ybuttonCancel              = new global::Gamma.GtkWidgets.yButton();
     this.ybuttonCancel.CanFocus     = true;
     this.ybuttonCancel.Name         = "ybuttonCancel";
     this.ybuttonCancel.UseUnderline = true;
     this.ybuttonCancel.Label        = global::Mono.Unix.Catalog.GetString("Отменить");
     global::Gtk.Image w3 = new global::Gtk.Image();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-cancel", global::Gtk.IconSize.Menu);
     this.ybuttonCancel.Image = w3;
     this.hbox1.Add(this.ybuttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ybuttonCancel]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     this.vbox2.Add(this.hbox1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.yenumcombobox      = new global::Gamma.Widgets.yEnumComboBox();
     this.yenumcombobox.Name = "yenumcombobox";
     this.yenumcombobox.ShowSpecialStateAll = false;
     this.yenumcombobox.ShowSpecialStateNot = false;
     this.yenumcombobox.UseShortTitle       = false;
     this.yenumcombobox.DefaultFirst        = false;
     this.vbox2.Add(this.yenumcombobox);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.yenumcombobox]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.widgetcontainerview        = new global::Vodovoz.Core.WidgetContainerView();
     this.widgetcontainerview.Events = ((global::Gdk.EventMask)(256));
     this.widgetcontainerview.Name   = "widgetcontainerview";
     this.vbox2.Add(this.widgetcontainerview);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.widgetcontainerview]));
     w7.Position = 2;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.ybuttonAdd.Clicked    += new global::System.EventHandler(this.OnYbuttonAddClicked);
     this.ybuttonCancel.Clicked += new global::System.EventHandler(this.OnYbuttonCancelClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.Views.WageCalculation.WageDistrictLevelRateView
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.Views.WageCalculation.WageDistrictLevelRateView";
     // Container child Vodovoz.Views.WageCalculation.WageDistrictLevelRateView.Gtk.Container+ContainerChild
     this.vbxMain         = new global::Gtk.VBox();
     this.vbxMain.Name    = "vbxMain";
     this.vbxMain.Spacing = 6;
     // Container child vbxMain.Gtk.Box+BoxChild
     this.hbxControls         = new global::Gtk.HBox();
     this.hbxControls.Name    = "hbxControls";
     this.hbxControls.Spacing = 6;
     // Container child hbxControls.Gtk.Box+BoxChild
     this.btnFillRates              = new global::Gamma.GtkWidgets.yButton();
     this.btnFillRates.CanFocus     = true;
     this.btnFillRates.Name         = "btnFillRates";
     this.btnFillRates.UseUnderline = true;
     this.btnFillRates.Label        = global::Mono.Unix.Catalog.GetString("Сгенерировать ставки");
     this.hbxControls.Add(this.btnFillRates);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbxControls[this.btnFillRates]));
     w1.Position = 2;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child hbxControls.Gtk.Box+BoxChild
     this.ybuttonAddParameter              = new global::Gamma.GtkWidgets.yButton();
     this.ybuttonAddParameter.CanFocus     = true;
     this.ybuttonAddParameter.Name         = "ybuttonAddParameter";
     this.ybuttonAddParameter.UseUnderline = true;
     this.ybuttonAddParameter.Label        = global::Mono.Unix.Catalog.GetString("Добавить");
     global::Gtk.Image w2 = new global::Gtk.Image();
     w2.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu);
     this.ybuttonAddParameter.Image = w2;
     this.hbxControls.Add(this.ybuttonAddParameter);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbxControls[this.ybuttonAddParameter]));
     w3.Position = 3;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child hbxControls.Gtk.Box+BoxChild
     this.ybuttonRemoveParameter              = new global::Gamma.GtkWidgets.yButton();
     this.ybuttonRemoveParameter.CanFocus     = true;
     this.ybuttonRemoveParameter.Name         = "ybuttonRemoveParameter";
     this.ybuttonRemoveParameter.UseUnderline = true;
     this.ybuttonRemoveParameter.Label        = global::Mono.Unix.Catalog.GetString("Удалить");
     global::Gtk.Image w4 = new global::Gtk.Image();
     w4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu);
     this.ybuttonRemoveParameter.Image = w4;
     this.hbxControls.Add(this.ybuttonRemoveParameter);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbxControls[this.ybuttonRemoveParameter]));
     w5.Position = 4;
     w5.Expand   = false;
     w5.Fill     = false;
     this.vbxMain.Add(this.hbxControls);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbxMain[this.hbxControls]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbxMain.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.treeViewWageRates          = new global::Gamma.GtkWidgets.yTreeView();
     this.treeViewWageRates.CanFocus = true;
     this.treeViewWageRates.Name     = "treeViewWageRates";
     this.GtkScrolledWindow.Add(this.treeViewWageRates);
     this.vbxMain.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbxMain[this.GtkScrolledWindow]));
     w8.Position = 1;
     // Container child vbxMain.Gtk.Box+BoxChild
     this.hseparator1      = new global::Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     this.vbxMain.Add(this.hseparator1);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbxMain[this.hseparator1]));
     w9.Position = 2;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child vbxMain.Gtk.Box+BoxChild
     this.widgetcontainerview        = new global::Vodovoz.Core.WidgetContainerView();
     this.widgetcontainerview.Events = ((global::Gdk.EventMask)(256));
     this.widgetcontainerview.Name   = "widgetcontainerview";
     this.vbxMain.Add(this.widgetcontainerview);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbxMain[this.widgetcontainerview]));
     w10.Position = 3;
     w10.Expand   = false;
     w10.Fill     = false;
     this.Add(this.vbxMain);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.ybuttonAddParameter.Clicked    += new global::System.EventHandler(this.OnYbuttonAddParameterClicked);
     this.ybuttonRemoveParameter.Clicked += new global::System.EventHandler(this.OnYbuttonRemoveParameterClicked);
     this.treeViewWageRates.RowActivated += new global::Gtk.RowActivatedHandler(this.OnTreeViewWageRatesRowActivated);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.Views.Orders.PromotionalSetView
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.Views.Orders.PromotionalSetView";
     // Container child Vodovoz.Views.Orders.PromotionalSetView.Gtk.Container+ContainerChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.ybuttonSave              = new global::Gamma.GtkWidgets.yButton();
     this.ybuttonSave.CanFocus     = true;
     this.ybuttonSave.Name         = "ybuttonSave";
     this.ybuttonSave.UseUnderline = true;
     this.ybuttonSave.Label        = global::Mono.Unix.Catalog.GetString("Сохранить");
     global::Gtk.Image w1 = new global::Gtk.Image();
     w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-floppy", global::Gtk.IconSize.Menu);
     this.ybuttonSave.Image = w1;
     this.hbox1.Add(this.ybuttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ybuttonSave]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonCancel              = new global::Gtk.Button();
     this.buttonCancel.CanFocus     = true;
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label        = global::Mono.Unix.Catalog.GetString("Отменить");
     global::Gtk.Image w3 = new global::Gtk.Image();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w3;
     this.hbox1.Add(this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonCancel]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vseparator1      = new global::Gtk.VSeparator();
     this.vseparator1.Name = "vseparator1";
     this.hbox1.Add(this.vseparator1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator1]));
     w5.Position = 2;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.hbox16         = new global::Gtk.HBox();
     this.hbox16.Name    = "hbox16";
     this.hbox16.Spacing = 6;
     // Container child hbox16.Gtk.Box+BoxChild
     this.yChkIsArchive               = new global::Gamma.GtkWidgets.yCheckButton();
     this.yChkIsArchive.CanFocus      = true;
     this.yChkIsArchive.Name          = "yChkIsArchive";
     this.yChkIsArchive.Label         = global::Mono.Unix.Catalog.GetString("Архивный");
     this.yChkIsArchive.DrawIndicator = true;
     this.yChkIsArchive.UseUnderline  = true;
     this.hbox16.Add(this.yChkIsArchive);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.yChkIsArchive]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child hbox16.Gtk.Box+BoxChild
     this.vseparator2      = new global::Gtk.VSeparator();
     this.vseparator2.Name = "vseparator2";
     this.hbox16.Add(this.vseparator2);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.vseparator2]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child hbox16.Gtk.Box+BoxChild
     this.lblCreationDateTitle           = new global::Gtk.Label();
     this.lblCreationDateTitle.Name      = "lblCreationDateTitle";
     this.lblCreationDateTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Создан:");
     this.hbox16.Add(this.lblCreationDateTitle);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.lblCreationDateTitle]));
     w8.Position = 2;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child hbox16.Gtk.Box+BoxChild
     this.ylblCreationDate      = new global::Gamma.GtkWidgets.yLabel();
     this.ylblCreationDate.Name = "ylblCreationDate";
     this.hbox16.Add(this.ylblCreationDate);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.ylblCreationDate]));
     w9.Position = 3;
     w9.Expand   = false;
     w9.Fill     = false;
     this.hbox1.Add(this.hbox16);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.hbox16]));
     w10.Position = 3;
     w10.Expand   = false;
     this.vbox2.Add(this.hbox1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
     w11.Position = 0;
     w11.Expand   = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.table2               = new global::Gtk.Table(((uint)(2)), ((uint)(4)), false);
     this.table2.Name          = "table2";
     this.table2.RowSpacing    = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.labelPromoSetName           = new global::Gtk.Label();
     this.labelPromoSetName.Name      = "labelPromoSetName";
     this.labelPromoSetName.Xalign    = 1F;
     this.labelPromoSetName.LabelProp = global::Mono.Unix.Catalog.GetString("Название набора:");
     this.table2.Add(this.labelPromoSetName);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2[this.labelPromoSetName]));
     w12.TopAttach    = ((uint)(1));
     w12.BottomAttach = ((uint)(2));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.lblName           = new global::Gtk.Label();
     this.lblName.Name      = "lblName";
     this.lblName.Xalign    = 1F;
     this.lblName.LabelProp = global::Mono.Unix.Catalog.GetString("Согласованная акция:");
     this.table2.Add(this.lblName);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2[this.lblName]));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.vseparator3      = new global::Gtk.VSeparator();
     this.vseparator3.Name = "vseparator3";
     this.table2.Add(this.vseparator3);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2[this.vseparator3]));
     w14.LeftAttach  = ((uint)(2));
     w14.RightAttach = ((uint)(3));
     w14.XOptions    = ((global::Gtk.AttachOptions)(4));
     w14.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.vseparator4      = new global::Gtk.VSeparator();
     this.vseparator4.Name = "vseparator4";
     this.table2.Add(this.vseparator4);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2[this.vseparator4]));
     w15.TopAttach    = ((uint)(1));
     w15.BottomAttach = ((uint)(2));
     w15.LeftAttach   = ((uint)(2));
     w15.RightAttach  = ((uint)(3));
     w15.XOptions     = ((global::Gtk.AttachOptions)(4));
     w15.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.widgetcontainerview        = new global::Vodovoz.Core.WidgetContainerView();
     this.widgetcontainerview.Events = ((global::Gdk.EventMask)(256));
     this.widgetcontainerview.Name   = "widgetcontainerview";
     this.table2.Add(this.widgetcontainerview);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2[this.widgetcontainerview]));
     w16.TopAttach    = ((uint)(1));
     w16.BottomAttach = ((uint)(2));
     w16.LeftAttach   = ((uint)(3));
     w16.RightAttach  = ((uint)(4));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.yentryDiscountReason               = new global::Gamma.GtkWidgets.yEntry();
     this.yentryDiscountReason.CanFocus      = true;
     this.yentryDiscountReason.Name          = "yentryDiscountReason";
     this.yentryDiscountReason.IsEditable    = true;
     this.yentryDiscountReason.InvisibleChar = '•';
     this.table2.Add(this.yentryDiscountReason);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2[this.yentryDiscountReason]));
     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.yentryPromotionalSetName               = new global::Gamma.GtkWidgets.yEntry();
     this.yentryPromotionalSetName.CanFocus      = true;
     this.yentryPromotionalSetName.Name          = "yentryPromotionalSetName";
     this.yentryPromotionalSetName.IsEditable    = true;
     this.yentryPromotionalSetName.InvisibleChar = '•';
     this.table2.Add(this.yentryPromotionalSetName);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2[this.yentryPromotionalSetName]));
     w18.TopAttach    = ((uint)(1));
     w18.BottomAttach = ((uint)(2));
     w18.LeftAttach   = ((uint)(1));
     w18.RightAttach  = ((uint)(2));
     w18.XOptions     = ((global::Gtk.AttachOptions)(4));
     w18.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.yEnumButtonAddAction              = new global::QS.Widgets.EnumMenuButton();
     this.yEnumButtonAddAction.CanFocus     = true;
     this.yEnumButtonAddAction.Name         = "yEnumButtonAddAction";
     this.yEnumButtonAddAction.UseUnderline = true;
     this.yEnumButtonAddAction.UseMarkup    = false;
     this.yEnumButtonAddAction.LabelXAlign  = 0F;
     this.yEnumButtonAddAction.Label        = global::Mono.Unix.Catalog.GetString("Добавить действие");
     global::Gtk.Image w19 = new global::Gtk.Image();
     w19.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu);
     this.yEnumButtonAddAction.Image = w19;
     this.table2.Add(this.yEnumButtonAddAction);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table2[this.yEnumButtonAddAction]));
     w20.LeftAttach  = ((uint)(3));
     w20.RightAttach = ((uint)(4));
     w20.XOptions    = ((global::Gtk.AttachOptions)(4));
     w20.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.vbox2.Add(this.table2);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table2]));
     w21.Position = 1;
     w21.Expand   = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox5         = new global::Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.ycheckbCanEditNomCount               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckbCanEditNomCount.CanFocus      = true;
     this.ycheckbCanEditNomCount.Name          = "ycheckbCanEditNomCount";
     this.ycheckbCanEditNomCount.Label         = global::Mono.Unix.Catalog.GetString("Можно менять количество номенклатур в заказе");
     this.ycheckbCanEditNomCount.DrawIndicator = true;
     this.ycheckbCanEditNomCount.UseUnderline  = true;
     this.hbox5.Add(this.ycheckbCanEditNomCount);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.ycheckbCanEditNomCount]));
     w22.Position = 0;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.vseparator5      = new global::Gtk.VSeparator();
     this.vseparator5.Name = "vseparator5";
     this.hbox5.Add(this.vseparator5);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vseparator5]));
     w23.Position = 1;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.ycheckCanBeAddedWithOtherPromoSets               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckCanBeAddedWithOtherPromoSets.CanFocus      = true;
     this.ycheckCanBeAddedWithOtherPromoSets.Name          = "ycheckCanBeAddedWithOtherPromoSets";
     this.ycheckCanBeAddedWithOtherPromoSets.Label         = global::Mono.Unix.Catalog.GetString("Можно добавить вместе с другими промонаборами");
     this.ycheckCanBeAddedWithOtherPromoSets.DrawIndicator = true;
     this.ycheckCanBeAddedWithOtherPromoSets.UseUnderline  = true;
     this.hbox5.Add(this.ycheckCanBeAddedWithOtherPromoSets);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.ycheckCanBeAddedWithOtherPromoSets]));
     w24.Position = 2;
     w24.Expand   = false;
     w24.Fill     = false;
     this.vbox2.Add(this.hbox5);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox5]));
     w25.Position = 2;
     w25.Expand   = false;
     w25.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.frame1            = new global::Gtk.Frame();
     this.frame1.Name       = "frame1";
     this.frame1.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment3             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment3.Name        = "GtkAlignment3";
     this.GtkAlignment3.LeftPadding = ((uint)(12));
     // Container child GtkAlignment3.Gtk.Container+ContainerChild
     this.vbxNomenclatures         = new global::Gtk.VBox();
     this.vbxNomenclatures.Name    = "vbxNomenclatures";
     this.vbxNomenclatures.Spacing = 6;
     // Container child vbxNomenclatures.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.yTreePromoSetItems          = new global::Gamma.GtkWidgets.yTreeView();
     this.yTreePromoSetItems.CanFocus = true;
     this.yTreePromoSetItems.Name     = "yTreePromoSetItems";
     this.GtkScrolledWindow.Add(this.yTreePromoSetItems);
     this.vbxNomenclatures.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbxNomenclatures[this.GtkScrolledWindow]));
     w27.Position = 0;
     // Container child vbxNomenclatures.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.ybtnAddNomenclature              = new global::Gamma.GtkWidgets.yButton();
     this.ybtnAddNomenclature.CanFocus     = true;
     this.ybtnAddNomenclature.Name         = "ybtnAddNomenclature";
     this.ybtnAddNomenclature.UseUnderline = true;
     this.ybtnAddNomenclature.Label        = global::Mono.Unix.Catalog.GetString("Добавить");
     this.hbox2.Add(this.ybtnAddNomenclature);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.ybtnAddNomenclature]));
     w28.Position = 0;
     w28.Expand   = false;
     w28.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.ybtnRemoveNomenclature              = new global::Gamma.GtkWidgets.yButton();
     this.ybtnRemoveNomenclature.CanFocus     = true;
     this.ybtnRemoveNomenclature.Name         = "ybtnRemoveNomenclature";
     this.ybtnRemoveNomenclature.UseUnderline = true;
     this.ybtnRemoveNomenclature.Label        = global::Mono.Unix.Catalog.GetString("  Удалить  ");
     this.hbox2.Add(this.ybtnRemoveNomenclature);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.ybtnRemoveNomenclature]));
     w29.Position = 1;
     w29.Expand   = false;
     w29.Fill     = false;
     this.vbxNomenclatures.Add(this.hbox2);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbxNomenclatures[this.hbox2]));
     w30.Position = 1;
     w30.Expand   = false;
     w30.Fill     = false;
     this.GtkAlignment3.Add(this.vbxNomenclatures);
     this.frame1.Add(this.GtkAlignment3);
     this.lblNomTblTitle           = new global::Gtk.Label();
     this.lblNomTblTitle.Name      = "lblNomTblTitle";
     this.lblNomTblTitle.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Номенклатуры со скидкой:</b>");
     this.lblNomTblTitle.UseMarkup = true;
     this.frame1.LabelWidget       = this.lblNomTblTitle;
     this.hbox3.Add(this.frame1);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.frame1]));
     w33.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.frame2            = new global::Gtk.Frame();
     this.frame2.Name       = "frame2";
     this.frame2.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment4             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment4.Name        = "GtkAlignment4";
     this.GtkAlignment4.LeftPadding = ((uint)(12));
     // Container child GtkAlignment4.Gtk.Container+ContainerChild
     this.vbxNomenclatures1         = new global::Gtk.VBox();
     this.vbxNomenclatures1.Name    = "vbxNomenclatures1";
     this.vbxNomenclatures1.Spacing = 6;
     // Container child vbxNomenclatures1.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.yTreeActionsItems          = new global::Gamma.GtkWidgets.yTreeView();
     this.yTreeActionsItems.CanFocus = true;
     this.yTreeActionsItems.Name     = "yTreeActionsItems";
     this.GtkScrolledWindow1.Add(this.yTreeActionsItems);
     this.vbxNomenclatures1.Add(this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbxNomenclatures1[this.GtkScrolledWindow1]));
     w35.Position = 0;
     // Container child vbxNomenclatures1.Gtk.Box+BoxChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.ybtnRemoveAction              = new global::Gamma.GtkWidgets.yButton();
     this.ybtnRemoveAction.CanFocus     = true;
     this.ybtnRemoveAction.Name         = "ybtnRemoveAction";
     this.ybtnRemoveAction.UseUnderline = true;
     this.ybtnRemoveAction.Label        = global::Mono.Unix.Catalog.GetString("  Удалить  ");
     this.hbox4.Add(this.ybtnRemoveAction);
     global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.ybtnRemoveAction]));
     w36.Position = 0;
     w36.Expand   = false;
     w36.Fill     = false;
     this.vbxNomenclatures1.Add(this.hbox4);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbxNomenclatures1[this.hbox4]));
     w37.Position = 1;
     w37.Expand   = false;
     w37.Fill     = false;
     this.GtkAlignment4.Add(this.vbxNomenclatures1);
     this.frame2.Add(this.GtkAlignment4);
     this.lblNomTblTitle1           = new global::Gtk.Label();
     this.lblNomTblTitle1.Name      = "lblNomTblTitle1";
     this.lblNomTblTitle1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Спец. действия:</b>");
     this.lblNomTblTitle1.UseMarkup = true;
     this.frame2.LabelWidget        = this.lblNomTblTitle1;
     this.hbox3.Add(this.frame2);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.frame2]));
     w40.Position = 1;
     this.vbox2.Add(this.hbox3);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3]));
     w41.PackType = ((global::Gtk.PackType)(1));
     w41.Position = 3;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }