public GirlSymbolClass(String name, Syncfusion.Windows.Forms.Diagram.Controls.Diagram diagram, Syncfusion.Windows.Forms.Diagram.Model model1, Syncfusion.Windows.Forms.Diagram.Model model2) { bmpnode = new BitmapNode(new Bitmap(@"..\..\..\..\..\..\..\Common\Images\Diagram\Drill Down images\image5_48.png")); bmpnode.Name = name; bmpnode.PinPoint = new Point(305, 130); bmpnode.LineStyle.LineWidth = 0; this.AppendChild(bmpnode); this.diagram1 = diagram; this.model1 = model1; this.model2 = model2; }
public HomeNode(Syncfusion.Windows.Forms.Diagram.Controls.Diagram diagram, Syncfusion.Windows.Forms.Diagram.Model model1, Syncfusion.Windows.Forms.Diagram.Model model2) { bmpnode = new BitmapNode(new Bitmap(@"..\..\..\..\..\..\..\Common\Images\Diagram\Drill Down images\house_48_hot(1).png")); bmpnode.Name = "Grand Mother"; bmpnode.PinPoint = new Point(30, 30); bmpnode.Size = new SizeF(20, 20); bmpnode.LineStyle.LineWidth = 0; this.AppendChild(bmpnode); mod1 = model1; mod2 = model2; dig = diagram; }
public GrandMotherSymbolClass(Syncfusion.Windows.Forms.Diagram.Controls.Diagram diagram, Syncfusion.Windows.Forms.Diagram.Model model1, Syncfusion.Windows.Forms.Diagram.Model model2, bool Previous) { bmpnode = new BitmapNode(new Bitmap(@"..\..\..\..\..\..\..\Common\Images\Diagram\Drill Down images\prev.png")); bmpnode.Name = "Back"; bmpnode.LineStyle.LineWidth = 0; bmpnode.PinPoint = new Point(300, 180); this.AppendChild(bmpnode); this.dig = diagram; this.mod1 = model1; this.mod2 = model2; }
public GrandMotherSymbolClass(Syncfusion.Windows.Forms.Diagram.Controls.Diagram diagram, Syncfusion.Windows.Forms.Diagram.Model model1, Syncfusion.Windows.Forms.Diagram.Model model2) { #if !NETCORE bmpnode = new BitmapNode(new Bitmap(@"..\..\..\..\..\..\common\Images\Diagram\Drill Down images\image2_48.png")); #else bmpnode = new BitmapNode(new Bitmap(@"..\..\..\..\..\..\..\common\Images\Diagram\Drill Down images\image2_48.png")); #endif bmpnode.Name = "Grand Mother"; bmpnode.PinPoint = new Point(300, 180); bmpnode.LineStyle.LineWidth = 0; this.AppendChild(bmpnode); this.dig = diagram; this.mod1 = model1; this.mod2 = model2; }
/// <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.panel1 = new System.Windows.Forms.Panel(); this.diagram = new Syncfusion.Windows.Forms.Diagram.Controls.Diagram(); this.orgChartManager = new Syncfusion.OrgChart.OrgChartManager(); this.mainFrameBarManager = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this.components, this); this.bar2 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager, "Actions"); this.barItemSelectTool = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItemAdd = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItemLink = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItemUpdateLayout = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItemAutoLayout = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItemDimensions = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager, "MainMenu"); this.parentBarItemFile = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItemFileExit = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); 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.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItemHelpAbout = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.diagram); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 52); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(616, 410); this.panel1.TabIndex = 2; // // diagram // this.diagram.AllowDrop = true; // // diagram.Controller // this.diagram.Controller.MaxHistory = 256; this.diagram.Controller.SelectHandleMode = Syncfusion.Windows.Forms.Diagram.SelectHandleType.Resize; this.diagram.Dock = System.Windows.Forms.DockStyle.Fill; this.diagram.HScroll = true; this.diagram.LayoutManager = this.orgChartManager; this.diagram.Location = new System.Drawing.Point(0, 0); // // diagram.Model // this.diagram.Model.BoundaryConstraintsEnabled = true; this.diagram.Model.Height = 1056F; this.diagram.Model.MeasurementScale = 1F; this.diagram.Model.MeasurementUnits = System.Drawing.GraphicsUnit.Pixel; this.diagram.Model.Name = "Model"; this.diagram.Model.Width = 816F; this.diagram.Name = "diagram"; this.diagram.NudgeIncrement = 1F; this.diagram.ScrollGranularity = 0.5F; this.diagram.Size = new System.Drawing.Size(616, 410); this.diagram.TabIndex = 1; this.diagram.Text = "OrgChart Diagram"; // // diagram.View // this.diagram.View.BackgroundColor = System.Drawing.Color.DarkGray; this.diagram.View.Grid.Color = System.Drawing.Color.Black; this.diagram.View.Grid.HorizontalSpacing = 10F; this.diagram.View.Grid.SnapToGrid = true; this.diagram.View.Grid.VerticalSpacing = 10F; this.diagram.View.Grid.Visible = true; this.diagram.View.HandleAnchorColor = System.Drawing.Color.LightGray; this.diagram.View.HandleColor = System.Drawing.Color.White; this.diagram.View.HandleSize = 6; this.diagram.View.ShowPageBounds = true; this.diagram.VScroll = true; // // orgChartManager // this.orgChartManager.AutoLayout = false; this.orgChartManager.HorizontalSpacing = 200F; this.orgChartManager.VerticalSpacing = 140F; // // mainFrameBarManager // this.mainFrameBarManager.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager.BarPositionInfo"))); this.mainFrameBarManager.Bars.Add(this.bar2); this.mainFrameBarManager.Bars.Add(this.bar1); this.mainFrameBarManager.Categories.Add("Actions"); this.mainFrameBarManager.Categories.Add("File"); this.mainFrameBarManager.Categories.Add("Edit"); this.mainFrameBarManager.Categories.Add("Help"); this.mainFrameBarManager.CurrentBaseFormType = "System.Windows.Forms.Form"; this.mainFrameBarManager.Form = this; this.mainFrameBarManager.ImageList = this.imageList1; this.mainFrameBarManager.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItemLink, this.barItemUpdateLayout, this.barItemFileExit, this.parentBarItemFile, this.barItemAdd, this.barItemSelectTool, this.barItemAutoLayout, this.barItemEditCut, this.barItemEditCopy, this.barItemEditPaste, this.barItemHelpAbout, this.parentBarItem1, this.parentBarItem2, this.barItemDimensions }); this.mainFrameBarManager.LargeImageList = null; this.mainFrameBarManager.ResetCustomization = false; // // bar2 // this.bar2.BarName = "Actions"; this.bar2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItemSelectTool, this.barItemAdd, this.barItemLink, this.barItemUpdateLayout, this.barItemAutoLayout, this.barItemDimensions }); this.bar2.Manager = this.mainFrameBarManager; // // barItemSelectTool // this.barItemSelectTool.CategoryIndex = 0; this.barItemSelectTool.ID = "Select"; this.barItemSelectTool.ImageIndex = 3; this.barItemSelectTool.Text = "Select"; this.barItemSelectTool.Tooltip = "Select Tool"; this.barItemSelectTool.Click += new System.EventHandler(this.barItemSelectTool_Click); // // barItemAdd // this.barItemAdd.CategoryIndex = 0; this.barItemAdd.ID = "Add"; this.barItemAdd.ImageIndex = 2; this.barItemAdd.Text = "Add"; this.barItemAdd.Tooltip = "Add Member"; this.barItemAdd.Click += new System.EventHandler(this.barItemAdd_Click); // // barItemLink // this.barItemLink.CategoryIndex = 0; this.barItemLink.ID = "Link"; this.barItemLink.ImageIndex = 0; this.barItemLink.Text = "Link"; this.barItemLink.Click += new System.EventHandler(this.barItemLink_Click); // // barItemUpdateLayout // this.barItemUpdateLayout.CategoryIndex = 0; this.barItemUpdateLayout.ID = "Update Layout"; this.barItemUpdateLayout.ImageIndex = 1; this.barItemUpdateLayout.Text = "Update Layout"; this.barItemUpdateLayout.Click += new System.EventHandler(this.barItemUpdateLayout_Click); // // barItemAutoLayout // this.barItemAutoLayout.CategoryIndex = 0; this.barItemAutoLayout.ID = "AutoLayout"; this.barItemAutoLayout.ImageIndex = 4; this.barItemAutoLayout.Text = "AutoLayout"; this.barItemAutoLayout.Tooltip = "Auto Layout"; this.barItemAutoLayout.Click += new System.EventHandler(this.barItemAutoLayout_Click); // // barItemDimensions // this.barItemDimensions.CategoryIndex = 0; this.barItemDimensions.ID = "Dimensions"; this.barItemDimensions.ImageIndex = 8; this.barItemDimensions.Text = "Dimensions"; this.barItemDimensions.Click += new System.EventHandler(this.barItemDimensions_Click); // // bar1 // this.bar1.BarName = "MainMenu"; this.bar1.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.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItemFile, this.parentBarItem1, this.parentBarItem2 }); this.bar1.Manager = this.mainFrameBarManager; // // parentBarItemFile // this.parentBarItemFile.CategoryIndex = 1; this.parentBarItemFile.ID = "File"; this.parentBarItemFile.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItemFileExit }); this.parentBarItemFile.Text = "File"; // // barItemFileExit // this.barItemFileExit.CategoryIndex = 1; this.barItemFileExit.ID = "Exit"; this.barItemFileExit.Text = "Exit"; this.barItemFileExit.Click += new System.EventHandler(this.barItemFileExit_Click); // // parentBarItem1 // this.parentBarItem1.CategoryIndex = 2; this.parentBarItem1.ID = "Edit"; this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItemEditCut, this.barItemEditCopy, this.barItemEditPaste }); this.parentBarItem1.Text = "Edit"; // // barItemEditCut // this.barItemEditCut.CategoryIndex = 2; this.barItemEditCut.ID = "Cut"; this.barItemEditCut.ImageIndex = 5; this.barItemEditCut.Shortcut = System.Windows.Forms.Shortcut.CtrlX; this.barItemEditCut.Text = "Cu&t"; this.barItemEditCut.Click += new System.EventHandler(this.barItemEditCut_Click); // // barItemEditCopy // this.barItemEditCopy.CategoryIndex = 2; this.barItemEditCopy.ID = "Copy"; this.barItemEditCopy.ImageIndex = 6; 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 = 2; this.barItemEditPaste.ID = "Paste"; this.barItemEditPaste.ImageIndex = 7; this.barItemEditPaste.Shortcut = System.Windows.Forms.Shortcut.CtrlV; this.barItemEditPaste.Text = "&Paste"; this.barItemEditPaste.Click += new System.EventHandler(this.barItemEditPaste_Click); // // parentBarItem2 // this.parentBarItem2.CategoryIndex = 3; this.parentBarItem2.ID = "Help"; this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItemHelpAbout }); this.parentBarItem2.Text = "Help"; // // barItemHelpAbout // this.barItemHelpAbout.CategoryIndex = 3; this.barItemHelpAbout.ID = "About"; this.barItemHelpAbout.Text = "About"; this.barItemHelpAbout.Click += new System.EventHandler(this.barItemHelpAbout_Click); // // imageList1 // this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Fuchsia; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(616, 462); this.Controls.Add(this.panel1); this.Name = "MainForm"; this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show; this.Text = "Organizational Chart"; this.Load += new System.EventHandler(this.MainForm_Load); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.panelSymbolPalettes = new System.Windows.Forms.Panel(); this.paletteGroupBar = new Syncfusion.Windows.Forms.Diagram.Controls.PaletteGroupBar(); this.paletteGroupViewTestSymbols = new Syncfusion.Windows.Forms.Diagram.Controls.PaletteGroupView(); this.groupBarItemTestSymbols = new Syncfusion.Windows.Forms.Tools.GroupBarItem(); this.panelProperties = new System.Windows.Forms.Panel(); this.propertyEditor = new Syncfusion.Windows.Forms.Diagram.Controls.PropertyEditor(); this.diagram1 = new Syncfusion.Windows.Forms.Diagram.Controls.Diagram(); this.panelDiagram = new System.Windows.Forms.Panel(); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItemFileOpen = new System.Windows.Forms.MenuItem(); this.menuItemFileSave = new System.Windows.Forms.MenuItem(); this.menuItemFileExit = new System.Windows.Forms.MenuItem(); this.menuItem5 = new System.Windows.Forms.MenuItem(); this.menuItemToolsSelect = new System.Windows.Forms.MenuItem(); this.menuItemToolsPan = new System.Windows.Forms.MenuItem(); this.menuItemToolsZoom = new System.Windows.Forms.MenuItem(); this.menuItemToolsGroup = new System.Windows.Forms.MenuItem(); this.menuItemToolsUngroup = new System.Windows.Forms.MenuItem(); this.menuItemToolsLink = new System.Windows.Forms.MenuItem(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.panelSymbolPalettes.SuspendLayout(); this.paletteGroupBar.SuspendLayout(); this.panelProperties.SuspendLayout(); this.panelDiagram.SuspendLayout(); this.SuspendLayout(); // // panelSymbolPalettes // this.panelSymbolPalettes.Controls.Add(this.paletteGroupBar); this.panelSymbolPalettes.Dock = System.Windows.Forms.DockStyle.Left; this.panelSymbolPalettes.Location = new System.Drawing.Point(0, 0); this.panelSymbolPalettes.Name = "panelSymbolPalettes"; this.panelSymbolPalettes.Size = new System.Drawing.Size(128, 518); this.panelSymbolPalettes.TabIndex = 0; // // paletteGroupBar // this.paletteGroupBar.AllowDrop = true; this.paletteGroupBar.Controls.Add(this.paletteGroupViewTestSymbols); this.paletteGroupBar.Dock = System.Windows.Forms.DockStyle.Fill; this.paletteGroupBar.EditMode = false; this.paletteGroupBar.GroupBarItems.AddRange(new Syncfusion.Windows.Forms.Tools.GroupBarItem[] { this.groupBarItemTestSymbols }); this.paletteGroupBar.Location = new System.Drawing.Point(0, 0); this.paletteGroupBar.Name = "paletteGroupBar"; this.paletteGroupBar.SelectedItem = 0; this.paletteGroupBar.Size = new System.Drawing.Size(128, 518); this.paletteGroupBar.TabIndex = 0; this.paletteGroupBar.Text = "paletteGroupBar1"; // // paletteGroupViewTestSymbols // this.paletteGroupViewTestSymbols.EditMode = false; this.paletteGroupViewTestSymbols.Location = new System.Drawing.Point(2, 23); this.paletteGroupViewTestSymbols.Name = "paletteGroupViewTestSymbols"; this.paletteGroupViewTestSymbols.SelectedItem = 0; this.paletteGroupViewTestSymbols.Size = new System.Drawing.Size(124, 493); this.paletteGroupViewTestSymbols.TabIndex = 0; this.paletteGroupViewTestSymbols.Text = "paletteGroupView1"; this.paletteGroupViewTestSymbols.LoadPalette(typeof(QuickStart.MainForm).Assembly, "QuickStart.MainForm", "paletteGroupViewTestSymbols.Palette"); // // groupBarItemTestSymbols // this.groupBarItemTestSymbols.Client = this.paletteGroupViewTestSymbols; this.groupBarItemTestSymbols.Text = "Test Symbols"; // // panelProperties // this.panelProperties.Controls.Add(this.propertyEditor); this.panelProperties.Dock = System.Windows.Forms.DockStyle.Right; this.panelProperties.Location = new System.Drawing.Point(544, 0); this.panelProperties.Name = "panelProperties"; this.panelProperties.Size = new System.Drawing.Size(176, 518); this.panelProperties.TabIndex = 1; // // propertyEditor // this.propertyEditor.Diagram = this.diagram1; this.propertyEditor.Dock = System.Windows.Forms.DockStyle.Fill; this.propertyEditor.Location = new System.Drawing.Point(0, 0); this.propertyEditor.Name = "propertyEditor"; this.propertyEditor.Size = new System.Drawing.Size(176, 518); this.propertyEditor.TabIndex = 0; // // diagram1 // this.diagram1.AllowDrop = true; // // diagram1.Controller // this.diagram1.Controller.MaxHistory = 256; this.diagram1.Controller.SelectHandleMode = Syncfusion.Windows.Forms.Diagram.SelectHandleType.Resize; this.diagram1.Dock = System.Windows.Forms.DockStyle.Fill; this.diagram1.HScroll = true; this.diagram1.LayoutManager = null; this.diagram1.Location = new System.Drawing.Point(0, 0); // // diagram1.Model // this.diagram1.Model.BoundaryConstraintsEnabled = true; this.diagram1.Model.Height = 1056F; this.diagram1.Model.MeasurementScale = 1F; this.diagram1.Model.MeasurementUnits = System.Drawing.GraphicsUnit.Pixel; this.diagram1.Model.Name = "Model"; this.diagram1.Model.Width = 816F; this.diagram1.Name = "diagram1"; this.diagram1.NudgeIncrement = 1F; this.diagram1.ScrollGranularity = 0.5F; this.diagram1.Size = new System.Drawing.Size(416, 518); this.diagram1.TabIndex = 0; this.diagram1.Text = "diagram1"; // // diagram1.View // this.diagram1.View.BackgroundColor = System.Drawing.Color.DarkGray; this.diagram1.View.Grid.Color = System.Drawing.Color.Black; this.diagram1.View.Grid.HorizontalSpacing = 10F; this.diagram1.View.Grid.SnapToGrid = true; this.diagram1.View.Grid.VerticalSpacing = 10F; this.diagram1.View.Grid.Visible = true; this.diagram1.View.HandleAnchorColor = System.Drawing.Color.LightGray; this.diagram1.View.HandleColor = System.Drawing.Color.White; this.diagram1.View.HandleSize = 6; this.diagram1.View.ShowPageBounds = true; this.diagram1.VScroll = true; // // panelDiagram // this.panelDiagram.Controls.Add(this.diagram1); this.panelDiagram.Dock = System.Windows.Forms.DockStyle.Fill; this.panelDiagram.Location = new System.Drawing.Point(128, 0); this.panelDiagram.Name = "panelDiagram"; this.panelDiagram.Size = new System.Drawing.Size(416, 518); this.panelDiagram.TabIndex = 2; // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1, this.menuItem5 }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItemFileOpen, this.menuItemFileSave, this.menuItemFileExit }); this.menuItem1.Text = "&File"; // // menuItemFileOpen // this.menuItemFileOpen.Index = 0; this.menuItemFileOpen.Text = "&Open"; this.menuItemFileOpen.Click += new System.EventHandler(this.menuItemFileOpen_Click); // // menuItemFileSave // this.menuItemFileSave.Index = 1; this.menuItemFileSave.Text = "&Save"; this.menuItemFileSave.Click += new System.EventHandler(this.menuItemFileSave_Click); // // menuItemFileExit // this.menuItemFileExit.Index = 2; this.menuItemFileExit.Text = "&Exit"; this.menuItemFileExit.Click += new System.EventHandler(this.menuItemFileExit_Click); // // menuItem5 // this.menuItem5.Index = 1; this.menuItem5.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItemToolsSelect, this.menuItemToolsPan, this.menuItemToolsZoom, this.menuItemToolsGroup, this.menuItemToolsUngroup, this.menuItemToolsLink }); this.menuItem5.Text = "&Tools"; // // menuItemToolsSelect // this.menuItemToolsSelect.Index = 0; this.menuItemToolsSelect.Text = "&Select"; this.menuItemToolsSelect.Click += new System.EventHandler(this.menuItemToolsSelect_Click); // // menuItemToolsPan // this.menuItemToolsPan.Index = 1; this.menuItemToolsPan.Text = "&Pan"; this.menuItemToolsPan.Click += new System.EventHandler(this.menuItemToolsPan_Click); // // menuItemToolsZoom // this.menuItemToolsZoom.Index = 2; this.menuItemToolsZoom.Text = "&Zoom"; this.menuItemToolsZoom.Click += new System.EventHandler(this.menuItemToolsZoom_Click); // // menuItemToolsGroup // this.menuItemToolsGroup.Index = 3; this.menuItemToolsGroup.Text = "&Group"; this.menuItemToolsGroup.Click += new System.EventHandler(this.menuItemToolsGroup_Click); // // menuItemToolsUngroup // this.menuItemToolsUngroup.Index = 4; this.menuItemToolsUngroup.Text = "&Ungroup"; this.menuItemToolsUngroup.Click += new System.EventHandler(this.menuItemToolsUngroup_Click); // // menuItemToolsLink // this.menuItemToolsLink.Index = 5; this.menuItemToolsLink.Text = "&Link Symbols"; this.menuItemToolsLink.Click += new System.EventHandler(this.menuItemToolsLink_Click); // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(720, 518); this.Controls.Add(this.panelDiagram); this.Controls.Add(this.panelProperties); this.Controls.Add(this.panelSymbolPalettes); this.Menu = this.mainMenu1; this.Name = "MainForm"; this.Text = "Quick Start Sample"; this.panelSymbolPalettes.ResumeLayout(false); this.paletteGroupBar.ResumeLayout(false); this.panelProperties.ResumeLayout(false); this.panelDiagram.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.diagram1 = new Syncfusion.Windows.Forms.Diagram.Controls.Diagram(); this.paletteGroupBar1 = new Syncfusion.Windows.Forms.Diagram.Controls.PaletteGroupBar(); this.paletteGroupView1 = new Syncfusion.Windows.Forms.Diagram.Controls.PaletteGroupView(); this.groupBarItem1 = new Syncfusion.Windows.Forms.Tools.GroupBarItem(); this.paletteGroupBar1.SuspendLayout(); this.SuspendLayout(); // // diagram1 // this.diagram1.AllowDrop = true; // // diagram1.Controller // this.diagram1.Controller.MaxHistory = 256; this.diagram1.Controller.SelectHandleMode = Syncfusion.Windows.Forms.Diagram.SelectHandleType.Resize; this.diagram1.HScroll = true; this.diagram1.LayoutManager = null; this.diagram1.Location = new System.Drawing.Point(152, 8); // // diagram1.Model // this.diagram1.Model.BoundaryConstraintsEnabled = true; this.diagram1.Model.Height = 1056F; this.diagram1.Model.MeasurementScale = 1F; this.diagram1.Model.MeasurementUnits = System.Drawing.GraphicsUnit.Pixel; this.diagram1.Model.Name = "Model"; this.diagram1.Model.Width = 816F; this.diagram1.Name = "diagram1"; this.diagram1.NudgeIncrement = 1F; this.diagram1.ScrollGranularity = 0.5F; this.diagram1.Size = new System.Drawing.Size(440, 480); this.diagram1.TabIndex = 0; this.diagram1.Text = "diagram1"; // // diagram1.View // this.diagram1.View.BackgroundColor = System.Drawing.Color.DarkGray; this.diagram1.View.Grid.Color = System.Drawing.Color.IndianRed; this.diagram1.View.Grid.HorizontalSpacing = 10F; this.diagram1.View.Grid.SnapToGrid = true; this.diagram1.View.Grid.VerticalSpacing = 10F; this.diagram1.View.Grid.Visible = true; this.diagram1.View.HandleAnchorColor = System.Drawing.Color.LightGray; this.diagram1.View.HandleColor = System.Drawing.Color.White; this.diagram1.View.HandleSize = 6; this.diagram1.View.ShowPageBounds = true; this.diagram1.VScroll = true; // // paletteGroupBar1 // this.paletteGroupBar1.AllowDrop = true; this.paletteGroupBar1.Controls.Add(this.paletteGroupView1); this.paletteGroupBar1.EditMode = false; this.paletteGroupBar1.GroupBarItems.AddRange(new Syncfusion.Windows.Forms.Tools.GroupBarItem[] { this.groupBarItem1 }); this.paletteGroupBar1.Location = new System.Drawing.Point(8, 16); this.paletteGroupBar1.Name = "paletteGroupBar1"; this.paletteGroupBar1.SelectedItem = 0; this.paletteGroupBar1.Size = new System.Drawing.Size(136, 368); this.paletteGroupBar1.TabIndex = 1; this.paletteGroupBar1.Text = "paletteGroupBar1"; // // paletteGroupView1 // this.paletteGroupView1.EditMode = false; this.paletteGroupView1.Location = new System.Drawing.Point(2, 23); this.paletteGroupView1.Name = "paletteGroupView1"; this.paletteGroupView1.SelectedItem = 0; this.paletteGroupView1.Size = new System.Drawing.Size(132, 343); this.paletteGroupView1.TabIndex = 0; this.paletteGroupView1.Text = "paletteGroupView1"; this.paletteGroupView1.LoadPalette(typeof(Test.Form1).Assembly, "Test.Form1", "paletteGroupView1.Palette"); // // groupBarItem1 // this.groupBarItem1.Client = this.paletteGroupView1; this.groupBarItem1.Text = "GroupBarItem0"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.BackColor = System.Drawing.SystemColors.Control; this.ClientSize = new System.Drawing.Size(600, 494); this.Controls.Add(this.paletteGroupBar1); this.Controls.Add(this.diagram1); this.Name = "Form1"; this.Text = "Dude"; this.paletteGroupBar1.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.diagram = new Syncfusion.Windows.Forms.Diagram.Controls.Diagram(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.mainFrameBarManager = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this.components, this); this.barItemInsertSymbol = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager, "Edit"); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager)).BeginInit(); this.SuspendLayout(); // // diagram // this.diagram.AllowDrop = true; // // diagram.Controller // this.diagram.Controller.MaxHistory = 256; this.diagram.Controller.SelectHandleMode = Syncfusion.Windows.Forms.Diagram.SelectHandleType.Resize; this.diagram.Dock = System.Windows.Forms.DockStyle.Fill; this.diagram.HScroll = true; this.diagram.Location = new System.Drawing.Point(0, 26); // // diagram.Model // this.diagram.Model.BoundaryConstraintsEnabled = true; this.diagram.Model.Height = 5000F; this.diagram.Model.Name = "Model"; this.diagram.Model.MeasurementScale = 1F; this.diagram.Model.MeasurementUnits = System.Drawing.GraphicsUnit.Pixel; this.diagram.Model.Width = 5000F; this.diagram.Name = "diagram"; this.diagram.NudgeIncrement = 1F; this.diagram.ScrollGranularity = 0.5F; this.diagram.Size = new System.Drawing.Size(464, 340); this.diagram.TabIndex = 0; this.diagram.Text = "diagram1"; // // diagram.View // this.diagram.View.BackgroundColor = System.Drawing.Color.DarkGray; this.diagram.View.Grid.HorizontalSpacing = 10F; this.diagram.View.Grid.MinPixelSpacing = 4; this.diagram.View.Grid.SnapToGrid = true; this.diagram.View.Grid.VerticalSpacing = 10F; this.diagram.View.Grid.Visible = true; this.diagram.View.HandleAnchorColor = System.Drawing.Color.LightGray; this.diagram.View.HandleColor = System.Drawing.Color.White; this.diagram.View.HandleSize = 6; this.diagram.View.ShowPageBounds = true; this.diagram.VScroll = true; // // imageList // this.imageList.ImageSize = new System.Drawing.Size(16, 16); this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); this.imageList.TransparentColor = System.Drawing.Color.Transparent; // // mainFrameBarManager // this.mainFrameBarManager.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager.BarPositionInfo"))); this.mainFrameBarManager.Bars.Add(this.bar1); this.mainFrameBarManager.Categories.Add("Edit"); this.mainFrameBarManager.CurrentBaseFormType = ""; this.mainFrameBarManager.Form = this; this.mainFrameBarManager.ImageList = this.imageList; this.mainFrameBarManager.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItemInsertSymbol }); this.mainFrameBarManager.LargeImageList = null; this.mainFrameBarManager.ResetCustomization = false; // // barItemInsertSymbol // this.barItemInsertSymbol.CategoryIndex = 0; this.barItemInsertSymbol.ID = "InsertSymbol"; this.barItemInsertSymbol.ImageIndex = 0; this.barItemInsertSymbol.Text = "InsertSymbol"; this.barItemInsertSymbol.Click += new System.EventHandler(this.barItemInsertSymbol_Click); // // bar1 // this.bar1.BarName = "Edit"; this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItemInsertSymbol }); this.bar1.Manager = this.mainFrameBarManager; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(464, 366); this.Controls.Add(this.diagram); this.Name = "MainForm"; this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show; this.Text = "Dynamic Symbol"; ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager)).EndInit(); this.ResumeLayout(false); }