public static void SetMenuManager(Control.ControlCollection controls, string key, Form form) { BarManager menuManager = new BarManager(); menuManager.Form = form; BarAndDockingController controller = new BarAndDockingController(); controller.LookAndFeel.UseDefaultLookAndFeel = false; controller.LookAndFeel.SetSkinStyle(key); menuManager.Controller = controller; SetMenuManager(controls, menuManager); }
private void InitializeComponent() { this.components = new Container(); this.mainBarManager = new XafBarManager(this.components); this._mainMenuBar = new XafBar(); this.barSubItemFile = new MainMenuItem(); this.cObjectsCreation = new ActionContainerBarItem(); this.cFile = new ActionContainerBarItem(); this.cSave = new ActionContainerBarItem(); this.cPrint = new ActionContainerBarItem(); this.cExport = new ActionContainerBarItem(); this.cExit = new ActionContainerBarItem(); this.barSubItemEdit = new MainMenuItem(); this.cUndoRedo = new ActionContainerBarItem(); this.cEdit = new ActionContainerBarItem(); this.cRecordEdit = new ActionContainerBarItem(); this.cOpenObject = new ActionContainerBarItem(); this.barSubItemView = new MainMenuItem(); this.cPanels = new ActionContainerMenuBarItem(); this.cViewsHistoryNavigation = new ActionContainerBarItem(); this.cMenus = new ActionContainerMenuBarItem(); this.cRecordsNavigation = new ActionContainerBarItem(); this.cView = new ActionContainerBarItem(); this.cReports = new ActionContainerBarItem(); this.cDefault = new ActionContainerBarItem(); this.cSearch = new ActionContainerBarItem(); this.cFilters = new ActionContainerBarItem(); this.cFullTextSearch = new ActionContainerBarItem(); this.cAppearance = new ActionContainerMenuBarItem(); this.barSubItemTools = new MainMenuItem(); this.cTools = new ActionContainerMenuBarItem(); this.cOptions = new ActionContainerMenuBarItem(); this.cDiagnostic = new ActionContainerMenuBarItem(); this.barSubItemWindow = new MainMenuItem(); this.cWindows = new XafBarLinkContainerItem(); this.barMdiChildrenListItem = new BarMdiChildrenListItem(); this.Window = new ActionContainerBarItem(); this.barSubItemHelp = new MainMenuItem(); this.cHelp = new ActionContainerMenuBarItem(); this.cAbout = new ActionContainerMenuBarItem(); this.standardToolBar = new XafBar(); this._statusBar = new XafBar(); this.mainBarAndDockingController = new BarAndDockingController(this.components); this.barDockControlTop = new BarDockControl(); this.barDockControlBottom = new BarDockControl(); this.barDockControlLeft = new BarDockControl(); this.barDockControlRight = new BarDockControl(); this.mainDockManager = new DockManager(this.components); this.imageList1 = new ImageList(this.components); this.dockPanelMenus = new DockPanel(); this.dockPanel1_Container = new ControlContainer(); this.rootMenuItemsActionContainer1 = new MenuItemsActionContainer(); this.cMenu = new ActionContainerBarItem(); this.barSubItemPanels = new BarSubItem(); this.viewSitePanel = new PanelControl(); this.formStateModelSynchronizerComponent = new FormStateModelSynchronizer(this.components); ((ISupportInitialize)this.documentManager).BeginInit(); ((ISupportInitialize)this.mainBarManager).BeginInit(); ((ISupportInitialize)this.mainBarAndDockingController).BeginInit(); ((ISupportInitialize)this.mainDockManager).BeginInit(); this.dockPanelMenus.SuspendLayout(); this.dockPanel1_Container.SuspendLayout(); ((ISupportInitialize)this.viewSitePanel).BeginInit(); base.SuspendLayout(); this.actionsContainersManager.ActionContainerComponents.Add(this.cObjectsCreation); this.actionsContainersManager.ActionContainerComponents.Add(this.cFile); this.actionsContainersManager.ActionContainerComponents.Add(this.cSave); this.actionsContainersManager.ActionContainerComponents.Add(this.cPrint); this.actionsContainersManager.ActionContainerComponents.Add(this.cExport); this.actionsContainersManager.ActionContainerComponents.Add(this.cExit); this.actionsContainersManager.ActionContainerComponents.Add(this.cUndoRedo); this.actionsContainersManager.ActionContainerComponents.Add(this.cEdit); this.actionsContainersManager.ActionContainerComponents.Add(this.cRecordEdit); this.actionsContainersManager.ActionContainerComponents.Add(this.cOpenObject); this.actionsContainersManager.ActionContainerComponents.Add(this.cPanels); this.actionsContainersManager.ActionContainerComponents.Add(this.cViewsHistoryNavigation); this.actionsContainersManager.ActionContainerComponents.Add(this.cMenus); this.actionsContainersManager.ActionContainerComponents.Add(this.cRecordsNavigation); this.actionsContainersManager.ActionContainerComponents.Add(this.cView); this.actionsContainersManager.ActionContainerComponents.Add(this.cReports); this.actionsContainersManager.ActionContainerComponents.Add(this.cDefault); this.actionsContainersManager.ActionContainerComponents.Add(this.cSearch); this.actionsContainersManager.ActionContainerComponents.Add(this.cFilters); this.actionsContainersManager.ActionContainerComponents.Add(this.cFullTextSearch); this.actionsContainersManager.ActionContainerComponents.Add(this.cAppearance); this.actionsContainersManager.ActionContainerComponents.Add(this.cTools); this.actionsContainersManager.ActionContainerComponents.Add(this.cOptions); this.actionsContainersManager.ActionContainerComponents.Add(this.cDiagnostic); this.actionsContainersManager.ActionContainerComponents.Add(this.cAbout); this.actionsContainersManager.ActionContainerComponents.Add(this.cMenu); this.actionsContainersManager.ActionContainerComponents.Add(this.Window); this.actionsContainersManager.ActionContainerComponents.Add(this.cHelp); this.actionsContainersManager.ActionContainerComponents.Add(this.rootMenuItemsActionContainer1); this.actionsContainersManager.ContextMenuContainers.Add(this.cObjectsCreation); this.actionsContainersManager.ContextMenuContainers.Add(this.cSave); this.actionsContainersManager.ContextMenuContainers.Add(this.cEdit); this.actionsContainersManager.ContextMenuContainers.Add(this.cRecordEdit); this.actionsContainersManager.ContextMenuContainers.Add(this.cOpenObject); this.actionsContainersManager.ContextMenuContainers.Add(this.cUndoRedo); this.actionsContainersManager.ContextMenuContainers.Add(this.cPrint); this.actionsContainersManager.ContextMenuContainers.Add(this.cView); this.actionsContainersManager.ContextMenuContainers.Add(this.cReports); this.actionsContainersManager.ContextMenuContainers.Add(this.cExport); this.actionsContainersManager.ContextMenuContainers.Add(this.cMenu); this.actionsContainersManager.DefaultContainer = this.cDefault; this.modelSynchronizationManager.ModelSynchronizableComponents.Add(this.formStateModelSynchronizerComponent); this.modelSynchronizationManager.ModelSynchronizableComponents.Add(this.mainBarManager); this.viewSiteManager.ViewSiteControl = this.viewSitePanel; this.mainBarManager.Bars.AddRange(new Bar[] { this._mainMenuBar, this.standardToolBar, this._statusBar }); this.mainBarManager.Controller = this.mainBarAndDockingController; this.mainBarManager.DockControls.Add(this.barDockControlTop); this.mainBarManager.DockControls.Add(this.barDockControlBottom); this.mainBarManager.DockControls.Add(this.barDockControlLeft); this.mainBarManager.DockControls.Add(this.barDockControlRight); this.mainBarManager.DockManager = this.mainDockManager; this.mainBarManager.Form = this; this.mainBarManager.Items.AddRange(new BarItem[] { this.barSubItemFile, this.barSubItemEdit, this.barSubItemView, this.barSubItemTools, this.barSubItemHelp, this.cFile, this.cObjectsCreation, this.cPrint, this.cExport, this.cSave, this.cEdit, this.cOpenObject, this.cUndoRedo, this.cAppearance, this.cReports, this.cExit, this.cRecordEdit, this.cRecordsNavigation, this.cViewsHistoryNavigation, this.cSearch, this.cFullTextSearch, this.cFilters, this.cView, this.cDefault, this.cTools, this.cMenus, this.cDiagnostic, this.cOptions, this.cAbout, this.cWindows, this.cPanels, this.cMenu, this.barSubItemWindow, this.barMdiChildrenListItem, this.Window, this.barSubItemPanels, this.cHelp }); this.mainBarManager.MainMenu = this._mainMenuBar; this.mainBarManager.MaxItemId = 37; this.mainBarManager.StatusBar = this._statusBar; this.mainBarManager.Disposed += new EventHandler(this.mainBarManager_Disposed); this._mainMenuBar.BarName = "Main Menu"; this._mainMenuBar.DockCol = 0; this._mainMenuBar.DockRow = 0; this._mainMenuBar.DockStyle = BarDockStyle.Top; this._mainMenuBar.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.barSubItemFile), new LinkPersistInfo(this.barSubItemEdit), new LinkPersistInfo(this.barSubItemView), new LinkPersistInfo(this.barSubItemTools), new LinkPersistInfo(this.barSubItemWindow), new LinkPersistInfo(this.barSubItemHelp) }); this._mainMenuBar.OptionsBar.MultiLine = true; this._mainMenuBar.OptionsBar.UseWholeRow = true; this._mainMenuBar.TargetPageCategoryColor = Color.Empty; this._mainMenuBar.Text = "Main menu"; this.barSubItemFile.Caption = "Файл"; this.barSubItemFile.Id = 0; this.barSubItemFile.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.cObjectsCreation, true), new LinkPersistInfo(this.cFile, true), new LinkPersistInfo(this.cSave, true), new LinkPersistInfo(this.cPrint, true), new LinkPersistInfo(this.cExport, true), new LinkPersistInfo(this.cExit, true) }); this.barSubItemFile.MergeType = BarMenuMerge.MergeItems; this.barSubItemFile.Name = "barSubItemFile"; this.barSubItemFile.VisibleInRibbon = false; this.cObjectsCreation.ApplicationMenuIndex = 1; this.cObjectsCreation.ApplicationMenuItem = true; this.cObjectsCreation.TargetPageGroupCaption = null; this.cObjectsCreation.Caption = "Создание объектов"; this.cObjectsCreation.ContainerId = "ObjectsCreation"; this.cObjectsCreation.Id = 18; this.cObjectsCreation.MergeType = BarMenuMerge.MergeItems; this.cObjectsCreation.Name = "cObjectsCreation"; this.cObjectsCreation.TargetPageCategoryColor = Color.Empty; this.cFile.ApplicationMenuIndex = 2; this.cFile.ApplicationMenuItem = true; this.cFile.TargetPageGroupCaption = null; this.cFile.Caption = "Файл"; this.cFile.ContainerId = "File"; this.cFile.Id = 5; this.cFile.MergeOrder = 2; this.cFile.MergeType = BarMenuMerge.MergeItems; this.cFile.Name = "cFile"; this.cFile.TargetPageCategoryColor = Color.Empty; this.cSave.ApplicationMenuIndex = 7; this.cSave.ApplicationMenuItem = true; this.cSave.TargetPageGroupCaption = null; this.cSave.Caption = "Сохранить"; this.cSave.ContainerId = "Save"; this.cSave.Id = 8; this.cSave.MergeType = BarMenuMerge.MergeItems; this.cSave.Name = "cSave"; this.cSave.TargetPageCategoryColor = Color.Empty; this.cPrint.ApplicationMenuIndex = 11; this.cPrint.ApplicationMenuItem = true; this.cPrint.TargetPageGroupCaption = null; this.cPrint.Caption = "Печать"; this.cPrint.ContainerId = "Print"; this.cPrint.Id = 6; this.cPrint.MergeType = BarMenuMerge.MergeItems; this.cPrint.Name = "cPrint"; this.cPrint.TargetPageCategoryColor = Color.Empty; this.cExport.ApplicationMenuIndex = 10; this.cExport.ApplicationMenuItem = true; this.cExport.TargetPageGroupCaption = null; this.cExport.Caption = "Экспорт"; this.cExport.ContainerId = "Export"; this.cExport.Id = 7; this.cExport.MergeType = BarMenuMerge.MergeItems; this.cExport.Name = "cExport"; this.cExport.TargetPageCategoryColor = Color.Empty; this.cExit.ApplicationMenuIndex = 900; this.cExit.ApplicationMenuItem = true; this.cExit.TargetPageGroupCaption = null; this.cExit.Caption = "Выход"; this.cExit.ContainerId = "Exit"; this.cExit.Id = 8; this.cExit.MergeOrder = 900; this.cExit.Name = "cExit"; this.cExit.TargetPageCategoryColor = Color.Empty; this.barSubItemEdit.Caption = "Правка"; this.barSubItemEdit.Id = 1; this.barSubItemEdit.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.cUndoRedo, true), new LinkPersistInfo(this.cEdit, true), new LinkPersistInfo(this.cRecordEdit, true), new LinkPersistInfo(this.cOpenObject, true) }); this.barSubItemEdit.MergeType = BarMenuMerge.MergeItems; this.barSubItemEdit.Name = "barSubItemEdit"; this.barSubItemEdit.VisibleInRibbon = false; this.cUndoRedo.Caption = "Отменить/Повторить"; this.cUndoRedo.TargetPageGroupCaption = "Edit"; this.cUndoRedo.ContainerId = "UndoRedo"; this.cUndoRedo.Id = 10; this.cUndoRedo.MergeType = BarMenuMerge.MergeItems; this.cUndoRedo.Name = "cUndoRedo"; this.cUndoRedo.TargetPageCategoryColor = Color.Empty; this.cEdit.TargetPageGroupCaption = null; this.cEdit.Caption = "Правка"; this.cEdit.ContainerId = "Edit"; this.cEdit.Id = 9; this.cEdit.MergeType = BarMenuMerge.MergeItems; this.cEdit.Name = "cEdit"; this.cEdit.TargetPageCategoryColor = Color.Empty; this.cRecordEdit.TargetPageGroupCaption = null; this.cRecordEdit.Caption = "Изменить запись"; this.cRecordEdit.ContainerId = "RecordEdit"; this.cRecordEdit.Id = 9; this.cRecordEdit.MergeType = BarMenuMerge.MergeItems; this.cRecordEdit.Name = "cRecordEdit"; this.cRecordEdit.TargetPageCategoryColor = Color.Empty; this.cOpenObject.TargetPageGroupCaption = null; this.cOpenObject.Caption = "Открыть объект"; this.cOpenObject.ContainerId = "OpenObject"; this.cOpenObject.Id = 9; this.cOpenObject.MergeType = BarMenuMerge.MergeItems; this.cOpenObject.Name = "cOpenObject"; this.cOpenObject.TargetPageCategoryColor = Color.Empty; this.barSubItemView.Caption = "Вид"; this.barSubItemView.Id = 2; this.barSubItemView.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.cPanels, true), new LinkPersistInfo(this.cViewsHistoryNavigation, true), new LinkPersistInfo(this.cMenus, true), new LinkPersistInfo(this.cRecordsNavigation, true), new LinkPersistInfo(this.cView, true), new LinkPersistInfo(this.cReports, true), new LinkPersistInfo(this.cDefault, true), new LinkPersistInfo(this.cSearch, true), new LinkPersistInfo(BarLinkUserDefines.None, false, this.cFilters, true), new LinkPersistInfo(BarLinkUserDefines.None, false, this.cFullTextSearch, true), new LinkPersistInfo(this.cAppearance, true) }); this.barSubItemView.MergeType = BarMenuMerge.MergeItems; this.barSubItemView.Name = "barSubItemView"; this.cPanels.Caption = "Панели"; this.cPanels.TargetPageGroupCaption = null; this.cPanels.TargetPageCaption = "View"; this.cPanels.ContainerId = "Panels"; this.cPanels.Id = 16; this.cPanels.MergeType = BarMenuMerge.MergeItems; this.cPanels.Name = "cPanels"; this.cPanels.TargetPageCategoryColor = Color.Empty; this.cViewsHistoryNavigation.TargetPageGroupCaption = null; this.cViewsHistoryNavigation.Caption = "Просмотр истории навигации"; this.cViewsHistoryNavigation.ContainerId = "ViewsHistoryNavigation"; this.cViewsHistoryNavigation.Id = 35; this.cViewsHistoryNavigation.MergeType = BarMenuMerge.MergeItems; this.cViewsHistoryNavigation.Name = "cViewsHistoryNavigation"; this.cViewsHistoryNavigation.TargetPageCategoryColor = Color.Empty; this.cMenus.TargetPageGroupCaption = null; this.cMenus.Caption = "Меню"; this.cMenus.ContainerId = "Menus"; this.cMenus.Id = 14; this.cMenus.MergeType = BarMenuMerge.MergeItems; this.cMenus.Name = "cMenus"; this.cMenus.TargetPageCategoryColor = Color.Empty; this.cRecordsNavigation.TargetPageGroupCaption = null; this.cRecordsNavigation.Caption = "Записи навигации"; this.cRecordsNavigation.ContainerId = "RecordsNavigation"; this.cRecordsNavigation.Id = 10; this.cRecordsNavigation.MergeType = BarMenuMerge.MergeItems; this.cRecordsNavigation.Name = "cRecordsNavigation"; this.cRecordsNavigation.TargetPageCategoryColor = Color.Empty; this.cView.TargetPageGroupCaption = null; this.cView.Caption = "Вид"; this.cView.ContainerId = "View"; this.cView.Id = 12; this.cView.MergeType = BarMenuMerge.MergeItems; this.cView.Name = "cView"; this.cView.TargetPageCategoryColor = Color.Empty; this.cReports.ApplicationMenuIndex = 12; this.cReports.ApplicationMenuItem = true; this.cReports.TargetPageGroupCaption = "View"; this.cReports.Caption = "Отчеты"; this.cReports.ContainerId = "Reports"; this.cReports.Id = 11; this.cReports.MergeType = BarMenuMerge.MergeItems; this.cReports.Name = "cReports"; this.cReports.TargetPageCategoryColor = Color.Empty; this.cDefault.TargetPageGroupCaption = null; this.cDefault.Caption = "По умолчанию"; this.cDefault.ContainerId = "Default"; this.cDefault.Id = 50; this.cDefault.MergeType = BarMenuMerge.MergeItems; this.cDefault.Name = "cDefault"; this.cDefault.TargetPageCategoryColor = Color.Empty; this.cSearch.TargetPageGroupCaption = null; this.cSearch.Caption = "Поиск"; this.cSearch.ContainerId = "Search"; this.cSearch.Id = 11; this.cSearch.MergeType = BarMenuMerge.MergeItems; this.cSearch.Name = "cSearch"; this.cSearch.TargetPageCategoryColor = Color.Empty; this.cFilters.TargetPageGroupCaption = null; this.cFilters.Caption = "Фильтры"; this.cFilters.ContainerId = "Filters"; this.cFilters.Id = 26; this.cFilters.MergeType = BarMenuMerge.MergeItems; this.cFilters.Name = "cFilters"; this.cFilters.TargetPageCategoryColor = Color.Empty; this.cFullTextSearch.Alignment = BarItemLinkAlignment.Right; this.cFullTextSearch.TargetPageGroupCaption = null; this.cFullTextSearch.Caption = "Полнотекстовый поиск"; this.cFullTextSearch.ContainerId = "FullTextSearch"; this.cFullTextSearch.Id = 12; this.cFullTextSearch.MergeType = BarMenuMerge.MergeItems; this.cFullTextSearch.Name = "cFullTextSearch"; this.cFullTextSearch.TargetPageCategoryColor = Color.Empty; this.cAppearance.TargetPageGroupCaption = null; this.cAppearance.Caption = "Внешний вид"; this.cAppearance.ContainerId = "Appearance"; this.cAppearance.Id = 9; this.cAppearance.MergeType = BarMenuMerge.MergeItems; this.cAppearance.Name = "cAppearance"; this.cAppearance.TargetPageCategoryColor = Color.Empty; this.barSubItemTools.Caption = "Инструменты"; this.barSubItemTools.Id = 3; this.barSubItemTools.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.cTools, true), new LinkPersistInfo(this.cOptions, true), new LinkPersistInfo(this.cDiagnostic, true) }); this.barSubItemTools.MergeType = BarMenuMerge.MergeItems; this.barSubItemTools.Name = "barSubItemTools"; this.cTools.TargetPageGroupCaption = null; this.cTools.Caption = "Инструменты"; this.cTools.ContainerId = "Tools"; this.cTools.Id = 13; this.cTools.MergeType = BarMenuMerge.MergeItems; this.cTools.Name = "cTools"; this.cTools.TargetPageCategoryColor = Color.Empty; this.cOptions.TargetPageGroupCaption = null; this.cOptions.Caption = "Настройки"; this.cOptions.ContainerId = "Options"; this.cOptions.Id = 14; this.cOptions.MergeType = BarMenuMerge.MergeItems; this.cOptions.Name = "cOptions"; this.cOptions.TargetPageCategoryColor = Color.Empty; this.cDiagnostic.TargetPageGroupCaption = null; this.cDiagnostic.Caption = "Диагностика"; this.cDiagnostic.ContainerId = "Diagnostic"; this.cDiagnostic.Id = 16; this.cDiagnostic.MergeType = BarMenuMerge.MergeItems; this.cDiagnostic.Name = "cDiagnostic"; this.cDiagnostic.TargetPageCategoryColor = Color.Empty; this.barSubItemWindow.Caption = "Окно"; this.barSubItemWindow.Id = 32; this.barSubItemWindow.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.cWindows), new LinkPersistInfo(this.Window, true) }); this.barSubItemWindow.MergeType = BarMenuMerge.MergeItems; this.barSubItemWindow.Name = "barSubItemWindow"; this.cWindows.TargetPageCaption = "View"; this.cWindows.TargetPageCategoryCaption = null; this.cWindows.Caption = "Окна"; this.cWindows.TargetPageGroupCaption = null; this.cWindows.Id = 16; this.cWindows.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.barMdiChildrenListItem) }); this.cWindows.MergeType = BarMenuMerge.MergeItems; this.cWindows.Name = "cWindows"; this.cWindows.TargetPageCategoryColor = Color.Empty; this.barMdiChildrenListItem.Caption = "Список окон"; this.barMdiChildrenListItem.Id = 37; this.barMdiChildrenListItem.Name = "barMdiChildrenListItem"; this.Window.TargetPageCaption = "View"; this.Window.TargetPageGroupCaption = "Windows"; this.Window.Caption = "Окно"; this.Window.ContainerId = "Windows"; this.Window.Id = 34; this.Window.MergeType = BarMenuMerge.MergeItems; this.Window.Name = "Window"; this.Window.TargetPageCategoryColor = Color.Empty; this.barSubItemHelp.Caption = "Помощь"; this.barSubItemHelp.Id = 4; this.barSubItemHelp.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.cHelp, true), new LinkPersistInfo(this.cAbout, true) }); this.barSubItemHelp.MergeType = BarMenuMerge.MergeItems; this.barSubItemHelp.Name = "barSubItemHelp"; this.barSubItemHelp.VisibleInRibbon = false; this.cHelp.Caption = "Помощь"; this.cHelp.TargetPageGroupCaption = null; this.cHelp.ContainerId = "Help"; this.cHelp.Id = 36; this.cHelp.MergeType = BarMenuMerge.MergeItems; this.cHelp.Name = "cHelp"; this.cHelp.TargetPageCategoryColor = Color.Empty; this.cAbout.ApplicationMenuIndex = 15; this.cAbout.ApplicationMenuItem = true; this.cAbout.Caption = "О программе"; this.cAbout.TargetPageGroupCaption = null; this.cAbout.ContainerId = "About"; this.cAbout.Id = 15; this.cAbout.MergeType = BarMenuMerge.MergeItems; this.cAbout.Name = "cAbout"; this.cAbout.TargetPageCategoryColor = Color.Empty; this.standardToolBar.BarName = "Main Toolbar"; this.standardToolBar.DockCol = 0; this.standardToolBar.DockRow = 1; this.standardToolBar.DockStyle = BarDockStyle.Top; this.standardToolBar.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.cViewsHistoryNavigation, true), new LinkPersistInfo(this.cObjectsCreation, true), new LinkPersistInfo(this.cSave, true), new LinkPersistInfo(this.cEdit, true), new LinkPersistInfo(this.cUndoRedo, true), new LinkPersistInfo(this.cRecordEdit, true), new LinkPersistInfo(this.cOpenObject), new LinkPersistInfo(this.cView, true), new LinkPersistInfo(this.cReports), new LinkPersistInfo(this.cDefault, true), new LinkPersistInfo(this.cRecordsNavigation, true), new LinkPersistInfo(this.cFilters, true), new LinkPersistInfo(this.cSearch, true), new LinkPersistInfo(this.cFullTextSearch) }); this.standardToolBar.OptionsBar.UseWholeRow = true; this.standardToolBar.TargetPageCategoryColor = Color.Empty; this.standardToolBar.Text = "Main Toolbar"; this._statusBar.BarName = "StatusBar"; this._statusBar.CanDockStyle = BarCanDockStyle.Bottom; this._statusBar.DockCol = 0; this._statusBar.DockRow = 0; this._statusBar.DockStyle = BarDockStyle.Bottom; this._statusBar.OptionsBar.AllowQuickCustomization = false; this._statusBar.OptionsBar.DisableClose = true; this._statusBar.OptionsBar.DisableCustomization = true; this._statusBar.OptionsBar.DrawDragBorder = false; this._statusBar.OptionsBar.DrawSizeGrip = true; this._statusBar.OptionsBar.UseWholeRow = true; this._statusBar.TargetPageCategoryColor = Color.Empty; this._statusBar.Text = "Status Bar"; this.mainBarAndDockingController.PropertiesBar.AllowLinkLighting = false; this.barDockControlTop.CausesValidation = false; this.barDockControlTop.Parent = this; this.barDockControlTop.Size = new Size(792, 51); this.barDockControlTop.Dock = DockStyle.Top; this.barDockControlTop.Location = new Point(0, 0); // this.barDockControlTop.ZOrder = 6; this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Parent = this; this.barDockControlBottom.Size = new Size(792, 23); this.barDockControlBottom.Dock = DockStyle.Bottom; this.barDockControlBottom.Location = new Point(0, 543); // this.barDockControlBottom.ZOrder = 5; this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Parent = this; // this.barDockControlLeft.ZOrder = 3; this.barDockControlLeft.Location = new Point(0, 51); this.barDockControlLeft.Dock = DockStyle.Left; this.barDockControlLeft.Size = new Size(0, 492); this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Parent = this; // this.barDockControlRight.ZOrder = 4; this.barDockControlRight.Location = new Point(792, 51); this.barDockControlRight.Dock = DockStyle.Right; this.barDockControlRight.Size = new Size(0, 492); this.mainDockManager.Controller = this.mainBarAndDockingController; this.mainDockManager.Form = this; this.mainDockManager.Images = this.imageList1; this.mainDockManager.MenuManager = this.mainBarManager; this.mainDockManager.RootPanels.AddRange(new DockPanel[] { this.dockPanelMenus }); this.mainDockManager.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "System.Windows.Forms.StatusBar", "DevExpress.ExpressApp.Win.Templates.Controls.XafRibbonControl", "DevExpress.XtraBars.Ribbon.RibbonStatusBar" }); this.imageList1.ColorDepth = ColorDepth.Depth32Bit; this.imageList1.ImageSize = new Size(16, 16); this.imageList1.TransparentColor = Color.Transparent; this.dockPanelMenus.Controls.Add(this.dockPanel1_Container); this.dockPanelMenus.Dock = DockingStyle.Left; this.dockPanelMenus.ID = new Guid("17f71733-1ca6-4a29-aa2c-56cbcc2b43dd"); this.dockPanelMenus.Size = new Size(200, 492); this.dockPanelMenus.Text = "Навигация"; this.dockPanelMenus.Parent = this; this.dockPanelMenus.Location = new Point(0, 51); this.dockPanelMenus.Name = "dockPanelMenus"; this.dockPanelMenus.Options.AllowDockBottom = false; this.dockPanelMenus.Options.AllowDockTop = false; this.dockPanelMenus.OriginalSize = new Size(200, 200); this.dockPanelMenus.TabStop = false; this.dockPanelMenus.Tag = "Menus"; this.dockPanel1_Container.Controls.Add(this.rootMenuItemsActionContainer1); this.dockPanel1_Container.Parent = dockPanelMenus; this.dockPanel1_Container.Location = new Point(4, 23); this.dockPanel1_Container.Size = new Size(192, 465); this.dockPanel1_Container.TabIndex = 0; this.dockPanel1_Container.Name = "dockPanel1_Container"; this.rootMenuItemsActionContainer1.Parent = dockPanel1_Container; this.rootMenuItemsActionContainer1.TabIndex = 0; this.rootMenuItemsActionContainer1.Size = new Size(192, 465); this.rootMenuItemsActionContainer1.Dock = DockStyle.Fill; this.rootMenuItemsActionContainer1.Location = new Point(0, 0); this.rootMenuItemsActionContainer1.Name = "rootMenuItemsActionContainer1"; this.cMenu.Caption = "Меню"; this.cMenu.TargetPageGroupCaption = null; this.cMenu.ContainerId = "Menu"; this.cMenu.Id = 7; this.cMenu.Name = "cMenu"; this.cMenu.TargetPageCategoryColor = Color.Empty; this.barSubItemPanels.Caption = "Панели"; this.barSubItemPanels.Id = 35; this.barSubItemPanels.Name = "barSubItemPanels"; this.viewSitePanel.BorderStyle = BorderStyles.NoBorder; this.viewSitePanel.Parent = this; this.viewSitePanel.Location = new Point(200, 51); this.viewSitePanel.Size = new Size(592, 492); this.viewSitePanel.Dock = DockStyle.Fill; this.viewSitePanel.TabIndex = 4; this.viewSitePanel.Name = "viewSitePanel"; this.formStateModelSynchronizerComponent.Form = this; this.formStateModelSynchronizerComponent.Model = null; this.Text = "MainForm"; this.ClientSize = new Size(792, 566); // this.Margin = new Padding(3, 5, 3, 5); this.AutoScaleDimensions = new SizeF(6, 13); base.AutoScaleMode = AutoScaleMode.Font; base.BarManager = this.mainBarManager; base.Controls.Add(this.viewSitePanel); base.Controls.Add(this.dockPanelMenus); base.Controls.Add(this.barDockControlLeft); base.Controls.Add(this.barDockControlRight); base.Controls.Add(this.barDockControlBottom); base.Controls.Add(this.barDockControlTop); base.IsMdiContainer = true; base.Name = "MenusMainForm"; ((ISupportInitialize)this.documentManager).EndInit(); ((ISupportInitialize)this.mainBarManager).EndInit(); ((ISupportInitialize)this.mainBarAndDockingController).EndInit(); ((ISupportInitialize)this.mainDockManager).EndInit(); this.dockPanelMenus.ResumeLayout(false); this.dockPanel1_Container.ResumeLayout(false); ((ISupportInitialize)this.viewSitePanel).EndInit(); base.ResumeLayout(false); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(DlgLogin)); this.barAndDockingController1 = new BarAndDockingController(this.components); this.toolTipController1 = new ToolTipController(this.components); this.checkBoxRemember = new CheckBox(); this.cbAutlogin = new CheckBox(); this.skinButtonOK = new SkinButton(); this.skinButtonCancel = new SkinButton(); this.gpgLabelLostPwd = new GPGLabel(); this.gpgLabelChangePwd = new GPGLabel(); this.gpgLabelCreateAcct = new GPGLabel(); this.ddServer = new GPGDropDownList(); this.lServer = new GPGLabel(); this.labelError = new GPGLabel(); this.gpgLabel1 = new GPGLabel(); this.labelLogin = new GPGLabel(); this.gpgLabel2 = new GPGLabel(); this.msMainMenu = new GPGMenuStrip(this.components); this.gpgLabelChangeAccount = new GPGLabel(); this.lLostUsername = new GPGLabel(); this.gpgPictureBox1 = new GPGPictureBox(); this.ddGame = new GPGDropDownList(); this.lGame = new GPGLabel(); this.lManageGames = new GPGLabel(); this.pbCurrentGame = new GPGPictureBox(); this.miMainGroup = new ToolStripMenuItem(); this.lOCRegisterNewUserToolStripMenuItem = new ToolStripMenuItem(); this.lOCChangePasswordToolStripMenuItem = new ToolStripMenuItem(); this.lOCResetPasswordToolStripMenuItem = new ToolStripMenuItem(); this.textBoxPassword = new GPGTextBox(); this.textBoxUsername = new GPGTextBox(); ((ISupportInitialize) base.pbBottom).BeginInit(); this.barAndDockingController1.BeginInit(); ((ISupportInitialize) this.gpgPictureBox1).BeginInit(); ((ISupportInitialize) this.pbCurrentGame).BeginInit(); this.textBoxPassword.Properties.BeginInit(); this.textBoxUsername.Properties.BeginInit(); base.SuspendLayout(); base.pbBottom.Size = new Size(0x12f, 0x39); base.ttDefault.SetSuperTip(base.pbBottom, null); this.toolTipController1.SetSuperTip(base.pbBottom, null); base.ttDefault.DefaultController.AutoPopDelay = 0x3e8; base.ttDefault.DefaultController.ToolTipLocation = ToolTipLocation.RightTop; this.barAndDockingController1.PropertiesBar.AllowLinkLighting = false; this.checkBoxRemember.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.checkBoxRemember.AutoSize = true; this.checkBoxRemember.Checked = true; this.checkBoxRemember.CheckState = CheckState.Checked; this.checkBoxRemember.Location = new Point(0x18, 0x13b); this.checkBoxRemember.Margin = new Padding(3, 4, 3, 4); this.checkBoxRemember.Name = "checkBoxRemember"; this.checkBoxRemember.Size = new Size(0xe2, 0x11); this.toolTipController1.SetSuperTip(this.checkBoxRemember, null); base.ttDefault.SetSuperTip(this.checkBoxRemember, null); this.checkBoxRemember.TabIndex = 2; this.checkBoxRemember.Text = "<LOC>Remember my account info"; this.checkBoxRemember.UseVisualStyleBackColor = true; this.cbAutlogin.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.cbAutlogin.AutoSize = true; this.cbAutlogin.Location = new Point(0x18, 0x14c); this.cbAutlogin.Margin = new Padding(3, 4, 3, 4); this.cbAutlogin.Name = "cbAutlogin"; this.cbAutlogin.Size = new Size(0x115, 0x11); this.toolTipController1.SetSuperTip(this.cbAutlogin, null); base.ttDefault.SetSuperTip(this.cbAutlogin, null); this.cbAutlogin.TabIndex = 13; this.cbAutlogin.Text = "<LOC>Login automatically with this account"; this.cbAutlogin.UseVisualStyleBackColor = true; this.cbAutlogin.CheckedChanged += new EventHandler(this.cbAutlogin_CheckedChanged); this.skinButtonOK.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.skinButtonOK.AutoStyle = true; this.skinButtonOK.BackColor = Color.Black; this.skinButtonOK.ButtonState = 0; this.skinButtonOK.DialogResult = DialogResult.OK; this.skinButtonOK.DisabledForecolor = Color.Gray; this.skinButtonOK.DrawColor = Color.White; this.skinButtonOK.DrawEdges = true; this.skinButtonOK.FocusColor = Color.Yellow; this.skinButtonOK.Font = new Font("Verdana", 8f, FontStyle.Bold); this.skinButtonOK.ForeColor = Color.White; this.skinButtonOK.HorizontalScalingMode = ScalingModes.Tile; this.skinButtonOK.IsStyled = true; this.skinButtonOK.Location = new Point(0x9f, 0x1c9); this.skinButtonOK.Name = "skinButtonOK"; this.skinButtonOK.Size = new Size(0x5d, 0x1c); this.skinButtonOK.SkinBasePath = @"Controls\Button\Round Edge"; base.ttDefault.SetSuperTip(this.skinButtonOK, null); this.toolTipController1.SetSuperTip(this.skinButtonOK, null); this.skinButtonOK.TabIndex = 0x16; this.skinButtonOK.TabStop = true; this.skinButtonOK.Text = "<LOC>Login"; this.skinButtonOK.TextAlign = ContentAlignment.MiddleCenter; this.skinButtonOK.TextPadding = new Padding(0); this.skinButtonOK.Click += new EventHandler(this.skinButtonOK_Click); this.skinButtonCancel.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.skinButtonCancel.AutoStyle = true; this.skinButtonCancel.BackColor = Color.Black; this.skinButtonCancel.ButtonState = 0; this.skinButtonCancel.DialogResult = DialogResult.OK; this.skinButtonCancel.DisabledForecolor = Color.Gray; this.skinButtonCancel.DrawColor = Color.White; this.skinButtonCancel.DrawEdges = true; this.skinButtonCancel.FocusColor = Color.Yellow; this.skinButtonCancel.Font = new Font("Verdana", 8f, FontStyle.Bold); this.skinButtonCancel.ForeColor = Color.White; this.skinButtonCancel.HorizontalScalingMode = ScalingModes.Tile; this.skinButtonCancel.IsStyled = true; this.skinButtonCancel.Location = new Point(0x101, 0x1c9); this.skinButtonCancel.Name = "skinButtonCancel"; this.skinButtonCancel.Size = new Size(0x5d, 0x1c); this.skinButtonCancel.SkinBasePath = @"Controls\Button\Round Edge"; base.ttDefault.SetSuperTip(this.skinButtonCancel, null); this.toolTipController1.SetSuperTip(this.skinButtonCancel, null); this.skinButtonCancel.TabIndex = 0x17; this.skinButtonCancel.TabStop = true; this.skinButtonCancel.Text = "<LOC>Cancel"; this.skinButtonCancel.TextAlign = ContentAlignment.MiddleCenter; this.skinButtonCancel.TextPadding = new Padding(0); this.skinButtonCancel.Click += new EventHandler(this.skinButtonCancel_Click); this.gpgLabelLostPwd.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.gpgLabelLostPwd.AutoGrowDirection = GrowDirections.None; this.gpgLabelLostPwd.AutoSize = true; this.gpgLabelLostPwd.AutoStyle = true; this.gpgLabelLostPwd.Font = new Font("Arial", 9.75f); this.gpgLabelLostPwd.ForeColor = Color.White; this.gpgLabelLostPwd.IgnoreMouseWheel = false; this.gpgLabelLostPwd.IsStyled = false; this.gpgLabelLostPwd.Location = new Point(13, 0x18c); this.gpgLabelLostPwd.Name = "gpgLabelLostPwd"; this.gpgLabelLostPwd.Size = new Size(170, 0x10); base.ttDefault.SetSuperTip(this.gpgLabelLostPwd, null); this.toolTipController1.SetSuperTip(this.gpgLabelLostPwd, null); this.gpgLabelLostPwd.TabIndex = 0x15; this.gpgLabelLostPwd.Text = "<LOC>Lost your password?"; this.gpgLabelLostPwd.TextStyle = TextStyles.Link; this.gpgLabelLostPwd.Click += new EventHandler(this.gpgLabelLostPwd_Click); this.gpgLabelChangePwd.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.gpgLabelChangePwd.AutoGrowDirection = GrowDirections.None; this.gpgLabelChangePwd.AutoSize = true; this.gpgLabelChangePwd.AutoStyle = true; this.gpgLabelChangePwd.Font = new Font("Arial", 9.75f); this.gpgLabelChangePwd.ForeColor = Color.White; this.gpgLabelChangePwd.IgnoreMouseWheel = false; this.gpgLabelChangePwd.IsStyled = false; this.gpgLabelChangePwd.Location = new Point(13, 380); this.gpgLabelChangePwd.Name = "gpgLabelChangePwd"; this.gpgLabelChangePwd.Size = new Size(0xb6, 0x10); base.ttDefault.SetSuperTip(this.gpgLabelChangePwd, null); this.toolTipController1.SetSuperTip(this.gpgLabelChangePwd, null); this.gpgLabelChangePwd.TabIndex = 20; this.gpgLabelChangePwd.Text = "<LOC>Change your password"; this.gpgLabelChangePwd.TextStyle = TextStyles.Link; this.gpgLabelChangePwd.Click += new EventHandler(this.gpgLabelChangePwd_Click); this.gpgLabelCreateAcct.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.gpgLabelCreateAcct.AutoGrowDirection = GrowDirections.None; this.gpgLabelCreateAcct.AutoSize = true; this.gpgLabelCreateAcct.AutoStyle = true; this.gpgLabelCreateAcct.Font = new Font("Arial", 9.75f); this.gpgLabelCreateAcct.ForeColor = Color.White; this.gpgLabelCreateAcct.IgnoreMouseWheel = false; this.gpgLabelCreateAcct.IsStyled = false; this.gpgLabelCreateAcct.Location = new Point(13, 0x16c); this.gpgLabelCreateAcct.Name = "gpgLabelCreateAcct"; this.gpgLabelCreateAcct.Size = new Size(0xb0, 0x10); base.ttDefault.SetSuperTip(this.gpgLabelCreateAcct, null); this.toolTipController1.SetSuperTip(this.gpgLabelCreateAcct, null); this.gpgLabelCreateAcct.TabIndex = 0x13; this.gpgLabelCreateAcct.Text = "<LOC>Create a new account"; this.gpgLabelCreateAcct.TextStyle = TextStyles.Link; this.gpgLabelCreateAcct.Click += new EventHandler(this.gpgLabelCreateAcct_Click); this.ddServer.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.ddServer.BackColor = Color.Black; this.ddServer.BorderColor = Color.Black; this.ddServer.DoValidate = true; this.ddServer.FlatStyle = FlatStyle.Flat; this.ddServer.FocusBackColor = Color.White; this.ddServer.FocusBorderColor = Color.White; this.ddServer.ForeColor = Color.White; this.ddServer.FormattingEnabled = true; this.ddServer.Items.AddRange(new object[] { "Beta Server", "GPG Test Server 1", "GPG Test Server 2", "Test Staging Server" }); this.ddServer.Location = new Point(0x10, 0x8a); this.ddServer.Name = "ddServer"; this.ddServer.Size = new Size(0x144, 0x15); base.ttDefault.SetSuperTip(this.ddServer, null); this.toolTipController1.SetSuperTip(this.ddServer, null); this.ddServer.TabIndex = 0x11; this.ddServer.SelectedValueChanged += new EventHandler(this.gpgDropDownList1_SelectedValueChanged); this.lServer.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.lServer.AutoGrowDirection = GrowDirections.None; this.lServer.AutoSize = true; this.lServer.AutoStyle = true; this.lServer.Font = new Font("Arial", 9.75f, FontStyle.Bold); this.lServer.ForeColor = Color.White; this.lServer.IgnoreMouseWheel = false; this.lServer.IsStyled = false; this.lServer.Location = new Point(13, 0x77); this.lServer.Name = "lServer"; this.lServer.Size = new Size(0x5d, 0x10); base.ttDefault.SetSuperTip(this.lServer, null); this.toolTipController1.SetSuperTip(this.lServer, null); this.lServer.TabIndex = 0x10; this.lServer.Text = "<LOC>Server"; this.lServer.TextStyle = TextStyles.Title; this.labelError.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.labelError.AutoGrowDirection = GrowDirections.None; this.labelError.AutoStyle = true; this.labelError.Font = new Font("Arial", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0); this.labelError.ForeColor = Color.Red; this.labelError.IgnoreMouseWheel = false; this.labelError.IsStyled = false; this.labelError.Location = new Point(0x12, 0x1d7); this.labelError.Name = "labelError"; this.labelError.Size = new Size(0x142, 0x40); base.ttDefault.SetSuperTip(this.labelError, null); this.toolTipController1.SetSuperTip(this.labelError, null); this.labelError.TabIndex = 8; this.labelError.Text = "<LOC>This is a test error. This is not usually visible. It only happens when a login error occurs."; this.labelError.TextAlign = ContentAlignment.MiddleCenter; this.labelError.TextStyle = TextStyles.Error; this.labelError.Visible = false; this.gpgLabel1.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.gpgLabel1.AutoGrowDirection = GrowDirections.None; this.gpgLabel1.AutoSize = true; this.gpgLabel1.AutoStyle = true; this.gpgLabel1.Font = new Font("Arial", 9.75f, FontStyle.Bold); this.gpgLabel1.ForeColor = Color.White; this.gpgLabel1.IgnoreMouseWheel = false; this.gpgLabel1.IsStyled = false; this.gpgLabel1.Location = new Point(13, 0xd8); this.gpgLabel1.Name = "gpgLabel1"; this.gpgLabel1.Size = new Size(0x73, 0x10); base.ttDefault.SetSuperTip(this.gpgLabel1, null); this.toolTipController1.SetSuperTip(this.gpgLabel1, null); this.gpgLabel1.TabIndex = 1; this.gpgLabel1.Text = "<LOC>Username"; this.gpgLabel1.TextStyle = TextStyles.Title; this.labelLogin.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.labelLogin.AutoGrowDirection = GrowDirections.None; this.labelLogin.AutoStyle = true; this.labelLogin.Font = new Font("Arial", 12f, FontStyle.Bold, GraphicsUnit.Point, 0); this.labelLogin.ForeColor = Color.White; this.labelLogin.IgnoreMouseWheel = false; this.labelLogin.IsStyled = false; this.labelLogin.Location = new Point(0x11, 0x1ec); this.labelLogin.Name = "labelLogin"; this.labelLogin.Size = new Size(0x149, 0x15); base.ttDefault.SetSuperTip(this.labelLogin, null); this.toolTipController1.SetSuperTip(this.labelLogin, null); this.labelLogin.TabIndex = 7; this.labelLogin.Text = "<LOC>Logging In"; this.labelLogin.TextAlign = ContentAlignment.TopCenter; this.labelLogin.TextStyle = TextStyles.Status; this.labelLogin.Visible = false; this.gpgLabel2.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.gpgLabel2.AutoGrowDirection = GrowDirections.None; this.gpgLabel2.AutoSize = true; this.gpgLabel2.AutoStyle = true; this.gpgLabel2.Font = new Font("Arial", 9.75f, FontStyle.Bold); this.gpgLabel2.ForeColor = Color.White; this.gpgLabel2.IgnoreMouseWheel = false; this.gpgLabel2.IsStyled = false; this.gpgLabel2.Location = new Point(13, 0x10a); this.gpgLabel2.Name = "gpgLabel2"; this.gpgLabel2.Size = new Size(0x70, 0x10); base.ttDefault.SetSuperTip(this.gpgLabel2, null); this.toolTipController1.SetSuperTip(this.gpgLabel2, null); this.gpgLabel2.TabIndex = 3; this.gpgLabel2.Text = "<LOC>Password"; this.gpgLabel2.TextStyle = TextStyles.Title; this.msMainMenu.BackColor = Color.Transparent; this.msMainMenu.BackgroundImage = (Image) manager.GetObject("msMainMenu.BackgroundImage"); this.msMainMenu.Dock = DockStyle.None; this.msMainMenu.Font = new Font("Arial", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); this.msMainMenu.Location = new Point(0x31, 0x1b); this.msMainMenu.Name = "msMainMenu"; this.msMainMenu.Padding = new Padding(0, 2, 0, 2); this.msMainMenu.Size = new Size(0xca, 0x18); this.toolTipController1.SetSuperTip(this.msMainMenu, null); base.ttDefault.SetSuperTip(this.msMainMenu, null); this.msMainMenu.TabIndex = 12; this.msMainMenu.Text = "menuStrip1"; this.msMainMenu.Visible = false; this.gpgLabelChangeAccount.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.gpgLabelChangeAccount.AutoGrowDirection = GrowDirections.None; this.gpgLabelChangeAccount.AutoSize = true; this.gpgLabelChangeAccount.AutoStyle = true; this.gpgLabelChangeAccount.Font = new Font("Arial", 9.75f); this.gpgLabelChangeAccount.ForeColor = Color.White; this.gpgLabelChangeAccount.IgnoreMouseWheel = false; this.gpgLabelChangeAccount.IsStyled = false; this.gpgLabelChangeAccount.Location = new Point(13, 0x19c); this.gpgLabelChangeAccount.Name = "gpgLabelChangeAccount"; this.gpgLabelChangeAccount.Size = new Size(180, 0x10); base.ttDefault.SetSuperTip(this.gpgLabelChangeAccount, null); this.toolTipController1.SetSuperTip(this.gpgLabelChangeAccount, null); this.gpgLabelChangeAccount.TabIndex = 0x18; this.gpgLabelChangeAccount.Text = "<LOC>Change account name"; this.gpgLabelChangeAccount.TextStyle = TextStyles.Link; this.gpgLabelChangeAccount.Click += new EventHandler(this.gpgLabelChangeAccount_Click); this.lLostUsername.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.lLostUsername.AutoGrowDirection = GrowDirections.None; this.lLostUsername.AutoSize = true; this.lLostUsername.AutoStyle = true; this.lLostUsername.Font = new Font("Arial", 9.75f); this.lLostUsername.ForeColor = Color.White; this.lLostUsername.IgnoreMouseWheel = false; this.lLostUsername.IsStyled = false; this.lLostUsername.Location = new Point(13, 0x1ac); this.lLostUsername.Name = "lLostUsername"; this.lLostUsername.Size = new Size(0xac, 0x10); base.ttDefault.SetSuperTip(this.lLostUsername, null); this.toolTipController1.SetSuperTip(this.lLostUsername, null); this.lLostUsername.TabIndex = 0x19; this.lLostUsername.Text = "<LOC>Lost your username?"; this.lLostUsername.TextStyle = TextStyles.Link; this.lLostUsername.Click += new EventHandler(this.lLostUsername_Click); this.gpgPictureBox1.Image = Resources.gpgnetlogo; this.gpgPictureBox1.Location = new Point(0x41, 0x45); this.gpgPictureBox1.Name = "gpgPictureBox1"; this.gpgPictureBox1.Size = new Size(0xeb, 0x2d); this.gpgPictureBox1.SizeMode = PictureBoxSizeMode.AutoSize; base.ttDefault.SetSuperTip(this.gpgPictureBox1, null); this.toolTipController1.SetSuperTip(this.gpgPictureBox1, null); this.gpgPictureBox1.TabIndex = 0x1a; this.gpgPictureBox1.TabStop = false; this.ddGame.BackColor = Color.Black; this.ddGame.BorderColor = Color.Black; this.ddGame.DoValidate = true; this.ddGame.FlatStyle = FlatStyle.Flat; this.ddGame.FocusBackColor = Color.White; this.ddGame.FocusBorderColor = Color.White; this.ddGame.ForeColor = Color.White; this.ddGame.FormattingEnabled = true; this.ddGame.Items.AddRange(new object[] { "Supreme Commander" }); this.ddGame.Location = new Point(0x10, 0xba); this.ddGame.Name = "ddGame"; this.ddGame.Size = new Size(0x123, 0x15); base.ttDefault.SetSuperTip(this.ddGame, null); this.toolTipController1.SetSuperTip(this.ddGame, null); this.ddGame.TabIndex = 0x1c; this.ddGame.SelectedValueChanged += new EventHandler(this.ddGame_SelectedValueChanged); this.lGame.AutoGrowDirection = GrowDirections.None; this.lGame.AutoSize = true; this.lGame.AutoStyle = true; this.lGame.Font = new Font("Arial", 9.75f, FontStyle.Bold); this.lGame.ForeColor = Color.White; this.lGame.IgnoreMouseWheel = false; this.lGame.IsStyled = false; this.lGame.Location = new Point(13, 0xa7); this.lGame.Name = "lGame"; this.lGame.Size = new Size(0x59, 0x10); base.ttDefault.SetSuperTip(this.lGame, null); this.toolTipController1.SetSuperTip(this.lGame, null); this.lGame.TabIndex = 0x1b; this.lGame.Text = "<LOC>Game"; this.lGame.TextStyle = TextStyles.Title; this.lManageGames.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this.lManageGames.AutoGrowDirection = GrowDirections.None; this.lManageGames.AutoStyle = true; this.lManageGames.Font = new Font("Arial", 9.75f); this.lManageGames.ForeColor = Color.White; this.lManageGames.IgnoreMouseWheel = false; this.lManageGames.IsStyled = false; this.lManageGames.Location = new Point(110, 0xa7); this.lManageGames.Name = "lManageGames"; this.lManageGames.Size = new Size(0xc5, 0x10); this.toolTipController1.SetSuperTip(this.lManageGames, null); base.ttDefault.SetSuperTip(this.lManageGames, null); this.lManageGames.TabIndex = 0x1d; this.lManageGames.Text = "<LOC>Manage Games"; this.lManageGames.TextAlign = ContentAlignment.TopRight; this.lManageGames.TextStyle = TextStyles.Link; this.lManageGames.Click += new EventHandler(this.lManageGames_Click); this.pbCurrentGame.Location = new Point(0x139, 0xae); this.pbCurrentGame.Name = "pbCurrentGame"; this.pbCurrentGame.Size = new Size(0x20, 0x20); base.ttDefault.SetSuperTip(this.pbCurrentGame, null); this.toolTipController1.SetSuperTip(this.pbCurrentGame, null); this.pbCurrentGame.TabIndex = 30; this.pbCurrentGame.TabStop = false; this.miMainGroup.DropDownItems.AddRange(new ToolStripItem[] { this.lOCRegisterNewUserToolStripMenuItem, this.lOCChangePasswordToolStripMenuItem, this.lOCResetPasswordToolStripMenuItem }); this.miMainGroup.Name = "miMainGroup"; this.miMainGroup.Padding = new Padding(0, 0, 4, 0); this.miMainGroup.Size = new Size(0x6a, 20); this.miMainGroup.Text = "<LOC>Account"; this.lOCRegisterNewUserToolStripMenuItem.Name = "lOCRegisterNewUserToolStripMenuItem"; this.lOCRegisterNewUserToolStripMenuItem.Size = new Size(210, 0x16); this.lOCRegisterNewUserToolStripMenuItem.Text = "<LOC>Register New User"; this.lOCRegisterNewUserToolStripMenuItem.Click += new EventHandler(this.lOCRegisterNewUserToolStripMenuItem_Click); this.lOCChangePasswordToolStripMenuItem.Name = "lOCChangePasswordToolStripMenuItem"; this.lOCChangePasswordToolStripMenuItem.Size = new Size(210, 0x16); this.lOCChangePasswordToolStripMenuItem.Text = "<LOC>Change Password"; this.lOCChangePasswordToolStripMenuItem.Click += new EventHandler(this.lOCChangePasswordToolStripMenuItem_Click); this.lOCResetPasswordToolStripMenuItem.Name = "lOCResetPasswordToolStripMenuItem"; this.lOCResetPasswordToolStripMenuItem.Size = new Size(210, 0x16); this.lOCResetPasswordToolStripMenuItem.Text = "<LOC>Email Password"; this.textBoxPassword.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.textBoxPassword.Location = new Point(0x10, 0x11c); this.textBoxPassword.Margin = new Padding(3, 4, 3, 4); this.textBoxPassword.Name = "textBoxPassword"; this.textBoxPassword.Properties.Appearance.BackColor = Color.Black; this.textBoxPassword.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190); this.textBoxPassword.Properties.Appearance.ForeColor = Color.White; this.textBoxPassword.Properties.Appearance.Options.UseBackColor = true; this.textBoxPassword.Properties.Appearance.Options.UseBorderColor = true; this.textBoxPassword.Properties.Appearance.Options.UseForeColor = true; this.textBoxPassword.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f); this.textBoxPassword.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(4, 6, 9); this.textBoxPassword.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2); this.textBoxPassword.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal; this.textBoxPassword.Properties.AppearanceFocused.Options.UseBackColor = true; this.textBoxPassword.Properties.AppearanceFocused.Options.UseBorderColor = true; this.textBoxPassword.Properties.BorderStyle = BorderStyles.Simple; this.textBoxPassword.Properties.LookAndFeel.SkinName = "London Liquid Sky"; this.textBoxPassword.Properties.LookAndFeel.Style = LookAndFeelStyle.Office2003; this.textBoxPassword.Properties.LookAndFeel.UseDefaultLookAndFeel = false; this.textBoxPassword.Properties.LookAndFeel.UseWindowsXPTheme = true; this.textBoxPassword.Properties.PasswordChar = '*'; this.textBoxPassword.Size = new Size(0x144, 20); this.textBoxPassword.TabIndex = 1; this.textBoxUsername.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.textBoxUsername.Location = new Point(0x10, 0xec); this.textBoxUsername.Margin = new Padding(3, 4, 3, 4); this.textBoxUsername.Name = "textBoxUsername"; this.textBoxUsername.Properties.Appearance.BackColor = Color.Black; this.textBoxUsername.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190); this.textBoxUsername.Properties.Appearance.ForeColor = Color.White; this.textBoxUsername.Properties.Appearance.Options.UseBackColor = true; this.textBoxUsername.Properties.Appearance.Options.UseBorderColor = true; this.textBoxUsername.Properties.Appearance.Options.UseForeColor = true; this.textBoxUsername.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f); this.textBoxUsername.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(4, 6, 9); this.textBoxUsername.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2); this.textBoxUsername.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal; this.textBoxUsername.Properties.AppearanceFocused.Options.UseBackColor = true; this.textBoxUsername.Properties.AppearanceFocused.Options.UseBorderColor = true; this.textBoxUsername.Properties.BorderStyle = BorderStyles.Simple; this.textBoxUsername.Properties.LookAndFeel.SkinName = "London Liquid Sky"; this.textBoxUsername.Properties.LookAndFeel.UseDefaultLookAndFeel = false; this.textBoxUsername.Size = new Size(0x144, 20); this.textBoxUsername.TabIndex = 0; base.AcceptButton = this.skinButtonOK; base.AutoScaleMode = AutoScaleMode.None; this.BackColor = Color.Black; base.CancelButton = this.skinButtonCancel; base.ClientSize = new Size(0x16a, 0x23f); base.Controls.Add(this.pbCurrentGame); base.Controls.Add(this.lManageGames); base.Controls.Add(this.ddGame); base.Controls.Add(this.lGame); base.Controls.Add(this.gpgPictureBox1); base.Controls.Add(this.lLostUsername); base.Controls.Add(this.gpgLabelChangeAccount); base.Controls.Add(this.skinButtonCancel); base.Controls.Add(this.skinButtonOK); base.Controls.Add(this.gpgLabelLostPwd); base.Controls.Add(this.gpgLabelChangePwd); base.Controls.Add(this.gpgLabelCreateAcct); base.Controls.Add(this.ddServer); base.Controls.Add(this.lServer); base.Controls.Add(this.cbAutlogin); base.Controls.Add(this.labelError); base.Controls.Add(this.textBoxPassword); base.Controls.Add(this.gpgLabel1); base.Controls.Add(this.labelLogin); base.Controls.Add(this.gpgLabel2); base.Controls.Add(this.textBoxUsername); base.Controls.Add(this.checkBoxRemember); base.Controls.Add(this.msMainMenu); this.DoubleBuffered = true; this.Font = new Font("Verdana", 8f); base.Location = new Point(0, 0); base.Margin = new Padding(3, 5, 3, 5); base.MaximizeBox = false; this.MaximumSize = new Size(0x16a, 0x23f); this.MinimumSize = new Size(0x16a, 0x23f); base.Name = "DlgLogin"; this.toolTipController1.SetSuperTip(this, null); base.ttDefault.SetSuperTip(this, null); this.Text = "<LOC>Sign in to GPGnet: Supreme Commander"; base.Load += new EventHandler(this.DlgLogin_Load); base.Controls.SetChildIndex(this.msMainMenu, 0); base.Controls.SetChildIndex(this.checkBoxRemember, 0); base.Controls.SetChildIndex(this.textBoxUsername, 0); base.Controls.SetChildIndex(this.gpgLabel2, 0); base.Controls.SetChildIndex(this.labelLogin, 0); base.Controls.SetChildIndex(this.gpgLabel1, 0); base.Controls.SetChildIndex(this.textBoxPassword, 0); base.Controls.SetChildIndex(this.labelError, 0); base.Controls.SetChildIndex(this.cbAutlogin, 0); base.Controls.SetChildIndex(this.lServer, 0); base.Controls.SetChildIndex(this.ddServer, 0); base.Controls.SetChildIndex(this.gpgLabelCreateAcct, 0); base.Controls.SetChildIndex(this.gpgLabelChangePwd, 0); base.Controls.SetChildIndex(this.gpgLabelLostPwd, 0); base.Controls.SetChildIndex(this.skinButtonOK, 0); base.Controls.SetChildIndex(this.skinButtonCancel, 0); base.Controls.SetChildIndex(this.gpgLabelChangeAccount, 0); base.Controls.SetChildIndex(this.lLostUsername, 0); base.Controls.SetChildIndex(this.gpgPictureBox1, 0); base.Controls.SetChildIndex(this.lGame, 0); base.Controls.SetChildIndex(this.ddGame, 0); base.Controls.SetChildIndex(this.lManageGames, 0); base.Controls.SetChildIndex(this.pbCurrentGame, 0); ((ISupportInitialize) base.pbBottom).EndInit(); this.barAndDockingController1.EndInit(); ((ISupportInitialize) this.gpgPictureBox1).EndInit(); ((ISupportInitialize) this.pbCurrentGame).EndInit(); this.textBoxPassword.Properties.EndInit(); this.textBoxUsername.Properties.EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MainForm)); this.barDockMgr = new DevExpress.XtraBars.BarAndDockingController(this.components); this.dockMgr = new DevExpress.XtraBars.Docking.DockManager(); this.pnlCountersTree = new DevExpress.XtraBars.Docking.DockPanel(); this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); this.cmdNewTab = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem1 = new DevExpress.XtraBars.BarSubItem(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem2 = new DevExpress.XtraBars.BarSubItem(); this.lsttopToolbarImages = new DevExpress.Utils.ImageCollection(this.components); this.tabsMgr = new DevExpress.XtraTabbedMdi.XtraTabbedMdiManager(this.components); this.defaultLookAndFeel1 = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components); this.imgRibbon = new DevExpress.Utils.ImageCollection(this.components); this.bar4 = new DevExpress.XtraBars.Bar(); this.ribbonMain = new DevExpress.XtraBars.Ribbon.RibbonControl(); this.barButtonGroup1 = new DevExpress.XtraBars.BarButtonGroup(); this.chkPanelCounters = new DevExpress.XtraBars.BarCheckItem(); this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem(); this.cmdScaleUp = new DevExpress.XtraBars.BarButtonItem(); this.cmdScaleDown = new DevExpress.XtraBars.BarButtonItem(); this.cmdAddCounters = new DevExpress.XtraBars.BarButtonItem(); this.cmdCreateRootNode = new DevExpress.XtraBars.BarButtonItem(); this.cmdCreateChildNode = new DevExpress.XtraBars.BarButtonItem(); this.cmdRemoveNode = new DevExpress.XtraBars.BarButtonItem(); this.cmdCreateFolderFromActiveMonitor = new DevExpress.XtraBars.BarButtonItem(); this.cmdSaveCountersToCurrentFolder = new DevExpress.XtraBars.BarButtonItem(); this.cmdSetCounterMachineNames = new DevExpress.XtraBars.BarButtonItem(); this.cmdAddNodeToNewTab = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem13 = new DevExpress.XtraBars.BarButtonItem(); this.chkTextReport = new DevExpress.XtraBars.BarCheckItem(); this.chkShowToolbar = new DevExpress.XtraBars.BarCheckItem(); this.chkLegend = new DevExpress.XtraBars.BarCheckItem(); this.chkShowVGrid = new DevExpress.XtraBars.BarCheckItem(); this.chkShowHGrid = new DevExpress.XtraBars.BarCheckItem(); this.barStaticItem2 = new DevExpress.XtraBars.BarStaticItem(); this.cmdRenameFolder = new DevExpress.XtraBars.BarButtonItem(); this.cmdRenameTab = new DevExpress.XtraBars.BarButtonItem(); this.barButtonGroup2 = new DevExpress.XtraBars.BarButtonGroup(); this.cmdImport = new DevExpress.XtraBars.BarButtonItem(); this.cmdExport = new DevExpress.XtraBars.BarButtonItem(); this.barButtonGroup3 = new DevExpress.XtraBars.BarButtonGroup(); this.barButtonGroup4 = new DevExpress.XtraBars.BarButtonGroup(); this.barButtonGroup5 = new DevExpress.XtraBars.BarButtonGroup(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem6 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem7 = new DevExpress.XtraBars.BarButtonItem(); this.lblVersionCaption = new DevExpress.XtraBars.BarStaticItem(); this.lblVersion = new DevExpress.XtraBars.BarStaticItem(); this.cmdCloseTab = new DevExpress.XtraBars.BarButtonItem(); this.cmdSetInstanceName = new DevExpress.XtraBars.BarButtonItem(); this.ribPageGeneral = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup4 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup16 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribPageActiveMonitor = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroup5 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup6 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup3 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup15 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribPageLibFolder = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroup7 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup12 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup10 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup11 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribPageLibCounter = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroup13 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup14 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroup17 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup18 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup19 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup20 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonStatusBar1 = new DevExpress.XtraBars.Ribbon.RibbonStatusBar(); this.ribbonPageGroup8 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup9 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components); this.popupMenu2 = new DevExpress.XtraBars.PopupMenu(this.components); this.popupMenu3 = new DevExpress.XtraBars.PopupMenu(this.components); this.toolTipController1 = new DevExpress.Utils.ToolTipController(this.components); ((System.ComponentModel.ISupportInitialize)(this.barDockMgr)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dockMgr)).BeginInit(); this.pnlCountersTree.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.lsttopToolbarImages)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tabsMgr)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imgRibbon)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu3)).BeginInit(); this.SuspendLayout(); // // barDockMgr // this.barDockMgr.AppearancesRibbon.PageHeader.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); this.barDockMgr.AppearancesRibbon.PageHeader.BackColor2 = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(192)), ((System.Byte)(192))); this.barDockMgr.AppearancesRibbon.PageHeader.Options.UseBackColor = true; this.barDockMgr.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Flat; this.barDockMgr.PaintStyleName = "Skin"; this.barDockMgr.PropertiesBar.AllowLinkLighting = false; // // dockMgr // this.dockMgr.Controller = this.barDockMgr; this.dockMgr.Form = this; this.dockMgr.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { this.pnlCountersTree}); this.dockMgr.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "System.Windows.Forms.StatusBar", "DevExpress.XtraBars.Ribbon.RibbonStatusBar", "DevExpress.XtraBars.Ribbon.RibbonControl"}); // // pnlCountersTree // this.pnlCountersTree.Controls.Add(this.dockPanel1_Container); this.pnlCountersTree.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left; this.pnlCountersTree.ID = new System.Guid("67d03641-787f-4ee4-abc7-e67c35e02bd4"); this.pnlCountersTree.Location = new System.Drawing.Point(0, 144); this.pnlCountersTree.Name = "pnlCountersTree"; this.pnlCountersTree.Size = new System.Drawing.Size(206, 326); this.pnlCountersTree.Text = "Counter Library"; // // dockPanel1_Container // this.dockPanel1_Container.Location = new System.Drawing.Point(3, 25); this.dockPanel1_Container.Name = "dockPanel1_Container"; this.dockPanel1_Container.Size = new System.Drawing.Size(200, 298); this.dockPanel1_Container.TabIndex = 0; // // cmdNewTab // this.cmdNewTab.Caption = "&New tab"; this.cmdNewTab.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdNewTab.Glyph"))); this.cmdNewTab.Hint = "New Tab"; this.cmdNewTab.Id = 3; this.cmdNewTab.ImageIndex = 0; this.cmdNewTab.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)); this.cmdNewTab.Name = "cmdNewTab"; this.cmdNewTab.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdNewTab_ItemClick); // // barSubItem1 // this.barSubItem1.Caption = "&File"; this.barSubItem1.Id = 0; this.barSubItem1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1)}); this.barSubItem1.Name = "barSubItem1"; // // barButtonItem1 // this.barButtonItem1.Caption = "E&xit"; this.barButtonItem1.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem1.Glyph"))); this.barButtonItem1.Hint = "Exit"; this.barButtonItem1.Id = 1; this.barButtonItem1.ImageIndex = 1; this.barButtonItem1.Name = "barButtonItem1"; // // barSubItem2 // this.barSubItem2.Caption = "&Tabs"; this.barSubItem2.Id = 2; this.barSubItem2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.cmdNewTab)}); this.barSubItem2.Name = "barSubItem2"; // // lsttopToolbarImages // this.lsttopToolbarImages.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("lsttopToolbarImages.ImageStream"))); // // tabsMgr // this.tabsMgr.AllowDragDrop = DevExpress.Utils.DefaultBoolean.True; this.tabsMgr.AppearancePage.HeaderActive.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192))); this.tabsMgr.AppearancePage.HeaderActive.BorderColor = System.Drawing.Color.Red; this.tabsMgr.AppearancePage.HeaderActive.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.tabsMgr.AppearancePage.HeaderActive.Options.UseBackColor = true; this.tabsMgr.AppearancePage.HeaderActive.Options.UseBorderColor = true; this.tabsMgr.AppearancePage.HeaderActive.Options.UseFont = true; this.tabsMgr.Controller = this.barDockMgr; this.tabsMgr.HeaderButtons = ((DevExpress.XtraTab.TabButtons)(((DevExpress.XtraTab.TabButtons.Prev | DevExpress.XtraTab.TabButtons.Next) | DevExpress.XtraTab.TabButtons.Close))); this.tabsMgr.MdiParent = this; this.tabsMgr.SelectedPageChanged += new System.EventHandler(this.tabsMgr_SelectedPageChanged); this.tabsMgr.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tabsMgr_MouseDown); // // defaultLookAndFeel1 // this.defaultLookAndFeel1.LookAndFeel.SkinName = "The Asphalt World"; // // imgRibbon // this.imgRibbon.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("imgRibbon.ImageStream"))); // // bar4 // this.bar4.BarName = "barActions"; this.bar4.DockCol = 0; this.bar4.DockRow = 0; this.bar4.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar4.FloatLocation = new System.Drawing.Point(229, 161); this.bar4.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1)}); this.bar4.OptionsBar.AllowDelete = true; this.bar4.OptionsBar.AllowQuickCustomization = false; this.bar4.OptionsBar.DisableClose = true; this.bar4.OptionsBar.DisableCustomization = true; this.bar4.OptionsBar.DrawDragBorder = false; this.bar4.OptionsBar.UseWholeRow = true; this.bar4.Text = "Actions"; // // ribbonMain // this.ribbonMain.Images = this.imgRibbon; this.ribbonMain.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barSubItem1, this.barButtonItem1, this.barSubItem2, this.cmdNewTab, this.barButtonGroup1, this.chkPanelCounters, this.barStaticItem1, this.cmdScaleUp, this.cmdScaleDown, this.cmdAddCounters, this.cmdCreateRootNode, this.cmdCreateChildNode, this.cmdRemoveNode, this.cmdCreateFolderFromActiveMonitor, this.cmdSaveCountersToCurrentFolder, this.cmdSetCounterMachineNames, this.cmdAddNodeToNewTab, this.barButtonItem13, this.chkTextReport, this.chkShowToolbar, this.chkLegend, this.chkShowVGrid, this.chkShowHGrid, this.barStaticItem2, this.cmdRenameFolder, this.cmdRenameTab, this.barButtonGroup2, this.cmdImport, this.cmdExport, this.barButtonGroup3, this.barButtonGroup4, this.barButtonGroup5, this.barButtonItem2, this.barButtonItem3, this.barButtonItem4, this.barButtonItem5, this.barButtonItem6, this.barButtonItem7, this.lblVersionCaption, this.lblVersion, this.cmdCloseTab, this.cmdSetInstanceName}); this.ribbonMain.Location = new System.Drawing.Point(0, 0); this.ribbonMain.MaxItemId = 42; this.ribbonMain.Name = "ribbonMain"; this.ribbonMain.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { this.ribPageGeneral, this.ribPageActiveMonitor, this.ribPageLibFolder, this.ribPageLibCounter, this.ribbonPage1}); this.ribbonMain.SelectedPage = this.ribPageActiveMonitor; this.ribbonMain.Size = new System.Drawing.Size(712, 144); this.ribbonMain.Toolbar.ItemLinks.Add(this.barButtonItem1); this.ribbonMain.Toolbar.ItemLinks.Add(this.cmdNewTab, true); this.ribbonMain.Toolbar.ItemLinks.Add(this.cmdRenameTab); this.ribbonMain.Toolbar.ItemLinks.Add(this.cmdAddCounters, true); this.ribbonMain.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Below; this.ribbonMain.SelectedPageChanged += new System.EventHandler(this.ribbonMain_SelectedPageChanged); // // barButtonGroup1 // this.barButtonGroup1.Caption = "barButtonGroup1"; this.barButtonGroup1.Id = 0; this.barButtonGroup1.Name = "barButtonGroup1"; // // chkPanelCounters // this.chkPanelCounters.Caption = "Show Counter Library"; this.chkPanelCounters.Checked = true; this.chkPanelCounters.Glyph = ((System.Drawing.Image)(resources.GetObject("chkPanelCounters.Glyph"))); this.chkPanelCounters.Hint = "Show counter library panel"; this.chkPanelCounters.Id = 1; this.chkPanelCounters.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.L)); this.chkPanelCounters.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("chkPanelCounters.LargeGlyph"))); this.chkPanelCounters.Name = "chkPanelCounters"; this.chkPanelCounters.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.Caption; this.chkPanelCounters.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkPanelCounters_CheckedChanged); // // barStaticItem1 // this.barStaticItem1.Caption = "Actions on the active perfomance monitor"; this.barStaticItem1.Glyph = ((System.Drawing.Image)(resources.GetObject("barStaticItem1.Glyph"))); this.barStaticItem1.Id = 2; this.barStaticItem1.Name = "barStaticItem1"; this.barStaticItem1.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.Large; this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near; // // cmdScaleUp // this.cmdScaleUp.Caption = "Scale up"; this.cmdScaleUp.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdScaleUp.Glyph"))); this.cmdScaleUp.Hint = "Scale up current counter"; this.cmdScaleUp.Id = 3; this.cmdScaleUp.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.Add); this.cmdScaleUp.Name = "cmdScaleUp"; this.cmdScaleUp.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdScaleUp_ItemClick); // // cmdScaleDown // this.cmdScaleDown.Caption = "Scale down "; this.cmdScaleDown.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdScaleDown.Glyph"))); this.cmdScaleDown.Hint = "Scale down current counter"; this.cmdScaleDown.Id = 4; this.cmdScaleDown.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.Subtract); this.cmdScaleDown.Name = "cmdScaleDown"; this.cmdScaleDown.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem3_ItemClick); // // cmdAddCounters // this.cmdAddCounters.Caption = "Add counter(s)"; this.cmdAddCounters.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdAddCounters.Glyph"))); this.cmdAddCounters.Hint = "Add Counters..."; this.cmdAddCounters.Id = 5; this.cmdAddCounters.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)); this.cmdAddCounters.Name = "cmdAddCounters"; this.cmdAddCounters.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdAddCounters_ItemClick); // // cmdCreateRootNode // this.cmdCreateRootNode.Caption = "Create Root"; this.cmdCreateRootNode.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdCreateRootNode.Glyph"))); this.cmdCreateRootNode.Hint = "Create root folder in library"; this.cmdCreateRootNode.Id = 6; this.cmdCreateRootNode.Name = "cmdCreateRootNode"; this.cmdCreateRootNode.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdCreateRootNode_ItemClick); // // cmdCreateChildNode // this.cmdCreateChildNode.Caption = "Create Child"; this.cmdCreateChildNode.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdCreateChildNode.Glyph"))); this.cmdCreateChildNode.Hint = "Create sub folder in library"; this.cmdCreateChildNode.Id = 7; this.cmdCreateChildNode.Name = "cmdCreateChildNode"; this.cmdCreateChildNode.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdCreateChildNode_ItemClick); // // cmdRemoveNode // this.cmdRemoveNode.Caption = "&Remove"; this.cmdRemoveNode.Hint = "Remove folder or counter from library"; this.cmdRemoveNode.Id = 8; this.cmdRemoveNode.ImageIndex = 1; this.cmdRemoveNode.Name = "cmdRemoveNode"; this.cmdRemoveNode.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdRemoveNode_ItemClick); // // cmdCreateFolderFromActiveMonitor // this.cmdCreateFolderFromActiveMonitor.Caption = "Import Tab Counters to new folder"; this.cmdCreateFolderFromActiveMonitor.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdCreateFolderFromActiveMonitor.Glyph"))); this.cmdCreateFolderFromActiveMonitor.Hint = "Import tab counters to a new library folder"; this.cmdCreateFolderFromActiveMonitor.Id = 10; this.cmdCreateFolderFromActiveMonitor.ItemShortcut = new DevExpress.XtraBars.BarShortcut(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.N)); this.cmdCreateFolderFromActiveMonitor.Name = "cmdCreateFolderFromActiveMonitor"; this.cmdCreateFolderFromActiveMonitor.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdCreateFolderFromActiveMonitor_ItemClick); // // cmdSaveCountersToCurrentFolder // this.cmdSaveCountersToCurrentFolder.Caption = "Import tab counters to selected folder"; this.cmdSaveCountersToCurrentFolder.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdSaveCountersToCurrentFolder.Glyph"))); this.cmdSaveCountersToCurrentFolder.Hint = "Import tab counters to the selected library folder"; this.cmdSaveCountersToCurrentFolder.Id = 11; this.cmdSaveCountersToCurrentFolder.ItemShortcut = new DevExpress.XtraBars.BarShortcut(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.F)); this.cmdSaveCountersToCurrentFolder.Name = "cmdSaveCountersToCurrentFolder"; this.cmdSaveCountersToCurrentFolder.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdSaveCountersToCurrentFolder_ItemClick); // // cmdSetCounterMachineNames // this.cmdSetCounterMachineNames.Caption = "Set machine name"; this.cmdSetCounterMachineNames.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdSetCounterMachineNames.Glyph"))); this.cmdSetCounterMachineNames.Hint = "set the machine name for the library counter(s)"; this.cmdSetCounterMachineNames.Id = 12; this.cmdSetCounterMachineNames.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.M)); this.cmdSetCounterMachineNames.Name = "cmdSetCounterMachineNames"; this.cmdSetCounterMachineNames.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdChangeMachinNameForCOunters_ItemClick); // // cmdAddNodeToNewTab // this.cmdAddNodeToNewTab.Caption = "Add folder to new tab"; this.cmdAddNodeToNewTab.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdAddNodeToNewTab.Glyph"))); this.cmdAddNodeToNewTab.Hint = "add this library folder\'s counters to a new tab"; this.cmdAddNodeToNewTab.Id = 13; this.cmdAddNodeToNewTab.ItemShortcut = new DevExpress.XtraBars.BarShortcut(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.Right)); this.cmdAddNodeToNewTab.Name = "cmdAddNodeToNewTab"; this.cmdAddNodeToNewTab.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdAddNodeToNewTab_ItemClick); // // barButtonItem13 // this.barButtonItem13.Caption = "Add to selected tab"; this.barButtonItem13.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem13.Glyph"))); this.barButtonItem13.Hint = "add this library folder/counter to the current tab"; this.barButtonItem13.Id = 16; this.barButtonItem13.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Right)); this.barButtonItem13.Name = "barButtonItem13"; this.barButtonItem13.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem13_ItemClick); // // chkTextReport // this.chkTextReport.Caption = "Text Report"; this.chkTextReport.Glyph = ((System.Drawing.Image)(resources.GetObject("chkTextReport.Glyph"))); this.chkTextReport.Hint = "Set the perfmon display to \"Text Report\""; this.chkTextReport.Id = 17; this.chkTextReport.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.R)); this.chkTextReport.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("chkTextReport.LargeGlyph"))); this.chkTextReport.Name = "chkTextReport"; this.chkTextReport.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkTextReport_CheckedChanged); // // chkShowToolbar // this.chkShowToolbar.Caption = "Toolbar"; this.chkShowToolbar.Checked = true; this.chkShowToolbar.Glyph = ((System.Drawing.Image)(resources.GetObject("chkShowToolbar.Glyph"))); this.chkShowToolbar.Hint = "Show/Hide the perfmon toolbar"; this.chkShowToolbar.Id = 18; this.chkShowToolbar.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.T)); this.chkShowToolbar.Name = "chkShowToolbar"; this.chkShowToolbar.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkShowToolbar_CheckedChanged); // // chkLegend // this.chkLegend.Caption = "Legend"; this.chkLegend.Checked = true; this.chkLegend.Glyph = ((System.Drawing.Image)(resources.GetObject("chkLegend.Glyph"))); this.chkLegend.Hint = "Show/Hide the perfmon legend"; this.chkLegend.Id = 19; this.chkLegend.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.L)); this.chkLegend.Name = "chkLegend"; this.chkLegend.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkLegend_CheckedChanged); // // chkShowVGrid // this.chkShowVGrid.Caption = "Vertical Grid Lines"; this.chkShowVGrid.Glyph = ((System.Drawing.Image)(resources.GetObject("chkShowVGrid.Glyph"))); this.chkShowVGrid.Hint = "Show/Hide perfmon vertical grid lines"; this.chkShowVGrid.Id = 20; this.chkShowVGrid.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.V)); this.chkShowVGrid.Name = "chkShowVGrid"; this.chkShowVGrid.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkShowVGrid_CheckedChanged); // // chkShowHGrid // this.chkShowHGrid.Caption = "Horizontal Grid Lines"; this.chkShowHGrid.Glyph = ((System.Drawing.Image)(resources.GetObject("chkShowHGrid.Glyph"))); this.chkShowHGrid.Hint = "Show/Hide perfmon Horizontal grid lines"; this.chkShowHGrid.Id = 21; this.chkShowHGrid.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.H)); this.chkShowHGrid.Name = "chkShowHGrid"; this.chkShowHGrid.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkShowHGrid_CheckedChanged); // // barStaticItem2 // this.barStaticItem2.Caption = "Perf+ " + ""; this.barStaticItem2.Id = 22; this.barStaticItem2.Name = "barStaticItem2"; this.barStaticItem2.TextAlignment = System.Drawing.StringAlignment.Near; // // cmdRenameFolder // this.cmdRenameFolder.Caption = "&Rename"; this.cmdRenameFolder.Id = 23; this.cmdRenameFolder.Name = "cmdRenameFolder"; this.cmdRenameFolder.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdRenameFolder_ItemClick); // // cmdRenameTab // this.cmdRenameTab.Caption = "&Rename Tab"; this.cmdRenameTab.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdRenameTab.Glyph"))); this.cmdRenameTab.Hint = "Rename Tab"; this.cmdRenameTab.Id = 25; this.cmdRenameTab.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.R)); this.cmdRenameTab.Name = "cmdRenameTab"; this.cmdRenameTab.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdRenameTab_ItemClick); // // barButtonGroup2 // this.barButtonGroup2.Caption = "Share"; this.barButtonGroup2.Id = 26; this.barButtonGroup2.Name = "barButtonGroup2"; // // cmdImport // this.cmdImport.Caption = "&Import Library..."; this.cmdImport.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdImport.Glyph"))); this.cmdImport.Hint = "Import existing library counters from file"; this.cmdImport.Id = 27; this.cmdImport.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.I)); this.cmdImport.Name = "cmdImport"; this.cmdImport.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdImport_ItemClick); // // cmdExport // this.cmdExport.Caption = "Export Library..."; this.cmdExport.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdExport.Glyph"))); this.cmdExport.Hint = "Export coutner library to file"; this.cmdExport.Id = 28; this.cmdExport.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E)); this.cmdExport.Name = "cmdExport"; this.cmdExport.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdExport_ItemClick); // // barButtonGroup3 // this.barButtonGroup3.Caption = "barButtonGroup3"; this.barButtonGroup3.Id = 29; this.barButtonGroup3.Name = "barButtonGroup3"; // // barButtonGroup4 // this.barButtonGroup4.Caption = "View ptions"; this.barButtonGroup4.Id = 30; this.barButtonGroup4.ItemLinks.Add(this.chkLegend); this.barButtonGroup4.ItemLinks.Add(this.chkShowToolbar); this.barButtonGroup4.Name = "barButtonGroup4"; // // barButtonGroup5 // this.barButtonGroup5.Caption = "barButtonGroup5"; this.barButtonGroup5.Id = 31; this.barButtonGroup5.ItemLinks.Add(this.chkShowHGrid); this.barButtonGroup5.ItemLinks.Add(this.chkShowVGrid); this.barButtonGroup5.Name = "barButtonGroup5"; // // barButtonItem2 // this.barButtonItem2.Caption = "Team Agile"; this.barButtonItem2.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem2.Glyph"))); this.barButtonItem2.Id = 32; this.barButtonItem2.Name = "barButtonItem2"; this.barButtonItem2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem2_ItemClick); // // barButtonItem3 // this.barButtonItem3.Caption = "Other Tools from Roy"; this.barButtonItem3.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem3.Glyph"))); this.barButtonItem3.Id = 33; this.barButtonItem3.Name = "barButtonItem3"; this.barButtonItem3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem3_ItemClick_1); // // barButtonItem4 // this.barButtonItem4.Caption = "Roy\'s Blog"; this.barButtonItem4.Id = 34; this.barButtonItem4.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem4.LargeGlyph"))); this.barButtonItem4.Name = "barButtonItem4"; this.barButtonItem4.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem4_ItemClick); // // barButtonItem5 // this.barButtonItem5.Caption = "Bug/ Feature request"; this.barButtonItem5.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem5.Glyph"))); this.barButtonItem5.Id = 35; this.barButtonItem5.Name = "barButtonItem5"; this.barButtonItem5.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem5_ItemClick); // // barButtonItem6 // this.barButtonItem6.Caption = "Email the author"; this.barButtonItem6.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem6.Glyph"))); this.barButtonItem6.Id = 36; this.barButtonItem6.Name = "barButtonItem6"; this.barButtonItem6.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem6_ItemClick); // // barButtonItem7 // this.barButtonItem7.Caption = "barButtonItem7"; this.barButtonItem7.Id = 37; this.barButtonItem7.Name = "barButtonItem7"; // // lblVersionCaption // this.lblVersionCaption.Caption = "Version:"; this.lblVersionCaption.Id = 38; this.lblVersionCaption.Name = "lblVersionCaption"; this.lblVersionCaption.TextAlignment = System.Drawing.StringAlignment.Near; // // lblVersion // this.lblVersion.Caption = " 1.0 "; this.lblVersion.Id = 39; this.lblVersion.Name = "lblVersion"; this.lblVersion.TextAlignment = System.Drawing.StringAlignment.Near; // // cmdCloseTab // this.cmdCloseTab.Caption = "&Close"; this.cmdCloseTab.Id = 40; this.cmdCloseTab.Name = "cmdCloseTab"; // // cmdSetInstanceName // this.cmdSetInstanceName.Caption = "Set Target Application Instance"; this.cmdSetInstanceName.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdSetInstanceName.Glyph"))); this.cmdSetInstanceName.Hint = "Set the counter(s) target application instance"; this.cmdSetInstanceName.Id = 41; this.cmdSetInstanceName.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T)); this.cmdSetInstanceName.Name = "cmdSetInstanceName"; this.cmdSetInstanceName.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdSetInstanceName_ItemClick); // // ribPageGeneral // this.ribPageGeneral.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroup1, this.ribbonPageGroup2, this.ribbonPageGroup4, this.ribbonPageGroup16}); this.ribPageGeneral.Name = "ribPageGeneral"; this.ribPageGeneral.Text = "General"; // // ribbonPageGroup1 // this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem1); this.ribbonPageGroup1.Name = "ribbonPageGroup1"; this.ribbonPageGroup1.ShowCaptionButton = false; this.ribbonPageGroup1.Text = "Program"; // // ribbonPageGroup2 // this.ribbonPageGroup2.ItemLinks.Add(this.cmdNewTab); this.ribbonPageGroup2.ItemLinks.Add(this.cmdRenameTab); this.ribbonPageGroup2.Name = "ribbonPageGroup2"; this.ribbonPageGroup2.ShowCaptionButton = false; this.ribbonPageGroup2.Text = "Tabs"; // // ribbonPageGroup4 // this.ribbonPageGroup4.ItemLinks.Add(this.chkPanelCounters); this.ribbonPageGroup4.Name = "ribbonPageGroup4"; this.ribbonPageGroup4.Text = "Panels"; // // ribbonPageGroup16 // this.ribbonPageGroup16.ItemLinks.Add(this.cmdImport); this.ribbonPageGroup16.ItemLinks.Add(this.cmdExport); this.ribbonPageGroup16.Name = "ribbonPageGroup16"; this.ribbonPageGroup16.Text = "Share"; // // ribPageActiveMonitor // this.ribPageActiveMonitor.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroup5, this.ribbonPageGroup6, this.ribbonPageGroup3, this.ribbonPageGroup15}); this.ribPageActiveMonitor.Name = "ribPageActiveMonitor"; this.ribPageActiveMonitor.Text = "Active Monitor"; // // ribbonPageGroup5 // this.ribbonPageGroup5.ItemLinks.Add(this.cmdScaleUp); this.ribbonPageGroup5.ItemLinks.Add(this.cmdScaleDown); this.ribbonPageGroup5.Name = "ribbonPageGroup5"; this.ribbonPageGroup5.Text = "Active Counter"; // // ribbonPageGroup6 // this.ribbonPageGroup6.ItemLinks.Add(this.cmdAddCounters, true); this.ribbonPageGroup6.ItemLinks.Add(this.cmdRenameTab); this.ribbonPageGroup6.ItemLinks.Add(this.cmdNewTab); this.ribbonPageGroup6.Name = "ribbonPageGroup6"; this.ribbonPageGroup6.Text = "Monitor"; // // ribbonPageGroup3 // this.ribbonPageGroup3.ItemLinks.Add(this.barButtonGroup4); this.ribbonPageGroup3.ItemLinks.Add(this.barButtonGroup5); this.ribbonPageGroup3.ItemLinks.Add(this.chkTextReport); this.ribbonPageGroup3.Name = "ribbonPageGroup3"; this.ribbonPageGroup3.Text = "Toggle Visible"; // // ribbonPageGroup15 // this.ribbonPageGroup15.ItemLinks.Add(this.cmdCreateFolderFromActiveMonitor); this.ribbonPageGroup15.ItemLinks.Add(this.cmdSaveCountersToCurrentFolder); this.ribbonPageGroup15.Name = "ribbonPageGroup15"; this.ribbonPageGroup15.Text = "Library"; // // ribPageLibFolder // this.ribPageLibFolder.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroup7, this.ribbonPageGroup12, this.ribbonPageGroup10, this.ribbonPageGroup11}); this.ribPageLibFolder.Name = "ribPageLibFolder"; this.ribPageLibFolder.Text = "Library Folder"; // // ribbonPageGroup7 // this.ribbonPageGroup7.ItemLinks.Add(this.cmdCreateRootNode, true); this.ribbonPageGroup7.ItemLinks.Add(this.cmdCreateChildNode); this.ribbonPageGroup7.ItemLinks.Add(this.cmdRemoveNode, true); this.ribbonPageGroup7.ItemLinks.Add(this.cmdRenameFolder); this.ribbonPageGroup7.Name = "ribbonPageGroup7"; this.ribbonPageGroup7.Text = "Folders"; // // ribbonPageGroup12 // this.ribbonPageGroup12.ItemLinks.Add(this.cmdAddNodeToNewTab); this.ribbonPageGroup12.ItemLinks.Add(this.barButtonItem13); this.ribbonPageGroup12.Name = "ribbonPageGroup12"; this.ribbonPageGroup12.Text = "Monitor"; // // ribbonPageGroup10 // this.ribbonPageGroup10.ItemLinks.Add(this.cmdCreateFolderFromActiveMonitor); this.ribbonPageGroup10.ItemLinks.Add(this.cmdSaveCountersToCurrentFolder); this.ribbonPageGroup10.Name = "ribbonPageGroup10"; this.ribbonPageGroup10.Text = "Import"; // // ribbonPageGroup11 // this.ribbonPageGroup11.ItemLinks.Add(this.cmdSetCounterMachineNames); this.ribbonPageGroup11.ItemLinks.Add(this.cmdSetInstanceName); this.ribbonPageGroup11.Name = "ribbonPageGroup11"; this.ribbonPageGroup11.Text = "Current Folder\\Counter"; // // ribPageLibCounter // this.ribPageLibCounter.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroup13, this.ribbonPageGroup14}); this.ribPageLibCounter.Name = "ribPageLibCounter"; this.ribPageLibCounter.Text = "Library Counter"; // // ribbonPageGroup13 // this.ribbonPageGroup13.ItemLinks.Add(this.cmdSetCounterMachineNames); this.ribbonPageGroup13.Name = "ribbonPageGroup13"; this.ribbonPageGroup13.Text = "Modify Counter"; // // ribbonPageGroup14 // this.ribbonPageGroup14.ItemLinks.Add(this.cmdAddNodeToNewTab); this.ribbonPageGroup14.ItemLinks.Add(this.barButtonItem13); this.ribbonPageGroup14.Name = "ribbonPageGroup14"; this.ribbonPageGroup14.Text = "Monitor"; // // ribbonPage1 // this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroup17, this.ribbonPageGroup18, this.ribbonPageGroup19, this.ribbonPageGroup20}); this.ribbonPage1.Name = "ribbonPage1"; this.ribbonPage1.Text = "Help"; // // ribbonPageGroup17 // this.ribbonPageGroup17.ItemLinks.Add(this.lblVersionCaption); this.ribbonPageGroup17.ItemLinks.Add(this.lblVersion); this.ribbonPageGroup17.Name = "ribbonPageGroup17"; this.ribbonPageGroup17.Text = "About"; // // ribbonPageGroup18 // this.ribbonPageGroup18.ItemLinks.Add(this.barButtonItem2); this.ribbonPageGroup18.ItemLinks.Add(this.barButtonItem3); this.ribbonPageGroup18.ItemLinks.Add(this.barButtonItem4, true); this.ribbonPageGroup18.Name = "ribbonPageGroup18"; this.ribbonPageGroup18.Text = "Other Sites"; // // ribbonPageGroup19 // this.ribbonPageGroup19.ItemLinks.Add(this.barButtonItem5); this.ribbonPageGroup19.ItemLinks.Add(this.barButtonItem6); this.ribbonPageGroup19.Name = "ribbonPageGroup19"; this.ribbonPageGroup19.Text = "Support"; // // ribbonPageGroup20 // this.ribbonPageGroup20.Name = "ribbonPageGroup20"; this.ribbonPageGroup20.Text = "Videos"; // // ribbonStatusBar1 // this.ribbonStatusBar1.ItemLinks.Add(this.barStaticItem2); this.ribbonStatusBar1.ItemLinks.Add(this.cmdScaleUp); this.ribbonStatusBar1.ItemLinks.Add(this.cmdScaleDown); this.ribbonStatusBar1.Location = new System.Drawing.Point(0, 470); this.ribbonStatusBar1.Name = "ribbonStatusBar1"; this.ribbonStatusBar1.Ribbon = this.ribbonMain; this.ribbonStatusBar1.Size = new System.Drawing.Size(712, 24); // // ribbonPageGroup8 // this.ribbonPageGroup8.ItemLinks.Add(this.barStaticItem1); this.ribbonPageGroup8.Name = "ribbonPageGroup8"; this.ribbonPageGroup8.Text = "Description"; // // ribbonPageGroup9 // this.ribbonPageGroup9.ItemLinks.Add(this.barStaticItem1); this.ribbonPageGroup9.Name = "ribbonPageGroup9"; this.ribbonPageGroup9.Text = "Description"; // // popupMenu1 // this.popupMenu1.Name = "popupMenu1"; this.popupMenu1.Ribbon = this.ribbonMain; // // popupMenu2 // this.popupMenu2.Name = "popupMenu2"; this.popupMenu2.Ribbon = this.ribbonMain; // // popupMenu3 // this.popupMenu3.ItemLinks.Add(this.cmdRenameTab); this.popupMenu3.ItemLinks.Add(this.cmdCloseTab); this.popupMenu3.Name = "popupMenu3"; this.popupMenu3.Ribbon = this.ribbonMain; // // toolTipController1 // this.toolTipController1.Rounded = true; this.toolTipController1.ShowBeak = true; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(712, 494); this.Controls.Add(this.pnlCountersTree); this.Controls.Add(this.ribbonMain); this.Controls.Add(this.ribbonStatusBar1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IsMdiContainer = true; this.Name = "MainForm"; this.Text = "Perf+ (Alpha - Expires February 2007)"; this.Load += new System.EventHandler(this.MainForm_Load); ((System.ComponentModel.ISupportInitialize)(this.barDockMgr)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dockMgr)).EndInit(); this.pnlCountersTree.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.lsttopToolbarImages)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tabsMgr)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imgRibbon)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu3)).EndInit(); this.ResumeLayout(false); }