private void StatusFillItems() { _StatusInfoTextItem = new DXB.BarStaticItem() { Caption = "Stavový řádek" }; this.StatusBar.ItemLinks.Add(_StatusInfoTextItem); _StatusProgressBar = new DXE.Repository.RepositoryItemProgressBar(); _StatusProgressBar.AutoHeight = true; _StatusProgressBar.BorderStyle = DXE.Controls.BorderStyles.Office2003; _StatusProgressBar.Minimum = 0; _StatusProgressBar.Maximum = 200; _StatusProgressBar.BestFitWidth = 200; _StatusProgressBar.FlowAnimationEnabled = true; _StatusProgressBar.FlowAnimationDuration = 2500; _StatusProgressBar.FlowAnimationDelay = 1000; _StatusProgressBar.ProgressViewStyle = DXE.Controls.ProgressViewStyle.Solid; _StatusProgressBar.ProgressKind = DXE.Controls.ProgressKind.Horizontal; _StatusProgressBar.ProgressPadding = new Padding(3); this.Ribbon.RepositoryItems.Add(_StatusProgressBar); _StatusProgressEdit = new DXB.BarEditItem(); this.Ribbon.Items.Add(_StatusProgressEdit); _StatusProgressEdit.Edit = _StatusProgressBar; _StatusProgressEdit.Alignment = DXB.BarItemLinkAlignment.Right; _StatusProgressEdit.Size = new Size(200, 18); _StatusProgressEdit.EditHeight = 12; _StatusProgressEdit.EditValue = 0; _StatusProgressEdit.EditWidth = 200; _StatusProgressEdit.Visibility = DXB.BarItemVisibility.Never; this.StatusBar.ItemLinks.Add(_StatusProgressEdit); }
public OpNotifyMessageClass(ProjectData curProData, DockPanel curDocPanel, FrmLeft curTreeForm, DevExpress.XtraBars.BarEditItem barBPJND) { this.curProData = curProData; this.curDocPanel = curDocPanel; this.curTreeForm = curTreeForm; this.barBPJND = barBPJND; InitEnvent(); }
private void CreateFieldEditors() { int count = 0; AXFieldMapping fieldMapping = null; if (axFolder.Fields.Length > 0) { string[] fields = axFolder.Fields.Split('|'); foreach (string field in fields) { fieldMapping = GetAxFieldMapping(field); RepositoryItem[] repositoryItems = GetRepositoryEditor(fieldMapping); rbnCntrlAxFolderPnal.RepositoryItems.AddRange(repositoryItems); BarEditItem barEditItem = new DevExpress.XtraBars.BarEditItem(); barEditItem.Caption = field + ":"; barEditItem.Edit = repositoryItems[0]; barEditItem.Id = count; barEditItem.Name = "barEditItem" + field; barEditItem.Width = 100; if (!fieldMapping.DefaultValue.Contains(",")) { barEditItem.EditValue = fieldMapping.DefaultValue; } if (fieldMapping != null) { if (fieldMapping.DisplayName != "") { barEditItem.Caption = fieldMapping.DisplayName + ":"; } if (fieldMapping.Width != "") { barEditItem.Width = Convert.ToInt16(fieldMapping.Width); } DevExpress.Utils.ToolTipTitleItem toolTipTitleItem1 = new DevExpress.Utils.ToolTipTitleItem(); DevExpress.Utils.SuperToolTip superToolTip1 = new DevExpress.Utils.SuperToolTip(); DevExpress.Utils.ToolTipItem toolTipItem1 = new DevExpress.Utils.ToolTipItem(); toolTipTitleItem1.Text = "Field Information"; toolTipItem1.LeftIndent = 6; toolTipItem1.Text = fieldMapping.HelpDisplay; superToolTip1.Items.Add(toolTipTitleItem1); superToolTip1.Items.Add(toolTipItem1); barEditItem.SuperTip = superToolTip1; } rbnCntrlAxFolderPnal.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barEditItem }); rbnCntrlAxFolderPnal.Toolbar.ItemLinks.Add(barEditItem); ribnPageGrpAxFields.ItemLinks.Add(barEditItem); count++; } } }
private void CreateFieldEditors() { int count = 0; AXFieldMapping fieldMapping = null; if (axFolder.Fields.Length > 0) { string[] fields = axFolder.Fields.Split('|'); foreach (string field in fields) { fieldMapping = GetAxFieldMapping(field); RepositoryItem[] repositoryItems = GetRepositoryEditor(fieldMapping); rbnCntrlAxFolderPnal.RepositoryItems.AddRange(repositoryItems); BarEditItem barEditItem = new DevExpress.XtraBars.BarEditItem(); barEditItem.Caption = field + ":"; barEditItem.Edit = repositoryItems[0]; barEditItem.Id = count; barEditItem.Name = "barEditItem" + field; barEditItem.Width = 100; if (! fieldMapping.DefaultValue.Contains(",")) { barEditItem.EditValue = fieldMapping.DefaultValue; } if (fieldMapping != null) { if (fieldMapping.DisplayName != "") { barEditItem.Caption = fieldMapping.DisplayName + ":"; } if (fieldMapping.Width != "") { barEditItem.Width = Convert.ToInt16(fieldMapping.Width); } DevExpress.Utils.ToolTipTitleItem toolTipTitleItem1 = new DevExpress.Utils.ToolTipTitleItem(); DevExpress.Utils.SuperToolTip superToolTip1 = new DevExpress.Utils.SuperToolTip(); DevExpress.Utils.ToolTipItem toolTipItem1 = new DevExpress.Utils.ToolTipItem(); toolTipTitleItem1.Text = "Field Information"; toolTipItem1.LeftIndent = 6; toolTipItem1.Text = fieldMapping.HelpDisplay; superToolTip1.Items.Add(toolTipTitleItem1); superToolTip1.Items.Add(toolTipItem1); barEditItem.SuperTip = superToolTip1; } rbnCntrlAxFolderPnal.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barEditItem }); rbnCntrlAxFolderPnal.Toolbar.ItemLinks.Add(barEditItem); ribnPageGrpAxFields.ItemLinks.Add(barEditItem); count++; } } }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomDesignForm)); this.xrDesignBarManager1 = new DevExpress.XtraReports.UserDesigner.XRDesignBarManager(); this.designBar1 = new DevExpress.XtraReports.UserDesigner.DesignBar(); this.barSubItem1 = new DevExpress.XtraBars.BarSubItem(); this.commandBarItem31 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem39 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem32 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem33 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem40 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem41 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.barSubItem2 = new DevExpress.XtraBars.BarSubItem(); this.commandBarItem37 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem38 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem34 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem35 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem36 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem42 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem43 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.barSubItem3 = new DevExpress.XtraBars.BarSubItem(); this.barReportTabButtonsListItem1 = new DevExpress.XtraReports.UserDesigner.BarReportTabButtonsListItem(); this.barSubItem4 = new DevExpress.XtraBars.BarSubItem(); this.xrBarToolbarsListItem1 = new DevExpress.XtraReports.UserDesigner.XRBarToolbarsListItem(); this.barSubItem5 = new DevExpress.XtraBars.BarSubItem(); this.barDockPanelsListItem1 = new DevExpress.XtraReports.UserDesigner.BarDockPanelsListItem(); this.barSubItem6 = new DevExpress.XtraBars.BarSubItem(); this.commandColorBarItem1 = new DevExpress.XtraReports.UserDesigner.CommandColorBarItem(); this.commandColorBarItem2 = new DevExpress.XtraReports.UserDesigner.CommandColorBarItem(); this.barSubItem7 = new DevExpress.XtraBars.BarSubItem(); this.commandBarItem1 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem2 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem3 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.barSubItem8 = new DevExpress.XtraBars.BarSubItem(); this.commandBarItem4 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem5 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem6 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem7 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.barSubItem9 = new DevExpress.XtraBars.BarSubItem(); this.commandBarItem9 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem10 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem11 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem12 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem13 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem14 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem8 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.barSubItem10 = new DevExpress.XtraBars.BarSubItem(); this.commandBarItem15 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem16 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem17 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem18 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.barSubItem11 = new DevExpress.XtraBars.BarSubItem(); this.commandBarItem19 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem20 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem21 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem22 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.barSubItem12 = new DevExpress.XtraBars.BarSubItem(); this.commandBarItem23 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem24 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem25 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem26 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.barSubItem13 = new DevExpress.XtraBars.BarSubItem(); this.commandBarItem27 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem28 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.barSubItem14 = new DevExpress.XtraBars.BarSubItem(); this.commandBarItem29 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.commandBarItem30 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.bsiLookAndFeel = new DevExpress.XtraBars.BarSubItem(); this.designBar2 = new DevExpress.XtraReports.UserDesigner.DesignBar(); this.designBar3 = new DevExpress.XtraReports.UserDesigner.DesignBar(); this.barEditItem1 = new DevExpress.XtraBars.BarEditItem(); this.ricbFontName = new DevExpress.XtraReports.UserDesigner.RecentlyUsedItemsComboBox(); this.barEditItem2 = new DevExpress.XtraBars.BarEditItem(); this.ricbFontSize = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.designBar4 = new DevExpress.XtraReports.UserDesigner.DesignBar(); this.designBar5 = new DevExpress.XtraReports.UserDesigner.DesignBar(); this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem(); this.designBar6 = new DevExpress.XtraReports.UserDesigner.DesignBar(); this.commandBarItem44 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.xrZoomBarEditItem1 = new DevExpress.XtraReports.UserDesigner.XRZoomBarEditItem(); this.designRepositoryItemComboBox1 = new DevExpress.XtraReports.UserDesigner.DesignRepositoryItemComboBox(); this.commandBarItem45 = new DevExpress.XtraReports.UserDesigner.CommandBarItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.xrDesignDockManager1 = new DevExpress.XtraReports.UserDesigner.XRDesignDockManager(); this.panelContainer1 = new DevExpress.XtraBars.Docking.DockPanel(); this.panelContainer2 = new DevExpress.XtraBars.Docking.DockPanel(); this.reportExplorerDockPanel1 = new DevExpress.XtraReports.UserDesigner.ReportExplorerDockPanel(); this.reportExplorerDockPanel1_Container = new DevExpress.XtraReports.UserDesigner.DesignControlContainer(); this.fieldListDockPanel1 = new DevExpress.XtraReports.UserDesigner.FieldListDockPanel(); this.fieldListDockPanel1_Container = new DevExpress.XtraReports.UserDesigner.DesignControlContainer(); this.propertyGridDockPanel1 = new DevExpress.XtraReports.UserDesigner.PropertyGridDockPanel(); this.propertyGridDockPanel1_Container = new DevExpress.XtraReports.UserDesigner.DesignControlContainer(); this.toolBoxDockPanel1 = new DevExpress.XtraReports.UserDesigner.ToolBoxDockPanel(); this.toolBoxDockPanel1_Container = new DevExpress.XtraReports.UserDesigner.DesignControlContainer(); this.groupAndSortDockPanel1 = new DevExpress.XtraReports.UserDesigner.GroupAndSortDockPanel(); this.groupAndSortDockPanel1_Container = new DevExpress.XtraReports.UserDesigner.DesignControlContainer(); ((System.ComponentModel.ISupportInitialize)(this.xrDesignPanel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrDesignBarManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ricbFontName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ricbFontSize)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.designRepositoryItemComboBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrDesignDockManager1)).BeginInit(); this.panelContainer1.SuspendLayout(); this.panelContainer2.SuspendLayout(); this.reportExplorerDockPanel1.SuspendLayout(); this.fieldListDockPanel1.SuspendLayout(); this.propertyGridDockPanel1.SuspendLayout(); this.toolBoxDockPanel1.SuspendLayout(); this.groupAndSortDockPanel1.SuspendLayout(); this.SuspendLayout(); // // xrDesignPanel // this.xrDesignPanel.Location = new System.Drawing.Point(165, 78); this.xrDesignPanel.ShowComponentTray = false; this.xrDesignPanel.Size = new System.Drawing.Size(417, 311); // // xrDesignBarManager1 // this.xrDesignBarManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.designBar1, this.designBar2, this.designBar3, this.designBar4, this.designBar5, this.designBar6}); this.xrDesignBarManager1.DockControls.Add(this.barDockControlTop); this.xrDesignBarManager1.DockControls.Add(this.barDockControlBottom); this.xrDesignBarManager1.DockControls.Add(this.barDockControlLeft); this.xrDesignBarManager1.DockControls.Add(this.barDockControlRight); this.xrDesignBarManager1.DockManager = this.xrDesignDockManager1; this.xrDesignBarManager1.FontNameBox = this.ricbFontName; this.xrDesignBarManager1.FontNameEdit = this.barEditItem1; this.xrDesignBarManager1.FontSizeBox = this.ricbFontSize; this.xrDesignBarManager1.FontSizeEdit = this.barEditItem2; this.xrDesignBarManager1.Form = this; this.xrDesignBarManager1.FormattingToolbar = this.designBar3; this.xrDesignBarManager1.HintStaticItem = this.barStaticItem1; this.xrDesignBarManager1.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("xrDesignBarManager1.ImageStream"))); this.xrDesignBarManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barEditItem1, this.barEditItem2, this.commandBarItem1, this.commandBarItem2, this.commandBarItem3, this.commandColorBarItem1, this.commandColorBarItem2, this.commandBarItem4, this.commandBarItem5, this.commandBarItem6, this.commandBarItem7, this.commandBarItem8, this.commandBarItem9, this.commandBarItem10, this.commandBarItem11, this.commandBarItem12, this.commandBarItem13, this.commandBarItem14, this.commandBarItem15, this.commandBarItem16, this.commandBarItem17, this.commandBarItem18, this.commandBarItem19, this.commandBarItem20, this.commandBarItem21, this.commandBarItem22, this.commandBarItem23, this.commandBarItem24, this.commandBarItem25, this.commandBarItem26, this.commandBarItem27, this.commandBarItem28, this.commandBarItem29, this.commandBarItem30, this.commandBarItem31, this.commandBarItem32, this.commandBarItem33, this.commandBarItem34, this.commandBarItem35, this.commandBarItem36, this.commandBarItem37, this.commandBarItem38, this.barStaticItem1, this.barSubItem1, this.barSubItem2, this.barSubItem3, this.barReportTabButtonsListItem1, this.barSubItem4, this.xrBarToolbarsListItem1, this.barSubItem5, this.barDockPanelsListItem1, this.barSubItem6, this.barSubItem7, this.barSubItem8, this.barSubItem9, this.barSubItem10, this.barSubItem11, this.barSubItem12, this.barSubItem13, this.barSubItem14, this.commandBarItem39, this.commandBarItem40, this.commandBarItem41, this.commandBarItem42, this.commandBarItem43, this.bsiLookAndFeel, this.commandBarItem44, this.xrZoomBarEditItem1, this.commandBarItem45}); this.xrDesignBarManager1.LayoutToolbar = this.designBar4; this.xrDesignBarManager1.MainMenu = this.designBar1; this.xrDesignBarManager1.MaxItemId = 69; this.xrDesignBarManager1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.ricbFontName, this.ricbFontSize, this.designRepositoryItemComboBox1}); this.xrDesignBarManager1.StatusBar = this.designBar5; this.xrDesignBarManager1.Toolbar = this.designBar2; this.xrDesignBarManager1.XRDesignPanel = this.xrDesignPanel; this.xrDesignBarManager1.ZoomItem = this.xrZoomBarEditItem1; // // designBar1 // this.designBar1.BarName = "MainMenu"; this.designBar1.DockCol = 0; this.designBar1.DockRow = 0; this.designBar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.designBar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem1), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem2), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem3), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem6), new DevExpress.XtraBars.LinkPersistInfo(this.bsiLookAndFeel)}); this.designBar1.OptionsBar.MultiLine = true; this.designBar1.OptionsBar.UseWholeRow = true; this.designBar1.Text = "Main Menu"; // // barSubItem1 // this.barSubItem1.Caption = "&File"; this.barSubItem1.Id = 43; this.barSubItem1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem31), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem39), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem32), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem33, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem40), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem41, true)}); this.barSubItem1.Name = "barSubItem1"; // // commandBarItem31 // this.commandBarItem31.Caption = "&New"; this.commandBarItem31.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.NewReport; this.commandBarItem31.Hint = "Create a new blank report"; this.commandBarItem31.Id = 34; this.commandBarItem31.ImageIndex = 9; this.commandBarItem31.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)); this.commandBarItem31.Name = "commandBarItem31"; // // commandBarItem39 // this.commandBarItem39.Caption = "New with &Wizard..."; this.commandBarItem39.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.NewReportWizard; this.commandBarItem39.Hint = "Create a new report using the Wizard"; this.commandBarItem39.Id = 60; this.commandBarItem39.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.W)); this.commandBarItem39.Name = "commandBarItem39"; // // commandBarItem32 // this.commandBarItem32.Caption = "&Open..."; this.commandBarItem32.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.OpenFile; this.commandBarItem32.Hint = "Open a report"; this.commandBarItem32.Id = 35; this.commandBarItem32.ImageIndex = 10; this.commandBarItem32.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)); this.commandBarItem32.Name = "commandBarItem32"; // // commandBarItem33 // this.commandBarItem33.Caption = "&Save"; this.commandBarItem33.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.SaveFile; this.commandBarItem33.Enabled = false; this.commandBarItem33.Hint = "Save a report"; this.commandBarItem33.Id = 36; this.commandBarItem33.ImageIndex = 11; this.commandBarItem33.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)); this.commandBarItem33.Name = "commandBarItem33"; // // commandBarItem40 // this.commandBarItem40.Caption = "Save &As..."; this.commandBarItem40.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.SaveFileAs; this.commandBarItem40.Enabled = false; this.commandBarItem40.Hint = "Save a report with a new name"; this.commandBarItem40.Id = 61; this.commandBarItem40.Name = "commandBarItem40"; // // commandBarItem41 // this.commandBarItem41.Caption = "Back to the Reports Main Demo"; this.commandBarItem41.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.Exit; this.commandBarItem41.Hint = "Close the designer"; this.commandBarItem41.Id = 62; this.commandBarItem41.Name = "commandBarItem41"; // // barSubItem2 // this.barSubItem2.Caption = "&Edit"; this.barSubItem2.Id = 44; this.barSubItem2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem37, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem38), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem34, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem35), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem36), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem42), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem43, true)}); this.barSubItem2.Name = "barSubItem2"; // // commandBarItem37 // this.commandBarItem37.Caption = "&Undo"; this.commandBarItem37.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.Undo; this.commandBarItem37.Enabled = false; this.commandBarItem37.Hint = "Undo the last operation"; this.commandBarItem37.Id = 40; this.commandBarItem37.ImageIndex = 15; this.commandBarItem37.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z)); this.commandBarItem37.Name = "commandBarItem37"; // // commandBarItem38 // this.commandBarItem38.Caption = "&Redo"; this.commandBarItem38.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.Redo; this.commandBarItem38.Enabled = false; this.commandBarItem38.Hint = "Redo the last operation"; this.commandBarItem38.Id = 41; this.commandBarItem38.ImageIndex = 16; this.commandBarItem38.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Y)); this.commandBarItem38.Name = "commandBarItem38"; // // commandBarItem34 // this.commandBarItem34.Caption = "Cu&t"; this.commandBarItem34.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.Cut; this.commandBarItem34.Enabled = false; this.commandBarItem34.Hint = "Delete the control and copy it to the clipboard"; this.commandBarItem34.Id = 37; this.commandBarItem34.ImageIndex = 12; this.commandBarItem34.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)); this.commandBarItem34.Name = "commandBarItem34"; // // commandBarItem35 // this.commandBarItem35.Caption = "&Copy"; this.commandBarItem35.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.Copy; this.commandBarItem35.Enabled = false; this.commandBarItem35.Hint = "Copy the control to the clipboard"; this.commandBarItem35.Id = 38; this.commandBarItem35.ImageIndex = 13; this.commandBarItem35.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)); this.commandBarItem35.Name = "commandBarItem35"; // // commandBarItem36 // this.commandBarItem36.Caption = "&Paste"; this.commandBarItem36.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.Paste; this.commandBarItem36.Enabled = false; this.commandBarItem36.Hint = "Add the control from the clipboard"; this.commandBarItem36.Id = 39; this.commandBarItem36.ImageIndex = 14; this.commandBarItem36.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)); this.commandBarItem36.Name = "commandBarItem36"; // // commandBarItem42 // this.commandBarItem42.Caption = "&Delete"; this.commandBarItem42.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.Delete; this.commandBarItem42.Enabled = false; this.commandBarItem42.Hint = "Delete the control"; this.commandBarItem42.Id = 63; this.commandBarItem42.Name = "commandBarItem42"; // // commandBarItem43 // this.commandBarItem43.Caption = "Select &All"; this.commandBarItem43.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.SelectAll; this.commandBarItem43.Enabled = false; this.commandBarItem43.Hint = "Select all the controls in the document"; this.commandBarItem43.Id = 64; this.commandBarItem43.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)); this.commandBarItem43.Name = "commandBarItem43"; // // barSubItem3 // this.barSubItem3.Caption = "&View"; this.barSubItem3.Id = 45; this.barSubItem3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barReportTabButtonsListItem1), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem4, true), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem5, true)}); this.barSubItem3.Name = "barSubItem3"; // // barReportTabButtonsListItem1 // this.barReportTabButtonsListItem1.Caption = "Tab Buttons"; this.barReportTabButtonsListItem1.Id = 46; this.barReportTabButtonsListItem1.Name = "barReportTabButtonsListItem1"; // // barSubItem4 // this.barSubItem4.Caption = "&Toolbars"; this.barSubItem4.Id = 47; this.barSubItem4.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.xrBarToolbarsListItem1)}); this.barSubItem4.Name = "barSubItem4"; // // xrBarToolbarsListItem1 // this.xrBarToolbarsListItem1.Caption = "&Toolbars"; this.xrBarToolbarsListItem1.Id = 48; this.xrBarToolbarsListItem1.Name = "xrBarToolbarsListItem1"; // // barSubItem5 // this.barSubItem5.Caption = "&Windows"; this.barSubItem5.Id = 49; this.barSubItem5.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barDockPanelsListItem1)}); this.barSubItem5.Name = "barSubItem5"; // // barDockPanelsListItem1 // this.barDockPanelsListItem1.Caption = "&Windows"; this.barDockPanelsListItem1.Id = 50; this.barDockPanelsListItem1.Name = "barDockPanelsListItem1"; this.barDockPanelsListItem1.ShowCustomizationItem = false; this.barDockPanelsListItem1.ShowDockPanels = true; this.barDockPanelsListItem1.ShowToolbars = false; // // barSubItem6 // this.barSubItem6.Caption = "Fo&rmat"; this.barSubItem6.Id = 51; this.barSubItem6.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandColorBarItem1), new DevExpress.XtraBars.LinkPersistInfo(this.commandColorBarItem2), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem7, true), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem8), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem9, true), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem10), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem11, true), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem12), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem13, true), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem14, true)}); this.barSubItem6.Name = "barSubItem6"; // // commandColorBarItem1 // this.commandColorBarItem1.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.commandColorBarItem1.Caption = "For&eground Color"; this.commandColorBarItem1.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.ForeColor; this.commandColorBarItem1.Enabled = false; this.commandColorBarItem1.Glyph = ((System.Drawing.Image)(resources.GetObject("commandColorBarItem1.Glyph"))); this.commandColorBarItem1.Hint = "Set the foreground color of the control"; this.commandColorBarItem1.Id = 5; this.commandColorBarItem1.Name = "commandColorBarItem1"; // // commandColorBarItem2 // this.commandColorBarItem2.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.commandColorBarItem2.Caption = "Bac&kground Color"; this.commandColorBarItem2.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.BackColor; this.commandColorBarItem2.Enabled = false; this.commandColorBarItem2.Glyph = ((System.Drawing.Image)(resources.GetObject("commandColorBarItem2.Glyph"))); this.commandColorBarItem2.Hint = "Set the background color of the control"; this.commandColorBarItem2.Id = 6; this.commandColorBarItem2.Name = "commandColorBarItem2"; // // barSubItem7 // this.barSubItem7.Caption = "&Font"; this.barSubItem7.Id = 52; this.barSubItem7.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem1, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem2), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem3)}); this.barSubItem7.Name = "barSubItem7"; // // commandBarItem1 // this.commandBarItem1.Caption = "&Bold"; this.commandBarItem1.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.FontBold; this.commandBarItem1.Enabled = false; this.commandBarItem1.Hint = "Make the font bold"; this.commandBarItem1.Id = 2; this.commandBarItem1.ImageIndex = 0; this.commandBarItem1.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.B)); this.commandBarItem1.Name = "commandBarItem1"; // // commandBarItem2 // this.commandBarItem2.Caption = "&Italic"; this.commandBarItem2.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.FontItalic; this.commandBarItem2.Enabled = false; this.commandBarItem2.Hint = "Make the font italic"; this.commandBarItem2.Id = 3; this.commandBarItem2.ImageIndex = 1; this.commandBarItem2.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.I)); this.commandBarItem2.Name = "commandBarItem2"; // // commandBarItem3 // this.commandBarItem3.Caption = "&Underline"; this.commandBarItem3.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.FontUnderline; this.commandBarItem3.Enabled = false; this.commandBarItem3.Hint = "Underline the font"; this.commandBarItem3.Id = 4; this.commandBarItem3.ImageIndex = 2; this.commandBarItem3.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.U)); this.commandBarItem3.Name = "commandBarItem3"; // // barSubItem8 // this.barSubItem8.Caption = "&Justify"; this.barSubItem8.Id = 53; this.barSubItem8.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem4, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem5), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem6), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem7)}); this.barSubItem8.Name = "barSubItem8"; // // commandBarItem4 // this.commandBarItem4.Caption = "&Left"; this.commandBarItem4.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.JustifyLeft; this.commandBarItem4.Enabled = false; this.commandBarItem4.Hint = "Align the control’s text to the left"; this.commandBarItem4.Id = 7; this.commandBarItem4.ImageIndex = 5; this.commandBarItem4.Name = "commandBarItem4"; // // commandBarItem5 // this.commandBarItem5.Caption = "&Center"; this.commandBarItem5.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.JustifyCenter; this.commandBarItem5.Enabled = false; this.commandBarItem5.Hint = "Align the control’s text to the center"; this.commandBarItem5.Id = 8; this.commandBarItem5.ImageIndex = 6; this.commandBarItem5.Name = "commandBarItem5"; // // commandBarItem6 // this.commandBarItem6.Caption = "&Right"; this.commandBarItem6.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.JustifyRight; this.commandBarItem6.Enabled = false; this.commandBarItem6.Hint = "Align the control’s text to the right"; this.commandBarItem6.Id = 9; this.commandBarItem6.ImageIndex = 7; this.commandBarItem6.Name = "commandBarItem6"; // // commandBarItem7 // this.commandBarItem7.Caption = "&Justify"; this.commandBarItem7.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.JustifyJustify; this.commandBarItem7.Enabled = false; this.commandBarItem7.Hint = "Justify the control’s text"; this.commandBarItem7.Id = 10; this.commandBarItem7.ImageIndex = 8; this.commandBarItem7.Name = "commandBarItem7"; // // barSubItem9 // this.barSubItem9.Caption = "&Align"; this.barSubItem9.Id = 54; this.barSubItem9.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem9, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem10), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem11), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem12, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem13), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem14), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem8, true)}); this.barSubItem9.Name = "barSubItem9"; // // commandBarItem9 // this.commandBarItem9.Caption = "&Lefts"; this.commandBarItem9.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.AlignLeft; this.commandBarItem9.Enabled = false; this.commandBarItem9.Hint = "Left align the selected controls"; this.commandBarItem9.Id = 12; this.commandBarItem9.ImageIndex = 18; this.commandBarItem9.Name = "commandBarItem9"; // // commandBarItem10 // this.commandBarItem10.Caption = "&Centers"; this.commandBarItem10.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.AlignVerticalCenters; this.commandBarItem10.Enabled = false; this.commandBarItem10.Hint = "Align the centers of the selected controls vertically"; this.commandBarItem10.Id = 13; this.commandBarItem10.ImageIndex = 19; this.commandBarItem10.Name = "commandBarItem10"; // // commandBarItem11 // this.commandBarItem11.Caption = "&Rights"; this.commandBarItem11.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.AlignRight; this.commandBarItem11.Enabled = false; this.commandBarItem11.Hint = "Right align the selected controls"; this.commandBarItem11.Id = 14; this.commandBarItem11.ImageIndex = 20; this.commandBarItem11.Name = "commandBarItem11"; // // commandBarItem12 // this.commandBarItem12.Caption = "&Tops"; this.commandBarItem12.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.AlignTop; this.commandBarItem12.Enabled = false; this.commandBarItem12.Hint = "Align the tops of the selected controls"; this.commandBarItem12.Id = 15; this.commandBarItem12.ImageIndex = 21; this.commandBarItem12.Name = "commandBarItem12"; // // commandBarItem13 // this.commandBarItem13.Caption = "&Middles"; this.commandBarItem13.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.AlignHorizontalCenters; this.commandBarItem13.Enabled = false; this.commandBarItem13.Hint = "Align the centers of the selected controls horizontally"; this.commandBarItem13.Id = 16; this.commandBarItem13.ImageIndex = 22; this.commandBarItem13.Name = "commandBarItem13"; // // commandBarItem14 // this.commandBarItem14.Caption = "&Bottoms"; this.commandBarItem14.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.AlignBottom; this.commandBarItem14.Enabled = false; this.commandBarItem14.Hint = "Align the bottoms of the selected controls"; this.commandBarItem14.Id = 17; this.commandBarItem14.ImageIndex = 23; this.commandBarItem14.Name = "commandBarItem14"; // // commandBarItem8 // this.commandBarItem8.Caption = "to &Grid"; this.commandBarItem8.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.AlignToGrid; this.commandBarItem8.Enabled = false; this.commandBarItem8.Hint = "Align the positions of the selected controls to the grid"; this.commandBarItem8.Id = 11; this.commandBarItem8.ImageIndex = 17; this.commandBarItem8.Name = "commandBarItem8"; // // barSubItem10 // this.barSubItem10.Caption = "&Make Same Size"; this.barSubItem10.Id = 55; this.barSubItem10.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem15, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem16), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem17), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem18)}); this.barSubItem10.Name = "barSubItem10"; // // commandBarItem15 // this.commandBarItem15.Caption = "&Width"; this.commandBarItem15.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.SizeToControlWidth; this.commandBarItem15.Enabled = false; this.commandBarItem15.Hint = "Make the selected controls have the same width"; this.commandBarItem15.Id = 18; this.commandBarItem15.ImageIndex = 24; this.commandBarItem15.Name = "commandBarItem15"; // // commandBarItem16 // this.commandBarItem16.Caption = "Size to Gri&d"; this.commandBarItem16.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.SizeToGrid; this.commandBarItem16.Enabled = false; this.commandBarItem16.Hint = "Size the selected controls to the grid"; this.commandBarItem16.Id = 19; this.commandBarItem16.ImageIndex = 25; this.commandBarItem16.Name = "commandBarItem16"; // // commandBarItem17 // this.commandBarItem17.Caption = "&Height"; this.commandBarItem17.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.SizeToControlHeight; this.commandBarItem17.Enabled = false; this.commandBarItem17.Hint = "Make the selected controls have the same height"; this.commandBarItem17.Id = 20; this.commandBarItem17.ImageIndex = 26; this.commandBarItem17.Name = "commandBarItem17"; // // commandBarItem18 // this.commandBarItem18.Caption = "&Both"; this.commandBarItem18.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.SizeToControl; this.commandBarItem18.Enabled = false; this.commandBarItem18.Hint = "Make the selected controls the same size"; this.commandBarItem18.Id = 21; this.commandBarItem18.ImageIndex = 27; this.commandBarItem18.Name = "commandBarItem18"; // // barSubItem11 // this.barSubItem11.Caption = "&Horizontal Spacing"; this.barSubItem11.Id = 56; this.barSubItem11.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem19, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem20), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem21), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem22)}); this.barSubItem11.Name = "barSubItem11"; // // commandBarItem19 // this.commandBarItem19.Caption = "Make &Equal"; this.commandBarItem19.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.HorizSpaceMakeEqual; this.commandBarItem19.Enabled = false; this.commandBarItem19.Hint = "Make the spacing between the selected controls equal"; this.commandBarItem19.Id = 22; this.commandBarItem19.ImageIndex = 28; this.commandBarItem19.Name = "commandBarItem19"; // // commandBarItem20 // this.commandBarItem20.Caption = "&Increase"; this.commandBarItem20.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.HorizSpaceIncrease; this.commandBarItem20.Enabled = false; this.commandBarItem20.Hint = "Increase the spacing between the selected controls"; this.commandBarItem20.Id = 23; this.commandBarItem20.ImageIndex = 29; this.commandBarItem20.Name = "commandBarItem20"; // // commandBarItem21 // this.commandBarItem21.Caption = "&Decrease"; this.commandBarItem21.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.HorizSpaceDecrease; this.commandBarItem21.Enabled = false; this.commandBarItem21.Hint = "Decrease the spacing between the selected controls"; this.commandBarItem21.Id = 24; this.commandBarItem21.ImageIndex = 30; this.commandBarItem21.Name = "commandBarItem21"; // // commandBarItem22 // this.commandBarItem22.Caption = "&Remove"; this.commandBarItem22.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.HorizSpaceConcatenate; this.commandBarItem22.Enabled = false; this.commandBarItem22.Hint = "Remove the spacing between the selected controls"; this.commandBarItem22.Id = 25; this.commandBarItem22.ImageIndex = 31; this.commandBarItem22.Name = "commandBarItem22"; // // barSubItem12 // this.barSubItem12.Caption = "&Vertical Spacing"; this.barSubItem12.Id = 57; this.barSubItem12.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem23, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem24), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem25), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem26)}); this.barSubItem12.Name = "barSubItem12"; // // commandBarItem23 // this.commandBarItem23.Caption = "Make &Equal"; this.commandBarItem23.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.VertSpaceMakeEqual; this.commandBarItem23.Enabled = false; this.commandBarItem23.Hint = "Make the spacing between the selected controls equal"; this.commandBarItem23.Id = 26; this.commandBarItem23.ImageIndex = 32; this.commandBarItem23.Name = "commandBarItem23"; // // commandBarItem24 // this.commandBarItem24.Caption = "&Increase"; this.commandBarItem24.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.VertSpaceIncrease; this.commandBarItem24.Enabled = false; this.commandBarItem24.Hint = "Increase the spacing between the selected controls"; this.commandBarItem24.Id = 27; this.commandBarItem24.ImageIndex = 33; this.commandBarItem24.Name = "commandBarItem24"; // // commandBarItem25 // this.commandBarItem25.Caption = "&Decrease"; this.commandBarItem25.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.VertSpaceDecrease; this.commandBarItem25.Enabled = false; this.commandBarItem25.Hint = "Decrease the spacing between the selected controls"; this.commandBarItem25.Id = 28; this.commandBarItem25.ImageIndex = 34; this.commandBarItem25.Name = "commandBarItem25"; // // commandBarItem26 // this.commandBarItem26.Caption = "&Remove"; this.commandBarItem26.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.VertSpaceConcatenate; this.commandBarItem26.Enabled = false; this.commandBarItem26.Hint = "Remove the spacing between the selected controls"; this.commandBarItem26.Id = 29; this.commandBarItem26.ImageIndex = 35; this.commandBarItem26.Name = "commandBarItem26"; // // barSubItem13 // this.barSubItem13.Caption = "&Center in Form"; this.barSubItem13.Id = 58; this.barSubItem13.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem27, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem28)}); this.barSubItem13.Name = "barSubItem13"; // // commandBarItem27 // this.commandBarItem27.Caption = "&Horizontally"; this.commandBarItem27.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.CenterHorizontally; this.commandBarItem27.Enabled = false; this.commandBarItem27.Hint = "Horizontally center the selected controls within a band"; this.commandBarItem27.Id = 30; this.commandBarItem27.ImageIndex = 36; this.commandBarItem27.Name = "commandBarItem27"; // // commandBarItem28 // this.commandBarItem28.Caption = "&Vertically"; this.commandBarItem28.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.CenterVertically; this.commandBarItem28.Enabled = false; this.commandBarItem28.Hint = "Vertically center the selected controls within a band"; this.commandBarItem28.Id = 31; this.commandBarItem28.ImageIndex = 37; this.commandBarItem28.Name = "commandBarItem28"; // // barSubItem14 // this.barSubItem14.Caption = "&Order"; this.barSubItem14.Id = 59; this.barSubItem14.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem29, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem30)}); this.barSubItem14.Name = "barSubItem14"; // // commandBarItem29 // this.commandBarItem29.Caption = "&Bring to Front"; this.commandBarItem29.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.BringToFront; this.commandBarItem29.Enabled = false; this.commandBarItem29.Hint = "Bring the selected controls to the front"; this.commandBarItem29.Id = 32; this.commandBarItem29.ImageIndex = 38; this.commandBarItem29.Name = "commandBarItem29"; // // commandBarItem30 // this.commandBarItem30.Caption = "&Send to Back"; this.commandBarItem30.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.SendToBack; this.commandBarItem30.Enabled = false; this.commandBarItem30.Hint = "Move the selected controls to the back"; this.commandBarItem30.Id = 33; this.commandBarItem30.ImageIndex = 39; this.commandBarItem30.Name = "commandBarItem30"; // // bsiLookAndFeel // this.bsiLookAndFeel.Caption = "&Look and Feel"; this.bsiLookAndFeel.Id = 65; this.bsiLookAndFeel.Name = "bsiLookAndFeel"; // // designBar2 // this.designBar2.BarName = "ToolBar"; this.designBar2.DockCol = 0; this.designBar2.DockRow = 1; this.designBar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.designBar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem31), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem32), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem33), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem34, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem35), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem36), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem37, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem38)}); this.designBar2.Text = "Main Toolbar"; // // designBar3 // this.designBar3.BarName = "FormattingToolBar"; this.designBar3.DockCol = 1; this.designBar3.DockRow = 1; this.designBar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.designBar3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barEditItem1), new DevExpress.XtraBars.LinkPersistInfo(this.barEditItem2), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem1), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem2), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem3), new DevExpress.XtraBars.LinkPersistInfo(this.commandColorBarItem1, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandColorBarItem2), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem4, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem5), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem6), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem7)}); this.designBar3.Text = "Formatting Toolbar"; // // barEditItem1 // this.barEditItem1.Caption = "Font Name"; this.barEditItem1.Edit = this.ricbFontName; this.barEditItem1.Hint = "Font Name"; this.barEditItem1.Id = 0; this.barEditItem1.Name = "barEditItem1"; this.barEditItem1.Width = 120; // // ricbFontName // this.ricbFontName.AutoHeight = false; this.ricbFontName.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.ricbFontName.DropDownRows = 12; this.ricbFontName.Name = "ricbFontName"; // // barEditItem2 // this.barEditItem2.Caption = "Font Size"; this.barEditItem2.Edit = this.ricbFontSize; this.barEditItem2.Hint = "Font Size"; this.barEditItem2.Id = 1; this.barEditItem2.Name = "barEditItem2"; this.barEditItem2.Width = 55; // // ricbFontSize // this.ricbFontSize.AutoHeight = false; this.ricbFontSize.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.ricbFontSize.Items.AddRange(new object[] { ((byte)(8)), ((byte)(9)), ((byte)(10)), ((byte)(11)), ((byte)(12)), ((byte)(14)), ((byte)(16)), ((byte)(18)), ((byte)(20)), ((byte)(22)), ((byte)(24)), ((byte)(26)), ((byte)(28)), ((byte)(36)), ((byte)(48)), ((byte)(72))}); this.ricbFontSize.Name = "ricbFontSize"; // // designBar4 // this.designBar4.BarName = "LayoutToolBar"; this.designBar4.DockCol = 0; this.designBar4.DockRow = 2; this.designBar4.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.designBar4.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem8), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem9, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem10), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem11), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem12, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem13), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem14), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem15, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem16), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem17), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem18), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem19, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem20), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem21), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem22), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem23, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem24), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem25), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem26), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem27, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem28), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem29, true), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem30)}); this.designBar4.Text = "Layout Toolbar"; // // designBar5 // this.designBar5.BarName = "StatusBar"; this.designBar5.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom; this.designBar5.DockCol = 0; this.designBar5.DockRow = 0; this.designBar5.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom; this.designBar5.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barStaticItem1)}); this.designBar5.OptionsBar.AllowQuickCustomization = false; this.designBar5.OptionsBar.DrawDragBorder = false; this.designBar5.OptionsBar.UseWholeRow = true; this.designBar5.Text = "Status Bar"; // // barStaticItem1 // this.barStaticItem1.AutoSize = DevExpress.XtraBars.BarStaticItemSize.Spring; this.barStaticItem1.Id = 42; this.barStaticItem1.Name = "barStaticItem1"; this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near; this.barStaticItem1.Width = 32; // // designBar6 // this.designBar6.BarName = "Zoom Bar"; this.designBar6.DockCol = 1; this.designBar6.DockRow = 2; this.designBar6.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.designBar6.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem44), new DevExpress.XtraBars.LinkPersistInfo(this.xrZoomBarEditItem1), new DevExpress.XtraBars.LinkPersistInfo(this.commandBarItem45)}); this.designBar6.Text = "Zoom Bar"; // // commandBarItem44 // this.commandBarItem44.Caption = "Zoom Out"; this.commandBarItem44.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.ZoomOut; this.commandBarItem44.Enabled = false; this.commandBarItem44.Hint = "Zoom out the design surface"; this.commandBarItem44.Id = 66; this.commandBarItem44.ImageIndex = 40; this.commandBarItem44.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Subtract)); this.commandBarItem44.Name = "commandBarItem44"; // // xrZoomBarEditItem1 // this.xrZoomBarEditItem1.Caption = "Zoom"; this.xrZoomBarEditItem1.Edit = this.designRepositoryItemComboBox1; this.xrZoomBarEditItem1.Enabled = false; this.xrZoomBarEditItem1.Hint = "Select or input the zoom factor"; this.xrZoomBarEditItem1.Id = 67; this.xrZoomBarEditItem1.Name = "xrZoomBarEditItem1"; this.xrZoomBarEditItem1.Width = 70; // // designRepositoryItemComboBox1 // this.designRepositoryItemComboBox1.AutoComplete = false; this.designRepositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.designRepositoryItemComboBox1.Name = "designRepositoryItemComboBox1"; // // commandBarItem45 // this.commandBarItem45.Caption = "Zoom In"; this.commandBarItem45.Command = DevExpress.XtraReports.UserDesigner.ReportCommand.ZoomIn; this.commandBarItem45.Enabled = false; this.commandBarItem45.Hint = "Zoom in the design surface"; this.commandBarItem45.Id = 68; this.commandBarItem45.ImageIndex = 41; this.commandBarItem45.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Add)); this.commandBarItem45.Name = "commandBarItem45"; // // xrDesignDockManager1 // this.xrDesignDockManager1.Form = this; this.xrDesignDockManager1.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("xrDesignDockManager1.ImageStream"))); this.xrDesignDockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { this.panelContainer1, this.toolBoxDockPanel1, this.groupAndSortDockPanel1}); this.xrDesignDockManager1.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "System.Windows.Forms.StatusBar"}); this.xrDesignDockManager1.XRDesignPanel = this.xrDesignPanel; // // panelContainer1 // this.panelContainer1.Controls.Add(this.panelContainer2); this.panelContainer1.Controls.Add(this.propertyGridDockPanel1); this.panelContainer1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Right; this.panelContainer1.ID = new System.Guid("c924e71d-fc07-4f71-80db-150e46515172"); this.panelContainer1.Location = new System.Drawing.Point(582, 78); this.panelContainer1.Name = "panelContainer1"; this.panelContainer1.Size = new System.Drawing.Size(250, 311); this.panelContainer1.Text = "panelContainer1"; // // panelContainer2 // this.panelContainer2.ActiveChild = this.reportExplorerDockPanel1; this.panelContainer2.Controls.Add(this.reportExplorerDockPanel1); this.panelContainer2.Controls.Add(this.fieldListDockPanel1); this.panelContainer2.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill; this.panelContainer2.ID = new System.Guid("f590a4cc-96cf-4036-aaa1-6a23922194fc"); this.panelContainer2.ImageIndex = 2; this.panelContainer2.Location = new System.Drawing.Point(0, 0); this.panelContainer2.Name = "panelContainer2"; this.panelContainer2.Size = new System.Drawing.Size(250, 9841); this.panelContainer2.Tabbed = true; this.panelContainer2.Text = "panelContainer2"; // // reportExplorerDockPanel1 // this.reportExplorerDockPanel1.Controls.Add(this.reportExplorerDockPanel1_Container); this.reportExplorerDockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill; this.reportExplorerDockPanel1.ID = new System.Guid("fb3ec6cc-3b9b-4b9c-91cf-cff78c1edbf1"); this.reportExplorerDockPanel1.ImageIndex = 2; this.reportExplorerDockPanel1.Location = new System.Drawing.Point(3, 29); this.reportExplorerDockPanel1.Name = "reportExplorerDockPanel1"; this.reportExplorerDockPanel1.Size = new System.Drawing.Size(244, 9787); this.reportExplorerDockPanel1.Text = "Report Explorer"; this.reportExplorerDockPanel1.XRDesignPanel = this.xrDesignPanel; // // reportExplorerDockPanel1_Container // this.reportExplorerDockPanel1_Container.Location = new System.Drawing.Point(0, 0); this.reportExplorerDockPanel1_Container.Name = "reportExplorerDockPanel1_Container"; this.reportExplorerDockPanel1_Container.Size = new System.Drawing.Size(244, 9787); this.reportExplorerDockPanel1_Container.TabIndex = 0; // // fieldListDockPanel1 // this.fieldListDockPanel1.Controls.Add(this.fieldListDockPanel1_Container); this.fieldListDockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill; this.fieldListDockPanel1.ID = new System.Guid("faf69838-a93f-4114-83e8-d0d09cc5ce95"); this.fieldListDockPanel1.ImageIndex = 0; this.fieldListDockPanel1.Location = new System.Drawing.Point(3, 29); this.fieldListDockPanel1.Name = "fieldListDockPanel1"; this.fieldListDockPanel1.Size = new System.Drawing.Size(244, 9787); this.fieldListDockPanel1.Text = "Field List"; this.fieldListDockPanel1.XRDesignPanel = this.xrDesignPanel; // // fieldListDockPanel1_Container // this.fieldListDockPanel1_Container.Location = new System.Drawing.Point(0, 0); this.fieldListDockPanel1_Container.Name = "fieldListDockPanel1_Container"; this.fieldListDockPanel1_Container.Size = new System.Drawing.Size(244, 9787); this.fieldListDockPanel1_Container.TabIndex = 0; // // propertyGridDockPanel1 // this.propertyGridDockPanel1.Controls.Add(this.propertyGridDockPanel1_Container); this.propertyGridDockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill; this.propertyGridDockPanel1.ID = new System.Guid("b38d12c3-cd06-4dec-b93d-63a0088e495a"); this.propertyGridDockPanel1.ImageIndex = 1; this.propertyGridDockPanel1.Location = new System.Drawing.Point(0, 9841); this.propertyGridDockPanel1.Name = "propertyGridDockPanel1"; this.propertyGridDockPanel1.Size = new System.Drawing.Size(250, 0); this.propertyGridDockPanel1.Text = "Property Grid"; this.propertyGridDockPanel1.XRDesignPanel = this.xrDesignPanel; // // propertyGridDockPanel1_Container // this.propertyGridDockPanel1_Container.Location = new System.Drawing.Point(3, -9370); this.propertyGridDockPanel1_Container.Name = "propertyGridDockPanel1_Container"; this.propertyGridDockPanel1_Container.Size = new System.Drawing.Size(244, 0); this.propertyGridDockPanel1_Container.TabIndex = 0; // // toolBoxDockPanel1 // this.toolBoxDockPanel1.Controls.Add(this.toolBoxDockPanel1_Container); this.toolBoxDockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left; this.toolBoxDockPanel1.ID = new System.Guid("161a5a1a-d9b9-4f06-9ac4-d0c3e507c54f"); this.toolBoxDockPanel1.ImageIndex = 3; this.toolBoxDockPanel1.Location = new System.Drawing.Point(0, 78); this.toolBoxDockPanel1.Name = "toolBoxDockPanel1"; this.toolBoxDockPanel1.Size = new System.Drawing.Size(165, 471); this.toolBoxDockPanel1.Text = "Tool Box"; this.toolBoxDockPanel1.XRDesignPanel = this.xrDesignPanel; // // toolBoxDockPanel1_Container // this.toolBoxDockPanel1_Container.Location = new System.Drawing.Point(3, 29); this.toolBoxDockPanel1_Container.Name = "toolBoxDockPanel1_Container"; this.toolBoxDockPanel1_Container.Size = new System.Drawing.Size(159, 439); this.toolBoxDockPanel1_Container.TabIndex = 0; // // groupAndSortDockPanel1 // this.groupAndSortDockPanel1.Controls.Add(this.groupAndSortDockPanel1_Container); this.groupAndSortDockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Bottom; this.groupAndSortDockPanel1.ID = new System.Guid("4bab159e-c495-4d67-87dc-f4e895da443e"); this.groupAndSortDockPanel1.ImageIndex = 4; this.groupAndSortDockPanel1.Location = new System.Drawing.Point(165, 389); this.groupAndSortDockPanel1.Name = "groupAndSortDockPanel1"; this.groupAndSortDockPanel1.Size = new System.Drawing.Size(667, 160); this.groupAndSortDockPanel1.Text = "Group and Sort"; this.groupAndSortDockPanel1.XRDesignPanel = this.xrDesignPanel; // // groupAndSortDockPanel1_Container // this.groupAndSortDockPanel1_Container.Location = new System.Drawing.Point(3, 29); this.groupAndSortDockPanel1_Container.Name = "groupAndSortDockPanel1_Container"; this.groupAndSortDockPanel1_Container.Size = new System.Drawing.Size(411, 128); this.groupAndSortDockPanel1_Container.TabIndex = 0; // // CustomDesignForm // this.ClientSize = new System.Drawing.Size(832, 571); this.Controls.Add(this.panelContainer1); this.Controls.Add(this.groupAndSortDockPanel1); this.Controls.Add(this.toolBoxDockPanel1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "CustomDesignForm"; this.Controls.SetChildIndex(this.barDockControlTop, 0); this.Controls.SetChildIndex(this.barDockControlBottom, 0); this.Controls.SetChildIndex(this.barDockControlRight, 0); this.Controls.SetChildIndex(this.barDockControlLeft, 0); this.Controls.SetChildIndex(this.toolBoxDockPanel1, 0); this.Controls.SetChildIndex(this.groupAndSortDockPanel1, 0); this.Controls.SetChildIndex(this.panelContainer1, 0); this.Controls.SetChildIndex(this.xrDesignPanel, 0); ((System.ComponentModel.ISupportInitialize)(this.xrDesignPanel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrDesignBarManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ricbFontName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ricbFontSize)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.designRepositoryItemComboBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrDesignDockManager1)).EndInit(); this.panelContainer1.ResumeLayout(false); this.panelContainer2.ResumeLayout(false); this.reportExplorerDockPanel1.ResumeLayout(false); this.fieldListDockPanel1.ResumeLayout(false); this.propertyGridDockPanel1.ResumeLayout(false); this.toolBoxDockPanel1.ResumeLayout(false); this.groupAndSortDockPanel1.ResumeLayout(false); this.ResumeLayout(false); }
public void OnImportsSatisfied() { this._ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl(); this.backstageMenu = new DevExpress.XtraBars.Ribbon.ApplicationMenu(); this.ribbonStatusBar = new DevExpress.XtraBars.Ribbon.RibbonStatusBar(); this.defaultStatusPanel = new DevExpress.XtraBars.BarStaticItem(); this.defaultProgressPanel = new DevExpress.XtraBars.BarEditItem(); this.defaultProgressBar = new DevExpress.XtraEditors.Repository.RepositoryItemProgressBar(); ((System.ComponentModel.ISupportInitialize)(this._ribbon)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.backstageMenu)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.defaultProgressBar)).BeginInit(); Shell.SuspendLayout(); // // ribbon // this._ribbon.ApplicationButtonDropDownControl = this.backstageMenu; this._ribbon.ApplicationButtonText = "File"; this._ribbon.ExpandCollapseItem.Id = 0; this._ribbon.ExpandCollapseItem.Name = ""; this._ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this._ribbon.ExpandCollapseItem, this.defaultStatusPanel, this.defaultProgressPanel }); this._ribbon.Location = new System.Drawing.Point(0, 0); this._ribbon.MaxItemId = 9; this._ribbon.AutoSizeItems = true; this._ribbon.Name = "ribbon"; this._ribbon.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.defaultProgressBar }); this._ribbon.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.Office2010; this._ribbon.Size = new System.Drawing.Size(790, 50); this._ribbon.StatusBar = this.ribbonStatusBar; this._ribbon.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden; // The Application Button is not visible in the Office 2007 paint style, unless you place the RibbonControl onto a RibbonForm. //http://documentation.devexpress.com/#WindowsForms/DevExpressXtraBarsRibbonRibbonControl_ShowApplicationButtontopic this._ribbon.ShowApplicationButton = DefaultBoolean.True; this._ribbon.SelectedPageChanged += new EventHandler(Ribbon_SelectedPageChanged); // // backstageMenu // this.backstageMenu.Name = "backstageMenu"; this.backstageMenu.Ribbon = this._ribbon; // // ribbonStatusBar // this.ribbonStatusBar.ItemLinks.Add(this.defaultStatusPanel); this.ribbonStatusBar.ItemLinks.Add(this.defaultProgressPanel); this.ribbonStatusBar.Location = new System.Drawing.Point(0, 468); this.ribbonStatusBar.Name = "ribbonStatusBar"; this.ribbonStatusBar.Ribbon = this._ribbon; this.ribbonStatusBar.Size = new System.Drawing.Size(790, 31); // // defaultStatusPanel // this.defaultStatusPanel.Caption = "Ready."; this.defaultStatusPanel.Id = 4; this.defaultStatusPanel.Name = "defaultStatusPanel"; this.defaultStatusPanel.TextAlignment = System.Drawing.StringAlignment.Near; // // defaultProgressPanel // this.defaultProgressPanel.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.defaultProgressPanel.Edit = this.defaultProgressBar; this.defaultProgressPanel.EditValue = "50"; this.defaultProgressPanel.Id = 5; this.defaultProgressPanel.Name = "defaultProgressPanel"; this.defaultProgressPanel.Width = 100; this.defaultProgressPanel.Visibility = BarItemVisibility.Never; // // repositoryItemProgressBar1 // this.defaultProgressBar.Name = "defaultProgressBar"; Shell.Controls.Add(this.ribbonStatusBar); Shell.Controls.Add(this._ribbon); // If it is a DevExpress.XtraBars.Ribbon.RibbonForm... var form = Shell as DevExpress.XtraBars.Ribbon.RibbonForm; if (form != null) { form.Ribbon = this._ribbon; form.StatusBar = this.ribbonStatusBar; } ((System.ComponentModel.ISupportInitialize)(this._ribbon)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.backstageMenu)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.defaultProgressBar)).EndInit(); Shell.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); }