/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { yWorks.Controls.ViewportLimiter viewportLimiter1 = new yWorks.Controls.ViewportLimiter(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); this.graphControl = new yWorks.Controls.GraphControl(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.zoomInButton = new System.Windows.Forms.ToolStripButton(); this.zoomOutButton = new System.Windows.Forms.ToolStripButton(); this.fitContentButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.newGraphButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.runButton = new System.Windows.Forms.ToolStripButton(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.loadGraphMLMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveGraphMLMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.newGraphToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.constraintsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.disableAllConstraintsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.enableAllConstraintsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.increaseZoomToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.decreaseZoomToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.fitGraphBoundsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.menuStrip1.SuspendLayout(); this.SuspendLayout(); // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.splitContainer1.Location = new System.Drawing.Point(0, 0); this.splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.description); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.graphControl); this.splitContainer1.Panel2.Controls.Add(this.toolStrip1); this.splitContainer1.Panel2.Controls.Add(this.menuStrip1); this.splitContainer1.Size = new System.Drawing.Size(900, 637); this.splitContainer1.SplitterDistance = 252; this.splitContainer1.TabIndex = 0; // // description // this.description.Dock = System.Windows.Forms.DockStyle.Fill; this.description.Location = new System.Drawing.Point(0, 0); this.description.Name = "description"; this.description.Size = new System.Drawing.Size(252, 637); this.description.TabIndex = 1; this.description.Text = ""; // // graphControl // this.graphControl.BackColor = System.Drawing.Color.White; this.graphControl.ContentMargins = new yWorks.Geometry.InsetsD(10D, 10D, 10D, 10D); this.graphControl.ContentRect = new yWorks.Geometry.RectD(0D, 0D, 400D, 400D); this.graphControl.Cursor = System.Windows.Forms.Cursors.Cross; this.graphControl.Dock = System.Windows.Forms.DockStyle.Fill; this.graphControl.FileOperationsEnabled = true; this.graphControl.Location = new System.Drawing.Point(0, 55); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(644, 582); this.graphControl.TabIndex = 7; this.graphControl.Text = "graphControl1"; viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // toolStrip1 // this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newGraphButton, this.toolStripSeparator1, this.zoomInButton, this.zoomOutButton, this.fitContentButton, this.toolStripSeparator2, this.runButton }); this.toolStrip1.Location = new System.Drawing.Point(0, 24); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Padding = new System.Windows.Forms.Padding(4); this.toolStrip1.Size = new System.Drawing.Size(644, 31); this.toolStrip1.Stretch = true; this.toolStrip1.TabIndex = 0; this.toolStrip1.Text = "toolStrip1"; // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.Layout.LayerConstraints.Properties.Resources.plus_16; this.zoomInButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomInButton.Name = "zoomInButton"; this.zoomInButton.Size = new System.Drawing.Size(23, 20); this.zoomInButton.Text = "Zoom In"; // // zoomOutButton // this.zoomOutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomOutButton.Image = global::Demo.yFiles.Layout.LayerConstraints.Properties.Resources.minus_16; this.zoomOutButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomOutButton.Name = "zoomOutButton"; this.zoomOutButton.Size = new System.Drawing.Size(23, 20); this.zoomOutButton.Text = "Zoom Out"; // // fitContentButton // this.fitContentButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.fitContentButton.Image = global::Demo.yFiles.Layout.LayerConstraints.Properties.Resources.fit_16; this.fitContentButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.fitContentButton.Name = "fitContentButton"; this.fitContentButton.Size = new System.Drawing.Size(23, 20); this.fitContentButton.Text = "Fit Content"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 23); // // newGraphButton // this.newGraphButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.newGraphButton.Image = global::Demo.yFiles.Layout.LayerConstraints.Properties.Resources.new_document_16; this.newGraphButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.newGraphButton.Name = "newGraphButton"; this.newGraphButton.Size = new System.Drawing.Size(23, 20); this.newGraphButton.Text = "New Random Graph"; this.newGraphButton.ToolTipText = "Generate a new random Graph"; this.newGraphButton.Click += new System.EventHandler(this.OnNewGraphClick); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 23); // // runButton // this.runButton.Image = global::Demo.yFiles.Layout.LayerConstraints.Properties.Resources.layout_tree_16; this.runButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.runButton.Name = "runButton"; this.runButton.Size = new System.Drawing.Size(63, 20); this.runButton.Text = "Layout"; this.runButton.ToolTipText = "Run the Layout"; this.runButton.Click += new System.EventHandler(this.OnLayoutClick); // // menuStrip1 // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.viewToolStripMenuItem, this.constraintsToolStripMenuItem }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(644, 24); this.menuStrip1.TabIndex = 8; this.menuStrip1.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newGraphToolStripMenuItem, this.toolStripSeparator3, this.loadGraphMLMenuItem, this.saveGraphMLMenuItem, this.toolStripSeparator4, this.exitToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "File"; // // loadGraphMLMenuItem // this.loadGraphMLMenuItem.Name = "loadGraphMLMenuItem"; this.loadGraphMLMenuItem.Size = new System.Drawing.Size(152, 22); this.loadGraphMLMenuItem.Text = "Open"; // // saveGraphMLMenuItem // this.saveGraphMLMenuItem.Name = "saveGraphMLMenuItem"; this.saveGraphMLMenuItem.Size = new System.Drawing.Size(152, 22); this.saveGraphMLMenuItem.Text = "Save as..."; // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(149, 6); // // newGraphToolStripMenuItem // this.newGraphToolStripMenuItem.Name = "newGraphToolStripMenuItem"; this.newGraphToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.newGraphToolStripMenuItem.Text = "New Graph"; this.newGraphToolStripMenuItem.Click += new System.EventHandler(this.OnNewGraphClick); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(149, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitMenuItemClick); // // constraintsToolStripMenuItem // this.constraintsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.disableAllConstraintsToolStripMenuItem, this.enableAllConstraintsToolStripMenuItem }); this.constraintsToolStripMenuItem.Name = "constraintsToolStripMenuItem"; this.constraintsToolStripMenuItem.Size = new System.Drawing.Size(79, 20); this.constraintsToolStripMenuItem.Text = "Constraints"; // // disableAllConstraintsToolStripMenuItem // this.disableAllConstraintsToolStripMenuItem.Name = "disableAllConstraintsToolStripMenuItem"; this.disableAllConstraintsToolStripMenuItem.Size = new System.Drawing.Size(190, 22); this.disableAllConstraintsToolStripMenuItem.Text = "Disable all Constraints"; this.disableAllConstraintsToolStripMenuItem.Click += new System.EventHandler(this.OnDisableConstraints); // // enableAllConstraintsToolStripMenuItem // this.enableAllConstraintsToolStripMenuItem.Name = "enableAllConstraintsToolStripMenuItem"; this.enableAllConstraintsToolStripMenuItem.Size = new System.Drawing.Size(190, 22); this.enableAllConstraintsToolStripMenuItem.Text = "Enable all Constraints"; this.enableAllConstraintsToolStripMenuItem.Click += new System.EventHandler(this.OnEnableConstraints); // // viewToolStripMenuItem // this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.increaseZoomToolStripMenuItem, this.decreaseZoomToolStripMenuItem, this.fitGraphBoundsToolStripMenuItem }); this.viewToolStripMenuItem.Name = "viewToolStripMenuItem"; this.viewToolStripMenuItem.Size = new System.Drawing.Size(44, 20); this.viewToolStripMenuItem.Text = "View"; // // increaseZoomToolStripMenuItem // this.increaseZoomToolStripMenuItem.Name = "increaseZoomToolStripMenuItem"; this.increaseZoomToolStripMenuItem.Size = new System.Drawing.Size(165, 22); this.increaseZoomToolStripMenuItem.Text = "Increase Zoom"; // // decreaseZoomToolStripMenuItem // this.decreaseZoomToolStripMenuItem.Name = "decreaseZoomToolStripMenuItem"; this.decreaseZoomToolStripMenuItem.Size = new System.Drawing.Size(165, 22); this.decreaseZoomToolStripMenuItem.Text = "Decrease Zoom"; // // fitGraphBoundsToolStripMenuItem // this.fitGraphBoundsToolStripMenuItem.Name = "fitGraphBoundsToolStripMenuItem"; this.fitGraphBoundsToolStripMenuItem.Size = new System.Drawing.Size(165, 22); this.fitGraphBoundsToolStripMenuItem.Text = "Fit Graph Bounds"; // // LayerConstraintsForm // this.ClientSize = new System.Drawing.Size(900, 637); this.Controls.Add(this.splitContainer1); this.Icon = global::Demo.yFiles.Layout.LayerConstraints.Properties.Resources.yIcon; this.MainMenuStrip = this.menuStrip1; this.Name = "LayerConstraintsForm"; this.Text = "LayerConstraints Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.OnLoaded); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.Panel2.PerformLayout(); this.splitContainer1.ResumeLayout(false); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); 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() { yWorks.Controls.ViewportLimiter viewportLimiter1 = new yWorks.Controls.ViewportLimiter(); yWorks.Controls.ViewportLimiter viewportLimiter2 = new yWorks.Controls.ViewportLimiter(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.exportButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.exportToFileButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.copyToClipboardButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.zoomInButton = new System.Windows.Forms.ToolStripButton(); this.zoomOutButton = new System.Windows.Forms.ToolStripButton(); this.fitContentButton = new System.Windows.Forms.ToolStripButton(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.splitContainer2 = new System.Windows.Forms.SplitContainer(); this.graphTabControl = new System.Windows.Forms.TabControl(); this.graphTabPage = new System.Windows.Forms.TabPage(); this.graphControl = new yWorks.Controls.GraphControl(); this.previewTabPage = new System.Windows.Forms.TabPage(); this.previewCanvas = new yWorks.Controls.CanvasControl(); this.moveViewportInputMode1 = new yWorks.Controls.Input.MoveViewportInputMode(); this.description = new System.Windows.Forms.RichTextBox(); this.saveFileDialog = new System.Windows.Forms.SaveFileDialog(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); this.zoom_1_1_Button = new System.Windows.Forms.ToolStripButton(); this.toolStrip1.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.splitContainer2.Panel2.SuspendLayout(); this.splitContainer2.SuspendLayout(); this.graphTabControl.SuspendLayout(); this.graphTabPage.SuspendLayout(); this.previewTabPage.SuspendLayout(); this.toolStripContainer1.ContentPanel.SuspendLayout(); this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); this.toolStripContainer1.SuspendLayout(); this.SuspendLayout(); // // toolStrip1 // this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.exportButton, this.toolStripSeparator3, this.exportToFileButton, this.toolStripSeparator1, this.copyToClipboardButton, this.toolStripSeparator2, this.zoomInButton, this.zoomOutButton, this.zoom_1_1_Button, this.fitContentButton }); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Padding = new System.Windows.Forms.Padding(4); this.toolStrip1.Size = new System.Drawing.Size(724, 31); this.toolStrip1.Stretch = true; this.toolStrip1.TabIndex = 0; this.toolStrip1.Text = "toolStrip1"; // // exportButton // this.exportButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.exportButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.exportButton.Name = "exportButton"; this.exportButton.Size = new System.Drawing.Size(88, 20); this.exportButton.Text = "Export Preview"; this.exportButton.Click += new System.EventHandler(this.exportButton_Click); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 23); // // exportToFileButton // this.exportToFileButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.exportToFileButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.exportToFileButton.Name = "exportToFileButton"; this.exportToFileButton.Size = new System.Drawing.Size(79, 20); this.exportToFileButton.Text = "Export to File"; this.exportToFileButton.Click += new System.EventHandler(this.exportToFileButton_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 23); // // copyToClipboardButton // this.copyToClipboardButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.copyToClipboardButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.copyToClipboardButton.Name = "copyToClipboardButton"; this.copyToClipboardButton.Size = new System.Drawing.Size(113, 20); this.copyToClipboardButton.Text = "Export to Clipboard"; this.copyToClipboardButton.Click += new System.EventHandler(this.copyToClipboardButton_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 23); // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.ImageExport.Properties.Resources.plus_16; this.zoomInButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomInButton.Name = "zoomInButton"; this.zoomInButton.Size = new System.Drawing.Size(23, 20); this.zoomInButton.Text = "Zoom In"; // // zoomOutButton // this.zoomOutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomOutButton.Image = global::Demo.yFiles.ImageExport.Properties.Resources.minus_16; this.zoomOutButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomOutButton.Name = "zoomOutButton"; this.zoomOutButton.Size = new System.Drawing.Size(23, 20); this.zoomOutButton.Text = "Zoom Out"; // // fitContentButton // this.fitContentButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.fitContentButton.Image = global::Demo.yFiles.ImageExport.Properties.Resources.fit_16; this.fitContentButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.fitContentButton.Name = "fitContentButton"; this.fitContentButton.Size = new System.Drawing.Size(23, 20); this.fitContentButton.Text = "Fit Content"; // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.splitContainer1.Location = new System.Drawing.Point(0, 0); this.splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.description); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.toolStripContainer1); this.splitContainer1.Size = new System.Drawing.Size(980, 564); this.splitContainer1.SplitterDistance = 252; this.splitContainer1.TabIndex = 1; // // splitContainer2 // this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.splitContainer2.Location = new System.Drawing.Point(0, 0); this.splitContainer2.Name = "splitContainer2"; // // splitContainer2.Panel2 // this.splitContainer2.Panel2.Controls.Add(this.graphTabControl); this.splitContainer2.Size = new System.Drawing.Size(724, 533); this.splitContainer2.SplitterDistance = 308; this.splitContainer2.TabIndex = 2; // // graphTabControl // this.graphTabControl.Controls.Add(this.graphTabPage); this.graphTabControl.Controls.Add(this.previewTabPage); this.graphTabControl.Dock = System.Windows.Forms.DockStyle.Fill; this.graphTabControl.Location = new System.Drawing.Point(0, 0); this.graphTabControl.Name = "graphTabControl"; this.graphTabControl.SelectedIndex = 0; this.graphTabControl.Size = new System.Drawing.Size(412, 533); this.graphTabControl.TabIndex = 0; this.graphTabControl.SelectedIndexChanged += new System.EventHandler(this.graphTabControl_SelectedIndexChanged); // // graphTabPage // this.graphTabPage.BackColor = System.Drawing.SystemColors.ControlLight; this.graphTabPage.Controls.Add(this.graphControl); this.graphTabPage.Location = new System.Drawing.Point(4, 22); this.graphTabPage.Name = "graphTabPage"; this.graphTabPage.Padding = new System.Windows.Forms.Padding(5); this.graphTabPage.Size = new System.Drawing.Size(404, 507); this.graphTabPage.TabIndex = 0; this.graphTabPage.Text = "Graph"; // // graphControl // this.graphControl.BackColor = System.Drawing.Color.White; this.graphControl.ContentRect = new yWorks.Geometry.RectD(0D, 0D, 400D, 400D); this.graphControl.Dock = System.Windows.Forms.DockStyle.Fill; this.graphControl.FitContentViewMargins = new yWorks.Geometry.InsetsD(10D, 10D, 10D, 10D); this.graphControl.Location = new System.Drawing.Point(5, 5); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(394, 497); this.graphControl.TabIndex = 1; this.graphControl.Text = "Graph"; viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // previewTabPage // this.previewTabPage.BackColor = System.Drawing.SystemColors.ControlLight; this.previewTabPage.Controls.Add(this.previewCanvas); this.previewTabPage.Location = new System.Drawing.Point(4, 22); this.previewTabPage.Name = "previewTabPage"; this.previewTabPage.Padding = new System.Windows.Forms.Padding(5); this.previewTabPage.Size = new System.Drawing.Size(408, 507); this.previewTabPage.TabIndex = 1; this.previewTabPage.Text = "Export Preview"; // // previewCanvas // this.previewCanvas.BackColor = System.Drawing.Color.WhiteSmoke; this.previewCanvas.ContentRect = new yWorks.Geometry.RectD(0D, 0D, 400D, 400D); this.previewCanvas.Dock = System.Windows.Forms.DockStyle.Fill; this.previewCanvas.HorizontalScrollBarPolicy = yWorks.Controls.ScrollBarVisibility.Always; this.previewCanvas.InputMode = this.moveViewportInputMode1; this.previewCanvas.Location = new System.Drawing.Point(5, 5); this.previewCanvas.Margin = new System.Windows.Forms.Padding(5); this.previewCanvas.Name = "previewCanvas"; this.previewCanvas.Size = new System.Drawing.Size(398, 497); this.previewCanvas.TabIndex = 0; this.previewCanvas.Text = "previewControl"; this.previewCanvas.VerticalScrollBarPolicy = yWorks.Controls.ScrollBarVisibility.Always; viewportLimiter2.Bounds = null; this.previewCanvas.ViewportLimiter = viewportLimiter2; // // moveViewportInputMode1 // this.moveViewportInputMode1.DragCursor = System.Windows.Forms.Cursors.Hand; // // description // this.description.Dock = System.Windows.Forms.DockStyle.Fill; this.description.Location = new System.Drawing.Point(0, 0); this.description.Name = "description"; this.description.Size = new System.Drawing.Size(252, 564); this.description.TabIndex = 0; this.description.Text = ""; // // toolStripContainer1 // this.toolStripContainer1.BottomToolStripPanelVisible = false; // // toolStripContainer1.ContentPanel // this.toolStripContainer1.ContentPanel.Controls.Add(this.splitContainer2); this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(724, 533); this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStripContainer1.LeftToolStripPanelVisible = false; this.toolStripContainer1.Location = new System.Drawing.Point(0, 0); this.toolStripContainer1.Name = "toolStripContainer1"; this.toolStripContainer1.RightToolStripPanelVisible = false; this.toolStripContainer1.Size = new System.Drawing.Size(724, 564); this.toolStripContainer1.TabIndex = 2; this.toolStripContainer1.Text = "toolStripContainer1"; // // toolStripContainer1.TopToolStripPanel // this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1); // // zoom_1_1_Button // this.zoom_1_1_Button.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoom_1_1_Button.Image = global::Demo.yFiles.ImageExport.Properties.Resources.zoom_original3_16; this.zoom_1_1_Button.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoom_1_1_Button.Name = "zoom_1_1_Button"; this.zoom_1_1_Button.Size = new System.Drawing.Size(23, 20); this.zoom_1_1_Button.Text = "Zoom to 100%"; // // ImageExportForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(980, 564); this.Controls.Add(this.splitContainer1); this.Icon = global::Demo.yFiles.ImageExport.Properties.Resources.yIcon; this.Name = "ImageExportForm"; this.Text = "Image Export Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.ResumeLayout(false); this.splitContainer2.Panel2.ResumeLayout(false); this.splitContainer2.ResumeLayout(false); this.graphTabControl.ResumeLayout(false); this.graphTabPage.ResumeLayout(false); this.previewTabPage.ResumeLayout(false); this.toolStripContainer1.ContentPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.PerformLayout(); this.toolStripContainer1.ResumeLayout(false); this.toolStripContainer1.PerformLayout(); 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() { yWorks.Controls.ViewportLimiter viewportLimiter1 = new yWorks.Controls.ViewportLimiter(); yWorks.Controls.ViewportLimiter viewportLimiter2 = new yWorks.Controls.ViewportLimiter(); this.toolStripContainer = new System.Windows.Forms.ToolStripContainer(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); this.graphOverviewControl = new yWorks.Controls.GraphOverviewControl(); this.graphControl = new yWorks.Controls.GraphControl(); this.menuStrip = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator(); this.printToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exportImageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); this.undoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.redoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.zoomInToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.zoomOutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.zoom11ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.fitContentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.groupingToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.groupSelectionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ungroupSelectionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); this.expandGroupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.collapseGroupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); this.enterGroupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitGroupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStrip = new System.Windows.Forms.ToolStrip(); this.newButton = new System.Windows.Forms.ToolStripButton(); this.loadGraphMLButton = new System.Windows.Forms.ToolStripButton(); this.saveGraphMLButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.printButton = new System.Windows.Forms.ToolStripButton(); this.exportImageButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.undoButton = new System.Windows.Forms.ToolStripButton(); this.redoButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.cutButton = new System.Windows.Forms.ToolStripButton(); this.copyButton = new System.Windows.Forms.ToolStripButton(); this.pasteButton = new System.Windows.Forms.ToolStripButton(); this.deleteButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.zoomInButton = new System.Windows.Forms.ToolStripButton(); this.zoomOutButton = new System.Windows.Forms.ToolStripButton(); this.fitContentButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator(); this.groupButton = new System.Windows.Forms.ToolStripButton(); this.ungroupButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator(); this.snappingButton = new System.Windows.Forms.ToolStripButton(); this.orthogonalEditingButton = new System.Windows.Forms.ToolStripButton(); this.panel1 = new System.Windows.Forms.Panel(); this.toolStripContainer.ContentPanel.SuspendLayout(); this.toolStripContainer.TopToolStripPanel.SuspendLayout(); this.toolStripContainer.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.menuStrip.SuspendLayout(); this.toolStrip.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // toolStripContainer // // // toolStripContainer.ContentPanel // this.toolStripContainer.ContentPanel.Controls.Add(this.splitContainer1); this.toolStripContainer.ContentPanel.Size = new System.Drawing.Size(844, 528); this.toolStripContainer.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStripContainer.Location = new System.Drawing.Point(0, 0); this.toolStripContainer.Name = "toolStripContainer"; this.toolStripContainer.Size = new System.Drawing.Size(844, 583); this.toolStripContainer.TabIndex = 1; this.toolStripContainer.Text = "toolStripContainer1"; // // toolStripContainer.TopToolStripPanel // this.toolStripContainer.TopToolStripPanel.Controls.Add(this.menuStrip); this.toolStripContainer.TopToolStripPanel.Controls.Add(this.toolStrip); // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.splitContainer1.Location = new System.Drawing.Point(0, 0); this.splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.description); this.splitContainer1.Panel1.Controls.Add(this.panel1); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.graphControl); this.splitContainer1.Size = new System.Drawing.Size(844, 528); this.splitContainer1.SplitterDistance = 300; this.splitContainer1.TabIndex = 3; // // description // this.description.BackColor = System.Drawing.SystemColors.Window; this.description.Dock = System.Windows.Forms.DockStyle.Fill; this.description.Location = new System.Drawing.Point(0, 237); this.description.Name = "description"; this.description.ReadOnly = true; this.description.Size = new System.Drawing.Size(300, 291); this.description.TabIndex = 2; this.description.Text = ""; // // graphOverviewControl // this.graphOverviewControl.AutoDrag = false; this.graphOverviewControl.MouseWheelBehavior = MouseWheelBehaviors.None; this.graphOverviewControl.BackColor = System.Drawing.Color.White; this.graphOverviewControl.ContentRect = new yWorks.Geometry.RectD(0D, 0D, 400D, 400D); this.graphOverviewControl.Cursor = System.Windows.Forms.Cursors.Cross; this.graphOverviewControl.Dock = System.Windows.Forms.DockStyle.Fill; this.graphOverviewControl.Graph = null; this.graphOverviewControl.GraphControl = null; this.graphOverviewControl.GraphVisualCreator = null; this.graphOverviewControl.HorizontalScrollBarPolicy = yWorks.Controls.ScrollBarVisibility.Never; this.graphOverviewControl.Location = new System.Drawing.Point(0, 0); this.graphOverviewControl.Name = "graphOverviewControl"; this.graphOverviewControl.Size = new System.Drawing.Size(296, 233); this.graphOverviewControl.TabIndex = 1; this.graphOverviewControl.Text = "graphOverviewControl"; this.graphOverviewControl.VerticalScrollBarPolicy = yWorks.Controls.ScrollBarVisibility.Never; viewportLimiter1.Bounds = null; this.graphOverviewControl.ViewportLimiter = viewportLimiter1; // // graphControl // this.graphControl.BackColor = System.Drawing.Color.White; this.graphControl.ContentMargins = new yWorks.Geometry.InsetsD(10D, 10D, 10D, 10D); this.graphControl.ContentRect = new yWorks.Geometry.RectD(0D, 0D, 400D, 400D); this.graphControl.Cursor = System.Windows.Forms.Cursors.Cross; this.graphControl.Dock = System.Windows.Forms.DockStyle.Fill; this.graphControl.Location = new System.Drawing.Point(0, 0); this.graphControl.Name = "graphControl"; this.graphControl.PixelOffsetMode = System.Drawing.Drawing2D.PixelOffsetMode.Default; this.graphControl.Size = new System.Drawing.Size(540, 528); this.graphControl.TabIndex = 1; this.graphControl.Text = "graphControl"; this.graphControl.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias; viewportLimiter2.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter2; // // menuStrip // this.menuStrip.Dock = System.Windows.Forms.DockStyle.None; this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.editToolStripMenuItem, this.viewToolStripMenuItem, this.groupingToolStripMenuItem }); this.menuStrip.Location = new System.Drawing.Point(0, 0); this.menuStrip.Name = "menuStrip"; this.menuStrip.Size = new System.Drawing.Size(844, 24); this.menuStrip.TabIndex = 1; this.menuStrip.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newToolStripMenuItem, this.openToolStripMenuItem, this.saveToolStripMenuItem, this.toolStripSeparator10, this.printToolStripMenuItem, this.exportImageToolStripMenuItem, this.toolStripSeparator5, this.exitToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "File"; // // newToolStripMenuItem // this.newToolStripMenuItem.Name = "newToolStripMenuItem"; this.newToolStripMenuItem.Size = new System.Drawing.Size(143, 22); this.newToolStripMenuItem.Text = "New"; this.newToolStripMenuItem.Click += new System.EventHandler(this.newToolStripMenuItem_Click); // // openToolStripMenuItem // this.openToolStripMenuItem.Name = "openToolStripMenuItem"; this.openToolStripMenuItem.Size = new System.Drawing.Size(143, 22); this.openToolStripMenuItem.Text = "Open"; // // saveToolStripMenuItem // this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; this.saveToolStripMenuItem.Size = new System.Drawing.Size(143, 22); this.saveToolStripMenuItem.Text = "Save"; // // toolStripSeparator10 // this.toolStripSeparator10.Name = "toolStripSeparator10"; this.toolStripSeparator10.Size = new System.Drawing.Size(140, 6); // // printToolStripMenuItem // this.printToolStripMenuItem.Name = "printToolStripMenuItem"; this.printToolStripMenuItem.Size = new System.Drawing.Size(143, 22); this.printToolStripMenuItem.Text = "Print"; // // exportImageToolStripMenuItem // this.exportImageToolStripMenuItem.Name = "exportImageToolStripMenuItem"; this.exportImageToolStripMenuItem.Size = new System.Drawing.Size(143, 22); this.exportImageToolStripMenuItem.Text = "Export Image"; // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(140, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(143, 22); this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // // editToolStripMenuItem // this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cutToolStripMenuItem, this.copyToolStripMenuItem, this.pasteToolStripMenuItem, this.toolStripSeparator6, this.deleteToolStripMenuItem, this.toolStripSeparator7, this.undoToolStripMenuItem, this.redoToolStripMenuItem }); this.editToolStripMenuItem.Name = "editToolStripMenuItem"; this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20); this.editToolStripMenuItem.Text = "Edit"; // // cutToolStripMenuItem // this.cutToolStripMenuItem.Name = "cutToolStripMenuItem"; this.cutToolStripMenuItem.Size = new System.Drawing.Size(107, 22); this.cutToolStripMenuItem.Text = "Cut"; // // copyToolStripMenuItem // this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; this.copyToolStripMenuItem.Size = new System.Drawing.Size(107, 22); this.copyToolStripMenuItem.Text = "Copy"; // // pasteToolStripMenuItem // this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; this.pasteToolStripMenuItem.Size = new System.Drawing.Size(107, 22); this.pasteToolStripMenuItem.Text = "Paste"; // // toolStripSeparator6 // this.toolStripSeparator6.Name = "toolStripSeparator6"; this.toolStripSeparator6.Size = new System.Drawing.Size(104, 6); // // deleteToolStripMenuItem // this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem"; this.deleteToolStripMenuItem.Size = new System.Drawing.Size(107, 22); this.deleteToolStripMenuItem.Text = "Delete"; // // toolStripSeparator7 // this.toolStripSeparator7.Name = "toolStripSeparator7"; this.toolStripSeparator7.Size = new System.Drawing.Size(104, 6); // // undoToolStripMenuItem // this.undoToolStripMenuItem.Name = "undoToolStripMenuItem"; this.undoToolStripMenuItem.Size = new System.Drawing.Size(107, 22); this.undoToolStripMenuItem.Text = "Undo"; // // redoToolStripMenuItem // this.redoToolStripMenuItem.Name = "redoToolStripMenuItem"; this.redoToolStripMenuItem.Size = new System.Drawing.Size(107, 22); this.redoToolStripMenuItem.Text = "Redo"; // // viewToolStripMenuItem // this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.zoomInToolStripMenuItem, this.zoomOutToolStripMenuItem, this.zoom11ToolStripMenuItem, this.fitContentToolStripMenuItem }); this.viewToolStripMenuItem.Name = "viewToolStripMenuItem"; this.viewToolStripMenuItem.Size = new System.Drawing.Size(44, 20); this.viewToolStripMenuItem.Text = "View"; // // zoomInToolStripMenuItem // this.zoomInToolStripMenuItem.Name = "zoomInToolStripMenuItem"; this.zoomInToolStripMenuItem.Size = new System.Drawing.Size(133, 22); this.zoomInToolStripMenuItem.Text = "Zoom in"; // // zoomOutToolStripMenuItem // this.zoomOutToolStripMenuItem.Name = "zoomOutToolStripMenuItem"; this.zoomOutToolStripMenuItem.Size = new System.Drawing.Size(133, 22); this.zoomOutToolStripMenuItem.Text = "Zoom out"; // // zoom11ToolStripMenuItem // this.zoom11ToolStripMenuItem.Name = "zoom11ToolStripMenuItem"; this.zoom11ToolStripMenuItem.Size = new System.Drawing.Size(133, 22); this.zoom11ToolStripMenuItem.Text = "Zoom 1:1"; // // fitContentToolStripMenuItem // this.fitContentToolStripMenuItem.Name = "fitContentToolStripMenuItem"; this.fitContentToolStripMenuItem.Size = new System.Drawing.Size(133, 22); this.fitContentToolStripMenuItem.Text = "Fit Content"; // // groupingToolStripMenuItem // this.groupingToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.groupSelectionToolStripMenuItem, this.ungroupSelectionToolStripMenuItem, this.toolStripSeparator8, this.expandGroupToolStripMenuItem, this.collapseGroupToolStripMenuItem, this.toolStripSeparator9, this.enterGroupToolStripMenuItem, this.exitGroupToolStripMenuItem }); this.groupingToolStripMenuItem.Name = "groupingToolStripMenuItem"; this.groupingToolStripMenuItem.Size = new System.Drawing.Size(69, 20); this.groupingToolStripMenuItem.Text = "Grouping"; // // groupSelectionToolStripMenuItem // this.groupSelectionToolStripMenuItem.Name = "groupSelectionToolStripMenuItem"; this.groupSelectionToolStripMenuItem.Size = new System.Drawing.Size(172, 22); this.groupSelectionToolStripMenuItem.Text = "Group Selection"; // // ungroupSelectionToolStripMenuItem // this.ungroupSelectionToolStripMenuItem.Name = "ungroupSelectionToolStripMenuItem"; this.ungroupSelectionToolStripMenuItem.Size = new System.Drawing.Size(172, 22); this.ungroupSelectionToolStripMenuItem.Text = "Ungroup Selection"; // // toolStripSeparator8 // this.toolStripSeparator8.Name = "toolStripSeparator8"; this.toolStripSeparator8.Size = new System.Drawing.Size(169, 6); // // expandGroupToolStripMenuItem // this.expandGroupToolStripMenuItem.Name = "expandGroupToolStripMenuItem"; this.expandGroupToolStripMenuItem.Size = new System.Drawing.Size(172, 22); this.expandGroupToolStripMenuItem.Text = "Expand Group"; // // collapseGroupToolStripMenuItem // this.collapseGroupToolStripMenuItem.Name = "collapseGroupToolStripMenuItem"; this.collapseGroupToolStripMenuItem.Size = new System.Drawing.Size(172, 22); this.collapseGroupToolStripMenuItem.Text = "Collapse Group"; // // toolStripSeparator9 // this.toolStripSeparator9.Name = "toolStripSeparator9"; this.toolStripSeparator9.Size = new System.Drawing.Size(169, 6); // // enterGroupToolStripMenuItem // this.enterGroupToolStripMenuItem.Name = "enterGroupToolStripMenuItem"; this.enterGroupToolStripMenuItem.Size = new System.Drawing.Size(172, 22); this.enterGroupToolStripMenuItem.Text = "Enter Group"; // // exitGroupToolStripMenuItem // this.exitGroupToolStripMenuItem.Name = "exitGroupToolStripMenuItem"; this.exitGroupToolStripMenuItem.Size = new System.Drawing.Size(172, 22); this.exitGroupToolStripMenuItem.Text = "Exit Group"; // // toolStrip // this.toolStrip.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newButton, this.loadGraphMLButton, this.saveGraphMLButton, this.toolStripSeparator3, this.printButton, this.exportImageButton, this.toolStripSeparator1, this.undoButton, this.redoButton, this.toolStripSeparator4, this.cutButton, this.copyButton, this.pasteButton, this.deleteButton, this.toolStripSeparator2, this.zoomInButton, this.zoomOutButton, this.fitContentButton, this.toolStripSeparator11, this.groupButton, this.ungroupButton, this.toolStripSeparator12, this.snappingButton, this.orthogonalEditingButton }); this.toolStrip.Location = new System.Drawing.Point(0, 24); this.toolStrip.Name = "toolStrip"; this.toolStrip.Padding = new System.Windows.Forms.Padding(4); this.toolStrip.Size = new System.Drawing.Size(844, 31); this.toolStrip.Stretch = true; this.toolStrip.TabIndex = 0; // // newButton // this.newButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.newButton.Image = global::Demo.yFiles.Graph.EdgeToEdge.Properties.Resources.new_document_16; this.newButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.newButton.Name = "newButton"; this.newButton.Size = new System.Drawing.Size(23, 20); this.newButton.Text = "&New"; this.newButton.Click += new System.EventHandler(this.newButton_Click); // // loadGraphMLButton // this.loadGraphMLButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.loadGraphMLButton.Image = global::Demo.yFiles.Graph.EdgeToEdge.Properties.Resources.open_16; this.loadGraphMLButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.loadGraphMLButton.Name = "loadGraphMLButton"; this.loadGraphMLButton.Size = new System.Drawing.Size(23, 20); this.loadGraphMLButton.Text = "Load GraphML"; // // saveGraphMLButton // this.saveGraphMLButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.saveGraphMLButton.Image = global::Demo.yFiles.Graph.EdgeToEdge.Properties.Resources.save_16; this.saveGraphMLButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.saveGraphMLButton.Name = "saveGraphMLButton"; this.saveGraphMLButton.Size = new System.Drawing.Size(23, 20); this.saveGraphMLButton.Text = "Save GraphML"; // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 23); // // printButton // this.printButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.printButton.Image = global::Demo.yFiles.Graph.EdgeToEdge.Properties.Resources.print_16; this.printButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.printButton.Name = "printButton"; this.printButton.Size = new System.Drawing.Size(23, 20); this.printButton.Text = "Print ..."; // // exportImageButton // this.exportImageButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.exportImageButton.Image = global::Demo.yFiles.Graph.EdgeToEdge.Properties.Resources.export_image_16; this.exportImageButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.exportImageButton.Name = "exportImageButton"; this.exportImageButton.Size = new System.Drawing.Size(23, 20); this.exportImageButton.Text = "Export Image"; this.exportImageButton.Click += new System.EventHandler(this.exportImageButton_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 23); // // undoButton // this.undoButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.undoButton.Image = global::Demo.yFiles.Graph.EdgeToEdge.Properties.Resources.undo_16; this.undoButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.undoButton.Name = "undoButton"; this.undoButton.Size = new System.Drawing.Size(23, 20); this.undoButton.Text = "Undo"; // // redoButton // this.redoButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.redoButton.Image = global::Demo.yFiles.Graph.EdgeToEdge.Properties.Resources.redo_16; this.redoButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.redoButton.Name = "redoButton"; this.redoButton.Size = new System.Drawing.Size(23, 20); this.redoButton.Text = "Redo"; // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(6, 23); // // cutButton // this.cutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.cutButton.Image = global::Demo.yFiles.Graph.EdgeToEdge.Properties.Resources.cut2_16; this.cutButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.cutButton.Name = "cutButton"; this.cutButton.Size = new System.Drawing.Size(23, 20); this.cutButton.Text = "C&ut"; // // copyButton // this.copyButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.copyButton.Image = global::Demo.yFiles.Graph.EdgeToEdge.Properties.Resources.copy_16; this.copyButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.copyButton.Name = "copyButton"; this.copyButton.Size = new System.Drawing.Size(23, 20); this.copyButton.Text = "&Copy"; // // pasteButton // this.pasteButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.pasteButton.Image = global::Demo.yFiles.Graph.EdgeToEdge.Properties.Resources.paste_16; this.pasteButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.pasteButton.Name = "pasteButton"; this.pasteButton.Size = new System.Drawing.Size(23, 20); this.pasteButton.Text = "&Paste"; // // deleteButton // this.deleteButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.deleteButton.Image = global::Demo.yFiles.Graph.EdgeToEdge.Properties.Resources.delete2_16; this.deleteButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.deleteButton.Name = "deleteButton"; this.deleteButton.Size = new System.Drawing.Size(23, 20); this.deleteButton.Text = "Delete"; // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 23); // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.Graph.EdgeToEdge.Properties.Resources.plus_16; this.zoomInButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomInButton.Name = "zoomInButton"; this.zoomInButton.Size = new System.Drawing.Size(23, 20); this.zoomInButton.Text = "Zoom In"; // // zoomOutButton // this.zoomOutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomOutButton.Image = global::Demo.yFiles.Graph.EdgeToEdge.Properties.Resources.minus_16; this.zoomOutButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomOutButton.Name = "zoomOutButton"; this.zoomOutButton.Size = new System.Drawing.Size(23, 20); this.zoomOutButton.Text = "Zoom Out"; // // fitContentButton // this.fitContentButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.fitContentButton.Image = global::Demo.yFiles.Graph.EdgeToEdge.Properties.Resources.fit_16; this.fitContentButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.fitContentButton.Name = "fitContentButton"; this.fitContentButton.Size = new System.Drawing.Size(23, 20); this.fitContentButton.Text = "Fit Content"; // // toolStripSeparator11 // this.toolStripSeparator11.Name = "toolStripSeparator11"; this.toolStripSeparator11.Size = new System.Drawing.Size(6, 23); // // groupButton // this.groupButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.groupButton.Image = global::Demo.yFiles.Graph.EdgeToEdge.Properties.Resources.group_16; this.groupButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.groupButton.Name = "groupButton"; this.groupButton.Size = new System.Drawing.Size(23, 20); this.groupButton.Text = "Group Selection"; // // ungroupButton // this.ungroupButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.ungroupButton.Image = global::Demo.yFiles.Graph.EdgeToEdge.Properties.Resources.ungroup_16; this.ungroupButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.ungroupButton.Name = "ungroupButton"; this.ungroupButton.Size = new System.Drawing.Size(23, 20); this.ungroupButton.Text = "Ungroup Selection"; // // toolStripSeparator12 // this.toolStripSeparator12.Name = "toolStripSeparator12"; this.toolStripSeparator12.Size = new System.Drawing.Size(6, 23); // // snappingButton // this.snappingButton.CheckOnClick = true; this.snappingButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.snappingButton.Image = global::Demo.yFiles.Graph.EdgeToEdge.Properties.Resources.snap_16; this.snappingButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.snappingButton.Name = "snappingButton"; this.snappingButton.Size = new System.Drawing.Size(23, 20); this.snappingButton.Text = "Snapping"; this.snappingButton.Click += new System.EventHandler(this.snappingButton_Click); // // orthogonalEditingButton // this.orthogonalEditingButton.CheckOnClick = true; this.orthogonalEditingButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.orthogonalEditingButton.Image = global::Demo.yFiles.Graph.EdgeToEdge.Properties.Resources.orthogonal_editing_16; this.orthogonalEditingButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.orthogonalEditingButton.Name = "orthogonalEditingButton"; this.orthogonalEditingButton.Size = new System.Drawing.Size(23, 20); this.orthogonalEditingButton.Text = "Orthogonal Edges"; this.orthogonalEditingButton.Click += new System.EventHandler(this.orthogonalEditingButton_Click); // // panel1 // this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.graphOverviewControl); 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(300, 237); this.panel1.TabIndex = 3; // // EdgeToEdgeForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(844, 583); this.Controls.Add(this.toolStripContainer); this.MainMenuStrip = this.menuStrip; this.Icon = global::Demo.yFiles.Graph.EdgeToEdge.Properties.Resources.yIcon; this.Name = "EdgeToEdgeForm"; this.Text = "Edge To Edge Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.toolStripContainer.ContentPanel.ResumeLayout(false); this.toolStripContainer.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer.TopToolStripPanel.PerformLayout(); this.toolStripContainer.ResumeLayout(false); this.toolStripContainer.PerformLayout(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.ResumeLayout(false); this.menuStrip.ResumeLayout(false); this.menuStrip.PerformLayout(); this.toolStrip.ResumeLayout(false); this.toolStrip.PerformLayout(); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }