/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { 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(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); this.SuspendLayout(); // // 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.MaxItemId = 0; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(292, 270); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); this.ResumeLayout(false); }
public CLoudTaskBasePopupMenu(System.Windows.Forms.Control form) { m_popupMenu = new DevExpress.XtraBars.PopupMenu(); m_barManager = new DevExpress.XtraBars.BarManager(); m_barButtonsMap = new Dictionary <string, BarButtonItem>(); controller = new Controllers.PopupMenuController(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); ((System.ComponentModel.ISupportInitialize)(this.m_popupMenu)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.m_barManager)).BeginInit(); this.m_barManager.Form = form; this.m_barManager.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barManagerItemClick); this.m_popupMenu.Manager = this.m_barManager; this.m_popupMenu.Name = "BasePopupMenu"; // // CreateNewTask // DevExpress.XtraBars.BarButtonItem m_barButtonAddNewTask = new BarButtonItem(); m_barButtonAddNewTask.Caption = GUIConstants.BarButtonAddNewTaskCaption; m_barButtonAddNewTask.Id = 0; m_barButtonAddNewTask.Name = "barButtonAddNewTask"; m_barButtonsMap[GUIConstants.BarButtonAddNewTaskCaption] = m_barButtonAddNewTask; // // CreateNewCategory // DevExpress.XtraBars.BarButtonItem m_barButtonAddNewCategory = new BarButtonItem(); m_barButtonAddNewCategory.Caption = GUIConstants.BarButtonAddNewCategoryCaption; m_barButtonAddNewCategory.Id = 0; m_barButtonAddNewCategory.Name = "barButtonAddNewTask"; m_barButtonsMap[GUIConstants.BarButtonAddNewCategoryCaption] = m_barButtonAddNewCategory; // // DeleteNode // DevExpress.XtraBars.BarButtonItem m_barButtonDeleteElement = new BarButtonItem(); m_barButtonDeleteElement.Caption = GUIConstants.BarButtonDeleteNodeCaption; m_barButtonDeleteElement.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonDeleteTask.Glyph"))); m_barButtonDeleteElement.Id = 1; m_barButtonDeleteElement.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barButtonDeleteTask.LargeGlyph"))); m_barButtonDeleteElement.Name = "barButtonDeleteTask"; m_barButtonsMap[GUIConstants.BarButtonDeleteNodeCaption] = m_barButtonDeleteElement; ((System.ComponentModel.ISupportInitialize)(this.m_popupMenu)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.m_barManager)).EndInit(); }
public CLoudTaskBasePopupMenu(System.Windows.Forms.Control form) { m_popupMenu = new DevExpress.XtraBars.PopupMenu(); m_barManager = new DevExpress.XtraBars.BarManager(); m_barButtonsMap = new Dictionary<string, BarButtonItem>(); controller = new Controllers.PopupMenuController(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); ((System.ComponentModel.ISupportInitialize)(this.m_popupMenu)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.m_barManager)).BeginInit(); this.m_barManager.Form = form; this.m_barManager.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barManagerItemClick); this.m_popupMenu.Manager = this.m_barManager; this.m_popupMenu.Name = "BasePopupMenu"; // // CreateNewTask // DevExpress.XtraBars.BarButtonItem m_barButtonAddNewTask = new BarButtonItem(); m_barButtonAddNewTask.Caption = GUIConstants.BarButtonAddNewTaskCaption; m_barButtonAddNewTask.Id = 0; m_barButtonAddNewTask.Name = "barButtonAddNewTask"; m_barButtonsMap[GUIConstants.BarButtonAddNewTaskCaption] = m_barButtonAddNewTask; // // CreateNewCategory // DevExpress.XtraBars.BarButtonItem m_barButtonAddNewCategory = new BarButtonItem(); m_barButtonAddNewCategory.Caption = GUIConstants.BarButtonAddNewCategoryCaption; m_barButtonAddNewCategory.Id = 0; m_barButtonAddNewCategory.Name = "barButtonAddNewTask"; m_barButtonsMap[GUIConstants.BarButtonAddNewCategoryCaption] = m_barButtonAddNewCategory; // // DeleteNode // DevExpress.XtraBars.BarButtonItem m_barButtonDeleteElement = new BarButtonItem(); m_barButtonDeleteElement.Caption = GUIConstants.BarButtonDeleteNodeCaption; m_barButtonDeleteElement.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonDeleteTask.Glyph"))); m_barButtonDeleteElement.Id = 1; m_barButtonDeleteElement.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barButtonDeleteTask.LargeGlyph"))); m_barButtonDeleteElement.Name = "barButtonDeleteTask"; m_barButtonsMap[GUIConstants.BarButtonDeleteNodeCaption] = m_barButtonDeleteElement; ((System.ComponentModel.ISupportInitialize)(this.m_popupMenu)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.m_barManager)).EndInit(); }
/// <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); }
public BarButtonItem(DevExpress.XtraBars.BarManager manager, string caption, int imageIndex, DevExpress.XtraBars.BarShortcut shortcut) : base(manager, caption, imageIndex, shortcut) { }
public BarButtonItem(DevExpress.XtraBars.BarManager manager, string caption, int imageIndex) : base(manager, caption, imageIndex) { }
public BarButtonItem(DevExpress.XtraBars.BarManager manager, string caption) : base(manager, caption) { }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.navigationTreeList = new DevExpress.XtraTreeList.TreeList(); this.treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.svgImageCollection1 = new DevExpress.Utils.SvgImageCollection(this.components); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.LocalResourceTabPage = new DevExpress.XtraTab.XtraTabPage(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.CheckedResourceCombox = new DevExpress.XtraEditors.CheckedComboBoxEdit(); this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.DBResourceTabPage = new DevExpress.XtraTab.XtraTabPage(); this.WebTabPage = new DevExpress.XtraTab.XtraTabPage(); this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); 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.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem(); ((System.ComponentModel.ISupportInitialize)(this.navigationTreeList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.svgImageCollection1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); this.xtraTabControl1.SuspendLayout(); this.LocalResourceTabPage.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.CheckedResourceCombox.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); this.SuspendLayout(); // // navigationTreeList // this.navigationTreeList.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.navigationTreeList.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { this.treeListColumn1 }); this.navigationTreeList.Location = new System.Drawing.Point(2, 26); this.navigationTreeList.Name = "navigationTreeList"; this.navigationTreeList.OptionsBehavior.Editable = false; this.navigationTreeList.OptionsFind.AllowFindPanel = false; this.navigationTreeList.OptionsSelection.EnableAppearanceFocusedCell = false; this.navigationTreeList.OptionsView.FocusRectStyle = DevExpress.XtraTreeList.DrawFocusRectStyle.None; this.navigationTreeList.OptionsView.ShowColumns = false; this.navigationTreeList.OptionsView.ShowHorzLines = false; this.navigationTreeList.OptionsView.ShowIndentAsRowStyle = true; this.navigationTreeList.OptionsView.ShowIndicator = false; this.navigationTreeList.OptionsView.ShowVertLines = false; this.navigationTreeList.RowHeight = 22; this.navigationTreeList.SelectImageList = this.svgImageCollection1; this.navigationTreeList.Size = new System.Drawing.Size(313, 674); this.navigationTreeList.TabIndex = 1; // // treeListColumn1 // this.treeListColumn1.Caption = "treeListColumn1"; this.treeListColumn1.FieldName = "treeListColumn1"; this.treeListColumn1.Name = "treeListColumn1"; this.treeListColumn1.Visible = true; this.treeListColumn1.VisibleIndex = 0; // // svgImageCollection1 // this.svgImageCollection1.Add("electronics_desktopmac", "image://svgimages/icon builder/electronics_desktopmac.svg"); // // xtraTabControl1 // this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.xtraTabControl1.Location = new System.Drawing.Point(0, 0); this.xtraTabControl1.Name = "xtraTabControl1"; this.xtraTabControl1.SelectedTabPage = this.LocalResourceTabPage; this.xtraTabControl1.Size = new System.Drawing.Size(323, 731); this.xtraTabControl1.TabIndex = 2; this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.LocalResourceTabPage, this.DBResourceTabPage, this.WebTabPage }); // // LocalResourceTabPage // this.LocalResourceTabPage.Controls.Add(this.layoutControl1); this.LocalResourceTabPage.Name = "LocalResourceTabPage"; this.LocalResourceTabPage.Size = new System.Drawing.Size(317, 702); this.LocalResourceTabPage.Text = "本地资源"; // // layoutControl1 // this.layoutControl1.Controls.Add(this.CheckedResourceCombox); this.layoutControl1.Controls.Add(this.navigationTreeList); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(0, 0); this.layoutControl1.Margin = new System.Windows.Forms.Padding(0); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.Root = this.Root; this.layoutControl1.Size = new System.Drawing.Size(317, 702); this.layoutControl1.TabIndex = 3; this.layoutControl1.Text = "layoutControl1"; // // CheckedResourceCombox // this.CheckedResourceCombox.EditValue = ""; this.CheckedResourceCombox.Location = new System.Drawing.Point(2, 2); this.CheckedResourceCombox.Name = "CheckedResourceCombox"; this.CheckedResourceCombox.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.CheckedResourceCombox.Size = new System.Drawing.Size(313, 20); this.CheckedResourceCombox.StyleController = this.layoutControl1; this.CheckedResourceCombox.TabIndex = 2; // // Root // this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.Root.GroupBordersVisible = false; this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1, this.layoutControlItem2 }); this.Root.Name = "Root"; this.Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.Root.Size = new System.Drawing.Size(317, 702); this.Root.TextVisible = false; // // layoutControlItem1 // this.layoutControlItem1.Control = this.navigationTreeList; this.layoutControlItem1.Location = new System.Drawing.Point(0, 24); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(317, 678); this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem1.TextVisible = false; // // layoutControlItem2 // this.layoutControlItem2.Control = this.CheckedResourceCombox; this.layoutControlItem2.Location = new System.Drawing.Point(0, 0); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(317, 24); this.layoutControlItem2.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem2.TextToControlDistance = 0; this.layoutControlItem2.TextVisible = false; // // DBResourceTabPage // this.DBResourceTabPage.Name = "DBResourceTabPage"; this.DBResourceTabPage.Size = new System.Drawing.Size(317, 702); this.DBResourceTabPage.Text = "数据库资源"; // // WebTabPage // this.WebTabPage.Name = "WebTabPage"; this.WebTabPage.Size = new System.Drawing.Size(317, 702); this.WebTabPage.Text = "Web资源"; // // popupMenu1 // this.popupMenu1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1), new DevExpress.XtraBars.LinkPersistInfo(this.barStaticItem1) }); this.popupMenu1.Manager = this.barManager1; this.popupMenu1.Name = "popupMenu1"; // // barButtonItem1 // this.barButtonItem1.Caption = "barButtonItem1"; this.barButtonItem1.Id = 2; this.barButtonItem1.Name = "barButtonItem1"; // // 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.barStaticItem1 }); this.barManager1.MaxItemId = 4; // // 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(323, 0); // // barDockControlBottom // this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 731); this.barDockControlBottom.Manager = this.barManager1; this.barDockControlBottom.Size = new System.Drawing.Size(323, 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.Manager = this.barManager1; this.barDockControlLeft.Size = new System.Drawing.Size(0, 731); // // barDockControlRight // this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(323, 0); this.barDockControlRight.Manager = this.barManager1; this.barDockControlRight.Size = new System.Drawing.Size(0, 731); // // barStaticItem1 // this.barStaticItem1.Caption = "barStaticItem1"; this.barStaticItem1.Id = 3; this.barStaticItem1.Name = "barStaticItem1"; // // ResourcePanel // this.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F); this.Appearance.Options.UseBackColor = true; this.Appearance.Options.UseFont = true; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.xtraTabControl1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "ResourcePanel"; this.Size = new System.Drawing.Size(323, 731); ((System.ComponentModel.ISupportInitialize)(this.navigationTreeList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.svgImageCollection1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); this.xtraTabControl1.ResumeLayout(false); this.LocalResourceTabPage.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.CheckedResourceCombox.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.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> /// 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.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); this.SuspendLayout(); // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar1 }); this.barManager1.DockControls.Add(this.barDockControlTop); this.barManager1.DockControls.Add(this.barDockControlBottom); this.barManager1.DockControls.Add(this.barDockControlLeft); this.barManager1.DockControls.Add(this.barDockControlRight); this.barManager1.Form = this; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barButtonItem1, this.barButtonItem2, this.barButtonItem3, this.barButtonItem4 }); this.barManager1.MaxItemId = 4; // // bar1 // this.bar1.BarName = "Custom 1"; 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.barButtonItem1), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem2), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem3), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4) }); this.bar1.Text = "Custom 1"; // // barButtonItem1 // this.barButtonItem1.Caption = "Item1"; this.barButtonItem1.Id = 0; this.barButtonItem1.Name = "barButtonItem1"; // // barButtonItem2 // this.barButtonItem2.Caption = "barButtonItem2"; this.barButtonItem2.Id = 1; this.barButtonItem2.Name = "barButtonItem2"; // // barButtonItem3 // this.barButtonItem3.Caption = "barButtonItem3"; this.barButtonItem3.Id = 2; this.barButtonItem3.Name = "barButtonItem3"; // // barButtonItem4 // this.barButtonItem4.Caption = "barButtonItem4"; this.barButtonItem4.Id = 3; this.barButtonItem4.Name = "barButtonItem4"; // // 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(292, 24); // // barDockControlBottom // this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 266); this.barDockControlBottom.Size = new System.Drawing.Size(292, 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, 242); // // barDockControlRight // this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(292, 24); this.barDockControlRight.Size = new System.Drawing.Size(0, 242); // // simpleButton1 // this.simpleButton1.Location = new System.Drawing.Point(72, 160); this.simpleButton1.Name = "simpleButton1"; this.simpleButton1.Size = new System.Drawing.Size(152, 23); this.simpleButton1.TabIndex = 4; this.simpleButton1.Text = "Drag me"; this.simpleButton1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.simpleButton1_MouseMove); // // Form1 // this.AllowDrop = true; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(292, 266); this.Controls.Add(this.simpleButton1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "Form1"; this.Text = "How to drag a custom object and drop it onto an XtraBars toolbar item"; this.DragDrop += new System.Windows.Forms.DragEventHandler(this.Form1_DragDrop); this.DragOver += new System.Windows.Forms.DragEventHandler(this.Form1_DragOver); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.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 InitializeComponent() { this.components = new System.ComponentModel.Container(); this.BarManager1 = new DevExpress.XtraBars.BarManager(this.components); this.Bar1 = new DevExpress.XtraBars.Bar(); this.BarEditItem1 = new DevExpress.XtraBars.BarEditItem(); this.RepositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.BarEditItem2 = new DevExpress.XtraBars.BarEditItem(); this.RepositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.BarButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barCheckItem1 = new DevExpress.XtraBars.BarCheckItem(); 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.TextEdit1 = new DevExpress.XtraEditors.TextEdit(); ((System.ComponentModel.ISupportInitialize)(this.BarManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.RepositoryItemCheckEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.RepositoryItemTextEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.TextEdit1.Properties)).BeginInit(); this.SuspendLayout(); // // BarManager1 // this.BarManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.Bar1}); this.BarManager1.DockControls.Add(this.barDockControlTop); this.BarManager1.DockControls.Add(this.barDockControlBottom); this.BarManager1.DockControls.Add(this.barDockControlLeft); this.BarManager1.DockControls.Add(this.barDockControlRight); this.BarManager1.Form = this; this.BarManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.BarEditItem1, this.BarEditItem2, this.BarButtonItem1, this.barCheckItem1}); this.BarManager1.MaxItemId = 4; this.BarManager1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.RepositoryItemCheckEdit1, this.RepositoryItemTextEdit1}); // // Bar1 // this.Bar1.BarName = "Custom 1"; 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.BarEditItem1), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.Width, this.BarEditItem2, "", false, true, true, 135), new DevExpress.XtraBars.LinkPersistInfo(this.BarButtonItem1), new DevExpress.XtraBars.LinkPersistInfo(this.barCheckItem1)}); this.Bar1.Text = "Custom 1"; // // BarEditItem1 // this.BarEditItem1.Caption = "BarEditItem1"; this.BarEditItem1.Edit = this.RepositoryItemCheckEdit1; this.BarEditItem1.Id = 0; this.BarEditItem1.Name = "BarEditItem1"; this.BarEditItem1.EditValueChanged += new System.EventHandler(this.OnBarEditItemValueChanged); // // RepositoryItemCheckEdit1 // this.RepositoryItemCheckEdit1.AutoHeight = false; this.RepositoryItemCheckEdit1.Name = "RepositoryItemCheckEdit1"; // // BarEditItem2 // this.BarEditItem2.Caption = "BarEditItem2"; this.BarEditItem2.Edit = this.RepositoryItemTextEdit1; this.BarEditItem2.Id = 1; this.BarEditItem2.Name = "BarEditItem2"; this.BarEditItem2.EditValueChanged += new System.EventHandler(this.OnBarEditItemValueChanged); // // RepositoryItemTextEdit1 // this.RepositoryItemTextEdit1.AutoHeight = false; this.RepositoryItemTextEdit1.Name = "RepositoryItemTextEdit1"; // // BarButtonItem1 // this.BarButtonItem1.Caption = "BarButtonItem1"; this.BarButtonItem1.Id = 2; this.BarButtonItem1.Name = "BarButtonItem1"; // // barCheckItem1 // this.barCheckItem1.Caption = "SaveImmediately"; this.barCheckItem1.Id = 3; this.barCheckItem1.Name = "barCheckItem1"; this.barCheckItem1.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.barCheckItem1_CheckedChanged); // // 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(472, 29); // // barDockControlBottom // this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 261); this.barDockControlBottom.Size = new System.Drawing.Size(472, 0); // // barDockControlLeft // this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 29); this.barDockControlLeft.Size = new System.Drawing.Size(0, 232); // // barDockControlRight // this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(472, 29); this.barDockControlRight.Size = new System.Drawing.Size(0, 232); // // TextEdit1 // this.TextEdit1.EditValue = "TextEdit1"; this.TextEdit1.Location = new System.Drawing.Point(27, 76); this.TextEdit1.Name = "TextEdit1"; this.TextEdit1.Size = new System.Drawing.Size(173, 20); this.TextEdit1.TabIndex = 4; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(472, 261); this.Controls.Add(this.TextEdit1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "Form1"; this.Text = "How to save an in-place editor\'s value to a BarEditItem immediately when it\'s cha" + "nged"; ((System.ComponentModel.ISupportInitialize)(this.BarManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.RepositoryItemCheckEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.RepositoryItemTextEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.TextEdit1.Properties)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.lblCoverItem = new System.Windows.Forms.Label(); this.txtNewItemDescription = new DevExpress.XtraEditors.TextEdit(); this.ppRightClick = new DevExpress.XtraBars.PopupMenu(); this.barmRightClick = new DevExpress.XtraBars.BarManager(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); ((System.ComponentModel.ISupportInitialize)(this.pnlBorder)).BeginInit(); this.pnlBorder.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtNewItemDescription.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ppRightClick)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.barmRightClick)).BeginInit(); this.SuspendLayout(); // // pnlBorder // this.pnlBorder.Controls.Add(this.txtNewItemDescription); this.pnlBorder.Controls.Add(this.lblCoverItem); this.pnlBorder.Name = "pnlBorder"; this.pnlBorder.Controls.SetChildIndex(this.lblCoverItem, 0); this.pnlBorder.Controls.SetChildIndex(this.vScroll, 0); this.pnlBorder.Controls.SetChildIndex(this.hScroll, 0); this.pnlBorder.Controls.SetChildIndex(this.txtNewItemDescription, 0); // // vScroll // this.vScroll.Name = "vScroll"; // // hScroll // this.hScroll.Name = "hScroll"; // // lblCoverItem // this.lblCoverItem.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblCoverItem.BackColor = System.Drawing.Color.White; this.lblCoverItem.Location = new System.Drawing.Point(2, 22); this.lblCoverItem.Name = "lblCoverItem"; this.lblCoverItem.Size = new System.Drawing.Size(724, 18); this.lblCoverItem.TabIndex = 4; this.lblCoverItem.Text = " Click here to add a new task"; this.lblCoverItem.Click += new System.EventHandler(this.lblCoverItem_Click); // // txtNewItemDescription // this.txtNewItemDescription.Location = new System.Drawing.Point(30, 20); this.txtNewItemDescription.Name = "txtNewItemDescription"; // // txtNewItemDescription.Properties // this.txtNewItemDescription.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.txtNewItemDescription.Size = new System.Drawing.Size(75, 18); this.txtNewItemDescription.TabIndex = 5; this.txtNewItemDescription.Visible = false; // // ppRightClick // this.ppRightClick.Manager = this.barmRightClick; this.ppRightClick.Name = "ppRightClick"; // // barmRightClick // this.barmRightClick.DockControls.Add(this.barDockControlTop); this.barmRightClick.DockControls.Add(this.barDockControlBottom); this.barmRightClick.DockControls.Add(this.barDockControlLeft); this.barmRightClick.DockControls.Add(this.barDockControlRight); this.barmRightClick.Form = this; this.barmRightClick.MaxItemId = 0; // // TaskListGUI // this.BorderColor = System.Drawing.Color.FromArgb(((System.Byte)(247)), ((System.Byte)(245)), ((System.Byte)(241))); this.Controls.Add(this.barDockControlTop); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Name = "TaskListGUI"; this.barmRightClick.SetPopupContextMenu(this, this.ppRightClick); this.Controls.SetChildIndex(this.barDockControlRight, 0); this.Controls.SetChildIndex(this.barDockControlLeft, 0); this.Controls.SetChildIndex(this.barDockControlBottom, 0); this.Controls.SetChildIndex(this.barDockControlTop, 0); this.Controls.SetChildIndex(this.pnlBorder, 0); ((System.ComponentModel.ISupportInitialize)(this.pnlBorder)).EndInit(); this.pnlBorder.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.txtNewItemDescription.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ppRightClick)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.barmRightClick)).EndInit(); this.ResumeLayout(false); }
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(); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.bar1 = new DevExpress.XtraBars.Bar(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.textEdit1 = new DevExpress.XtraEditors.TextEdit(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit(); this.SuspendLayout(); // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar1 }); this.barManager1.DockControls.Add(this.barDockControlTop); this.barManager1.DockControls.Add(this.barDockControlBottom); this.barManager1.DockControls.Add(this.barDockControlLeft); this.barManager1.DockControls.Add(this.barDockControlRight); this.barManager1.Form = this; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barButtonItem1 }); this.barManager1.MaxItemId = 1; // // bar1 // this.bar1.BarName = "Custom 1"; 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.barButtonItem1) }); this.bar1.Text = "Custom 1"; // // barButtonItem1 // this.barButtonItem1.Caption = "ModuleButton (Ctrl+M)"; this.barButtonItem1.Id = 0; this.barButtonItem1.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.M)); this.barButtonItem1.Name = "barButtonItem1"; this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick); // // textEdit1 // this.textEdit1.Location = new System.Drawing.Point(48, 88); this.textEdit1.Name = "textEdit1"; this.textEdit1.Size = new System.Drawing.Size(100, 20); this.textEdit1.TabIndex = 4; // // UserControl1 // this.BackColor = System.Drawing.SystemColors.ControlDark; this.Controls.Add(this.textEdit1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "UserControl1"; this.Size = new System.Drawing.Size(314, 173); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.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); }