private void LoadDynamicGroup(Codon codon) { string commandId = codon.Id; string groupName = string.Empty; ICommand command = null; string labelConfig = string.Empty; string groupLabel = string.Empty; if (string.IsNullOrEmpty(codon.Properties["groupName"])) { throw new Exception(string.Format("groupName not found in dynamic group:id ={0},name = {1}", codon.Id, codon.Name)); } else { if (!string.IsNullOrEmpty(codon.Properties["label"])) { labelConfig = codon.Properties["label"]; } groupLabel = StringParser.Parse(labelConfig); groupName = codon.Properties["groupName"]; this._dynamicGroups.Add(groupName, codon); BarSubItem item = new DevExpress.XtraBars.BarSubItem(this._barManager, groupLabel); if (!string.IsNullOrEmpty(codon.Properties["class"])) { command = (ICommand)codon.AddIn.CreateObject(codon.Properties["class"]); command.Parameter = groupName; } this.AddDynamicContainer(commandId, item, command, codon.Conditions, groupName); } }
public static DevExpress.XtraBars.BarSubItem AddSubMenuToMenuItem(DevExpress.XtraBars.BarSubItem menuItem, List <STModulesInfo> modules) { if (modules != null) { foreach (STModulesInfo module in modules) { DevExpress.XtraBars.BarButtonItem subItem = new DevExpress.XtraBars.BarButtonItem(); subItem.Caption = module.STModuleDesc; subItem.Tag = module.STModuleName; subItem.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(BarButtonItem_ItemClick); menuItem.AddItem(subItem); } } return(menuItem); }
public void AddSkins(WorkItem workItem) { skinMenu = new DevExpress.XtraBars.BarSubItem(); // named this menu Look & Feel so that it was differentiated between // the SkinMenu option. skinMenu.Caption = "Look && Feel"; workItem.UIExtensionSites[ExtensionSiteNames.MainMenu].Add(skinMenu); workItem.UIExtensionSites.RegisterSite(ExtensionSiteNames.SkinsDropDown, new BarLinksCollectionDynamicUIAdapter(skinMenu.ItemLinks, skinMenu.Manager.Items, workItem)); AddSkinItems(workItem); EventTopic eventTopic = workItem.EventTopics[EventNames.SkinPopup]; eventTopic.AddPublication(skinMenu, "Popup", workItem, PublicationScope.Global); eventTopic.AddSubscription(this, "SkinMenuPopup", workItem, ThreadOption.UserInterface); workItem.EventTopics[EventNames.SwitchSkin].AddSubscription(this, "ModifyLookAndFeel", workItem, ThreadOption.UserInterface); }
private void InitPopupMenu() { try { string categoryLabel = ""; ArrayList categoryList = new ArrayList(); //Load up an array list for unique, non-blank iterating foreach (DataRow row in clauseHeaderTable.Rows) { categoryLabel = row["Category"].ToString(); if (categoryList.IndexOf(categoryLabel) == -1 && categoryLabel.Trim().Length > 0) { categoryList.Add(categoryLabel); } } categoryList.Sort(); BarManager bManager = new BarManager(); string filterStr = ""; //For each item in array list, select all items for (int i = 0; i < categoryList.Count; i++) { categoryLabel = categoryList[i].ToString(); DevExpress.XtraBars.BarSubItem barSubItem = new DevExpress.XtraBars.BarSubItem(bManager, categoryLabel); filterStr = "Category = '" + categoryLabel + "'"; foreach (DataRow row in clauseHeaderTable.Select(filterStr)) { BarItem item = new BarButtonItem(); item.Caption = row["ShortName"].ToString(); item.Tag = (int)row["PrmntConfirmClauseId"]; item.ItemClick += ClauseBtnClick; barSubItem.AddItem(item); } pmenuEditContract.AddItem(barSubItem); } } catch (Exception ex) { throw new Exception("An error occurred while setting up the popup menu data." + Environment.NewLine + "Error CNF-225 in " + FORM_NAME + ".InitPopupMenu(): " + ex.Message); } }
public static void InitMenuOfMainForm() { //for (int i = 2; i < VinaApp.MainScreen.MainMenu.ItemLinks.Count - 2; i++) //{ // VinaApp.MainScreen.MainMenu.ItemLinks.RemoveAt(i); // i--; //} STModulesController moduleController = new STModulesController(); List <STModulesInfo> modules = moduleController.GetAllModulesByUserName(VinaApp.CurrentUserName); if (modules.Count() == 0) { return; } Dictionary <string, List <STModulesInfo> > dictionary = new Dictionary <string, List <STModulesInfo> >(); string key; foreach (STModulesInfo module in modules) { key = module.ADUserGroupSectionID + "&&" + module.ADUserGroupSectionName; if (!dictionary.ContainsKey(key)) { dictionary.Add(key, new List <STModulesInfo>()); } dictionary[key].Add(module); } int imdex = 0; foreach (string groupSection in dictionary.Keys) { if (dictionary[groupSection] != null && dictionary[groupSection].Count != 0) { STModulesInfo firstItem = dictionary[groupSection][0]; DevExpress.XtraBars.BarSubItem item = new DevExpress.XtraBars.BarSubItem(); item.Caption = firstItem.ADUserGroupSectionName; VinaApp.MainScreen.MainMenu.InsertItem(VinaApp.MainScreen.MainMenu.ItemLinks[2 + imdex], item); item = AddSubMenuToMenuItem(item, dictionary[groupSection]); imdex++; } } }
/// <summary> /// 注册近期访问窗口--在窗口打开事件中调用 /// </summary> /// <param name="as_Caption">窗口显示的文本</param> /// <param name="as_Tag">打开的Form名</param> /// <param name="as_ImageIndex">Ribbon上显示的图标名称</param> void RegeditMenu(IOpenModuleForm IOpenForm) { DevExpress.XtraBars.BarSubItem barOld = MainFormMDI.OldBarSubItem; //最近访问的菜单只存储4条,多的将以前的删除掉加入新的 if (barOld.ItemLinks.Count > 3) { int mod = barOld.ItemLinks.Count % 4; barOld.ItemLinks.Remove(barOld.ItemLinks[mod]); } //添加新的菜单 BarButtonItem btnitem = new BarButtonItem(); btnitem.Name = IOpenForm.FormName; btnitem.Caption = IOpenForm.FormText; btnitem.Tag = IOpenForm.FormTag; btnitem.LargeGlyph = IOpenForm.FormImage32; barOld.AddItem(btnitem); btnitem.ItemClick += new ItemClickEventHandler(btnitem_ItemClick); }
/// <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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StrategiesCollectionForm)); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.bar1 = new DevExpress.XtraBars.Bar(); this.siAdd = new DevExpress.XtraBars.BarSubItem(); this.biRemove = new DevExpress.XtraBars.BarButtonItem(); this.biEdit = new DevExpress.XtraBars.BarButtonItem(); this.biStart = new DevExpress.XtraBars.BarButtonItem(); this.biStop = new DevExpress.XtraBars.BarButtonItem(); this.biSimulation = new DevExpress.XtraBars.BarButtonItem(); this.biOptimizeParams = new DevExpress.XtraBars.BarButtonItem(); this.btShowData = new DevExpress.XtraBars.BarButtonItem(); this.bcShowLog = new DevExpress.XtraBars.BarCheckItem(); this.biSettings = new DevExpress.XtraBars.BarButtonItem(); this.bar3 = new DevExpress.XtraBars.Bar(); this.siStatus = new DevExpress.XtraBars.BarStaticItem(); this.beSimulationProgress = new DevExpress.XtraBars.BarEditItem(); this.repositoryItemProgressBar1 = new DevExpress.XtraEditors.Repository.RepositoryItemProgressBar(); 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.dockManager1 = new DevExpress.XtraBars.Docking.DockManager(this.components); this.dpLogPanel = new DevExpress.XtraBars.Docking.DockPanel(); this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); this.logMessagesControl = new CryptoMarketClient.LogMessagesControl(); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.strategyBaseBindingSource = new System.Windows.Forms.BindingSource(this.components); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colEnabled = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.colDemoMode = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemCheckEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.colName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colStateText = new DevExpress.XtraGrid.Columns.GridColumn(); this.riTextEditState = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.colEarned = new DevExpress.XtraGrid.Columns.GridColumn(); this.colEnableNotifications = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemCheckEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.behaviorManager1 = new DevExpress.Utils.Behaviors.BehaviorManager(this.components); this.toastNotificationsManager1 = new DevExpress.XtraBars.ToastNotifications.ToastNotificationsManager(this.components); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBar1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).BeginInit(); this.dpLogPanel.SuspendLayout(); this.dockPanel1_Container.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.strategyBaseBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.riTextEditState)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.behaviorManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.toastNotificationsManager1)).BeginInit(); this.SuspendLayout(); // // barManager1 // this.barManager1.AllowHtmlText = true; this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar1, this.bar3}); 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.DockManager = this.dockManager1; this.barManager1.Form = this; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.siAdd, this.biRemove, this.biEdit, this.siStatus, this.biStart, this.biStop, this.btShowData, this.biSimulation, this.bcShowLog, this.biOptimizeParams, this.beSimulationProgress, this.biSettings}); this.barManager1.MaxItemId = 15; this.barManager1.OptionsStubGlyphs.AllowStubGlyphs = DevExpress.Utils.DefaultBoolean.True; this.barManager1.OptionsStubGlyphs.CaseMode = DevExpress.Utils.Drawing.GlyphTextCaseMode.UpperCase; this.barManager1.OptionsStubGlyphs.CornerRadius = 3; this.barManager1.OptionsStubGlyphs.Font = new System.Drawing.Font("Segoe UI", 12F); this.barManager1.OptionsStubGlyphs.LetterCount = DevExpress.Utils.Drawing.GlyphTextSymbolCount.Two; this.barManager1.OptionsStubGlyphs.UseFont = true; this.barManager1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemProgressBar1}); // // bar1 // this.bar1.BarAppearance.Hovered.FontStyleDelta = System.Drawing.FontStyle.Bold; this.bar1.BarAppearance.Hovered.Options.UseFont = true; this.bar1.BarAppearance.Normal.FontStyleDelta = System.Drawing.FontStyle.Bold; this.bar1.BarAppearance.Normal.Options.UseFont = true; this.bar1.BarAppearance.Pressed.FontStyleDelta = System.Drawing.FontStyle.Bold; this.bar1.BarAppearance.Pressed.Options.UseFont = true; this.bar1.BarName = "Tools"; this.bar1.DockCol = 0; this.bar1.DockRow = 0; this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.siAdd), new DevExpress.XtraBars.LinkPersistInfo(this.biRemove), new DevExpress.XtraBars.LinkPersistInfo(this.biEdit), new DevExpress.XtraBars.LinkPersistInfo(this.biStart, true), new DevExpress.XtraBars.LinkPersistInfo(this.biStop), new DevExpress.XtraBars.LinkPersistInfo(this.biSimulation), new DevExpress.XtraBars.LinkPersistInfo(this.biOptimizeParams), new DevExpress.XtraBars.LinkPersistInfo(this.btShowData, true), new DevExpress.XtraBars.LinkPersistInfo(this.bcShowLog), new DevExpress.XtraBars.LinkPersistInfo(this.biSettings)}); this.bar1.OptionsBar.DrawBorder = false; this.bar1.OptionsBar.UseWholeRow = true; this.bar1.Text = "Tools"; // // siAdd // this.siAdd.Caption = "New"; this.siAdd.Id = 0; this.siAdd.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("siAdd.ImageOptions.SvgImage"))); this.siAdd.Name = "siAdd"; this.siAdd.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // biRemove // this.biRemove.Caption = "Remove Selected"; this.biRemove.Id = 1; this.biRemove.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biRemove.ImageOptions.SvgImage"))); this.biRemove.Name = "biRemove"; this.biRemove.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.biRemove.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.biRemove_ItemClick); // // biEdit // this.biEdit.Caption = "Edit"; this.biEdit.Id = 2; this.biEdit.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biEdit.ImageOptions.SvgImage"))); this.biEdit.Name = "biEdit"; this.biEdit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.biEdit.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.biEdit_ItemClick); // // biStart // this.biStart.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True; this.biStart.Caption = "<b>Run!</b>"; this.biStart.Id = 4; this.biStart.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biStart.ImageOptions.SvgImage"))); this.biStart.ItemAppearance.Normal.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Information; this.biStart.ItemAppearance.Normal.Options.UseForeColor = true; this.biStart.Name = "biStart"; this.biStart.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.biStart.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.biStart_ItemClick); // // biStop // this.biStop.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True; this.biStop.Caption = "<b>Stop</b>"; this.biStop.Id = 5; this.biStop.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biStop.ImageOptions.SvgImage"))); this.biStop.ItemAppearance.Normal.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Critical; this.biStop.ItemAppearance.Normal.Options.UseForeColor = true; this.biStop.Name = "biStop"; this.biStop.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.biStop.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.biStop_ItemClick); // // biSimulation // this.biSimulation.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True; this.biSimulation.Caption = "<b>Simulation</b>"; this.biSimulation.Id = 8; this.biSimulation.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biSimulation.ImageOptions.SvgImage"))); this.biSimulation.ItemAppearance.Hovered.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Question; this.biSimulation.ItemAppearance.Hovered.Options.UseForeColor = true; this.biSimulation.ItemAppearance.Normal.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Question; this.biSimulation.ItemAppearance.Normal.Options.UseForeColor = true; this.biSimulation.ItemAppearance.Pressed.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Question; this.biSimulation.ItemAppearance.Pressed.Options.UseForeColor = true; this.biSimulation.Name = "biSimulation"; this.biSimulation.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.biSimulation.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.biSimulation_ItemClick); // // biOptimizeParams // this.biOptimizeParams.Caption = "Optimize Params"; this.biOptimizeParams.Id = 11; this.biOptimizeParams.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biOptimizeParams.ImageOptions.SvgImage"))); this.biOptimizeParams.ItemAppearance.Normal.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Question; this.biOptimizeParams.ItemAppearance.Normal.Options.UseForeColor = true; this.biOptimizeParams.Name = "biOptimizeParams"; this.biOptimizeParams.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.biOptimizeParams.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.biOptimizeParams_ItemClick); // // btShowData // this.btShowData.Caption = "<b>Show Data</b>"; this.btShowData.Id = 6; this.btShowData.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btShowData.ImageOptions.SvgImage"))); this.btShowData.Name = "btShowData"; this.btShowData.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.btShowData.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btShowData_ItemClick); // // bcShowLog // this.bcShowLog.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.bcShowLog.Caption = "<b>Show Log</b>"; this.bcShowLog.Id = 10; this.bcShowLog.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("bcShowLog.ImageOptions.SvgImage"))); this.bcShowLog.Name = "bcShowLog"; this.bcShowLog.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.bcShowLog.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.bcShowLog_CheckedChanged); // // biSettings // this.biSettings.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.biSettings.Caption = "Settings"; this.biSettings.Id = 14; this.biSettings.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biSettings.ImageOptions.SvgImage"))); this.biSettings.Name = "biSettings"; this.biSettings.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.biSettings.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.biSettings_ItemClick); // // bar3 // this.bar3.BarName = "Status bar"; this.bar3.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom; this.bar3.DockCol = 0; this.bar3.DockRow = 0; this.bar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom; this.bar3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.siStatus), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.Width, this.beSimulationProgress, "", false, true, true, 210)}); this.bar3.OptionsBar.AllowQuickCustomization = false; this.bar3.OptionsBar.DrawDragBorder = false; this.bar3.OptionsBar.UseWholeRow = true; this.bar3.Text = "Status bar"; // // siStatus // this.siStatus.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True; this.siStatus.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.siStatus.Caption = " "; this.siStatus.Id = 3; this.siStatus.ItemAppearance.Normal.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Information; this.siStatus.ItemAppearance.Normal.Options.UseForeColor = true; this.siStatus.Name = "siStatus"; // // beSimulationProgress // this.beSimulationProgress.AutoFillWidth = true; this.beSimulationProgress.Caption = "barEditItem1"; this.beSimulationProgress.Edit = this.repositoryItemProgressBar1; this.beSimulationProgress.Id = 13; this.beSimulationProgress.Name = "beSimulationProgress"; this.beSimulationProgress.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; // // repositoryItemProgressBar1 // this.repositoryItemProgressBar1.Maximum = 100000; this.repositoryItemProgressBar1.Name = "repositoryItemProgressBar1"; this.repositoryItemProgressBar1.ShowTitle = true; // // barDockControlTop // this.barDockControlTop.CausesValidation = false; this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Manager = this.barManager1; this.barDockControlTop.Size = new System.Drawing.Size(1667, 60); // // barDockControlBottom // this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 974); this.barDockControlBottom.Manager = this.barManager1; this.barDockControlBottom.Size = new System.Drawing.Size(1667, 52); // // barDockControlLeft // this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 60); this.barDockControlLeft.Manager = this.barManager1; this.barDockControlLeft.Size = new System.Drawing.Size(0, 914); // // barDockControlRight // this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(1667, 60); this.barDockControlRight.Manager = this.barManager1; this.barDockControlRight.Size = new System.Drawing.Size(0, 914); // // dockManager1 // this.dockManager1.Form = this; this.dockManager1.HiddenPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { this.dpLogPanel}); this.dockManager1.MenuManager = this.barManager1; this.dockManager1.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "DevExpress.XtraBars.StandaloneBarDockControl", "System.Windows.Forms.StatusBar", "System.Windows.Forms.MenuStrip", "System.Windows.Forms.StatusStrip", "DevExpress.XtraBars.Ribbon.RibbonStatusBar", "DevExpress.XtraBars.Ribbon.RibbonControl", "DevExpress.XtraBars.Navigation.OfficeNavigationBar", "DevExpress.XtraBars.Navigation.TileNavPane", "DevExpress.XtraBars.TabFormControl", "DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormControl", "DevExpress.XtraBars.ToolbarForm.ToolbarFormControl"}); // // dpLogPanel // this.dpLogPanel.Controls.Add(this.dockPanel1_Container); this.dpLogPanel.Dock = DevExpress.XtraBars.Docking.DockingStyle.Bottom; this.dpLogPanel.ID = new System.Guid("10bbb36d-c4c6-4135-83c3-42595d23e751"); this.dpLogPanel.Location = new System.Drawing.Point(0, 526); this.dpLogPanel.Name = "dpLogPanel"; this.dpLogPanel.OriginalSize = new System.Drawing.Size(200, 441); this.dpLogPanel.SavedDock = DevExpress.XtraBars.Docking.DockingStyle.Bottom; this.dpLogPanel.SavedIndex = 0; this.dpLogPanel.Size = new System.Drawing.Size(1667, 441); this.dpLogPanel.Text = "Log"; this.dpLogPanel.Visibility = DevExpress.XtraBars.Docking.DockVisibility.Hidden; // // dockPanel1_Container // this.dockPanel1_Container.Controls.Add(this.logMessagesControl); this.dockPanel1_Container.Location = new System.Drawing.Point(8, 51); this.dockPanel1_Container.Name = "dockPanel1_Container"; this.dockPanel1_Container.Size = new System.Drawing.Size(1651, 382); this.dockPanel1_Container.TabIndex = 0; // // logMessagesControl // this.logMessagesControl.Dock = System.Windows.Forms.DockStyle.Fill; this.logMessagesControl.Location = new System.Drawing.Point(0, 0); this.logMessagesControl.Name = "logMessagesControl"; this.logMessagesControl.Size = new System.Drawing.Size(1651, 382); this.logMessagesControl.TabIndex = 0; // // gridControl1 // this.gridControl1.DataSource = this.strategyBaseBindingSource; this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControl1.Location = new System.Drawing.Point(0, 60); this.gridControl1.MainView = this.gridView1; this.gridControl1.MenuManager = this.barManager1; this.gridControl1.Name = "gridControl1"; this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemTextEdit1, this.repositoryItemCheckEdit1, this.repositoryItemCheckEdit2, this.repositoryItemCheckEdit3, this.riTextEditState}); this.gridControl1.Size = new System.Drawing.Size(1667, 914); this.gridControl1.TabIndex = 4; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1}); this.gridControl1.Click += new System.EventHandler(this.gridControl1_Click); // // strategyBaseBindingSource // this.strategyBaseBindingSource.DataSource = typeof(Crypto.Core.Strategies.StrategyBase); // // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colEnabled, this.colDemoMode, this.colDescription, this.colName, this.colStateText, this.colEarned, this.colEnableNotifications}); this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFullFocus; this.gridView1.GridControl = this.gridControl1; this.gridView1.Name = "gridView1"; this.gridView1.OptionsDetail.EnableMasterViewMode = false; this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridView1.OptionsView.BestFitMode = DevExpress.XtraGrid.Views.Grid.GridBestFitMode.Full; this.gridView1.OptionsView.ShowHorizontalLines = DevExpress.Utils.DefaultBoolean.False; this.gridView1.OptionsView.ShowVerticalLines = DevExpress.Utils.DefaultBoolean.False; this.gridView1.RowStyle += new DevExpress.XtraGrid.Views.Grid.RowStyleEventHandler(this.gridView1_RowStyle); // // colEnabled // this.colEnabled.ColumnEdit = this.repositoryItemCheckEdit1; this.colEnabled.FieldName = "Enabled"; this.colEnabled.MinWidth = 40; this.colEnabled.Name = "colEnabled"; this.colEnabled.Visible = true; this.colEnabled.VisibleIndex = 0; this.colEnabled.Width = 160; // // repositoryItemCheckEdit1 // this.repositoryItemCheckEdit1.AutoHeight = false; this.repositoryItemCheckEdit1.CheckBoxOptions.Style = DevExpress.XtraEditors.Controls.CheckBoxStyle.SvgToggle1; this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1"; this.repositoryItemCheckEdit1.EditValueChanged += new System.EventHandler(this.repositoryItemCheckEdit1_EditValueChanged); // // colDemoMode // this.colDemoMode.ColumnEdit = this.repositoryItemCheckEdit2; this.colDemoMode.FieldName = "DemoMode"; this.colDemoMode.MinWidth = 40; this.colDemoMode.Name = "colDemoMode"; this.colDemoMode.Visible = true; this.colDemoMode.VisibleIndex = 1; this.colDemoMode.Width = 195; // // repositoryItemCheckEdit2 // this.repositoryItemCheckEdit2.AutoHeight = false; this.repositoryItemCheckEdit2.CheckBoxOptions.Style = DevExpress.XtraEditors.Controls.CheckBoxStyle.SvgToggle1; this.repositoryItemCheckEdit2.Name = "repositoryItemCheckEdit2"; this.repositoryItemCheckEdit2.EditValueChanged += new System.EventHandler(this.repositoryItemCheckEdit2_EditValueChanged); // // colDescription // this.colDescription.ColumnEdit = this.repositoryItemTextEdit1; this.colDescription.FieldName = "Description"; this.colDescription.MinWidth = 40; this.colDescription.Name = "colDescription"; this.colDescription.OptionsColumn.AllowEdit = false; this.colDescription.Width = 554; // // repositoryItemTextEdit1 // this.repositoryItemTextEdit1.AutoHeight = false; this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1"; this.repositoryItemTextEdit1.Padding = new System.Windows.Forms.Padding(0, 3, 0, 3); // // colName // this.colName.FieldName = "Name"; this.colName.MinWidth = 40; this.colName.Name = "colName"; this.colName.OptionsColumn.AllowEdit = false; this.colName.OptionsColumn.ReadOnly = true; this.colName.Visible = true; this.colName.VisibleIndex = 3; this.colName.Width = 361; // // colStateText // this.colStateText.ColumnEdit = this.riTextEditState; this.colStateText.FieldName = "StateText"; this.colStateText.MinWidth = 40; this.colStateText.Name = "colStateText"; this.colStateText.OptionsColumn.AllowEdit = false; this.colStateText.Visible = true; this.colStateText.VisibleIndex = 4; this.colStateText.Width = 366; // // riTextEditState // this.riTextEditState.AllowHtmlDraw = DevExpress.Utils.DefaultBoolean.True; this.riTextEditState.AutoHeight = false; this.riTextEditState.Name = "riTextEditState"; // // colEarned // this.colEarned.DisplayFormat.FormatString = "0.0000000"; this.colEarned.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.colEarned.FieldName = "Earned"; this.colEarned.MinWidth = 40; this.colEarned.Name = "colEarned"; this.colEarned.OptionsColumn.AllowEdit = false; this.colEarned.Visible = true; this.colEarned.VisibleIndex = 5; this.colEarned.Width = 412; // // colEnableNotifications // this.colEnableNotifications.Caption = "Notifications"; this.colEnableNotifications.ColumnEdit = this.repositoryItemCheckEdit3; this.colEnableNotifications.FieldName = "EnableNotifications"; this.colEnableNotifications.MinWidth = 40; this.colEnableNotifications.Name = "colEnableNotifications"; this.colEnableNotifications.Visible = true; this.colEnableNotifications.VisibleIndex = 2; this.colEnableNotifications.Width = 137; // // repositoryItemCheckEdit3 // this.repositoryItemCheckEdit3.AutoHeight = false; this.repositoryItemCheckEdit3.CheckBoxOptions.Style = DevExpress.XtraEditors.Controls.CheckBoxStyle.SvgToggle1; this.repositoryItemCheckEdit3.Name = "repositoryItemCheckEdit3"; this.repositoryItemCheckEdit3.EditValueChanged += new System.EventHandler(this.repositoryItemCheckEdit3_EditValueChanged); // // toastNotificationsManager1 // this.toastNotificationsManager1.ApplicationId = "ab6decea-81d2-4ad9-b8b7-45653fe59087"; this.toastNotificationsManager1.Notifications.AddRange(new DevExpress.XtraBars.ToastNotifications.IToastNotificationProperties[] { new DevExpress.XtraBars.ToastNotifications.ToastNotification("404ef86f-183c-4fea-960b-86f54e52ea76", global::Crypto.UI.Properties.Resources.notification_image2, "Strategies Simulator", "Strategy simulation finished!", "", DevExpress.XtraBars.ToastNotifications.ToastNotificationSound.Default, DevExpress.XtraBars.ToastNotifications.ToastNotificationDuration.Long, DevExpress.XtraBars.ToastNotifications.ToastNotificationTemplate.ImageAndText01)}); // // StrategiesCollectionForm // this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 25F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1667, 1026); this.Controls.Add(this.gridControl1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "StrategiesCollectionForm"; this.Text = "Active Strategies"; ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBar1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).EndInit(); this.dpLogPanel.ResumeLayout(false); this.dockPanel1_Container.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.strategyBaseBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.riTextEditState)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.behaviorManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.toastNotificationsManager1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// 系统初始化处理 /// </summary> public bool Init() { if (EmpInfo.Id <= 0) { this.Close(); return(false); } // 人员基本信息 LogHelper.Info(this, "系统初始化 --- 设置人员有关信息"); this.bsiOper.Caption = EmpInfo.Name + "(" + EmpInfo.BizDeptName + ")"; this.bsiIP.Caption = EnvInfo.ComputerIp; this.bsiUser.Caption = EnvInfo.UserName; this.bbiChangeChoice.Caption = (EmpInfo.InputChoice == "1") ? "首拼" : "五笔"; LinkMacAddress.Caption = "未识别"; for (int i = 0; i < EnvInfo.ComputerMacIpList.Count; i++) { if (i == 0) { LinkMacAddress.Caption = EnvInfo.ComputerMacIpList[i].Mac; } else { var item = new BarHeaderItem { Caption = EnvInfo.ComputerMacIpList[i].Mac, AllowRightClickInMenu = false }; LinkMacAddress.LinksPersistInfo.Add(new LinkPersistInfo(item)); } } //初始化子系统 LogHelper.Info(this, "系统初始化 --- 子系统初始化"); string open_menu_code = InitSubSystem(); //初始化主菜单 LogHelper.Info(this, "系统初始化 --- 生成主菜单"); InitMainMenu(open_menu_code); // 加入可切换的子系统 BarSubItem bsiSystem = new DevExpress.XtraBars.BarSubItem(); bsiSystem.Caption = "系统切换"; bsiSystem.Id = this.ribbon.Items.Count; bsiSystem.Name = "bsiSystem"; this.ribbon.Items.Add(bsiSystem); this.rbPageGroupTools.ItemLinks.Insert(0, bsiSystem); foreach (BDictSystem system in EmpInfo.CanUseSystemList) { if (system.Code != EnvInfo.SystemCode) { BarButtonItem bbi = new BarButtonItem(); bbi.Caption = system.Name; bbi.Id = this.ribbon.Items.Count; bbi.Name = "bbiSystem" + system.Code; bbi.Tag = system.Code; bbi.ItemClick += new ItemClickEventHandler(this.bbiSystem_ItemClick); bbi.RibbonStyle = RibbonItemStyles.Default; if (!string.IsNullOrEmpty(system.Ico)) { bbi.ImageOptions.Image = BmpHelper.GetIco(system.Ico); } this.ribbon.Items.Add(bbi); bsiSystem.LinksPersistInfo.Add(new LinkPersistInfo(bbi)); } } // v9.2以后不加入会出现下拉菜单不能出来!!! ((System.ComponentModel.ISupportInitialize)(this.ribbon)).EndInit(); //初始化外部信息对象, 危机值、关注项由通知 List <string> infoRemoteCodeList = new List <string>(); // TODO: ??? infoRemoteCodeList.Add("foo1"); // 危机值信息 infoRemoteCodeList.Add("foo2"); // 关注项信息 infoRemoteAction = new RemoteInfoReceiver(infoRemoteCodeList, SynCallbackInfo); //RemoteInfoHelper.Subscribe("foo1,foo2"); //初始化内部信息对象 List <string> infoLocalCodeList = new List <string>(); infoLocalCodeList.Add(LocalInfoHelper.OpenForm); // 打开Form infoLocalCodeList.Add(LocalInfoHelper.AddNotice); // 接受通知 infoLocalCodeList.Add(LocalInfoHelper.DelNotice); // 撤销通知 infoLocalAction = new LocalInfoReceiver(infoLocalCodeList, CallbackInfo); for (int index = 0; index < ribbon.Pages.Count; index++) { var item = ribbon.Pages[index]; item.Appearance.Font = new Font(SystemFonts.DefaultFont.Name, SystemFonts.DefaultFont.Size); } for (int index = 0; index < ribbon.Items.Count; index++) { var item = ribbon.Items[index]; item.ItemAppearance.SetFont(new Font(SystemFonts.DefaultFont.Name, SystemFonts.DefaultFont.Size)); } LogHelper.Info(this, "系统初始化 --- 启动定时器"); timer1.Start(); DisplayHelper.Close(); return(true); }
private void Init() { InitializeComponent(); barButtonItemPrint.Glyph = FWImageDic.PRINT_IMAGE16; barButtonItemExcute.Glyph = HelpImage.getImage1616("navTinhTrangHangTonKho.png"); barButtonItemClose.Glyph = FWImageDic.CLOSE_IMAGE16; barSubItemExport = new BarSubItem(); barSubItemExport.Visibility = BarItemVisibility.Always; barSubItemExport= PhieuQuanLyUtil.XuatRaFile(this.barManager1, gridView1); barButtonItemPrintNew= AppCtrl.InitPrintGrid(this.barManager1, this.bar2, gridView1, barButtonItemPrint, false); gridView1._SetPermissionElement(barButtonItemPrintNew, barSubItemExport); dragDropLayoutControl1.TypeChoice = TypeChoiceGridColumnsControl.SOURCE; dragDropLayoutControl2.TypeChoice = TypeChoiceGridColumnsControl.DESTINATION; if (gridView != null) { dragDropLayoutControl1.InitListColumns(this.gridView); dragDropLayoutControl2.InitListColumns(this.gridView); foreach (GridColumn col in gridView.Columns) { CheckState state = CheckState.Unchecked; ckcCotHienThi.Items.Add(col, col.Caption, state, true); } } gridView1.ViewCaption = caption.ToUpper(); gridView1.OptionsView.ShowGroupedColumns = false; gridView1.OptionsView.ShowGroupPanel = false; gridView1.OptionsView.ShowFooter = true; gridView1.OptionsBehavior.Editable = false; gridView1.OptionsView.NewItemRowPosition = NewItemRowPosition.None; gridView1.OptionsBehavior.AutoExpandAllGroups = true; gridView1.GroupFooterShowMode = GroupFooterShowMode.Hidden; gridView1.OptionsPrint.PrintGroupFooter = true; gridView1.Appearance.GroupFooter.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; gridView1.CustomDrawGroupRow+=new RowObjectCustomDrawEventHandler(gridView1_CustomDrawGroupRow); gridView1.CustomSummaryCalculate += new CustomSummaryEventHandler(gridView1_CustomSummaryCalculate); gridView1.CustomSummaryExists += new CustomSummaryExistEventHandler(gridView1_CustomSummaryExists); }
/// <summary> /// SetFuncsBiz /// </summary> private void SetFuncsBiz() { // 默认:暂时只用2级菜单 List <EntityAccount> lst1 = new List <EntityAccount>(); Dictionary <string, List <EntityAccount> > lst2 = new Dictionary <string, List <EntityAccount> >(); foreach (EntityAccount item in GlobalAppConfig.AccountFuncs) { if (item.IsLeaf == false) { lst1.Add(item); } } foreach (EntityAccount item in GlobalAppConfig.AccountFuncs) { if (item.IsLeaf && lst1.Exists(t => t.FuncId.ToString() == item.ParentCode)) { if (lst2.ContainsKey(item.ParentCode)) { lst2[item.ParentCode].Add(item); } else { List <EntityAccount> tmp = new List <EntityAccount>(); tmp.Add(item); lst2.Add(item.ParentCode, tmp); } } } int i1 = 0; int i2 = 0; DevExpress.XtraBars.BarButtonItem barItem = null; DevExpress.XtraBars.BarSubItem barSubItem = null; foreach (EntityAccount item in lst1) { barSubItem = new DevExpress.XtraBars.BarSubItem(); barSubItem.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); barSubItem.Name = item.FuncCode; barSubItem.Caption = Convert.ToString(++i1) + ". " + item.FuncName; if (!string.IsNullOrEmpty(item.ImageSource)) { barSubItem.Glyph = (rm.GetObject(item.ImageSource) as Image); } Viewer.pmModules.ItemLinks.Add(barSubItem, true); if (lst2.ContainsKey(item.FuncId.ToString())) { i2 = 0; foreach (EntityAccount item2 in lst2[item.FuncId.ToString()]) { barItem = new DevExpress.XtraBars.BarButtonItem(); barItem.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); barItem.Name = item2.FuncCode; barItem.Caption = i1.ToString() + "." + Convert.ToString(++i2) + " " + item2.FuncName; barItem.Tag = item2; barItem.ItemClick += new ItemClickEventHandler(bbiItem_ItemClick); if (!string.IsNullOrEmpty(item2.ImageSource)) { barItem.Glyph = (rm.GetObject(item2.ImageSource) as Image); } barSubItem.ItemLinks.Add(barItem, true); if (GlobalParm.dicSysMenu.ContainsKey(item2.FuncName) == false) { GlobalParm.dicSysMenu.Add(item2.FuncName, item2); } } } } DefaultModule = new EntityAccount() { FuncId = 88888888, FuncCode = "Hms.Ui.frmAccess", FuncName = "导航图...", FuncFile = "hms.ui.dll", OperName = "Show" }; Viewer.timer.Enabled = true; }
/// <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.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.bar1 = new DevExpress.XtraBars.Bar(); this.BarSubItem1 = new DevExpress.XtraBars.BarSubItem(); this.BarButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.bar2 = new DevExpress.XtraBars.Bar(); this.BarStaticItem1 = new DevExpress.XtraBars.BarStaticItem(); this.bar3 = new DevExpress.XtraBars.Bar(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barDockControl1 = new DevExpress.XtraBars.BarDockControl(); this.barDockControl2 = new DevExpress.XtraBars.BarDockControl(); this.barDockControl3 = new DevExpress.XtraBars.BarDockControl(); this.barDockControl4 = new DevExpress.XtraBars.BarDockControl(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); this.SuspendLayout(); // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar1, this.bar2, this.bar3 }); this.barManager1.DockControls.Add(this.barDockControl1); this.barManager1.DockControls.Add(this.barDockControl2); this.barManager1.DockControls.Add(this.barDockControl3); this.barManager1.DockControls.Add(this.barDockControl4); this.barManager1.Form = this; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.BarSubItem1, this.BarStaticItem1, this.BarButtonItem1, this.barButtonItem2 }); this.barManager1.MainMenu = this.bar1; this.barManager1.MaxItemId = 4; this.barManager1.StatusBar = this.bar2; this.barManager1.UnMerge += new DevExpress.XtraBars.BarManagerMergeEventHandler(this.barManager1_UnMerge); this.barManager1.Merge += new DevExpress.XtraBars.BarManagerMergeEventHandler(this.barManager1_Merge); // // bar1 // this.bar1.BarName = "Main menu"; this.bar1.DockCol = 0; this.bar1.DockRow = 0; this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar1.FloatLocation = new System.Drawing.Point(52, 165); this.bar1.FloatSize = new System.Drawing.Size(29, 25); this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.BarSubItem1) }); this.bar1.OptionsBar.MultiLine = true; this.bar1.OptionsBar.UseWholeRow = true; this.bar1.Text = "Main menu"; // // BarSubItem1 // this.BarSubItem1.Caption = "Menu"; this.BarSubItem1.Id = 1; this.BarSubItem1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.BarButtonItem1) }); this.BarSubItem1.MergeType = DevExpress.XtraBars.BarMenuMerge.MergeItems; this.BarSubItem1.Name = "BarSubItem1"; // // BarButtonItem1 // this.BarButtonItem1.Caption = "Open"; this.BarButtonItem1.Id = 2; this.BarButtonItem1.Name = "BarButtonItem1"; this.BarButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.BarButtonItem1_ItemClick); // // bar2 // this.bar2.BarName = "Status bar"; this.bar2.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom; this.bar2.DockCol = 0; this.bar2.DockRow = 0; this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom; this.bar2.FloatLocation = new System.Drawing.Point(65, 425); this.bar2.FloatSize = new System.Drawing.Size(29, 25); this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.BarStaticItem1) }); this.bar2.OptionsBar.AllowQuickCustomization = false; this.bar2.OptionsBar.DrawDragBorder = false; this.bar2.OptionsBar.UseWholeRow = true; this.bar2.Text = "Status bar"; // // BarStaticItem1 // this.BarStaticItem1.Caption = "Status"; this.BarStaticItem1.Id = 0; this.BarStaticItem1.Name = "BarStaticItem1"; this.BarStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near; // // bar3 // this.bar3.BarName = "Custom 3"; this.bar3.DockCol = 0; this.bar3.DockRow = 1; this.bar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar3.FloatLocation = new System.Drawing.Point(335, 269); this.bar3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem2) }); this.bar3.Text = "Custom 3"; // // barButtonItem2 // this.barButtonItem2.Caption = "Main Toolbar"; this.barButtonItem2.Id = 3; this.barButtonItem2.Name = "barButtonItem2"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(471, 356); this.Controls.Add(this.barDockControl3); this.Controls.Add(this.barDockControl4); this.Controls.Add(this.barDockControl2); this.Controls.Add(this.barDockControl1); this.IsMdiContainer = true; this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomDesignForm)); this.xrDesignBarManager1 = new DevExpress.XtraReports.UserDesigner.XRDesignBarManager(); this.designBar1 = new DevExpress.XtraReports.UserDesigner.DesignBar(); this.barSubItem1 = new DevExpress.XtraBars.BarSubItem(); this.commandBarItem31 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem39 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem32 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem33 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem40 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem41 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.barSubItem2 = new DevExpress.XtraBars.BarSubItem(); this.commandBarItem37 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem38 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem34 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem35 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem36 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem42 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem43 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.barSubItem3 = new DevExpress.XtraBars.BarSubItem(); this.barReportTabButtonsListItem1 = new DevExpress.XtraReports.UserDesigner.BarReportTabButtonsListItem(); this.barSubItem4 = new DevExpress.XtraBars.BarSubItem(); this.xrBarToolbarsListItem1 = new DevExpress.XtraReports.UserDesigner.XRBarToolbarsListItem(); this.barSubItem5 = new DevExpress.XtraBars.BarSubItem(); this.barDockPanelsListItem1 = new DevExpress.XtraReports.UserDesigner.BarDockPanelsListItem(); this.barSubItem6 = new DevExpress.XtraBars.BarSubItem(); this.commandColorBarItem1 = new DevExpress.XtraReports.UserDesigner.CommandColorBarItem(); this.commandColorBarItem2 = new DevExpress.XtraReports.UserDesigner.CommandColorBarItem(); this.barSubItem7 = new DevExpress.XtraBars.BarSubItem(); this.commandBarItem1 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem2 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem3 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.barSubItem8 = new DevExpress.XtraBars.BarSubItem(); this.commandBarItem4 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem5 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem6 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem7 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.barSubItem9 = new DevExpress.XtraBars.BarSubItem(); this.commandBarItem9 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem10 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem11 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem12 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem13 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem14 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem8 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.barSubItem10 = new DevExpress.XtraBars.BarSubItem(); this.commandBarItem15 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem16 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem17 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem18 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.barSubItem11 = new DevExpress.XtraBars.BarSubItem(); this.commandBarItem19 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem20 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem21 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem22 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.barSubItem12 = new DevExpress.XtraBars.BarSubItem(); this.commandBarItem23 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem24 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem25 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem26 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.barSubItem13 = new DevExpress.XtraBars.BarSubItem(); this.commandBarItem27 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem28 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.barSubItem14 = new DevExpress.XtraBars.BarSubItem(); this.commandBarItem29 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem30 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.bsiLookAndFeel = new DevExpress.XtraBars.BarSubItem(); this.designBar2 = new DevExpress.XtraReports.UserDesigner.DesignBar(); this.designBar3 = new DevExpress.XtraReports.UserDesigner.DesignBar(); this.barEditItem1 = new DevExpress.XtraBars.BarEditItem(); this.ricbFontName = new DevExpress.XtraReports.UserDesigner.RecentlyUsedItemsComboBox(); this.barEditItem2 = new DevExpress.XtraBars.BarEditItem(); this.ricbFontSize = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.designBar4 = new DevExpress.XtraReports.UserDesigner.DesignBar(); this.designBar5 = new DevExpress.XtraReports.UserDesigner.DesignBar(); this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem(); this.designBar6 = new DevExpress.XtraReports.UserDesigner.DesignBar(); this.commandBarItem44 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.xrZoomBarEditItem1 = new DevExpress.XtraReports.UserDesigner.XRZoomBarEditItem(); this.designRepositoryItemComboBox1 = new DevExpress.XtraReports.UserDesigner.DesignRepositoryItemComboBox(); this.commandBarItem45 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); 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.xrDesignDockManager1 = new DevExpress.XtraReports.UserDesigner.XRDesignDockManager(); this.panelContainer1 = new DevExpress.XtraBars.Docking.DockPanel(); this.panelContainer2 = new DevExpress.XtraBars.Docking.DockPanel(); this.reportExplorerDockPanel1 = new DevExpress.XtraReports.UserDesigner.ReportExplorerDockPanel(); this.reportExplorerDockPanel1_Container = new DevExpress.XtraReports.UserDesigner.DesignControlContainer(); this.fieldListDockPanel1 = new DevExpress.XtraReports.UserDesigner.FieldListDockPanel(); this.fieldListDockPanel1_Container = new DevExpress.XtraReports.UserDesigner.DesignControlContainer(); this.propertyGridDockPanel1 = new DevExpress.XtraReports.UserDesigner.PropertyGridDockPanel(); this.propertyGridDockPanel1_Container = new DevExpress.XtraReports.UserDesigner.DesignControlContainer(); this.toolBoxDockPanel1 = new DevExpress.XtraReports.UserDesigner.ToolBoxDockPanel(); this.toolBoxDockPanel1_Container = new DevExpress.XtraReports.UserDesigner.DesignControlContainer(); this.groupAndSortDockPanel1 = new DevExpress.XtraReports.UserDesigner.GroupAndSortDockPanel(); this.groupAndSortDockPanel1_Container = new DevExpress.XtraReports.UserDesigner.DesignControlContainer(); ((System.ComponentModel.ISupportInitialize)(this.xrDesignPanel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrDesignBarManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ricbFontName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ricbFontSize)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.designRepositoryItemComboBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrDesignDockManager1)).BeginInit(); this.panelContainer1.SuspendLayout(); this.panelContainer2.SuspendLayout(); this.reportExplorerDockPanel1.SuspendLayout(); this.fieldListDockPanel1.SuspendLayout(); this.propertyGridDockPanel1.SuspendLayout(); this.toolBoxDockPanel1.SuspendLayout(); this.groupAndSortDockPanel1.SuspendLayout(); this.SuspendLayout(); // // xrDesignPanel // this.xrDesignPanel.Location = new System.Drawing.Point(165, 78); this.xrDesignPanel.ShowComponentTray = false; this.xrDesignPanel.Size = new System.Drawing.Size(417, 311); // // xrDesignBarManager1 // this.xrDesignBarManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.designBar1, this.designBar2, this.designBar3, this.designBar4, this.designBar5, this.designBar6}); this.xrDesignBarManager1.DockControls.Add(this.barDockControlTop); this.xrDesignBarManager1.DockControls.Add(this.barDockControlBottom); this.xrDesignBarManager1.DockControls.Add(this.barDockControlLeft); this.xrDesignBarManager1.DockControls.Add(this.barDockControlRight); this.xrDesignBarManager1.DockManager = this.xrDesignDockManager1; this.xrDesignBarManager1.FontNameBox = this.ricbFontName; this.xrDesignBarManager1.FontNameEdit = this.barEditItem1; this.xrDesignBarManager1.FontSizeBox = this.ricbFontSize; this.xrDesignBarManager1.FontSizeEdit = this.barEditItem2; this.xrDesignBarManager1.Form = this; this.xrDesignBarManager1.FormattingToolbar = this.designBar3; this.xrDesignBarManager1.HintStaticItem = this.barStaticItem1; this.xrDesignBarManager1.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("xrDesignBarManager1.ImageStream"))); this.xrDesignBarManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barEditItem1, this.barEditItem2, this.commandBarItem1, this.commandBarItem2, this.commandBarItem3, this.commandColorBarItem1, this.commandColorBarItem2, this.commandBarItem4, this.commandBarItem5, this.commandBarItem6, this.commandBarItem7, this.commandBarItem8, this.commandBarItem9, this.commandBarItem10, this.commandBarItem11, this.commandBarItem12, this.commandBarItem13, this.commandBarItem14, this.commandBarItem15, this.commandBarItem16, this.commandBarItem17, this.commandBarItem18, this.commandBarItem19, this.commandBarItem20, this.commandBarItem21, this.commandBarItem22, this.commandBarItem23, this.commandBarItem24, this.commandBarItem25, this.commandBarItem26, this.commandBarItem27, this.commandBarItem28, this.commandBarItem29, this.commandBarItem30, this.commandBarItem31, this.commandBarItem32, this.commandBarItem33, this.commandBarItem34, this.commandBarItem35, this.commandBarItem36, this.commandBarItem37, this.commandBarItem38, this.barStaticItem1, this.barSubItem1, this.barSubItem2, this.barSubItem3, this.barReportTabButtonsListItem1, this.barSubItem4, this.xrBarToolbarsListItem1, this.barSubItem5, this.barDockPanelsListItem1, this.barSubItem6, this.barSubItem7, this.barSubItem8, this.barSubItem9, this.barSubItem10, this.barSubItem11, this.barSubItem12, this.barSubItem13, this.barSubItem14, this.commandBarItem39, this.commandBarItem40, this.commandBarItem41, this.commandBarItem42, this.commandBarItem43, this.bsiLookAndFeel, this.commandBarItem44, this.xrZoomBarEditItem1, this.commandBarItem45}); this.xrDesignBarManager1.LayoutToolbar = this.designBar4; this.xrDesignBarManager1.MainMenu = this.designBar1; this.xrDesignBarManager1.MaxItemId = 69; this.xrDesignBarManager1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.ricbFontName, this.ricbFontSize, this.designRepositoryItemComboBox1}); this.xrDesignBarManager1.StatusBar = this.designBar5; this.xrDesignBarManager1.Toolbar = this.designBar2; this.xrDesignBarManager1.XRDesignPanel = this.xrDesignPanel; this.xrDesignBarManager1.ZoomItem = this.xrZoomBarEditItem1; // // designBar1 // this.designBar1.BarName = "MainMenu"; this.designBar1.DockCol = 0; this.designBar1.DockRow = 0; this.designBar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.designBar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem1), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem2), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem3), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem6), new DevExpress.XtraBars.LinkPersistInfo(this.bsiLookAndFeel)}); this.designBar1.OptionsBar.MultiLine = true; this.designBar1.OptionsBar.UseWholeRow = true; this.designBar1.Text = "Main Menu"; // // barSubItem1 // this.barSubItem1.Caption = "&File"; this.barSubItem1.Id = 43; this.barSubItem1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem31), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem39), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem32), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem33, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem40), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem41, true)}); this.barSubItem1.Name = "barSubItem1"; // // commandBarItem31 // this.commandBarItem31.Caption = "&New"; this.commandBarItem31.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.NewReport; this.commandBarItem31.Hint = "Create a new blank report"; this.commandBarItem31.Id = 34; this.commandBarItem31.ImageIndex = 9; this.commandBarItem31.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)); this.commandBarItem31.Name = "commandBarItem31"; // // commandBarItem39 // this.commandBarItem39.Caption = "New with &Wizard..."; this.commandBarItem39.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.NewReportWizard; this.commandBarItem39.Hint = "Create a new report using the Wizard"; this.commandBarItem39.Id = 60; this.commandBarItem39.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.W)); this.commandBarItem39.Name = "commandBarItem39"; // // commandBarItem32 // this.commandBarItem32.Caption = "&Open..."; this.commandBarItem32.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.OpenFile; this.commandBarItem32.Hint = "Open a report"; this.commandBarItem32.Id = 35; this.commandBarItem32.ImageIndex = 10; this.commandBarItem32.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)); this.commandBarItem32.Name = "commandBarItem32"; // // commandBarItem33 // this.commandBarItem33.Caption = "&Save"; this.commandBarItem33.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.SaveFile; this.commandBarItem33.Enabled = false; this.commandBarItem33.Hint = "Save a report"; this.commandBarItem33.Id = 36; this.commandBarItem33.ImageIndex = 11; this.commandBarItem33.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)); this.commandBarItem33.Name = "commandBarItem33"; // // commandBarItem40 // this.commandBarItem40.Caption = "Save &As..."; this.commandBarItem40.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.SaveFileAs; this.commandBarItem40.Enabled = false; this.commandBarItem40.Hint = "Save a report with a new name"; this.commandBarItem40.Id = 61; this.commandBarItem40.Name = "commandBarItem40"; // // commandBarItem41 // this.commandBarItem41.Caption = "Back to the Reports Main Demo"; this.commandBarItem41.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.Exit; this.commandBarItem41.Hint = "Close the designer"; this.commandBarItem41.Id = 62; this.commandBarItem41.Name = "commandBarItem41"; // // barSubItem2 // this.barSubItem2.Caption = "&Edit"; this.barSubItem2.Id = 44; this.barSubItem2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem37, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem38), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem34, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem35), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem36), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem42), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem43, true)}); this.barSubItem2.Name = "barSubItem2"; // // commandBarItem37 // this.commandBarItem37.Caption = "&Undo"; this.commandBarItem37.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.Undo; this.commandBarItem37.Enabled = false; this.commandBarItem37.Hint = "Undo the last operation"; this.commandBarItem37.Id = 40; this.commandBarItem37.ImageIndex = 15; this.commandBarItem37.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z)); this.commandBarItem37.Name = "commandBarItem37"; // // commandBarItem38 // this.commandBarItem38.Caption = "&Redo"; this.commandBarItem38.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.Redo; this.commandBarItem38.Enabled = false; this.commandBarItem38.Hint = "Redo the last operation"; this.commandBarItem38.Id = 41; this.commandBarItem38.ImageIndex = 16; this.commandBarItem38.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Y)); this.commandBarItem38.Name = "commandBarItem38"; // // commandBarItem34 // this.commandBarItem34.Caption = "Cu&t"; this.commandBarItem34.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.Cut; this.commandBarItem34.Enabled = false; this.commandBarItem34.Hint = "Delete the control and copy it to the clipboard"; this.commandBarItem34.Id = 37; this.commandBarItem34.ImageIndex = 12; this.commandBarItem34.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)); this.commandBarItem34.Name = "commandBarItem34"; // // commandBarItem35 // this.commandBarItem35.Caption = "&Copy"; this.commandBarItem35.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.Copy; this.commandBarItem35.Enabled = false; this.commandBarItem35.Hint = "Copy the control to the clipboard"; this.commandBarItem35.Id = 38; this.commandBarItem35.ImageIndex = 13; this.commandBarItem35.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)); this.commandBarItem35.Name = "commandBarItem35"; // // commandBarItem36 // this.commandBarItem36.Caption = "&Paste"; this.commandBarItem36.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.Paste; this.commandBarItem36.Enabled = false; this.commandBarItem36.Hint = "Add the control from the clipboard"; this.commandBarItem36.Id = 39; this.commandBarItem36.ImageIndex = 14; this.commandBarItem36.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)); this.commandBarItem36.Name = "commandBarItem36"; // // commandBarItem42 // this.commandBarItem42.Caption = "&Delete"; this.commandBarItem42.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.Delete; this.commandBarItem42.Enabled = false; this.commandBarItem42.Hint = "Delete the control"; this.commandBarItem42.Id = 63; this.commandBarItem42.Name = "commandBarItem42"; // // commandBarItem43 // this.commandBarItem43.Caption = "Select &All"; this.commandBarItem43.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.SelectAll; this.commandBarItem43.Enabled = false; this.commandBarItem43.Hint = "Select all the controls in the document"; this.commandBarItem43.Id = 64; this.commandBarItem43.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)); this.commandBarItem43.Name = "commandBarItem43"; // // barSubItem3 // this.barSubItem3.Caption = "&View"; this.barSubItem3.Id = 45; this.barSubItem3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barReportTabButtonsListItem1), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem4, true), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem5, true)}); this.barSubItem3.Name = "barSubItem3"; // // barReportTabButtonsListItem1 // this.barReportTabButtonsListItem1.Caption = "Tab Buttons"; this.barReportTabButtonsListItem1.Id = 46; this.barReportTabButtonsListItem1.Name = "barReportTabButtonsListItem1"; // // barSubItem4 // this.barSubItem4.Caption = "&Toolbars"; this.barSubItem4.Id = 47; this.barSubItem4.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.xrBarToolbarsListItem1)}); this.barSubItem4.Name = "barSubItem4"; // // xrBarToolbarsListItem1 // this.xrBarToolbarsListItem1.Caption = "&Toolbars"; this.xrBarToolbarsListItem1.Id = 48; this.xrBarToolbarsListItem1.Name = "xrBarToolbarsListItem1"; // // barSubItem5 // this.barSubItem5.Caption = "&Windows"; this.barSubItem5.Id = 49; this.barSubItem5.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barDockPanelsListItem1)}); this.barSubItem5.Name = "barSubItem5"; // // barDockPanelsListItem1 // this.barDockPanelsListItem1.Caption = "&Windows"; this.barDockPanelsListItem1.Id = 50; this.barDockPanelsListItem1.Name = "barDockPanelsListItem1"; this.barDockPanelsListItem1.ShowCustomizationItem = false; this.barDockPanelsListItem1.ShowDockPanels = true; this.barDockPanelsListItem1.ShowToolbars = false; // // barSubItem6 // this.barSubItem6.Caption = "Fo&rmat"; this.barSubItem6.Id = 51; this.barSubItem6.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandColorBarItem1), new DevExpress.XtraBars.LinkPersistInfo(this.commandColorBarItem2), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem7, true), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem8), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem9, true), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem10), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem11, true), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem12), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem13, true), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem14, true)}); this.barSubItem6.Name = "barSubItem6"; // // commandColorBarItem1 // this.commandColorBarItem1.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.commandColorBarItem1.Caption = "For&eground Color"; this.commandColorBarItem1.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.ForeColor; this.commandColorBarItem1.Enabled = false; this.commandColorBarItem1.Glyph = ((System.Drawing.Image)(resources.GetObject("commandColorBarItem1.Glyph"))); this.commandColorBarItem1.Hint = "Set the foreground color of the control"; this.commandColorBarItem1.Id = 5; this.commandColorBarItem1.Name = "commandColorBarItem1"; // // commandColorBarItem2 // this.commandColorBarItem2.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.commandColorBarItem2.Caption = "Bac&kground Color"; this.commandColorBarItem2.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.BackColor; this.commandColorBarItem2.Enabled = false; this.commandColorBarItem2.Glyph = ((System.Drawing.Image)(resources.GetObject("commandColorBarItem2.Glyph"))); this.commandColorBarItem2.Hint = "Set the background color of the control"; this.commandColorBarItem2.Id = 6; this.commandColorBarItem2.Name = "commandColorBarItem2"; // // barSubItem7 // this.barSubItem7.Caption = "&Font"; this.barSubItem7.Id = 52; this.barSubItem7.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem1, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem2), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem3)}); this.barSubItem7.Name = "barSubItem7"; // // commandBarItem1 // this.commandBarItem1.Caption = "&Bold"; this.commandBarItem1.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.FontBold; this.commandBarItem1.Enabled = false; this.commandBarItem1.Hint = "Make the font bold"; this.commandBarItem1.Id = 2; this.commandBarItem1.ImageIndex = 0; this.commandBarItem1.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.B)); this.commandBarItem1.Name = "commandBarItem1"; // // commandBarItem2 // this.commandBarItem2.Caption = "&Italic"; this.commandBarItem2.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.FontItalic; this.commandBarItem2.Enabled = false; this.commandBarItem2.Hint = "Make the font italic"; this.commandBarItem2.Id = 3; this.commandBarItem2.ImageIndex = 1; this.commandBarItem2.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.I)); this.commandBarItem2.Name = "commandBarItem2"; // // commandBarItem3 // this.commandBarItem3.Caption = "&Underline"; this.commandBarItem3.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.FontUnderline; this.commandBarItem3.Enabled = false; this.commandBarItem3.Hint = "Underline the font"; this.commandBarItem3.Id = 4; this.commandBarItem3.ImageIndex = 2; this.commandBarItem3.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.U)); this.commandBarItem3.Name = "commandBarItem3"; // // barSubItem8 // this.barSubItem8.Caption = "&Justify"; this.barSubItem8.Id = 53; this.barSubItem8.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem4, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem5), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem6), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem7)}); this.barSubItem8.Name = "barSubItem8"; // // commandBarItem4 // this.commandBarItem4.Caption = "&Left"; this.commandBarItem4.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.JustifyLeft; this.commandBarItem4.Enabled = false; this.commandBarItem4.Hint = "Align the control’s text to the left"; this.commandBarItem4.Id = 7; this.commandBarItem4.ImageIndex = 5; this.commandBarItem4.Name = "commandBarItem4"; // // commandBarItem5 // this.commandBarItem5.Caption = "&Center"; this.commandBarItem5.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.JustifyCenter; this.commandBarItem5.Enabled = false; this.commandBarItem5.Hint = "Align the control’s text to the center"; this.commandBarItem5.Id = 8; this.commandBarItem5.ImageIndex = 6; this.commandBarItem5.Name = "commandBarItem5"; // // commandBarItem6 // this.commandBarItem6.Caption = "&Right"; this.commandBarItem6.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.JustifyRight; this.commandBarItem6.Enabled = false; this.commandBarItem6.Hint = "Align the control’s text to the right"; this.commandBarItem6.Id = 9; this.commandBarItem6.ImageIndex = 7; this.commandBarItem6.Name = "commandBarItem6"; // // commandBarItem7 // this.commandBarItem7.Caption = "&Justify"; this.commandBarItem7.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.JustifyJustify; this.commandBarItem7.Enabled = false; this.commandBarItem7.Hint = "Justify the control’s text"; this.commandBarItem7.Id = 10; this.commandBarItem7.ImageIndex = 8; this.commandBarItem7.Name = "commandBarItem7"; // // barSubItem9 // this.barSubItem9.Caption = "&Align"; this.barSubItem9.Id = 54; this.barSubItem9.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem9, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem10), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem11), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem12, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem13), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem14), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem8, true)}); this.barSubItem9.Name = "barSubItem9"; // // commandBarItem9 // this.commandBarItem9.Caption = "&Lefts"; this.commandBarItem9.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.AlignLeft; this.commandBarItem9.Enabled = false; this.commandBarItem9.Hint = "Left align the selected controls"; this.commandBarItem9.Id = 12; this.commandBarItem9.ImageIndex = 18; this.commandBarItem9.Name = "commandBarItem9"; // // commandBarItem10 // this.commandBarItem10.Caption = "&Centers"; this.commandBarItem10.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.AlignVerticalCenters; this.commandBarItem10.Enabled = false; this.commandBarItem10.Hint = "Align the centers of the selected controls vertically"; this.commandBarItem10.Id = 13; this.commandBarItem10.ImageIndex = 19; this.commandBarItem10.Name = "commandBarItem10"; // // commandBarItem11 // this.commandBarItem11.Caption = "&Rights"; this.commandBarItem11.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.AlignRight; this.commandBarItem11.Enabled = false; this.commandBarItem11.Hint = "Right align the selected controls"; this.commandBarItem11.Id = 14; this.commandBarItem11.ImageIndex = 20; this.commandBarItem11.Name = "commandBarItem11"; // // commandBarItem12 // this.commandBarItem12.Caption = "&Tops"; this.commandBarItem12.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.AlignTop; this.commandBarItem12.Enabled = false; this.commandBarItem12.Hint = "Align the tops of the selected controls"; this.commandBarItem12.Id = 15; this.commandBarItem12.ImageIndex = 21; this.commandBarItem12.Name = "commandBarItem12"; // // commandBarItem13 // this.commandBarItem13.Caption = "&Middles"; this.commandBarItem13.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.AlignHorizontalCenters; this.commandBarItem13.Enabled = false; this.commandBarItem13.Hint = "Align the centers of the selected controls horizontally"; this.commandBarItem13.Id = 16; this.commandBarItem13.ImageIndex = 22; this.commandBarItem13.Name = "commandBarItem13"; // // commandBarItem14 // this.commandBarItem14.Caption = "&Bottoms"; this.commandBarItem14.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.AlignBottom; this.commandBarItem14.Enabled = false; this.commandBarItem14.Hint = "Align the bottoms of the selected controls"; this.commandBarItem14.Id = 17; this.commandBarItem14.ImageIndex = 23; this.commandBarItem14.Name = "commandBarItem14"; // // commandBarItem8 // this.commandBarItem8.Caption = "to &Grid"; this.commandBarItem8.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.AlignToGrid; this.commandBarItem8.Enabled = false; this.commandBarItem8.Hint = "Align the positions of the selected controls to the grid"; this.commandBarItem8.Id = 11; this.commandBarItem8.ImageIndex = 17; this.commandBarItem8.Name = "commandBarItem8"; // // barSubItem10 // this.barSubItem10.Caption = "&Make Same Size"; this.barSubItem10.Id = 55; this.barSubItem10.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem15, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem16), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem17), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem18)}); this.barSubItem10.Name = "barSubItem10"; // // commandBarItem15 // this.commandBarItem15.Caption = "&Width"; this.commandBarItem15.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.SizeToControlWidth; this.commandBarItem15.Enabled = false; this.commandBarItem15.Hint = "Make the selected controls have the same width"; this.commandBarItem15.Id = 18; this.commandBarItem15.ImageIndex = 24; this.commandBarItem15.Name = "commandBarItem15"; // // commandBarItem16 // this.commandBarItem16.Caption = "Size to Gri&d"; this.commandBarItem16.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.SizeToGrid; this.commandBarItem16.Enabled = false; this.commandBarItem16.Hint = "Size the selected controls to the grid"; this.commandBarItem16.Id = 19; this.commandBarItem16.ImageIndex = 25; this.commandBarItem16.Name = "commandBarItem16"; // // commandBarItem17 // this.commandBarItem17.Caption = "&Height"; this.commandBarItem17.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.SizeToControlHeight; this.commandBarItem17.Enabled = false; this.commandBarItem17.Hint = "Make the selected controls have the same height"; this.commandBarItem17.Id = 20; this.commandBarItem17.ImageIndex = 26; this.commandBarItem17.Name = "commandBarItem17"; // // commandBarItem18 // this.commandBarItem18.Caption = "&Both"; this.commandBarItem18.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.SizeToControl; this.commandBarItem18.Enabled = false; this.commandBarItem18.Hint = "Make the selected controls the same size"; this.commandBarItem18.Id = 21; this.commandBarItem18.ImageIndex = 27; this.commandBarItem18.Name = "commandBarItem18"; // // barSubItem11 // this.barSubItem11.Caption = "&Horizontal Spacing"; this.barSubItem11.Id = 56; this.barSubItem11.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem19, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem20), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem21), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem22)}); this.barSubItem11.Name = "barSubItem11"; // // commandBarItem19 // this.commandBarItem19.Caption = "Make &Equal"; this.commandBarItem19.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.HorizSpaceMakeEqual; this.commandBarItem19.Enabled = false; this.commandBarItem19.Hint = "Make the spacing between the selected controls equal"; this.commandBarItem19.Id = 22; this.commandBarItem19.ImageIndex = 28; this.commandBarItem19.Name = "commandBarItem19"; // // commandBarItem20 // this.commandBarItem20.Caption = "&Increase"; this.commandBarItem20.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.HorizSpaceIncrease; this.commandBarItem20.Enabled = false; this.commandBarItem20.Hint = "Increase the spacing between the selected controls"; this.commandBarItem20.Id = 23; this.commandBarItem20.ImageIndex = 29; this.commandBarItem20.Name = "commandBarItem20"; // // commandBarItem21 // this.commandBarItem21.Caption = "&Decrease"; this.commandBarItem21.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.HorizSpaceDecrease; this.commandBarItem21.Enabled = false; this.commandBarItem21.Hint = "Decrease the spacing between the selected controls"; this.commandBarItem21.Id = 24; this.commandBarItem21.ImageIndex = 30; this.commandBarItem21.Name = "commandBarItem21"; // // commandBarItem22 // this.commandBarItem22.Caption = "&Remove"; this.commandBarItem22.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.HorizSpaceConcatenate; this.commandBarItem22.Enabled = false; this.commandBarItem22.Hint = "Remove the spacing between the selected controls"; this.commandBarItem22.Id = 25; this.commandBarItem22.ImageIndex = 31; this.commandBarItem22.Name = "commandBarItem22"; // // barSubItem12 // this.barSubItem12.Caption = "&Vertical Spacing"; this.barSubItem12.Id = 57; this.barSubItem12.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem23, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem24), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem25), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem26)}); this.barSubItem12.Name = "barSubItem12"; // // commandBarItem23 // this.commandBarItem23.Caption = "Make &Equal"; this.commandBarItem23.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.VertSpaceMakeEqual; this.commandBarItem23.Enabled = false; this.commandBarItem23.Hint = "Make the spacing between the selected controls equal"; this.commandBarItem23.Id = 26; this.commandBarItem23.ImageIndex = 32; this.commandBarItem23.Name = "commandBarItem23"; // // commandBarItem24 // this.commandBarItem24.Caption = "&Increase"; this.commandBarItem24.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.VertSpaceIncrease; this.commandBarItem24.Enabled = false; this.commandBarItem24.Hint = "Increase the spacing between the selected controls"; this.commandBarItem24.Id = 27; this.commandBarItem24.ImageIndex = 33; this.commandBarItem24.Name = "commandBarItem24"; // // commandBarItem25 // this.commandBarItem25.Caption = "&Decrease"; this.commandBarItem25.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.VertSpaceDecrease; this.commandBarItem25.Enabled = false; this.commandBarItem25.Hint = "Decrease the spacing between the selected controls"; this.commandBarItem25.Id = 28; this.commandBarItem25.ImageIndex = 34; this.commandBarItem25.Name = "commandBarItem25"; // // commandBarItem26 // this.commandBarItem26.Caption = "&Remove"; this.commandBarItem26.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.VertSpaceConcatenate; this.commandBarItem26.Enabled = false; this.commandBarItem26.Hint = "Remove the spacing between the selected controls"; this.commandBarItem26.Id = 29; this.commandBarItem26.ImageIndex = 35; this.commandBarItem26.Name = "commandBarItem26"; // // barSubItem13 // this.barSubItem13.Caption = "&Center in Form"; this.barSubItem13.Id = 58; this.barSubItem13.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem27, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem28)}); this.barSubItem13.Name = "barSubItem13"; // // commandBarItem27 // this.commandBarItem27.Caption = "&Horizontally"; this.commandBarItem27.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.CenterHorizontally; this.commandBarItem27.Enabled = false; this.commandBarItem27.Hint = "Horizontally center the selected controls within a band"; this.commandBarItem27.Id = 30; this.commandBarItem27.ImageIndex = 36; this.commandBarItem27.Name = "commandBarItem27"; // // commandBarItem28 // this.commandBarItem28.Caption = "&Vertically"; this.commandBarItem28.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.CenterVertically; this.commandBarItem28.Enabled = false; this.commandBarItem28.Hint = "Vertically center the selected controls within a band"; this.commandBarItem28.Id = 31; this.commandBarItem28.ImageIndex = 37; this.commandBarItem28.Name = "commandBarItem28"; // // barSubItem14 // this.barSubItem14.Caption = "&Order"; this.barSubItem14.Id = 59; this.barSubItem14.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem29, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem30)}); this.barSubItem14.Name = "barSubItem14"; // // commandBarItem29 // this.commandBarItem29.Caption = "&Bring to Front"; this.commandBarItem29.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.BringToFront; this.commandBarItem29.Enabled = false; this.commandBarItem29.Hint = "Bring the selected controls to the front"; this.commandBarItem29.Id = 32; this.commandBarItem29.ImageIndex = 38; this.commandBarItem29.Name = "commandBarItem29"; // // commandBarItem30 // this.commandBarItem30.Caption = "&Send to Back"; this.commandBarItem30.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.SendToBack; this.commandBarItem30.Enabled = false; this.commandBarItem30.Hint = "Move the selected controls to the back"; this.commandBarItem30.Id = 33; this.commandBarItem30.ImageIndex = 39; this.commandBarItem30.Name = "commandBarItem30"; // // bsiLookAndFeel // this.bsiLookAndFeel.Caption = "&Look and Feel"; this.bsiLookAndFeel.Id = 65; this.bsiLookAndFeel.Name = "bsiLookAndFeel"; // // designBar2 // this.designBar2.BarName = "ToolBar"; this.designBar2.DockCol = 0; this.designBar2.DockRow = 1; this.designBar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.designBar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem31), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem32), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem33), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem34, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem35), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem36), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem37, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem38)}); this.designBar2.Text = "Main Toolbar"; // // designBar3 // this.designBar3.BarName = "FormattingToolBar"; this.designBar3.DockCol = 1; this.designBar3.DockRow = 1; this.designBar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.designBar3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barEditItem1), new DevExpress.XtraBars.LinkPersistInfo(this.barEditItem2), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem1), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem2), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem3), new DevExpress.XtraBars.LinkPersistInfo(this.commandColorBarItem1, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandColorBarItem2), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem4, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem5), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem6), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem7)}); this.designBar3.Text = "Formatting Toolbar"; // // barEditItem1 // this.barEditItem1.Caption = "Font Name"; this.barEditItem1.Edit = this.ricbFontName; this.barEditItem1.Hint = "Font Name"; this.barEditItem1.Id = 0; this.barEditItem1.Name = "barEditItem1"; this.barEditItem1.Width = 120; // // ricbFontName // this.ricbFontName.AutoHeight = false; this.ricbFontName.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.ricbFontName.DropDownRows = 12; this.ricbFontName.Name = "ricbFontName"; // // barEditItem2 // this.barEditItem2.Caption = "Font Size"; this.barEditItem2.Edit = this.ricbFontSize; this.barEditItem2.Hint = "Font Size"; this.barEditItem2.Id = 1; this.barEditItem2.Name = "barEditItem2"; this.barEditItem2.Width = 55; // // ricbFontSize // this.ricbFontSize.AutoHeight = false; this.ricbFontSize.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.ricbFontSize.Items.AddRange(new object[] { ((byte)(8)), ((byte)(9)), ((byte)(10)), ((byte)(11)), ((byte)(12)), ((byte)(14)), ((byte)(16)), ((byte)(18)), ((byte)(20)), ((byte)(22)), ((byte)(24)), ((byte)(26)), ((byte)(28)), ((byte)(36)), ((byte)(48)), ((byte)(72))}); this.ricbFontSize.Name = "ricbFontSize"; // // designBar4 // this.designBar4.BarName = "LayoutToolBar"; this.designBar4.DockCol = 0; this.designBar4.DockRow = 2; this.designBar4.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.designBar4.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem8), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem9, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem10), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem11), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem12, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem13), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem14), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem15, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem16), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem17), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem18), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem19, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem20), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem21), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem22), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem23, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem24), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem25), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem26), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem27, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem28), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem29, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem30)}); this.designBar4.Text = "Layout Toolbar"; // // designBar5 // this.designBar5.BarName = "StatusBar"; this.designBar5.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom; this.designBar5.DockCol = 0; this.designBar5.DockRow = 0; this.designBar5.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom; this.designBar5.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barStaticItem1)}); this.designBar5.OptionsBar.AllowQuickCustomization = false; this.designBar5.OptionsBar.DrawDragBorder = false; this.designBar5.OptionsBar.UseWholeRow = true; this.designBar5.Text = "Status Bar"; // // barStaticItem1 // this.barStaticItem1.AutoSize = DevExpress.XtraBars.BarStaticItemSize.Spring; this.barStaticItem1.Id = 42; this.barStaticItem1.Name = "barStaticItem1"; this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near; this.barStaticItem1.Width = 32; // // designBar6 // this.designBar6.BarName = "Zoom Bar"; this.designBar6.DockCol = 1; this.designBar6.DockRow = 2; this.designBar6.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.designBar6.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem44), new DevExpress.XtraBars.LinkPersistInfo(this.xrZoomBarEditItem1), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem45)}); this.designBar6.Text = "Zoom Bar"; // // commandBarItem44 // this.commandBarItem44.Caption = "Zoom Out"; this.commandBarItem44.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.ZoomOut; this.commandBarItem44.Enabled = false; this.commandBarItem44.Hint = "Zoom out the design surface"; this.commandBarItem44.Id = 66; this.commandBarItem44.ImageIndex = 40; this.commandBarItem44.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Subtract)); this.commandBarItem44.Name = "commandBarItem44"; // // xrZoomBarEditItem1 // this.xrZoomBarEditItem1.Caption = "Zoom"; this.xrZoomBarEditItem1.Edit = this.designRepositoryItemComboBox1; this.xrZoomBarEditItem1.Enabled = false; this.xrZoomBarEditItem1.Hint = "Select or input the zoom factor"; this.xrZoomBarEditItem1.Id = 67; this.xrZoomBarEditItem1.Name = "xrZoomBarEditItem1"; this.xrZoomBarEditItem1.Width = 70; // // designRepositoryItemComboBox1 // this.designRepositoryItemComboBox1.AutoComplete = false; this.designRepositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.designRepositoryItemComboBox1.Name = "designRepositoryItemComboBox1"; // // commandBarItem45 // this.commandBarItem45.Caption = "Zoom In"; this.commandBarItem45.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.ZoomIn; this.commandBarItem45.Enabled = false; this.commandBarItem45.Hint = "Zoom in the design surface"; this.commandBarItem45.Id = 68; this.commandBarItem45.ImageIndex = 41; this.commandBarItem45.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Add)); this.commandBarItem45.Name = "commandBarItem45"; // // xrDesignDockManager1 // this.xrDesignDockManager1.Form = this; this.xrDesignDockManager1.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("xrDesignDockManager1.ImageStream"))); this.xrDesignDockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { this.panelContainer1, this.toolBoxDockPanel1, this.groupAndSortDockPanel1}); this.xrDesignDockManager1.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "System.Windows.Forms.StatusBar"}); this.xrDesignDockManager1.XRDesignPanel = this.xrDesignPanel; // // panelContainer1 // this.panelContainer1.Controls.Add(this.panelContainer2); this.panelContainer1.Controls.Add(this.propertyGridDockPanel1); this.panelContainer1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Right; this.panelContainer1.ID = new System.Guid("c924e71d-fc07-4f71-80db-150e46515172"); this.panelContainer1.Location = new System.Drawing.Point(582, 78); this.panelContainer1.Name = "panelContainer1"; this.panelContainer1.Size = new System.Drawing.Size(250, 311); this.panelContainer1.Text = "panelContainer1"; // // panelContainer2 // this.panelContainer2.ActiveChild = this.reportExplorerDockPanel1; this.panelContainer2.Controls.Add(this.reportExplorerDockPanel1); this.panelContainer2.Controls.Add(this.fieldListDockPanel1); this.panelContainer2.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill; this.panelContainer2.ID = new System.Guid("f590a4cc-96cf-4036-aaa1-6a23922194fc"); this.panelContainer2.ImageIndex = 2; this.panelContainer2.Location = new System.Drawing.Point(0, 0); this.panelContainer2.Name = "panelContainer2"; this.panelContainer2.Size = new System.Drawing.Size(250, 9841); this.panelContainer2.Tabbed = true; this.panelContainer2.Text = "panelContainer2"; // // reportExplorerDockPanel1 // this.reportExplorerDockPanel1.Controls.Add(this.reportExplorerDockPanel1_Container); this.reportExplorerDockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill; this.reportExplorerDockPanel1.ID = new System.Guid("fb3ec6cc-3b9b-4b9c-91cf-cff78c1edbf1"); this.reportExplorerDockPanel1.ImageIndex = 2; this.reportExplorerDockPanel1.Location = new System.Drawing.Point(3, 29); this.reportExplorerDockPanel1.Name = "reportExplorerDockPanel1"; this.reportExplorerDockPanel1.Size = new System.Drawing.Size(244, 9787); this.reportExplorerDockPanel1.Text = "Report Explorer"; this.reportExplorerDockPanel1.XRDesignPanel = this.xrDesignPanel; // // reportExplorerDockPanel1_Container // this.reportExplorerDockPanel1_Container.Location = new System.Drawing.Point(0, 0); this.reportExplorerDockPanel1_Container.Name = "reportExplorerDockPanel1_Container"; this.reportExplorerDockPanel1_Container.Size = new System.Drawing.Size(244, 9787); this.reportExplorerDockPanel1_Container.TabIndex = 0; // // fieldListDockPanel1 // this.fieldListDockPanel1.Controls.Add(this.fieldListDockPanel1_Container); this.fieldListDockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill; this.fieldListDockPanel1.ID = new System.Guid("faf69838-a93f-4114-83e8-d0d09cc5ce95"); this.fieldListDockPanel1.ImageIndex = 0; this.fieldListDockPanel1.Location = new System.Drawing.Point(3, 29); this.fieldListDockPanel1.Name = "fieldListDockPanel1"; this.fieldListDockPanel1.Size = new System.Drawing.Size(244, 9787); this.fieldListDockPanel1.Text = "Field List"; this.fieldListDockPanel1.XRDesignPanel = this.xrDesignPanel; // // fieldListDockPanel1_Container // this.fieldListDockPanel1_Container.Location = new System.Drawing.Point(0, 0); this.fieldListDockPanel1_Container.Name = "fieldListDockPanel1_Container"; this.fieldListDockPanel1_Container.Size = new System.Drawing.Size(244, 9787); this.fieldListDockPanel1_Container.TabIndex = 0; // // propertyGridDockPanel1 // this.propertyGridDockPanel1.Controls.Add(this.propertyGridDockPanel1_Container); this.propertyGridDockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill; this.propertyGridDockPanel1.ID = new System.Guid("b38d12c3-cd06-4dec-b93d-63a0088e495a"); this.propertyGridDockPanel1.ImageIndex = 1; this.propertyGridDockPanel1.Location = new System.Drawing.Point(0, 9841); this.propertyGridDockPanel1.Name = "propertyGridDockPanel1"; this.propertyGridDockPanel1.Size = new System.Drawing.Size(250, 0); this.propertyGridDockPanel1.Text = "Property Grid"; this.propertyGridDockPanel1.XRDesignPanel = this.xrDesignPanel; // // propertyGridDockPanel1_Container // this.propertyGridDockPanel1_Container.Location = new System.Drawing.Point(3, -9370); this.propertyGridDockPanel1_Container.Name = "propertyGridDockPanel1_Container"; this.propertyGridDockPanel1_Container.Size = new System.Drawing.Size(244, 0); this.propertyGridDockPanel1_Container.TabIndex = 0; // // toolBoxDockPanel1 // this.toolBoxDockPanel1.Controls.Add(this.toolBoxDockPanel1_Container); this.toolBoxDockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left; this.toolBoxDockPanel1.ID = new System.Guid("161a5a1a-d9b9-4f06-9ac4-d0c3e507c54f"); this.toolBoxDockPanel1.ImageIndex = 3; this.toolBoxDockPanel1.Location = new System.Drawing.Point(0, 78); this.toolBoxDockPanel1.Name = "toolBoxDockPanel1"; this.toolBoxDockPanel1.Size = new System.Drawing.Size(165, 471); this.toolBoxDockPanel1.Text = "Tool Box"; this.toolBoxDockPanel1.XRDesignPanel = this.xrDesignPanel; // // toolBoxDockPanel1_Container // this.toolBoxDockPanel1_Container.Location = new System.Drawing.Point(3, 29); this.toolBoxDockPanel1_Container.Name = "toolBoxDockPanel1_Container"; this.toolBoxDockPanel1_Container.Size = new System.Drawing.Size(159, 439); this.toolBoxDockPanel1_Container.TabIndex = 0; // // groupAndSortDockPanel1 // this.groupAndSortDockPanel1.Controls.Add(this.groupAndSortDockPanel1_Container); this.groupAndSortDockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Bottom; this.groupAndSortDockPanel1.ID = new System.Guid("4bab159e-c495-4d67-87dc-f4e895da443e"); this.groupAndSortDockPanel1.ImageIndex = 4; this.groupAndSortDockPanel1.Location = new System.Drawing.Point(165, 389); this.groupAndSortDockPanel1.Name = "groupAndSortDockPanel1"; this.groupAndSortDockPanel1.Size = new System.Drawing.Size(667, 160); this.groupAndSortDockPanel1.Text = "Group and Sort"; this.groupAndSortDockPanel1.XRDesignPanel = this.xrDesignPanel; // // groupAndSortDockPanel1_Container // this.groupAndSortDockPanel1_Container.Location = new System.Drawing.Point(3, 29); this.groupAndSortDockPanel1_Container.Name = "groupAndSortDockPanel1_Container"; this.groupAndSortDockPanel1_Container.Size = new System.Drawing.Size(411, 128); this.groupAndSortDockPanel1_Container.TabIndex = 0; // // CustomDesignForm // this.ClientSize = new System.Drawing.Size(832, 571); this.Controls.Add(this.panelContainer1); this.Controls.Add(this.groupAndSortDockPanel1); this.Controls.Add(this.toolBoxDockPanel1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "CustomDesignForm"; this.Controls.SetChildIndex(this.barDockControlTop, 0); this.Controls.SetChildIndex(this.barDockControlBottom, 0); this.Controls.SetChildIndex(this.barDockControlRight, 0); this.Controls.SetChildIndex(this.barDockControlLeft, 0); this.Controls.SetChildIndex(this.toolBoxDockPanel1, 0); this.Controls.SetChildIndex(this.groupAndSortDockPanel1, 0); this.Controls.SetChildIndex(this.panelContainer1, 0); this.Controls.SetChildIndex(this.xrDesignPanel, 0); ((System.ComponentModel.ISupportInitialize)(this.xrDesignPanel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrDesignBarManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ricbFontName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ricbFontSize)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.designRepositoryItemComboBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrDesignDockManager1)).EndInit(); this.panelContainer1.ResumeLayout(false); this.panelContainer2.ResumeLayout(false); this.reportExplorerDockPanel1.ResumeLayout(false); this.fieldListDockPanel1.ResumeLayout(false); this.propertyGridDockPanel1.ResumeLayout(false); this.toolBoxDockPanel1.ResumeLayout(false); this.groupAndSortDockPanel1.ResumeLayout(false); 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.sptPanel1 = new DevExpress.XtraEditors.SplitContainerControl(); this.treeCtl1 = new DevExpress.XtraTreeList.TreeList(); this.treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.groupPanel1 = new DevExpress.XtraEditors.GroupControl(); this.btnSaveToSvr = new DevExpress.XtraEditors.SimpleButton(); this.groupPanel3 = new DevExpress.XtraEditors.GroupControl(); this.labelControl4 = new DevExpress.XtraEditors.LabelControl(); this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.btnSaveMnuItem = new DevExpress.XtraEditors.SimpleButton(); this.chkUsing = new DevExpress.XtraEditors.CheckEdit(); this.txtmnuAsmName = new DevExpress.XtraEditors.TextEdit(); this.txtmnuClassName = new DevExpress.XtraEditors.TextEdit(); this.txtmnuName = new DevExpress.XtraEditors.TextEdit(); this.groupPanel2 = new DevExpress.XtraEditors.GroupControl(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.btnSaveMnuGrp = new DevExpress.XtraEditors.SimpleButton(); this.txtmnuGrp = new DevExpress.XtraEditors.TextEdit(); this.barManager1 = 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(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem1 = new DevExpress.XtraBars.BarSubItem(); this.barBtnLogoff = new DevExpress.XtraBars.BarButtonItem(); this.barBtnExit = new DevExpress.XtraBars.BarButtonItem(); this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem(); this.barLabel = new DevExpress.XtraBars.BarStaticItem(); this.barSubOpt = new DevExpress.XtraBars.BarSubItem(); this.barSkin = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem2 = new DevExpress.XtraBars.BarSubItem(); this.barChkSys = new DevExpress.XtraBars.BarCheckItem(); this.barChkTaobao = new DevExpress.XtraBars.BarCheckItem(); this.barBtnSysMnu = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem3 = new DevExpress.XtraBars.BarSubItem(); this.barBtnSysInfo = new DevExpress.XtraBars.BarButtonItem(); this.barMnuTaobao = new DevExpress.XtraBars.BarButtonItem(); this.barStaticItem2 = new DevExpress.XtraBars.BarStaticItem(); this.barStaticItem3 = new DevExpress.XtraBars.BarStaticItem(); this.barbtnMnuGrp = new DevExpress.XtraBars.BarButtonItem(); this.barbtnMnuItem = new DevExpress.XtraBars.BarButtonItem(); this.barbtnDel = new DevExpress.XtraBars.BarButtonItem(); 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.popMenuCtl1 = new DevExpress.XtraBars.PopupMenu(); this.fdlg = new System.Windows.Forms.SaveFileDialog(); ((System.ComponentModel.ISupportInitialize)(this.sptPanel1)).BeginInit(); this.sptPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.treeCtl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupPanel1)).BeginInit(); this.groupPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupPanel3)).BeginInit(); this.groupPanel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chkUsing.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtmnuAsmName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtmnuClassName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtmnuName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupPanel2)).BeginInit(); this.groupPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtmnuGrp.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popMenuCtl1)).BeginInit(); this.SuspendLayout(); // // sptPanel1 // this.sptPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.sptPanel1.Location = new System.Drawing.Point(0, 0); this.sptPanel1.Name = "sptPanel1"; this.sptPanel1.Panel1.Controls.Add(this.treeCtl1); this.sptPanel1.Panel1.Text = "Panel1"; this.sptPanel1.Panel2.Controls.Add(this.groupPanel1); this.sptPanel1.Panel2.Text = "Panel2"; this.sptPanel1.Size = new System.Drawing.Size(732, 448); this.sptPanel1.SplitterPosition = 214; this.sptPanel1.TabIndex = 0; this.sptPanel1.Text = "sptPanel1"; // // treeCtl1 // this.treeCtl1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { this.treeListColumn1}); this.treeCtl1.Dock = System.Windows.Forms.DockStyle.Fill; this.treeCtl1.HorzScrollVisibility = DevExpress.XtraTreeList.ScrollVisibility.Always; this.treeCtl1.Location = new System.Drawing.Point(0, 0); this.treeCtl1.Name = "treeCtl1"; this.treeCtl1.BeginUnboundLoad(); this.treeCtl1.AppendNode(new object[] { "1"}, -1); this.treeCtl1.AppendNode(new object[] { "11"}, 0); this.treeCtl1.AppendNode(new object[] { "2"}, -1); this.treeCtl1.AppendNode(new object[] { "22"}, 2); this.treeCtl1.AppendNode(new object[] { "222"}, 3); this.treeCtl1.AppendNode(new object[] { "3"}, -1); this.treeCtl1.EndUnboundLoad(); this.treeCtl1.OptionsBehavior.DragNodes = true; this.treeCtl1.OptionsBehavior.Editable = false; this.treeCtl1.OptionsSelection.EnableAppearanceFocusedRow = false; this.treeCtl1.OptionsSelection.InvertSelection = true; this.treeCtl1.OptionsView.ShowColumns = false; this.treeCtl1.OptionsView.ShowFocusedFrame = false; this.treeCtl1.OptionsView.ShowHorzLines = false; this.treeCtl1.OptionsView.ShowIndicator = false; this.treeCtl1.OptionsView.ShowVertLines = false; this.treeCtl1.ShowButtonMode = DevExpress.XtraTreeList.ShowButtonModeEnum.ShowForFocusedRow; this.treeCtl1.Size = new System.Drawing.Size(214, 448); this.treeCtl1.TabIndex = 0; this.treeCtl1.TreeLineStyle = DevExpress.XtraTreeList.LineStyle.Solid; this.treeCtl1.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(this.treeCtl1_FocusedNodeChanged); this.treeCtl1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.treeCtl1_MouseUp); // // treeListColumn1 // this.treeListColumn1.Caption = "treeListColumn1"; this.treeListColumn1.FieldName = "treeListColumn1"; this.treeListColumn1.MinWidth = 86; this.treeListColumn1.Name = "treeListColumn1"; this.treeListColumn1.Visible = true; this.treeListColumn1.VisibleIndex = 0; this.treeListColumn1.Width = 91; // // groupPanel1 // this.groupPanel1.Controls.Add(this.btnSaveToSvr); this.groupPanel1.Controls.Add(this.groupPanel3); this.groupPanel1.Controls.Add(this.groupPanel2); this.groupPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupPanel1.Location = new System.Drawing.Point(0, 0); this.groupPanel1.Name = "groupPanel1"; this.groupPanel1.Size = new System.Drawing.Size(513, 448); this.groupPanel1.TabIndex = 0; this.groupPanel1.Text = "菜单编辑"; // // btnSaveToSvr // this.btnSaveToSvr.Location = new System.Drawing.Point(14, 377); this.btnSaveToSvr.Name = "btnSaveToSvr"; this.btnSaveToSvr.Size = new System.Drawing.Size(130, 23); this.btnSaveToSvr.TabIndex = 1; this.btnSaveToSvr.Text = "保存菜单至服务器"; this.btnSaveToSvr.Click += new System.EventHandler(this.btnSaveToSvr_Click); // // groupPanel3 // this.groupPanel3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupPanel3.Controls.Add(this.labelControl4); this.groupPanel3.Controls.Add(this.labelControl3); this.groupPanel3.Controls.Add(this.labelControl2); this.groupPanel3.Controls.Add(this.btnSaveMnuItem); this.groupPanel3.Controls.Add(this.chkUsing); this.groupPanel3.Controls.Add(this.txtmnuAsmName); this.groupPanel3.Controls.Add(this.txtmnuClassName); this.groupPanel3.Controls.Add(this.txtmnuName); this.groupPanel3.Location = new System.Drawing.Point(14, 140); this.groupPanel3.Name = "groupPanel3"; this.groupPanel3.Size = new System.Drawing.Size(487, 217); this.groupPanel3.TabIndex = 0; this.groupPanel3.Text = "菜单项"; // // labelControl4 // this.labelControl4.Location = new System.Drawing.Point(22, 67); this.labelControl4.Name = "labelControl4"; this.labelControl4.Size = new System.Drawing.Size(48, 14); this.labelControl4.TabIndex = 6; this.labelControl4.Text = "主画面类"; // // labelControl3 // this.labelControl3.Location = new System.Drawing.Point(10, 94); this.labelControl3.Name = "labelControl3"; this.labelControl3.Size = new System.Drawing.Size(60, 14); this.labelControl3.TabIndex = 5; this.labelControl3.Text = "程序集名称"; // // labelControl2 // this.labelControl2.Location = new System.Drawing.Point(10, 40); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(60, 14); this.labelControl2.TabIndex = 4; this.labelControl2.Text = "菜单项名称"; // // btnSaveMnuItem // this.btnSaveMnuItem.Location = new System.Drawing.Point(7, 152); this.btnSaveMnuItem.Name = "btnSaveMnuItem"; this.btnSaveMnuItem.Size = new System.Drawing.Size(75, 23); this.btnSaveMnuItem.TabIndex = 1; this.btnSaveMnuItem.Text = "保存修改"; this.btnSaveMnuItem.Click += new System.EventHandler(this.btnSaveMnuItem_Click); // // chkUsing // this.chkUsing.EditValue = true; this.chkUsing.Location = new System.Drawing.Point(5, 117); this.chkUsing.Name = "chkUsing"; this.chkUsing.Properties.Caption = "启用"; this.chkUsing.Size = new System.Drawing.Size(92, 19); this.chkUsing.TabIndex = 3; // // txtmnuAsmName // this.txtmnuAsmName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtmnuAsmName.Location = new System.Drawing.Point(76, 91); this.txtmnuAsmName.Name = "txtmnuAsmName"; this.txtmnuAsmName.Size = new System.Drawing.Size(406, 20); this.txtmnuAsmName.TabIndex = 2; // // txtmnuClassName // this.txtmnuClassName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtmnuClassName.Location = new System.Drawing.Point(76, 64); this.txtmnuClassName.Name = "txtmnuClassName"; this.txtmnuClassName.Size = new System.Drawing.Size(406, 20); this.txtmnuClassName.TabIndex = 1; // // txtmnuName // this.txtmnuName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtmnuName.Location = new System.Drawing.Point(76, 37); this.txtmnuName.Name = "txtmnuName"; this.txtmnuName.Size = new System.Drawing.Size(406, 20); this.txtmnuName.TabIndex = 0; // // groupPanel2 // this.groupPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupPanel2.Controls.Add(this.labelControl1); this.groupPanel2.Controls.Add(this.btnSaveMnuGrp); this.groupPanel2.Controls.Add(this.txtmnuGrp); this.groupPanel2.Location = new System.Drawing.Point(14, 25); this.groupPanel2.Name = "groupPanel2"; this.groupPanel2.Size = new System.Drawing.Size(487, 100); this.groupPanel2.TabIndex = 0; this.groupPanel2.Text = "菜单组"; // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(10, 38); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(60, 14); this.labelControl1.TabIndex = 2; this.labelControl1.Text = "菜单组名称"; // // btnSaveMnuGrp // this.btnSaveMnuGrp.Location = new System.Drawing.Point(5, 62); this.btnSaveMnuGrp.Name = "btnSaveMnuGrp"; this.btnSaveMnuGrp.Size = new System.Drawing.Size(75, 23); this.btnSaveMnuGrp.TabIndex = 1; this.btnSaveMnuGrp.Text = "保存修改"; this.btnSaveMnuGrp.Click += new System.EventHandler(this.btnSaveMnuGrp_Click); // // txtmnuGrp // this.txtmnuGrp.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtmnuGrp.Location = new System.Drawing.Point(76, 35); this.txtmnuGrp.Name = "txtmnuGrp"; this.txtmnuGrp.Size = new System.Drawing.Size(406, 20); this.txtmnuGrp.TabIndex = 0; // // barManager1 // 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.barButtonItem1, this.barSubItem1, this.barBtnLogoff, this.barBtnExit, this.barStaticItem1, this.barLabel, this.barSubOpt, this.barSubItem3, this.barSkin, this.barSubItem2, this.barMnuTaobao, this.barChkSys, this.barChkTaobao, this.barBtnSysInfo, this.barStaticItem2, this.barStaticItem3, this.barBtnSysMnu, this.barbtnMnuGrp, this.barbtnMnuItem, this.barbtnDel, this.barButtonItem2, this.barButtonItem3, this.barButtonItem4, this.barButtonItem5}); this.barManager1.MaxItemId = 26; // // 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(732, 0); // // barDockControlBottom // this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 448); this.barDockControlBottom.Size = new System.Drawing.Size(732, 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, 448); // // barDockControlRight // this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(732, 0); this.barDockControlRight.Size = new System.Drawing.Size(0, 448); // // barButtonItem1 // this.barButtonItem1.Caption = "txx"; this.barButtonItem1.Id = 0; this.barButtonItem1.Name = "barButtonItem1"; // // barSubItem1 // this.barSubItem1.Caption = "系统(&S)"; this.barSubItem1.Id = 1; this.barSubItem1.ImageIndex = 0; this.barSubItem1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barBtnLogoff), new DevExpress.XtraBars.LinkPersistInfo(this.barBtnExit)}); this.barSubItem1.Name = "barSubItem1"; this.barSubItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barBtnLogoff // this.barBtnLogoff.Caption = "注销(&L)"; this.barBtnLogoff.Id = 2; this.barBtnLogoff.ImageIndex = 1; this.barBtnLogoff.Name = "barBtnLogoff"; // // barBtnExit // this.barBtnExit.Caption = "退出(&X)"; this.barBtnExit.Id = 3; this.barBtnExit.ImageIndex = 2; this.barBtnExit.Name = "barBtnExit"; // // barStaticItem1 // this.barStaticItem1.Caption = "当前登录用户:"; this.barStaticItem1.Id = 4; this.barStaticItem1.Name = "barStaticItem1"; this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near; // // barLabel // this.barLabel.Caption = " "; this.barLabel.Id = 5; this.barLabel.Name = "barLabel"; this.barLabel.TextAlignment = System.Drawing.StringAlignment.Near; // // barSubOpt // this.barSubOpt.Caption = "设置(&S)"; this.barSubOpt.Id = 6; this.barSubOpt.ImageIndex = 3; this.barSubOpt.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barSkin), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem2), new DevExpress.XtraBars.LinkPersistInfo(this.barBtnSysMnu)}); this.barSubOpt.Name = "barSubOpt"; this.barSubOpt.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barSkin // this.barSkin.Caption = "外观"; this.barSkin.Id = 8; this.barSkin.ImageIndex = 4; this.barSkin.Name = "barSkin"; // // barSubItem2 // this.barSubItem2.Caption = "菜单样式"; this.barSubItem2.Id = 10; this.barSubItem2.ImageIndex = 5; this.barSubItem2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barChkSys), new DevExpress.XtraBars.LinkPersistInfo(this.barChkTaobao)}); this.barSubItem2.Name = "barSubItem2"; this.barSubItem2.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barChkSys // this.barChkSys.Caption = "系统风格"; this.barChkSys.Checked = true; this.barChkSys.Id = 13; this.barChkSys.Name = "barChkSys"; // // barChkTaobao // this.barChkTaobao.Caption = "商家后台风格"; this.barChkTaobao.Id = 14; this.barChkTaobao.Name = "barChkTaobao"; // // barBtnSysMnu // this.barBtnSysMnu.Caption = "系统菜单"; this.barBtnSysMnu.Id = 18; this.barBtnSysMnu.Name = "barBtnSysMnu"; this.barBtnSysMnu.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; // // barSubItem3 // this.barSubItem3.Caption = "帮助(&H)"; this.barSubItem3.Id = 7; this.barSubItem3.ImageIndex = 6; this.barSubItem3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barBtnSysInfo)}); this.barSubItem3.Name = "barSubItem3"; this.barSubItem3.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barBtnSysInfo // this.barBtnSysInfo.Caption = "系统信息"; this.barBtnSysInfo.Id = 15; this.barBtnSysInfo.Name = "barBtnSysInfo"; // // barMnuTaobao // this.barMnuTaobao.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.barMnuTaobao.Caption = "商家后台风格"; this.barMnuTaobao.Id = 12; this.barMnuTaobao.Name = "barMnuTaobao"; // // barStaticItem2 // this.barStaticItem2.Caption = "barStaticItem2"; this.barStaticItem2.Id = 16; this.barStaticItem2.Name = "barStaticItem2"; this.barStaticItem2.TextAlignment = System.Drawing.StringAlignment.Near; // // barStaticItem3 // this.barStaticItem3.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.barStaticItem3.Caption = "SvrTime"; this.barStaticItem3.Id = 17; this.barStaticItem3.Name = "barStaticItem3"; this.barStaticItem3.TextAlignment = System.Drawing.StringAlignment.Near; // // barbtnMnuGrp // this.barbtnMnuGrp.Caption = "添加菜单组"; this.barbtnMnuGrp.Id = 19; this.barbtnMnuGrp.Name = "barbtnMnuGrp"; this.barbtnMnuGrp.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barbtnMnuGrp_ItemClick); // // barbtnMnuItem // this.barbtnMnuItem.Caption = "添加菜单项"; this.barbtnMnuItem.Id = 20; this.barbtnMnuItem.Name = "barbtnMnuItem"; this.barbtnMnuItem.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barbtnMnuItem_ItemClick); // // barbtnDel // this.barbtnDel.Caption = "删除"; this.barbtnDel.Id = 21; this.barbtnDel.Name = "barbtnDel"; this.barbtnDel.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barbtnDel_ItemClick); // // barButtonItem2 // this.barButtonItem2.Caption = "barButtonItem2"; this.barButtonItem2.Id = 22; this.barButtonItem2.Name = "barButtonItem2"; // // barButtonItem3 // this.barButtonItem3.Caption = "加载最新菜单"; this.barButtonItem3.Id = 23; this.barButtonItem3.Name = "barButtonItem3"; this.barButtonItem3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem3_ItemClick); // // barButtonItem4 // this.barButtonItem4.Caption = "barButtonItem4"; this.barButtonItem4.Id = 24; this.barButtonItem4.Name = "barButtonItem4"; // // barButtonItem5 // this.barButtonItem5.Caption = "导出菜单"; this.barButtonItem5.Id = 25; this.barButtonItem5.Name = "barButtonItem5"; this.barButtonItem5.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem5_ItemClick); // // popMenuCtl1 // this.popMenuCtl1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barbtnMnuGrp), new DevExpress.XtraBars.LinkPersistInfo(this.barbtnMnuItem), new DevExpress.XtraBars.LinkPersistInfo(this.barbtnDel), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem3), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem5)}); this.popMenuCtl1.Manager = this.barManager1; this.popMenuCtl1.Name = "popMenuCtl1"; // // fdlg // this.fdlg.Filter = "*.xml|*.xml"; this.fdlg.Title = "菜单导出"; // // MenuView // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(732, 448); this.Controls.Add(this.sptPanel1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "MenuView"; this.Text = "系统菜单设置"; this.Load += new System.EventHandler(this.MenuView_Load); ((System.ComponentModel.ISupportInitialize)(this.sptPanel1)).EndInit(); this.sptPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.treeCtl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupPanel1)).EndInit(); this.groupPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.groupPanel3)).EndInit(); this.groupPanel3.ResumeLayout(false); this.groupPanel3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.chkUsing.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtmnuAsmName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtmnuClassName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtmnuName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupPanel2)).EndInit(); this.groupPanel2.ResumeLayout(false); this.groupPanel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtmnuGrp.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popMenuCtl1)).EndInit(); this.ResumeLayout(false); }
private void InitPopupMenu() { try { string categoryLabel = ""; ArrayList categoryList = new ArrayList(); //Load up an array list for unique, non-blank iterating foreach (DataRow row in clauseHeaderTable.Rows) { categoryLabel = row["Category"].ToString(); if (categoryList.IndexOf(categoryLabel) == -1 && categoryLabel.Trim().Length > 0) categoryList.Add(categoryLabel); } categoryList.Sort(); BarManager bManager = new BarManager(); string filterStr = ""; //For each item in array list, select all items for (int i = 0; i < categoryList.Count; i++) { categoryLabel = categoryList[i].ToString(); DevExpress.XtraBars.BarSubItem barSubItem = new DevExpress.XtraBars.BarSubItem(bManager, categoryLabel); filterStr = "Category = '" + categoryLabel + "'"; foreach (DataRow row in clauseHeaderTable.Select(filterStr)) { BarItem item = new BarButtonItem(); item.Caption = row["ShortName"].ToString(); item.Tag = (int)row["PrmntConfirmClauseId"]; item.ItemClick += ClauseBtnClick; barSubItem.AddItem(item); } pmenuEditContract.AddItem(barSubItem); } } catch (Exception ex) { throw new Exception("An error occurred while setting up the popup menu data." + Environment.NewLine + "Error CNF-225 in " + FORM_NAME + ".InitPopupMenu(): " + ex.Message); } }
private void InitMenuBar( ) { mainBar = new DevExpress.XtraBars.Bar(); mainBar.BarName = "Main menu"; mainBar.DockCol = 0; mainBar.DockRow = 0; mainBar.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; mainBar.OptionsBar.AllowQuickCustomization = false; mainBar.OptionsBar.DrawDragBorder = false; mainBar.OptionsBar.MultiLine = true; mainBar.OptionsBar.UseWholeRow = true; mainBar.Text = "Main menu"; ToolbarManager = new DevExpress.XtraBars.BarManager(); ToolbarManager.Bars.AddRange(new DevExpress.XtraBars.Bar[] { mainBar }); ToolbarManager.Form = this; ToolbarManager.MainMenu = mainBar; ToolbarManager.MaxItemId = 5; ToolbarManager.Images = ABCImageList.List24x24; ToolbarManager.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(Toolbar_ItemClick); String strCaption = "Save"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "Lưu"; } SaveItem = AddNewToolbarButton(strCaption, ScreenBarButton.Save, "SaveItem", 51); strCaption = "New"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "Thêm"; } NewItem = AddNewToolbarButton(strCaption, ScreenBarButton.New, "NewItem", 46); strCaption = "Edit"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "Sửa"; } EditItem = AddNewToolbarButton(strCaption, ScreenBarButton.Edit, "EditItem", 47); strCaption = "Delete"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "Xóa"; } DeleteItem = AddNewToolbarButton(strCaption, ScreenBarButton.Delete, "DeleteItem", 48); strCaption = "Cancel"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "Tạm ngưng"; } CancelItem = AddNewToolbarButton(strCaption, ScreenBarButton.Cancel, "CancelItem", 53); strCaption = "Duplicate"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "x2"; } DuplicateItem = AddNewToolbarButton(strCaption, ScreenBarButton.Duplicate, "DuplicateItem", 56); strCaption = "Approve"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "Duyệt"; } ApproveItem = AddNewToolbarButton(strCaption, ScreenBarButton.Approve, "ApproveItem", 55); strCaption = "Reject"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "Giữ lại"; } RejectItem = AddNewToolbarButton(strCaption, ScreenBarButton.Reject, "RejectItem", 58); strCaption = "Lock"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = ""; } LockItem = AddNewToolbarButton(strCaption, ScreenBarButton.Lock, "LockItem", 59); strCaption = "UnLock"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = ""; } UnLockItem = AddNewToolbarButton(strCaption, ScreenBarButton.UnLock, "UnLockItem", 60); strCaption = "Post"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "Ghi Sổ"; } PostItem = AddNewToolbarButton(strCaption, ScreenBarButton.Post, "PostItem", 16); strCaption = "UnPost"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "Hủy Ghi Sổ"; } UnPostItem = AddNewToolbarButton(strCaption, ScreenBarButton.UnPost, "UnPostItem", 10); strCaption = "Refresh"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = ""; } RefreshItem = AddNewToolbarButton(strCaption, ScreenBarButton.Refresh, "RefreshItem", 54); strCaption = "Search"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = ""; } SearchItem = AddNewToolbarButton(strCaption, ScreenBarButton.Search, "SearchItem", 25); strCaption = "Print"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = ""; } PrintItem = AddNewToolbarButton(strCaption, ScreenBarButton.Print, "PrintItem", 64); PrintItem.Visibility = BarItemVisibility.Never; InfoItem = AddNewToolbarButton("", ScreenBarButton.Info, "InfoItem", 61); InfoItem.Visibility = BarItemVisibility.Never; UtilitiesSubItem = AddNewParentToolbarButton("Tiện ích", ScreenBarButton.Utilities, "UtilitiesItem", 26); UtilitiesSubItem.Visibility = BarItemVisibility.Never; strCaption = "Studio"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "Studio"; } StudioItem = AddNewToolbarButton("UtilitiesItem", strCaption, ScreenBarButton.Studio, "StudioItem", 26); }
/// <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.barManager_Main = new DevExpress.XtraBars.BarManager(); this.barMain = new DevExpress.XtraBars.Bar(); this.barSubItem_System = new DevExpress.XtraBars.BarSubItem(); this.barButtonItem_PrintSetting = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_Logout = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_Exit = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem_Tools = new DevExpress.XtraBars.BarSubItem(); this.barButtonItem_CustomDefine = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_CarDataSynch = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_Options = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem_Windows = new DevExpress.XtraBars.BarSubItem(); this.barButtonItem_DutyInfo = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem_Style = new DevExpress.XtraBars.BarSubItem(); this.barButtonItem_DefaultSkin = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_WinXPSkin = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_OfficeXP = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_Office2000 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_Office2003 = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem_Help = new DevExpress.XtraBars.BarSubItem(); this.barButtonItem_Help = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_About = new DevExpress.XtraBars.BarButtonItem(); this.barToolBar = new DevExpress.XtraBars.Bar(); this.barStatus = new DevExpress.XtraBars.Bar(); this.barStaticItem_Ready = new DevExpress.XtraBars.BarStaticItem(); this.barStaticItem_SystemInfo = new DevExpress.XtraBars.BarStaticItem(); this.barStaticItem_SystemDate = new DevExpress.XtraBars.BarStaticItem(); this.barStaticItem_Custom = new DevExpress.XtraBars.BarStaticItem(); 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.dockManager_CurrentStuCheckInfo = new DevExpress.XtraBars.Docking.DockManager(); this.hideContainerRight = new DevExpress.XtraBars.Docking.AutoHideContainer(); this.currentStuCheckInfo = new DevExpress.XtraBars.Docking.DockPanel(); this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); this.imageList_ToolBarIcon = new System.Windows.Forms.ImageList(this.components); this.pictureBox_Border = new System.Windows.Forms.PictureBox(); this.navBarControl_Main = new DevExpress.XtraNavBar.NavBarControl(); this.navBarGroup_GardenInfo = new DevExpress.XtraNavBar.NavBarGroup(); this.navBarItem_GardenInfo = new DevExpress.XtraNavBar.NavBarItem(); this.navBarGroup_TeacherInfo = new DevExpress.XtraNavBar.NavBarGroup(); this.navBarItem_TeaBaseInfo = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem_TeaDutyInfo = new DevExpress.XtraNavBar.NavBarItem(); this.navBarGroup_StudentInfo = new DevExpress.XtraNavBar.NavBarGroup(); this.navBarItem_StuBaseInfo = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem_StuDutyInfo = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem_RealTimeInfo = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem_StuHealth = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem_StuVisit = new DevExpress.XtraNavBar.NavBarItem(); this.navBarGroup_GardenAffair = new DevExpress.XtraNavBar.NavBarGroup(); this.navBarItem_CardManagement = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem_Finance = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem_SMSInfo = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem_AffairNotify = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem_Camera = new DevExpress.XtraNavBar.NavBarItem(); this.splitterControlMain = new DevExpress.XtraEditors.SplitterControl(); this.paneCaption_Title = new CPTT.WinUI.Panels.PaneCaption(); this.pictureBox_BackLogo = new System.Windows.Forms.PictureBox(); this.panelControl_Center = new DevExpress.XtraEditors.PanelControl(); this.nutritionManagement1 = new CPTT.WinUI.Panels.NutritionManagement(); this.finanManagement1 = new CPTT.WinUI.Panels.FinanManagement(); this.realtimeInfo_Teacher1 = new CPTT.WinUI.Panels.RealtimeInfo_Teacher(); this.smsInfo1 = new CPTT.WinUI.Panels.SmsInfo(); // this.gardenInfo1 = new CPTT.WinUI.Panels.GardenInfo(); // this.teacherOnDutyInfo1 = new CPTT.WinUI.Panels.TeacherOnDutyInfo(); this.studentVisitInfo1 = new CPTT.WinUI.Panels.StudentVisitInfo(); this.realtimeInfo1 = new CPTT.WinUI.Panels.RealtimeInfo(); this.teacherBaseInfo1 = new CPTT.WinUI.Panels.TeacherBaseInfo(); this.studentBaseInfo1 = new CPTT.WinUI.Panels.StudentBaseInfo(); this.cameraPanel = new CPTT.WinUI.Panels.Camera(); this.studentMorningCheckInfo1 = new CPTT.WinUI.Panels.StudentMorningCheckInfo(); this.cardManagement2 = new CPTT.WinUI.Panels.CardManagement(); this.realTimeWindows = new CPTT.WinUI.Panels.RealTimeWindows(this); this.transactionReminding1 = new CPTT.WinUI.Panels.TransactionReminding(); this.notifyIcon_MainForm = new System.Windows.Forms.NotifyIcon(this.components); this.contextMenu_NotifyIcon = new System.Windows.Forms.ContextMenu(); this.menuItem_ShowMainForm = new System.Windows.Forms.MenuItem(); this.menuItem_Exit = new System.Windows.Forms.MenuItem(); this.navBarItem_RealtimeInfo_Teacher = new DevExpress.XtraNavBar.NavBarItem(); this.timerSynSession = new System.Timers.Timer(); ((System.ComponentModel.ISupportInitialize)(this.timerSynSession)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager_Main)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dockManager_CurrentStuCheckInfo)).BeginInit(); this.hideContainerRight.SuspendLayout(); this.currentStuCheckInfo.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.navBarControl_Main)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl_Center)).BeginInit(); this.panelControl_Center.SuspendLayout(); this.SuspendLayout(); // // barManager_Main // this.barManager_Main.AllowCustomization = false; this.barManager_Main.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.barMain, this.barToolBar, this.barStatus}); this.barManager_Main.DockControls.Add(this.barDockControlTop); this.barManager_Main.DockControls.Add(this.barDockControlBottom); this.barManager_Main.DockControls.Add(this.barDockControlLeft); this.barManager_Main.DockControls.Add(this.barDockControlRight); this.barManager_Main.DockManager = this.dockManager_CurrentStuCheckInfo; this.barManager_Main.Form = this; this.barManager_Main.Images = this.imageList_ToolBarIcon; this.barManager_Main.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barSubItem_System, this.barButtonItem_Exit, this.barSubItem_Windows, this.barSubItem_Style, this.barSubItem_Tools, this.barSubItem_Help, this.barButtonItem_Logout, this.barButtonItem_DutyInfo, this.barButtonItem_Help, this.barButtonItem_About, this.barStaticItem_SystemInfo, this.barStaticItem_SystemDate, this.barStaticItem_Custom, this.barButtonItem_CarDataSynch, this.barButtonItem_Options, this.barButtonItem_DefaultSkin, this.barButtonItem_WinXPSkin, this.barButtonItem_OfficeXP, this.barButtonItem_Office2000, this.barButtonItem_Office2003, this.barStaticItem_Ready, this.barButtonItem_CustomDefine, this.barButtonItem_PrintSetting, this.barButtonItem1}); this.barManager_Main.LargeImages = this.imageList_ToolBarIcon; this.barManager_Main.MainMenu = this.barMain; this.barManager_Main.MaxItemId = 32; this.barManager_Main.StatusBar = this.barStatus; // // barMain // this.barMain.BarName = "主菜单"; this.barMain.DockCol = 0; this.barMain.DockRow = 0; this.barMain.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.barMain.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barSubItem_System, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barSubItem_Tools, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barSubItem_Windows, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barSubItem_Help, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph)}); this.barMain.OptionsBar.AllowQuickCustomization = false; this.barMain.OptionsBar.MultiLine = true; this.barMain.OptionsBar.UseWholeRow = true; this.barMain.Text = "主菜单"; // // barSubItem_System // this.barSubItem_System.Caption = "系统(&S)"; this.barSubItem_System.Id = 0; this.barSubItem_System.ImageIndex = 6; this.barSubItem_System.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_PrintSetting), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_Logout), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_Exit)}); this.barSubItem_System.Name = "barSubItem_System"; // // barButtonItem_PrintSetting // this.barButtonItem_PrintSetting.Caption = "打印设置"; this.barButtonItem_PrintSetting.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_PrintSetting.Glyph"))); this.barButtonItem_PrintSetting.Id = 29; this.barButtonItem_PrintSetting.Name = "barButtonItem_PrintSetting"; this.barButtonItem_PrintSetting.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; // // barButtonItem_Logout // this.barButtonItem_Logout.Caption = "注销(&O)"; this.barButtonItem_Logout.Hint = "注销"; this.barButtonItem_Logout.Id = 10; this.barButtonItem_Logout.ImageIndex = 7; this.barButtonItem_Logout.Name = "barButtonItem_Logout"; this.barButtonItem_Logout.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Logout_ItemClick); // // barButtonItem_Exit // this.barButtonItem_Exit.Caption = "退出(&X)"; this.barButtonItem_Exit.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_Exit.Glyph"))); this.barButtonItem_Exit.Id = 2; this.barButtonItem_Exit.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.X)); this.barButtonItem_Exit.Name = "barButtonItem_Exit"; this.barButtonItem_Exit.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Exit_ItemClick); // // barSubItem_Tools // this.barSubItem_Tools.Caption = "工具(&T)"; this.barSubItem_Tools.Glyph = ((System.Drawing.Image)(resources.GetObject("barSubItem_Tools.Glyph"))); this.barSubItem_Tools.Id = 7; this.barSubItem_Tools.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_CustomDefine), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_CarDataSynch), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_Options), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1)}); this.barSubItem_Tools.Name = "barSubItem_Tools"; // // barButtonItem_CustomDefine // this.barButtonItem_CustomDefine.Caption = "自定义信息维护(&C)"; this.barButtonItem_CustomDefine.Hint = "自定义信息维护"; this.barButtonItem_CustomDefine.Id = 28; this.barButtonItem_CustomDefine.ImageIndex = 10; this.barButtonItem_CustomDefine.Name = "barButtonItem_CustomDefine"; this.barButtonItem_CustomDefine.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_CustomDefine_ItemClick); // // barButtonItem_CarDataSynch // this.barButtonItem_CarDataSynch.Caption = "车载机数据同步(&Y)"; this.barButtonItem_CarDataSynch.Hint = "车载机数据同步"; this.barButtonItem_CarDataSynch.Id = 20; this.barButtonItem_CarDataSynch.ImageIndex = 11; this.barButtonItem_CarDataSynch.Name = "barButtonItem_CarDataSynch"; this.barButtonItem_CarDataSynch.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; // // barButtonItem_Options // this.barButtonItem_Options.Caption = "选项(&O)"; this.barButtonItem_Options.Id = 21; this.barButtonItem_Options.ImageIndex = 15; this.barButtonItem_Options.Name = "barButtonItem_Options"; this.barButtonItem_Options.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Options_ItemClick); // // barButtonItem1 // this.barButtonItem1.Caption = "硬件配置管理(&K)"; this.barButtonItem1.Id = 31; this.barButtonItem1.ImageIndex = 11; this.barButtonItem1.Name = "barButtonItem1"; this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick); // // barSubItem_Windows // this.barSubItem_Windows.Caption = "窗口(&W)"; this.barSubItem_Windows.Id = 3; this.barSubItem_Windows.ImageIndex = 13; this.barSubItem_Windows.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_DutyInfo), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem_Style)}); this.barSubItem_Windows.Name = "barSubItem_Windows"; // // barButtonItem_DutyInfo // this.barButtonItem_DutyInfo.Caption = "实时出勤信息窗口(&D)"; this.barButtonItem_DutyInfo.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_DutyInfo.Glyph"))); this.barButtonItem_DutyInfo.Hint = "实时晨检出勤窗口"; this.barButtonItem_DutyInfo.Id = 11; this.barButtonItem_DutyInfo.ImageIndex = 8; this.barButtonItem_DutyInfo.Name = "barButtonItem_DutyInfo"; this.barButtonItem_DutyInfo.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_DutyInfo_ItemClick); // // barSubItem_Style // this.barSubItem_Style.Caption = "窗体风格(&S)"; this.barSubItem_Style.Id = 6; this.barSubItem_Style.ImageIndex = 8; this.barSubItem_Style.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_DefaultSkin), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_WinXPSkin), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_OfficeXP), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_Office2000), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_Office2003)}); this.barSubItem_Style.Name = "barSubItem_Style"; // // barButtonItem_DefaultSkin // this.barButtonItem_DefaultSkin.Caption = "默认"; this.barButtonItem_DefaultSkin.Id = 22; this.barButtonItem_DefaultSkin.Name = "barButtonItem_DefaultSkin"; this.barButtonItem_DefaultSkin.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_DefaultSkin_ItemClick); // // barButtonItem_WinXPSkin // this.barButtonItem_WinXPSkin.Caption = "Windows XP"; this.barButtonItem_WinXPSkin.Id = 23; this.barButtonItem_WinXPSkin.ImageIndex = 0; this.barButtonItem_WinXPSkin.Name = "barButtonItem_WinXPSkin"; this.barButtonItem_WinXPSkin.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_WinXPSkin_ItemClick); // // barButtonItem_OfficeXP // this.barButtonItem_OfficeXP.Caption = "Office XP"; this.barButtonItem_OfficeXP.Id = 24; this.barButtonItem_OfficeXP.ImageIndex = 1; this.barButtonItem_OfficeXP.Name = "barButtonItem_OfficeXP"; this.barButtonItem_OfficeXP.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_OfficeXP_ItemClick); // // barButtonItem_Office2000 // this.barButtonItem_Office2000.Caption = "Office 2000"; this.barButtonItem_Office2000.Id = 25; this.barButtonItem_Office2000.ImageIndex = 2; this.barButtonItem_Office2000.Name = "barButtonItem_Office2000"; this.barButtonItem_Office2000.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Office2000_ItemClick); // // barButtonItem_Office2003 // this.barButtonItem_Office2003.Caption = "Office 2003"; this.barButtonItem_Office2003.Id = 26; this.barButtonItem_Office2003.ImageIndex = 3; this.barButtonItem_Office2003.Name = "barButtonItem_Office2003"; this.barButtonItem_Office2003.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Office2003_ItemClick); // // barSubItem_Help // this.barSubItem_Help.Caption = "帮助(&H)"; this.barSubItem_Help.Id = 8; this.barSubItem_Help.ImageIndex = 4; this.barSubItem_Help.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_Help), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_About)}); this.barSubItem_Help.Name = "barSubItem_Help"; // // barButtonItem_Help // this.barButtonItem_Help.Caption = "系统帮助(&H)"; this.barButtonItem_Help.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_Help.Glyph"))); this.barButtonItem_Help.Id = 12; this.barButtonItem_Help.Name = "barButtonItem_Help"; this.barButtonItem_Help.ItemClick+=new ItemClickEventHandler(barButtonItem_Help_ItemClick); // // barButtonItem_About // this.barButtonItem_About.Caption = "关于创智智能晨检网络管理系统(&A)"; this.barButtonItem_About.Id = 15; this.barButtonItem_About.ImageIndex = 9; this.barButtonItem_About.Name = "barButtonItem_About"; this.barButtonItem_About.ItemClick+=new ItemClickEventHandler(barButtonItem_About_ItemClick); // // barToolBar // this.barToolBar.BarName = "辅助工具栏"; this.barToolBar.DockCol = 0; this.barToolBar.DockRow = 1; this.barToolBar.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.barToolBar.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem_Logout, DevExpress.XtraBars.BarItemPaintStyle.Standard), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem_CustomDefine, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.Standard), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem_CarDataSynch, DevExpress.XtraBars.BarItemPaintStyle.Standard), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem_DutyInfo, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.Standard)}); this.barToolBar.OptionsBar.AllowQuickCustomization = false; this.barToolBar.Text = "辅助工具栏"; // // barStatus // this.barStatus.BarName = "状态栏"; this.barStatus.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom; this.barStatus.DockCol = 0; this.barStatus.DockRow = 0; this.barStatus.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom; this.barStatus.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barStaticItem_Ready, true), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barStaticItem_SystemInfo, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(this.barStaticItem_SystemDate), new DevExpress.XtraBars.LinkPersistInfo(this.barStaticItem_Custom)}); this.barStatus.OptionsBar.AllowQuickCustomization = false; this.barStatus.OptionsBar.DrawDragBorder = false; this.barStatus.OptionsBar.DrawSizeGrip = true; this.barStatus.OptionsBar.UseWholeRow = true; this.barStatus.Text = "状态栏"; // // barStaticItem_Ready // this.barStaticItem_Ready.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None; this.barStaticItem_Ready.Caption = "就绪"; this.barStaticItem_Ready.Id = 27; this.barStaticItem_Ready.Name = "barStaticItem_Ready"; this.barStaticItem_Ready.TextAlignment = System.Drawing.StringAlignment.Near; this.barStaticItem_Ready.Width = 150; // // barStaticItem_SystemInfo // this.barStaticItem_SystemInfo.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None; this.barStaticItem_SystemInfo.Caption = "创智智能晨检网络管理系统"+SystemFramework.Util.PROJECT_VERSION; this.barStaticItem_SystemInfo.Id = 16; this.barStaticItem_SystemInfo.Name = "barStaticItem_SystemInfo"; this.barStaticItem_SystemInfo.TextAlignment = System.Drawing.StringAlignment.Near; this.barStaticItem_SystemInfo.Width = 300; // // barStaticItem_SystemDate // this.barStaticItem_SystemDate.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None; this.barStaticItem_SystemDate.Id = 18; this.barStaticItem_SystemDate.Name = "barStaticItem_SystemDate"; this.barStaticItem_SystemDate.TextAlignment = System.Drawing.StringAlignment.Center; this.barStaticItem_SystemDate.Width = 200; // // barStaticItem_Custom // this.barStaticItem_Custom.AutoSize = DevExpress.XtraBars.BarStaticItemSize.Spring; this.barStaticItem_Custom.Id = 19; this.barStaticItem_Custom.Name = "barStaticItem_Custom"; this.barStaticItem_Custom.TextAlignment = System.Drawing.StringAlignment.Near; this.barStaticItem_Custom.Width = 32; // // barDockControlTop // this.barDockControlTop.Appearance.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); this.barDockControlTop.Appearance.BackColor2 = System.Drawing.Color.DarkGray; this.barDockControlTop.Appearance.Options.UseBackColor = true; // // dockManager_CurrentStuCheckInfo // this.dockManager_CurrentStuCheckInfo.AutoHideContainers.AddRange(new DevExpress.XtraBars.Docking.AutoHideContainer[] { this.hideContainerRight}); this.dockManager_CurrentStuCheckInfo.Form = this; this.dockManager_CurrentStuCheckInfo.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "System.Windows.Forms.StatusBar"}); // // hideContainerRight // this.hideContainerRight.Controls.Add(this.currentStuCheckInfo); this.hideContainerRight.Dock = System.Windows.Forms.DockStyle.Right; this.hideContainerRight.Location = new System.Drawing.Point(932, 52); this.hideContainerRight.Name = "hideContainerRight"; this.hideContainerRight.Size = new System.Drawing.Size(20, 559); // //realTimeWindows // this.realTimeWindows.Location = new System.Drawing.Point(200,40); this.realTimeWindows.Name = "realTimeWindows"; this.realTimeWindows.Size = new System.Drawing.Size(40,40); this.realTimeWindows.TabIndex = 4; this.realTimeWindows.Visible = true; // // currentStuCheckInfo // this.currentStuCheckInfo.Appearance.BackColor = System.Drawing.Color.WhiteSmoke; this.currentStuCheckInfo.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(1)), true); this.currentStuCheckInfo.Appearance.Options.UseBackColor = true; this.currentStuCheckInfo.Appearance.Options.UseFont = true; this.currentStuCheckInfo.BackColor = System.Drawing.Color.WhiteSmoke; this.currentStuCheckInfo.Controls.Add(this.dockPanel1_Container); this.currentStuCheckInfo.Dock = DevExpress.XtraBars.Docking.DockingStyle.Right; this.currentStuCheckInfo.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Strikeout, System.Drawing.GraphicsUnit.Point, ((System.Byte)(1)), true); this.currentStuCheckInfo.ID = new System.Guid("51b4d356-ef66-4435-8cec-78ddcc6c1c48"); this.currentStuCheckInfo.Location = new System.Drawing.Point(0, 0); this.currentStuCheckInfo.Name = "currentStuCheckInfo"; this.currentStuCheckInfo.SavedDock = DevExpress.XtraBars.Docking.DockingStyle.Right; this.currentStuCheckInfo.SavedIndex = 0; this.currentStuCheckInfo.Size = new System.Drawing.Size(200, 566); this.currentStuCheckInfo.Text = "实时出勤信息 "; this.currentStuCheckInfo.Visibility = DevExpress.XtraBars.Docking.DockVisibility.AutoHide; this.currentStuCheckInfo.Controls.Add(realTimeWindows); this.realTimeWindows.Dock = DockStyle.Fill; // // dockPanel1_Container // this.dockPanel1_Container.Location = new System.Drawing.Point(4, 22); this.dockPanel1_Container.Name = "dockPanel1_Container"; this.dockPanel1_Container.Size = new System.Drawing.Size(192, 540); this.dockPanel1_Container.TabIndex = 0; // // imageList_ToolBarIcon // this.imageList_ToolBarIcon.ImageSize = new System.Drawing.Size(16, 16); this.imageList_ToolBarIcon.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList_ToolBarIcon.ImageStream"))); this.imageList_ToolBarIcon.TransparentColor = System.Drawing.Color.Empty; // // pictureBox_Border // this.pictureBox_Border.Dock = System.Windows.Forms.DockStyle.Left; this.pictureBox_Border.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox_Border.Image"))); this.pictureBox_Border.Location = new System.Drawing.Point(0, 52); this.pictureBox_Border.Name = "pictureBox_Border"; this.pictureBox_Border.Size = new System.Drawing.Size(32, 559); this.pictureBox_Border.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox_Border.TabIndex = 5; this.pictureBox_Border.TabStop = false; // // navBarControl_Main // this.navBarControl_Main.ActiveGroup = this.navBarGroup_GardenInfo; this.navBarControl_Main.AllowDrop = true; this.navBarControl_Main.Appearance.GroupHeaderActive.Options.UseTextOptions = true; this.navBarControl_Main.Appearance.GroupHeaderActive.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.navBarControl_Main.Appearance.Item.Options.UseTextOptions = true; this.navBarControl_Main.Appearance.Item.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.navBarControl_Main.Appearance.ItemActive.Options.UseTextOptions = true; this.navBarControl_Main.Appearance.ItemActive.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.navBarControl_Main.BackColor = System.Drawing.Color.WhiteSmoke; this.navBarControl_Main.Dock = System.Windows.Forms.DockStyle.Left; this.navBarControl_Main.Groups.AddRange(new DevExpress.XtraNavBar.NavBarGroup[] { this.navBarGroup_GardenInfo, this.navBarGroup_TeacherInfo, this.navBarGroup_StudentInfo, this.navBarGroup_GardenAffair}); this.navBarControl_Main.Items.AddRange(new DevExpress.XtraNavBar.NavBarItem[] { this.navBarItem_GardenInfo, this.navBarItem_TeaBaseInfo, this.navBarItem_StuBaseInfo, this.navBarItem_TeaDutyInfo, this.navBarItem_StuDutyInfo, this.navBarItem_StuHealth, this.navBarItem_SMSInfo, this.navBarItem_AffairNotify, this.navBarItem_Finance, this.navBarItem_CardManagement, this.navBarItem_RealTimeInfo, this.navBarItem_StuVisit, this.navBarItem_RealtimeInfo_Teacher, this.navBarItem_Camera}); this.navBarControl_Main.Location = new System.Drawing.Point(32, 52); this.navBarControl_Main.Name = "navBarControl_Main"; this.navBarControl_Main.Size = new System.Drawing.Size(168, 559); this.navBarControl_Main.TabIndex = 6; this.navBarControl_Main.Text = "主导航栏"; this.navBarControl_Main.HotTrackedLinkChanged += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarControl_Main_HotTrackedLinkChanged); this.navBarControl_Main.MouseLeave += new System.EventHandler(this.navBarControl_Main_MouseLeave); // // navBarGroup_GardenInfo // this.navBarGroup_GardenInfo.Appearance.Options.UseTextOptions = true; this.navBarGroup_GardenInfo.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.navBarGroup_GardenInfo.AppearanceHotTracked.Options.UseTextOptions = true; this.navBarGroup_GardenInfo.AppearanceHotTracked.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.navBarGroup_GardenInfo.AppearancePressed.Options.UseTextOptions = true; this.navBarGroup_GardenInfo.AppearancePressed.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.navBarGroup_GardenInfo.Caption = "园所信息管理"; this.navBarGroup_GardenInfo.DragDropFlags = DevExpress.XtraNavBar.NavBarDragDrop.None; this.navBarGroup_GardenInfo.Expanded = true; this.navBarGroup_GardenInfo.GroupStyle = DevExpress.XtraNavBar.NavBarGroupStyle.SmallIconsText; this.navBarGroup_GardenInfo.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] { new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_GardenInfo)}); // this.navBarGroup_GardenInfo.LargeImage = ((System.Drawing.Image)(resources.GetObject("navBarGroup_GardenInfo.LargeImage"))); this.navBarGroup_GardenInfo.Name = "navBarGroup_GardenInfo"; // // navBarItem_GardenInfo // this.navBarItem_GardenInfo.Caption = "基本信息管理"; this.navBarItem_GardenInfo.Name = "navBarItem_GardenInfo"; // this.navBarItem_GardenInfo.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_GardenInfo.SmallImage"))); this.navBarItem_GardenInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_GardenInfo_LinkClicked); // // navBarGroup_TeacherInfo // this.navBarGroup_TeacherInfo.Appearance.Options.UseTextOptions = true; this.navBarGroup_TeacherInfo.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.navBarGroup_TeacherInfo.Caption = "教师信息管理"; this.navBarGroup_TeacherInfo.Expanded = true; this.navBarGroup_TeacherInfo.DragDropFlags = DevExpress.XtraNavBar.NavBarDragDrop.None; this.navBarGroup_TeacherInfo.GroupStyle = DevExpress.XtraNavBar.NavBarGroupStyle.SmallIconsText; this.navBarGroup_TeacherInfo.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] { new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_TeaBaseInfo), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_RealtimeInfo_Teacher), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_TeaDutyInfo)}); // this.navBarGroup_TeacherInfo.LargeImage = ((System.Drawing.Image)(resources.GetObject("navBarGroup_TeacherInfo.LargeImage"))); this.navBarGroup_TeacherInfo.Name = "navBarGroup_TeacherInfo"; // // navBarItem_TeaBaseInfo // this.navBarItem_TeaBaseInfo.Caption = "基本信息管理"; this.navBarItem_TeaBaseInfo.Name = "navBarItem_TeaBaseInfo"; // this.navBarItem_TeaBaseInfo.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_TeaBaseInfo.SmallImage"))); this.navBarItem_TeaBaseInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_TeaBaseInfo_LinkClicked); // // navBarItem_TeaDutyInfo // this.navBarItem_TeaDutyInfo.Caption = "出勤信息管理"; this.navBarItem_TeaDutyInfo.Name = "navBarItem_TeaDutyInfo"; // this.navBarItem_TeaDutyInfo.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_TeaDutyInfo.SmallImage"))); this.navBarItem_TeaDutyInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_TeaDutyInfo_LinkClicked); // // navBarGroup_StudentInfo // this.navBarGroup_StudentInfo.Appearance.Options.UseTextOptions = true; this.navBarGroup_StudentInfo.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.navBarGroup_StudentInfo.Caption = "学生信息管理"; this.navBarGroup_StudentInfo.Expanded = true; this.navBarGroup_StudentInfo.DragDropFlags = DevExpress.XtraNavBar.NavBarDragDrop.None; this.navBarGroup_StudentInfo.GroupStyle = DevExpress.XtraNavBar.NavBarGroupStyle.SmallIconsText; this.navBarGroup_StudentInfo.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] { new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_StuBaseInfo), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_StuDutyInfo), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_RealTimeInfo), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_StuHealth), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_StuVisit)}); // this.navBarGroup_StudentInfo.LargeImage = ((System.Drawing.Image)(resources.GetObject("navBarGroup_StudentInfo.LargeImage"))); this.navBarGroup_StudentInfo.Name = "navBarGroup_StudentInfo"; // // navBarItem_StuBaseInfo // this.navBarItem_StuBaseInfo.Caption = "基本信息管理"; this.navBarItem_StuBaseInfo.Name = "navBarItem_StuBaseInfo"; // this.navBarItem_StuBaseInfo.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_StuBaseInfo.SmallImage"))); this.navBarItem_StuBaseInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_StuBaseInfo_LinkClicked); // // navBarItem_StuDutyInfo // this.navBarItem_StuDutyInfo.Caption = "出勤信息管理"; this.navBarItem_StuDutyInfo.Name = "navBarItem_StuDutyInfo"; // this.navBarItem_StuDutyInfo.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_StuDutyInfo.SmallImage"))); this.navBarItem_StuDutyInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_StuDutyInfo_LinkClicked); // // navBarItem_RealTimeInfo // this.navBarItem_RealTimeInfo.Caption = "实时统计信息"; this.navBarItem_RealTimeInfo.Name = "navBarItem_RealTimeInfo"; // this.navBarItem_RealTimeInfo.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_RealTimeInfo.SmallImage"))); this.navBarItem_RealTimeInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_RealTimeInfo_LinkClicked); // // navBarItem_StuHealth // this.navBarItem_StuHealth.Caption = "健康保健管理"; this.navBarItem_StuHealth.Name = "navBarItem_StuHealth"; // this.navBarItem_StuHealth.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_StuHealth.SmallImage"))); this.navBarItem_StuHealth.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_StuHealth_LinkClicked); // // navBarItem_StuVisit // this.navBarItem_StuVisit.Caption = "家访信息管理"; this.navBarItem_StuVisit.Name = "navBarItem_StuVisit"; this.navBarItem_StuVisit.Visible = false; this.navBarItem_StuVisit.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_StuVisit_LinkClicked); // // navBarGroup_GardenAffair // this.navBarGroup_GardenAffair.Appearance.Options.UseTextOptions = true; this.navBarGroup_GardenAffair.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.navBarGroup_GardenAffair.Caption = "园务辅助功能"; this.navBarGroup_GardenAffair.Expanded = true; this.navBarGroup_GardenAffair.DragDropFlags = DevExpress.XtraNavBar.NavBarDragDrop.None; this.navBarGroup_GardenAffair.GroupStyle = DevExpress.XtraNavBar.NavBarGroupStyle.SmallIconsText; this.navBarGroup_GardenAffair.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] { new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_CardManagement), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_Finance), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_SMSInfo), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_AffairNotify), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_Camera)}); // this.navBarGroup_GardenAffair.LargeImage = ((System.Drawing.Image)(resources.GetObject("navBarGroup_GardenAffair.LargeImage"))); this.navBarGroup_GardenAffair.Name = "navBarGroup_GardenAffair"; // // navBarItem_CardManagement // this.navBarItem_CardManagement.Caption = "晨检卡管理"; this.navBarItem_CardManagement.Name = "navBarItem_CardManagement"; // this.navBarItem_CardManagement.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_CardManagement.SmallImage"))); this.navBarItem_CardManagement.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_CardManagement_LinkClicked); // // navBarItem_Finance // this.navBarItem_Finance.Caption = "财务功能"; this.navBarItem_Finance.Name = "navBarItem_Finance"; // this.navBarItem_Finance.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_Finance.SmallImage"))); this.navBarItem_Finance.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_Finance_LinkClicked); // // navBarItem_SMSInfo // this.navBarItem_SMSInfo.Caption = "短信功能"; this.navBarItem_SMSInfo.Name = "navBarItem_SMSInfo"; // this.navBarItem_SMSInfo.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_SMSInfo.SmallImage"))); this.navBarItem_SMSInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_SMSInfo_LinkClicked); // // navBarItem_AffairNotify // this.navBarItem_AffairNotify.Caption = "事务提醒功能"; this.navBarItem_AffairNotify.Name = "navBarItem_AffairNotify"; // this.navBarItem_AffairNotify.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_AffairNotify.SmallImage"))); this.navBarItem_AffairNotify.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_AffairNotify_LinkClicked); // // navBarItem_Camera // this.navBarItem_Camera.Caption = "摄像监控"; this.navBarItem_Camera.Name = "navBarItem_Camera"; // this.navBarItem_AffairNotify.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_AffairNotify.SmallImage"))); this.navBarItem_Camera.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_Camera_LinkClicked); // // splitterControlMain // this.splitterControlMain.Location = new System.Drawing.Point(200, 52); this.splitterControlMain.Name = "splitterControlMain"; this.splitterControlMain.Size = new System.Drawing.Size(4, 559); this.splitterControlMain.TabIndex = 8; this.splitterControlMain.TabStop = false; // // paneCaption_Title // this.paneCaption_Title.AllowActive = false; this.paneCaption_Title.AntiAlias = false; this.paneCaption_Title.Caption = "客服电话:021-58455584 021-50879915 公司网址:www.shchuangzhi.com"; this.paneCaption_Title.Dock = System.Windows.Forms.DockStyle.Top; this.paneCaption_Title.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); this.paneCaption_Title.InactiveGradientHighColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); this.paneCaption_Title.InactiveGradientLowColor = System.Drawing.Color.DarkGray; this.paneCaption_Title.Location = new System.Drawing.Point(204, 52); this.paneCaption_Title.Name = "paneCaption_Title"; this.paneCaption_Title.Size = new System.Drawing.Size(728, 28); this.paneCaption_Title.TabIndex = 9; // // pictureBox_BackLogo // this.pictureBox_BackLogo.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pictureBox_BackLogo.BackgroundImage"))); this.pictureBox_BackLogo.Dock = System.Windows.Forms.DockStyle.Fill; this.pictureBox_BackLogo.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox_BackLogo.Image"))); this.pictureBox_BackLogo.Location = new System.Drawing.Point(204, 80); this.pictureBox_BackLogo.Name = "pictureBox_BackLogo"; this.pictureBox_BackLogo.Size = new System.Drawing.Size(728, 531); this.pictureBox_BackLogo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox_BackLogo.TabIndex = 17; this.pictureBox_BackLogo.TabStop = false; // // panelControl_Center // // this.panelControl_Center.Controls.Add(this.gardenInfo1); // this.panelControl_Center.Controls.Add(this.smsInfo1); // this.panelControl_Center.Controls.Add(this.teacherOnDutyInfo1); // this.panelControl_Center.Controls.Add(this.realtimeInfo_Teacher1); // this.panelControl_Center.Controls.Add(this.nutritionManagement1); // this.panelControl_Center.Controls.Add(this.finanManagement1); // this.panelControl_Center.Controls.Add(this.studentVisitInfo1); // this.panelControl_Center.Controls.Add(this.realtimeInfo1); // this.panelControl_Center.Controls.Add(this.teacherBaseInfo1); // this.panelControl_Center.Controls.Add(this.studentBaseInfo1); // this.panelControl_Center.Controls.Add(this.studentMorningCheckInfo1); // this.panelControl_Center.Controls.Add(this.cardManagement2); // this.panelControl_Center.Controls.Add(this.transactionReminding1); this.panelControl_Center.Dock = System.Windows.Forms.DockStyle.Fill; this.panelControl_Center.Location = new System.Drawing.Point(204, 80); this.panelControl_Center.Name = "panelControl_Center"; this.panelControl_Center.Size = new System.Drawing.Size(728, 531); this.panelControl_Center.TabIndex = 25; this.panelControl_Center.Text = "panelControlCenter"; this.panelControl_Center.Visible = false; // //gardenInfo1 // // this.gardenInfo1.Location = new System.Drawing.Point(40,40); // this.gardenInfo1.Name = "gardenInfo1"; // this.gardenInfo1.Size = new System.Drawing.Size(40,40); // this.gardenInfo1.TabIndex = 4; // this.gardenInfo1.Visible = false; // //teacherOnDutyInfo1 // // this.teacherOnDutyInfo1.Location = new System.Drawing.Point(30,30); // this.teacherOnDutyInfo1.Name = "teacherOnDutyInfo1"; // this.teacherOnDutyInfo1.Size = new System.Drawing.Size(30,30); // this.teacherOnDutyInfo1.TabIndex = 3; // this.teacherOnDutyInfo1.Visible = false; // //smsInfo1 // // this.smsInfo1.Location = new System.Drawing.Point(50,50); // this.smsInfo1.Name = "smsInfo1"; // this.smsInfo1.Size = new System.Drawing.Size(50,50); // this.smsInfo1.TabIndex = 6; // this.smsInfo1.Visible = false; // // // //realtimeInfo_Teacher1 // // // this.realtimeInfo_Teacher1.Location = new System.Drawing.Point(60,60); // this.realtimeInfo_Teacher1.Name = "realtimeInfo_Teacher1"; // this.realtimeInfo_Teacher1.Size = new System.Drawing.Size(60,60); // this.realtimeInfo_Teacher1.TabIndex = 12; // this.realtimeInfo_Teacher1.Visible = false; // // // // nutritionManagement1 // // // this.nutritionManagement1.Location = new System.Drawing.Point(232, 336); // this.nutritionManagement1.Name = "nutritionManagement1"; // this.nutritionManagement1.Size = new System.Drawing.Size(144, 128); // this.nutritionManagement1.TabIndex = 10; // this.nutritionManagement1.Visible = false; // // // // finanManagement1 // // // this.finanManagement1.Location = new System.Drawing.Point(264, 152); // this.finanManagement1.Name = "finanManagement1"; // this.finanManagement1.Size = new System.Drawing.Size(88, 56); // this.finanManagement1.TabIndex = 9; // this.finanManagement1.Visible = false; // // // // studentVisitInfo1 // // // this.studentVisitInfo1.Location = new System.Drawing.Point(48, 160); // this.studentVisitInfo1.Name = "studentVisitInfo1"; // this.studentVisitInfo1.Size = new System.Drawing.Size(136, 120); // this.studentVisitInfo1.TabIndex = 8; // // // // realtimeInfo1 // // // this.realtimeInfo1.Appearance.BackColor = System.Drawing.Color.WhiteSmoke; // this.realtimeInfo1.Appearance.Options.UseBackColor = true; // this.realtimeInfo1.Location = new System.Drawing.Point(96, 88); // this.realtimeInfo1.Name = "realtimeInfo1"; // this.realtimeInfo1.Size = new System.Drawing.Size(120, 48); // this.realtimeInfo1.TabIndex = 7; // this.realtimeInfo1.Visible = false; // // // // teacherBaseInfo1 // // // this.teacherBaseInfo1.Appearance.BackColor = System.Drawing.Color.WhiteSmoke; // this.teacherBaseInfo1.Appearance.Options.UseBackColor = true; // this.teacherBaseInfo1.Location = new System.Drawing.Point(216, 32); // this.teacherBaseInfo1.Name = "teacherBaseInfo1"; // this.teacherBaseInfo1.Size = new System.Drawing.Size(136, 112); // this.teacherBaseInfo1.TabIndex = 1; // this.teacherBaseInfo1.Visible = false; // // // // studentBaseInfo1 // // // this.studentBaseInfo1.Appearance.BackColor = System.Drawing.Color.WhiteSmoke; // this.studentBaseInfo1.Appearance.Options.UseBackColor = true; // this.studentBaseInfo1.Location = new System.Drawing.Point(384, 32); // this.studentBaseInfo1.Name = "studentBaseInfo1"; // this.studentBaseInfo1.Size = new System.Drawing.Size(136, 112); // this.studentBaseInfo1.TabIndex = 2; // this.studentBaseInfo1.Visible = false; // // // // studentMorningCheckInfo1 // // // this.studentMorningCheckInfo1.BackColor = System.Drawing.Color.WhiteSmoke; // this.studentMorningCheckInfo1.Location = new System.Drawing.Point(48, 32); // this.studentMorningCheckInfo1.Name = "studentMorningCheckInfo1"; // this.studentMorningCheckInfo1.Size = new System.Drawing.Size(136, 112); // this.studentMorningCheckInfo1.TabIndex = 0; // this.studentMorningCheckInfo1.Visible = false; // // // // cardManagement2 // // // this.cardManagement2.Location = new System.Drawing.Point(384, 184); // this.cardManagement2.Name = "cardManagement2"; // this.cardManagement2.Size = new System.Drawing.Size(136, 112); // this.cardManagement2.TabIndex = 5; // this.cardManagement2.Visible = false; // // // // transactionReminding1 // // // this.transactionReminding1.Appearance.BackColor = System.Drawing.Color.WhiteSmoke; // this.transactionReminding1.Appearance.Options.UseBackColor = true; // this.transactionReminding1.Location = new System.Drawing.Point(96, 88); // this.transactionReminding1.Name = "transactionReminding1"; // this.transactionReminding1.Size = new System.Drawing.Size(120, 250); // this.transactionReminding1.TabIndex = 11; // this.transactionReminding1.Visible = false; // // notifyIcon_MainForm // this.notifyIcon_MainForm.ContextMenu = this.contextMenu_NotifyIcon; this.notifyIcon_MainForm.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon_MainForm.Icon"))); this.notifyIcon_MainForm.Text = "创智智能晨检网络管理系统"+SystemFramework.Util.PROJECT_VERSION; this.notifyIcon_MainForm.DoubleClick += new System.EventHandler(this.notifyIcon_MainForm_DoubleClick); // // contextMenu_NotifyIcon // this.contextMenu_NotifyIcon.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem_ShowMainForm, this.menuItem_Exit}); // // menuItem_ShowMainForm // this.menuItem_ShowMainForm.Index = 0; this.menuItem_ShowMainForm.Text = "显示主窗体"; this.menuItem_ShowMainForm.Click += new System.EventHandler(this.menuItem1_Click); // // menuItem_Exit // this.menuItem_Exit.Index = 1; this.menuItem_Exit.Text = "退出"; this.menuItem_Exit.Click += new System.EventHandler(this.menuItem_Exit_Click); // // navBarItem_RealtimeInfo_Teacher // this.navBarItem_RealtimeInfo_Teacher.Caption = "实时统计信息"; this.navBarItem_RealtimeInfo_Teacher.Name = "navBarItem_RealtimeInfo_Teacher"; this.navBarItem_RealtimeInfo_Teacher.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_RealtimeInfo_Teacher_LinkClicked); // // timerSynSession // this.timerSynSession.Enabled = true; this.timerSynSession.Interval = 5000; this.timerSynSession.SynchronizingObject = this; this.timerSynSession.Elapsed += new System.Timers.ElapsedEventHandler(this.timerSynSession_Elapsed); // // MainForm // this.Appearance.BackColor = System.Drawing.Color.WhiteSmoke; this.Appearance.Options.UseBackColor = true; this.AutoScaleBaseSize = new System.Drawing.Size(6, 15); this.ClientSize = new System.Drawing.Size(952, 629); this.Controls.Add(this.panelControl_Center); this.Controls.Add(this.pictureBox_BackLogo); this.Controls.Add(this.paneCaption_Title); this.Controls.Add(this.splitterControlMain); this.Controls.Add(this.navBarControl_Main); this.Controls.Add(this.pictureBox_Border); this.Controls.Add(this.hideContainerRight); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "创智智能晨检网络管理系统"+SystemFramework.Util.PROJECT_VERSION; this.Text = "创智智能晨检网络管理系统"+SystemFramework.Util.PROJECT_VERSION; this.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon_MainForm.Icon"))); this.Resize += new System.EventHandler(this.MainForm_Resize); this.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing); this.Load += new System.EventHandler(this.MainForm_Load); ((System.ComponentModel.ISupportInitialize)(this.timerSynSession)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager_Main)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dockManager_CurrentStuCheckInfo)).EndInit(); this.hideContainerRight.ResumeLayout(false); this.currentStuCheckInfo.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.navBarControl_Main)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl_Center)).EndInit(); this.panelControl_Center.ResumeLayout(false); 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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.bar1 = new DevExpress.XtraBars.Bar(); this.mFile = new DevExpress.XtraBars.BarSubItem(); this.iNew = new DevExpress.XtraBars.BarButtonItem(); this.iOpen = new DevExpress.XtraBars.BarButtonItem(); this.iClose = new DevExpress.XtraBars.BarButtonItem(); this.iSave = new DevExpress.XtraBars.BarButtonItem(); this.iSaveAs = new DevExpress.XtraBars.BarButtonItem(); this.iPrint = new DevExpress.XtraBars.BarButtonItem(); this.iExit = new DevExpress.XtraBars.BarButtonItem(); this.mEdit = new DevExpress.XtraBars.BarSubItem(); this.iUndo = new DevExpress.XtraBars.BarButtonItem(); this.iCut = new DevExpress.XtraBars.BarButtonItem(); this.iCopy = new DevExpress.XtraBars.BarButtonItem(); this.iPaste = new DevExpress.XtraBars.BarButtonItem(); this.iClear = new DevExpress.XtraBars.BarButtonItem(); this.iSelectAll = new DevExpress.XtraBars.BarButtonItem(); this.iFind = new DevExpress.XtraBars.BarButtonItem(); this.iReplace = new DevExpress.XtraBars.BarButtonItem(); this.mFormat = new DevExpress.XtraBars.BarSubItem(); this.iFont = new DevExpress.XtraBars.BarButtonItem(); this.iFontColor = new DevExpress.XtraBars.BarButtonItem(); this.iBullets = new DevExpress.XtraBars.BarButtonItem(); this.iProtected = new DevExpress.XtraBars.BarButtonItem(); this.iToolBars = new DevExpress.XtraBars.BarToolbarsListItem(); this.mHelp = new DevExpress.XtraBars.BarSubItem(); this.iWeb = new DevExpress.XtraBars.BarButtonItem(); this.iAbout = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.bar2 = new DevExpress.XtraBars.Bar(); this.bar3 = new DevExpress.XtraBars.Bar(); this.iBold = new DevExpress.XtraBars.BarButtonItem(); this.iItalic = new DevExpress.XtraBars.BarButtonItem(); this.iUnderline = new DevExpress.XtraBars.BarButtonItem(); this.iAlignLeft = new DevExpress.XtraBars.BarButtonItem(); this.iCenter = new DevExpress.XtraBars.BarButtonItem(); this.iAlignRight = new DevExpress.XtraBars.BarButtonItem(); this.bar4 = new DevExpress.XtraBars.Bar(); this.iEdit = new DevExpress.XtraBars.BarButtonItem(); this.bar5 = new DevExpress.XtraBars.Bar(); this.sPosition = new DevExpress.XtraBars.BarStaticItem(); this.sModifier = new DevExpress.XtraBars.BarStaticItem(); this.sDocName = new DevExpress.XtraBars.BarStaticItem(); this.bar7 = new DevExpress.XtraBars.Bar(); this.iPaintStyle = new DevExpress.XtraBars.BarSubItem(); this.ipsDefault = new DevExpress.XtraBars.BarButtonItem(); this.ipsWXP = new DevExpress.XtraBars.BarButtonItem(); this.ipsOXP = new DevExpress.XtraBars.BarButtonItem(); this.ipsO2K = new DevExpress.XtraBars.BarButtonItem(); this.ipsO3 = new DevExpress.XtraBars.BarButtonItem(); this.barDockControl1 = new DevExpress.XtraBars.BarDockControl(); this.barDockControl2 = new DevExpress.XtraBars.BarDockControl(); this.barDockControl3 = new DevExpress.XtraBars.BarDockControl(); this.barDockControl4 = new DevExpress.XtraBars.BarDockControl(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.treeList1 = new DevExpress.XtraTreeList.TreeList(); this.treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.treeList1)).BeginInit(); this.SuspendLayout(); // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar1, this.bar2, this.bar3, this.bar4, this.bar5, this.bar7 }); this.barManager1.Categories.AddRange(new DevExpress.XtraBars.BarManagerCategory[] { new DevExpress.XtraBars.BarManagerCategory("File", new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f")), new DevExpress.XtraBars.BarManagerCategory("Edit", new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1")), new DevExpress.XtraBars.BarManagerCategory("Format", new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258")), new DevExpress.XtraBars.BarManagerCategory("Help", new System.Guid("e07a4c24-66ac-4de6-bbcb-c0b6cfa7798b")), new DevExpress.XtraBars.BarManagerCategory("Popup", new System.Guid("78945463-36c5-4beb-a57f-d50b6a74e9b9")), new DevExpress.XtraBars.BarManagerCategory("Status", new System.Guid("77795bb7-9bc5-4dd2-a297-cc758682e23d")), new DevExpress.XtraBars.BarManagerCategory("Built-in Menus", new System.Guid("02ed6c1c-df85-47f8-9572-b20022d647f9")), new DevExpress.XtraBars.BarManagerCategory("ToolBars", new System.Guid("3856091a-e0f6-4a7c-80e9-103dece20d5b")), new DevExpress.XtraBars.BarManagerCategory("PaintStyle", new System.Guid("7102d69f-976b-49fe-978d-97325e115e10")) }); this.barManager1.DockControls.Add(this.barDockControl1); this.barManager1.DockControls.Add(this.barDockControl2); this.barManager1.DockControls.Add(this.barDockControl3); this.barManager1.DockControls.Add(this.barDockControl4); this.barManager1.Form = this; this.barManager1.Images = this.imageList1; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.iNew, this.iOpen, this.iClose, this.iSave, this.iSaveAs, this.iPrint, this.iExit, this.mFile, this.iUndo, this.iCut, this.iCopy, this.iPaste, this.iClear, this.iSelectAll, this.iFind, this.iReplace, this.mEdit, this.iFont, this.iBullets, this.iProtected, this.mFormat, this.iWeb, this.iAbout, this.mHelp, this.iBold, this.iItalic, this.iUnderline, this.iAlignLeft, this.iCenter, this.iAlignRight, this.iFontColor, this.iEdit, this.sPosition, this.sModifier, this.sDocName, this.iToolBars, this.iPaintStyle, this.ipsWXP, this.ipsOXP, this.ipsO2K, this.ipsO3, this.ipsDefault, this.barButtonItem1 }); this.barManager1.MainMenu = this.bar1; this.barManager1.MaxItemId = 87; this.barManager1.StatusBar = this.bar5; // // bar1 // this.bar1.BarName = "MainMenu"; this.bar1.DockCol = 0; this.bar1.DockRow = 0; this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar1.FloatSize = new System.Drawing.Size(30, 22); this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.mFile), new DevExpress.XtraBars.LinkPersistInfo(this.mEdit), new DevExpress.XtraBars.LinkPersistInfo(this.mFormat), new DevExpress.XtraBars.LinkPersistInfo(this.iToolBars), new DevExpress.XtraBars.LinkPersistInfo(this.mHelp), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1) }); this.bar1.OptionsBar.DrawDragBorder = false; this.bar1.OptionsBar.MultiLine = true; this.bar1.OptionsBar.UseWholeRow = true; this.bar1.Text = "MainMenu"; // // mFile // this.mFile.Caption = "&File"; this.mFile.CategoryGuid = new System.Guid("02ed6c1c-df85-47f8-9572-b20022d647f9"); this.mFile.Id = 7; this.mFile.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.iNew), new DevExpress.XtraBars.LinkPersistInfo(this.iOpen), new DevExpress.XtraBars.LinkPersistInfo(this.iClose), new DevExpress.XtraBars.LinkPersistInfo(this.iSave, true), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.None, this.iSaveAs, "", false, false, true, 0), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.None, this.iPrint, "", true, false, true, 0), new DevExpress.XtraBars.LinkPersistInfo(this.iExit, true) }); this.mFile.MenuBarWidth = 20; this.mFile.Name = "mFile"; // // iNew // this.iNew.Caption = "&New"; this.iNew.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f"); this.iNew.Description = "Creates a new, blank file."; this.iNew.Hint = "New Blank Document"; this.iNew.Id = 0; this.iNew.ImageIndex = 6; this.iNew.Name = "iNew"; // // iOpen // this.iOpen.Caption = "&Open..."; this.iOpen.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f"); this.iOpen.Description = "Opens a file."; this.iOpen.Hint = "Open"; this.iOpen.Id = 1; this.iOpen.ImageIndex = 7; this.iOpen.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)); this.iOpen.Name = "iOpen"; // // iClose // this.iClose.Caption = "&Close"; this.iClose.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f"); this.iClose.Description = "Closes the active document."; this.iClose.Hint = "Close Document"; this.iClose.Id = 2; this.iClose.ImageIndex = 12; this.iClose.Name = "iClose"; // // iSave // this.iSave.Caption = "&Save"; this.iSave.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f"); this.iSave.Description = "Saves the active document with its current file name."; this.iSave.Hint = "Save"; this.iSave.Id = 3; this.iSave.ImageIndex = 10; this.iSave.Name = "iSave"; // // iSaveAs // this.iSaveAs.Caption = "Save &As..."; this.iSaveAs.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f"); this.iSaveAs.Description = "Saves the active document with a different file name."; this.iSaveAs.Id = 4; this.iSaveAs.Name = "iSaveAs"; // // iPrint // this.iPrint.Caption = "&Print"; this.iPrint.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f"); this.iPrint.Description = "Prints the active document."; this.iPrint.Hint = "Print"; this.iPrint.Id = 5; this.iPrint.ImageIndex = 9; this.iPrint.Name = "iPrint"; // // iExit // this.iExit.Caption = "E&xit"; this.iExit.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f"); this.iExit.Description = "Closes this program after prompting you to save unsaved document."; this.iExit.Id = 6; this.iExit.Name = "iExit"; // // mEdit // this.mEdit.Caption = "&Edit"; this.mEdit.CategoryGuid = new System.Guid("02ed6c1c-df85-47f8-9572-b20022d647f9"); this.mEdit.Id = 16; this.mEdit.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.iUndo), new DevExpress.XtraBars.LinkPersistInfo(this.iCut, true), new DevExpress.XtraBars.LinkPersistInfo(this.iCopy), new DevExpress.XtraBars.LinkPersistInfo(this.iPaste), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.None, this.iClear, "", true, false, true, 0), new DevExpress.XtraBars.LinkPersistInfo(this.iSelectAll), new DevExpress.XtraBars.LinkPersistInfo(this.iFind, true), new DevExpress.XtraBars.LinkPersistInfo(this.iReplace) }); this.mEdit.Name = "mEdit"; // // iUndo // this.iUndo.Caption = "&Undo"; this.iUndo.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1"); this.iUndo.Description = "Reverses the last command or deletes the last entry you typed."; this.iUndo.Hint = "Undo"; this.iUndo.Id = 8; this.iUndo.ImageIndex = 11; this.iUndo.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z)); this.iUndo.Name = "iUndo"; // // iCut // this.iCut.Caption = "Cu&t"; this.iCut.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1"); this.iCut.Description = "Removes the selection from the active document and places it on the Clipboard."; this.iCut.Hint = "Cut"; this.iCut.Id = 9; this.iCut.ImageIndex = 2; this.iCut.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)); this.iCut.Name = "iCut"; // // iCopy // this.iCopy.Caption = "&Copy"; this.iCopy.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1"); this.iCopy.Description = "Copies the selection to the Clipboard."; this.iCopy.Hint = "Copy"; this.iCopy.Id = 10; this.iCopy.ImageIndex = 1; this.iCopy.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)); this.iCopy.Name = "iCopy"; // // iPaste // this.iPaste.Caption = "&Paste"; this.iPaste.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1"); this.iPaste.Description = "Inserts the contents of the Clipboard at the insertion point, and replaces any se" + "lection. This command is available only if you have cut or copied a text."; this.iPaste.Hint = "Paste"; this.iPaste.Id = 11; this.iPaste.ImageIndex = 8; this.iPaste.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)); this.iPaste.Name = "iPaste"; // // iClear // this.iClear.Caption = "Cle&ar"; this.iClear.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1"); this.iClear.Description = "Deletes the selected text without putting it on the Clipboard. This command is av" + "ailable only if a text is selected. "; this.iClear.Hint = "Clear"; this.iClear.Id = 12; this.iClear.ImageIndex = 13; this.iClear.Name = "iClear"; // // iSelectAll // this.iSelectAll.Caption = "Select A&ll"; this.iSelectAll.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1"); this.iSelectAll.Description = "Selects all text in the active document."; this.iSelectAll.Id = 13; this.iSelectAll.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)); this.iSelectAll.Name = "iSelectAll"; // // iFind // this.iFind.Caption = "&Find..."; this.iFind.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1"); this.iFind.Description = "Searches for the specified text."; this.iFind.Hint = "Find"; this.iFind.Id = 14; this.iFind.ImageIndex = 3; this.iFind.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F)); this.iFind.Name = "iFind"; // // iReplace // this.iReplace.Caption = "R&eplace..."; this.iReplace.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1"); this.iReplace.Description = "Searches for and replaces the specified text."; this.iReplace.Hint = "Replace"; this.iReplace.Id = 15; this.iReplace.ImageIndex = 14; this.iReplace.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.H)); this.iReplace.Name = "iReplace"; // // mFormat // this.mFormat.Caption = "F&ormat"; this.mFormat.CategoryGuid = new System.Guid("02ed6c1c-df85-47f8-9572-b20022d647f9"); this.mFormat.Id = 20; this.mFormat.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.iFont), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.None, this.iFontColor, "", false, false, true, 0), new DevExpress.XtraBars.LinkPersistInfo(this.iBullets, true), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.None, this.iProtected, "", false, false, true, 0) }); this.mFormat.Name = "mFormat"; // // iFont // this.iFont.Caption = "&Font..."; this.iFont.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258"); this.iFont.Description = "Changes the font and character spacing formats of the selected text."; this.iFont.Hint = "Font Dialog"; this.iFont.Id = 17; this.iFont.ImageIndex = 4; this.iFont.Name = "iFont"; // // iFontColor // this.iFontColor.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.iFontColor.Caption = "Font C&olor"; this.iFontColor.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258"); this.iFontColor.Description = "Formats the selected text with the color you click."; this.iFontColor.Hint = "Font Color"; this.iFontColor.Id = 30; this.iFontColor.ImageIndex = 5; this.iFontColor.Name = "iFontColor"; // // iBullets // this.iBullets.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.iBullets.Caption = "&Bullets"; this.iBullets.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258"); this.iBullets.Description = "Adds bullets to or removes bullets from selected paragraphs."; this.iBullets.Hint = "Bullets"; this.iBullets.Id = 18; this.iBullets.ImageIndex = 0; this.iBullets.Name = "iBullets"; // // iProtected // this.iProtected.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.iProtected.Caption = "P&rotected"; this.iProtected.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258"); this.iProtected.Description = "Protectes the selected text."; this.iProtected.Id = 19; this.iProtected.Name = "iProtected"; // // iToolBars // this.iToolBars.Caption = "&ToolBars"; this.iToolBars.CategoryGuid = new System.Guid("3856091a-e0f6-4a7c-80e9-103dece20d5b"); this.iToolBars.Id = 38; this.iToolBars.Name = "iToolBars"; // // mHelp // this.mHelp.Caption = "&Help"; this.mHelp.CategoryGuid = new System.Guid("02ed6c1c-df85-47f8-9572-b20022d647f9"); this.mHelp.Id = 23; this.mHelp.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.iWeb), new DevExpress.XtraBars.LinkPersistInfo(this.iAbout, true) }); this.mHelp.Name = "mHelp"; // // iWeb // this.iWeb.Caption = "&Developer Express on the Web"; this.iWeb.CategoryGuid = new System.Guid("e07a4c24-66ac-4de6-bbcb-c0b6cfa7798b"); this.iWeb.Description = "Opens the web page."; this.iWeb.Hint = "Developer Express on the Web"; this.iWeb.Id = 21; this.iWeb.ImageIndex = 21; this.iWeb.Name = "iWeb"; // // iAbout // this.iAbout.Caption = "&About"; this.iAbout.CategoryGuid = new System.Guid("e07a4c24-66ac-4de6-bbcb-c0b6cfa7798b"); this.iAbout.Description = "Displays the description of this program."; this.iAbout.Id = 22; this.iAbout.Name = "iAbout"; // // barButtonItem1 // this.barButtonItem1.Caption = "Update Links Tree"; this.barButtonItem1.Id = 86; this.barButtonItem1.Name = "barButtonItem1"; this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick); // // bar2 // this.bar2.BarName = "Standard"; this.bar2.DockCol = 0; this.bar2.DockRow = 1; this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar2.FloatSize = new System.Drawing.Size(48, 26); this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.iNew), new DevExpress.XtraBars.LinkPersistInfo(this.iOpen), new DevExpress.XtraBars.LinkPersistInfo(this.iSave), new DevExpress.XtraBars.LinkPersistInfo(this.iPrint, true), new DevExpress.XtraBars.LinkPersistInfo(this.iCut, true), new DevExpress.XtraBars.LinkPersistInfo(this.iCopy), new DevExpress.XtraBars.LinkPersistInfo(this.iPaste), new DevExpress.XtraBars.LinkPersistInfo(this.iUndo, true) }); this.bar2.Text = "Standard"; // // bar3 // this.bar3.BarName = "Format"; this.bar3.DockCol = 0; this.bar3.DockRow = 2; this.bar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar3.FloatLocation = new System.Drawing.Point(34, 212); this.bar3.FloatSize = new System.Drawing.Size(27, 168); this.bar3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.iBold), new DevExpress.XtraBars.LinkPersistInfo(this.iItalic), new DevExpress.XtraBars.LinkPersistInfo(this.iUnderline), new DevExpress.XtraBars.LinkPersistInfo(this.iAlignLeft, true), new DevExpress.XtraBars.LinkPersistInfo(this.iCenter), new DevExpress.XtraBars.LinkPersistInfo(this.iAlignRight), new DevExpress.XtraBars.LinkPersistInfo(this.iBullets, true) }); this.bar3.Text = "Format"; // // iBold // this.iBold.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.iBold.Caption = "&Bold"; this.iBold.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258"); this.iBold.Description = "Makes selected text and numbers bold. If the selection is already bold, clicking " + "button removes bold formatting."; this.iBold.Hint = "Bold"; this.iBold.Id = 24; this.iBold.ImageIndex = 15; this.iBold.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.B)); this.iBold.Name = "iBold"; // // iItalic // this.iItalic.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.iItalic.Caption = "&Italic"; this.iItalic.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258"); this.iItalic.Description = "Makes selected text and numbers italic. If the selection is already italic, click" + "ing button removes italic formatting."; this.iItalic.Hint = "Italic"; this.iItalic.Id = 25; this.iItalic.ImageIndex = 16; this.iItalic.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.I)); this.iItalic.Name = "iItalic"; // // iUnderline // this.iUnderline.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.iUnderline.Caption = "&Underline"; this.iUnderline.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258"); this.iUnderline.Description = "Underlines selected text and numbers. If the selection is already underlined, cli" + "cking button removes underlining."; this.iUnderline.Hint = "Underline"; this.iUnderline.Id = 26; this.iUnderline.ImageIndex = 17; this.iUnderline.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.U)); this.iUnderline.Name = "iUnderline"; // // iAlignLeft // this.iAlignLeft.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.iAlignLeft.Caption = "Align &Left"; this.iAlignLeft.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258"); this.iAlignLeft.Description = "Aligns the selected text to the left."; this.iAlignLeft.GroupIndex = 1; this.iAlignLeft.Hint = "Align Left"; this.iAlignLeft.Id = 27; this.iAlignLeft.ImageIndex = 18; this.iAlignLeft.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.L)); this.iAlignLeft.Name = "iAlignLeft"; // // iCenter // this.iCenter.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.iCenter.Caption = "&Center"; this.iCenter.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258"); this.iCenter.Description = "Centers the selected text."; this.iCenter.GroupIndex = 1; this.iCenter.Hint = "Center"; this.iCenter.Id = 28; this.iCenter.ImageIndex = 19; this.iCenter.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E)); this.iCenter.Name = "iCenter"; // // iAlignRight // this.iAlignRight.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.iAlignRight.Caption = "Align &Right"; this.iAlignRight.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258"); this.iAlignRight.Description = "Aligns the selected text to the right."; this.iAlignRight.GroupIndex = 1; this.iAlignRight.Hint = "Align Right"; this.iAlignRight.Id = 29; this.iAlignRight.ImageIndex = 20; this.iAlignRight.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.R)); this.iAlignRight.Name = "iAlignRight"; // // bar4 // this.bar4.BarName = "Font"; this.bar4.DockCol = 0; this.bar4.DockRow = 0; this.bar4.DockStyle = DevExpress.XtraBars.BarDockStyle.Right; this.bar4.FloatLocation = new System.Drawing.Point(493, 252); this.bar4.FloatSize = new System.Drawing.Size(48, 26); this.bar4.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.iFont), new DevExpress.XtraBars.LinkPersistInfo(this.iFontColor), new DevExpress.XtraBars.LinkPersistInfo(this.iEdit, true) }); this.bar4.Text = "Font"; // // iEdit // this.iEdit.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.iEdit.Caption = "&Edit..."; this.iEdit.CategoryGuid = new System.Guid("78945463-36c5-4beb-a57f-d50b6a74e9b9"); this.iEdit.Hint = "Edit Menu"; this.iEdit.Id = 31; this.iEdit.ImageIndex = 22; this.iEdit.Name = "iEdit"; // // bar5 // this.bar5.BarName = "StatusBar"; this.bar5.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom; this.bar5.DockCol = 0; this.bar5.DockRow = 0; this.bar5.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom; this.bar5.FloatLocation = new System.Drawing.Point(86, 499); this.bar5.FloatSize = new System.Drawing.Size(48, 26); this.bar5.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.sPosition), new DevExpress.XtraBars.LinkPersistInfo(this.sModifier), new DevExpress.XtraBars.LinkPersistInfo(this.sDocName) }); this.bar5.OptionsBar.AllowQuickCustomization = false; this.bar5.OptionsBar.DrawDragBorder = false; this.bar5.OptionsBar.DrawSizeGrip = true; this.bar5.OptionsBar.UseWholeRow = true; this.bar5.Text = "StatusBar"; // // sPosition // this.sPosition.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None; this.sPosition.Caption = "Position"; this.sPosition.CategoryGuid = new System.Guid("77795bb7-9bc5-4dd2-a297-cc758682e23d"); this.sPosition.Id = 32; this.sPosition.Name = "sPosition"; this.sPosition.RightIndent = 2; this.sPosition.TextAlignment = System.Drawing.StringAlignment.Center; this.sPosition.Width = 145; // // sModifier // this.sModifier.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None; this.sModifier.Caption = "Modifier"; this.sModifier.CategoryGuid = new System.Guid("77795bb7-9bc5-4dd2-a297-cc758682e23d"); this.sModifier.Id = 33; this.sModifier.Name = "sModifier"; this.sModifier.RightIndent = 2; this.sModifier.TextAlignment = System.Drawing.StringAlignment.Center; this.sModifier.Width = 60; // // sDocName // this.sDocName.AutoSize = DevExpress.XtraBars.BarStaticItemSize.Spring; this.sDocName.Caption = "Name"; this.sDocName.CategoryGuid = new System.Guid("77795bb7-9bc5-4dd2-a297-cc758682e23d"); this.sDocName.Id = 34; this.sDocName.Name = "sDocName"; this.sDocName.TextAlignment = System.Drawing.StringAlignment.Near; this.sDocName.Width = 245; // // bar7 // this.bar7.BarName = "PaintStyle"; this.bar7.DockCol = 1; this.bar7.DockRow = 1; this.bar7.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar7.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.iPaintStyle) }); this.bar7.Offset = 226; this.bar7.OptionsBar.AllowQuickCustomization = false; this.bar7.OptionsBar.RotateWhenVertical = false; this.bar7.Text = "PaintStyle"; // // iPaintStyle // this.iPaintStyle.Caption = "Paint Style"; this.iPaintStyle.CategoryGuid = new System.Guid("7102d69f-976b-49fe-978d-97325e115e10"); this.iPaintStyle.Id = 55; this.iPaintStyle.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.ipsDefault), new DevExpress.XtraBars.LinkPersistInfo(this.ipsWXP), new DevExpress.XtraBars.LinkPersistInfo(this.ipsOXP), new DevExpress.XtraBars.LinkPersistInfo(this.ipsO2K), new DevExpress.XtraBars.LinkPersistInfo(this.ipsO3) }); this.iPaintStyle.Name = "iPaintStyle"; this.iPaintStyle.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // ipsDefault // this.ipsDefault.Caption = "Default"; this.ipsDefault.CategoryGuid = new System.Guid("7102d69f-976b-49fe-978d-97325e115e10"); this.ipsDefault.Description = "Default"; this.ipsDefault.Id = 74; this.ipsDefault.Name = "ipsDefault"; // // ipsWXP // this.ipsWXP.Caption = "Windows XP"; this.ipsWXP.CategoryGuid = new System.Guid("7102d69f-976b-49fe-978d-97325e115e10"); this.ipsWXP.Description = "WindowsXP"; this.ipsWXP.Id = 56; this.ipsWXP.ImageIndex = 25; this.ipsWXP.Name = "ipsWXP"; // // ipsOXP // this.ipsOXP.Caption = "Office XP"; this.ipsOXP.CategoryGuid = new System.Guid("7102d69f-976b-49fe-978d-97325e115e10"); this.ipsOXP.Description = "OfficeXP"; this.ipsOXP.Id = 57; this.ipsOXP.ImageIndex = 23; this.ipsOXP.Name = "ipsOXP"; // // ipsO2K // this.ipsO2K.Caption = "Office 2000"; this.ipsO2K.CategoryGuid = new System.Guid("7102d69f-976b-49fe-978d-97325e115e10"); this.ipsO2K.Description = "Office2000"; this.ipsO2K.Id = 58; this.ipsO2K.ImageIndex = 24; this.ipsO2K.Name = "ipsO2K"; // // ipsO3 // this.ipsO3.Caption = "Office 2003"; this.ipsO3.CategoryGuid = new System.Guid("7102d69f-976b-49fe-978d-97325e115e10"); this.ipsO3.Description = "Office2003"; this.ipsO3.Id = 69; this.ipsO3.ImageIndex = 26; this.ipsO3.Name = "ipsO3"; // // barDockControl1 // this.barDockControl1.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControl1.Location = new System.Drawing.Point(0, 0); this.barDockControl1.Size = new System.Drawing.Size(550, 78); // // barDockControl2 // this.barDockControl2.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControl2.Location = new System.Drawing.Point(0, 374); this.barDockControl2.Size = new System.Drawing.Size(550, 28); // // barDockControl3 // this.barDockControl3.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControl3.Location = new System.Drawing.Point(0, 78); this.barDockControl3.Size = new System.Drawing.Size(0, 296); // // barDockControl4 // this.barDockControl4.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControl4.Location = new System.Drawing.Point(513, 78); this.barDockControl4.Size = new System.Drawing.Size(37, 296); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Magenta; this.imageList1.Images.SetKeyName(0, ""); this.imageList1.Images.SetKeyName(1, ""); this.imageList1.Images.SetKeyName(2, ""); this.imageList1.Images.SetKeyName(3, ""); this.imageList1.Images.SetKeyName(4, ""); this.imageList1.Images.SetKeyName(5, ""); this.imageList1.Images.SetKeyName(6, ""); this.imageList1.Images.SetKeyName(7, ""); this.imageList1.Images.SetKeyName(8, ""); this.imageList1.Images.SetKeyName(9, ""); this.imageList1.Images.SetKeyName(10, ""); this.imageList1.Images.SetKeyName(11, ""); this.imageList1.Images.SetKeyName(12, ""); this.imageList1.Images.SetKeyName(13, ""); this.imageList1.Images.SetKeyName(14, ""); this.imageList1.Images.SetKeyName(15, ""); this.imageList1.Images.SetKeyName(16, ""); this.imageList1.Images.SetKeyName(17, ""); this.imageList1.Images.SetKeyName(18, ""); this.imageList1.Images.SetKeyName(19, ""); this.imageList1.Images.SetKeyName(20, ""); this.imageList1.Images.SetKeyName(21, ""); this.imageList1.Images.SetKeyName(22, ""); this.imageList1.Images.SetKeyName(23, ""); this.imageList1.Images.SetKeyName(24, ""); this.imageList1.Images.SetKeyName(25, ""); this.imageList1.Images.SetKeyName(26, ""); // // treeList1 // this.treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { this.treeListColumn1 }); this.treeList1.Dock = System.Windows.Forms.DockStyle.Fill; this.treeList1.Location = new System.Drawing.Point(0, 78); this.treeList1.Name = "treeList1"; this.treeList1.OptionsBehavior.Editable = false; this.treeList1.Size = new System.Drawing.Size(513, 296); this.treeList1.TabIndex = 4; // // treeListColumn1 // this.treeListColumn1.Caption = "Toolbar / Item Name"; this.treeListColumn1.FieldName = "Toolbar / Item Name"; this.treeListColumn1.Name = "treeListColumn1"; this.treeListColumn1.Visible = true; this.treeListColumn1.VisibleIndex = 0; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(550, 402); this.Controls.Add(this.treeList1); this.Controls.Add(this.barDockControl3); this.Controls.Add(this.barDockControl4); this.Controls.Add(this.barDockControl2); this.Controls.Add(this.barDockControl1); this.Name = "Form1"; this.Text = "How to enumerate buttons in a menu or on a toolbar"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.treeList1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> protected void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmChiTietLPSQL)); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.MainBar = new DevExpress.XtraBars.Bar(); this.barButtonItemAdd = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemXem = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemDelete = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemUpdate = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemPrint = new DevExpress.XtraBars.BarButtonItem(); this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components); this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemCommit = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemNoCommit = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem1 = new DevExpress.XtraBars.BarSubItem(); this.barButtonItemSearch = new DevExpress.XtraBars.BarButtonItem(); this.popupMenuFilter = new DevExpress.XtraBars.PopupMenu(this.components); this.barCheckItemFilter = new DevExpress.XtraBars.BarCheckItem(); this.barButtonItemClose = new DevExpress.XtraBars.BarButtonItem(); this.barSubItemCotHienThi = new DevExpress.XtraBars.BarSubItem(); 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.dockManager1 = new DevExpress.XtraBars.Docking.DockManager(this.components); this.dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel(); this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); this.popupControlContainerFilter = new DevExpress.XtraBars.PopupControlContainer(this.components); this.label29 = new DevExpress.XtraEditors.LabelControl(); this.ngayNhap = new ProtocolVN.Framework.Win.Trial.PLDateSelection(); this.ThuTrongTuan = new ProtocolVN.Framework.Win.PLMultiCombobox(); this.plLabel9 = new DevExpress.XtraEditors.LabelControl(); this.ThongTinThem = new DevExpress.XtraEditors.CheckedListBoxControl(); this.GioPhatDen = new DevExpress.XtraEditors.TimeEdit(); this.GioPhatTu = new DevExpress.XtraEditors.TimeEdit(); this.PhongBan = new ProtocolVN.Framework.Win.PLDMTreeMultiChoice(); this.NguoiNhap = new ProtocolVN.Framework.Win.PLMultiCombobox(); this.Category = new ProtocolVN.App.VideoLibrary.PLTextEditAutocomplete(); this.TenCT = new ProtocolVN.App.VideoLibrary.PLTextEditAutocomplete(); this.KenhPhat = new ProtocolVN.Framework.Win.PLMultiCombobox(); this.PostMaster = new ProtocolVN.Framework.Win.PLMultiCombobox(); this.TietMuc = new ProtocolVN.Framework.Win.PLMultiCombobox(); this.plLabel8 = new DevExpress.XtraEditors.LabelControl(); this.plLabel7 = new DevExpress.XtraEditors.LabelControl(); this.label10 = new DevExpress.XtraEditors.LabelControl(); this.plLabel4 = new DevExpress.XtraEditors.LabelControl(); this.plLabel1 = new DevExpress.XtraEditors.LabelControl(); this.plLabel5 = new DevExpress.XtraEditors.LabelControl(); this.plLabel3 = new DevExpress.XtraEditors.LabelControl(); this.plLabel6 = new DevExpress.XtraEditors.LabelControl(); this.plLabel2 = new DevExpress.XtraEditors.LabelControl(); this.label3 = new DevExpress.XtraEditors.LabelControl(); this.label5 = new DevExpress.XtraEditors.LabelControl(); this.NgayBatDauPhat = new ProtocolVN.Framework.Win.Trial.PLDateSelection(); this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); this.gridControlMaster = new DevExpress.XtraGrid.GridControl(); this.gridViewMaster = new DevExpress.XtraGrid.Views.BandedGrid.PLBandedGridView(); this.gridBandPostMaster = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.Col_LPS_NgayPhat = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_GioPhat = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_NgayBatDau = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_GioPhatChung = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_KenhPhat = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_SoTapNgay = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_ThuTrongTuan = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_NgayCuoi = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_SoNgayPhat = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_ThongTinThem = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_NgayTao = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_NguoiTao = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gridBandChuongTrinh = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.Col_LPS_TenChuongTrinh = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_ThoiLuong = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_Category = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_TietMuc = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_NuocSX = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_NamSx = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_TapSo = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_TenGoc = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_PostMaster = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_TongTap = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_TongSoRun = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_SoLanDaPhat = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_SoRunCon = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_LPS_ThoiLuongChung = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.xtraTabControlDetail = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPageDetail = new DevExpress.XtraTab.XtraTabPage(); this.gridControlDetail = new DevExpress.XtraGrid.GridControl(); this.gridViewDetail = new DevExpress.XtraGrid.Views.Grid.PLGridView(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).BeginInit(); this.dockPanel1.SuspendLayout(); this.dockPanel1_Container.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).BeginInit(); this.popupControlContainerFilter.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ThuTrongTuan.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ThongTinThem)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.GioPhatDen.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.GioPhatTu.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.NguoiNhap.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.Category.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.TenCT.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.KenhPhat.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.PostMaster.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.TietMuc.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).BeginInit(); this.xtraTabControlDetail.SuspendLayout(); this.xtraTabPageDetail.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).BeginInit(); this.SuspendLayout(); // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.MainBar}); 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.DockManager = this.dockManager1; this.barManager1.Form = this; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barButtonItemAdd, this.barButtonItemDelete, this.barButtonItemUpdate, this.barButtonItemPrint, this.barStaticItem1, this.barButtonItem1, this.barButtonItem2, this.barButtonItemCommit, this.barButtonItemNoCommit, this.barSubItem1, this.barButtonItemXem, this.barButtonItemSearch, this.barButtonItemClose, this.barCheckItemFilter, this.barButtonItem3, this.barButtonItem4, this.barSubItemCotHienThi}); this.barManager1.MaxItemId = 40; // // MainBar // this.MainBar.BarName = "MainBar"; this.MainBar.DockCol = 0; this.MainBar.DockRow = 0; this.MainBar.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.MainBar.FloatLocation = new System.Drawing.Point(39, 133); this.MainBar.FloatSize = new System.Drawing.Size(72, 73); this.MainBar.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDelete), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemAdd), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemXem), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemUpdate), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemPrint, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemCommit, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemNoCommit), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem1, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemSearch, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemClose, true), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItemCotHienThi)}); this.MainBar.OptionsBar.AllowQuickCustomization = false; this.MainBar.OptionsBar.DrawDragBorder = false; this.MainBar.OptionsBar.RotateWhenVertical = false; this.MainBar.OptionsBar.UseWholeRow = true; this.MainBar.Text = "Custom 1"; // // barButtonItemAdd // this.barButtonItemAdd.Caption = "&Thêm"; this.barButtonItemAdd.Id = 0; this.barButtonItemAdd.Name = "barButtonItemAdd"; this.barButtonItemAdd.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemXem // this.barButtonItemXem.Caption = "&Xem"; this.barButtonItemXem.Id = 24; this.barButtonItemXem.Name = "barButtonItemXem"; this.barButtonItemXem.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemDelete // this.barButtonItemDelete.Caption = "&Chèn lịch mới"; this.barButtonItemDelete.Id = 1; this.barButtonItemDelete.Name = "barButtonItemDelete"; this.barButtonItemDelete.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemUpdate // this.barButtonItemUpdate.Caption = "&Sửa"; this.barButtonItemUpdate.Id = 2; this.barButtonItemUpdate.Name = "barButtonItemUpdate"; this.barButtonItemUpdate.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemPrint // this.barButtonItemPrint.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItemPrint.Caption = "&In"; this.barButtonItemPrint.DropDownControl = this.popupMenu1; this.barButtonItemPrint.Id = 3; this.barButtonItemPrint.Name = "barButtonItemPrint"; this.barButtonItemPrint.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // popupMenu1 // this.popupMenu1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4)}); this.popupMenu1.Manager = this.barManager1; this.popupMenu1.Name = "popupMenu1"; // // barButtonItem4 // this.barButtonItem4.Caption = "Xem trước"; this.barButtonItem4.Id = 33; this.barButtonItem4.Name = "barButtonItem4"; // // barButtonItemCommit // this.barButtonItemCommit.Caption = "&Duyệt"; this.barButtonItemCommit.Id = 17; this.barButtonItemCommit.Name = "barButtonItemCommit"; this.barButtonItemCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemNoCommit // this.barButtonItemNoCommit.Caption = "&Không duyệt"; this.barButtonItemNoCommit.Id = 18; this.barButtonItemNoCommit.Name = "barButtonItemNoCommit"; this.barButtonItemNoCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barSubItem1 // this.barSubItem1.Caption = "Nghiệp vụ"; this.barSubItem1.Id = 20; this.barSubItem1.Name = "barSubItem1"; this.barSubItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemSearch // this.barButtonItemSearch.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItemSearch.Caption = "Tìm kiếm"; this.barButtonItemSearch.DropDownControl = this.popupMenuFilter; this.barButtonItemSearch.Id = 27; this.barButtonItemSearch.Name = "barButtonItemSearch"; this.barButtonItemSearch.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // popupMenuFilter // this.popupMenuFilter.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barCheckItemFilter)}); this.popupMenuFilter.Manager = this.barManager1; this.popupMenuFilter.Name = "popupMenuFilter"; // // barCheckItemFilter // this.barCheckItemFilter.Caption = "Điều &kiện lọc"; this.barCheckItemFilter.Checked = true; this.barCheckItemFilter.Id = 29; this.barCheckItemFilter.Name = "barCheckItemFilter"; this.barCheckItemFilter.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemClose // this.barButtonItemClose.Caption = "Đóng"; this.barButtonItemClose.Id = 28; this.barButtonItemClose.Name = "barButtonItemClose"; this.barButtonItemClose.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barSubItemCotHienThi // this.barSubItemCotHienThi.Caption = "Chọn cột hiển thị"; this.barSubItemCotHienThi.Id = 36; this.barSubItemCotHienThi.Name = "barSubItemCotHienThi"; // // barDockControlTop // this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Size = new System.Drawing.Size(1362, 24); // // barDockControlBottom // this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 545); this.barDockControlBottom.Size = new System.Drawing.Size(1362, 0); // // barDockControlLeft // this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 24); this.barDockControlLeft.Size = new System.Drawing.Size(0, 521); // // barDockControlRight // this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(1362, 24); this.barDockControlRight.Size = new System.Drawing.Size(0, 521); // // dockManager1 // this.dockManager1.Form = this; this.dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { this.dockPanel1}); this.dockManager1.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "DevExpress.XtraBars.StandaloneBarDockControl", "System.Windows.Forms.StatusBar", "DevExpress.XtraBars.Ribbon.RibbonStatusBar", "DevExpress.XtraBars.Ribbon.RibbonControl"}); // // dockPanel1 // this.dockPanel1.Controls.Add(this.dockPanel1_Container); this.dockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Top; this.dockPanel1.FloatVertical = true; this.dockPanel1.ID = new System.Guid("437240ce-168d-4c05-a0b9-c702ea5e41f7"); this.dockPanel1.Location = new System.Drawing.Point(0, 24); this.dockPanel1.Name = "dockPanel1"; this.dockPanel1.Options.AllowDockLeft = false; this.dockPanel1.Options.AllowDockRight = false; this.dockPanel1.OriginalSize = new System.Drawing.Size(200, 111); this.dockPanel1.Size = new System.Drawing.Size(1362, 111); this.dockPanel1.Text = "Điều kiện tìm kiếm"; this.dockPanel1.VisibilityChanged += new DevExpress.XtraBars.Docking.VisibilityChangedEventHandler(this.dockPanel1_VisibilityChanged); // // dockPanel1_Container // this.dockPanel1_Container.Controls.Add(this.popupControlContainerFilter); this.dockPanel1_Container.Location = new System.Drawing.Point(3, 25); this.dockPanel1_Container.Name = "dockPanel1_Container"; this.dockPanel1_Container.Size = new System.Drawing.Size(1356, 83); this.dockPanel1_Container.TabIndex = 0; // // popupControlContainerFilter // this.popupControlContainerFilter.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.popupControlContainerFilter.Controls.Add(this.label29); this.popupControlContainerFilter.Controls.Add(this.ngayNhap); this.popupControlContainerFilter.Controls.Add(this.ThuTrongTuan); this.popupControlContainerFilter.Controls.Add(this.plLabel9); this.popupControlContainerFilter.Controls.Add(this.ThongTinThem); this.popupControlContainerFilter.Controls.Add(this.GioPhatDen); this.popupControlContainerFilter.Controls.Add(this.GioPhatTu); this.popupControlContainerFilter.Controls.Add(this.PhongBan); this.popupControlContainerFilter.Controls.Add(this.NguoiNhap); this.popupControlContainerFilter.Controls.Add(this.Category); this.popupControlContainerFilter.Controls.Add(this.TenCT); this.popupControlContainerFilter.Controls.Add(this.KenhPhat); this.popupControlContainerFilter.Controls.Add(this.PostMaster); this.popupControlContainerFilter.Controls.Add(this.TietMuc); this.popupControlContainerFilter.Controls.Add(this.plLabel8); this.popupControlContainerFilter.Controls.Add(this.plLabel7); this.popupControlContainerFilter.Controls.Add(this.label10); this.popupControlContainerFilter.Controls.Add(this.plLabel4); this.popupControlContainerFilter.Controls.Add(this.plLabel1); this.popupControlContainerFilter.Controls.Add(this.plLabel5); this.popupControlContainerFilter.Controls.Add(this.plLabel3); this.popupControlContainerFilter.Controls.Add(this.plLabel6); this.popupControlContainerFilter.Controls.Add(this.plLabel2); this.popupControlContainerFilter.Controls.Add(this.label3); this.popupControlContainerFilter.Controls.Add(this.label5); this.popupControlContainerFilter.Controls.Add(this.NgayBatDauPhat); this.popupControlContainerFilter.Dock = System.Windows.Forms.DockStyle.Fill; this.popupControlContainerFilter.Location = new System.Drawing.Point(0, 0); this.popupControlContainerFilter.Manager = this.barManager1; this.popupControlContainerFilter.Name = "popupControlContainerFilter"; this.popupControlContainerFilter.Size = new System.Drawing.Size(1356, 83); this.popupControlContainerFilter.TabIndex = 5; this.popupControlContainerFilter.Visible = false; // // label29 // this.label29.Location = new System.Drawing.Point(746, 63); this.label29.Name = "label29"; this.label29.Size = new System.Drawing.Size(44, 13); this.label29.TabIndex = 217; this.label29.Text = "Ngày tạo"; // // ngayNhap // this.ngayNhap.Caption = "Từ ngày 15/06/2012 đến ngày 22/06/2012"; this.ngayNhap.Default = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromDateToDate; this.ngayNhap.FirstFrom = new System.DateTime(2012, 6, 15, 5, 46, 55, 404); this.ngayNhap.FirstTo = new System.DateTime(2012, 6, 22, 5, 46, 55, 404); this.ngayNhap.FromDate = new System.DateTime(2012, 6, 15, 5, 46, 55, 404); this.ngayNhap.Location = new System.Drawing.Point(796, 58); this.ngayNhap.Name = "ngayNhap"; this.ngayNhap.ReturnType = ProtocolVN.Framework.Win.Trial.TimeType.Date; this.ngayNhap.SecondFrom = new System.DateTime(2012, 6, 15, 5, 46, 55, 404); this.ngayNhap.SecondTo = new System.DateTime(2012, 6, 22, 5, 46, 55, 404); this.ngayNhap.SelectedType = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromDateToDate; this.ngayNhap.Size = new System.Drawing.Size(285, 21); this.ngayNhap.TabIndex = 226; this.ngayNhap.ToDate = new System.DateTime(2012, 6, 22, 5, 46, 55, 404); this.ngayNhap.Types = ((ProtocolVN.Framework.Win.Trial.SelectionTypes)(((((((((ProtocolVN.Framework.Win.Trial.SelectionTypes.OneDate | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneMonth) | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneQuarter) | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneYear) | ProtocolVN.Framework.Win.Trial.SelectionTypes.SixMonths) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromDateToDate) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromMonthToMonth) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromQuarterToQuarter) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear))); // // ThuTrongTuan // this.ThuTrongTuan.DataSource = null; this.ThuTrongTuan.DisplayField = null; this.ThuTrongTuan.Location = new System.Drawing.Point(924, 5); this.ThuTrongTuan.Name = "ThuTrongTuan"; this.ThuTrongTuan.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.ThuTrongTuan.Size = new System.Drawing.Size(186, 20); this.ThuTrongTuan.TabIndex = 231; this.ThuTrongTuan.ValueField = null; // // plLabel9 // this.plLabel9.Location = new System.Drawing.Point(846, 11); this.plLabel9.Name = "plLabel9"; this.plLabel9.Size = new System.Drawing.Size(73, 13); this.plLabel9.TabIndex = 230; this.plLabel9.Text = "Thứ trong tuần"; // // ThongTinThem // this.ThongTinThem.CheckOnClick = true; this.ThongTinThem.ColumnWidth = 80; this.ThongTinThem.Items.AddRange(new DevExpress.XtraEditors.Controls.CheckedListBoxItem[] { new DevExpress.XtraEditors.Controls.CheckedListBoxItem("N", "Phát mới", System.Windows.Forms.CheckState.Checked), new DevExpress.XtraEditors.Controls.CheckedListBoxItem("Y", "Phát lại", System.Windows.Forms.CheckState.Checked)}); this.ThongTinThem.Location = new System.Drawing.Point(636, 34); this.ThongTinThem.MultiColumn = true; this.ThongTinThem.Name = "ThongTinThem"; this.ThongTinThem.SelectionMode = System.Windows.Forms.SelectionMode.None; this.ThongTinThem.Size = new System.Drawing.Size(185, 18); this.ThongTinThem.TabIndex = 229; // // GioPhatDen // this.GioPhatDen.EditValue = null; this.GioPhatDen.Location = new System.Drawing.Point(456, 31); this.GioPhatDen.Name = "GioPhatDen"; this.GioPhatDen.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True; this.GioPhatDen.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.GioPhatDen.Properties.Mask.EditMask = "HH:mm"; this.GioPhatDen.Properties.Mask.UseMaskAsDisplayFormat = true; this.GioPhatDen.Size = new System.Drawing.Size(85, 20); this.GioPhatDen.TabIndex = 228; // // GioPhatTu // this.GioPhatTu.EditValue = null; this.GioPhatTu.Location = new System.Drawing.Point(332, 32); this.GioPhatTu.Name = "GioPhatTu"; this.GioPhatTu.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True; this.GioPhatTu.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.GioPhatTu.Properties.Mask.EditMask = "HH:mm"; this.GioPhatTu.Properties.Mask.UseMaskAsDisplayFormat = true; this.GioPhatTu.Size = new System.Drawing.Size(85, 20); this.GioPhatTu.TabIndex = 228; // // PhongBan // this.PhongBan.Location = new System.Drawing.Point(924, 32); this.PhongBan.Name = "PhongBan"; this.PhongBan.Size = new System.Drawing.Size(187, 20); this.PhongBan.TabIndex = 10; // // NguoiNhap // this.NguoiNhap.DataSource = null; this.NguoiNhap.DisplayField = null; this.NguoiNhap.Location = new System.Drawing.Point(1169, 5); this.NguoiNhap.Name = "NguoiNhap"; this.NguoiNhap.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.NguoiNhap.Size = new System.Drawing.Size(187, 20); this.NguoiNhap.TabIndex = 227; this.NguoiNhap.ValueField = null; // // Category // this.Category._DataSource = null; this.Category._GetField = null; this.Category.Location = new System.Drawing.Point(48, 56); this.Category.Name = "Category"; this.Category.Properties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None); this.Category.Size = new System.Drawing.Size(210, 20); this.Category.TabIndex = 222; // // TenCT // this.TenCT._DataSource = null; this.TenCT._GetField = null; this.TenCT.Location = new System.Drawing.Point(48, 6); this.TenCT.Name = "TenCT"; this.TenCT.Properties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None); this.TenCT.Size = new System.Drawing.Size(214, 20); this.TenCT.TabIndex = 222; // // KenhPhat // this.KenhPhat.DataSource = null; this.KenhPhat.DisplayField = null; this.KenhPhat.Location = new System.Drawing.Point(636, 9); this.KenhPhat.Name = "KenhPhat"; this.KenhPhat.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.KenhPhat.Size = new System.Drawing.Size(185, 20); this.KenhPhat.TabIndex = 220; this.KenhPhat.ValueField = null; // // PostMaster // this.PostMaster.DataSource = null; this.PostMaster.DisplayField = null; this.PostMaster.Location = new System.Drawing.Point(332, 5); this.PostMaster.Name = "PostMaster"; this.PostMaster.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.PostMaster.Size = new System.Drawing.Size(210, 20); this.PostMaster.TabIndex = 220; this.PostMaster.ValueField = null; // // TietMuc // this.TietMuc.DataSource = null; this.TietMuc.DisplayField = null; this.TietMuc.Location = new System.Drawing.Point(48, 32); this.TietMuc.Name = "TietMuc"; this.TietMuc.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.TietMuc.Size = new System.Drawing.Size(214, 20); this.TietMuc.TabIndex = 216; this.TietMuc.ValueField = null; // // plLabel8 // this.plLabel8.Location = new System.Drawing.Point(547, 36); this.plLabel8.Name = "plLabel8"; this.plLabel8.Size = new System.Drawing.Size(72, 13); this.plLabel8.TabIndex = 213; this.plLabel8.Text = "Thông tin thêm"; // // plLabel7 // this.plLabel7.Location = new System.Drawing.Point(548, 12); this.plLabel7.Name = "plLabel7"; this.plLabel7.Size = new System.Drawing.Size(49, 13); this.plLabel7.TabIndex = 213; this.plLabel7.Text = "Kênh phát"; // // label10 // this.label10.Location = new System.Drawing.Point(270, 12); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(58, 13); this.label10.TabIndex = 213; this.label10.Text = "Post/Master"; // // plLabel4 // this.plLabel4.Location = new System.Drawing.Point(1116, 8); this.plLabel4.Name = "plLabel4"; this.plLabel4.Size = new System.Drawing.Size(47, 13); this.plLabel4.TabIndex = 217; this.plLabel4.Text = "Người tạo"; // // plLabel1 // this.plLabel1.Location = new System.Drawing.Point(846, 36); this.plLabel1.Name = "plLabel1"; this.plLabel1.Size = new System.Drawing.Size(51, 13); this.plLabel1.TabIndex = 217; this.plLabel1.Text = "Phòng ban"; // // plLabel5 // this.plLabel5.Location = new System.Drawing.Point(423, 36); this.plLabel5.Name = "plLabel5"; this.plLabel5.Size = new System.Drawing.Size(20, 13); this.plLabel5.TabIndex = 217; this.plLabel5.Text = "Đến"; // // plLabel3 // this.plLabel3.Location = new System.Drawing.Point(271, 35); this.plLabel3.Name = "plLabel3"; this.plLabel3.Size = new System.Drawing.Size(54, 13); this.plLabel3.TabIndex = 217; this.plLabel3.Text = "Giờ phát từ"; // // plLabel6 // this.plLabel6.Location = new System.Drawing.Point(270, 61); this.plLabel6.Name = "plLabel6"; this.plLabel6.Size = new System.Drawing.Size(50, 13); this.plLabel6.TabIndex = 217; this.plLabel6.Text = "Ngày phát"; // // plLabel2 // this.plLabel2.Location = new System.Drawing.Point(3, 61); this.plLabel2.Name = "plLabel2"; this.plLabel2.Size = new System.Drawing.Size(45, 13); this.plLabel2.TabIndex = 218; this.plLabel2.Text = "Category"; // // label3 // this.label3.Location = new System.Drawing.Point(3, 12); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(34, 13); this.label3.TabIndex = 218; this.label3.Text = "Tên CT"; // // label5 // this.label5.Location = new System.Drawing.Point(3, 36); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(40, 13); this.label5.TabIndex = 219; this.label5.Text = "Tiết mục"; // // NgayBatDauPhat // this.NgayBatDauPhat.Caption = "Từ ngày 15/06/2012 đến ngày 22/06/2012"; this.NgayBatDauPhat.Default = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromDateToDate; this.NgayBatDauPhat.FirstFrom = new System.DateTime(2012, 6, 15, 5, 46, 55, 392); this.NgayBatDauPhat.FirstTo = new System.DateTime(2012, 6, 22, 5, 46, 55, 392); this.NgayBatDauPhat.FromDate = new System.DateTime(2012, 6, 15, 5, 46, 55, 392); this.NgayBatDauPhat.Location = new System.Drawing.Point(332, 59); this.NgayBatDauPhat.Name = "NgayBatDauPhat"; this.NgayBatDauPhat.ReturnType = ProtocolVN.Framework.Win.Trial.TimeType.Date; this.NgayBatDauPhat.SecondFrom = new System.DateTime(2012, 6, 15, 5, 46, 55, 392); this.NgayBatDauPhat.SecondTo = new System.DateTime(2012, 6, 22, 5, 46, 55, 392); this.NgayBatDauPhat.SelectedType = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromDateToDate; this.NgayBatDauPhat.Size = new System.Drawing.Size(285, 21); this.NgayBatDauPhat.TabIndex = 226; this.NgayBatDauPhat.ToDate = new System.DateTime(2012, 6, 22, 5, 46, 55, 392); this.NgayBatDauPhat.Types = ((ProtocolVN.Framework.Win.Trial.SelectionTypes)(((((((((ProtocolVN.Framework.Win.Trial.SelectionTypes.OneDate | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneMonth) | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneQuarter) | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneYear) | ProtocolVN.Framework.Win.Trial.SelectionTypes.SixMonths) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromDateToDate) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromMonthToMonth) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromQuarterToQuarter) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear))); // // barStaticItem1 // this.barStaticItem1.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None; this.barStaticItem1.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.barStaticItem1.Id = 13; this.barStaticItem1.Name = "barStaticItem1"; this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near; this.barStaticItem1.Width = 100; // // barButtonItem1 // this.barButtonItem1.Caption = "barButtonItem1"; this.barButtonItem1.Id = 14; this.barButtonItem1.Name = "barButtonItem1"; // // barButtonItem2 // this.barButtonItem2.Caption = "barButtonItem2"; this.barButtonItem2.Id = 15; this.barButtonItem2.Name = "barButtonItem2"; // // barButtonItem3 // this.barButtonItem3.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItem3.Caption = "In"; this.barButtonItem3.Id = 30; this.barButtonItem3.Name = "barButtonItem3"; // // splitContainerControl1 // this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerControl1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2; this.splitContainerControl1.Horizontal = false; this.splitContainerControl1.Location = new System.Drawing.Point(0, 135); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.gridControlMaster); this.splitContainerControl1.Panel1.Text = "splitContainerControl1_Panel1"; this.splitContainerControl1.Panel2.CaptionLocation = DevExpress.Utils.Locations.Left; this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControlDetail); this.splitContainerControl1.Panel2.ShowCaption = true; this.splitContainerControl1.Panel2.Text = "splitContainerControl1_Panel2"; this.splitContainerControl1.Size = new System.Drawing.Size(1362, 410); this.splitContainerControl1.SplitterPosition = 0; this.splitContainerControl1.TabIndex = 4; this.splitContainerControl1.Text = "splitContainerControl1"; // // gridControlMaster // this.gridControlMaster.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlMaster.BackgroundImage"))); this.gridControlMaster.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.gridControlMaster.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControlMaster.Location = new System.Drawing.Point(0, 0); this.gridControlMaster.MainView = this.gridViewMaster; this.gridControlMaster.Name = "gridControlMaster"; this.gridControlMaster.Size = new System.Drawing.Size(1362, 404); this.gridControlMaster.TabIndex = 12; this.gridControlMaster.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewMaster}); // // gridViewMaster // this.gridViewMaster.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gridViewMaster.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewMaster.Bands.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { this.gridBandPostMaster, this.gridBandChuongTrinh}); this.gridViewMaster.Columns.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn[] { this.Col_LPS_NgayPhat, this.Col_LPS_GioPhat, this.Col_LPS_TenChuongTrinh, this.Col_LPS_TapSo, this.Col_LPS_ThoiLuong, this.Col_LPS_TenGoc, this.Col_LPS_Category, this.Col_LPS_TietMuc, this.Col_LPS_NuocSX, this.Col_LPS_NamSx, this.Col_LPS_PostMaster, this.Col_LPS_TongTap, this.Col_LPS_TongSoRun, this.Col_LPS_SoLanDaPhat, this.Col_LPS_SoRunCon, this.Col_LPS_ThoiLuongChung, this.Col_LPS_NgayBatDau, this.Col_LPS_GioPhatChung, this.Col_LPS_KenhPhat, this.Col_LPS_SoTapNgay, this.Col_LPS_ThuTrongTuan, this.Col_LPS_SoNgayPhat, this.Col_LPS_NgayCuoi, this.Col_LPS_NgayTao, this.Col_LPS_NguoiTao, this.Col_LPS_ThongTinThem}); this.gridViewMaster.GridControl = this.gridControlMaster; this.gridViewMaster.GroupCount = 2; this.gridViewMaster.IndicatorWidth = 40; this.gridViewMaster.Name = "gridViewMaster"; this.gridViewMaster.OptionsBehavior.AutoExpandAllGroups = true; this.gridViewMaster.OptionsLayout.Columns.AddNewColumns = false; this.gridViewMaster.OptionsNavigation.AutoFocusNewRow = true; this.gridViewMaster.OptionsNavigation.EnterMoveNextColumn = true; this.gridViewMaster.OptionsPrint.UsePrintStyles = true; this.gridViewMaster.OptionsView.ColumnAutoWidth = false; this.gridViewMaster.OptionsView.EnableAppearanceEvenRow = true; this.gridViewMaster.OptionsView.EnableAppearanceOddRow = true; this.gridViewMaster.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; this.gridViewMaster.OptionsView.ShowViewCaption = true; this.gridViewMaster.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.Col_LPS_KenhPhat, DevExpress.Data.ColumnSortOrder.Ascending), new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.Col_LPS_NgayPhat, DevExpress.Data.ColumnSortOrder.Ascending)}); this.gridViewMaster.ViewCaption = "CHI TIẾT LỊCH PHÁT SÓNG"; // // gridBandPostMaster // this.gridBandPostMaster.AppearanceHeader.Options.UseTextOptions = true; this.gridBandPostMaster.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridBandPostMaster.Caption = "Thông tin phát sóng"; this.gridBandPostMaster.Columns.Add(this.Col_LPS_NgayPhat); this.gridBandPostMaster.Columns.Add(this.Col_LPS_GioPhat); this.gridBandPostMaster.Columns.Add(this.Col_LPS_NgayBatDau); this.gridBandPostMaster.Columns.Add(this.Col_LPS_GioPhatChung); this.gridBandPostMaster.Columns.Add(this.Col_LPS_KenhPhat); this.gridBandPostMaster.Columns.Add(this.Col_LPS_SoTapNgay); this.gridBandPostMaster.Columns.Add(this.Col_LPS_ThuTrongTuan); this.gridBandPostMaster.Columns.Add(this.Col_LPS_NgayCuoi); this.gridBandPostMaster.Columns.Add(this.Col_LPS_SoNgayPhat); this.gridBandPostMaster.Columns.Add(this.Col_LPS_ThongTinThem); this.gridBandPostMaster.Columns.Add(this.Col_LPS_NgayTao); this.gridBandPostMaster.Columns.Add(this.Col_LPS_NguoiTao); this.gridBandPostMaster.Name = "gridBandPostMaster"; this.gridBandPostMaster.Width = 957; // // Col_LPS_NgayPhat // this.Col_LPS_NgayPhat.Caption = "Ngày phát"; this.Col_LPS_NgayPhat.Name = "Col_LPS_NgayPhat"; this.Col_LPS_NgayPhat.Visible = true; // // Col_LPS_GioPhat // this.Col_LPS_GioPhat.Caption = "Giờ phát"; this.Col_LPS_GioPhat.Name = "Col_LPS_GioPhat"; this.Col_LPS_GioPhat.Visible = true; this.Col_LPS_GioPhat.Width = 52; // // Col_LPS_NgayBatDau // this.Col_LPS_NgayBatDau.Caption = "Ngày bắt đầu phát"; this.Col_LPS_NgayBatDau.Name = "Col_LPS_NgayBatDau"; this.Col_LPS_NgayBatDau.Visible = true; this.Col_LPS_NgayBatDau.Width = 102; // // Col_LPS_GioPhatChung // this.Col_LPS_GioPhatChung.Caption = "Giờ phát chung"; this.Col_LPS_GioPhatChung.Name = "Col_LPS_GioPhatChung"; this.Col_LPS_GioPhatChung.Visible = true; this.Col_LPS_GioPhatChung.Width = 84; // // Col_LPS_KenhPhat // this.Col_LPS_KenhPhat.Caption = "Kênh phát"; this.Col_LPS_KenhPhat.Name = "Col_LPS_KenhPhat"; this.Col_LPS_KenhPhat.Visible = true; this.Col_LPS_KenhPhat.Width = 74; // // Col_LPS_SoTapNgay // this.Col_LPS_SoTapNgay.Caption = "Số tập/ngày"; this.Col_LPS_SoTapNgay.Name = "Col_LPS_SoTapNgay"; this.Col_LPS_SoTapNgay.Visible = true; this.Col_LPS_SoTapNgay.Width = 71; // // Col_LPS_ThuTrongTuan // this.Col_LPS_ThuTrongTuan.Caption = "Thứ trong tuần"; this.Col_LPS_ThuTrongTuan.Name = "Col_LPS_ThuTrongTuan"; this.Col_LPS_ThuTrongTuan.Visible = true; this.Col_LPS_ThuTrongTuan.Width = 85; // // Col_LPS_NgayCuoi // this.Col_LPS_NgayCuoi.Caption = "Ngày phát tập cuối"; this.Col_LPS_NgayCuoi.Name = "Col_LPS_NgayCuoi"; this.Col_LPS_NgayCuoi.Visible = true; this.Col_LPS_NgayCuoi.Width = 103; // // Col_LPS_SoNgayPhat // this.Col_LPS_SoNgayPhat.Caption = "Số ngày phát"; this.Col_LPS_SoNgayPhat.Name = "Col_LPS_SoNgayPhat"; this.Col_LPS_SoNgayPhat.Visible = true; this.Col_LPS_SoNgayPhat.Width = 76; // // Col_LPS_ThongTinThem // this.Col_LPS_ThongTinThem.Caption = "Thông tin thêm"; this.Col_LPS_ThongTinThem.Name = "Col_LPS_ThongTinThem"; this.Col_LPS_ThongTinThem.Visible = true; this.Col_LPS_ThongTinThem.Width = 84; // // Col_LPS_NgayTao // this.Col_LPS_NgayTao.Caption = "Ngày tạo lịch"; this.Col_LPS_NgayTao.Name = "Col_LPS_NgayTao"; this.Col_LPS_NgayTao.Visible = true; this.Col_LPS_NgayTao.Width = 74; // // Col_LPS_NguoiTao // this.Col_LPS_NguoiTao.Caption = "Người tạo lịch"; this.Col_LPS_NguoiTao.Name = "Col_LPS_NguoiTao"; this.Col_LPS_NguoiTao.Visible = true; this.Col_LPS_NguoiTao.Width = 77; // // gridBandChuongTrinh // this.gridBandChuongTrinh.AppearanceHeader.Options.UseTextOptions = true; this.gridBandChuongTrinh.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridBandChuongTrinh.Caption = "Thông tin chương trình"; this.gridBandChuongTrinh.Columns.Add(this.Col_LPS_TenChuongTrinh); this.gridBandChuongTrinh.Columns.Add(this.Col_LPS_ThoiLuong); this.gridBandChuongTrinh.Columns.Add(this.Col_LPS_Category); this.gridBandChuongTrinh.Columns.Add(this.Col_LPS_TietMuc); this.gridBandChuongTrinh.Columns.Add(this.Col_LPS_NuocSX); this.gridBandChuongTrinh.Columns.Add(this.Col_LPS_NamSx); this.gridBandChuongTrinh.Columns.Add(this.Col_LPS_TapSo); this.gridBandChuongTrinh.Columns.Add(this.Col_LPS_TenGoc); this.gridBandChuongTrinh.Columns.Add(this.Col_LPS_PostMaster); this.gridBandChuongTrinh.Columns.Add(this.Col_LPS_TongTap); this.gridBandChuongTrinh.Columns.Add(this.Col_LPS_TongSoRun); this.gridBandChuongTrinh.Columns.Add(this.Col_LPS_SoLanDaPhat); this.gridBandChuongTrinh.Columns.Add(this.Col_LPS_SoRunCon); this.gridBandChuongTrinh.Columns.Add(this.Col_LPS_ThoiLuongChung); this.gridBandChuongTrinh.Name = "gridBandChuongTrinh"; this.gridBandChuongTrinh.Width = 964; // // Col_LPS_TenChuongTrinh // this.Col_LPS_TenChuongTrinh.Caption = "Tên chương trình"; this.Col_LPS_TenChuongTrinh.Name = "Col_LPS_TenChuongTrinh"; this.Col_LPS_TenChuongTrinh.Visible = true; this.Col_LPS_TenChuongTrinh.Width = 94; // // Col_LPS_ThoiLuong // this.Col_LPS_ThoiLuong.Caption = "Thời lượng"; this.Col_LPS_ThoiLuong.Name = "Col_LPS_ThoiLuong"; this.Col_LPS_ThoiLuong.Visible = true; this.Col_LPS_ThoiLuong.Width = 62; // // Col_LPS_Category // this.Col_LPS_Category.Caption = "Category"; this.Col_LPS_Category.Name = "Col_LPS_Category"; this.Col_LPS_Category.Visible = true; this.Col_LPS_Category.Width = 57; // // Col_LPS_TietMuc // this.Col_LPS_TietMuc.Caption = " Tiết mục"; this.Col_LPS_TietMuc.Name = "Col_LPS_TietMuc"; this.Col_LPS_TietMuc.Visible = true; this.Col_LPS_TietMuc.Width = 55; // // Col_LPS_NuocSX // this.Col_LPS_NuocSX.Caption = "Nước SX"; this.Col_LPS_NuocSX.Name = "Col_LPS_NuocSX"; this.Col_LPS_NuocSX.Visible = true; this.Col_LPS_NuocSX.Width = 52; // // Col_LPS_NamSx // this.Col_LPS_NamSx.Caption = "Năm SX"; this.Col_LPS_NamSx.Name = "Col_LPS_NamSx"; this.Col_LPS_NamSx.Visible = true; this.Col_LPS_NamSx.Width = 48; // // Col_LPS_TapSo // this.Col_LPS_TapSo.Caption = "Tập số"; this.Col_LPS_TapSo.Name = "Col_LPS_TapSo"; this.Col_LPS_TapSo.Visible = true; this.Col_LPS_TapSo.Width = 44; // // Col_LPS_TenGoc // this.Col_LPS_TenGoc.Caption = "Tên gốc"; this.Col_LPS_TenGoc.Name = "Col_LPS_TenGoc"; this.Col_LPS_TenGoc.Visible = true; this.Col_LPS_TenGoc.Width = 50; // // Col_LPS_PostMaster // this.Col_LPS_PostMaster.Caption = "Post/Master"; this.Col_LPS_PostMaster.Name = "Col_LPS_PostMaster"; this.Col_LPS_PostMaster.OptionsColumn.AllowShowHide = false; this.Col_LPS_PostMaster.Visible = true; this.Col_LPS_PostMaster.Width = 70; // // Col_LPS_TongTap // this.Col_LPS_TongTap.Caption = "Tổng tập phát"; this.Col_LPS_TongTap.Name = "Col_LPS_TongTap"; this.Col_LPS_TongTap.Visible = true; this.Col_LPS_TongTap.Width = 55; // // Col_LPS_TongSoRun // this.Col_LPS_TongSoRun.Caption = "Tổng số RUN"; this.Col_LPS_TongSoRun.Name = "Col_LPS_TongSoRun"; this.Col_LPS_TongSoRun.Visible = true; this.Col_LPS_TongSoRun.Width = 74; // // Col_LPS_SoLanDaPhat // this.Col_LPS_SoLanDaPhat.Caption = "Số lần đã phát (đã RUN)"; this.Col_LPS_SoLanDaPhat.Name = "Col_LPS_SoLanDaPhat"; this.Col_LPS_SoLanDaPhat.Visible = true; this.Col_LPS_SoLanDaPhat.Width = 128; // // Col_LPS_SoRunCon // this.Col_LPS_SoRunCon.Caption = "Số RUN còn lại"; this.Col_LPS_SoRunCon.Name = "Col_LPS_SoRunCon"; this.Col_LPS_SoRunCon.Visible = true; this.Col_LPS_SoRunCon.Width = 81; // // Col_LPS_ThoiLuongChung // this.Col_LPS_ThoiLuongChung.Caption = "Thời lượng chung"; this.Col_LPS_ThoiLuongChung.Name = "Col_LPS_ThoiLuongChung"; this.Col_LPS_ThoiLuongChung.Visible = true; this.Col_LPS_ThoiLuongChung.Width = 94; // // xtraTabControlDetail // this.xtraTabControlDetail.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.xtraTabControlDetail.Dock = System.Windows.Forms.DockStyle.Fill; this.xtraTabControlDetail.Location = new System.Drawing.Point(0, 0); this.xtraTabControlDetail.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Flat; this.xtraTabControlDetail.LookAndFeel.UseDefaultLookAndFeel = false; this.xtraTabControlDetail.Name = "xtraTabControlDetail"; this.xtraTabControlDetail.SelectedTabPage = this.xtraTabPageDetail; this.xtraTabControlDetail.ShowTabHeader = DevExpress.Utils.DefaultBoolean.False; this.xtraTabControlDetail.Size = new System.Drawing.Size(0, 0); this.xtraTabControlDetail.TabIndex = 10; this.xtraTabControlDetail.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPageDetail}); // // xtraTabPageDetail // this.xtraTabPageDetail.Controls.Add(this.gridControlDetail); this.xtraTabPageDetail.Name = "xtraTabPageDetail"; this.xtraTabPageDetail.Size = new System.Drawing.Size(0, 0); this.xtraTabPageDetail.Text = "Danh sách biên mục"; // // gridControlDetail // this.gridControlDetail.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlDetail.BackgroundImage"))); this.gridControlDetail.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.gridControlDetail.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControlDetail.Location = new System.Drawing.Point(0, 0); this.gridControlDetail.MainView = this.gridViewDetail; this.gridControlDetail.Name = "gridControlDetail"; this.gridControlDetail.Size = new System.Drawing.Size(0, 0); this.gridControlDetail.TabIndex = 3; this.gridControlDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewDetail}); // // gridViewDetail // this.gridViewDetail.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gridViewDetail.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewDetail.GridControl = this.gridControlDetail; this.gridViewDetail.IndicatorWidth = 40; this.gridViewDetail.Name = "gridViewDetail"; this.gridViewDetail.OptionsBehavior.AutoExpandAllGroups = true; this.gridViewDetail.OptionsLayout.Columns.AddNewColumns = false; this.gridViewDetail.OptionsNavigation.AutoFocusNewRow = true; this.gridViewDetail.OptionsNavigation.EnterMoveNextColumn = true; this.gridViewDetail.OptionsPrint.UsePrintStyles = true; this.gridViewDetail.OptionsView.EnableAppearanceEvenRow = true; this.gridViewDetail.OptionsView.EnableAppearanceOddRow = true; this.gridViewDetail.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; this.gridViewDetail.OptionsView.ShowGroupedColumns = true; this.gridViewDetail.OptionsView.ShowGroupPanel = false; this.gridViewDetail.OptionsView.ShowViewCaption = true; this.gridViewDetail.ViewCaption = "Chi tiết lịch phát sóng"; // // frmChiTietLPSQL // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1362, 545); this.Controls.Add(this.splitContainerControl1); this.Controls.Add(this.dockPanel1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "FrmChiTietLPSQL"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Chi tiết lịch phát sóng"; ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).EndInit(); this.dockPanel1.ResumeLayout(false); this.dockPanel1_Container.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).EndInit(); this.popupControlContainerFilter.ResumeLayout(false); this.popupControlContainerFilter.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.ThuTrongTuan.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ThongTinThem)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.GioPhatDen.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.GioPhatTu.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.NguoiNhap.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.Category.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.TenCT.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.KenhPhat.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.PostMaster.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.TietMuc.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).EndInit(); this.xtraTabControlDetail.ResumeLayout(false); this.xtraTabPageDetail.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).EndInit(); this.ResumeLayout(false); }