Esempio n. 1
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget QS.Dialog.Views.ProgressWindowView
     global::Stetic.BinContainer.Attach(this);
     this.Name = "QS.Dialog.Views.ProgressWindowView";
     // Container child QS.Dialog.Views.ProgressWindowView.Gtk.Container+ContainerChild
     this.yvbox1         = new global::Gamma.GtkWidgets.yVBox();
     this.yvbox1.Name    = "yvbox1";
     this.yvbox1.Spacing = 6;
     // Container child yvbox1.Gtk.Box+BoxChild
     this.progresswidget1 = new global::QS.Widgets.ProgressWidget();
     this.progresswidget1.WidthRequest = 500;
     this.progresswidget1.Name         = "progresswidget1";
     this.yvbox1.Add(this.progresswidget1);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.progresswidget1]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     this.Add(this.yvbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget workwear.Views.Tools.ReplaceEntityView
     global::Stetic.BinContainer.Attach(this);
     this.Name = "workwear.Views.Tools.ReplaceEntityView";
     // Container child workwear.Views.Tools.ReplaceEntityView.Gtk.Container+ContainerChild
     this.yvbox1         = new global::Gamma.GtkWidgets.yVBox();
     this.yvbox1.Name    = "yvbox1";
     this.yvbox1.Spacing = 6;
     // Container child yvbox1.Gtk.Box+BoxChild
     this.ytable2               = new global::Gamma.GtkWidgets.yTable();
     this.ytable2.Name          = "ytable2";
     this.ytable2.NRows         = ((uint)(4));
     this.ytable2.NColumns      = ((uint)(3));
     this.ytable2.RowSpacing    = ((uint)(6));
     this.ytable2.ColumnSpacing = ((uint)(6));
     // Container child ytable2.Gtk.Table+TableChild
     this.checkRemoveSource               = new global::Gamma.GtkWidgets.yCheckButton();
     this.checkRemoveSource.CanFocus      = true;
     this.checkRemoveSource.Name          = "checkRemoveSource";
     this.checkRemoveSource.Label         = global::Mono.Unix.Catalog.GetString("Удалить исходный объект");
     this.checkRemoveSource.DrawIndicator = true;
     this.checkRemoveSource.UseUnderline  = true;
     this.ytable2.Add(this.checkRemoveSource);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.ytable2[this.checkRemoveSource]));
     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 ytable2.Gtk.Table+TableChild
     this.entrySource        = new global::QS.Views.Control.EntityEntry();
     this.entrySource.Events = ((global::Gdk.EventMask)(256));
     this.entrySource.Name   = "entrySource";
     this.ytable2.Add(this.entrySource);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.ytable2[this.entrySource]));
     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 ytable2.Gtk.Table+TableChild
     this.entryTarget        = new global::QS.Views.Control.EntityEntry();
     this.entryTarget.Events = ((global::Gdk.EventMask)(256));
     this.entryTarget.Name   = "entryTarget";
     this.ytable2.Add(this.entryTarget);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.ytable2[this.entryTarget]));
     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 ytable2.Gtk.Table+TableChild
     this.labelTotalLinks           = new global::Gamma.GtkWidgets.yLabel();
     this.labelTotalLinks.Name      = "labelTotalLinks";
     this.labelTotalLinks.LabelProp = global::Mono.Unix.Catalog.GetString("ylabel2");
     this.ytable2.Add(this.labelTotalLinks);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.ytable2[this.labelTotalLinks]));
     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 ytable2.Gtk.Table+TableChild
     this.ylabel1           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabel1.Name      = "ylabel1";
     this.ylabel1.Xalign    = 1F;
     this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Исходный объект:");
     this.ytable2.Add(this.ylabel1);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.ytable2[this.ylabel1]));
     w5.TopAttach    = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     w5.XOptions     = ((global::Gtk.AttachOptions)(4));
     w5.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child ytable2.Gtk.Table+TableChild
     this.ylabel2           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabel2.Name      = "ylabel2";
     this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Внимание данная процедура необратима!! Рекомендуем сделать резервную копию БД.\nПр" +
                                                                  "оцедура заменить все ссылки на с одной номенклатуры нормы на другую. Тем самым п" +
                                                                  "озволяя объединять дублированные объекты.");
     this.ylabel2.Justify = ((global::Gtk.Justification)(2));
     this.ytable2.Add(this.ylabel2);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.ytable2[this.ylabel2]));
     w6.RightAttach = ((uint)(3));
     w6.XOptions    = ((global::Gtk.AttachOptions)(4));
     w6.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child ytable2.Gtk.Table+TableChild
     this.ylabel3           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabel3.Name      = "ylabel3";
     this.ylabel3.Xalign    = 1F;
     this.ylabel3.LabelProp = global::Mono.Unix.Catalog.GetString("Заменить на объект:");
     this.ytable2.Add(this.ylabel3);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.ytable2[this.ylabel3]));
     w7.TopAttach    = ((uint)(2));
     w7.BottomAttach = ((uint)(3));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.yvbox1.Add(this.ytable2);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.ytable2]));
     w8.Position = 0;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child yvbox1.Gtk.Box+BoxChild
     this.progressTotal      = new global::QS.Widgets.ProgressWidget();
     this.progressTotal.Name = "progressTotal";
     this.yvbox1.Add(this.progressTotal);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.progressTotal]));
     w9.Position = 1;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child yvbox1.Gtk.Box+BoxChild
     this.buttonReplace              = new global::Gamma.GtkWidgets.yButton();
     this.buttonReplace.CanFocus     = true;
     this.buttonReplace.Name         = "buttonReplace";
     this.buttonReplace.UseUnderline = true;
     this.buttonReplace.Label        = global::Mono.Unix.Catalog.GetString("Заменить");
     global::Gtk.Image w10 = new global::Gtk.Image();
     w10.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-execute", global::Gtk.IconSize.Menu);
     this.buttonReplace.Image = w10;
     this.yvbox1.Add(this.buttonReplace);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.yvbox1[this.buttonReplace]));
     w11.Position = 2;
     w11.Expand   = false;
     w11.Fill     = false;
     this.Add(this.yvbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.buttonReplace.Clicked += new global::System.EventHandler(this.OnButtonReplaceClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget QS.Updater.DB.Views.UpdateProcessView
     global::Stetic.BinContainer.Attach(this);
     this.Name = "QS.Updater.DB.Views.UpdateProcessView";
     // Container child QS.Updater.DB.Views.UpdateProcessView.Gtk.Container+ContainerChild
     this.dialog1_VBox             = new global::Gtk.VBox();
     this.dialog1_VBox.Name        = "dialog1_VBox";
     this.dialog1_VBox.BorderWidth = ((uint)(2));
     // 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("После обновления базы, предыдущие версии программы не будут работать. Во избежани" +
                                                                 "и порчи данных, убедитесь что в момент обновления никто не использует базу в раб" +
                                                                 "оте.");
     this.label1.Wrap = true;
     this.dialog1_VBox.Add(this.label1);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.label1]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.checkCreateBackup               = new global::Gamma.GtkWidgets.yCheckButton();
     this.checkCreateBackup.CanFocus      = true;
     this.checkCreateBackup.Name          = "checkCreateBackup";
     this.checkCreateBackup.Label         = global::Mono.Unix.Catalog.GetString("Создать резервную копию перед обновлением");
     this.checkCreateBackup.Active        = true;
     this.checkCreateBackup.DrawIndicator = true;
     this.checkCreateBackup.UseUnderline  = true;
     this.dialog1_VBox.Add(this.checkCreateBackup);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.checkCreateBackup]));
     w2.Position = 1;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox1             = new global::Gtk.HBox();
     this.hbox1.Name        = "hbox1";
     this.hbox1.Spacing     = 6;
     this.hbox1.BorderWidth = ((uint)(6));
     // Container child hbox1.Gtk.Box+BoxChild
     this.entryFileName               = new global::Gamma.GtkWidgets.yEntry();
     this.entryFileName.CanFocus      = true;
     this.entryFileName.Name          = "entryFileName";
     this.entryFileName.IsEditable    = false;
     this.entryFileName.InvisibleChar = '●';
     this.hbox1.Add(this.entryFileName);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.entryFileName]));
     w3.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonFileChooser              = new global::Gtk.Button();
     this.buttonFileChooser.CanFocus     = true;
     this.buttonFileChooser.Name         = "buttonFileChooser";
     this.buttonFileChooser.UseUnderline = true;
     global::Gtk.Image w4 = new global::Gtk.Image();
     w4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-directory", global::Gtk.IconSize.Menu);
     this.buttonFileChooser.Image = w4;
     this.hbox1.Add(this.buttonFileChooser);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonFileChooser]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     this.dialog1_VBox.Add(this.hbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox1]));
     w6.Position = 2;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.progressbarTotal      = new global::QS.Widgets.ProgressWidget();
     this.progressbarTotal.Name = "progressbarTotal";
     this.dialog1_VBox.Add(this.progressbarTotal);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.progressbarTotal]));
     w7.Position = 3;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.progressbarOperation      = new global::QS.Widgets.ProgressWidget();
     this.progressbarOperation.Name = "progressbarOperation";
     this.dialog1_VBox.Add(this.progressbarOperation);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.progressbarOperation]));
     w8.Position = 4;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.expander1          = new global::Gtk.Expander(null);
     this.expander1.CanFocus = true;
     this.expander1.Name     = "expander1";
     // Container child expander1.Gtk.Container+ContainerChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.HeightRequest = 246;
     this.GtkScrolledWindow.Name          = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType    = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.textviewLog          = new global::Gamma.GtkWidgets.yTextView();
     this.textviewLog.CanFocus = true;
     this.textviewLog.Name     = "textviewLog";
     this.GtkScrolledWindow.Add(this.textviewLog);
     this.expander1.Add(this.GtkScrolledWindow);
     this.GtkLabel2              = new global::Gtk.Label();
     this.GtkLabel2.Name         = "GtkLabel2";
     this.GtkLabel2.LabelProp    = global::Mono.Unix.Catalog.GetString("Технический журнал");
     this.GtkLabel2.UseUnderline = true;
     this.expander1.LabelWidget  = this.GtkLabel2;
     this.dialog1_VBox.Add(this.expander1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.expander1]));
     w11.Position = 5;
     // 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.buttonCancel              = new global::Gtk.Button();
     this.buttonCancel.CanFocus     = true;
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.UseStock     = true;
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label        = "gtk-cancel";
     this.hbox2.Add(this.buttonCancel);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonCancel]));
     w12.Position = 1;
     // Container child hbox2.Gtk.Box+BoxChild
     this.buttonExecute              = new global::Gamma.GtkWidgets.yButton();
     this.buttonExecute.CanFocus     = true;
     this.buttonExecute.Name         = "buttonExecute";
     this.buttonExecute.UseStock     = true;
     this.buttonExecute.UseUnderline = true;
     this.buttonExecute.Label        = "gtk-execute";
     this.hbox2.Add(this.buttonExecute);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonExecute]));
     w13.Position = 2;
     this.dialog1_VBox.Add(this.hbox2);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox[this.hbox2]));
     w14.Position = 6;
     w14.Expand   = false;
     w14.Fill     = false;
     this.Add(this.dialog1_VBox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.progressbarOperation.Hide();
     this.Show();
     this.checkCreateBackup.Toggled += new global::System.EventHandler(this.OnCheckCreateBackupToggled);
     this.buttonFileChooser.Clicked += new global::System.EventHandler(this.OnButtonFileChooserClicked);
     this.buttonCancel.Clicked      += new global::System.EventHandler(this.OnButtonCancelClicked);
     this.buttonExecute.Clicked     += new global::System.EventHandler(this.OnButtonExecuteClicked);
 }
        protected virtual void Build()
        {
            global::Stetic.Gui.Initialize(this);
            // Widget workwear.Views.Import.ExcelImportView
            global::Stetic.BinContainer.Attach(this);
            this.Name = "workwear.Views.Import.ExcelImportView";
            // Container child workwear.Views.Import.ExcelImportView.Gtk.Container+ContainerChild
            this.vbox1         = new global::Gtk.VBox();
            this.vbox1.Name    = "vbox1";
            this.vbox1.Spacing = 6;
            // Container child vbox1.Gtk.Box+BoxChild
            this.notebookSteps             = new global::Gamma.GtkWidgets.yNotebook();
            this.notebookSteps.CanFocus    = true;
            this.notebookSteps.Name        = "notebookSteps";
            this.notebookSteps.CurrentPage = 0;
            this.notebookSteps.ShowBorder  = false;
            // Container child notebookSteps.Gtk.Notebook+NotebookChild
            this.vbox2         = new global::Gtk.VBox();
            this.vbox2.Name    = "vbox2";
            this.vbox2.Spacing = 6;
            // Container child vbox2.Gtk.Box+BoxChild
            this.filechooser       = new global::Gamma.GtkWidgets.yFileChooserButton();
            this.filechooser.Name  = "filechooser";
            this.filechooser.Title = global::Mono.Unix.Catalog.GetString("Выберите Excel файл с данными для импорта");
            this.vbox2.Add(this.filechooser);
            global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.filechooser]));
            w1.Position = 0;
            w1.Expand   = false;
            w1.Fill     = false;
            // Container child vbox2.Gtk.Box+BoxChild
            this.ytable2               = new global::Gamma.GtkWidgets.yTable();
            this.ytable2.Name          = "ytable2";
            this.ytable2.NColumns      = ((uint)(3));
            this.ytable2.RowSpacing    = ((uint)(6));
            this.ytable2.ColumnSpacing = ((uint)(6));
            // Container child ytable2.Gtk.Table+TableChild
            this.comboSheets               = new global::Gamma.Widgets.yListComboBox();
            this.comboSheets.Name          = "comboSheets";
            this.comboSheets.AddIfNotExist = false;
            this.comboSheets.DefaultFirst  = true;
            this.ytable2.Add(this.comboSheets);
            global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.ytable2[this.comboSheets]));
            w2.LeftAttach  = ((uint)(1));
            w2.RightAttach = ((uint)(2));
            w2.XOptions    = ((global::Gtk.AttachOptions)(4));
            w2.YOptions    = ((global::Gtk.AttachOptions)(4));
            // Container child ytable2.Gtk.Table+TableChild
            this.ylabel2           = new global::Gamma.GtkWidgets.yLabel();
            this.ylabel2.Name      = "ylabel2";
            this.ylabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Лист с данными:");
            this.ytable2.Add(this.ylabel2);
            global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.ytable2[this.ylabel2]));
            w3.XOptions = ((global::Gtk.AttachOptions)(4));
            w3.YOptions = ((global::Gtk.AttachOptions)(4));
            this.vbox2.Add(this.ytable2);
            global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.ytable2]));
            w4.Position = 1;
            w4.Expand   = false;
            w4.Fill     = false;
            // Container child vbox2.Gtk.Box+BoxChild
            this.buttonLoad              = new global::Gamma.GtkWidgets.yButton();
            this.buttonLoad.CanFocus     = true;
            this.buttonLoad.Name         = "buttonLoad";
            this.buttonLoad.UseUnderline = true;
            this.buttonLoad.Label        = global::Mono.Unix.Catalog.GetString("Разбор листа ⇨");
            this.vbox2.Add(this.buttonLoad);
            global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.buttonLoad]));
            w5.Position = 2;
            w5.Expand   = false;
            w5.Fill     = false;
            this.notebookSteps.Add(this.vbox2);
            // Notebook tab
            this.label1           = new global::Gtk.Label();
            this.label1.Name      = "label1";
            this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Выбор файла [Шаг 1 ]");
            this.notebookSteps.SetTabLabel(this.vbox2, this.label1);
            this.label1.ShowAll();
            // Container child notebookSteps.Gtk.Notebook+NotebookChild
            this.hbox1         = new global::Gtk.HBox();
            this.hbox1.Name    = "hbox1";
            this.hbox1.Spacing = 6;
            // Container child hbox1.Gtk.Box+BoxChild
            this.GtkScrolledColumns = new global::Gtk.ScrolledWindow();
            this.GtkScrolledColumns.WidthRequest = 450;
            this.GtkScrolledColumns.Name         = "GtkScrolledColumns";
            this.GtkScrolledColumns.ShadowType   = ((global::Gtk.ShadowType)(1));
            // Container child GtkScrolledColumns.Gtk.Container+ContainerChild
            global::Gtk.Viewport w7 = new global::Gtk.Viewport();
            w7.ShadowType = ((global::Gtk.ShadowType)(0));
            // Container child GtkViewport.Gtk.Container+ContainerChild
            this.tableColumns               = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false);
            this.tableColumns.Name          = "tableColumns";
            this.tableColumns.RowSpacing    = ((uint)(6));
            this.tableColumns.ColumnSpacing = ((uint)(6));
            w7.Add(this.tableColumns);
            this.GtkScrolledColumns.Add(w7);
            this.hbox1.Add(this.GtkScrolledColumns);
            global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledColumns]));
            w10.Position = 0;
            // Container child hbox1.Gtk.Box+BoxChild
            this.tableMatchSettings               = new global::Gamma.GtkWidgets.yTable();
            this.tableMatchSettings.Name          = "tableMatchSettings";
            this.tableMatchSettings.NRows         = ((uint)(2));
            this.tableMatchSettings.NColumns      = ((uint)(2));
            this.tableMatchSettings.RowSpacing    = ((uint)(6));
            this.tableMatchSettings.ColumnSpacing = ((uint)(6));
            // Container child tableMatchSettings.Gtk.Table+TableChild
            this.spinTitleRow          = new global::Gamma.GtkWidgets.ySpinButton(0D, 100000D, 1D);
            this.spinTitleRow.CanFocus = true;
            this.spinTitleRow.Name     = "spinTitleRow";
            this.spinTitleRow.Adjustment.PageIncrement = 10D;
            this.spinTitleRow.ClimbRate      = 1D;
            this.spinTitleRow.Numeric        = true;
            this.spinTitleRow.ValueAsDecimal = 0m;
            this.spinTitleRow.ValueAsInt     = 0;
            this.tableMatchSettings.Add(this.spinTitleRow);
            global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableMatchSettings[this.spinTitleRow]));
            w11.LeftAttach  = ((uint)(1));
            w11.RightAttach = ((uint)(2));
            w11.XOptions    = ((global::Gtk.AttachOptions)(4));
            w11.YOptions    = ((global::Gtk.AttachOptions)(4));
            // Container child tableMatchSettings.Gtk.Table+TableChild
            this.ylabel1           = new global::Gamma.GtkWidgets.yLabel();
            this.ylabel1.Name      = "ylabel1";
            this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Номер строки с заголовками:");
            this.tableMatchSettings.Add(this.ylabel1);
            global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableMatchSettings[this.ylabel1]));
            w12.XOptions = ((global::Gtk.AttachOptions)(4));
            w12.YOptions = ((global::Gtk.AttachOptions)(4));
            this.hbox1.Add(this.tableMatchSettings);
            global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.tableMatchSettings]));
            w13.Position = 1;
            w13.Expand   = false;
            w13.Fill     = false;
            // Container child hbox1.Gtk.Box+BoxChild
            this.vbox3         = new global::Gtk.VBox();
            this.vbox3.Name    = "vbox3";
            this.vbox3.Spacing = 6;
            // 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.GtkAlignment             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
            this.GtkAlignment.Name        = "GtkAlignment";
            this.GtkAlignment.LeftPadding = ((uint)(12));
            // Container child GtkAlignment.Gtk.Container+ContainerChild
            this.labelColumnRecomendations           = new global::Gtk.Label();
            this.labelColumnRecomendations.Name      = "labelColumnRecomendations";
            this.labelColumnRecomendations.LabelProp = global::Mono.Unix.Catalog.GetString(@"Установите номер строки с заголовком данных, таким образом чтобы название колонок было корректно. Если в таблице заголовки отсутствуют укажите 0.
Далее для каждой значимой колонки проставьте тип данных которых находится в таблице.
При загрузки листа программа автоматически пытается найти заголовок таблицы и выбрать тип данных.
Обязательными данными являются Фамилия и Имя или ФИО.");
            this.labelColumnRecomendations.Wrap      = true;
            this.labelColumnRecomendations.Justify   = ((global::Gtk.Justification)(3));
            this.GtkAlignment.Add(this.labelColumnRecomendations);
            this.frame1.Add(this.GtkAlignment);
            this.GtkLabel2           = new global::Gtk.Label();
            this.GtkLabel2.Name      = "GtkLabel2";
            this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Рекомендации");
            this.GtkLabel2.UseMarkup = true;
            this.frame1.LabelWidget  = this.GtkLabel2;
            this.vbox3.Add(this.frame1);
            global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.frame1]));
            w16.Position = 0;
            w16.Expand   = false;
            w16.Fill     = false;
            // Container child vbox3.Gtk.Box+BoxChild
            this.buttonReadEmployees              = new global::Gamma.GtkWidgets.yButton();
            this.buttonReadEmployees.CanFocus     = true;
            this.buttonReadEmployees.Name         = "buttonReadEmployees";
            this.buttonReadEmployees.UseUnderline = true;
            this.buttonReadEmployees.Label        = global::Mono.Unix.Catalog.GetString("Сопоставление данных ⇨");
            this.vbox3.Add(this.buttonReadEmployees);
            global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.buttonReadEmployees]));
            w17.Position = 1;
            w17.Expand   = false;
            w17.Fill     = false;
            this.hbox1.Add(this.vbox3);
            global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox3]));
            w18.Position = 2;
            w18.Expand   = false;
            w18.Fill     = false;
            this.notebookSteps.Add(this.hbox1);
            global::Gtk.Notebook.NotebookChild w19 = ((global::Gtk.Notebook.NotebookChild)(this.notebookSteps[this.hbox1]));
            w19.Position = 1;
            // Notebook tab
            this.label2           = new global::Gtk.Label();
            this.label2.Name      = "label2";
            this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Формат файла [Шаг 2]");
            this.notebookSteps.SetTabLabel(this.hbox1, this.label2);
            this.label2.ShowAll();
            // Container child notebookSteps.Gtk.Notebook+NotebookChild
            this.hbox2         = new global::Gtk.HBox();
            this.hbox2.Name    = "hbox2";
            this.hbox2.Spacing = 6;
            // Container child hbox2.Gtk.Box+BoxChild
            this.vboxCounters         = new global::Gtk.VBox();
            this.vboxCounters.Name    = "vboxCounters";
            this.vboxCounters.Spacing = 6;
            // Container child vboxCounters.Gtk.Box+BoxChild
            this.buttonSave              = new global::Gamma.GtkWidgets.yButton();
            this.buttonSave.CanFocus     = true;
            this.buttonSave.Name         = "buttonSave";
            this.buttonSave.UseUnderline = true;
            this.buttonSave.Label        = global::Mono.Unix.Catalog.GetString("Сохранить");
            global::Gtk.Image w20 = new global::Gtk.Image();
            w20.Pixbuf            = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu);
            this.buttonSave.Image = w20;
            this.vboxCounters.Add(this.buttonSave);
            global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vboxCounters[this.buttonSave]));
            w21.PackType = ((global::Gtk.PackType)(1));
            w21.Position = 0;
            w21.Expand   = false;
            w21.Fill     = false;
            this.hbox2.Add(this.vboxCounters);
            global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vboxCounters]));
            w22.Position = 0;
            w22.Expand   = false;
            w22.Fill     = false;
            // Container child hbox2.Gtk.Box+BoxChild
            this.vbox5         = new global::Gtk.VBox();
            this.vbox5.Name    = "vbox5";
            this.vbox5.Spacing = 6;
            // Container child vbox5.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.GtkAlignment2             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
            this.GtkAlignment2.Name        = "GtkAlignment2";
            this.GtkAlignment2.LeftPadding = ((uint)(12));
            // Container child GtkAlignment2.Gtk.Container+ContainerChild
            this.table2               = new global::Gtk.Table(((uint)(5)), ((uint)(1)), false);
            this.table2.Name          = "table2";
            this.table2.RowSpacing    = ((uint)(6));
            this.table2.ColumnSpacing = ((uint)(6));
            // Container child table2.Gtk.Table+TableChild
            this.eventboxLegendaChanged      = new global::Gamma.GtkWidgets.yEventBox();
            this.eventboxLegendaChanged.Name = "eventboxLegendaChanged";
            // Container child eventboxLegendaChanged.Gtk.Container+ContainerChild
            this.labelCountChangedEmployees           = new global::Gamma.GtkWidgets.yLabel();
            this.labelCountChangedEmployees.Name      = "labelCountChangedEmployees";
            this.labelCountChangedEmployees.LabelProp = global::Mono.Unix.Catalog.GetString("Измененные");
            this.eventboxLegendaChanged.Add(this.labelCountChangedEmployees);
            this.table2.Add(this.eventboxLegendaChanged);
            global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2[this.eventboxLegendaChanged]));
            w24.TopAttach    = ((uint)(1));
            w24.BottomAttach = ((uint)(2));
            w24.XOptions     = ((global::Gtk.AttachOptions)(4));
            w24.YOptions     = ((global::Gtk.AttachOptions)(4));
            // Container child table2.Gtk.Table+TableChild
            this.eventboxLegendaError      = new global::Gtk.EventBox();
            this.eventboxLegendaError.Name = "eventboxLegendaError";
            // Container child eventboxLegendaError.Gtk.Container+ContainerChild
            this.ylabel6           = new global::Gamma.GtkWidgets.yLabel();
            this.ylabel6.Name      = "ylabel6";
            this.ylabel6.LabelProp = global::Mono.Unix.Catalog.GetString("Неверный формат");
            this.eventboxLegendaError.Add(this.ylabel6);
            this.table2.Add(this.eventboxLegendaError);
            global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2[this.eventboxLegendaError]));
            w26.TopAttach    = ((uint)(3));
            w26.BottomAttach = ((uint)(4));
            w26.XOptions     = ((global::Gtk.AttachOptions)(4));
            w26.YOptions     = ((global::Gtk.AttachOptions)(4));
            // Container child table2.Gtk.Table+TableChild
            this.eventboxLegendaNew      = new global::Gamma.GtkWidgets.yEventBox();
            this.eventboxLegendaNew.Name = "eventboxLegendaNew";
            // Container child eventboxLegendaNew.Gtk.Container+ContainerChild
            this.labelNew           = new global::Gamma.GtkWidgets.yLabel();
            this.labelNew.Name      = "labelNew";
            this.labelNew.LabelProp = global::Mono.Unix.Catalog.GetString("Новые");
            this.eventboxLegendaNew.Add(this.labelNew);
            this.table2.Add(this.eventboxLegendaNew);
            global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table2[this.eventboxLegendaNew]));
            w28.XOptions = ((global::Gtk.AttachOptions)(4));
            w28.YOptions = ((global::Gtk.AttachOptions)(4));
            // Container child table2.Gtk.Table+TableChild
            this.eventboxLegendaNotFound      = new global::Gamma.GtkWidgets.yEventBox();
            this.eventboxLegendaNotFound.Name = "eventboxLegendaNotFound";
            // Container child eventboxLegendaNotFound.Gtk.Container+ContainerChild
            this.labelLegendNotFound           = new global::Gamma.GtkWidgets.yLabel();
            this.labelLegendNotFound.Name      = "labelLegendNotFound";
            this.labelLegendNotFound.LabelProp = global::Mono.Unix.Catalog.GetString("Не найдено");
            this.eventboxLegendaNotFound.Add(this.labelLegendNotFound);
            this.table2.Add(this.eventboxLegendaNotFound);
            global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table2[this.eventboxLegendaNotFound]));
            w30.TopAttach    = ((uint)(2));
            w30.BottomAttach = ((uint)(3));
            w30.XOptions     = ((global::Gtk.AttachOptions)(4));
            w30.YOptions     = ((global::Gtk.AttachOptions)(4));
            // Container child table2.Gtk.Table+TableChild
            this.eventboxLegendaSkipRows      = new global::Gamma.GtkWidgets.yEventBox();
            this.eventboxLegendaSkipRows.Name = "eventboxLegendaSkipRows";
            // Container child eventboxLegendaSkipRows.Gtk.Container+ContainerChild
            this.labelCountSkipRows           = new global::Gamma.GtkWidgets.yLabel();
            this.labelCountSkipRows.Name      = "labelCountSkipRows";
            this.labelCountSkipRows.LabelProp = global::Mono.Unix.Catalog.GetString("Пропущенные");
            this.eventboxLegendaSkipRows.Add(this.labelCountSkipRows);
            this.table2.Add(this.eventboxLegendaSkipRows);
            global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table2[this.eventboxLegendaSkipRows]));
            w32.TopAttach    = ((uint)(4));
            w32.BottomAttach = ((uint)(5));
            w32.XOptions     = ((global::Gtk.AttachOptions)(4));
            w32.YOptions     = ((global::Gtk.AttachOptions)(4));
            this.GtkAlignment2.Add(this.table2);
            this.frame2.Add(this.GtkAlignment2);
            this.GtkLabel7           = new global::Gtk.Label();
            this.GtkLabel7.Name      = "GtkLabel7";
            this.GtkLabel7.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Легенда</b>");
            this.GtkLabel7.UseMarkup = true;
            this.frame2.LabelWidget  = this.GtkLabel7;
            this.vbox5.Add(this.frame2);
            global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.frame2]));
            w35.Position = 0;
            w35.Expand   = false;
            w35.Fill     = false;
            this.hbox2.Add(this.vbox5);
            global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox5]));
            w36.PackType = ((global::Gtk.PackType)(1));
            w36.Position = 1;
            w36.Expand   = false;
            w36.Fill     = false;
            this.notebookSteps.Add(this.hbox2);
            global::Gtk.Notebook.NotebookChild w37 = ((global::Gtk.Notebook.NotebookChild)(this.notebookSteps[this.hbox2]));
            w37.Position = 2;
            // Notebook tab
            this.label4           = new global::Gtk.Label();
            this.label4.Name      = "label4";
            this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Обработка данных [Шаг 3]");
            this.notebookSteps.SetTabLabel(this.hbox2, this.label4);
            this.label4.ShowAll();
            this.vbox1.Add(this.notebookSteps);
            global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.notebookSteps]));
            w38.Position = 0;
            w38.Expand   = false;
            // Container child vbox1.Gtk.Box+BoxChild
            this.progressTotal      = new global::QS.Widgets.ProgressWidget();
            this.progressTotal.Name = "progressTotal";
            this.vbox1.Add(this.progressTotal);
            global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.progressTotal]));
            w39.Position = 1;
            w39.Expand   = false;
            w39.Fill     = false;
            // Container child vbox1.Gtk.Box+BoxChild
            this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
            this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
            this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
            // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
            this.treeviewRows          = new global::Gamma.GtkWidgets.yTreeView();
            this.treeviewRows.CanFocus = true;
            this.treeviewRows.Name     = "treeviewRows";
            this.GtkScrolledWindow.Add(this.treeviewRows);
            this.vbox1.Add(this.GtkScrolledWindow);
            global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow]));
            w41.Position = 2;
            this.Add(this.vbox1);
            if ((this.Child != null))
            {
                this.Child.ShowAll();
            }
            this.progressTotal.Hide();
            this.Hide();
            this.buttonLoad.Clicked          += new global::System.EventHandler(this.OnButtonLoadClicked);
            this.buttonReadEmployees.Clicked += new global::System.EventHandler(this.OnButtonReadEmployeesClicked);
            this.buttonSave.Clicked          += new global::System.EventHandler(this.OnButtonSaveClicked);
        }
