protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget QS.HistoryLog.Dialogs.HistoryView global::Stetic.BinContainer.Attach(this); this.Name = "QS.HistoryLog.Dialogs.HistoryView"; // Container child QS.HistoryLog.Dialogs.HistoryView.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(5)), ((uint)(5)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.buttonSearch = new global::Gtk.Button(); this.buttonSearch.CanFocus = true; this.buttonSearch.Name = "buttonSearch"; this.buttonSearch.UseUnderline = true; global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-find", global::Gtk.IconSize.Menu); this.buttonSearch.Image = w1; this.table1.Add(this.buttonSearch); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonSearch])); w2.TopAttach = ((uint)(3)); w2.BottomAttach = ((uint)(5)); w2.LeftAttach = ((uint)(4)); w2.RightAttach = ((uint)(5)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboAction = new global::Gamma.Widgets.yEnumComboBox(); this.comboAction.Name = "comboAction"; this.comboAction.ShowSpecialStateAll = true; this.comboAction.ShowSpecialStateNot = false; this.comboAction.UseShortTitle = false; this.comboAction.DefaultFirst = false; this.table1.Add(this.comboAction); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.comboAction])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboProperty = new global::Gamma.Widgets.ySpecComboBox(); this.comboProperty.Name = "comboProperty"; this.comboProperty.AddIfNotExist = false; this.comboProperty.DefaultFirst = false; this.comboProperty.ShowSpecialStateAll = true; this.comboProperty.ShowSpecialStateNot = false; this.table1.Add(this.comboProperty); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.comboProperty])); w4.TopAttach = ((uint)(3)); w4.BottomAttach = ((uint)(4)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboUsers = new global::Gtk.ComboBox(); this.comboUsers.Name = "comboUsers"; this.table1.Add(this.comboUsers); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.comboUsers])); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.datacomboObject = new global::Gamma.Widgets.ySpecComboBox(); this.datacomboObject.Name = "datacomboObject"; this.datacomboObject.AddIfNotExist = false; this.datacomboObject.DefaultFirst = false; this.datacomboObject.ShowSpecialStateAll = true; this.datacomboObject.ShowSpecialStateNot = false; this.table1.Add(this.datacomboObject); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.datacomboObject])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entrySearchEntity = new global::Gtk.Entry(); this.entrySearchEntity.CanFocus = true; this.entrySearchEntity.Name = "entrySearchEntity"; this.entrySearchEntity.IsEditable = true; this.entrySearchEntity.InvisibleChar = '●'; this.table1.Add(this.entrySearchEntity); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entrySearchEntity])); w7.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); w7.LeftAttach = ((uint)(3)); w7.RightAttach = ((uint)(4)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entrySearchValue = new global::Gtk.Entry(); this.entrySearchValue.CanFocus = true; this.entrySearchValue.Name = "entrySearchValue"; this.entrySearchValue.IsEditable = true; this.entrySearchValue.InvisibleChar = '●'; this.table1.Add(this.entrySearchValue); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.entrySearchValue])); w8.TopAttach = ((uint)(4)); w8.BottomAttach = ((uint)(5)); w8.LeftAttach = ((uint)(3)); w8.RightAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Пользователь:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Действие с объектом:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Поиск по изменениям:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.LeftAttach = ((uint)(2)); w11.RightAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Объект изменений:"); this.table1.Add(this.label6); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label6])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Реквизит объекта:"); this.table1.Add(this.label8); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Поиск по имени объекта:"); this.table1.Add(this.label9); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label9])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.selectperiod = new global::QSWidgetLib.SelectPeriod(); this.selectperiod.Events = ((global::Gdk.EventMask)(256)); this.selectperiod.Name = "selectperiod"; this.selectperiod.DateBegin = new global::System.DateTime(0); this.selectperiod.DateEnd = new global::System.DateTime(0); this.selectperiod.AutoDateSeparation = true; this.selectperiod.ShowToday = true; this.selectperiod.ShowWeek = true; this.selectperiod.ShowMonth = true; this.selectperiod.Show3Month = true; this.selectperiod.Show6Month = false; this.selectperiod.ShowYear = false; this.selectperiod.ShowAllTime = false; this.selectperiod.ShowCurWeek = false; this.selectperiod.ShowCurMonth = false; this.selectperiod.ShowCurQuarter = false; this.selectperiod.ShowCurYear = false; this.table1.Add(this.selectperiod); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.selectperiod])); w15.BottomAttach = ((uint)(3)); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(4)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 203; // Container child vpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindowChangesets = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindowChangesets.Name = "GtkScrolledWindowChangesets"; this.GtkScrolledWindowChangesets.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowChangesets.Gtk.Container+ContainerChild this.datatreeChangesets = new global::Gamma.GtkWidgets.yTreeView(); this.datatreeChangesets.CanFocus = true; this.datatreeChangesets.Name = "datatreeChangesets"; this.GtkScrolledWindowChangesets.Add(this.datatreeChangesets); this.vpaned1.Add(this.GtkScrolledWindowChangesets); global::Gtk.Paned.PanedChild w18 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.GtkScrolledWindowChangesets])); w18.Resize = false; w18.Shrink = false; // Container child vpaned1.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Детали изменений:"); this.vbox3.Add(this.label7); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.label7])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.datatreeChanges = new global::Gamma.GtkWidgets.yTreeView(); this.datatreeChanges.CanFocus = true; this.datatreeChanges.Name = "datatreeChanges"; this.GtkScrolledWindow1.Add(this.datatreeChanges); this.vbox3.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow1])); w21.Position = 1; this.vpaned1.Add(this.vbox3); global::Gtk.Paned.PanedChild w22 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.vbox3])); w22.Resize = false; w22.Shrink = false; this.vbox2.Add(this.vpaned1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.vpaned1])); w23.Position = 1; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.selectperiod.DatesChanged += new global::System.EventHandler(this.OnSelectperiodDatesChanged); this.entrySearchValue.Activated += new global::System.EventHandler(this.OnEntrySearchActivated); this.entrySearchEntity.Activated += new global::System.EventHandler(this.OnEntrySearchEntityActivated); this.datacomboObject.ItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnDatacomboObjectItemSelected); this.comboUsers.Changed += new global::System.EventHandler(this.OnComboUsersChanged); this.comboProperty.ItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnComboPropertyItemSelected); this.comboAction.Changed += new global::System.EventHandler(this.OnComboActionChanged); this.buttonSearch.Clicked += new global::System.EventHandler(this.OnButtonSearchClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget CarGlass.MonthReport this.Name = "CarGlass.MonthReport"; this.Title = global::Mono.Unix.Catalog.GetString("Печать отчета за месяц"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child CarGlass.MonthReport.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.selectperiod1 = new global::QSWidgetLib.SelectPeriod(); this.selectperiod1.Events = ((global::Gdk.EventMask)(256)); this.selectperiod1.Name = "selectperiod1"; this.selectperiod1.DateBegin = new global::System.DateTime(0); this.selectperiod1.DateEnd = new global::System.DateTime(0); this.selectperiod1.AutoDateSeparation = true; this.selectperiod1.ShowToday = true; this.selectperiod1.ShowWeek = true; this.selectperiod1.ShowMonth = true; this.selectperiod1.Show3Month = true; this.selectperiod1.Show6Month = true; this.selectperiod1.ShowYear = true; this.selectperiod1.ShowAllTime = false; this.selectperiod1.ShowCurWeek = true; this.selectperiod1.ShowCurMonth = true; this.selectperiod1.ShowCurQuarter = true; this.selectperiod1.ShowCurYear = true; w1.Add(this.selectperiod1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.selectperiod1])); w2.Position = 0; // Internal child CarGlass.MonthReport.ActionArea global::Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 10; w3.BorderWidth = ((uint)(5)); w3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonCancel])); w4.Expand = false; w4.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.Sensitive = false; this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonOk])); w5.Position = 1; w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 343; this.DefaultHeight = 193; this.Show(); this.selectperiod1.DatesChanged += new global::System.EventHandler(this.OnSelectperiod1DatesChanged); this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.Action = new global::Gtk.Action ("Action", global::Mono.Unix.Catalog.GetString ("Файл"), null, null); this.Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("Файл"); w1.Add (this.Action, null); this.Action1 = new global::Gtk.Action ("Action1", global::Mono.Unix.Catalog.GetString ("Справочники"), null, null); this.Action1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Справочники"); w1.Add (this.Action1, null); this.Action18 = new global::Gtk.Action ("Action18", global::Mono.Unix.Catalog.GetString ("Ведомости"), null, null); this.Action18.ShortLabel = global::Mono.Unix.Catalog.GetString ("Ведомости"); w1.Add (this.Action18, null); this.Action3 = new global::Gtk.Action ("Action3", global::Mono.Unix.Catalog.GetString ("Справка"), null, null); this.Action3.ShortLabel = global::Mono.Unix.Catalog.GetString ("Справка"); w1.Add (this.Action3, null); this.dialogAuthenticationAction = new global::Gtk.Action ("dialogAuthenticationAction", global::Mono.Unix.Catalog.GetString ("Изменить пароль"), null, "gtk-dialog-authentication"); this.dialogAuthenticationAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Изменить пароль"); w1.Add (this.dialogAuthenticationAction, null); this.UsersAction = new global::Gtk.Action ("UsersAction", global::Mono.Unix.Catalog.GetString ("Пользователи"), null, null); this.UsersAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Пользователи"); w1.Add (this.UsersAction, null); this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("Выход"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Выход"); w1.Add (this.quitAction, null); this.Action5 = new global::Gtk.Action ("Action5", global::Mono.Unix.Catalog.GetString ("Типы номенклатуры"), null, null); this.Action5.ShortLabel = global::Mono.Unix.Catalog.GetString ("Типы номенклатуры"); w1.Add (this.Action5, null); this.Action6 = new global::Gtk.Action ("Action6", global::Mono.Unix.Catalog.GetString ("Номенклатура"), null, null); this.Action6.ShortLabel = global::Mono.Unix.Catalog.GetString ("Номенклатура"); w1.Add (this.Action6, null); this.Action7 = new global::Gtk.Action ("Action7", global::Mono.Unix.Catalog.GetString ("Единицы измерения"), null, null); this.Action7.ShortLabel = global::Mono.Unix.Catalog.GetString ("Единицы измерения"); w1.Add (this.Action7, null); this.Action8 = new global::Gtk.Action ("Action8", global::Mono.Unix.Catalog.GetString ("Должности"), null, null); this.Action8.ShortLabel = global::Mono.Unix.Catalog.GetString ("Должности"); w1.Add (this.Action8, null); this.Action9 = new global::Gtk.Action ("Action9", global::Mono.Unix.Catalog.GetString ("Руководители"), null, null); this.Action9.ShortLabel = global::Mono.Unix.Catalog.GetString ("Руководители"); w1.Add (this.Action9, null); this.aboutAction = new global::Gtk.Action ("aboutAction", global::Mono.Unix.Catalog.GetString ("_О программе"), null, "gtk-about"); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_О программе"); w1.Add (this.aboutAction, null); this.Action10 = new global::Gtk.Action ("Action10", global::Mono.Unix.Catalog.GetString ("Сводная ведомость"), null, null); this.Action10.ShortLabel = global::Mono.Unix.Catalog.GetString ("Сводная ведомость"); w1.Add (this.Action10, null); this.Action11 = new global::Gtk.Action ("Action11", global::Mono.Unix.Catalog.GetString ("Складская ведомость"), null, null); this.Action11.ShortLabel = global::Mono.Unix.Catalog.GetString ("Складская ведомость"); w1.Add (this.Action11, null); this.Action12 = new global::Gtk.Action ("Action12", global::Mono.Unix.Catalog.GetString ("Список по размерам"), null, null); this.Action12.ShortLabel = global::Mono.Unix.Catalog.GetString ("Список по размерам"); w1.Add (this.Action12, null); this.helpAction = new global::Gtk.Action ("helpAction", global::Mono.Unix.Catalog.GetString ("Документация"), null, "gtk-help"); this.helpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Документация"); w1.Add (this.helpAction, null); this.ActionHistory = new global::Gtk.Action ("ActionHistory", global::Mono.Unix.Catalog.GetString ("История версий"), null, "gtk-file"); this.ActionHistory.ShortLabel = global::Mono.Unix.Catalog.GetString ("История версий"); w1.Add (this.ActionHistory, null); this.ActionUpdate = new global::Gtk.Action ("ActionUpdate", global::Mono.Unix.Catalog.GetString ("Проверить обновление..."), null, "gtk-go-down"); this.ActionUpdate.ShortLabel = global::Mono.Unix.Catalog.GetString ("Проверить обновление..."); w1.Add (this.ActionUpdate, null); this.ActionSN = new global::Gtk.Action ("ActionSN", global::Mono.Unix.Catalog.GetString ("Ввести серийный номер..."), null, null); this.ActionSN.ShortLabel = global::Mono.Unix.Catalog.GetString ("Ввести серийный номер..."); w1.Add (this.ActionSN, null); this.ActionNorms = new global::Gtk.Action ("ActionNorms", global::Mono.Unix.Catalog.GetString ("Нормы выдачи"), null, null); this.ActionNorms.ShortLabel = global::Mono.Unix.Catalog.GetString ("Нормы выдачи"); w1.Add (this.ActionNorms, null); this.Action13 = new global::Gtk.Action ("Action13", global::Mono.Unix.Catalog.GetString ("Ведомость на выдачу"), null, null); this.Action13.ShortLabel = global::Mono.Unix.Catalog.GetString ("Ведомость на выдачу"); w1.Add (this.Action13, null); this.Action21 = new global::Gtk.Action ("Action21", global::Mono.Unix.Catalog.GetString ("Квартальная заявка"), null, null); this.Action21.ShortLabel = global::Mono.Unix.Catalog.GetString ("Месячная заявка"); w1.Add (this.Action21, null); this.ActionYearRequestSheet = new global::Gtk.Action ("ActionYearRequestSheet", global::Mono.Unix.Catalog.GetString ("Годовая заявка"), null, null); this.ActionYearRequestSheet.ShortLabel = global::Mono.Unix.Catalog.GetString ("Сводная заявка"); w1.Add (this.ActionYearRequestSheet, null); this.Action17 = new global::Gtk.Action ("Action17", global::Mono.Unix.Catalog.GetString ("Справка по невыданному"), null, null); this.Action17.ShortLabel = global::Mono.Unix.Catalog.GetString ("Справка по невыданному"); w1.Add (this.Action17, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("QS: Спецодежда и имущество"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("workwear.icon.logo.ico"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='Action' action='Action'><menuitem name='dialogAuthenticationAction' action='dialogAuthenticationAction'/><menuitem name='UsersAction' action='UsersAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='Action1' action='Action1'><menuitem name='ActionNorms' action='ActionNorms'/><menuitem name='Action5' action='Action5'/><menuitem name='Action6' action='Action6'/><separator/><menuitem name='Action7' action='Action7'/><separator/><menuitem name='Action8' action='Action8'/><menuitem name='Action9' action='Action9'/></menu><menu name='Action18' action='Action18'><menuitem name='Action10' action='Action10'/><menuitem name='Action11' action='Action11'/><separator/><menuitem name='Action12' action='Action12'/><separator/><menuitem name='Action13' action='Action13'/><menuitem name='Action21' action='Action21'/><menuitem name='ActionYearRequestSheet' action='ActionYearRequestSheet'/><menuitem name='Action17' action='Action17'/></menu><menu name='Action3' action='Action3'><menuitem name='helpAction' action='helpAction'/><menuitem name='ActionHistory' action='ActionHistory'/><menuitem name='ActionUpdate' action='ActionUpdate'/><separator/><menuitem name='ActionSN' action='ActionSN'/><separator/><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add (this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notebookMain = new global::Gtk.Notebook (); this.notebookMain.CanFocus = true; this.notebookMain.Name = "notebookMain"; this.notebookMain.CurrentPage = 1; // Container child notebookMain.Gtk.Notebook+NotebookChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(3)); // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Поиск по имени и адресу:"); this.hbox2.Add (this.label4); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label4])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entryObjectSearch = new global::Gtk.Entry (); this.entryObjectSearch.CanFocus = true; this.entryObjectSearch.Name = "entryObjectSearch"; this.entryObjectSearch.IsEditable = true; this.entryObjectSearch.InvisibleChar = '●'; this.hbox2.Add (this.entryObjectSearch); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.entryObjectSearch])); w4.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.buttonObjectSearchClean = new global::Gtk.Button (); this.buttonObjectSearchClean.CanFocus = true; this.buttonObjectSearchClean.Name = "buttonObjectSearchClean"; this.buttonObjectSearchClean.UseUnderline = true; global::Gtk.Image w5 = new global::Gtk.Image (); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonObjectSearchClean.Image = w5; this.hbox2.Add (this.buttonObjectSearchClean); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonObjectSearchClean])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox2.Add (this.hbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeviewObjects = new global::Gtk.TreeView (); this.treeviewObjects.CanFocus = true; this.treeviewObjects.Name = "treeviewObjects"; this.GtkScrolledWindow.Add (this.treeviewObjects); this.vbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); w9.Position = 1; this.notebookMain.Add (this.vbox2); // Notebook tab this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Объекты"); this.notebookMain.SetTabLabel (this.vbox2, this.label1); this.label1.ShowAll (); // Container child notebookMain.Gtk.Notebook+NotebookChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; this.vbox3.BorderWidth = ((uint)(3)); // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Поиск по имени:"); this.hbox3.Add (this.label5); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label5])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.entryCardsSearch = new global::Gtk.Entry (); this.entryCardsSearch.CanFocus = true; this.entryCardsSearch.Name = "entryCardsSearch"; this.entryCardsSearch.IsEditable = true; this.entryCardsSearch.InvisibleChar = '●'; this.hbox3.Add (this.entryCardsSearch); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.entryCardsSearch])); w12.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.buttonCardsSearchClear = new global::Gtk.Button (); this.buttonCardsSearchClear.CanFocus = true; this.buttonCardsSearchClear.Name = "buttonCardsSearchClear"; this.buttonCardsSearchClear.UseUnderline = true; global::Gtk.Image w13 = new global::Gtk.Image (); w13.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonCardsSearchClear.Image = w13; this.hbox3.Add (this.buttonCardsSearchClear); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.buttonCardsSearchClear])); w14.Position = 2; w14.Expand = false; w14.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.checkCardsOnlyActual = new global::Gtk.CheckButton (); this.checkCardsOnlyActual.CanFocus = true; this.checkCardsOnlyActual.Name = "checkCardsOnlyActual"; this.checkCardsOnlyActual.Label = global::Mono.Unix.Catalog.GetString ("Только работающие"); this.checkCardsOnlyActual.Active = true; this.checkCardsOnlyActual.DrawIndicator = true; this.checkCardsOnlyActual.UseUnderline = true; this.hbox3.Add (this.checkCardsOnlyActual); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.checkCardsOnlyActual])); w15.Position = 3; w15.Expand = false; this.vbox3.Add (this.hbox3); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.treeviewEmployees = new global::QSOrmProject.RepresentationTreeView (); this.treeviewEmployees.CanFocus = true; this.treeviewEmployees.Name = "treeviewEmployees"; this.GtkScrolledWindow1.Add (this.treeviewEmployees); this.vbox3.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow1])); w18.Position = 1; this.notebookMain.Add (this.vbox3); global::Gtk.Notebook.NotebookChild w19 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.vbox3])); w19.Position = 1; // Notebook tab this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Карточки сотрудников"); this.notebookMain.SetTabLabel (this.vbox3, this.label2); this.label2.ShowAll (); // Container child notebookMain.Gtk.Notebook+NotebookChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.selectStockDates = new global::QSWidgetLib.SelectPeriod (); this.selectStockDates.Events = ((global::Gdk.EventMask)(256)); this.selectStockDates.Name = "selectStockDates"; this.selectStockDates.DateBegin = new global::System.DateTime (0); this.selectStockDates.DateEnd = new global::System.DateTime (0); this.selectStockDates.AutoDateSeparation = true; this.selectStockDates.ShowToday = true; this.selectStockDates.ShowWeek = false; this.selectStockDates.ShowMonth = true; this.selectStockDates.Show3Month = false; this.selectStockDates.Show6Month = true; this.selectStockDates.ShowYear = true; this.selectStockDates.ShowAllTime = false; this.selectStockDates.ShowCurWeek = false; this.selectStockDates.ShowCurMonth = false; this.selectStockDates.ShowCurQuarter = false; this.selectStockDates.ShowCurYear = false; this.hbox4.Add (this.selectStockDates); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.selectStockDates])); w20.Position = 1; w20.Expand = false; w20.Fill = false; this.vbox4.Add (this.hbox4); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox4])); w21.Position = 0; w21.Expand = false; // Container child vbox4.Gtk.Box+BoxChild this.notebookStock = new global::Gtk.Notebook (); this.notebookStock.CanFocus = true; this.notebookStock.Name = "notebookStock"; this.notebookStock.CurrentPage = 0; this.notebookStock.TabPos = ((global::Gtk.PositionType)(0)); // Container child notebookStock.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.treeviewIncome = new global::Gtk.TreeView (); this.treeviewIncome.CanFocus = true; this.treeviewIncome.Name = "treeviewIncome"; this.GtkScrolledWindow2.Add (this.treeviewIncome); this.notebookStock.Add (this.GtkScrolledWindow2); // Notebook tab this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Приход"); this.notebookStock.SetTabLabel (this.GtkScrolledWindow2, this.label7); this.label7.ShowAll (); // Container child notebookStock.Gtk.Notebook+NotebookChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.treeviewExpense = new global::Gtk.TreeView (); this.treeviewExpense.CanFocus = true; this.treeviewExpense.Name = "treeviewExpense"; this.GtkScrolledWindow3.Add (this.treeviewExpense); this.notebookStock.Add (this.GtkScrolledWindow3); global::Gtk.Notebook.NotebookChild w25 = ((global::Gtk.Notebook.NotebookChild)(this.notebookStock [this.GtkScrolledWindow3])); w25.Position = 1; // Notebook tab this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Расход"); this.notebookStock.SetTabLabel (this.GtkScrolledWindow3, this.label8); this.label8.ShowAll (); // Container child notebookStock.Gtk.Notebook+NotebookChild this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild this.treeviewWriteOff = new global::Gtk.TreeView (); this.treeviewWriteOff.CanFocus = true; this.treeviewWriteOff.Name = "treeviewWriteOff"; this.GtkScrolledWindow4.Add (this.treeviewWriteOff); this.notebookStock.Add (this.GtkScrolledWindow4); global::Gtk.Notebook.NotebookChild w27 = ((global::Gtk.Notebook.NotebookChild)(this.notebookStock [this.GtkScrolledWindow4])); w27.Position = 2; // Notebook tab this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Списание"); this.notebookStock.SetTabLabel (this.GtkScrolledWindow4, this.label10); this.label10.ShowAll (); this.vbox4.Add (this.notebookStock); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.notebookStock])); w28.Position = 1; this.notebookMain.Add (this.vbox4); global::Gtk.Notebook.NotebookChild w29 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.vbox4])); w29.Position = 2; // Notebook tab this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Складские документы"); this.notebookMain.SetTabLabel (this.vbox4, this.label9); this.label9.ShowAll (); // Container child notebookMain.Gtk.Notebook+NotebookChild this.stockbalanceview1 = new global::workwear.StockBalanceView (); this.stockbalanceview1.Events = ((global::Gdk.EventMask)(256)); this.stockbalanceview1.Name = "stockbalanceview1"; this.notebookMain.Add (this.stockbalanceview1); global::Gtk.Notebook.NotebookChild w30 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.stockbalanceview1])); w30.Position = 3; // Notebook tab this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Остатки"); this.notebookMain.SetTabLabel (this.stockbalanceview1, this.label11); this.label11.ShowAll (); this.vbox1.Add (this.notebookMain); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebookMain])); w31.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; this.hbox7.BorderWidth = ((uint)(3)); // Container child hbox7.Gtk.Box+BoxChild this.buttonAdd = new global::Gtk.Button (); this.buttonAdd.CanFocus = true; this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.UseUnderline = true; this.buttonAdd.Label = global::Mono.Unix.Catalog.GetString ("Добавить"); global::Gtk.Image w32 = new global::Gtk.Image (); w32.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAdd.Image = w32; this.hbox7.Add (this.buttonAdd); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonAdd])); w33.Position = 0; w33.Expand = false; w33.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonEdit = new global::Gtk.Button (); this.buttonEdit.CanFocus = true; this.buttonEdit.Name = "buttonEdit"; this.buttonEdit.UseUnderline = true; this.buttonEdit.Label = global::Mono.Unix.Catalog.GetString ("Изменить"); global::Gtk.Image w34 = new global::Gtk.Image (); w34.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonEdit.Image = w34; this.hbox7.Add (this.buttonEdit); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonEdit])); w35.Position = 1; w35.Expand = false; w35.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonDelete = new global::Gtk.Button (); this.buttonDelete.CanFocus = true; this.buttonDelete.Name = "buttonDelete"; this.buttonDelete.UseUnderline = true; this.buttonDelete.Label = global::Mono.Unix.Catalog.GetString ("Удалить"); global::Gtk.Image w36 = new global::Gtk.Image (); w36.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-remove", global::Gtk.IconSize.Menu); this.buttonDelete.Image = w36; this.hbox7.Add (this.buttonDelete); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonDelete])); w37.Position = 2; w37.Expand = false; w37.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonRefresh = new global::Gtk.Button (); this.buttonRefresh.TooltipMarkup = "Обновить текущую таблицу."; this.buttonRefresh.CanFocus = true; this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.UseUnderline = true; this.buttonRefresh.Label = global::Mono.Unix.Catalog.GetString ("Обновить"); global::Gtk.Image w38 = new global::Gtk.Image (); w38.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-refresh", global::Gtk.IconSize.Menu); this.buttonRefresh.Image = w38; this.hbox7.Add (this.buttonRefresh); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonRefresh])); w39.PackType = ((global::Gtk.PackType)(1)); w39.Position = 3; w39.Expand = false; w39.Fill = false; this.vbox1.Add (this.hbox7); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox7])); w40.Position = 2; w40.Expand = false; w40.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.MainStatusBar = new global::Gtk.Statusbar (); this.MainStatusBar.Name = "MainStatusBar"; this.MainStatusBar.Spacing = 6; // Container child MainStatusBar.Gtk.Box+BoxChild this.labelUser = new global::Gtk.Label (); this.labelUser.Name = "labelUser"; this.labelUser.LabelProp = global::Mono.Unix.Catalog.GetString ("Пользователь"); this.MainStatusBar.Add (this.labelUser); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.MainStatusBar [this.labelUser])); w41.Position = 0; w41.Expand = false; w41.Fill = false; // Container child MainStatusBar.Gtk.Box+BoxChild this.labelStatus = new global::Gtk.Label (); this.labelStatus.Name = "labelStatus"; this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString ("Ok"); this.MainStatusBar.Add (this.labelStatus); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.MainStatusBar [this.labelStatus])); w42.Position = 2; w42.Expand = false; w42.Fill = false; this.vbox1.Add (this.MainStatusBar); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.MainStatusBar])); w43.Position = 3; w43.Expand = false; w43.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 709; this.DefaultHeight = 458; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.dialogAuthenticationAction.Activated += new global::System.EventHandler (this.OnDialogAuthenticationActionActivated); this.UsersAction.Activated += new global::System.EventHandler (this.OnUsersActionActivated); this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.Action5.Activated += new global::System.EventHandler (this.OnAction5Activated); this.Action6.Activated += new global::System.EventHandler (this.OnAction6Activated); this.Action7.Activated += new global::System.EventHandler (this.OnAction7Activated); this.Action8.Activated += new global::System.EventHandler (this.OnAction8Activated); this.Action9.Activated += new global::System.EventHandler (this.OnAction9Activated); this.aboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.Action10.Activated += new global::System.EventHandler (this.OnAction10Activated); this.Action11.Activated += new global::System.EventHandler (this.OnAction11Activated); this.Action12.Activated += new global::System.EventHandler (this.OnAction12Activated); this.helpAction.Activated += new global::System.EventHandler (this.OnHelpActionActivated); this.ActionHistory.Activated += new global::System.EventHandler (this.OnActionHistoryActivated); this.ActionUpdate.Activated += new global::System.EventHandler (this.OnActionUpdateActivated); this.ActionSN.Activated += new global::System.EventHandler (this.OnActionSNActivated); this.ActionNorms.Activated += new global::System.EventHandler (this.OnActionNormsActivated); this.Action13.Activated += new global::System.EventHandler (this.OnAction13Activated); this.Action21.Activated += new global::System.EventHandler (this.OnAction21Activated); this.ActionYearRequestSheet.Activated += new global::System.EventHandler (this.OnActionYearRequestSheetActivated); this.Action17.Activated += new global::System.EventHandler (this.OnAction17Activated); this.notebookMain.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebookMainSwitchPage); this.entryObjectSearch.Changed += new global::System.EventHandler (this.OnEntryObjectSearchChanged); this.buttonObjectSearchClean.Clicked += new global::System.EventHandler (this.OnButtonObjectSearchCleanClicked); this.treeviewObjects.CursorChanged += new global::System.EventHandler (this.OnTreeviewObjectsCursorChanged); this.treeviewObjects.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewObjectsRowActivated); this.entryCardsSearch.Changed += new global::System.EventHandler (this.OnEntryCardsSearchChanged); this.buttonCardsSearchClear.Clicked += new global::System.EventHandler (this.OnButtonCardsSearchClearClicked); this.checkCardsOnlyActual.Clicked += new global::System.EventHandler (this.OnCheckOnlyActualClicked); this.treeviewEmployees.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewEmployeesRowActivated); this.selectStockDates.DatesChanged += new global::System.EventHandler (this.OnSelectStockDatesDatesChanged); this.notebookStock.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebookStockSwitchPage); this.treeviewIncome.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewIncomeRowActivated); this.treeviewIncome.CursorChanged += new global::System.EventHandler (this.OnTreeviewIncomeCursorChanged); this.treeviewExpense.CursorChanged += new global::System.EventHandler (this.OnTreeviewExpenseCursorChanged); this.treeviewExpense.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewExpenseRowActivated); this.treeviewWriteOff.CursorChanged += new global::System.EventHandler (this.OnTreeviewWriteOffCursorChanged); this.treeviewWriteOff.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewWriteOffRowActivated); this.buttonAdd.Clicked += new global::System.EventHandler (this.OnButtonAddClicked); this.buttonEdit.Clicked += new global::System.EventHandler (this.OnButtonEditClicked); this.buttonDelete.Clicked += new global::System.EventHandler (this.OnButtonDeleteClicked); this.buttonRefresh.Clicked += new global::System.EventHandler (this.OnButtonRefreshClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget QSHistoryLog.HistoryView global::Stetic.BinContainer.Attach(this); this.Name = "QSHistoryLog.HistoryView"; // Container child QSHistoryLog.HistoryView.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(5)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboAction = new global::QSOrmProject.EnumComboBox(); this.comboAction.Name = "comboAction"; this.comboAction.ShowSpecialStateAll = true; this.comboAction.ShowSpecialStateNot = false; this.table1.Add(this.comboAction); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.comboAction])); 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.comboProperty = new global::Gtk.DataBindings.DataSpecComboBox(); this.comboProperty.Name = "comboProperty"; this.comboProperty.ColumnMappings = "DisplayName"; this.comboProperty.InheritedDataSource = false; this.comboProperty.InheritedBoundaryDataSource = false; this.comboProperty.ShowSpecialStateAll = true; this.comboProperty.ShowSpecialStateNot = false; this.table1.Add(this.comboProperty); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.comboProperty])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboUsers = new global::Gtk.ComboBox(); this.comboUsers.Name = "comboUsers"; this.table1.Add(this.comboUsers); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.comboUsers])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.datacomboObject = new global::Gtk.DataBindings.DataSpecComboBox(); this.datacomboObject.Name = "datacomboObject"; this.datacomboObject.ColumnMappings = "DisplayName"; this.datacomboObject.InheritedDataSource = false; this.datacomboObject.InheritedBoundaryDataSource = false; this.datacomboObject.ShowSpecialStateAll = true; this.datacomboObject.ShowSpecialStateNot = false; this.table1.Add(this.datacomboObject); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.datacomboObject])); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.entrySearch = new global::Gtk.Entry(); this.entrySearch.CanFocus = true; this.entrySearch.Name = "entrySearch"; this.entrySearch.IsEditable = true; this.entrySearch.InvisibleChar = '●'; this.hbox4.Add(this.entrySearch); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.entrySearch])); w5.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.buttonSearch = new global::Gtk.Button(); this.buttonSearch.CanFocus = true; this.buttonSearch.Name = "buttonSearch"; this.buttonSearch.UseUnderline = true; global::Gtk.Image w6 = new global::Gtk.Image(); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-find", global::Gtk.IconSize.Menu); this.buttonSearch.Image = w6; this.hbox4.Add(this.buttonSearch); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.buttonSearch])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.table1.Add(this.hbox4); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox4])); w8.TopAttach = ((uint)(4)); w8.BottomAttach = ((uint)(5)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Пользователь:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Действие:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w10.TopAttach = ((uint)(3)); w10.BottomAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Поиск по изменениям:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Объект изменений:"); this.table1.Add(this.label6); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label6])); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Реквизит:"); this.table1.Add(this.label8); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.selectperiod = new global::QSWidgetLib.SelectPeriod(); this.selectperiod.Events = ((global::Gdk.EventMask)(256)); this.selectperiod.Name = "selectperiod"; this.selectperiod.DateBegin = new global::System.DateTime(0); this.selectperiod.DateEnd = new global::System.DateTime(0); this.selectperiod.AutoDateSeparation = true; this.selectperiod.ShowToday = true; this.selectperiod.ShowWeek = true; this.selectperiod.ShowMonth = true; this.selectperiod.Show3Month = true; this.selectperiod.Show6Month = false; this.selectperiod.ShowYear = false; this.selectperiod.ShowAllTime = false; this.selectperiod.ShowCurWeek = false; this.selectperiod.ShowCurMonth = false; this.selectperiod.ShowCurQuarter = false; this.selectperiod.ShowCurYear = false; this.table1.Add(this.selectperiod); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.selectperiod])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(5)); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 203; // Container child vpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.datatreeChangesets = new global::Gtk.DataBindings.DataTreeView(); this.datatreeChangesets.CanFocus = true; this.datatreeChangesets.Name = "datatreeChangesets"; this.datatreeChangesets.CursorPointsEveryType = false; this.datatreeChangesets.InheritedDataSource = false; this.datatreeChangesets.InheritedBoundaryDataSource = false; this.datatreeChangesets.InheritedDataSource = false; this.datatreeChangesets.InheritedBoundaryDataSource = false; this.datatreeChangesets.ColumnMappings = "{QSHistoryLog.HistoryChangeSet} ChangeTimeText[Время]; UserName[Пользователь]; OperationText[Действие]; ObjectTitle[Тип объекта]; ItemTitle[Объект];"; this.GtkScrolledWindow.Add(this.datatreeChangesets); this.vpaned1.Add(this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w17 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.GtkScrolledWindow])); w17.Resize = false; w17.Shrink = false; // Container child vpaned1.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Детали изменений:"); this.vbox3.Add(this.label7); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.label7])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.datatreeChanges = new global::Gtk.DataBindings.DataTreeView(); this.datatreeChanges.CanFocus = true; this.datatreeChanges.Name = "datatreeChanges"; this.datatreeChanges.CursorPointsEveryType = false; this.datatreeChanges.InheritedDataSource = false; this.datatreeChanges.Mappings = ""; this.datatreeChanges.InheritedBoundaryDataSource = false; this.datatreeChanges.BoundaryMappings = ""; this.datatreeChanges.InheritedDataSource = false; this.datatreeChanges.Mappings = ""; this.datatreeChanges.InheritedBoundaryDataSource = false; this.datatreeChanges.BoundaryMappings = ""; this.datatreeChanges.ColumnMappings = "{QSHistoryLog.FieldChange} FieldName[Поле]; TypeText[Операция]; NewPangoText[Новое значение]; OldPangoText[Старое значение]"; this.GtkScrolledWindow1.Add(this.datatreeChanges); this.vbox3.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow1])); w20.Position = 1; this.vpaned1.Add(this.vbox3); global::Gtk.Paned.PanedChild w21 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.vbox3])); w21.Resize = false; w21.Shrink = false; this.vbox2.Add(this.vpaned1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.vpaned1])); w22.Position = 1; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.selectperiod.DatesChanged += new global::System.EventHandler(this.OnSelectperiodDatesChanged); this.entrySearch.Activated += new global::System.EventHandler(this.OnEntrySearchActivated); this.buttonSearch.Clicked += new global::System.EventHandler(this.OnButtonSearchClicked); this.datacomboObject.ItemSelected += new global::System.EventHandler<QSOrmProject.EnumItemClickedEventArgs>(this.OnDatacomboObjectItemSelected); this.comboUsers.Changed += new global::System.EventHandler(this.OnComboUsersChanged); this.comboProperty.ItemSelected += new global::System.EventHandler<QSOrmProject.EnumItemClickedEventArgs>(this.OnComboPropertyItemSelected); this.comboAction.EnumItemSelected += new global::System.EventHandler<QSOrmProject.EnumItemClickedEventArgs>(this.OnComboActionEnumItemSelected); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget CarGlass.GlassOrders this.Name = "CarGlass.GlassOrders"; this.Title = global::Mono.Unix.Catalog.GetString("Отчет по заказам"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child CarGlass.GlassOrders.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(6)); // Container child hbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checklistStock = new global::QSWidgetLib.CheckList(); this.checklistStock.Name = "checklistStock"; this.table1.Add(this.checklistStock); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.checklistStock])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboStatus = global::Gtk.ComboBox.NewText(); this.comboStatus.Name = "comboStatus"; this.table1.Add(this.comboStatus); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.comboStatus])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Статус заказа:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Склады:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.selectperiod1 = new global::QSWidgetLib.SelectPeriod(); this.selectperiod1.Events = ((global::Gdk.EventMask)(256)); this.selectperiod1.Name = "selectperiod1"; this.selectperiod1.DateBegin = new global::System.DateTime(0); this.selectperiod1.DateEnd = new global::System.DateTime(0); this.selectperiod1.AutoDateSeparation = true; this.selectperiod1.ShowToday = true; this.selectperiod1.ShowWeek = false; this.selectperiod1.ShowMonth = false; this.selectperiod1.Show3Month = false; this.selectperiod1.Show6Month = false; this.selectperiod1.ShowYear = false; this.selectperiod1.ShowAllTime = false; this.selectperiod1.ShowCurWeek = true; this.selectperiod1.ShowCurMonth = true; this.selectperiod1.ShowCurQuarter = false; this.selectperiod1.ShowCurYear = true; this.selectperiod1.WithTime = false; this.hbox1.Add(this.selectperiod1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.selectperiod1])); w7.Position = 1; w7.Expand = false; w7.Fill = false; w1.Add(this.hbox1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(w1[this.hbox1])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Internal child CarGlass.GlassOrders.ActionArea global::Gtk.HButtonBox w9 = this.ActionArea; w9.Name = "dialog1_ActionArea"; w9.Spacing = 10; w9.BorderWidth = ((uint)(5)); w9.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonCancel])); w10.Expand = false; w10.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.Sensitive = false; this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonOk])); w11.Position = 1; w11.Expand = false; w11.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 486; this.DefaultHeight = 248; this.Show(); this.comboStatus.Changed += new global::System.EventHandler(this.OnComboStatusChanged); this.checklistStock.CheckListClicked += new global::System.EventHandler <QSWidgetLib.CheckListClickedEventArgs>(this.OnChecklistStockCheckListClicked); this.selectperiod1.DatesChanged += new global::System.EventHandler(this.OnSelectperiod1DatesChanged); this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget CarGlass.GlassOrders this.Name = "CarGlass.GlassOrders"; this.Title = global::Mono.Unix.Catalog.GetString("Отчет по заказам"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child CarGlass.GlassOrders.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(6)); // Container child hbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.checklistStock = new global::QSWidgetLib.CheckList(); this.checklistStock.Name = "checklistStock"; this.table1.Add(this.checklistStock); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.checklistStock])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboStatus = global::Gtk.ComboBox.NewText(); this.comboStatus.Name = "comboStatus"; this.table1.Add(this.comboStatus); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.comboStatus])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Статус заказа:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Склады:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.selectperiod1 = new global::QSWidgetLib.SelectPeriod(); this.selectperiod1.Events = ((global::Gdk.EventMask)(256)); this.selectperiod1.Name = "selectperiod1"; this.selectperiod1.DateBegin = new global::System.DateTime(0); this.selectperiod1.DateEnd = new global::System.DateTime(0); this.selectperiod1.AutoDateSeparation = true; this.selectperiod1.ShowToday = true; this.selectperiod1.ShowWeek = false; this.selectperiod1.ShowMonth = false; this.selectperiod1.Show3Month = false; this.selectperiod1.Show6Month = false; this.selectperiod1.ShowYear = false; this.selectperiod1.ShowAllTime = false; this.selectperiod1.ShowCurWeek = true; this.selectperiod1.ShowCurMonth = true; this.selectperiod1.ShowCurQuarter = false; this.selectperiod1.ShowCurYear = true; this.hbox1.Add(this.selectperiod1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.selectperiod1])); w7.Position = 1; w7.Expand = false; w7.Fill = false; w1.Add(this.hbox1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(w1[this.hbox1])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Internal child CarGlass.GlassOrders.ActionArea global::Gtk.HButtonBox w9 = this.ActionArea; w9.Name = "dialog1_ActionArea"; w9.Spacing = 10; w9.BorderWidth = ((uint)(5)); w9.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonCancel])); w10.Expand = false; w10.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.Sensitive = false; this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonOk])); w11.Position = 1; w11.Expand = false; w11.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 486; this.DefaultHeight = 248; this.Show(); this.comboStatus.Changed += new global::System.EventHandler(this.OnComboStatusChanged); this.checklistStock.CheckListClicked += new global::System.EventHandler<QSWidgetLib.CheckListClickedEventArgs>(this.OnChecklistStockCheckListClicked); this.selectperiod1.DatesChanged += new global::System.EventHandler(this.OnSelectperiod1DatesChanged); this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget earchive.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.Action = new global::Gtk.Action ("Action", global::Mono.Unix.Catalog.GetString ("Файл"), null, null); this.Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("Файл"); w1.Add (this.Action, null); this.dialogAuthenticationAction = new global::Gtk.Action ("dialogAuthenticationAction", global::Mono.Unix.Catalog.GetString ("Изменить пароль"), null, "gtk-dialog-authentication"); this.dialogAuthenticationAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Изменить пароль"); w1.Add (this.dialogAuthenticationAction, null); this.UsersAction = new global::Gtk.Action ("UsersAction", global::Mono.Unix.Catalog.GetString ("Пользователи"), null, "gtk-properties"); this.UsersAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Пользователи"); w1.Add (this.UsersAction, null); this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("В_ыход"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("В_ыход"); w1.Add (this.quitAction, null); this.Action1 = new global::Gtk.Action ("Action1", global::Mono.Unix.Catalog.GetString ("Настройка"), null, null); this.Action1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Настройка"); w1.Add (this.Action1, null); this.ActionDocTypes = new global::Gtk.Action ("ActionDocTypes", global::Mono.Unix.Catalog.GetString ("Типы документов"), null, null); this.ActionDocTypes.ShortLabel = global::Mono.Unix.Catalog.GetString ("Типы документов"); w1.Add (this.ActionDocTypes, null); this.Action3 = new global::Gtk.Action ("Action3", global::Mono.Unix.Catalog.GetString ("Статистика"), null, null); this.Action3.ShortLabel = global::Mono.Unix.Catalog.GetString ("Статистика"); w1.Add (this.Action3, null); this.Action4 = new global::Gtk.Action ("Action4", global::Mono.Unix.Catalog.GetString ("Справка"), null, null); this.Action4.ShortLabel = global::Mono.Unix.Catalog.GetString ("Справка"); w1.Add (this.Action4, null); this.aboutAction = new global::Gtk.Action ("aboutAction", global::Mono.Unix.Catalog.GetString ("_О программе"), null, "gtk-about"); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_О программе"); w1.Add (this.aboutAction, null); this.Action5 = new global::Gtk.Action ("Action5", global::Mono.Unix.Catalog.GetString ("История версий"), null, null); this.Action5.ShortLabel = global::Mono.Unix.Catalog.GetString ("История версий"); w1.Add (this.Action5, null); this.ActionUpdate = new global::Gtk.Action ("ActionUpdate", global::Mono.Unix.Catalog.GetString ("Проверить обновления.."), null, "gtk-go-down"); this.ActionUpdate.ShortLabel = global::Mono.Unix.Catalog.GetString ("Проверить обновления.."); w1.Add (this.ActionUpdate, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "earchive.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("QS: Электронный архив"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("earchive.icons.logo.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child earchive.MainWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='Action' action='Action'><menuitem name='dialogAuthenticationAction' action='dialogAuthenticationAction'/><menuitem name='UsersAction' action='UsersAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='Action1' action='Action1'><menuitem name='ActionDocTypes' action='ActionDocTypes'/><menuitem name='Action3' action='Action3'/></menu><menu name='Action4' action='Action4'><menuitem name='Action5' action='Action5'/><menuitem name='ActionUpdate' action='ActionUpdate'/><separator/><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox2.Add (this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; this.hbox2.BorderWidth = ((uint)(6)); // Container child hbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboDocType = new global::Gtk.ComboBox (); this.comboDocType.Name = "comboDocType"; this.table1.Add (this.comboDocType); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboDocType])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.entryDocNumber = new global::Gtk.Entry (); this.entryDocNumber.WidthRequest = 80; this.entryDocNumber.CanFocus = true; this.entryDocNumber.Name = "entryDocNumber"; this.entryDocNumber.IsEditable = true; this.entryDocNumber.InvisibleChar = '●'; this.hbox5.Add (this.entryDocNumber); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.entryDocNumber])); w4.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.buttonSearch = new global::Gtk.Button (); this.buttonSearch.CanFocus = true; this.buttonSearch.Name = "buttonSearch"; this.buttonSearch.UseUnderline = true; global::Gtk.Image w5 = new global::Gtk.Image (); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-find", global::Gtk.IconSize.Menu); this.buttonSearch.Image = w5; this.hbox5.Add (this.buttonSearch); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonSearch])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.table1.Add (this.hbox5); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox5])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child 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 w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.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 w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox2.Add (this.table1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.table1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.selectperiodDocs = new global::QSWidgetLib.SelectPeriod (); this.selectperiodDocs.Events = ((global::Gdk.EventMask)(256)); this.selectperiodDocs.Name = "selectperiodDocs"; this.selectperiodDocs.DateBegin = new global::System.DateTime (0); this.selectperiodDocs.DateEnd = new global::System.DateTime (0); this.selectperiodDocs.AutoDateSeparation = true; this.selectperiodDocs.ShowToday = true; this.selectperiodDocs.ShowWeek = true; this.selectperiodDocs.ShowMonth = true; this.selectperiodDocs.Show3Month = true; this.selectperiodDocs.Show6Month = true; this.selectperiodDocs.ShowYear = false; this.selectperiodDocs.ShowAllTime = true; this.selectperiodDocs.ShowCurWeek = false; this.selectperiodDocs.ShowCurMonth = false; this.selectperiodDocs.ShowCurQuarter = false; this.selectperiodDocs.ShowCurYear = false; this.hbox2.Add (this.selectperiodDocs); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.selectperiodDocs])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; this.hbox2.Add (this.vbox3); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox3])); w12.Position = 2; // Container child hbox2.Gtk.Box+BoxChild this.buttonInput = new global::Gtk.Button (); this.buttonInput.CanFocus = true; this.buttonInput.Name = "buttonInput"; this.buttonInput.UseUnderline = true; this.buttonInput.Label = global::Mono.Unix.Catalog.GetString ("Ввод документов"); global::Gtk.Image w13 = new global::Gtk.Image (); w13.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-new", global::Gtk.IconSize.LargeToolbar); this.buttonInput.Image = w13; this.hbox2.Add (this.buttonInput); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonInput])); w14.PackType = ((global::Gtk.PackType)(1)); w14.Position = 3; w14.Expand = false; w14.Fill = false; this.vbox2.Add (this.hbox2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeviewDocs = new global::Gtk.TreeView (); this.treeviewDocs.CanFocus = true; this.treeviewDocs.Name = "treeviewDocs"; this.GtkScrolledWindow.Add (this.treeviewDocs); this.vbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); w17.Position = 2; // Container child vbox2.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; this.hbox7.BorderWidth = ((uint)(3)); // Container child hbox7.Gtk.Box+BoxChild this.buttonOpen = new global::Gtk.Button (); this.buttonOpen.Sensitive = false; this.buttonOpen.CanFocus = true; this.buttonOpen.Name = "buttonOpen"; this.buttonOpen.UseUnderline = true; this.buttonOpen.Label = global::Mono.Unix.Catalog.GetString ("Открыть"); global::Gtk.Image w18 = new global::Gtk.Image (); w18.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.SmallToolbar); this.buttonOpen.Image = w18; this.hbox7.Add (this.buttonOpen); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonOpen])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonDelete = new global::Gtk.Button (); this.buttonDelete.Sensitive = false; this.buttonDelete.CanFocus = true; this.buttonDelete.Name = "buttonDelete"; this.buttonDelete.UseUnderline = true; this.buttonDelete.Label = global::Mono.Unix.Catalog.GetString ("Удалить"); global::Gtk.Image w20 = new global::Gtk.Image (); w20.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete", global::Gtk.IconSize.SmallToolbar); this.buttonDelete.Image = w20; this.hbox7.Add (this.buttonDelete); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonDelete])); w21.Position = 1; w21.Expand = false; w21.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonRefresh = new global::Gtk.Button (); this.buttonRefresh.Sensitive = false; this.buttonRefresh.CanFocus = true; this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.UseUnderline = true; this.buttonRefresh.Label = global::Mono.Unix.Catalog.GetString ("Обновить"); global::Gtk.Image w22 = new global::Gtk.Image (); w22.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-refresh", global::Gtk.IconSize.SmallToolbar); this.buttonRefresh.Image = w22; this.hbox7.Add (this.buttonRefresh); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonRefresh])); w23.PackType = ((global::Gtk.PackType)(1)); w23.Position = 2; w23.Expand = false; w23.Fill = false; this.vbox2.Add (this.hbox7); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox7])); w24.Position = 3; w24.Expand = false; w24.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar (); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; // Container child statusbar1.Gtk.Box+BoxChild this.labelUser = new global::Gtk.Label (); this.labelUser.Name = "labelUser"; this.labelUser.LabelProp = global::Mono.Unix.Catalog.GetString ("Пользователь"); this.statusbar1.Add (this.labelUser); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.labelUser])); w25.Position = 0; w25.Expand = false; w25.Fill = false; w25.Padding = ((uint)(4)); // Container child statusbar1.Gtk.Box+BoxChild this.labelStatus = new global::Gtk.Label (); this.labelStatus.Name = "labelStatus"; this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString ("OK"); this.statusbar1.Add (this.labelStatus); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.labelStatus])); w26.Position = 3; w26.Expand = false; w26.Fill = false; this.vbox2.Add (this.statusbar1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.statusbar1])); w27.Position = 4; w27.Expand = false; w27.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 771; this.DefaultHeight = 457; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.dialogAuthenticationAction.Activated += new global::System.EventHandler (this.OnDialogAuthenticationActionActivated); this.UsersAction.Activated += new global::System.EventHandler (this.OnUsersActionActivated); this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.ActionDocTypes.Activated += new global::System.EventHandler (this.OnAction2Activated); this.Action3.Activated += new global::System.EventHandler (this.OnAction3Activated); this.aboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.Action5.Activated += new global::System.EventHandler (this.OnAction5Activated); this.ActionUpdate.Activated += new global::System.EventHandler (this.OnActionUpdateActivated); this.entryDocNumber.Activated += new global::System.EventHandler (this.OnEntryDocNumberActivated); this.buttonSearch.Clicked += new global::System.EventHandler (this.OnButtonSearchClicked); this.comboDocType.Changed += new global::System.EventHandler (this.OnComboDocTypeChanged); this.selectperiodDocs.DatesChanged += new global::System.EventHandler (this.OnSelectperiodDocsDatesChanged); this.buttonInput.Clicked += new global::System.EventHandler (this.OnButtonInputClicked); this.treeviewDocs.CursorChanged += new global::System.EventHandler (this.OnTreeviewDocsCursorChanged); this.treeviewDocs.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewDocsRowActivated); this.buttonOpen.Clicked += new global::System.EventHandler (this.OnButtonOpenClicked); this.buttonDelete.Clicked += new global::System.EventHandler (this.OnButtonDeleteClicked); this.buttonRefresh.Clicked += new global::System.EventHandler (this.OnButtonRefreshClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget earchive.MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.Action = new global::Gtk.Action("Action", global::Mono.Unix.Catalog.GetString("Файл"), null, null); this.Action.ShortLabel = global::Mono.Unix.Catalog.GetString("Файл"); w1.Add(this.Action, null); this.dialogAuthenticationAction = new global::Gtk.Action("dialogAuthenticationAction", global::Mono.Unix.Catalog.GetString("Изменить пароль"), null, "gtk-dialog-authentication"); this.dialogAuthenticationAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Изменить пароль"); w1.Add(this.dialogAuthenticationAction, null); this.UsersAction = new global::Gtk.Action("UsersAction", global::Mono.Unix.Catalog.GetString("Пользователи"), null, "gtk-properties"); this.UsersAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Пользователи"); w1.Add(this.UsersAction, null); this.quitAction = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("В_ыход"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("В_ыход"); w1.Add(this.quitAction, null); this.Action1 = new global::Gtk.Action("Action1", global::Mono.Unix.Catalog.GetString("Настройка"), null, null); this.Action1.ShortLabel = global::Mono.Unix.Catalog.GetString("Настройка"); w1.Add(this.Action1, null); this.ActionDocTypes = new global::Gtk.Action("ActionDocTypes", global::Mono.Unix.Catalog.GetString("Типы документов"), null, null); this.ActionDocTypes.ShortLabel = global::Mono.Unix.Catalog.GetString("Типы документов"); w1.Add(this.ActionDocTypes, null); this.Action3 = new global::Gtk.Action("Action3", global::Mono.Unix.Catalog.GetString("Статистика"), null, null); this.Action3.ShortLabel = global::Mono.Unix.Catalog.GetString("Статистика"); w1.Add(this.Action3, null); this.Action4 = new global::Gtk.Action("Action4", global::Mono.Unix.Catalog.GetString("Справка"), null, null); this.Action4.ShortLabel = global::Mono.Unix.Catalog.GetString("Справка"); w1.Add(this.Action4, null); this.aboutAction = new global::Gtk.Action("aboutAction", global::Mono.Unix.Catalog.GetString("_О программе"), null, "gtk-about"); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_О программе"); w1.Add(this.aboutAction, null); this.Action5 = new global::Gtk.Action("Action5", global::Mono.Unix.Catalog.GetString("История версий"), null, null); this.Action5.ShortLabel = global::Mono.Unix.Catalog.GetString("История версий"); w1.Add(this.Action5, null); this.ActionUpdate = new global::Gtk.Action("ActionUpdate", global::Mono.Unix.Catalog.GetString("Проверить обновления.."), null, "gtk-go-down"); this.ActionUpdate.ShortLabel = global::Mono.Unix.Catalog.GetString("Проверить обновления.."); w1.Add(this.ActionUpdate, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "earchive.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("QS: Электронный архив"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("earchive.icons.logo.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child earchive.MainWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='Action' action='Action'><menuitem name='dialogAuthenticationAction' action='dialogAuthenticationAction'/><menuitem name='UsersAction' action='UsersAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='Action1' action='Action1'><menuitem name='ActionDocTypes' action='ActionDocTypes'/><menuitem name='Action3' action='Action3'/></menu><menu name='Action4' action='Action4'><menuitem name='Action5' action='Action5'/><menuitem name='ActionUpdate' action='ActionUpdate'/><separator/><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox2.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; this.hbox2.BorderWidth = ((uint)(6)); // Container child hbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboDocType = new global::Gtk.ComboBox(); this.comboDocType.Name = "comboDocType"; this.table1.Add(this.comboDocType); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.comboDocType])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.entryDocNumber = new global::Gtk.Entry(); this.entryDocNumber.WidthRequest = 80; this.entryDocNumber.CanFocus = true; this.entryDocNumber.Name = "entryDocNumber"; this.entryDocNumber.IsEditable = true; this.entryDocNumber.InvisibleChar = '●'; this.hbox5.Add(this.entryDocNumber); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.entryDocNumber])); w4.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.buttonSearch = new global::Gtk.Button(); this.buttonSearch.CanFocus = true; this.buttonSearch.Name = "buttonSearch"; this.buttonSearch.UseUnderline = true; global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-find", global::Gtk.IconSize.Menu); this.buttonSearch.Image = w5; this.hbox5.Add(this.buttonSearch); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonSearch])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.table1.Add(this.hbox5); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox5])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child 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 w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.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 w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox2.Add(this.table1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.table1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.selectperiodDocs = new global::QSWidgetLib.SelectPeriod(); this.selectperiodDocs.Events = ((global::Gdk.EventMask)(256)); this.selectperiodDocs.Name = "selectperiodDocs"; this.selectperiodDocs.DateBegin = new global::System.DateTime(0); this.selectperiodDocs.DateEnd = new global::System.DateTime(0); this.selectperiodDocs.AutoDateSeparation = true; this.selectperiodDocs.ShowToday = true; this.selectperiodDocs.ShowWeek = true; this.selectperiodDocs.ShowMonth = true; this.selectperiodDocs.Show3Month = true; this.selectperiodDocs.Show6Month = true; this.selectperiodDocs.ShowYear = false; this.selectperiodDocs.ShowAllTime = true; this.selectperiodDocs.ShowCurWeek = false; this.selectperiodDocs.ShowCurMonth = false; this.selectperiodDocs.ShowCurQuarter = false; this.selectperiodDocs.ShowCurYear = false; this.selectperiodDocs.WithTime = false; this.hbox2.Add(this.selectperiodDocs); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.selectperiodDocs])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; this.hbox2.Add(this.vbox3); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox3])); w12.Position = 2; // Container child hbox2.Gtk.Box+BoxChild this.buttonInput = new global::Gtk.Button(); this.buttonInput.CanFocus = true; this.buttonInput.Name = "buttonInput"; this.buttonInput.UseUnderline = true; this.buttonInput.Label = global::Mono.Unix.Catalog.GetString("Ввод документов"); global::Gtk.Image w13 = new global::Gtk.Image(); w13.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-new", global::Gtk.IconSize.LargeToolbar); this.buttonInput.Image = w13; this.hbox2.Add(this.buttonInput); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonInput])); w14.PackType = ((global::Gtk.PackType)(1)); w14.Position = 3; w14.Expand = false; w14.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeviewDocs = new global::Gtk.TreeView(); this.treeviewDocs.CanFocus = true; this.treeviewDocs.Name = "treeviewDocs"; this.GtkScrolledWindow.Add(this.treeviewDocs); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow])); w17.Position = 2; // Container child vbox2.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; this.hbox7.BorderWidth = ((uint)(3)); // Container child hbox7.Gtk.Box+BoxChild this.buttonOpen = new global::Gtk.Button(); this.buttonOpen.Sensitive = false; this.buttonOpen.CanFocus = true; this.buttonOpen.Name = "buttonOpen"; this.buttonOpen.UseUnderline = true; this.buttonOpen.Label = global::Mono.Unix.Catalog.GetString("Открыть"); global::Gtk.Image w18 = new global::Gtk.Image(); w18.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.SmallToolbar); this.buttonOpen.Image = w18; this.hbox7.Add(this.buttonOpen); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonOpen])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonDelete = new global::Gtk.Button(); this.buttonDelete.Sensitive = false; this.buttonDelete.CanFocus = true; this.buttonDelete.Name = "buttonDelete"; this.buttonDelete.UseUnderline = true; this.buttonDelete.Label = global::Mono.Unix.Catalog.GetString("Удалить"); global::Gtk.Image w20 = new global::Gtk.Image(); w20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.SmallToolbar); this.buttonDelete.Image = w20; this.hbox7.Add(this.buttonDelete); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonDelete])); w21.Position = 1; w21.Expand = false; w21.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonRefresh = new global::Gtk.Button(); this.buttonRefresh.Sensitive = false; this.buttonRefresh.CanFocus = true; this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.UseUnderline = true; this.buttonRefresh.Label = global::Mono.Unix.Catalog.GetString("Обновить"); global::Gtk.Image w22 = new global::Gtk.Image(); w22.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.SmallToolbar); this.buttonRefresh.Image = w22; this.hbox7.Add(this.buttonRefresh); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.buttonRefresh])); w23.PackType = ((global::Gtk.PackType)(1)); w23.Position = 2; w23.Expand = false; w23.Fill = false; this.vbox2.Add(this.hbox7); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox7])); w24.Position = 3; w24.Expand = false; w24.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; // Container child statusbar1.Gtk.Box+BoxChild this.labelUser = new global::Gtk.Label(); this.labelUser.Name = "labelUser"; this.labelUser.LabelProp = global::Mono.Unix.Catalog.GetString("Пользователь"); this.statusbar1.Add(this.labelUser); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.statusbar1[this.labelUser])); w25.Position = 0; w25.Expand = false; w25.Fill = false; w25.Padding = ((uint)(4)); // Container child statusbar1.Gtk.Box+BoxChild this.labelStatus = new global::Gtk.Label(); this.labelStatus.Name = "labelStatus"; this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("OK"); this.statusbar1.Add(this.labelStatus); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.statusbar1[this.labelStatus])); w26.Position = 3; w26.Expand = false; w26.Fill = false; this.vbox2.Add(this.statusbar1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.statusbar1])); w27.Position = 4; w27.Expand = false; w27.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 771; this.DefaultHeight = 457; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.dialogAuthenticationAction.Activated += new global::System.EventHandler(this.OnDialogAuthenticationActionActivated); this.UsersAction.Activated += new global::System.EventHandler(this.OnUsersActionActivated); this.quitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.ActionDocTypes.Activated += new global::System.EventHandler(this.OnAction2Activated); this.Action3.Activated += new global::System.EventHandler(this.OnAction3Activated); this.aboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); this.Action5.Activated += new global::System.EventHandler(this.OnAction5Activated); this.ActionUpdate.Activated += new global::System.EventHandler(this.OnActionUpdateActivated); this.entryDocNumber.Activated += new global::System.EventHandler(this.OnEntryDocNumberActivated); this.buttonSearch.Clicked += new global::System.EventHandler(this.OnButtonSearchClicked); this.comboDocType.Changed += new global::System.EventHandler(this.OnComboDocTypeChanged); this.selectperiodDocs.DatesChanged += new global::System.EventHandler(this.OnSelectperiodDocsDatesChanged); this.buttonInput.Clicked += new global::System.EventHandler(this.OnButtonInputClicked); this.treeviewDocs.CursorChanged += new global::System.EventHandler(this.OnTreeviewDocsCursorChanged); this.treeviewDocs.RowActivated += new global::Gtk.RowActivatedHandler(this.OnTreeviewDocsRowActivated); this.buttonOpen.Clicked += new global::System.EventHandler(this.OnButtonOpenClicked); this.buttonDelete.Clicked += new global::System.EventHandler(this.OnButtonDeleteClicked); this.buttonRefresh.Clicked += new global::System.EventHandler(this.OnButtonRefreshClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget earchive.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.Action = new global::Gtk.Action ("Action", global::Mono.Unix.Catalog.GetString ("Файл"), null, null); this.Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("Файл"); w1.Add (this.Action, null); this.dialogAuthenticationAction = new global::Gtk.Action ("dialogAuthenticationAction", global::Mono.Unix.Catalog.GetString ("Изменить пароль"), null, "gtk-dialog-authentication"); this.dialogAuthenticationAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Изменить пароль"); w1.Add (this.dialogAuthenticationAction, null); this.UsersAction = new global::Gtk.Action ("UsersAction", global::Mono.Unix.Catalog.GetString ("Пользователи"), null, "gtk-properties"); this.UsersAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Пользователи"); w1.Add (this.UsersAction, null); this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("В_ыход"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("В_ыход"); w1.Add (this.quitAction, null); this.Action1 = new global::Gtk.Action ("Action1", global::Mono.Unix.Catalog.GetString ("Настройка"), null, null); this.Action1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Настройка"); w1.Add (this.Action1, null); this.Action2 = new global::Gtk.Action ("Action2", global::Mono.Unix.Catalog.GetString ("Типы документов"), null, null); this.Action2.ShortLabel = global::Mono.Unix.Catalog.GetString ("Типы документов"); w1.Add (this.Action2, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "earchive.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Электронный архив документов"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("earchive.icons.logo.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child earchive.MainWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='Action' action='Action'><menuitem name='dialogAuthenticationAction' action='dialogAuthenticationAction'/><menuitem name='UsersAction' action='UsersAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='Action1' action='Action1'><menuitem name='Action2' action='Action2'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox2.Add (this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; this.hbox2.BorderWidth = ((uint)(6)); // Container child hbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboDocType = new global::Gtk.ComboBox (); this.comboDocType.Name = "comboDocType"; this.table1.Add (this.comboDocType); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboDocType])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryDocNumber = new global::Gtk.Entry (); this.entryDocNumber.WidthRequest = 80; this.entryDocNumber.CanFocus = true; this.entryDocNumber.Name = "entryDocNumber"; this.entryDocNumber.IsEditable = true; this.entryDocNumber.InvisibleChar = '●'; this.table1.Add (this.entryDocNumber); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryDocNumber])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.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 w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Номер:"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox2.Add (this.table1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.table1])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.selectperiodDocs = new global::QSWidgetLib.SelectPeriod (); this.selectperiodDocs.Events = ((global::Gdk.EventMask)(256)); this.selectperiodDocs.Name = "selectperiodDocs"; this.selectperiodDocs.DateBegin = new global::System.DateTime (0); this.selectperiodDocs.DateEnd = new global::System.DateTime (0); this.selectperiodDocs.AutoDateSeparation = true; this.selectperiodDocs.ShowToday = true; this.selectperiodDocs.ShowWeek = true; this.selectperiodDocs.ShowMonth = true; this.selectperiodDocs.Show3Month = true; this.selectperiodDocs.Show6Month = true; this.selectperiodDocs.ShowYear = false; this.selectperiodDocs.ShowAllTime = true; this.selectperiodDocs.ShowCurWeek = false; this.selectperiodDocs.ShowCurMonth = false; this.selectperiodDocs.ShowCurQuarter = false; this.selectperiodDocs.ShowCurYear = false; this.hbox2.Add (this.selectperiodDocs); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.selectperiodDocs])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonInput = new global::Gtk.Button (); this.buttonInput.CanFocus = true; this.buttonInput.Name = "buttonInput"; this.buttonInput.UseUnderline = true; // Container child buttonInput.Gtk.Container+ContainerChild global::Gtk.Alignment w9 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w10 = new global::Gtk.HBox (); w10.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w11 = new global::Gtk.Image (); w11.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-new", global::Gtk.IconSize.LargeToolbar); w10.Add (w11); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w13 = new global::Gtk.Label (); w13.LabelProp = global::Mono.Unix.Catalog.GetString ("Ввод документов"); w13.UseUnderline = true; w10.Add (w13); w9.Add (w10); this.buttonInput.Add (w9); this.hbox2.Add (this.buttonInput); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonInput])); w17.PackType = ((global::Gtk.PackType)(1)); w17.Position = 2; w17.Expand = false; w17.Fill = false; this.vbox2.Add (this.hbox2); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w18.Position = 1; w18.Expand = false; w18.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeviewDocs = new global::Gtk.TreeView (); this.treeviewDocs.CanFocus = true; this.treeviewDocs.Name = "treeviewDocs"; this.GtkScrolledWindow.Add (this.treeviewDocs); this.vbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); w20.Position = 2; // Container child vbox2.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; this.hbox7.BorderWidth = ((uint)(3)); // Container child hbox7.Gtk.Box+BoxChild this.buttonOpen = new global::Gtk.Button (); this.buttonOpen.Sensitive = false; this.buttonOpen.CanFocus = true; this.buttonOpen.Name = "buttonOpen"; this.buttonOpen.UseUnderline = true; // Container child buttonOpen.Gtk.Container+ContainerChild global::Gtk.Alignment w21 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w22 = new global::Gtk.HBox (); w22.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w23 = new global::Gtk.Image (); w23.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.SmallToolbar); w22.Add (w23); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w25 = new global::Gtk.Label (); w25.LabelProp = global::Mono.Unix.Catalog.GetString ("Открыть"); w25.UseUnderline = true; w22.Add (w25); w21.Add (w22); this.buttonOpen.Add (w21); this.hbox7.Add (this.buttonOpen); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonOpen])); w29.Position = 0; w29.Expand = false; w29.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonDelete = new global::Gtk.Button (); this.buttonDelete.Sensitive = false; this.buttonDelete.CanFocus = true; this.buttonDelete.Name = "buttonDelete"; this.buttonDelete.UseUnderline = true; // Container child buttonDelete.Gtk.Container+ContainerChild global::Gtk.Alignment w30 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w31 = new global::Gtk.HBox (); w31.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w32 = new global::Gtk.Image (); w32.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete", global::Gtk.IconSize.SmallToolbar); w31.Add (w32); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w34 = new global::Gtk.Label (); w34.LabelProp = global::Mono.Unix.Catalog.GetString ("Удалить"); w34.UseUnderline = true; w31.Add (w34); w30.Add (w31); this.buttonDelete.Add (w30); this.hbox7.Add (this.buttonDelete); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonDelete])); w38.Position = 1; w38.Expand = false; w38.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.buttonRefresh = new global::Gtk.Button (); this.buttonRefresh.CanFocus = true; this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.UseUnderline = true; // Container child buttonRefresh.Gtk.Container+ContainerChild global::Gtk.Alignment w39 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w40 = new global::Gtk.HBox (); w40.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w41 = new global::Gtk.Image (); w41.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-refresh", global::Gtk.IconSize.SmallToolbar); w40.Add (w41); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w43 = new global::Gtk.Label (); w43.LabelProp = global::Mono.Unix.Catalog.GetString ("Обновить"); w43.UseUnderline = true; w40.Add (w43); w39.Add (w40); this.buttonRefresh.Add (w39); this.hbox7.Add (this.buttonRefresh); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonRefresh])); w47.PackType = ((global::Gtk.PackType)(1)); w47.Position = 2; w47.Expand = false; w47.Fill = false; this.vbox2.Add (this.hbox7); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox7])); w48.Position = 3; w48.Expand = false; w48.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar (); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; // Container child statusbar1.Gtk.Box+BoxChild this.labelUser = new global::Gtk.Label (); this.labelUser.Name = "labelUser"; this.labelUser.LabelProp = global::Mono.Unix.Catalog.GetString ("Пользователь"); this.statusbar1.Add (this.labelUser); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.labelUser])); w49.Position = 0; w49.Expand = false; w49.Fill = false; w49.Padding = ((uint)(4)); // Container child statusbar1.Gtk.Box+BoxChild this.labelStatus = new global::Gtk.Label (); this.labelStatus.Name = "labelStatus"; this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString ("OK"); this.statusbar1.Add (this.labelStatus); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.labelStatus])); w50.Position = 3; w50.Expand = false; w50.Fill = false; this.vbox2.Add (this.statusbar1); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.statusbar1])); w51.Position = 4; w51.Expand = false; w51.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 771; this.DefaultHeight = 457; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.dialogAuthenticationAction.Activated += new global::System.EventHandler (this.OnDialogAuthenticationActionActivated); this.UsersAction.Activated += new global::System.EventHandler (this.OnUsersActionActivated); this.Action2.Activated += new global::System.EventHandler (this.OnAction2Activated); this.entryDocNumber.Changed += new global::System.EventHandler (this.OnEntryDocNumberChanged); this.comboDocType.Changed += new global::System.EventHandler (this.OnComboDocTypeChanged); this.selectperiodDocs.DatesChanged += new global::System.EventHandler (this.OnSelectperiodDocsDatesChanged); this.buttonInput.Clicked += new global::System.EventHandler (this.OnButtonInputClicked); this.treeviewDocs.CursorChanged += new global::System.EventHandler (this.OnTreeviewDocsCursorChanged); this.treeviewDocs.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewDocsRowActivated); this.buttonOpen.Clicked += new global::System.EventHandler (this.OnButtonOpenClicked); this.buttonDelete.Clicked += new global::System.EventHandler (this.OnButtonDeleteClicked); this.buttonRefresh.Clicked += new global::System.EventHandler (this.OnButtonRefreshClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget CarGlass.MonthReport this.Name = "CarGlass.MonthReport"; this.Title = global::Mono.Unix.Catalog.GetString ("Печать отчета за месяц"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child CarGlass.MonthReport.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.selectperiod1 = new global::QSWidgetLib.SelectPeriod (); this.selectperiod1.Events = ((global::Gdk.EventMask)(256)); this.selectperiod1.Name = "selectperiod1"; this.selectperiod1.DateBegin = new global::System.DateTime (0); this.selectperiod1.DateEnd = new global::System.DateTime (0); this.selectperiod1.AutoDateSeparation = true; this.selectperiod1.ShowToday = true; this.selectperiod1.ShowWeek = true; this.selectperiod1.ShowMonth = true; this.selectperiod1.Show3Month = true; this.selectperiod1.Show6Month = true; this.selectperiod1.ShowYear = true; this.selectperiod1.ShowAllTime = false; this.selectperiod1.ShowCurWeek = true; this.selectperiod1.ShowCurMonth = true; this.selectperiod1.ShowCurQuarter = true; this.selectperiod1.ShowCurYear = true; w1.Add (this.selectperiod1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.selectperiod1])); w2.Position = 0; // Internal child CarGlass.MonthReport.ActionArea global::Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 10; w3.BorderWidth = ((uint)(5)); w3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonCancel])); w4.Expand = false; w4.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.Sensitive = false; this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget (this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonOk])); w5.Position = 1; w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 343; this.DefaultHeight = 193; this.Show (); this.selectperiod1.DatesChanged += new global::System.EventHandler (this.OnSelectperiod1DatesChanged); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }