/// <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(MainForm)); this.groupBarItemTestSymbols = new Syncfusion.Windows.Forms.Tools.GroupBarItem(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.openToolStripButton = new System.Windows.Forms.ToolStripButton(); this.runToolStripButton = new System.Windows.Forms.ToolStripButton(); this.edittToolStripButton = new System.Windows.Forms.ToolStripButton(); this.stopToolStripButton = new System.Windows.Forms.ToolStripButton(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.imagrList1 = new System.Windows.Forms.ImageList(this.components); this.panel1 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.paletteGroupBar1 = new Syncfusion.Windows.Forms.Diagram.Controls.PaletteGroupBar(this.components); this.diagram1 = new Syncfusion.Windows.Forms.Diagram.Controls.Diagram(this.components); this.model1 = new Syncfusion.Windows.Forms.Diagram.Model(this.components); this.panel4 = new System.Windows.Forms.Panel(); this.toolStrip1.SuspendLayout(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.paletteGroupBar1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.diagram1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.model1)).BeginInit(); this.panel4.SuspendLayout(); this.SuspendLayout(); // // groupBarItemTestSymbols // this.groupBarItemTestSymbols.Client = null; this.groupBarItemTestSymbols.Text = "Test Symbols"; // // toolStrip1 // this.toolStrip1.AutoSize = false; this.toolStrip1.BackColor = System.Drawing.SystemColors.Control; this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.openToolStripButton, this.runToolStripButton, this.edittToolStripButton, this.stopToolStripButton }); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(630, 77); this.toolStrip1.TabIndex = 0; this.toolStrip1.Text = "toolStrip1"; // // openToolStripButton // this.openToolStripButton.AutoSize = false; this.openToolStripButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.openToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("openToolStripButton.Image"))); this.openToolStripButton.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.openToolStripButton.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.openToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.openToolStripButton.Name = "openToolStripButton"; this.openToolStripButton.Size = new System.Drawing.Size(100, 60); this.openToolStripButton.Text = "Open Script"; this.openToolStripButton.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.openToolStripButton.TextImageRelation = System.Windows.Forms.TextImageRelation.Overlay; this.openToolStripButton.Click += new System.EventHandler(this.openToolStripButton_Click); // // runToolStripButton // this.runToolStripButton.AutoSize = false; this.runToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("runToolStripButton.Image"))); this.runToolStripButton.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.runToolStripButton.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.runToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.runToolStripButton.Name = "runToolStripButton"; this.runToolStripButton.Size = new System.Drawing.Size(100, 60); this.runToolStripButton.Text = "Run Script"; this.runToolStripButton.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.runToolStripButton.TextImageRelation = System.Windows.Forms.TextImageRelation.Overlay; this.runToolStripButton.Click += new System.EventHandler(this.runToolStripButton_Click); // // edittToolStripButton // this.edittToolStripButton.AutoSize = false; this.edittToolStripButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.edittToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("edittToolStripButton.Image"))); this.edittToolStripButton.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.edittToolStripButton.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.edittToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.edittToolStripButton.Name = "edittToolStripButton"; this.edittToolStripButton.Size = new System.Drawing.Size(100, 60); this.edittToolStripButton.Text = "Edit Script"; this.edittToolStripButton.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.edittToolStripButton.TextImageRelation = System.Windows.Forms.TextImageRelation.Overlay; this.edittToolStripButton.Click += new System.EventHandler(this.edittToolStripButton_Click); // // stopToolStripButton // this.stopToolStripButton.AutoSize = false; this.stopToolStripButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.stopToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("stopToolStripButton.Image"))); this.stopToolStripButton.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.stopToolStripButton.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.stopToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.stopToolStripButton.Name = "stopToolStripButton"; this.stopToolStripButton.Size = new System.Drawing.Size(100, 60); this.stopToolStripButton.Text = "Stop Script"; this.stopToolStripButton.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.stopToolStripButton.TextImageRelation = System.Windows.Forms.TextImageRelation.Overlay; this.stopToolStripButton.Click += new System.EventHandler(this.stopToolStripButton_Click); // // openFileDialog1 // this.openFileDialog1.DefaultExt = "edp"; this.openFileDialog1.Filter = "Essential Diagram Files|*.edd|All files|*.*"; this.openFileDialog1.Title = "Open Diagram"; // // saveFileDialog1 // this.saveFileDialog1.DefaultExt = "edp"; this.saveFileDialog1.Filter = "Essential Diagram Files|*.edd|All files|*.*"; this.saveFileDialog1.Title = "Save Diagram"; // // imagrList1 // this.imagrList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imagrList1.ImageStream"))); this.imagrList1.TransparentColor = System.Drawing.Color.Fuchsia; this.imagrList1.Images.SetKeyName(0, ""); this.imagrList1.Images.SetKeyName(1, ""); this.imagrList1.Images.SetKeyName(2, ""); this.imagrList1.Images.SetKeyName(3, ""); this.imagrList1.Images.SetKeyName(4, "palette_groupbar.png"); this.imagrList1.Images.SetKeyName(5, "property_editor.png"); // // panel1 // this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(237)))), ((int)(((byte)(240))))); this.panel1.Controls.Add(this.toolStrip1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(630, 77); this.panel1.TabIndex = 0; // // panel2 // this.panel2.Controls.Add(this.paletteGroupBar1); this.panel2.Dock = System.Windows.Forms.DockStyle.Left; this.panel2.Location = new System.Drawing.Point(0, 77); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(215, 416); this.panel2.TabIndex = 1; // // paletteGroupBar1 // this.paletteGroupBar1.AllowDrop = true; this.paletteGroupBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); this.paletteGroupBar1.BorderColor = System.Drawing.Color.White; this.paletteGroupBar1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.paletteGroupBar1.Diagram = null; this.paletteGroupBar1.Dock = System.Windows.Forms.DockStyle.Fill; this.paletteGroupBar1.EditMode = false; this.paletteGroupBar1.ExpandButtonToolTip = null; this.paletteGroupBar1.FlatLook = true; this.paletteGroupBar1.Font = new System.Drawing.Font("Segoe UI Semibold", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.paletteGroupBar1.ForeColor = System.Drawing.Color.White; this.paletteGroupBar1.GroupBarDropDownToolTip = null; this.paletteGroupBar1.GroupBarItemHeight = 32; this.paletteGroupBar1.IndexOnVisibleItems = true; this.paletteGroupBar1.Location = new System.Drawing.Point(0, 0); this.paletteGroupBar1.MinimizeButtonToolTip = null; this.paletteGroupBar1.Name = "paletteGroupBar1"; this.paletteGroupBar1.NavigationPaneTooltip = null; this.paletteGroupBar1.PopupClientSize = new System.Drawing.Size(0, 0); this.paletteGroupBar1.Size = new System.Drawing.Size(215, 416); this.paletteGroupBar1.TabIndex = 1; this.paletteGroupBar1.Text = "paletteGroupBar1"; this.paletteGroupBar1.TextAlign = Syncfusion.Windows.Forms.Tools.TextAlignment.Left; this.paletteGroupBar1.VisualStyle = Syncfusion.Windows.Forms.VisualStyle.Metro; // // diagram1 // this.diagram1.Controller.PasteOffset = new System.Drawing.SizeF(10F, 10F); this.diagram1.Dock = System.Windows.Forms.DockStyle.Fill; this.diagram1.LayoutManager = null; this.diagram1.Location = new System.Drawing.Point(0, 0); this.diagram1.Model = this.model1; this.diagram1.Name = "diagram1"; this.diagram1.ScrollVirtualBounds = ((System.Drawing.RectangleF)(resources.GetObject("diagram1.ScrollVirtualBounds"))); this.diagram1.Size = new System.Drawing.Size(415, 416); this.diagram1.SmartSizeBox = false; this.diagram1.TabIndex = 0; this.diagram1.Text = "diagram1"; // // // this.diagram1.View.ClientRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.diagram1.View.Controller = this.diagram1.Controller; this.diagram1.View.Grid.MinPixelSpacing = 4F; this.diagram1.View.Grid.Visible = false; this.diagram1.View.ScrollVirtualBounds = ((System.Drawing.RectangleF)(resources.GetObject("resource.ScrollVirtualBounds"))); this.diagram1.View.ZoomType = Syncfusion.Windows.Forms.Diagram.ZoomType.Center; // // model1 // this.model1.BackgroundStyle.PathBrushStyle = Syncfusion.Windows.Forms.Diagram.PathGradientBrushStyle.RectangleCenter; this.model1.DocumentScale.DisplayName = "No Scale"; this.model1.DocumentScale.Height = 1F; this.model1.DocumentScale.Width = 1F; this.model1.DocumentSize.Height = 1169F; this.model1.DocumentSize.Width = 827F; this.model1.LineStyle.DashPattern = null; this.model1.LineStyle.LineColor = System.Drawing.Color.Black; this.model1.LineStyle.LineWidth = 0F; this.model1.LogicalSize = new System.Drawing.SizeF(827F, 1169F); this.model1.ShadowStyle.Color = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105))))); this.model1.ShadowStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105))))); // // panel4 // this.panel4.Controls.Add(this.diagram1); this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; this.panel4.Location = new System.Drawing.Point(215, 77); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(415, 416); this.panel4.TabIndex = 3; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(8, 17); this.ClientSize = new System.Drawing.Size(630, 493); this.Controls.Add(this.panel4); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Scripting"; this.Load += new System.EventHandler(this.MainForm_Load); this.Activated += new System.EventHandler(this.MainForm_Activated); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.paletteGroupBar1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.diagram1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.model1)).EndInit(); this.panel4.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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MainForm)); this.dockingManager = new Syncfusion.Windows.Forms.Tools.DockingManager(this.components); this.propertyEditor = new Syncfusion.Windows.Forms.Diagram.Controls.PropertyEditor(); this.symbolPaletteGroupBar = new Syncfusion.Windows.Forms.Diagram.Controls.PaletteGroupBar(); this.smBarItemImages = new System.Windows.Forms.ImageList(this.components); this.openPaletteDialog = new System.Windows.Forms.OpenFileDialog(); this.openDiagramDialog = new System.Windows.Forms.OpenFileDialog(); this.saveDiagramDialog = new System.Windows.Forms.SaveFileDialog(); this.smallImageList1 = new System.Windows.Forms.ImageList(this.components); this.openImageDialog = new System.Windows.Forms.OpenFileDialog(); this.barItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.mainFrameBarManager = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this.components, this); this.mainMenuBar = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager, "MainMenu"); this.parentBarItemFile = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.biFileNew = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.biFileOpen = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.biFileSave = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.biFileSaveAs = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.biAddPalette = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.biPageSetup = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.biFilePrint = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.biFileExit = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItemEdit = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItemEditUndo = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItemEditRedo = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItemEditSelectAll = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItemEditCut = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItemEditCopy = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItemEditPaste = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItemView = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItemViewSymbolPalette = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItemViewProperties = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItemWindow = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.biTabbedMDI = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItemHelp = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItemAbout = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.standardToolbar = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager, "Standard"); this.parentBarItem7 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); ((System.ComponentModel.ISupportInitialize)(this.dockingManager)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager)).BeginInit(); // // dockingManager // this.dockingManager.DockLayoutStream = ((System.IO.MemoryStream)(resources.GetObject("dockingManager.DockLayoutStream"))); this.dockingManager.HostForm = this; this.dockingManager.DockVisibilityChanged += new Syncfusion.Windows.Forms.Tools.DockVisibilityChangedEventHandler(this.dockingManager_DockVisibilityChanged); this.dockingManager.SetDockLabel(this.propertyEditor, "Properties"); this.dockingManager.SetDockLabel(this.symbolPaletteGroupBar, "Symbol Palettes"); // // propertyEditor // this.propertyEditor.Diagram = null; this.dockingManager.SetEnableDocking(this.propertyEditor, true); this.propertyEditor.Location = new System.Drawing.Point(1, 20); this.propertyEditor.Name = "propertyEditor"; this.propertyEditor.Size = new System.Drawing.Size(201, 493); this.propertyEditor.TabIndex = 11; // // symbolPaletteGroupBar // this.symbolPaletteGroupBar.AllowDrop = true; this.symbolPaletteGroupBar.EditMode = false; this.dockingManager.SetEnableDocking(this.symbolPaletteGroupBar, true); this.symbolPaletteGroupBar.Location = new System.Drawing.Point(1, 20); this.symbolPaletteGroupBar.Name = "symbolPaletteGroupBar"; this.symbolPaletteGroupBar.Size = new System.Drawing.Size(138, 493); this.symbolPaletteGroupBar.TabIndex = 9; this.symbolPaletteGroupBar.Text = "paletteGroupBar1"; // // smBarItemImages // this.smBarItemImages.ImageSize = new System.Drawing.Size(16, 16); this.smBarItemImages.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("smBarItemImages.ImageStream"))); this.smBarItemImages.TransparentColor = System.Drawing.Color.Fuchsia; // // openPaletteDialog // this.openPaletteDialog.DefaultExt = "edp"; this.openPaletteDialog.Filter = "Essential Diagram Palettes|*.edp|All files|*.*"; this.openPaletteDialog.Title = "Add Palette"; // // openDiagramDialog // this.openDiagramDialog.Filter = "Diagram Files|*.edd|All files|*.*"; this.openDiagramDialog.Title = "Open Diagram"; // // saveDiagramDialog // this.saveDiagramDialog.FileName = "doc1"; this.saveDiagramDialog.Filter = "Diagram files|*.edd|All files|*.*"; // // smallImageList1 // this.smallImageList1.ImageSize = new System.Drawing.Size(16, 16); this.smallImageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("smallImageList1.ImageStream"))); this.smallImageList1.TransparentColor = System.Drawing.Color.Fuchsia; // // openImageDialog // this.openImageDialog.Filter = "Windows Bitmaps|*.bmp|Enhanced Metafiles|*.emf|All files|*.*"; this.openImageDialog.Title = "Insert Image"; // // barItem1 // this.barItem1.CategoryIndex = 3; this.barItem1.ID = "Pan"; this.barItem1.ImageIndex = 10; this.barItem1.Tag = "PanTool"; this.barItem1.Text = "Pan"; this.barItem1.Tooltip = "Pan"; // // mainFrameBarManager // this.mainFrameBarManager.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager.BarPositionInfo"))); this.mainFrameBarManager.Bars.Add(this.mainMenuBar); this.mainFrameBarManager.Bars.Add(this.standardToolbar); this.mainFrameBarManager.Categories.Add("Popups"); this.mainFrameBarManager.Categories.Add("File"); this.mainFrameBarManager.Categories.Add("Window"); this.mainFrameBarManager.Categories.Add("Edit"); this.mainFrameBarManager.Categories.Add("Help"); this.mainFrameBarManager.Categories.Add("View"); this.mainFrameBarManager.CurrentBaseFormType = "System.Windows.Forms.Form"; this.mainFrameBarManager.Form = this; this.mainFrameBarManager.ImageList = null; this.mainFrameBarManager.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.biFileNew, this.biFileOpen, this.biFileSave, this.parentBarItemFile, this.biFileSaveAs, this.biPageSetup, this.biFilePrint, this.parentBarItemEdit, this.biAddPalette, this.biFileExit, this.parentBarItemView, this.parentBarItemWindow, this.parentBarItemHelp, this.biTabbedMDI, this.barItemEditCut, this.barItemEditCopy, this.barItemEditPaste, this.barItemEditUndo, this.barItemEditRedo, this.barItemAbout, this.barItemViewSymbolPalette, this.barItemViewProperties, this.barItemEditSelectAll }); this.mainFrameBarManager.LargeImageList = null; this.mainFrameBarManager.ResetCustomization = false; // // mainMenuBar // this.mainMenuBar.BarName = "MainMenu"; this.mainMenuBar.BarStyle = ((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle)((((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.AllowQuickCustomizing | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.IsMainMenu) | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.Visible) | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.DrawDragBorder))); this.mainMenuBar.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItemFile, this.parentBarItemEdit, this.parentBarItemView, this.parentBarItemWindow, this.parentBarItemHelp }); this.mainMenuBar.Manager = this.mainFrameBarManager; // // parentBarItemFile // this.parentBarItemFile.CategoryIndex = 0; this.parentBarItemFile.ID = "File"; this.parentBarItemFile.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.biFileNew, this.biFileOpen, this.biFileSave, this.biFileSaveAs, this.biAddPalette, this.biPageSetup, this.biFilePrint, this.biFileExit }); this.parentBarItemFile.SeparatorIndices.AddRange(new int[] { 4, 5, 7 }); this.parentBarItemFile.Text = "&File"; // // biFileNew // this.biFileNew.CategoryIndex = 1; this.biFileNew.ID = "New"; this.biFileNew.ImageIndex = 6; this.biFileNew.ImageList = this.smallImageList1; this.biFileNew.Shortcut = System.Windows.Forms.Shortcut.CtrlN; this.biFileNew.Text = "&New"; this.biFileNew.Click += new System.EventHandler(this.biFileNew_Click); // // biFileOpen // this.biFileOpen.CategoryIndex = 1; this.biFileOpen.ID = "Open"; this.biFileOpen.ImageIndex = 4; this.biFileOpen.ImageList = this.smallImageList1; this.biFileOpen.Shortcut = System.Windows.Forms.Shortcut.CtrlO; this.biFileOpen.Text = "&Open"; this.biFileOpen.Click += new System.EventHandler(this.biFileOpen_Click); // // biFileSave // this.biFileSave.CategoryIndex = 1; this.biFileSave.ID = "Save"; this.biFileSave.ImageIndex = 0; this.biFileSave.ImageList = this.smallImageList1; this.biFileSave.Shortcut = System.Windows.Forms.Shortcut.CtrlS; this.biFileSave.Text = "&Save"; this.biFileSave.Click += new System.EventHandler(this.biFileSave_Click); // // biFileSaveAs // this.biFileSaveAs.CategoryIndex = 1; this.biFileSaveAs.ID = "Save As..."; this.biFileSaveAs.Text = "Save As..."; this.biFileSaveAs.Click += new System.EventHandler(this.biFileSaveAs_Click); // // biAddPalette // this.biAddPalette.CategoryIndex = 1; this.biAddPalette.ID = "Add Palette"; this.biAddPalette.Text = "Add Palette"; this.biAddPalette.Click += new System.EventHandler(this.biFileAddPalette_Click); // // biPageSetup // this.biPageSetup.CategoryIndex = 1; this.biPageSetup.ID = "Page Setup"; this.biPageSetup.ImageIndex = 9; this.biPageSetup.ImageList = this.smallImageList1; this.biPageSetup.Text = "Page Setup"; // // biFilePrint // this.biFilePrint.CategoryIndex = 1; this.biFilePrint.ID = "Print"; this.biFilePrint.ImageIndex = 8; this.biFilePrint.ImageList = this.smallImageList1; this.biFilePrint.Text = "Print"; // // biFileExit // this.biFileExit.CategoryIndex = 1; this.biFileExit.ID = "Exit"; this.biFileExit.Text = "Exit"; this.biFileExit.Click += new System.EventHandler(this.biFileExit_Click); // // parentBarItemEdit // this.parentBarItemEdit.CategoryIndex = 0; this.parentBarItemEdit.ID = "Edit"; this.parentBarItemEdit.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItemEditUndo, this.barItemEditRedo, this.barItemEditSelectAll, this.barItemEditCut, this.barItemEditCopy, this.barItemEditPaste }); this.parentBarItemEdit.SeparatorIndices.AddRange(new int[] { 3, 2 }); this.parentBarItemEdit.Text = "&Edit"; // // barItemEditUndo // this.barItemEditUndo.CategoryIndex = 3; this.barItemEditUndo.ID = "Undo"; this.barItemEditUndo.ImageIndex = 34; this.barItemEditUndo.ImageList = this.smBarItemImages; this.barItemEditUndo.Shortcut = System.Windows.Forms.Shortcut.CtrlZ; this.barItemEditUndo.Text = "&Undo"; this.barItemEditUndo.Click += new System.EventHandler(this.barItemEditUndo_Click); // // barItemEditRedo // this.barItemEditRedo.CategoryIndex = 3; this.barItemEditRedo.ID = "EditRedo"; this.barItemEditRedo.ImageIndex = 35; this.barItemEditRedo.ImageList = this.smBarItemImages; this.barItemEditRedo.Shortcut = System.Windows.Forms.Shortcut.CtrlY; this.barItemEditRedo.Text = "&Redo"; this.barItemEditRedo.Click += new System.EventHandler(this.barItemEditRedo_Click); // // barItemEditSelectAll // this.barItemEditSelectAll.CategoryIndex = 3; this.barItemEditSelectAll.ID = "&Select All"; this.barItemEditSelectAll.Shortcut = System.Windows.Forms.Shortcut.CtrlA; this.barItemEditSelectAll.Text = "Select &All"; this.barItemEditSelectAll.Click += new System.EventHandler(this.barItemEditSelectAll_Click); // // barItemEditCut // this.barItemEditCut.CategoryIndex = 3; this.barItemEditCut.ID = "Cut"; this.barItemEditCut.ImageIndex = 36; this.barItemEditCut.ImageList = this.smBarItemImages; this.barItemEditCut.Shortcut = System.Windows.Forms.Shortcut.CtrlX; this.barItemEditCut.Text = "C&ut"; this.barItemEditCut.Click += new System.EventHandler(this.barItemEditCut_Click); // // barItemEditCopy // this.barItemEditCopy.CategoryIndex = 3; this.barItemEditCopy.ID = "Copy"; this.barItemEditCopy.ImageIndex = 37; this.barItemEditCopy.ImageList = this.smBarItemImages; this.barItemEditCopy.Shortcut = System.Windows.Forms.Shortcut.CtrlC; this.barItemEditCopy.Text = "&Copy"; this.barItemEditCopy.Click += new System.EventHandler(this.barItemEditCopy_Click); // // barItemEditPaste // this.barItemEditPaste.CategoryIndex = 3; this.barItemEditPaste.ID = "Paste"; this.barItemEditPaste.ImageIndex = 38; this.barItemEditPaste.ImageList = this.smBarItemImages; this.barItemEditPaste.Shortcut = System.Windows.Forms.Shortcut.CtrlV; this.barItemEditPaste.Text = "&Paste"; this.barItemEditPaste.Click += new System.EventHandler(this.barItemEditPaste_Click); // // parentBarItemView // this.parentBarItemView.CategoryIndex = 0; this.parentBarItemView.ID = "View"; this.parentBarItemView.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItemViewSymbolPalette, this.barItemViewProperties }); this.parentBarItemView.Text = "&View"; // // barItemViewSymbolPalette // this.barItemViewSymbolPalette.CategoryIndex = 5; this.barItemViewSymbolPalette.ID = "Symbol Palette"; this.barItemViewSymbolPalette.Text = "Symbol Palette"; this.barItemViewSymbolPalette.Click += new System.EventHandler(this.barItemViewSymbolPalette_Click); // // barItemViewProperties // this.barItemViewProperties.CategoryIndex = 5; this.barItemViewProperties.ID = "Properties"; this.barItemViewProperties.Text = "Properties"; this.barItemViewProperties.Click += new System.EventHandler(this.barItemViewProperties_Click); // // parentBarItemWindow // this.parentBarItemWindow.CategoryIndex = 0; this.parentBarItemWindow.ID = "Window"; this.parentBarItemWindow.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.biTabbedMDI }); this.parentBarItemWindow.Text = "&Window"; // // biTabbedMDI // this.biTabbedMDI.CategoryIndex = 2; this.biTabbedMDI.Checked = true; this.biTabbedMDI.ID = "Tabbed MDI"; this.biTabbedMDI.Text = "Tabbed MDI"; this.biTabbedMDI.Click += new System.EventHandler(this.biTabbedMDI_Click); // // parentBarItemHelp // this.parentBarItemHelp.CategoryIndex = 0; this.parentBarItemHelp.ID = "Help"; this.parentBarItemHelp.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItemAbout }); this.parentBarItemHelp.Text = "&Help"; // // barItemAbout // this.barItemAbout.CategoryIndex = 4; this.barItemAbout.ID = "About"; this.barItemAbout.Text = "About..."; this.barItemAbout.Click += new System.EventHandler(this.barItemAbout_Click); // // standardToolbar // this.standardToolbar.BarName = "Standard"; this.standardToolbar.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.biFileNew, this.biFileOpen, this.biFileSave, this.biFilePrint }); this.standardToolbar.Manager = this.mainFrameBarManager; // // parentBarItem7 // this.parentBarItem7.CategoryIndex = 3; this.parentBarItem7.ID = "Zoom"; this.parentBarItem7.ImageIndex = 8; this.parentBarItem7.ImageList = this.smBarItemImages; this.parentBarItem7.Text = "Zoom"; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(792, 566); this.IsMdiContainer = true; this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Diagram Builder"; this.Load += new System.EventHandler(this.MainForm_Load); ((System.ComponentModel.ISupportInitialize)(this.dockingManager)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager)).EndInit(); }