Esempio n. 5
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.Views.Payments.AutomaticallyAllocationBalanceWindowView
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.Views.Payments.AutomaticallyAllocationBalanceWindowView";
     // Container child Vodovoz.Views.Payments.AutomaticallyAllocationBalanceWindowView.Gtk.Container+ContainerChild
     this.vboxMain         = new global::Gamma.GtkWidgets.yVBox();
     this.vboxMain.Name    = "vboxMain";
     this.vboxMain.Spacing = 6;
     // Container child vboxMain.Gtk.Box+BoxChild
     this.hboxActions         = new global::Gamma.GtkWidgets.yHBox();
     this.hboxActions.Name    = "hboxActions";
     this.hboxActions.Spacing = 6;
     // Container child hboxActions.Gtk.Box+BoxChild
     this.btnAllocateByCurrentCounterparty              = new global::Gamma.GtkWidgets.yButton();
     this.btnAllocateByCurrentCounterparty.CanFocus     = true;
     this.btnAllocateByCurrentCounterparty.Name         = "btnAllocateByCurrentCounterparty";
     this.btnAllocateByCurrentCounterparty.UseUnderline = true;
     this.btnAllocateByCurrentCounterparty.Label        = global::Mono.Unix.Catalog.GetString("Разнести по текущему выделенному клиенту");
     this.hboxActions.Add(this.btnAllocateByCurrentCounterparty);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hboxActions[this.btnAllocateByCurrentCounterparty]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child hboxActions.Gtk.Box+BoxChild
     this.btnAllocateByAllCounterpartiesWithPositiveBalance              = new global::Gamma.GtkWidgets.yButton();
     this.btnAllocateByAllCounterpartiesWithPositiveBalance.CanFocus     = true;
     this.btnAllocateByAllCounterpartiesWithPositiveBalance.Name         = "btnAllocateByAllCounterpartiesWithPositiveBalance";
     this.btnAllocateByAllCounterpartiesWithPositiveBalance.UseUnderline = true;
     this.btnAllocateByAllCounterpartiesWithPositiveBalance.Label        = global::Mono.Unix.Catalog.GetString("Разнести по всем клиентам\nу которых есть положительный баланс");
     this.hboxActions.Add(this.btnAllocateByAllCounterpartiesWithPositiveBalance);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxActions[this.btnAllocateByAllCounterpartiesWithPositiveBalance]));
     w2.Position = 1;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hboxActions.Gtk.Box+BoxChild
     this.btnCancel              = new global::Gamma.GtkWidgets.yButton();
     this.btnCancel.CanFocus     = true;
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.UseUnderline = true;
     this.btnCancel.Label        = global::Mono.Unix.Catalog.GetString("Отмена");
     this.hboxActions.Add(this.btnCancel);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxActions[this.btnCancel]));
     w3.Position = 2;
     w3.Expand   = false;
     w3.Fill     = false;
     this.vboxMain.Add(this.hboxActions);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.hboxActions]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vboxMain.Gtk.Box+BoxChild
     this.chkAllocateCompletedPayments               = new global::Gamma.GtkWidgets.yCheckButton();
     this.chkAllocateCompletedPayments.CanFocus      = true;
     this.chkAllocateCompletedPayments.Name          = "chkAllocateCompletedPayments";
     this.chkAllocateCompletedPayments.Label         = global::Mono.Unix.Catalog.GetString("Использовать только завершенные платежи");
     this.chkAllocateCompletedPayments.DrawIndicator = true;
     this.chkAllocateCompletedPayments.UseUnderline  = true;
     this.vboxMain.Add(this.chkAllocateCompletedPayments);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.chkAllocateCompletedPayments]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vboxMain.Gtk.Box+BoxChild
     this.progresswidget      = new global::QS.Widgets.ProgressWidget();
     this.progresswidget.Name = "progresswidget";
     this.vboxMain.Add(this.progresswidget);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.progresswidget]));
     w6.Position = 2;
     w6.Expand   = false;
     w6.Fill     = false;
     this.Add(this.vboxMain);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }