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 mainBarManager_Disposed(object sender, EventArgs e) { if (this.mainBarManager != null) { this.mainBarManager.Disposed -= new EventHandler(this.mainBarManager_Disposed); } this.modelSynchronizationManager.ModelSynchronizableComponents.Remove(this.barManager); this.barManager = null; this.mainBarManager = null; this._mainMenuBar = null; this._statusBar = null; this.standardToolBar = null; this.barDockControlBottom = null; this.barDockControlLeft = null; this.barDockControlRight = null; this.barDockControlTop = null; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RolesChangeRibbonForm)); this.sccRoles = new DevExpress.XtraEditors.SplitContainerControl(); this.cgcRole = new CommonLibrary.GridControlFolder.CommonGridControl(); this.bsRole = new System.Windows.Forms.BindingSource(); this.cgvRole = new CommonLibrary.GridControlFolder.CommonGridView(); this.colRoleName = new CommonLibrary.GridControlFolder.CommonGridColumn(); this.cgcUsers = new CommonLibrary.GridControlFolder.CommonGridControl(); this.bsRoleUsers = new System.Windows.Forms.BindingSource(); this.cgvUsers = new CommonLibrary.GridControlFolder.CommonGridView(); this.colSurnameInitials = new CommonLibrary.GridControlFolder.CommonGridColumn(); this.riccbeUsers = new DevExpress.XtraEditors.Repository.RepositoryItemCheckedComboBoxEdit(); this.toolTip = new DevExpress.Utils.ToolTipController(); this.sccUsers = new DevExpress.XtraEditors.SplitContainerControl(); this.cgcAllUsers = new CommonLibrary.GridControlFolder.CommonGridControl(); this.bsUser = new System.Windows.Forms.BindingSource(); this.cgvAllUsers = new CommonLibrary.GridControlFolder.CommonGridView(); this.colUserId = new CommonLibrary.GridControlFolder.CommonGridColumn(); this.colLastName = new CommonLibrary.GridControlFolder.CommonGridColumn(); this.colFirstName = new CommonLibrary.GridControlFolder.CommonGridColumn(); this.colMiddleName = new CommonLibrary.GridControlFolder.CommonGridColumn(); this.colIsLocked = new CommonLibrary.GridControlFolder.CommonGridColumn(); this.pmUsers = new DevExpress.XtraBars.PopupMenu(); this.bbiChangePassword = new DevExpress.XtraBars.BarButtonItem(); this.bbiRemovePassword = new DevExpress.XtraBars.BarButtonItem(); this.bbiLockUser = new DevExpress.XtraBars.BarButtonItem(); this.bbiUnlock = new DevExpress.XtraBars.BarButtonItem(); this.bm = new DevExpress.XtraBars.BarManager(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); ((System.ComponentModel.ISupportInitialize)(this.sccRoles)).BeginInit(); this.sccRoles.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.cgcRole)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bsRole)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cgvRole)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cgcUsers)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bsRoleUsers)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cgvUsers)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.riccbeUsers)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sccUsers)).BeginInit(); this.sccUsers.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.cgcAllUsers)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bsUser)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cgvAllUsers)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pmUsers)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bm)).BeginInit(); this.SuspendLayout(); // // sccRoles // this.sccRoles.Dock = System.Windows.Forms.DockStyle.Fill; this.sccRoles.Horizontal = false; this.sccRoles.Location = new System.Drawing.Point(0, 0); this.sccRoles.Name = "sccRoles"; this.sccRoles.Panel1.Controls.Add(this.cgcRole); this.sccRoles.Panel1.Text = "Panel1"; this.sccRoles.Panel2.Controls.Add(this.cgcUsers); this.sccRoles.Panel2.Text = "Panel2"; this.sccRoles.Size = new System.Drawing.Size(404, 681); this.sccRoles.SplitterPosition = 276; this.sccRoles.TabIndex = 2; this.sccRoles.Text = "sccRoles"; // // cgcRole // this.cgcRole.Cursor = System.Windows.Forms.Cursors.Default; this.cgcRole.DataSource = this.bsRole; this.cgcRole.Dock = System.Windows.Forms.DockStyle.Fill; this.cgcRole.Location = new System.Drawing.Point(0, 0); this.cgcRole.MainView = this.cgvRole; this.cgcRole.Name = "cgcRole"; this.cgcRole.Size = new System.Drawing.Size(404, 276); this.cgcRole.TabIndex = 3; this.cgcRole.UseEmbeddedNavigator = false; this.cgcRole.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.cgvRole}); // // bsRole // this.bsRole.DataSource = typeof(ServerInformation.Role); this.bsRole.CurrentChanged += new System.EventHandler(this.RoleCurrentChanged); // // cgvRole // this.cgvRole.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colRoleName}); this.cgvRole.CustomPopupMenu = null; this.cgvRole.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.cgvRole.GridControl = this.cgcRole; this.cgvRole.Name = "cgvRole"; this.cgvRole.NewItemRowText = "Кликните здесь для добавления новой роли"; this.cgvRole.OptionsBehavior.EditorShowMode = DevExpress.Utils.EditorShowMode.MouseDownFocused; this.cgvRole.OptionsCustomization.AllowQuickCustomisation = false; this.cgvRole.OptionsView.ShowDetailButtons = false; this.cgvRole.OptionsView.ShowGroupPanel = false; this.cgvRole.OptionsView.ShowViewCaption = true; this.cgvRole.ViewCaption = "Список ролей в системе"; this.cgvRole.DoBeforeDeleteRow += new CommonLibrary.GridControlFolder.CommonGridView.EventBeforeDelete(this.RoleBeforeDelete); this.cgvRole.DoCheckBeforeDrawIndicator += new System.EventHandler<CommonLibrary.UIFolder.GridControlFolder.EventRowHandlerArgs>(this.RoleDoCheckBeforeDrawIndicator); // // colRoleName // this.colRoleName.Caption = "Название роли"; this.colRoleName.FieldName = "Name"; this.colRoleName.Name = "colRoleName"; this.colRoleName.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways; this.colRoleName.Visible = true; this.colRoleName.VisibleIndex = 0; this.colRoleName.Width = 256; // // cgcUsers // this.cgcUsers.AllowDrop = true; this.cgcUsers.Cursor = System.Windows.Forms.Cursors.Default; this.cgcUsers.DataSource = this.bsRoleUsers; this.cgcUsers.Dock = System.Windows.Forms.DockStyle.Fill; this.cgcUsers.Location = new System.Drawing.Point(0, 0); this.cgcUsers.MainView = this.cgvUsers; this.cgcUsers.Name = "cgcUsers"; this.cgcUsers.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.riccbeUsers}); this.cgcUsers.Size = new System.Drawing.Size(404, 400); this.cgcUsers.TabIndex = 2; this.cgcUsers.UseEmbeddedNavigator = false; this.cgcUsers.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.cgvUsers}); // // bsRoleUsers // this.bsRoleUsers.AllowNew = false; this.bsRoleUsers.DataSource = typeof(ServerInformation.User); // // cgvUsers // this.cgvUsers.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colSurnameInitials}); this.cgvUsers.CustomPopupMenu = null; this.cgvUsers.FixedLineWidth = 1; this.cgvUsers.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.cgvUsers.GridControl = this.cgcUsers; this.cgvUsers.Name = "cgvUsers"; this.cgvUsers.NewItemRowText = "Кликните здесь для добавления пользователей к роли"; this.cgvUsers.OptionsCustomization.AllowAdd = false; this.cgvUsers.OptionsCustomization.AllowQuickCustomisation = false; this.cgvUsers.OptionsCustomization.AllowSelectionColumn = true; this.cgvUsers.OptionsSelection.CheckBoxSelectorColumnWidth = 25; this.cgvUsers.OptionsSelection.MultiSelect = true; this.cgvUsers.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect; this.cgvUsers.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Top; this.cgvUsers.OptionsView.ShowGroupPanel = false; this.cgvUsers.OptionsView.ShowViewCaption = true; this.cgvUsers.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colSurnameInitials, DevExpress.Data.ColumnSortOrder.Ascending)}); this.cgvUsers.ViewCaption = "Сотрудники, относящиеся к выбранной роли"; this.cgvUsers.CustomRowCellEdit += new DevExpress.XtraGrid.Views.Grid.CustomRowCellEditEventHandler(this.UsersCustomRowCellEdit); this.cgvUsers.ShowingEditor += new System.ComponentModel.CancelEventHandler(this.UsersShowingEditor); // // colSurnameInitials // this.colSurnameInitials.Caption = "Сотрудник"; this.colSurnameInitials.FieldName = "SurnameInitials"; this.colSurnameInitials.Name = "colSurnameInitials"; this.colSurnameInitials.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways; this.colSurnameInitials.Visible = true; this.colSurnameInitials.VisibleIndex = 1; this.colSurnameInitials.Width = 193; // // riccbeUsers // this.riccbeUsers.AutoHeight = false; this.riccbeUsers.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.riccbeUsers.DisplayMember = "SurnameInitials"; this.riccbeUsers.Name = "riccbeUsers"; this.riccbeUsers.SelectAllItemCaption = "Выбрать всё"; this.riccbeUsers.ValueMember = "Id"; this.riccbeUsers.EditValueChanged += new System.EventHandler(this.UsersEditValueChanged); // // toolTip // this.toolTip.Rounded = true; this.toolTip.ShowBeak = true; // // sccUsers // this.sccUsers.Dock = System.Windows.Forms.DockStyle.Fill; this.sccUsers.Location = new System.Drawing.Point(0, 0); this.sccUsers.Name = "sccUsers"; this.sccUsers.Panel1.Controls.Add(this.sccRoles); this.sccUsers.Panel1.Text = "Panel1"; this.sccUsers.Panel2.Controls.Add(this.cgcAllUsers); this.sccUsers.Panel2.Text = "Panel2"; this.sccUsers.Size = new System.Drawing.Size(1086, 681); this.sccUsers.SplitterPosition = 404; this.sccUsers.TabIndex = 3; this.sccUsers.Text = "sccUsers"; // // cgcAllUsers // this.cgcAllUsers.AllowDrop = true; this.cgcAllUsers.Cursor = System.Windows.Forms.Cursors.Default; this.cgcAllUsers.DataSource = this.bsUser; this.cgcAllUsers.Dock = System.Windows.Forms.DockStyle.Fill; this.cgcAllUsers.Location = new System.Drawing.Point(0, 0); this.cgcAllUsers.MainView = this.cgvAllUsers; this.cgcAllUsers.Name = "cgcAllUsers"; this.cgcAllUsers.Size = new System.Drawing.Size(677, 681); this.cgcAllUsers.TabIndex = 5; this.cgcAllUsers.UseEmbeddedNavigator = false; this.cgcAllUsers.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.cgvAllUsers}); // // bsUser // this.bsUser.DataSource = typeof(ServerInformation.User); // // cgvAllUsers // this.cgvAllUsers.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colUserId, this.colLastName, this.colFirstName, this.colMiddleName, this.colIsLocked}); this.cgvAllUsers.CustomPopupMenu = null; this.cgvAllUsers.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.cgvAllUsers.GridControl = this.cgcAllUsers; this.cgvAllUsers.Name = "cgvAllUsers"; this.cgvAllUsers.NewItemRowText = "Кликните здесь для добавления нового сотрудника"; this.cgvAllUsers.OptionsBehavior.EditorShowMode = DevExpress.Utils.EditorShowMode.MouseDownFocused; this.cgvAllUsers.OptionsCustomization.AllowDelete = false; this.cgvAllUsers.OptionsCustomization.AllowQuickCustomisation = false; this.cgvAllUsers.OptionsDetail.EnableMasterViewMode = false; this.cgvAllUsers.OptionsView.ShowGroupPanel = false; this.cgvAllUsers.OptionsView.ShowViewCaption = true; this.cgvAllUsers.ViewCaption = "Список всех пользователей в системе"; this.cgvAllUsers.DoCheckBeforeDrawIndicator += new System.EventHandler<CommonLibrary.UIFolder.GridControlFolder.EventRowHandlerArgs>(this.CheckBeforeDrawImage); this.cgvAllUsers.PopupMenuShowing += new DevExpress.XtraGrid.Views.Grid.PopupMenuShowingEventHandler(this.UserPopupMenuShowing); this.cgvAllUsers.CellValueChanging += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.AllUsersCellValueChanging); this.cgvAllUsers.ValidateRow += new DevExpress.XtraGrid.Views.Base.ValidateRowEventHandler(this.AllUsersValidateRow); // // colUserId // this.colUserId.FieldName = "Id"; this.colUserId.Name = "colUserId"; this.colUserId.OptionsColumn.ReadOnly = true; // // colLastName // this.colLastName.Caption = "Фамилия"; this.colLastName.FieldName = "LastName"; this.colLastName.Name = "colLastName"; this.colLastName.Visible = true; this.colLastName.VisibleIndex = 0; // // colFirstName // this.colFirstName.Caption = "Имя"; this.colFirstName.FieldName = "FirstName"; this.colFirstName.Name = "colFirstName"; this.colFirstName.Visible = true; this.colFirstName.VisibleIndex = 1; // // colMiddleName // this.colMiddleName.Caption = "Отчество"; this.colMiddleName.FieldName = "MiddleName"; this.colMiddleName.Name = "colMiddleName"; this.colMiddleName.Visible = true; this.colMiddleName.VisibleIndex = 2; // // colIsLocked // this.colIsLocked.Caption = "Заблокирован"; this.colIsLocked.FieldName = "IsLocked"; this.colIsLocked.Name = "colIsLocked"; this.colIsLocked.Visible = true; this.colIsLocked.VisibleIndex = 3; // // pmUsers // this.pmUsers.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.bbiChangePassword), new DevExpress.XtraBars.LinkPersistInfo(this.bbiRemovePassword), new DevExpress.XtraBars.LinkPersistInfo(this.bbiLockUser), new DevExpress.XtraBars.LinkPersistInfo(this.bbiUnlock)}); this.pmUsers.Manager = this.bm; this.pmUsers.Name = "pmUsers"; this.pmUsers.BeforePopup += new System.ComponentModel.CancelEventHandler(this.UsersBeforePopup); // // bbiChangePassword // this.bbiChangePassword.Caption = "Изменить пароль"; this.bbiChangePassword.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiChangePassword.Glyph"))); this.bbiChangePassword.Id = 4; this.bbiChangePassword.Name = "bbiChangePassword"; this.bbiChangePassword.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.NewPasswordUserClick); // // bbiRemovePassword // this.bbiRemovePassword.Caption = "Удалить пароль"; this.bbiRemovePassword.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiRemovePassword.Glyph"))); this.bbiRemovePassword.Id = 3; this.bbiRemovePassword.Name = "bbiRemovePassword"; this.bbiRemovePassword.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.RemovePasswordUserClick); // // bbiLockUser // this.bbiLockUser.Caption = "Заблокировать сотрудника"; this.bbiLockUser.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiLockUser.Glyph"))); this.bbiLockUser.Id = 5; this.bbiLockUser.Name = "bbiLockUser"; this.bbiLockUser.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.LockUserClick); // // bbiUnlock // this.bbiUnlock.Caption = "Разблокировать сотрудника"; this.bbiUnlock.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiUnlock.Glyph"))); this.bbiUnlock.Id = 6; this.bbiUnlock.Name = "bbiUnlock"; this.bbiUnlock.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.UnlockUserClick); // // bm // this.bm.DockControls.Add(this.barDockControlTop); this.bm.DockControls.Add(this.barDockControlBottom); this.bm.DockControls.Add(this.barDockControlLeft); this.bm.DockControls.Add(this.barDockControlRight); this.bm.Form = this; this.bm.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.bbiRemovePassword, this.bbiChangePassword, this.bbiLockUser, this.bbiUnlock}); this.bm.MaxItemId = 9; // // barDockControlTop // this.barDockControlTop.CausesValidation = false; this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Size = new System.Drawing.Size(1086, 0); // // barDockControlBottom // this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 681); this.barDockControlBottom.Size = new System.Drawing.Size(1086, 0); // // barDockControlLeft // this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 0); this.barDockControlLeft.Size = new System.Drawing.Size(0, 681); // // barDockControlRight // this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(1086, 0); this.barDockControlRight.Size = new System.Drawing.Size(0, 681); // // RolesChangeRibbonForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1086, 681); this.Controls.Add(this.sccUsers); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "RolesChangeRibbonForm"; this.ShowIcon = false; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Настройка ролей и сотрудников"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.RolesChangeRibbonFormLoad); this.Shown += new System.EventHandler(this.RolesChangeRibbonFormShown); ((System.ComponentModel.ISupportInitialize)(this.sccRoles)).EndInit(); this.sccRoles.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.cgcRole)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bsRole)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cgvRole)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cgcUsers)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bsRoleUsers)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cgvUsers)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.riccbeUsers)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sccUsers)).EndInit(); this.sccUsers.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.cgcAllUsers)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bsUser)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cgvAllUsers)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pmUsers)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bm)).EndInit(); this.ResumeLayout(false); }
/// <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(); this.BarraBotones = new BarManager(); this.bar1 = new Bar(); this.ToolNuevo = new BarButtonItem(); this.ToolEditar = new BarButtonItem(); this.ToolEliminar = new BarButtonItem(); this.ToolBuscar = new BarButtonItem(); this.ToolActualizar = new BarButtonItem(); this.barDockControlTop = new BarDockControl(); this.barDockControlBottom = new BarDockControl(); this.barDockControlLeft = new BarDockControl(); this.barDockControlRight = new BarDockControl(); this.splitContainerControl1 = new SplitContainerControl(); this.splitContainerControl2 = new SplitContainerControl(); this.grpCriterios = new GroupControl(); this.grpValores = new GroupControl(); this.btnBusqueda = new PlantillaBoton(); this.txtFiltro = new ButtonEdit(); this.grpGrilla = new GroupControl(); this.bar2 = new Bar(); this.lblEstado = new BarStaticItem(); this.BarraBotones.BeginInit(); this.splitContainerControl1.BeginInit(); this.splitContainerControl1.SuspendLayout(); this.splitContainerControl2.BeginInit(); this.splitContainerControl2.SuspendLayout(); this.grpCriterios.BeginInit(); this.grpValores.BeginInit(); this.grpValores.SuspendLayout(); this.txtFiltro.Properties.BeginInit(); this.grpGrilla.BeginInit(); base.SuspendLayout(); this.BarraBotones.AllowCustomization = false; this.BarraBotones.AllowQuickCustomization = false; this.BarraBotones.Bars.AddRange(new Bar[] { this.bar1, this.bar2 }); this.BarraBotones.DockControls.Add(this.barDockControlTop); this.BarraBotones.DockControls.Add(this.barDockControlBottom); this.BarraBotones.DockControls.Add(this.barDockControlLeft); this.BarraBotones.DockControls.Add(this.barDockControlRight); this.BarraBotones.Form = this; this.BarraBotones.Items.AddRange(new BarItem[] { this.ToolNuevo, this.ToolEditar, this.ToolEliminar, this.ToolBuscar, this.ToolActualizar, this.lblEstado }); this.BarraBotones.MaxItemId = 6; this.BarraBotones.StatusBar = this.bar2; this.bar1.BarName = "Herramientas"; this.bar1.DockCol = 0; this.bar1.DockRow = 0; this.bar1.DockStyle = BarDockStyle.Top; this.bar1.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo((BarItem)this.ToolNuevo), new LinkPersistInfo((BarItem)this.ToolEditar), new LinkPersistInfo((BarItem)this.ToolEliminar), new LinkPersistInfo((BarItem)this.ToolBuscar), new LinkPersistInfo((BarItem)this.ToolActualizar) }); this.bar1.Text = "Herramientas"; this.ToolNuevo.Caption = "&Nuevo"; this.ToolNuevo.Glyph = Resources.nuevo; this.ToolNuevo.Id = 0; this.ToolNuevo.Name = "ToolNuevo"; this.ToolNuevo.PaintStyle = BarItemPaintStyle.CaptionGlyph; this.ToolNuevo.ItemClick += new ItemClickEventHandler(this.btnNuevo_ItemClick); this.ToolEditar.Caption = "Ver/&Editar"; this.ToolEditar.Glyph = Resources.editar; this.ToolEditar.Id = 1; this.ToolEditar.Name = "ToolEditar"; this.ToolEditar.PaintStyle = BarItemPaintStyle.CaptionGlyph; this.ToolEditar.ItemClick +=new ItemClickEventHandler(this.btnEditar_ItemClick); this.ToolEliminar.Caption = "E&liminar"; this.ToolEliminar.Glyph = Resources.eliminar; this.ToolEliminar.Id = 2; this.ToolEliminar.Name = "ToolEliminar"; this.ToolEliminar.PaintStyle = BarItemPaintStyle.CaptionGlyph; this.ToolEliminar.ItemClick +=new ItemClickEventHandler(this.btnEliminar_ItemClick); this.ToolBuscar.Caption = "&Buscar"; this.ToolBuscar.Glyph = Resources.buscar; this.ToolBuscar.Id = 3; this.ToolBuscar.Name = "ToolBuscar"; this.ToolBuscar.PaintStyle = BarItemPaintStyle.CaptionGlyph; this.ToolBuscar.ItemClick +=new ItemClickEventHandler(this.btnBuscar_ItemClick); this.ToolActualizar.Caption = "&Refrescar"; this.ToolActualizar.Glyph = Resources.refrescar; this.ToolActualizar.Id = 4; this.ToolActualizar.Name = "ToolActualizar"; this.ToolActualizar.PaintStyle = BarItemPaintStyle.CaptionGlyph; this.ToolActualizar.ItemClick +=new ItemClickEventHandler(this.btnActualizar_ItemClick); this.barDockControlTop.CausesValidation = false; this.barDockControlTop.Dock = DockStyle.Top; this.barDockControlTop.Location = new Point(0, 0); this.barDockControlTop.Size = new Size(0x305, 0x1f); this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = DockStyle.Bottom; this.barDockControlBottom.Location = new Point(0, 0x1c5); this.barDockControlBottom.Size = new Size(0x305, 0x19); this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Dock = DockStyle.Left; this.barDockControlLeft.Location = new Point(0, 0x1f); this.barDockControlLeft.Size = new Size(0, 0x1a6); this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Dock = DockStyle.Right; this.barDockControlRight.Location = new Point(0x305, 0x1f); this.barDockControlRight.Size = new Size(0, 0x1a6); this.splitContainerControl1.Dock = DockStyle.Fill; this.splitContainerControl1.Horizontal = false; this.splitContainerControl1.Location = new Point(0, 0x1f); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.splitContainerControl2); this.splitContainerControl1.Panel1.Text = "Panel1"; this.splitContainerControl1.Panel2.Controls.Add(this.grpGrilla); this.splitContainerControl1.Panel2.Text = "Contenedor"; this.splitContainerControl1.Size = new Size(0x305, 0x1a6); this.splitContainerControl1.TabIndex = 14; this.splitContainerControl1.Text = "splitContainerControl1"; this.splitContainerControl2.Dock = DockStyle.Fill; this.splitContainerControl2.Location = new Point(0, 0); this.splitContainerControl2.Name = "splitContainerControl2"; this.splitContainerControl2.Panel1.Controls.Add(this.grpCriterios); this.splitContainerControl2.Panel1.Text = "Panel1"; this.splitContainerControl2.Panel2.Controls.Add(this.grpValores); this.splitContainerControl2.Panel2.Text = "Panel2"; this.splitContainerControl2.Size = new Size(0x305, 100); this.splitContainerControl2.SplitterPosition = 0x147; this.splitContainerControl2.TabIndex = 0; this.splitContainerControl2.Text = "splitContainerControl2"; this.grpCriterios.AppearanceCaption.Font = new Font("Tahoma", 11.25f, FontStyle.Bold, GraphicsUnit.Point, 0); this.grpCriterios.AppearanceCaption.Options.UseFont = true; this.grpCriterios.Dock = DockStyle.Fill; this.grpCriterios.Location = new Point(0, 0); this.grpCriterios.Name = "grpCriterios"; this.grpCriterios.Size = new Size(0x147, 100); this.grpCriterios.TabIndex = 0; this.grpCriterios.Text = "Criterios de Busqueda"; this.grpValores.AppearanceCaption.Font = new Font("Tahoma", 11.25f, FontStyle.Bold, GraphicsUnit.Point, 0); this.grpValores.AppearanceCaption.Options.UseFont = true; this.grpValores.Controls.Add(this.btnBusqueda); this.grpValores.Controls.Add(this.txtFiltro); this.grpValores.Dock = DockStyle.Fill; this.grpValores.Location = new Point(0, 0); this.grpValores.Name = "grpValores"; this.grpValores.Size = new Size(0x1b9, 100); this.grpValores.TabIndex = 0; this.grpValores.Text = "Valores"; this.btnBusqueda.CajaTexto = (TextEdit)this.txtFiltro; this.btnBusqueda.CajaTextoConBoton = null; this.btnBusqueda.Imagen = PlantillaBoton.TipoBoton.Buscar; this.btnBusqueda.Location = new Point(0x153, 0x26); this.btnBusqueda.Name = "btnBusqueda"; this.btnBusqueda.Size = new Size(0x23, 0x1b); this.btnBusqueda.TabIndex = 3; this.btnBusqueda.Click += new PlantillaBoton.BotonClick(this.btnBusqueda_Click); this.txtFiltro.Location = new Point(0x39, 0x2d); this.txtFiltro.MenuManager= (IDXMenuManager)this.BarraBotones; this.txtFiltro.Name = "txtFiltro"; this.txtFiltro.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton((ButtonPredefines)ButtonPredefines.Delete) }); this.txtFiltro.Size = new Size(0x114, 20); this.txtFiltro.TabIndex = 2; this.grpGrilla.AppearanceCaption.Font = new Font("Tahoma", 11.25f, FontStyle.Bold, GraphicsUnit.Point, 0); this.grpGrilla.AppearanceCaption.Options.UseFont = true; this.grpGrilla.Dock = DockStyle.Fill; this.grpGrilla.Location = new Point(0, 0); this.grpGrilla.Name = "grpGrilla"; this.grpGrilla.Size = new Size(0x305, 0x13d); this.grpGrilla.TabIndex = 0; this.grpGrilla.Text = "Lista de "; this.bar2.BarName = "Personalizada 3"; this.bar2.CanDockStyle = BarCanDockStyle.Bottom; this.bar2.DockCol = 0; this.bar2.DockRow = 0; this.bar2.DockStyle = BarDockStyle.Bottom; this.bar2.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(lblEstado) }); this.bar2.OptionsBar.AllowQuickCustomization = false; this.bar2.OptionsBar.DrawDragBorder = false; this.bar2.OptionsBar.UseWholeRow = true; this.bar2.Text = "Personalizada 3"; this.lblEstado.Caption = "Listo"; this.lblEstado.Id = 5; this.lblEstado.Name = "lblEstado"; this.lblEstado.TextAlignment = StringAlignment.Near; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(0x305, 0x1de); base.Controls.Add(this.splitContainerControl1); base.Controls.Add(this.barDockControlLeft); base.Controls.Add(this.barDockControlRight); base.Controls.Add(this.barDockControlBottom); base.Controls.Add(this.barDockControlTop); base.EtiquetaEstado = this.lblEstado; base.Name = "_PlantillaGestor"; this.Text = "_PlantillaGestor"; this.BarraBotones.EndInit(); this.splitContainerControl1.EndInit(); this.splitContainerControl1.ResumeLayout(false); this.splitContainerControl2.EndInit(); this.splitContainerControl2.ResumeLayout(false); this.grpCriterios.EndInit(); this.grpValores.EndInit(); this.grpValores.ResumeLayout(false); this.txtFiltro.Properties.EndInit(); this.grpGrilla.EndInit(); base.ResumeLayout(false); }
private void InitializeComponent() { this.components = new Container(); this.treeList1 = new TreeList(); this.treeListColumn1 = new TreeListColumn(); this.treeListColumn2 = new TreeListColumn(); this.imageList1 = new ImageList(this.components); this.barDockControlTop = new BarDockControl(); this.barDockControlBottom = new BarDockControl(); this.barDockControlLeft = new BarDockControl(); this.barDockControlRight = new BarDockControl(); this.barManager1 = new BarManager(this.components); this.bar1 = new Bar(); this.barButtonItemExpandAll = new BarButtonItem(); this.barButtonItemCollapseAll = new BarButtonItem(); this.barButtonItemRefresh = new BarButtonItem(); ((ISupportInitialize)this.treeList1).BeginInit(); ((ISupportInitialize)this.barManager1).BeginInit(); base.SuspendLayout(); this.treeList1.Appearance.FocusedCell.BackColor = SystemColors.Highlight; this.treeList1.Appearance.FocusedCell.ForeColor = SystemColors.HighlightText; this.treeList1.Appearance.FocusedCell.Options.UseBackColor = true; this.treeList1.Appearance.FocusedCell.Options.UseForeColor = true; this.treeList1.Columns.AddRange(new TreeListColumn[] { this.treeListColumn1, this.treeListColumn2 }); this.treeList1.Parent = this; this.treeList1.Location = new Point(0, 31); this.treeList1.Size = new Size(326, 394); this.treeList1.Dock = DockStyle.Fill; this.treeList1.TabIndex = 0; this.treeList1.Name = "treeList1"; this.treeList1.BeginUnboundLoad(); object[] array = new object[2]; array[0] = "root"; this.treeList1.AppendNode(array, -1); object[] array2 = new object[2]; array2[0] = "t1"; this.treeList1.AppendNode(array2, 0, 1, 1, -1); object[] array3 = new object[2]; array3[0] = "t11"; this.treeList1.AppendNode(array3, 1, 2, 2, -1); this.treeList1.EndUnboundLoad(); this.treeList1.OptionsBehavior.AllowIncrementalSearch = true; this.treeList1.OptionsBehavior.AutoPopulateColumns = false; this.treeList1.OptionsBehavior.Editable = false; this.treeList1.OptionsBehavior.ExpandNodesOnIncrementalSearch = true; this.treeList1.OptionsLayout.StoreAppearance = true; this.treeList1.OptionsMenu.EnableColumnMenu = false; this.treeList1.OptionsMenu.EnableFooterMenu = false; this.treeList1.OptionsPrint.UsePrintStyles = true; this.treeList1.OptionsView.ShowHorzLines = false; this.treeList1.OptionsView.ShowIndicator = false; this.treeList1.OptionsView.ShowVertLines = false; this.treeList1.OptionsView.ShowColumns = false; this.treeList1.SelectImageList = this.imageList1; this.treeList1.KeyDown += new KeyEventHandler(this.treeList1_KeyDown); this.treeList1.MouseDoubleClick += new MouseEventHandler(this.treeList1_MouseDoubleClick); this.treeListColumn1.VisibleIndex = 0; this.treeListColumn1.MinWidth = 87; this.treeListColumn1.Width = 81; this.treeListColumn1.Visible = true; this.treeListColumn1.Caption = "Name"; this.treeListColumn1.FieldName = "Name"; this.treeListColumn1.Name = "treeListColumn1"; this.treeListColumn2.Caption = "ItemPath"; this.treeListColumn2.FieldName = "ItemPath"; this.treeListColumn2.Name = "treeListColumn2"; /*this.imageList1.ImageStream = (ImageListStreamer)componentResourceManager.GetObject("imageList1.ImageStream"); this.imageList1.TransparentColor = Color.Transparent; this.imageList1.Images.SetKeyName(0, "computer.ico"); this.imageList1.Images.SetKeyName(1, "folder.ico"); this.imageList1.Images.SetKeyName(2, "window.ico"); this.imageList1.Images.SetKeyName(3, "tree_open.ico"); this.imageList1.Images.SetKeyName(4, "tree_close.ico"); this.imageList1.Images.SetKeyName(5, "DevExpress.ExpressApp.Images.Images.MenuBar_Refresh.png"); this.imageList1.Images.SetKeyName(6, "MenuBar_Refresh.ico");*/ this.barDockControlTop.CausesValidation = false; this.barDockControlTop.Parent = this; this.barDockControlTop.Location = new Point(0, 0); this.barDockControlTop.Dock = DockStyle.Top; this.barDockControlTop.Size = new Size(326, 31); this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Parent = this; this.barDockControlBottom.Location = new Point(0, 425); this.barDockControlBottom.Dock = DockStyle.Bottom; this.barDockControlBottom.Size = new Size(326, 0); this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Parent = this; this.barDockControlLeft.Location = new Point(0, 31); this.barDockControlLeft.Dock = DockStyle.Left; this.barDockControlLeft.Size = new Size(0, 394); this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Parent = this; this.barDockControlRight.Location = new Point(326, 31); this.barDockControlRight.Dock = DockStyle.Right; this.barDockControlRight.Size = new Size(0, 394); this.barManager1.Bars.AddRange(new Bar[] { this.bar1 }); this.barManager1.DockControls.Add(this.barDockControlTop); this.barManager1.DockControls.Add(this.barDockControlBottom); this.barManager1.DockControls.Add(this.barDockControlLeft); this.barManager1.DockControls.Add(this.barDockControlRight); this.barManager1.Form = this; // this.barManager1.Images = this.imageList1; this.barManager1.Items.AddRange(new BarItem[] { this.barButtonItemExpandAll, this.barButtonItemCollapseAll, this.barButtonItemRefresh }); this.barManager1.MaxItemId = 3; this.bar1.BarName = "Tools"; this.bar1.DockCol = 0; this.bar1.DockRow = 0; this.bar1.DockStyle = BarDockStyle.Top; this.bar1.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.barButtonItemExpandAll), new LinkPersistInfo(this.barButtonItemCollapseAll), new LinkPersistInfo(this.barButtonItemRefresh, true) }); this.bar1.OptionsBar.AllowQuickCustomization = false; this.bar1.OptionsBar.DisableClose = true; this.bar1.OptionsBar.DrawDragBorder = false; this.bar1.OptionsBar.UseWholeRow = true; this.bar1.Visible = false; this.bar1.Text = "Tools"; this.barButtonItemExpandAll.Caption = "Expand All"; this.barButtonItemExpandAll.Id = 0; this.barButtonItemExpandAll.Name = "barButtonItemExpandAll"; this.barButtonItemExpandAll.ItemClick += new ItemClickEventHandler(this.barButtonItemExpandAll_ItemClick); this.barButtonItemCollapseAll.Caption = "Collapse All"; this.barButtonItemCollapseAll.Id = 1; this.barButtonItemCollapseAll.Name = "barButtonItemCollapseAll"; this.barButtonItemCollapseAll.ItemClick += new ItemClickEventHandler(this.barButtonItemCollapseAll_ItemClick); this.barButtonItemRefresh.Caption = "Refresh"; this.barButtonItemRefresh.Id = 2; this.barButtonItemRefresh.Name = "barButtonItemRefresh"; this.barButtonItemRefresh.ItemClick += new ItemClickEventHandler(this.barButtonItemRefresh_ItemClick); this.AutoScaleDimensions = new SizeF(6, 13); this.Size = new Size(326, 425); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.treeList1); base.Controls.Add(this.barDockControlLeft); base.Controls.Add(this.barDockControlRight); base.Controls.Add(this.barDockControlBottom); base.Controls.Add(this.barDockControlTop); base.Name = "TreeListMenusControl"; base.Enter += new EventHandler(this.MenuItemsActionContainer_Enter); ((ISupportInitialize)this.treeList1).EndInit(); ((ISupportInitialize)this.barManager1).EndInit(); base.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ProjectExplorer)); this.barManager1 = new DevExpress.XtraBars.BarManager(); this.bar1 = new DevExpress.XtraBars.Bar(); this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem(); this.barFileView = new DevExpress.XtraBars.BarCheckItem(); this.barObjectView = new DevExpress.XtraBars.BarCheckItem(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem(); this.tagTree = new Prometheus.Controls.MultiSyncTreeView(); this.tagContainerPopup = new DevExpress.XtraBars.PopupMenu(); this.tagObjectPopup = new DevExpress.XtraBars.PopupMenu(); this.baseTagPopup = new DevExpress.XtraBars.PopupMenu(); this.barButtonItem6 = new DevExpress.XtraBars.BarButtonItem(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tagContainerPopup)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tagObjectPopup)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.baseTagPopup)).BeginInit(); this.SuspendLayout(); // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar1 }); this.barManager1.DockControls.Add(this.barDockControlTop); this.barManager1.DockControls.Add(this.barDockControlBottom); this.barManager1.DockControls.Add(this.barDockControlLeft); this.barManager1.DockControls.Add(this.barDockControlRight); this.barManager1.Form = this; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barStaticItem1, this.barFileView, this.barObjectView, this.barButtonItem1, this.barButtonItem2, this.barButtonItem3, this.barButtonItem4, this.barButtonItem5, this.barButtonItem6 }); this.barManager1.MaxItemId = 12; // // bar1 // this.bar1.BarName = "Custom 1"; this.bar1.DockCol = 0; this.bar1.DockRow = 1; this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barStaticItem1), new DevExpress.XtraBars.LinkPersistInfo(this.barFileView), new DevExpress.XtraBars.LinkPersistInfo(this.barObjectView), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem2), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem3) }); this.bar1.OptionsBar.AllowQuickCustomization = false; this.bar1.OptionsBar.DisableClose = true; this.bar1.OptionsBar.DisableCustomization = true; this.bar1.OptionsBar.DrawDragBorder = false; this.bar1.OptionsBar.UseWholeRow = true; this.bar1.Text = "Custom 1"; // // barStaticItem1 // this.barStaticItem1.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.barStaticItem1.Caption = "View: "; this.barStaticItem1.Id = 0; this.barStaticItem1.Name = "barStaticItem1"; this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near; // // barFileView // this.barFileView.Caption = "File View"; this.barFileView.Checked = true; this.barFileView.Glyph = ((System.Drawing.Image)(resources.GetObject("barFileView.Glyph"))); this.barFileView.GroupIndex = 1; this.barFileView.Id = 1; this.barFileView.Name = "barFileView"; // // barObjectView // this.barObjectView.Caption = "Object View"; this.barObjectView.Glyph = ((System.Drawing.Image)(resources.GetObject("barObjectView.Glyph"))); this.barObjectView.GroupIndex = 1; this.barObjectView.Id = 2; this.barObjectView.Name = "barObjectView"; // // barButtonItem1 // this.barButtonItem1.Caption = "barButtonItem1"; this.barButtonItem1.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem1.Glyph"))); this.barButtonItem1.Id = 6; this.barButtonItem1.Name = "barButtonItem1"; // // barButtonItem2 // this.barButtonItem2.Caption = "barButtonItem2"; this.barButtonItem2.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem2.Glyph"))); this.barButtonItem2.Id = 7; this.barButtonItem2.Name = "barButtonItem2"; // // barButtonItem3 // this.barButtonItem3.Caption = "barButtonItem3"; this.barButtonItem3.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem3.Glyph"))); this.barButtonItem3.Id = 8; this.barButtonItem3.Name = "barButtonItem3"; // // barButtonItem4 // this.barButtonItem4.Caption = "Container Test Item"; this.barButtonItem4.Id = 9; this.barButtonItem4.Name = "barButtonItem4"; // // barButtonItem5 // this.barButtonItem5.Caption = "Object Test Item"; this.barButtonItem5.Id = 10; this.barButtonItem5.Name = "barButtonItem5"; // // tagTree // this.tagTree.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.tagTree.ImageIndex = -1; this.tagTree.Location = new System.Drawing.Point(8, 32); this.tagTree.Name = "tagTree"; this.tagTree.SelectedImageIndex = -1; this.tagTree.ShowFiles = true; this.tagTree.Size = new System.Drawing.Size(168, 328); this.tagTree.TabIndex = 4; // // tagContainerPopup // this.tagContainerPopup.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4) }); this.tagContainerPopup.Manager = this.barManager1; this.tagContainerPopup.Name = "tagContainerPopup"; // // tagObjectPopup // this.tagObjectPopup.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem5) }); this.tagObjectPopup.Manager = this.barManager1; this.tagObjectPopup.Name = "tagObjectPopup"; // // baseTagPopup // this.baseTagPopup.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem6) }); this.baseTagPopup.Manager = this.barManager1; this.baseTagPopup.Name = "baseTagPopup"; // // barButtonItem6 // this.barButtonItem6.Caption = "This is definately a base tag!"; this.barButtonItem6.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem6.Glyph"))); this.barButtonItem6.Id = 11; this.barButtonItem6.Name = "barButtonItem6"; // // ProjectExplorer // this.Controls.Add(this.tagTree); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "ProjectExplorer"; this.Size = new System.Drawing.Size(184, 368); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tagContainerPopup)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tagObjectPopup)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.baseTagPopup)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new Container(); this.gridView2 = new GridView(); this.gcFeatures = new GridControl(); this.gridView1 = new GridView(); this.gcFeatureID = new GridColumn(); this.btOK = new SimpleButton(); this.btCancel = new SimpleButton(); this.barManager1 = new BarManager(this.components); this.barDockControlTop = new BarDockControl(); this.barDockControlBottom = new BarDockControl(); this.barDockControlLeft = new BarDockControl(); this.barDockControlRight = new BarDockControl(); this.bbiPanTo = new BarButtonItem(); this.bbiSelect = new BarButtonItem(); this.bbiUnSelect = new BarButtonItem(); this.bbiFlash = new BarButtonItem(); this.bbiValidate = new BarButtonItem(); this.bsiModify = new BarSubItem(); this.bbiSelectFeature = new BarButtonItem(); this.bbiUnSelectFeature = new BarButtonItem(); this.bbiZoomToFeature = new BarButtonItem(); this.bbiFlashFeature = new BarButtonItem(); this.popupMenu1 = new PopupMenu(this.components); this.gridView2.BeginInit(); this.gcFeatures.BeginInit(); this.gridView1.BeginInit(); this.barManager1.BeginInit(); this.popupMenu1.BeginInit(); base.SuspendLayout(); this.gridView2.GridControl = this.gcFeatures; this.gridView2.Name = "gridView2"; this.gcFeatures.Dock = DockStyle.Top; this.gcFeatures.EmbeddedNavigator.Name = ""; this.gcFeatures.Location = new System.Drawing.Point(0, 0); this.gcFeatures.MainView = this.gridView1; this.gcFeatures.Name = "gcFeatures"; this.gcFeatures.Size = new Size(0xcb, 0xc0); this.gcFeatures.TabIndex = 0; this.gcFeatures.ViewCollection.AddRange(new BaseView[] { this.gridView1, this.gridView2 }); this.gcFeatures.MouseDown += new MouseEventHandler(this.gcFeatures_MouseDown); this.gcFeatures.Click += new EventHandler(this.gcFeatures_Click); this.gridView1.Columns.AddRange(new GridColumn[] { this.gcFeatureID }); this.gridView1.GridControl = this.gcFeatures; this.gridView1.Name = "gridView1"; this.gridView1.OptionsBehavior.Editable = false; this.gridView1.OptionsCustomization.AllowColumnMoving = false; this.gridView1.OptionsCustomization.AllowFilter = false; this.gridView1.OptionsCustomization.AllowGroup = false; this.gridView1.OptionsCustomization.AllowSort = false; this.gridView1.OptionsMenu.EnableColumnMenu = false; this.gridView1.OptionsMenu.EnableFooterMenu = false; this.gridView1.OptionsMenu.EnableGroupPanelMenu = false; this.gridView1.OptionsView.ShowGroupPanel = false; this.gcFeatureID.Caption = "要素编号"; this.gcFeatureID.FieldName = "FEATUREID"; this.gcFeatureID.Name = "gcFeatureID"; this.gcFeatureID.Visible = true; this.gcFeatureID.VisibleIndex = 0; this.btOK.Location = new System.Drawing.Point(0x17, 0xc6); this.btOK.Name = "btOK"; this.btOK.Size = new Size(0x34, 0x17); this.btOK.TabIndex = 1; this.btOK.Text = "确定"; this.btOK.Click += new EventHandler(this.btOK_Click); this.btCancel.Location = new System.Drawing.Point(120, 0xc6); this.btCancel.Name = "btCancel"; this.btCancel.Size = new Size(0x34, 0x17); this.btCancel.TabIndex = 2; this.btCancel.Text = "取消"; this.btCancel.Click += new EventHandler(this.btCancel_Click); this.barManager1.DockControls.Add(this.barDockControlTop); this.barManager1.DockControls.Add(this.barDockControlBottom); this.barManager1.DockControls.Add(this.barDockControlLeft); this.barManager1.DockControls.Add(this.barDockControlRight); this.barManager1.Form = this; this.barManager1.Items.AddRange(new BarItem[] { this.bbiPanTo, this.bbiSelect, this.bbiUnSelect, this.bbiFlash, this.bbiValidate, this.bsiModify, this.bbiSelectFeature, this.bbiUnSelectFeature, this.bbiZoomToFeature, this.bbiFlashFeature }); this.barManager1.MaxItemId = 14; this.bbiPanTo.Caption = "查看错误"; this.bbiPanTo.Id = 0; this.bbiPanTo.Name = "bbiPanTo"; this.bbiSelect.Caption = "选择要素"; this.bbiSelect.Id = 2; this.bbiSelect.Name = "bbiSelect"; this.bbiUnSelect.Caption = "取消选择"; this.bbiUnSelect.Id = 3; this.bbiUnSelect.Name = "bbiUnSelect"; this.bbiFlash.Caption = "闪烁要素"; this.bbiFlash.Id = 4; this.bbiFlash.Name = "bbiFlash"; this.bbiValidate.Caption = "验证拓扑"; this.bbiValidate.Id = 7; this.bbiValidate.Name = "bbiValidate"; this.bsiModify.Caption = "修改建议"; this.bsiModify.Id = 9; this.bsiModify.Name = "bsiModify"; this.bbiSelectFeature.Caption = "选择要素"; this.bbiSelectFeature.Id = 10; this.bbiSelectFeature.Name = "bbiSelectFeature"; this.bbiSelectFeature.ItemClick += new ItemClickEventHandler(this.bbiSelectFeature_ItemClick); this.bbiUnSelectFeature.Caption = "取消选择"; this.bbiUnSelectFeature.Id = 11; this.bbiUnSelectFeature.Name = "bbiUnSelectFeature"; this.bbiUnSelectFeature.ItemClick += new ItemClickEventHandler(this.bbiUnSelectFeature_ItemClick); this.bbiZoomToFeature.Caption = "缩放到要素"; this.bbiZoomToFeature.Id = 12; this.bbiZoomToFeature.Name = "bbiZoomToFeature"; this.bbiZoomToFeature.ItemClick += new ItemClickEventHandler(this.bbiZoomToFeature_ItemClick); this.bbiFlashFeature.Caption = "闪烁要素"; this.bbiFlashFeature.Id = 13; this.bbiFlashFeature.Name = "bbiFlashFeature"; this.bbiFlashFeature.ItemClick += new ItemClickEventHandler(this.bbiFlashFeature_ItemClick); this.popupMenu1.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.bbiSelectFeature), new LinkPersistInfo(this.bbiUnSelectFeature), new LinkPersistInfo(this.bbiFlashFeature), new LinkPersistInfo(this.bbiZoomToFeature) }); this.popupMenu1.Manager = this.barManager1; this.popupMenu1.Name = "popupMenu1"; base.Appearance.BackColor = Color.FromArgb(0xe3, 0xf1, 0xfe); base.Appearance.Options.UseBackColor = true; base.AutoScaleDimensions = new SizeF(6f, 12f); // base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(0xcb, 0xe7); base.Controls.Add(this.btCancel); base.Controls.Add(this.btOK); base.Controls.Add(this.gcFeatures); base.Controls.Add(this.barDockControlLeft); base.Controls.Add(this.barDockControlRight); base.Controls.Add(this.barDockControlBottom); base.Controls.Add(this.barDockControlTop); base.LookAndFeel.SkinName = "Blue"; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "SnapExFeatures"; base.StartPosition = FormStartPosition.CenterParent; this.Text = "选择追踪小班"; this.gridView2.EndInit(); this.gcFeatures.EndInit(); this.gridView1.EndInit(); this.barManager1.EndInit(); this.popupMenu1.EndInit(); base.ResumeLayout(false); }
/// <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(CounterManager)); this.lstToolBar = new System.Windows.Forms.ImageList(this.components); this.tv = new Osherove.PerfPlus.Controls.CounterTree(); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.bar1 = new DevExpress.XtraBars.Bar(); this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem6 = new DevExpress.XtraBars.BarButtonItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.imageCollection1 = new DevExpress.Utils.ImageCollection(this.components); this.barSubItem1 = new DevExpress.XtraBars.BarSubItem(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imageCollection1)).BeginInit(); this.SuspendLayout(); // // lstToolBar // this.lstToolBar.ImageSize = new System.Drawing.Size(16, 16); this.lstToolBar.TransparentColor = System.Drawing.Color.Magenta; // // tv // this.tv.ActivateNewTabCallback = null; this.tv.BackColor = System.Drawing.Color.Gainsboro; this.tv.Dock = System.Windows.Forms.DockStyle.Fill; this.tv.FocusManager = null; this.tv.LabelEdit = true; this.tv.Location = new System.Drawing.Point(0, 22); this.tv.MasterFolder = null; this.tv.Name = "tv"; this.tv.Size = new System.Drawing.Size(352, 298); this.tv.SysMonHelper = null; this.tv.TabIndex = 1; // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar1 }); this.barManager1.DockControls.Add(this.barDockControlTop); this.barManager1.DockControls.Add(this.barDockControlBottom); this.barManager1.DockControls.Add(this.barDockControlLeft); this.barManager1.DockControls.Add(this.barDockControlRight); this.barManager1.Form = this; this.barManager1.Images = this.imageCollection1; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barSubItem1, this.barButtonItem1, this.barButtonItem2, this.barButtonItem3, this.barButtonItem4, this.barButtonItem6 }); this.barManager1.MaxItemId = 7; // // bar1 // this.bar1.BarName = "barActions"; this.bar1.DockCol = 0; this.bar1.DockRow = 0; this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar1.FloatLocation = new System.Drawing.Point(229, 161); this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem4, DevExpress.XtraBars.BarItemPaintStyle.Standard), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem2), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem3), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem6) }); this.bar1.OptionsBar.AllowDelete = true; this.bar1.OptionsBar.AllowQuickCustomization = false; this.bar1.OptionsBar.DisableClose = true; this.bar1.OptionsBar.DisableCustomization = true; this.bar1.OptionsBar.DrawDragBorder = false; this.bar1.OptionsBar.UseWholeRow = true; this.bar1.Text = "Actions"; // // barButtonItem4 // this.barButtonItem4.Caption = "&Delete Folder"; this.barButtonItem4.Id = 4; this.barButtonItem4.ImageIndex = 1; this.barButtonItem4.Name = "barButtonItem4"; // // barButtonItem2 // this.barButtonItem2.Caption = "Create &Sub Folder"; this.barButtonItem2.Id = 2; this.barButtonItem2.ImageIndex = 2; this.barButtonItem2.Name = "barButtonItem2"; // // barButtonItem1 // this.barButtonItem1.Caption = "Create &Root Folder"; this.barButtonItem1.Id = 1; this.barButtonItem1.ImageIndex = 0; this.barButtonItem1.Name = "barButtonItem1"; // // barButtonItem3 // this.barButtonItem3.Caption = "-"; this.barButtonItem3.Id = 3; this.barButtonItem3.Name = "barButtonItem3"; // // barButtonItem6 // this.barButtonItem6.Caption = "&Read counters from active monitor"; this.barButtonItem6.Id = 6; this.barButtonItem6.ImageIndex = 3; this.barButtonItem6.Name = "barButtonItem6"; // // imageCollection1 // this.imageCollection1.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("imageCollection1.ImageStream"))); // // barSubItem1 // this.barSubItem1.Caption = "&Predefined Counters"; this.barSubItem1.Id = 0; this.barSubItem1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem2), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem3), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem6) }); this.barSubItem1.Name = "barSubItem1"; // // CounterManager // this.Controls.Add(this.tv); this.Controls.Add(this.barDockControlTop); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Name = "CounterManager"; this.Size = new System.Drawing.Size(352, 320); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imageCollection1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ScenarioItems)); this.barManager1 = new DevExpress.XtraBars.BarManager(); this.bar1 = new DevExpress.XtraBars.Bar(); this.buttonCreateNewInstance = new DevExpress.XtraBars.BarButtonItem(); this.buttonDeleteObject = new DevExpress.XtraBars.BarButtonItem(); this.buttonGoToObject = new DevExpress.XtraBars.BarButtonItem(); this.buttonInfo = new DevExpress.XtraBars.BarButtonItem(); this.buttonHelp = new DevExpress.XtraBars.BarButtonItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.listViewFolderContents = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); this.SuspendLayout(); // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar1 }); this.barManager1.DockControls.Add(this.barDockControlTop); this.barManager1.DockControls.Add(this.barDockControlBottom); this.barManager1.DockControls.Add(this.barDockControlLeft); this.barManager1.DockControls.Add(this.barDockControlRight); this.barManager1.Form = this; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.buttonCreateNewInstance, this.buttonDeleteObject, this.buttonGoToObject, this.buttonInfo, this.buttonHelp }); this.barManager1.MaxItemId = 5; // // bar1 // this.bar1.BarName = "Custom 1"; this.bar1.DockCol = 0; this.bar1.DockRow = 1; this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.buttonCreateNewInstance), new DevExpress.XtraBars.LinkPersistInfo(this.buttonDeleteObject), new DevExpress.XtraBars.LinkPersistInfo(this.buttonGoToObject, true), new DevExpress.XtraBars.LinkPersistInfo(this.buttonInfo, true), new DevExpress.XtraBars.LinkPersistInfo(this.buttonHelp) }); this.bar1.OptionsBar.AllowQuickCustomization = false; this.bar1.OptionsBar.DisableClose = true; this.bar1.OptionsBar.DisableCustomization = true; this.bar1.OptionsBar.DrawDragBorder = false; this.bar1.OptionsBar.UseWholeRow = true; this.bar1.Text = "Custom 1"; // // buttonCreateNewInstance // this.buttonCreateNewInstance.Caption = "Create Instance"; this.buttonCreateNewInstance.Description = "Creates a New Instance"; this.buttonCreateNewInstance.Glyph = ((System.Drawing.Image)(resources.GetObject("buttonCreateNewInstance.Glyph"))); this.buttonCreateNewInstance.Id = 0; this.buttonCreateNewInstance.Name = "buttonCreateNewInstance"; this.buttonCreateNewInstance.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.buttonCreateNewInstance_ItemClick); // // buttonDeleteObject // this.buttonDeleteObject.Caption = "Delete Object"; this.buttonDeleteObject.Description = "Deletes the Selected Object"; this.buttonDeleteObject.Enabled = false; this.buttonDeleteObject.Glyph = ((System.Drawing.Image)(resources.GetObject("buttonDeleteObject.Glyph"))); this.buttonDeleteObject.Id = 1; this.buttonDeleteObject.Name = "buttonDeleteObject"; // // buttonGoToObject // this.buttonGoToObject.Caption = "Go To Object"; this.buttonGoToObject.Description = "Moves the Camera to the Selected Object"; this.buttonGoToObject.Glyph = ((System.Drawing.Image)(resources.GetObject("buttonGoToObject.Glyph"))); this.buttonGoToObject.Id = 2; this.buttonGoToObject.Name = "buttonGoToObject"; this.buttonGoToObject.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.buttonGoToObject_ItemClick); // // buttonInfo // this.buttonInfo.Caption = "Info"; this.buttonInfo.Glyph = ((System.Drawing.Image)(resources.GetObject("buttonInfo.Glyph"))); this.buttonInfo.Id = 3; this.buttonInfo.Name = "buttonInfo"; // // buttonHelp // this.buttonHelp.Caption = "Help"; this.buttonHelp.Glyph = ((System.Drawing.Image)(resources.GetObject("buttonHelp.Glyph"))); this.buttonHelp.Id = 4; this.buttonHelp.Name = "buttonHelp"; // // listViewFolderContents // this.listViewFolderContents.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1 }); this.listViewFolderContents.Dock = System.Windows.Forms.DockStyle.Fill; this.listViewFolderContents.HideSelection = false; this.listViewFolderContents.Location = new System.Drawing.Point(0, 25); this.listViewFolderContents.MultiSelect = false; this.listViewFolderContents.Name = "listViewFolderContents"; this.listViewFolderContents.Size = new System.Drawing.Size(272, 295); this.listViewFolderContents.TabIndex = 5; this.listViewFolderContents.View = System.Windows.Forms.View.List; // // columnHeader1 // this.columnHeader1.Width = 150; // // ScenarioItems // this.Controls.Add(this.listViewFolderContents); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "ScenarioItems"; this.Size = new System.Drawing.Size(272, 320); this.Load += new System.EventHandler(this.ScenarioItems_Load); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); this.ResumeLayout(false); }