/// <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.toolStripContainer = new System.Windows.Forms.ToolStripContainer(); this.graphControl = new yWorks.Controls.GraphControl(); this.toolStrip = 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.openButton = new System.Windows.Forms.ToolStripButton(); this.saveButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.changeStyleButton = new System.Windows.Forms.ToolStripButton(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripContainer.ContentPanel.SuspendLayout(); this.toolStripContainer.TopToolStripPanel.SuspendLayout(); this.toolStripContainer.SuspendLayout(); this.toolStrip.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.SuspendLayout(); // // toolStripContainer // // // toolStripContainer.ContentPanel // this.toolStripContainer.ContentPanel.Controls.Add(this.graphControl); this.toolStripContainer.ContentPanel.Size = new System.Drawing.Size(678, 609); 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(678, 640); this.toolStripContainer.TabIndex = 1; this.toolStripContainer.Text = "toolStripContainer1"; // // toolStripContainer.TopToolStripPanel // this.toolStripContainer.TopToolStripPanel.Controls.Add(this.toolStrip); // // 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.Size = new System.Drawing.Size(678, 609); this.graphControl.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.graphControl.TabIndex = 1; this.graphControl.Text = "graphControl"; viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // toolStrip // this.toolStrip.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.openButton, this.saveButton, this.toolStripSeparator2, this.zoomInButton, this.zoomOutButton, this.fitContentButton, this.toolStripSeparator1, this.changeStyleButton }); this.toolStrip.Location = new System.Drawing.Point(0, 0); this.toolStrip.Name = "toolStrip"; this.toolStrip.Padding = new System.Windows.Forms.Padding(4); this.toolStrip.Size = new System.Drawing.Size(678, 31); this.toolStrip.Stretch = true; this.toolStrip.TabIndex = 0; // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.Graph.SimpleCustomStyle.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.SimpleCustomStyle.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.SimpleCustomStyle.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.ToolTipText = "Fit Content into View"; // // openButton // this.openButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.openButton.Image = global::Demo.yFiles.Graph.SimpleCustomStyle.Properties.Resources.open_16; this.openButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.openButton.Name = "openButton"; this.openButton.Size = new System.Drawing.Size(23, 20); this.openButton.Text = "Open GraphML"; // // saveButton // this.saveButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.saveButton.Image = global::Demo.yFiles.Graph.SimpleCustomStyle.Properties.Resources.save_16; this.saveButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.saveButton.Name = "saveButton"; this.saveButton.Size = new System.Drawing.Size(23, 20); this.saveButton.Text = "Save GraphML"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 23); // // changeStyleButton // this.changeStyleButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.changeStyleButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.changeStyleButton.Name = "changeStyleButton"; this.changeStyleButton.Size = new System.Drawing.Size(133, 20); this.changeStyleButton.Text = "Modify Selected Nodes"; this.changeStyleButton.Click += new System.EventHandler(this.ChangeStyleButton_Click); // // 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.toolStripContainer); this.splitContainer1.Size = new System.Drawing.Size(934, 640); this.splitContainer1.SplitterDistance = 252; this.splitContainer1.TabIndex = 2; // // description // this.description.BackColor = System.Drawing.SystemColors.Window; this.description.Dock = System.Windows.Forms.DockStyle.Fill; this.description.Location = new System.Drawing.Point(0, 0); this.description.Name = "description"; this.description.ReadOnly = true; this.description.Size = new System.Drawing.Size(252, 640); this.description.TabIndex = 3; this.description.Text = ""; // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 23); // // SimpleCustomStyleForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(934, 640); this.Controls.Add(this.splitContainer1); this.Icon = global::Demo.yFiles.Graph.SimpleCustomStyle.Properties.Resources.yIcon; this.Name = "SimpleCustomStyleForm"; this.Text = "Custom Style 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.toolStrip.ResumeLayout(false); this.toolStrip.PerformLayout(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.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() { yWorks.Controls.ViewportLimiter viewportLimiter1 = new yWorks.Controls.ViewportLimiter(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); this.graphControl = new yWorks.Controls.GraphControl(); this.nodeStyleListBox = new System.Windows.Forms.ListBox(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); this.exitToolStripMenuItem = 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.fitGraphBoundsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStrip = 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.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator(); this.runButton = new System.Windows.Forms.ToolStripButton(); this.openButton = new System.Windows.Forms.ToolStripButton(); this.saveButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.toolStripContainer1.ContentPanel.SuspendLayout(); this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); this.toolStripContainer1.SuspendLayout(); this.menuStrip1.SuspendLayout(); this.toolStrip.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.toolStripContainer1); this.splitContainer1.Size = new System.Drawing.Size(868, 601); 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, 601); this.description.TabIndex = 0; this.description.Text = ""; // // toolStripContainer1 // // // toolStripContainer1.ContentPanel // this.toolStripContainer1.ContentPanel.AutoScroll = true; this.toolStripContainer1.ContentPanel.Controls.Add(this.graphControl); this.toolStripContainer1.ContentPanel.Controls.Add(this.nodeStyleListBox); this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(612, 546); this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStripContainer1.Location = new System.Drawing.Point(0, 0); this.toolStripContainer1.Name = "toolStripContainer1"; this.toolStripContainer1.Size = new System.Drawing.Size(612, 601); this.toolStripContainer1.TabIndex = 7; this.toolStripContainer1.Text = "toolStripContainer1"; // // toolStripContainer1.TopToolStripPanel // this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.menuStrip1); this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip); // // graphControl // this.graphControl.BackColor = System.Drawing.Color.White; 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.FitContentViewMargins = new yWorks.Geometry.InsetsD(10D, 10D, 10D, 10D); this.graphControl.Location = new System.Drawing.Point(100, 0); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(512, 546); this.graphControl.TabIndex = 6; this.graphControl.Text = "graphControl1"; viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // nodeStyleListBox // this.nodeStyleListBox.Dock = System.Windows.Forms.DockStyle.Left; this.nodeStyleListBox.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.nodeStyleListBox.FormattingEnabled = true; this.nodeStyleListBox.IntegralHeight = false; this.nodeStyleListBox.Location = new System.Drawing.Point(0, 0); this.nodeStyleListBox.Name = "nodeStyleListBox"; this.nodeStyleListBox.Size = new System.Drawing.Size(100, 546); this.nodeStyleListBox.TabIndex = 0; // // menuStrip1 // this.menuStrip1.Dock = System.Windows.Forms.DockStyle.None; this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.viewToolStripMenuItem }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(612, 24); this.menuStrip1.TabIndex = 8; this.menuStrip1.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.openFileToolStripMenuItem, this.saveAsToolStripMenuItem, this.toolStripSeparator9, this.exitToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "File"; // // openFileToolStripMenuItem // this.openFileToolStripMenuItem.Name = "openFileToolStripMenuItem"; this.openFileToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.openFileToolStripMenuItem.Text = "Open"; // // saveAsToolStripMenuItem // this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.saveAsToolStripMenuItem.Text = "Save as..."; // // toolStripSeparator9 // this.toolStripSeparator9.Name = "toolStripSeparator9"; this.toolStripSeparator9.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.exitToolStripMenuItem_Click); // // viewToolStripMenuItem // this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.zoomInToolStripMenuItem, this.zoomOutToolStripMenuItem, this.fitGraphBoundsToolStripMenuItem }); 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(164, 22); this.zoomInToolStripMenuItem.Text = "Zoom in"; // // zoomOutToolStripMenuItem // this.zoomOutToolStripMenuItem.Name = "zoomOutToolStripMenuItem"; this.zoomOutToolStripMenuItem.Size = new System.Drawing.Size(164, 22); this.zoomOutToolStripMenuItem.Text = "Zoom out"; // // fitGraphBoundsToolStripMenuItem // this.fitGraphBoundsToolStripMenuItem.Name = "fitGraphBoundsToolStripMenuItem"; this.fitGraphBoundsToolStripMenuItem.Size = new System.Drawing.Size(164, 22); this.fitGraphBoundsToolStripMenuItem.Text = "Fit graph bounds"; // // toolStrip // this.toolStrip.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.openButton, this.saveButton, this.toolStripSeparator1, this.zoomInButton, this.zoomOutButton, this.fitContentButton, this.toolStripSeparator11, this.runButton }); 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(612, 31); this.toolStrip.Stretch = true; this.toolStrip.TabIndex = 3; // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.Layout.PortCandidateDemo.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.PortCandidateDemo.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.PortCandidateDemo.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); // // runButton // this.runButton.Image = global::Demo.yFiles.Layout.PortCandidateDemo.Properties.Resources.layout_hierarchic_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 layout"; this.runButton.Click += new System.EventHandler(this.OnRunButtonClicked); // // openButton // this.openButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.openButton.Image = global::Demo.yFiles.Layout.PortCandidateDemo.Properties.Resources.open_16; this.openButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.openButton.Name = "openButton"; this.openButton.Size = new System.Drawing.Size(23, 20); this.openButton.Text = "Open"; // // saveButton // this.saveButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.saveButton.Image = global::Demo.yFiles.Layout.PortCandidateDemo.Properties.Resources.save_16; this.saveButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.saveButton.Name = "saveButton"; this.saveButton.Size = new System.Drawing.Size(23, 20); this.saveButton.Text = "Save As..."; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 23); // // PortCandidateDemo // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(868, 601); this.Controls.Add(this.splitContainer1); this.Icon = global::Demo.yFiles.Layout.PortCandidateDemo.Properties.Resources.yIcon; this.Name = "PortCandidateDemo"; this.Text = "Port Candidate Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Demo_Load); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.ResumeLayout(false); this.toolStripContainer1.ContentPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.PerformLayout(); this.toolStripContainer1.ResumeLayout(false); this.toolStripContainer1.PerformLayout(); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.toolStrip.ResumeLayout(false); this.toolStrip.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(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); this.graphControl = new yWorks.Controls.GraphControl(); this.toolStrip = new System.Windows.Forms.ToolStrip(); 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.layoutComboBox = new System.Windows.Forms.ToolStripComboBox(); this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); this.stopDuration = new System.Windows.Forms.ToolStripTextBox(); this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel(); this.cancelDuration = new System.Windows.Forms.ToolStripTextBox(); this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.toolStrip.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.toolStrip); this.splitContainer1.Size = new System.Drawing.Size(1203, 601); 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, 601); this.description.TabIndex = 0; this.description.Text = ""; // // graphControl // this.graphControl.BackColor = System.Drawing.Color.White; 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.FitContentViewMargins = new yWorks.Geometry.InsetsD(10D, 10D, 10D, 10D); this.graphControl.Location = new System.Drawing.Point(0, 33); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(947, 568); this.graphControl.TabIndex = 6; this.graphControl.Text = "graphControl1"; this.graphControl.ViewPoint = new yWorks.Geometry.PointD(15D, -20D); viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // toolStrip // this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.zoomInButton, this.zoomOutButton, this.fitContentButton, this.toolStripSeparator1, this.undoButton, this.redoButton, this.toolStripSeparator4, this.cutButton, this.copyButton, this.pasteButton, this.deleteButton, this.toolStripSeparator2, this.layoutComboBox, this.toolStripLabel1, this.stopDuration, this.toolStripLabel3, this.cancelDuration, this.toolStripSeparator11, this.toolStripButton1 }); this.toolStrip.Location = new System.Drawing.Point(0, 0); this.toolStrip.Name = "toolStrip"; this.toolStrip.Padding = new System.Windows.Forms.Padding(4); this.toolStrip.Size = new System.Drawing.Size(947, 33); this.toolStrip.Stretch = true; this.toolStrip.TabIndex = 3; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // // undoButton // this.undoButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.undoButton.Image = global::Demo.yFiles.Layout.AbortHandler.Properties.Resources.undo_16; this.undoButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.undoButton.Name = "undoButton"; this.undoButton.Size = new System.Drawing.Size(23, 22); this.undoButton.Text = "Undo"; // // redoButton // this.redoButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.redoButton.Image = global::Demo.yFiles.Layout.AbortHandler.Properties.Resources.redo_16; this.redoButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.redoButton.Name = "redoButton"; this.redoButton.Size = new System.Drawing.Size(23, 22); this.redoButton.Text = "Redo"; // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25); // // cutButton // this.cutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.cutButton.Image = global::Demo.yFiles.Layout.AbortHandler.Properties.Resources.cut2_16; this.cutButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.cutButton.Name = "cutButton"; this.cutButton.Size = new System.Drawing.Size(23, 22); this.cutButton.Text = "C&ut"; // // copyButton // this.copyButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.copyButton.Image = global::Demo.yFiles.Layout.AbortHandler.Properties.Resources.copy_16; this.copyButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.copyButton.Name = "copyButton"; this.copyButton.Size = new System.Drawing.Size(23, 22); this.copyButton.Text = "&Copy"; // // pasteButton // this.pasteButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.pasteButton.Image = global::Demo.yFiles.Layout.AbortHandler.Properties.Resources.paste_16; this.pasteButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.pasteButton.Name = "pasteButton"; this.pasteButton.Size = new System.Drawing.Size(23, 22); this.pasteButton.Text = "&Paste"; // // deleteButton // this.deleteButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.deleteButton.Image = global::Demo.yFiles.Layout.AbortHandler.Properties.Resources.delete2_16; this.deleteButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.deleteButton.Name = "deleteButton"; this.deleteButton.Size = new System.Drawing.Size(23, 22); this.deleteButton.Text = "Delete"; // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.Layout.AbortHandler.Properties.Resources.plus_16; this.zoomInButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomInButton.Name = "zoomInButton"; this.zoomInButton.Size = new System.Drawing.Size(23, 22); this.zoomInButton.Text = "Zoom In"; // // zoomOutButton // this.zoomOutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomOutButton.Image = global::Demo.yFiles.Layout.AbortHandler.Properties.Resources.minus_16; this.zoomOutButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomOutButton.Name = "zoomOutButton"; this.zoomOutButton.Size = new System.Drawing.Size(23, 22); this.zoomOutButton.Text = "Zoom Out"; // // fitContentButton // this.fitContentButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.fitContentButton.Image = global::Demo.yFiles.Layout.AbortHandler.Properties.Resources.fit_16; this.fitContentButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.fitContentButton.Name = "fitContentButton"; this.fitContentButton.Size = new System.Drawing.Size(23, 22); this.fitContentButton.Text = "Fit Content"; // // toolStripSeparator11 // this.toolStripSeparator11.Name = "toolStripSeparator11"; this.toolStripSeparator11.Size = new System.Drawing.Size(6, 25); // // layouterComboBox // this.layoutComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.layoutComboBox.Items.AddRange(new object[] { "Hierarchic", "Organic", "Orthogonal" }); this.layoutComboBox.Name = "layoutComboBox"; this.layoutComboBox.Size = new System.Drawing.Size(125, 25); // // toolStripLabel1 // this.toolStripLabel1.Name = "toolStripLabel1"; this.toolStripLabel1.Size = new System.Drawing.Size(78, 22); this.toolStripLabel1.Text = "Stop Seconds"; // // stopDuration // this.stopDuration.AutoSize = false; this.stopDuration.Name = "stopDuration"; this.stopDuration.Size = new System.Drawing.Size(30, 25); this.stopDuration.Text = "0"; this.stopDuration.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // toolStripLabel3 // this.toolStripLabel3.Name = "toolStripLabel3"; this.toolStripLabel3.Size = new System.Drawing.Size(90, 22); this.toolStripLabel3.Text = "Cancel Seconds"; // // cancelDuration // this.cancelDuration.AutoSize = false; this.cancelDuration.Name = "cancelDuration"; this.cancelDuration.Size = new System.Drawing.Size(30, 25); this.cancelDuration.Text = "0"; this.cancelDuration.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // toolStripButton1 // this.toolStripButton1.Image = global::Demo.yFiles.Layout.AbortHandler.Properties.Resources.layout_hierarchic_16; this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton1.Name = "toolStripButton1"; this.toolStripButton1.Size = new System.Drawing.Size(63, 22); this.toolStripButton1.Text = "Layout"; this.toolStripButton1.Click += new System.EventHandler(this.OnLayoutButtonClicked); // // AbortHandlerForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1203, 601); this.Controls.Add(this.splitContainer1); this.Icon = global::Demo.yFiles.Layout.AbortHandler.Properties.Resources.yIcon; this.Name = "AbortHandlerForm"; this.Text = "AbortHandler Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.Panel2.PerformLayout(); this.splitContainer1.ResumeLayout(false); this.toolStrip.ResumeLayout(false); this.toolStrip.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(); this.label1 = new System.Windows.Forms.Label(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.label2 = new System.Windows.Forms.Label(); this.levelUpDown = new System.Windows.Forms.NumericUpDown(); this.layerVisualizationBorder = new System.Windows.Forms.Panel(); this.applyConfigButton = new System.Windows.Forms.Button(); this.reloadConfigurationsButton = new System.Windows.Forms.Button(); this.label3 = new System.Windows.Forms.Label(); this.nodePlacerTypeComboBox = new System.Windows.Forms.ComboBox(); this.rotationGrid = new System.Windows.Forms.GroupBox(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.leftRotationButton = new System.Windows.Forms.Button(); this.rightRotationButton = new System.Windows.Forms.Button(); this.horizMirrorButton = new System.Windows.Forms.Button(); this.vertMirrorButton = new System.Windows.Forms.Button(); this.placerOptionsBox = new System.Windows.Forms.GroupBox(); this.nodeSettingsLabel = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.nodePlacerTypeLabel = new System.Windows.Forms.Label(); this.nodePlacerDescriptionTextBox = new System.Windows.Forms.TextBox(); this.panel4 = new System.Windows.Forms.Panel(); this.previewControl = new yWorks.Controls.GraphControl(); this.flowLayoutPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.levelUpDown)).BeginInit(); this.rotationGrid.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); this.placerOptionsBox.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.BackColor = System.Drawing.Color.WhiteSmoke; this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label1.Dock = System.Windows.Forms.DockStyle.Top; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold); this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Padding = new System.Windows.Forms.Padding(0, 5, 0, 5); this.label1.Size = new System.Drawing.Size(283, 30); this.label1.TabIndex = 0; this.label1.Text = "Node Placer Settings"; this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // flowLayoutPanel1 // this.flowLayoutPanel1.Controls.Add(this.label2); this.flowLayoutPanel1.Controls.Add(this.levelUpDown); this.flowLayoutPanel1.Controls.Add(this.layerVisualizationBorder); this.flowLayoutPanel1.Controls.Add(this.applyConfigButton); this.flowLayoutPanel1.Controls.Add(this.reloadConfigurationsButton); this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Top; this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 30); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Padding = new System.Windows.Forms.Padding(10, 10, 0, 0); this.flowLayoutPanel1.Size = new System.Drawing.Size(283, 45); this.flowLayoutPanel1.TabIndex = 1; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(13, 18); this.label2.Margin = new System.Windows.Forms.Padding(3, 8, 3, 0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(36, 13); this.label2.TabIndex = 0; this.label2.Text = "Level:"; // // levelUpDown // this.levelUpDown.Location = new System.Drawing.Point(55, 15); this.levelUpDown.Margin = new System.Windows.Forms.Padding(3, 5, 3, 3); this.levelUpDown.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.levelUpDown.Name = "levelUpDown"; this.levelUpDown.Size = new System.Drawing.Size(53, 20); this.levelUpDown.TabIndex = 1; this.levelUpDown.Value = new decimal(new int[] { 1, 0, 0, 0 }); this.levelUpDown.ValueChanged += new System.EventHandler(this.levelUpDown_ValueChanged); // // layerVisualizationBorder // this.layerVisualizationBorder.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.layerVisualizationBorder.Location = new System.Drawing.Point(114, 13); this.layerVisualizationBorder.Name = "layerVisualizationBorder"; this.layerVisualizationBorder.Size = new System.Drawing.Size(34, 25); this.layerVisualizationBorder.TabIndex = 2; // // applyConfigButton // this.applyConfigButton.Location = new System.Drawing.Point(154, 13); this.applyConfigButton.Name = "applyConfigButton"; this.applyConfigButton.Size = new System.Drawing.Size(47, 25); this.applyConfigButton.TabIndex = 3; this.applyConfigButton.Text = "Apply"; this.applyConfigButton.UseVisualStyleBackColor = true; this.applyConfigButton.Click += new System.EventHandler(this.OnApplyButtonClicked); // // reloadConfigurationsButton // this.reloadConfigurationsButton.Image = global::Demo.yFiles.Layout.Tree.Properties.Resources.reload_16; this.reloadConfigurationsButton.Location = new System.Drawing.Point(207, 13); this.reloadConfigurationsButton.Name = "reloadConfigurationsButton"; this.reloadConfigurationsButton.Size = new System.Drawing.Size(50, 25); this.reloadConfigurationsButton.TabIndex = 4; this.reloadConfigurationsButton.UseVisualStyleBackColor = true; this.reloadConfigurationsButton.Click += new System.EventHandler(this.OnReloadButtonClicked); // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(23, 96); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(34, 13); this.label3.TabIndex = 2; this.label3.Text = "Type:"; // // nodePlacerTypeComboBox // this.nodePlacerTypeComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.nodePlacerTypeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.nodePlacerTypeComboBox.FormattingEnabled = true; this.nodePlacerTypeComboBox.Location = new System.Drawing.Point(73, 93); this.nodePlacerTypeComboBox.Name = "nodePlacerTypeComboBox"; this.nodePlacerTypeComboBox.Size = new System.Drawing.Size(191, 21); this.nodePlacerTypeComboBox.TabIndex = 3; this.nodePlacerTypeComboBox.SelectedIndexChanged += new System.EventHandler(this.NodePlacerComboBoxSelectionChanged); // // rotationGrid // this.rotationGrid.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.rotationGrid.Controls.Add(this.tableLayoutPanel1); this.rotationGrid.Location = new System.Drawing.Point(17, 129); this.rotationGrid.Name = "rotationGrid"; this.rotationGrid.Size = new System.Drawing.Size(250, 100); this.rotationGrid.TabIndex = 4; this.rotationGrid.TabStop = false; this.rotationGrid.Text = "Rotation"; // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 3; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.Controls.Add(this.label4, 0, 0); this.tableLayoutPanel1.Controls.Add(this.label5, 0, 1); this.tableLayoutPanel1.Controls.Add(this.leftRotationButton, 1, 0); this.tableLayoutPanel1.Controls.Add(this.rightRotationButton, 2, 0); this.tableLayoutPanel1.Controls.Add(this.horizMirrorButton, 1, 1); this.tableLayoutPanel1.Controls.Add(this.vertMirrorButton, 2, 1); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 16); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 2; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(244, 81); this.tableLayoutPanel1.TabIndex = 0; // // label4 // this.label4.AutoSize = true; this.label4.Dock = System.Windows.Forms.DockStyle.Fill; this.label4.Location = new System.Drawing.Point(3, 0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(39, 40); this.label4.TabIndex = 0; this.label4.Text = "Rotate"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label5 // this.label5.AutoSize = true; this.label5.Dock = System.Windows.Forms.DockStyle.Fill; this.label5.Location = new System.Drawing.Point(3, 40); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(39, 41); this.label5.TabIndex = 1; this.label5.Text = "Mirror"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // leftRotationButton // this.leftRotationButton.Dock = System.Windows.Forms.DockStyle.Fill; this.leftRotationButton.Location = new System.Drawing.Point(53, 8); this.leftRotationButton.Margin = new System.Windows.Forms.Padding(8); this.leftRotationButton.Name = "leftRotationButton"; this.leftRotationButton.Size = new System.Drawing.Size(83, 24); this.leftRotationButton.TabIndex = 2; this.leftRotationButton.Text = "Left"; this.leftRotationButton.UseVisualStyleBackColor = true; this.leftRotationButton.Click += new System.EventHandler(this.LeftRotateButtonClicked); // // rightRotationButton // this.rightRotationButton.Dock = System.Windows.Forms.DockStyle.Fill; this.rightRotationButton.Location = new System.Drawing.Point(152, 8); this.rightRotationButton.Margin = new System.Windows.Forms.Padding(8); this.rightRotationButton.Name = "rightRotationButton"; this.rightRotationButton.Size = new System.Drawing.Size(84, 24); this.rightRotationButton.TabIndex = 3; this.rightRotationButton.Text = "Right"; this.rightRotationButton.UseVisualStyleBackColor = true; this.rightRotationButton.Click += new System.EventHandler(this.RightRotateButtonClicked); // // horizMirrorButton // this.horizMirrorButton.Dock = System.Windows.Forms.DockStyle.Fill; this.horizMirrorButton.Location = new System.Drawing.Point(53, 48); this.horizMirrorButton.Margin = new System.Windows.Forms.Padding(8); this.horizMirrorButton.Name = "horizMirrorButton"; this.horizMirrorButton.Size = new System.Drawing.Size(83, 25); this.horizMirrorButton.TabIndex = 4; this.horizMirrorButton.Text = "Horiz"; this.horizMirrorButton.UseVisualStyleBackColor = true; this.horizMirrorButton.Click += new System.EventHandler(this.MirrorHorizButtonClicked); // // vertMirrorButton // this.vertMirrorButton.Dock = System.Windows.Forms.DockStyle.Fill; this.vertMirrorButton.Location = new System.Drawing.Point(152, 48); this.vertMirrorButton.Margin = new System.Windows.Forms.Padding(8); this.vertMirrorButton.Name = "vertMirrorButton"; this.vertMirrorButton.Size = new System.Drawing.Size(84, 25); this.vertMirrorButton.TabIndex = 5; this.vertMirrorButton.Text = "Vert"; this.vertMirrorButton.UseVisualStyleBackColor = true; this.vertMirrorButton.Click += new System.EventHandler(this.MirrorVertButtonClicked); // // placerOptionsBox // this.placerOptionsBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.placerOptionsBox.Controls.Add(this.nodeSettingsLabel); this.placerOptionsBox.Location = new System.Drawing.Point(16, 247); this.placerOptionsBox.Name = "placerOptionsBox"; this.placerOptionsBox.Size = new System.Drawing.Size(250, 206); this.placerOptionsBox.TabIndex = 5; this.placerOptionsBox.TabStop = false; this.placerOptionsBox.Text = "Placer Settings"; // // nodeSettingsLabel // this.nodeSettingsLabel.AutoSize = true; this.nodeSettingsLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.nodeSettingsLabel.ForeColor = System.Drawing.SystemColors.ScrollBar; this.nodeSettingsLabel.Location = new System.Drawing.Point(7, 29); this.nodeSettingsLabel.Name = "nodeSettingsLabel"; this.nodeSettingsLabel.Size = new System.Drawing.Size(155, 16); this.nodeSettingsLabel.TabIndex = 0; this.nodeSettingsLabel.Text = "No settings available"; // // panel2 // this.panel2.BackColor = System.Drawing.Color.Black; this.panel2.Location = new System.Drawing.Point(10, 460); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(257, 1); this.panel2.TabIndex = 6; // // panel3 // this.panel3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel3.BackColor = System.Drawing.Color.Black; this.panel3.Location = new System.Drawing.Point(10, 81); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(257, 1); this.panel3.TabIndex = 7; // // nodePlacerTypeLabel // this.nodePlacerTypeLabel.AutoSize = true; this.nodePlacerTypeLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.nodePlacerTypeLabel.Location = new System.Drawing.Point(13, 469); this.nodePlacerTypeLabel.Name = "nodePlacerTypeLabel"; this.nodePlacerTypeLabel.Size = new System.Drawing.Size(99, 13); this.nodePlacerTypeLabel.TabIndex = 8; this.nodePlacerTypeLabel.Text = "nodePlacerType"; // // nodePlacerDescriptionTextBox // this.nodePlacerDescriptionTextBox.BackColor = System.Drawing.Color.White; this.nodePlacerDescriptionTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None; this.nodePlacerDescriptionTextBox.Location = new System.Drawing.Point(12, 485); this.nodePlacerDescriptionTextBox.Multiline = true; this.nodePlacerDescriptionTextBox.Name = "nodePlacerDescriptionTextBox"; this.nodePlacerDescriptionTextBox.ReadOnly = true; this.nodePlacerDescriptionTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Horizontal; this.nodePlacerDescriptionTextBox.Size = new System.Drawing.Size(255, 82); this.nodePlacerDescriptionTextBox.TabIndex = 9; // // panel4 // this.panel4.BackColor = System.Drawing.Color.Black; this.panel4.Location = new System.Drawing.Point(10, 575); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(257, 1); this.panel4.TabIndex = 10; // // previewControl // this.previewControl.BackColor = System.Drawing.Color.White; this.previewControl.ContentMargins = new yWorks.Geometry.InsetsD(10D, 10D, 10D, 10D); this.previewControl.ContentRect = new yWorks.Geometry.RectD(0D, 0D, 400D, 400D); this.previewControl.Location = new System.Drawing.Point(12, 590); this.previewControl.Name = "previewControl"; this.previewControl.Size = new System.Drawing.Size(257, 300); this.previewControl.TabIndex = 11; this.previewControl.Text = "graphControl1"; viewportLimiter1.Bounds = null; this.previewControl.ViewportLimiter = viewportLimiter1; // // NodePlacerPanel // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.White; this.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.Controls.Add(this.previewControl); this.Controls.Add(this.panel4); this.Controls.Add(this.nodePlacerDescriptionTextBox); this.Controls.Add(this.nodePlacerTypeLabel); this.Controls.Add(this.panel3); this.Controls.Add(this.panel2); this.Controls.Add(this.placerOptionsBox); this.Controls.Add(this.rotationGrid); this.Controls.Add(this.nodePlacerTypeComboBox); this.Controls.Add(this.label3); this.Controls.Add(this.flowLayoutPanel1); this.Controls.Add(this.label1); this.MinimumSize = new System.Drawing.Size(283, 2); this.Name = "NodePlacerPanel"; this.Size = new System.Drawing.Size(283, 847); this.flowLayoutPanel1.ResumeLayout(false); this.flowLayoutPanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.levelUpDown)).EndInit(); this.rotationGrid.ResumeLayout(false); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); this.placerOptionsBox.ResumeLayout(false); this.placerOptionsBox.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { yWorks.Controls.ViewportLimiter viewportLimiter1 = new yWorks.Controls.ViewportLimiter(); yWorks.Controls.ViewportLimiter viewportLimiter2 = new yWorks.Controls.ViewportLimiter(); this.toolStripContainer = new System.Windows.Forms.ToolStripContainer(); this.loadingIndicator = new System.Windows.Forms.Panel(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.label4 = new System.Windows.Forms.Label(); this.stopButton = new System.Windows.Forms.Button(); this.graphControl = new yWorks.Controls.GraphControl(); this.toolStrip = 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.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); this.prevPageButton = new System.Windows.Forms.ToolStripButton(); this.pageNumberTextBox = new System.Windows.Forms.ToolStripTextBox(); this.nextPageButton = new System.Windows.Forms.ToolStripButton(); this.description = new System.Windows.Forms.RichTextBox(); this.outerSplitContainer = new System.Windows.Forms.SplitContainer(); this.innerSplitContainer = new System.Windows.Forms.SplitContainer(); this.graphControlSplitContainer = new System.Windows.Forms.SplitContainer(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); this.originalGraphControl = new yWorks.Controls.GraphControl(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.zoomInButtonOriginal = new System.Windows.Forms.ToolStripButton(); this.zoomOutButtonOriginal = new System.Windows.Forms.ToolStripButton(); this.fitContentButtonOriginal = new System.Windows.Forms.ToolStripButton(); this.propertiesPanel = new System.Windows.Forms.Panel(); this.showInputGraphButton = new System.Windows.Forms.CheckBox(); this.layoutButton = new System.Windows.Forms.Button(); this.coreLayoutComboBox = new System.Windows.Forms.ComboBox(); this.pageHeightTextBox = new System.Windows.Forms.TextBox(); this.pageWidthTextBox = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.inputGraphButton = new System.Windows.Forms.CheckBox(); this.toolStripContainer.ContentPanel.SuspendLayout(); this.toolStripContainer.TopToolStripPanel.SuspendLayout(); this.toolStripContainer.SuspendLayout(); this.loadingIndicator.SuspendLayout(); this.flowLayoutPanel1.SuspendLayout(); this.toolStrip.SuspendLayout(); this.outerSplitContainer.Panel1.SuspendLayout(); this.outerSplitContainer.Panel2.SuspendLayout(); this.outerSplitContainer.SuspendLayout(); this.innerSplitContainer.Panel1.SuspendLayout(); this.innerSplitContainer.Panel2.SuspendLayout(); this.innerSplitContainer.SuspendLayout(); this.graphControlSplitContainer.Panel1.SuspendLayout(); this.graphControlSplitContainer.Panel2.SuspendLayout(); this.graphControlSplitContainer.SuspendLayout(); this.toolStripContainer1.ContentPanel.SuspendLayout(); this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); this.toolStripContainer1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.propertiesPanel.SuspendLayout(); this.SuspendLayout(); // // toolStripContainer // // // toolStripContainer.ContentPanel // this.toolStripContainer.ContentPanel.Controls.Add(this.loadingIndicator); this.toolStripContainer.ContentPanel.Controls.Add(this.graphControl); this.toolStripContainer.ContentPanel.Size = new System.Drawing.Size(383, 552); 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(383, 583); this.toolStripContainer.TabIndex = 1; this.toolStripContainer.Text = "toolStripContainer1"; // // toolStripContainer.TopToolStripPanel // this.toolStripContainer.TopToolStripPanel.Controls.Add(this.toolStrip); // // loadingIndicator // this.loadingIndicator.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.loadingIndicator.BackColor = System.Drawing.SystemColors.ControlDark; this.loadingIndicator.Controls.Add(this.flowLayoutPanel1); this.loadingIndicator.Location = new System.Drawing.Point(0, 176); this.loadingIndicator.Name = "loadingIndicator"; this.loadingIndicator.Size = new System.Drawing.Size(383, 200); this.loadingIndicator.TabIndex = 2; // // flowLayoutPanel1 // this.flowLayoutPanel1.Anchor = System.Windows.Forms.AnchorStyles.None; this.flowLayoutPanel1.AutoSize = true; this.flowLayoutPanel1.Controls.Add(this.label4); this.flowLayoutPanel1.Controls.Add(this.stopButton); this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; this.flowLayoutPanel1.Location = new System.Drawing.Point(159, 76); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(81, 48); this.flowLayoutPanel1.TabIndex = 2; this.flowLayoutPanel1.WrapContents = false; // // label4 // this.label4.Anchor = System.Windows.Forms.AnchorStyles.None; this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(13, 0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(54, 13); this.label4.TabIndex = 0; this.label4.Text = "Loading..."; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // stopButton // this.stopButton.Location = new System.Drawing.Point(3, 16); this.stopButton.Name = "stopButton"; this.stopButton.Size = new System.Drawing.Size(75, 23); this.stopButton.TabIndex = 1; this.stopButton.Text = "Stop"; this.stopButton.UseVisualStyleBackColor = true; this.stopButton.Click += new System.EventHandler(this.StopLayoutButtonClick); // // 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(383, 552); this.graphControl.TabIndex = 1; this.graphControl.Text = "graphControl"; this.graphControl.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias; viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // toolStrip // this.toolStrip.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.zoomInButton, this.zoomOutButton, this.fitContentButton, this.toolStripSeparator1, this.toolStripLabel1, this.prevPageButton, this.pageNumberTextBox, this.nextPageButton }); this.toolStrip.Location = new System.Drawing.Point(0, 0); this.toolStrip.Name = "toolStrip"; this.toolStrip.Padding = new System.Windows.Forms.Padding(4); this.toolStrip.Size = new System.Drawing.Size(383, 31); this.toolStrip.Stretch = true; this.toolStrip.TabIndex = 0; // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.Layout.MultiPage.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.MultiPage.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.MultiPage.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); // // toolStripLabel1 // this.toolStripLabel1.Name = "toolStripLabel1"; this.toolStripLabel1.Size = new System.Drawing.Size(36, 20); this.toolStripLabel1.Text = "Page:"; // // prevPageButton // this.prevPageButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.prevPageButton.Image = global::Demo.yFiles.Layout.MultiPage.Properties.Resources.arrow_left_16; this.prevPageButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.prevPageButton.Name = "prevPageButton"; this.prevPageButton.Size = new System.Drawing.Size(23, 20); this.prevPageButton.Text = "<"; this.prevPageButton.TextImageRelation = System.Windows.Forms.TextImageRelation.TextBeforeImage; this.prevPageButton.ToolTipText = "Previous Page"; // // pageNumberTextBox // this.pageNumberTextBox.Name = "pageNumberTextBox"; this.pageNumberTextBox.Size = new System.Drawing.Size(40, 23); this.pageNumberTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.PageNumberTextBox_KeyDown); // // nextPageButton // this.nextPageButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.nextPageButton.Image = global::Demo.yFiles.Layout.MultiPage.Properties.Resources.arrow_right_16; this.nextPageButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.nextPageButton.Name = "nextPageButton"; this.nextPageButton.Size = new System.Drawing.Size(23, 20); this.nextPageButton.Text = ">"; this.nextPageButton.ToolTipText = "Next Page"; // // description // this.description.BackColor = System.Drawing.SystemColors.Window; this.description.Dock = System.Windows.Forms.DockStyle.Fill; this.description.Location = new System.Drawing.Point(0, 0); this.description.Name = "description"; this.description.ReadOnly = true; this.description.Size = new System.Drawing.Size(250, 583); this.description.TabIndex = 2; this.description.Text = ""; // // outerSplitContainer // this.outerSplitContainer.Dock = System.Windows.Forms.DockStyle.Fill; this.outerSplitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.outerSplitContainer.Location = new System.Drawing.Point(0, 0); this.outerSplitContainer.Name = "outerSplitContainer"; // // outerSplitContainer.Panel1 // this.outerSplitContainer.Panel1.Controls.Add(this.description); // // outerSplitContainer.Panel2 // this.outerSplitContainer.Panel2.Controls.Add(this.innerSplitContainer); this.outerSplitContainer.Size = new System.Drawing.Size(844, 583); this.outerSplitContainer.SplitterDistance = 250; this.outerSplitContainer.TabIndex = 2; // // innerSplitContainer // this.innerSplitContainer.Dock = System.Windows.Forms.DockStyle.Fill; this.innerSplitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; this.innerSplitContainer.Location = new System.Drawing.Point(0, 0); this.innerSplitContainer.Name = "innerSplitContainer"; // // innerSplitContainer.Panel1 // this.innerSplitContainer.Panel1.Controls.Add(this.graphControlSplitContainer); // // innerSplitContainer.Panel2 // this.innerSplitContainer.Panel2.Controls.Add(this.propertiesPanel); this.innerSplitContainer.Panel2.Controls.Add(this.label5); this.innerSplitContainer.Size = new System.Drawing.Size(590, 583); this.innerSplitContainer.SplitterDistance = 350; this.innerSplitContainer.TabIndex = 0; // // graphControlSplitContainer // this.graphControlSplitContainer.Dock = System.Windows.Forms.DockStyle.Fill; this.graphControlSplitContainer.IsSplitterFixed = true; this.graphControlSplitContainer.Location = new System.Drawing.Point(0, 0); this.graphControlSplitContainer.Name = "graphControlSplitContainer"; // // graphControlSplitContainer.Panel1 // this.graphControlSplitContainer.Panel1.Controls.Add(this.toolStripContainer1); this.graphControlSplitContainer.Panel1MinSize = 0; // // graphControlSplitContainer.Panel2 // this.graphControlSplitContainer.Panel2.Controls.Add(this.toolStripContainer); this.graphControlSplitContainer.Size = new System.Drawing.Size(387, 583); this.graphControlSplitContainer.SplitterDistance = 0; this.graphControlSplitContainer.TabIndex = 0; // // toolStripContainer1 // // // toolStripContainer1.ContentPanel // this.toolStripContainer1.ContentPanel.Controls.Add(this.originalGraphControl); this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(0, 552); this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStripContainer1.Location = new System.Drawing.Point(0, 0); this.toolStripContainer1.Name = "toolStripContainer1"; this.toolStripContainer1.Size = new System.Drawing.Size(0, 583); this.toolStripContainer1.TabIndex = 1; this.toolStripContainer1.Text = "toolStripContainer1"; // // toolStripContainer1.TopToolStripPanel // this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1); // // originalGraphControl // this.originalGraphControl.BackColor = System.Drawing.Color.White; this.originalGraphControl.ContentMargins = new yWorks.Geometry.InsetsD(10D, 10D, 10D, 10D); this.originalGraphControl.ContentRect = new yWorks.Geometry.RectD(0D, 0D, 400D, 400D); this.originalGraphControl.Dock = System.Windows.Forms.DockStyle.Fill; this.originalGraphControl.Location = new System.Drawing.Point(0, 0); this.originalGraphControl.Name = "originalGraphControl"; this.originalGraphControl.Size = new System.Drawing.Size(0, 552); this.originalGraphControl.TabIndex = 0; this.originalGraphControl.Text = "graphControl1"; viewportLimiter2.Bounds = null; this.originalGraphControl.ViewportLimiter = viewportLimiter2; // // toolStrip1 // this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.zoomInButtonOriginal, this.zoomOutButtonOriginal, this.fitContentButtonOriginal }); 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(0, 31); this.toolStrip1.Stretch = true; this.toolStrip1.TabIndex = 1; // // zoomInButtonOriginal // this.zoomInButtonOriginal.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButtonOriginal.Image = global::Demo.yFiles.Layout.MultiPage.Properties.Resources.plus_16; this.zoomInButtonOriginal.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomInButtonOriginal.Name = "zoomInButtonOriginal"; this.zoomInButtonOriginal.Size = new System.Drawing.Size(23, 20); this.zoomInButtonOriginal.Text = "Zoom In"; // // zoomOutButtonOriginal // this.zoomOutButtonOriginal.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomOutButtonOriginal.Image = global::Demo.yFiles.Layout.MultiPage.Properties.Resources.minus_16; this.zoomOutButtonOriginal.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomOutButtonOriginal.Name = "zoomOutButtonOriginal"; this.zoomOutButtonOriginal.Size = new System.Drawing.Size(23, 20); this.zoomOutButtonOriginal.Text = "Zoom Out"; // // fitContentButtonOriginal // this.fitContentButtonOriginal.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.fitContentButtonOriginal.Image = global::Demo.yFiles.Layout.MultiPage.Properties.Resources.fit_16; this.fitContentButtonOriginal.ImageTransparentColor = System.Drawing.Color.Magenta; this.fitContentButtonOriginal.Name = "fitContentButtonOriginal"; this.fitContentButtonOriginal.Size = new System.Drawing.Size(23, 20); this.fitContentButtonOriginal.Text = "Fit Content"; // // propertiesPanel // this.propertiesPanel.Controls.Add(this.showInputGraphButton); this.propertiesPanel.Controls.Add(this.layoutButton); this.propertiesPanel.Controls.Add(this.coreLayoutComboBox); this.propertiesPanel.Controls.Add(this.pageHeightTextBox); this.propertiesPanel.Controls.Add(this.pageWidthTextBox); this.propertiesPanel.Controls.Add(this.label3); this.propertiesPanel.Controls.Add(this.label2); this.propertiesPanel.Controls.Add(this.label1); this.propertiesPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.propertiesPanel.Location = new System.Drawing.Point(0, 23); this.propertiesPanel.Name = "propertiesPanel"; this.propertiesPanel.Size = new System.Drawing.Size(199, 560); this.propertiesPanel.TabIndex = 0; // // showInputGraphButton // this.showInputGraphButton.Appearance = System.Windows.Forms.Appearance.Button; this.showInputGraphButton.Location = new System.Drawing.Point(7, 123); this.showInputGraphButton.Name = "showInputGraphButton"; this.showInputGraphButton.Size = new System.Drawing.Size(189, 23); this.showInputGraphButton.TabIndex = 6; this.showInputGraphButton.Text = "Show Input Graph"; this.showInputGraphButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.showInputGraphButton.UseVisualStyleBackColor = true; this.showInputGraphButton.CheckedChanged += new System.EventHandler(this.ShowInputGraph_Click); // // layoutButton // this.layoutButton.Location = new System.Drawing.Point(7, 94); this.layoutButton.Name = "layoutButton"; this.layoutButton.Size = new System.Drawing.Size(189, 23); this.layoutButton.TabIndex = 5; this.layoutButton.Text = "Run Layout"; this.layoutButton.UseVisualStyleBackColor = true; this.layoutButton.Click += new System.EventHandler(this.RunLayout_Click); // // coreLayoutComboBox // this.coreLayoutComboBox.DropDownStyle = ComboBoxStyle.DropDownList; this.coreLayoutComboBox.FormattingEnabled = true; this.coreLayoutComboBox.Location = new System.Drawing.Point(74, 57); this.coreLayoutComboBox.Name = "coreLayoutComboBox"; this.coreLayoutComboBox.Size = new System.Drawing.Size(122, 21); this.coreLayoutComboBox.TabIndex = 4; // // pageHeightTextBox // this.pageHeightTextBox.Location = new System.Drawing.Point(74, 30); this.pageHeightTextBox.Name = "pageHeightTextBox"; this.pageHeightTextBox.Size = new System.Drawing.Size(122, 20); this.pageHeightTextBox.TabIndex = 3; this.pageHeightTextBox.Text = "800"; // // pageWidthTextBox // this.pageWidthTextBox.Location = new System.Drawing.Point(74, 4); this.pageWidthTextBox.Name = "pageWidthTextBox"; this.pageWidthTextBox.Size = new System.Drawing.Size(122, 20); this.pageWidthTextBox.TabIndex = 2; this.pageWidthTextBox.Text = "800"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(4, 60); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(64, 13); this.label3.TabIndex = 1; this.label3.Text = "Core Layout"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(4, 33); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(66, 13); this.label2.TabIndex = 1; this.label2.Text = "Page Height"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(4, 7); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(63, 13); this.label1.TabIndex = 0; this.label1.Text = "Page Width"; // // label5 // this.label5.Dock = System.Windows.Forms.DockStyle.Top; this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.Location = new System.Drawing.Point(0, 0); this.label5.Name = "label5"; this.label5.Padding = new System.Windows.Forms.Padding(5); this.label5.Size = new System.Drawing.Size(199, 23); this.label5.TabIndex = 7; this.label5.Text = "Layout Settings"; // // inputGraphButton // this.inputGraphButton.Appearance = System.Windows.Forms.Appearance.Button; this.inputGraphButton.Location = new System.Drawing.Point(7, 123); this.inputGraphButton.Name = "inputGraphButton"; this.inputGraphButton.Size = new System.Drawing.Size(189, 23); this.inputGraphButton.TabIndex = 6; this.inputGraphButton.Text = "Show Input Graph"; this.inputGraphButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.inputGraphButton.UseVisualStyleBackColor = true; this.inputGraphButton.CheckedChanged += new System.EventHandler(this.ShowInputGraph_Click); // // MultiPageForm // 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.outerSplitContainer); this.Icon = global::Demo.yFiles.Layout.MultiPage.Properties.Resources.yIcon; this.Name = "MultiPageForm"; this.Text = "MultiPage Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.OnLoad); this.toolStripContainer.ContentPanel.ResumeLayout(false); this.toolStripContainer.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer.TopToolStripPanel.PerformLayout(); this.toolStripContainer.ResumeLayout(false); this.toolStripContainer.PerformLayout(); this.loadingIndicator.ResumeLayout(false); this.loadingIndicator.PerformLayout(); this.flowLayoutPanel1.ResumeLayout(false); this.flowLayoutPanel1.PerformLayout(); this.toolStrip.ResumeLayout(false); this.toolStrip.PerformLayout(); this.outerSplitContainer.Panel1.ResumeLayout(false); this.outerSplitContainer.Panel2.ResumeLayout(false); this.outerSplitContainer.ResumeLayout(false); this.innerSplitContainer.Panel1.ResumeLayout(false); this.innerSplitContainer.Panel2.ResumeLayout(false); this.innerSplitContainer.ResumeLayout(false); this.graphControlSplitContainer.Panel1.ResumeLayout(false); this.graphControlSplitContainer.Panel2.ResumeLayout(false); this.graphControlSplitContainer.ResumeLayout(false); this.toolStripContainer1.ContentPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.PerformLayout(); this.toolStripContainer1.ResumeLayout(false); this.toolStripContainer1.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.propertiesPanel.ResumeLayout(false); this.propertiesPanel.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.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.OpenMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.SaveMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ExitMenuItem = 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.pasteSpecialToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 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.cutButton = new System.Windows.Forms.ToolStripButton(); this.copyButton = new System.Windows.Forms.ToolStripButton(); this.pasteButton = new System.Windows.Forms.ToolStripButton(); this.pasteSpecialButton = new System.Windows.Forms.ToolStripButton(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); this.tabControl = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.graphControl = new yWorks.Controls.GraphControl(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.graphControl2 = new yWorks.Controls.GraphControl(); this.menuStrip1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.toolStripContainer1.ContentPanel.SuspendLayout(); this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); this.toolStripContainer1.SuspendLayout(); this.tabControl.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.SuspendLayout(); // // menuStrip1 // this.menuStrip1.Dock = System.Windows.Forms.DockStyle.None; this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripMenuItem1, this.editToolStripMenuItem }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(945, 24); this.menuStrip1.TabIndex = 1; this.menuStrip1.Text = "FileMenuStrip"; // // toolStripMenuItem1 // this.toolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.OpenMenuItem, this.SaveMenuItem, this.ExitMenuItem }); this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new System.Drawing.Size(37, 20); this.toolStripMenuItem1.Text = "File"; // // OpenMenuItem // this.OpenMenuItem.Name = "OpenMenuItem"; this.OpenMenuItem.Size = new System.Drawing.Size(112, 22); this.OpenMenuItem.Text = "Open..."; // // SaveMenuItem // this.SaveMenuItem.Name = "SaveMenuItem"; this.SaveMenuItem.Size = new System.Drawing.Size(112, 22); this.SaveMenuItem.Text = "Save..."; // // ExitMenuItem // this.ExitMenuItem.Name = "ExitMenuItem"; this.ExitMenuItem.Size = new System.Drawing.Size(112, 22); this.ExitMenuItem.Text = "Exit"; this.ExitMenuItem.Click += new System.EventHandler(this.ExitMenuItem_Click); // // editToolStripMenuItem // this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cutToolStripMenuItem, this.copyToolStripMenuItem, this.pasteToolStripMenuItem, this.pasteSpecialToolStripMenuItem }); 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(142, 22); this.cutToolStripMenuItem.Text = "Cut"; // // copyToolStripMenuItem // this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; this.copyToolStripMenuItem.Size = new System.Drawing.Size(142, 22); this.copyToolStripMenuItem.Text = "Copy"; // // pasteToolStripMenuItem // this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; this.pasteToolStripMenuItem.Size = new System.Drawing.Size(142, 22); this.pasteToolStripMenuItem.Text = "Paste"; // // pasteSpecialToolStripMenuItem // this.pasteSpecialToolStripMenuItem.Name = "pasteSpecialToolStripMenuItem"; this.pasteSpecialToolStripMenuItem.Size = new System.Drawing.Size(142, 22); this.pasteSpecialToolStripMenuItem.Text = "Paste Special"; // // toolStrip1 // this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.zoomInButton, this.zoomOutButton, this.fitContentButton, this.toolStripSeparator1, this.cutButton, this.copyButton, this.pasteButton, this.pasteSpecialButton }); 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(945, 31); this.toolStrip1.Stretch = true; this.toolStrip1.TabIndex = 2; this.toolStrip1.Text = "toolStrip1"; // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.Graph.Clipboard.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.ToolTipText = "Zoom In"; // // zoomOutButton // this.zoomOutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomOutButton.Image = global::Demo.yFiles.Graph.Clipboard.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.ToolTipText = "Zoom Out"; // // fitContentButton // this.fitContentButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.fitContentButton.Image = global::Demo.yFiles.Graph.Clipboard.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.ToolTipText = "Fit Content"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 23); // // cutButton // this.cutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.cutButton.Image = global::Demo.yFiles.Graph.Clipboard.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 = "Cut"; // // copyButton // this.copyButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.copyButton.Image = global::Demo.yFiles.Graph.Clipboard.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.Clipboard.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"; // // pasteSpecialButton // this.pasteSpecialButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.pasteSpecialButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.pasteSpecialButton.Name = "pasteSpecialButton"; this.pasteSpecialButton.Size = new System.Drawing.Size(79, 20); this.pasteSpecialButton.Text = "Paste Special"; // // 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(1201, 585); this.splitContainer1.SplitterDistance = 252; 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, 0); this.description.Name = "description"; this.description.ReadOnly = true; this.description.Size = new System.Drawing.Size(252, 585); this.description.TabIndex = 3; this.description.Text = ""; // // toolStripContainer1 // // // toolStripContainer1.ContentPanel // this.toolStripContainer1.ContentPanel.AutoScroll = true; this.toolStripContainer1.ContentPanel.Controls.Add(this.tabControl); this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(945, 530); this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStripContainer1.Location = new System.Drawing.Point(0, 0); this.toolStripContainer1.Name = "toolStripContainer1"; this.toolStripContainer1.Size = new System.Drawing.Size(945, 585); this.toolStripContainer1.TabIndex = 0; this.toolStripContainer1.Text = "toolStripContainer1"; // // toolStripContainer1.TopToolStripPanel // this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.menuStrip1); this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1); // // tabControl // this.tabControl.Controls.Add(this.tabPage1); this.tabControl.Controls.Add(this.tabPage2); this.tabControl.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl.Location = new System.Drawing.Point(0, 0); this.tabControl.Name = "tabControl"; this.tabControl.SelectedIndex = 0; this.tabControl.Size = new System.Drawing.Size(945, 530); this.tabControl.TabIndex = 1; // // tabPage1 // this.tabPage1.Controls.Add(this.graphControl); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(937, 504); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Graph 1"; this.tabPage1.UseVisualStyleBackColor = true; // // 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(3, 3); this.graphControl.Name = "graphControl"; this.graphControl.NavigationCommandsEnabled = false; this.graphControl.Size = new System.Drawing.Size(931, 498); this.graphControl.TabIndex = 0; this.graphControl.Text = "graphControl1"; viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // tabPage2 // this.tabPage2.Controls.Add(this.graphControl2); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); this.tabPage2.Size = new System.Drawing.Size(937, 504); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Graph 2"; this.tabPage2.UseVisualStyleBackColor = true; // // graphControl2 // this.graphControl2.BackColor = System.Drawing.Color.White; this.graphControl2.ContentMargins = new yWorks.Geometry.InsetsD(10D, 10D, 10D, 10D); this.graphControl2.ContentRect = new yWorks.Geometry.RectD(0D, 0D, 400D, 400D); this.graphControl2.Cursor = System.Windows.Forms.Cursors.Cross; this.graphControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.graphControl2.Location = new System.Drawing.Point(3, 3); this.graphControl2.Name = "graphControl2"; this.graphControl2.NavigationCommandsEnabled = false; this.graphControl2.Size = new System.Drawing.Size(931, 498); this.graphControl2.TabIndex = 0; this.graphControl2.Text = "graphControl2"; viewportLimiter2.Bounds = null; this.graphControl2.ViewportLimiter = viewportLimiter2; // // GraphClipboardForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1201, 585); this.Controls.Add(this.splitContainer1); this.Icon = global::Demo.yFiles.Graph.Clipboard.Properties.Resources.yIcon; this.MainMenuStrip = this.menuStrip1; this.Name = "GraphClipboardForm"; this.Text = "Graph Clipboard Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.ResumeLayout(false); this.toolStripContainer1.ContentPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.PerformLayout(); this.toolStripContainer1.ResumeLayout(false); this.toolStripContainer1.PerformLayout(); this.tabControl.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage2.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() { yWorks.Controls.ViewportLimiter viewportLimiter1 = new yWorks.Controls.ViewportLimiter(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); this.graphControl = new yWorks.Controls.GraphControl(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.exitToolStripMenuItem = 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.fitGraphBoundsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 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.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.reloadButton = new System.Windows.Forms.ToolStripButton(); this.connectNodes = new System.Windows.Forms.ToolStripButton(); this.runButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.toolStripContainer1.ContentPanel.SuspendLayout(); this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); this.toolStripContainer1.SuspendLayout(); this.menuStrip1.SuspendLayout(); this.toolStrip1.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.toolStripContainer1); this.splitContainer1.Size = new System.Drawing.Size(868, 601); 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, 601); this.description.TabIndex = 0; this.description.Text = ""; // // toolStripContainer1 // // // toolStripContainer1.ContentPanel // this.toolStripContainer1.ContentPanel.Controls.Add(this.graphControl); this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(612, 546); this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStripContainer1.Location = new System.Drawing.Point(0, 0); this.toolStripContainer1.Name = "toolStripContainer1"; this.toolStripContainer1.Size = new System.Drawing.Size(612, 601); this.toolStripContainer1.TabIndex = 1; this.toolStripContainer1.Text = "toolStripContainer1"; // // toolStripContainer1.TopToolStripPanel // this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.menuStrip1); this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1); // // 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.Default; this.graphControl.Dock = System.Windows.Forms.DockStyle.Fill; this.graphControl.FileOperationsEnabled = true; this.graphControl.Location = new System.Drawing.Point(0, 0); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(612, 546); this.graphControl.TabIndex = 6; this.graphControl.Text = "graphControl1"; this.graphControl.ViewPoint = new yWorks.Geometry.PointD(0D, -29D); viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // menuStrip1 // this.menuStrip1.Dock = System.Windows.Forms.DockStyle.None; this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.viewToolStripMenuItem }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(612, 24); this.menuStrip1.TabIndex = 7; this.menuStrip1.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.openFileToolStripMenuItem, this.saveAsToolStripMenuItem, this.toolStripSeparator3, this.exitToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "File"; // // openFileToolStripMenuItem // this.openFileToolStripMenuItem.Name = "openFileToolStripMenuItem"; this.openFileToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.openFileToolStripMenuItem.Text = "Open"; // // saveAsToolStripMenuItem // this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.saveAsToolStripMenuItem.Text = "Save as..."; // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.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.exitToolStripMenuItem_Click); // // viewToolStripMenuItem // this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.zoomInToolStripMenuItem, this.zoomOutToolStripMenuItem, this.fitGraphBoundsToolStripMenuItem }); 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(165, 22); this.zoomInToolStripMenuItem.Text = "Zoom In"; // // zoomOutToolStripMenuItem // this.zoomOutToolStripMenuItem.Name = "zoomOutToolStripMenuItem"; this.zoomOutToolStripMenuItem.Size = new System.Drawing.Size(165, 22); this.zoomOutToolStripMenuItem.Text = "Zoom Out"; // // fitGraphBoundsToolStripMenuItem // this.fitGraphBoundsToolStripMenuItem.Name = "fitGraphBoundsToolStripMenuItem"; this.fitGraphBoundsToolStripMenuItem.Size = new System.Drawing.Size(165, 22); this.fitGraphBoundsToolStripMenuItem.Text = "Fit Graph Bounds"; // // toolStrip1 // this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.reloadButton, this.toolStripSeparator1, this.zoomInButton, this.zoomOutButton, this.fitContentButton, this.toolStripSeparator5, this.connectNodes, 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(612, 31); this.toolStrip1.Stretch = true; this.toolStrip1.TabIndex = 5; this.toolStrip1.Text = "toolStrip1"; // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.Layout.BusRouterDemo.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.BusRouterDemo.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.BusRouterDemo.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"; // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(6, 23); // // reloadButton // this.reloadButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.reloadButton.Image = global::Demo.yFiles.Layout.BusRouterDemo.Properties.Resources.new_document_16; this.reloadButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.reloadButton.Name = "reloadButton"; this.reloadButton.Size = new System.Drawing.Size(23, 20); this.reloadButton.Text = "Reload Sample Graph"; this.reloadButton.Click += new System.EventHandler(this.OnRefreshButtonClicked); // // connectNodes // this.connectNodes.Image = global::Demo.yFiles.Layout.BusRouterDemo.Properties.Resources.layout_tree_16; this.connectNodes.ImageTransparentColor = System.Drawing.Color.Magenta; this.connectNodes.Name = "connectNodes"; this.connectNodes.Size = new System.Drawing.Size(109, 20); this.connectNodes.Text = "Connect Nodes"; this.connectNodes.Click += new System.EventHandler(this.OnConnectNodesClick); // // runButton // this.runButton.Image = global::Demo.yFiles.Layout.BusRouterDemo.Properties.Resources.reload_16; this.runButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.runButton.Name = "runButton"; this.runButton.Size = new System.Drawing.Size(87, 20); this.runButton.Text = "Run Layout"; this.runButton.ToolTipText = "Run layout"; this.runButton.Click += new System.EventHandler(this.OnRunButtonClicked); // // toolStripSeparator11 // this.toolStripSeparator11.Name = "toolStripSeparator11"; this.toolStripSeparator11.Size = new System.Drawing.Size(6, 25); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 23); // // BusRouterDemo // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(868, 601); this.Controls.Add(this.splitContainer1); this.Icon = global::Demo.yFiles.Layout.BusRouterDemo.Properties.Resources.yIcon; this.Name = "BusRouterDemo"; this.Text = "BusRouter Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Demo_Load); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.ResumeLayout(false); this.toolStripContainer1.ContentPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.PerformLayout(); this.toolStripContainer1.ResumeLayout(false); this.toolStripContainer1.PerformLayout(); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MoveUnselectedNodesForm)); yWorks.Controls.ViewportLimiter viewportLimiter6 = new yWorks.Controls.ViewportLimiter(); this.splitContainer = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); 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.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); this.cmbMode = new System.Windows.Forms.ToolStripComboBox(); this.btnEnable = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.btnClassic = new System.Windows.Forms.ToolStripButton(); this.graphControl = new yWorks.Controls.GraphControl(); this.splitContainer.Panel1.SuspendLayout(); this.splitContainer.Panel2.SuspendLayout(); this.splitContainer.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.SuspendLayout(); // // splitContainer // this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.splitContainer.Location = new System.Drawing.Point(0, 0); this.splitContainer.Name = "splitContainer"; // // splitContainer.Panel1 // this.splitContainer.Panel1.Controls.Add(this.description); // // splitContainer.Panel2 // this.splitContainer.Panel2.Controls.Add(this.toolStrip1); this.splitContainer.Panel2.Controls.Add(this.graphControl); this.splitContainer.Size = new System.Drawing.Size(925, 594); this.splitContainer.SplitterDistance = 252; this.splitContainer.TabIndex = 0; // // description // this.description.BackColor = System.Drawing.SystemColors.Window; this.description.Dock = System.Windows.Forms.DockStyle.Fill; this.description.Location = new System.Drawing.Point(0, 0); this.description.Name = "description"; this.description.ReadOnly = true; this.description.Size = new System.Drawing.Size(252, 594); this.description.TabIndex = 0; this.description.Text = ""; // // toolStrip1 // this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.zoomInButton, this.zoomOutButton, this.fitContentButton, this.toolStripSeparator1, this.toolStripLabel1, this.cmbMode, this.btnEnable, this.toolStripSeparator2, this.btnClassic }); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(669, 25); this.toolStrip1.TabIndex = 1; this.toolStrip1.Text = "toolStrip1"; // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.Graph.Input.MoveUnselectedNodes.Properties.Resources.plus_16; this.zoomInButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomInButton.Name = "zoomInButton"; this.zoomInButton.Size = new System.Drawing.Size(23, 22); this.zoomInButton.Text = "toolStripButton1"; // // zoomOutButton // this.zoomOutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomOutButton.Image = global::Demo.yFiles.Graph.Input.MoveUnselectedNodes.Properties.Resources.minus_16; this.zoomOutButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomOutButton.Name = "zoomOutButton"; this.zoomOutButton.Size = new System.Drawing.Size(23, 22); this.zoomOutButton.Text = "toolStripButton2"; // // fitContentButton // this.fitContentButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.fitContentButton.Image = global::Demo.yFiles.Graph.Input.MoveUnselectedNodes.Properties.Resources.fit_16; this.fitContentButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.fitContentButton.Name = "fitContentButton"; this.fitContentButton.Size = new System.Drawing.Size(23, 22); this.fitContentButton.Text = "toolStripButton3"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // // toolStripLabel1 // this.toolStripLabel1.Name = "toolStripLabel1"; this.toolStripLabel1.Size = new System.Drawing.Size(138, 22); this.toolStripLabel1.Text = "Move Unselected Nodes:"; this.toolStripLabel1.Click += new System.EventHandler(this.OnMoveModeChanged); // // cmbMode // this.cmbMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbMode.Items.AddRange(new object[] { "Always", "Shift Not Pressed", "Drag at Top", "If Move Enabled", "Never" }); this.cmbMode.Name = "cmbMode"; this.cmbMode.Size = new System.Drawing.Size(121, 25); this.cmbMode.SelectedIndexChanged += new System.EventHandler(this.OnMoveModeChanged); // // btnEnable // this.btnEnable.CheckOnClick = true; this.btnEnable.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.btnEnable.Image = ((System.Drawing.Image)(resources.GetObject("btnEnable.Image"))); this.btnEnable.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnEnable.Name = "btnEnable"; this.btnEnable.Size = new System.Drawing.Size(86, 22); this.btnEnable.Text = "Move Enabled"; // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); // // btnClassic // this.btnClassic.CheckOnClick = true; this.btnClassic.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.btnClassic.Image = ((System.Drawing.Image)(resources.GetObject("btnClassic.Image"))); this.btnClassic.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnClassic.Name = "btnClassic"; this.btnClassic.Size = new System.Drawing.Size(81, 22); this.btnClassic.Text = "Classic Mode"; this.btnClassic.Click += new System.EventHandler(this.OnClassicClicked); // // graphControl // this.graphControl.BackColor = System.Drawing.Color.White; 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.Size = new System.Drawing.Size(669, 594); this.graphControl.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.graphControl.TabIndex = 0; this.graphControl.Text = "graphControl"; viewportLimiter6.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter6; // // MoveUnselectedNodesForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(925, 594); this.Controls.Add(this.splitContainer); this.Icon = global::Demo.yFiles.Graph.Input.MoveUnselectedNodes.Properties.Resources.yIcon; this.Name = "MoveUnselectedNodesForm"; this.Text = "Move Unselected Nodes Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.splitContainer.Panel1.ResumeLayout(false); this.splitContainer.Panel2.ResumeLayout(false); this.splitContainer.Panel2.PerformLayout(); this.splitContainer.ResumeLayout(false); this.toolStrip1.ResumeLayout(false); this.toolStrip1.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(); 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.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); this.layoutComboBox = new System.Windows.Forms.ToolStripComboBox(); this.runButton = new System.Windows.Forms.ToolStripButton(); this.toolStrip = new System.Windows.Forms.ToolStrip(); this.loadGraphMLButton = new System.Windows.Forms.ToolStripButton(); this.saveGraphMLButton = new System.Windows.Forms.ToolStripButton(); this.printButton = 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.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.toolStrip.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.toolStrip); this.splitContainer1.Size = new System.Drawing.Size(868, 601); 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, 601); this.description.TabIndex = 0; this.description.Text = ""; // // graphControl // this.graphControl.BackColor = System.Drawing.Color.White; 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.FitContentViewMargins = new yWorks.Geometry.InsetsD(10D, 10D, 10D, 10D); this.graphControl.Location = new System.Drawing.Point(0, 62); this.graphControl.Name = "graphControl"; this.graphControl.NavigationCommandsEnabled = false; this.graphControl.Size = new System.Drawing.Size(612, 539); this.graphControl.TabIndex = 6; this.graphControl.Text = "graphControl1"; viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // toolStrip1 // this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripLabel2, this.layoutComboBox, this.runButton }); this.toolStrip1.Location = new System.Drawing.Point(0, 31); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Padding = new System.Windows.Forms.Padding(4); this.toolStrip1.Size = new System.Drawing.Size(612, 31); this.toolStrip1.Stretch = true; this.toolStrip1.TabIndex = 5; this.toolStrip1.Text = "toolStrip1"; // // toolStripLabel2 // this.toolStripLabel2.Name = "toolStripLabel2"; this.toolStripLabel2.Size = new System.Drawing.Size(147, 20); this.toolStripLabel2.Text = "Choose a layout algorithm"; // // layouterComboBox // this.layoutComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.layoutComboBox.Name = "layoutComboBox"; this.layoutComboBox.Size = new System.Drawing.Size(200, 23); this.layoutComboBox.SelectedIndexChanged += new System.EventHandler(this.layoutComboBox_SelectedValueChanged); // // runButton // this.runButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.runButton.Image = global::Demo.yFiles.Layout.BasicLayout.Properties.Resources.play_16; this.runButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.runButton.Name = "runButton"; this.runButton.Size = new System.Drawing.Size(23, 20); this.runButton.Text = "Run"; this.runButton.ToolTipText = "Rerun selected layout algorithm."; this.runButton.Click += new System.EventHandler(this.OnRunButtonClicked); // // toolStrip // this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.loadGraphMLButton, this.saveGraphMLButton, this.printButton, 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.toolStrip.Location = new System.Drawing.Point(0, 0); this.toolStrip.Name = "toolStrip"; this.toolStrip.Padding = new System.Windows.Forms.Padding(4); this.toolStrip.Size = new System.Drawing.Size(612, 31); this.toolStrip.Stretch = true; this.toolStrip.TabIndex = 3; // // loadGraphMLButton // this.loadGraphMLButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.loadGraphMLButton.Image = global::Demo.yFiles.Layout.BasicLayout.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.Layout.BasicLayout.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"; // // printButton // this.printButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.printButton.Image = global::Demo.yFiles.Layout.BasicLayout.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 ..."; // // 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.Layout.BasicLayout.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.Layout.BasicLayout.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.Layout.BasicLayout.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.Layout.BasicLayout.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.Layout.BasicLayout.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.Layout.BasicLayout.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.Layout.BasicLayout.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.BasicLayout.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.BasicLayout.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.Layout.BasicLayout.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.Layout.BasicLayout.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"; // // BasicLayouterDemo // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(868, 601); this.Controls.Add(this.splitContainer1); this.Icon = global::Demo.yFiles.Layout.BasicLayout.Properties.Resources.yIcon; this.Name = "BasicLayouterDemo"; this.Text = "Basic Layout Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Demo_Load); 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.toolStrip.ResumeLayout(false); this.toolStrip.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(); this.splitContainer = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.singleSelectionButton = new System.Windows.Forms.ToolStripButton(); this.graphControl = new yWorks.Controls.GraphControl(); this.splitContainer.Panel1.SuspendLayout(); this.splitContainer.Panel2.SuspendLayout(); this.splitContainer.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.SuspendLayout(); // // splitContainer // this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.splitContainer.Location = new System.Drawing.Point(0, 0); this.splitContainer.Name = "splitContainer"; // // splitContainer.Panel1 // this.splitContainer.Panel1.Controls.Add(this.description); // // splitContainer.Panel2 // this.splitContainer.Panel2.Controls.Add(this.toolStrip1); this.splitContainer.Panel2.Controls.Add(this.graphControl); this.splitContainer.Size = new System.Drawing.Size(659, 447); this.splitContainer.SplitterDistance = 252; this.splitContainer.TabIndex = 0; // // description // this.description.BackColor = System.Drawing.SystemColors.Window; this.description.Dock = System.Windows.Forms.DockStyle.Fill; this.description.Location = new System.Drawing.Point(0, 0); this.description.Name = "description"; this.description.ReadOnly = true; this.description.Size = new System.Drawing.Size(252, 447); this.description.TabIndex = 0; this.description.Text = ""; // // toolStrip1 // this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.singleSelectionButton }); 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(403, 31); this.toolStrip1.Stretch = true; this.toolStrip1.TabIndex = 1; this.toolStrip1.Text = "toolStrip1"; // // singleSelectionButton // this.singleSelectionButton.Checked = true; this.singleSelectionButton.CheckOnClick = true; this.singleSelectionButton.CheckState = System.Windows.Forms.CheckState.Checked; this.singleSelectionButton.Image = global::Demo.yFiles.Graph.Input.SingleSelection.Properties.Resources.settings_16; this.singleSelectionButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.singleSelectionButton.Name = "singleSelectionButton"; this.singleSelectionButton.Size = new System.Drawing.Size(144, 20); this.singleSelectionButton.Text = "Single Selection Mode"; this.singleSelectionButton.ToolTipText = "Toggle Single Selection Mode"; this.singleSelectionButton.CheckedChanged += new System.EventHandler(this.ToggleSingleSelection_Click); // // 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.Size = new System.Drawing.Size(403, 447); this.graphControl.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.graphControl.TabIndex = 0; this.graphControl.Text = "graphControl"; viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // SingleSelectionForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(659, 447); this.Controls.Add(this.splitContainer); this.Icon = global::Demo.yFiles.Graph.Input.SingleSelection.Properties.Resources.yIcon; this.Name = "SingleSelectionForm"; this.Text = "Single Selection Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.splitContainer.Panel1.ResumeLayout(false); this.splitContainer.Panel2.ResumeLayout(false); this.splitContainer.Panel2.PerformLayout(); this.splitContainer.ResumeLayout(false); this.toolStrip1.ResumeLayout(false); this.toolStrip1.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(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); 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.fitToSizeButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.scenarioComboBox = new System.Windows.Forms.ToolStripComboBox(); this.reloadButton = new System.Windows.Forms.ToolStripButton(); this.useSketchCheckBox = new System.Windows.Forms.ToolStripButton(); this.runButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.toolStripContainer1.ContentPanel.SuspendLayout(); this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); this.toolStripContainer1.SuspendLayout(); this.toolStrip1.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.toolStripContainer1); this.splitContainer1.Size = new System.Drawing.Size(845, 445); this.splitContainer1.SplitterDistance = 252; this.splitContainer1.TabIndex = 0; // // description // this.description.BackColor = System.Drawing.Color.White; this.description.Dock = System.Windows.Forms.DockStyle.Fill; this.description.Location = new System.Drawing.Point(0, 0); this.description.Name = "description"; this.description.ReadOnly = true; this.description.Size = new System.Drawing.Size(252, 445); this.description.TabIndex = 0; this.description.Text = ""; // // toolStripContainer1 // // // toolStripContainer1.ContentPanel // this.toolStripContainer1.ContentPanel.Controls.Add(this.graphControl); this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(589, 414); this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStripContainer1.Location = new System.Drawing.Point(0, 0); this.toolStripContainer1.Name = "toolStripContainer1"; this.toolStripContainer1.Size = new System.Drawing.Size(589, 445); this.toolStripContainer1.TabIndex = 0; this.toolStripContainer1.Text = "toolStripContainer1"; // // toolStripContainer1.TopToolStripPanel // this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1); // // 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(0, 0); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(589, 414); this.graphControl.TabIndex = 0; this.graphControl.Text = "graphControl1"; viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // toolStrip1 // this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.scenarioComboBox, this.reloadButton, this.toolStripSeparator2, this.zoomInButton, this.zoomOutButton, this.fitToSizeButton, this.toolStripSeparator1, this.useSketchCheckBox, this.runButton }); 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(589, 31); this.toolStrip1.Stretch = true; this.toolStrip1.TabIndex = 0; // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.Layout.MixedLayout.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 = "toolStripButton1"; this.zoomInButton.ToolTipText = "Zoom in"; // // zoomOutButton // this.zoomOutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomOutButton.Image = global::Demo.yFiles.Layout.MixedLayout.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 = "toolStripButton1"; this.zoomOutButton.ToolTipText = "Zoom out"; // // fitToSizeButton // this.fitToSizeButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.fitToSizeButton.Image = global::Demo.yFiles.Layout.MixedLayout.Properties.Resources.fit_16; this.fitToSizeButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.fitToSizeButton.Name = "fitToSizeButton"; this.fitToSizeButton.Size = new System.Drawing.Size(23, 20); this.fitToSizeButton.Text = "toolStripButton1"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 23); // // scenarioComboBox // this.scenarioComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.scenarioComboBox.Name = "scenarioComboBox"; this.scenarioComboBox.Size = new System.Drawing.Size(121, 23); this.scenarioComboBox.SelectedIndexChanged += new System.EventHandler(this.ScenarioComboBoxSelectedValueChanged); // // reloadButton // this.reloadButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.reloadButton.Image = global::Demo.yFiles.Layout.MixedLayout.Properties.Resources.reload_16; this.reloadButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.reloadButton.Name = "reloadButton"; this.reloadButton.Size = new System.Drawing.Size(23, 20); this.reloadButton.Text = "Reload Sample"; this.reloadButton.Click += new System.EventHandler(this.OnRefreshButtonClicked); // // useSketchCheckBox // this.useSketchCheckBox.CheckOnClick = true; this.useSketchCheckBox.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.useSketchCheckBox.ImageTransparentColor = System.Drawing.Color.Magenta; this.useSketchCheckBox.Name = "useSketchCheckBox"; this.useSketchCheckBox.Size = new System.Drawing.Size(68, 20); this.useSketchCheckBox.Text = "Use Sketch"; // // runButton // this.runButton.Image = global::Demo.yFiles.Layout.MixedLayout.Properties.Resources.layout_hierarchic_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 = "Perform layout"; this.runButton.Click += new System.EventHandler(this.OnRunButtonClicked); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 23); // // MixedLayoutForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(845, 445); this.Controls.Add(this.splitContainer1); this.Icon = global::Demo.yFiles.Layout.MixedLayout.Properties.Resources.yIcon; this.Name = "MixedLayoutForm"; this.Text = "MixedLayout Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.DemoLoad); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.ResumeLayout(false); this.toolStripContainer1.ContentPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.PerformLayout(); this.toolStripContainer1.ResumeLayout(false); this.toolStripContainer1.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.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(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); this.panel1 = new System.Windows.Forms.Panel(); this.graphControl = new yWorks.Controls.GraphControl(); this.styleListBox = new System.Windows.Forms.ListBox(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator3 = 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.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator5 = 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.fitToSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.loadGraphMLButton = new System.Windows.Forms.ToolStripButton(); this.saveGraphMLButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); this.undoButton = new System.Windows.Forms.ToolStripButton(); this.redoButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = 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.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); this.zoomInButton = new System.Windows.Forms.ToolStripButton(); this.zoomOutButton = new System.Windows.Forms.ToolStripButton(); this.fitToSizeButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.runButton = new System.Windows.Forms.ToolStripButton(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.toolStripContainer1.ContentPanel.SuspendLayout(); this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); this.toolStripContainer1.SuspendLayout(); this.panel1.SuspendLayout(); this.menuStrip1.SuspendLayout(); this.toolStrip1.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.toolStripContainer1); this.splitContainer1.Size = new System.Drawing.Size(852, 593); this.splitContainer1.SplitterDistance = 282; this.splitContainer1.TabIndex = 0; // // description // this.description.BackColor = System.Drawing.SystemColors.Window; this.description.Dock = System.Windows.Forms.DockStyle.Fill; this.description.Location = new System.Drawing.Point(0, 0); this.description.Name = "description"; this.description.ReadOnly = true; this.description.Size = new System.Drawing.Size(282, 593); this.description.TabIndex = 6; this.description.Text = ""; // // toolStripContainer1 // // // toolStripContainer1.ContentPanel // this.toolStripContainer1.ContentPanel.Controls.Add(this.panel1); this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(566, 538); this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStripContainer1.Location = new System.Drawing.Point(0, 0); this.toolStripContainer1.Name = "toolStripContainer1"; this.toolStripContainer1.Size = new System.Drawing.Size(566, 593); this.toolStripContainer1.TabIndex = 0; this.toolStripContainer1.Text = "toolStripContainer1"; // // toolStripContainer1.TopToolStripPanel // this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.menuStrip1); this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1); // // panel1 // this.panel1.Controls.Add(this.graphControl); this.panel1.Controls.Add(this.styleListBox); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(566, 538); this.panel1.TabIndex = 0; // // 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.FileOperationsEnabled = true; this.graphControl.FitContentViewMargins = new yWorks.Geometry.InsetsD(10D, 10D, 10D, 10D); this.graphControl.Location = new System.Drawing.Point(120, 0); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(446, 538); this.graphControl.TabIndex = 2; this.graphControl.Text = "graphControl1"; viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // styleListBox // this.styleListBox.Dock = System.Windows.Forms.DockStyle.Left; this.styleListBox.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.styleListBox.FormattingEnabled = true; this.styleListBox.IntegralHeight = false; this.styleListBox.ItemHeight = 85; this.styleListBox.Location = new System.Drawing.Point(0, 0); this.styleListBox.Name = "styleListBox"; this.styleListBox.Size = new System.Drawing.Size(120, 538); this.styleListBox.TabIndex = 1; this.styleListBox.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.nodeStyleListBox_DrawItem); this.styleListBox.MouseDown += new System.Windows.Forms.MouseEventHandler(this.nodeStyleListBox_MouseDown); // // menuStrip1 // this.menuStrip1.Dock = System.Windows.Forms.DockStyle.None; this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.editToolStripMenuItem, this.viewToolStripMenuItem }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(566, 24); this.menuStrip1.TabIndex = 0; this.menuStrip1.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.openToolStripMenuItem, this.saveAsToolStripMenuItem, this.toolStripSeparator3, this.exitToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "File"; // // openToolStripMenuItem // this.openToolStripMenuItem.Name = "openToolStripMenuItem"; this.openToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this.openToolStripMenuItem.Text = "Open"; // // saveAsToolStripMenuItem // this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this.saveAsToolStripMenuItem.Text = "Save as..."; // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(118, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitMenuItem_Click); // // editToolStripMenuItem // this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cutToolStripMenuItem, this.copyToolStripMenuItem, this.pasteToolStripMenuItem, this.toolStripSeparator4, this.deleteToolStripMenuItem, this.toolStripSeparator5, 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"; // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.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"; // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.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.fitToSizeToolStripMenuItem }); 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(165, 22); this.zoomInToolStripMenuItem.Text = "Increase Zoom"; // // zoomOutToolStripMenuItem // this.zoomOutToolStripMenuItem.Name = "zoomOutToolStripMenuItem"; this.zoomOutToolStripMenuItem.Size = new System.Drawing.Size(165, 22); this.zoomOutToolStripMenuItem.Text = "Decrease Zoom"; // // fitToSizeToolStripMenuItem // this.fitToSizeToolStripMenuItem.Name = "fitToSizeToolStripMenuItem"; this.fitToSizeToolStripMenuItem.Size = new System.Drawing.Size(165, 22); this.fitToSizeToolStripMenuItem.Text = "Fit Graph Bounds"; // // toolStrip1 // this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.loadGraphMLButton, this.saveGraphMLButton, this.toolStripSeparator6, this.undoButton, this.redoButton, this.toolStripSeparator1, this.cutButton, this.copyButton, this.pasteButton, this.toolStripSeparator7, this.zoomInButton, this.zoomOutButton, this.fitToSizeButton, 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(566, 31); this.toolStrip1.Stretch = true; this.toolStrip1.TabIndex = 0; this.toolStrip1.Text = "toolStrip1"; // // loadGraphMLButton // this.loadGraphMLButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.loadGraphMLButton.Image = global::Demo.yFiles.Graph.TableEditor.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.TableEditor.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"; // // toolStripSeparator6 // this.toolStripSeparator6.Name = "toolStripSeparator6"; this.toolStripSeparator6.Size = new System.Drawing.Size(6, 23); // // undoButton // this.undoButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.undoButton.Image = global::Demo.yFiles.Graph.TableEditor.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.TableEditor.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 = "toolStripButton1"; this.redoButton.ToolTipText = "Redo"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 23); // // cutButton // this.cutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.cutButton.Image = global::Demo.yFiles.Graph.TableEditor.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 = "Cut"; // // copyButton // this.copyButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.copyButton.Image = global::Demo.yFiles.Graph.TableEditor.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.TableEditor.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"; // // toolStripSeparator7 // this.toolStripSeparator7.Name = "toolStripSeparator7"; this.toolStripSeparator7.Size = new System.Drawing.Size(6, 23); // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.Graph.TableEditor.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 = "toolStripButton1"; this.zoomInButton.ToolTipText = "Zoom in"; // // zoomOutButton // this.zoomOutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomOutButton.Image = global::Demo.yFiles.Graph.TableEditor.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 = "toolStripButton1"; this.zoomOutButton.ToolTipText = "Zoom out"; // // fitToSizeButton // this.fitToSizeButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.fitToSizeButton.Image = global::Demo.yFiles.Graph.TableEditor.Properties.Resources.fit_16; this.fitToSizeButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.fitToSizeButton.Name = "fitToSizeButton"; this.fitToSizeButton.Size = new System.Drawing.Size(23, 20); this.fitToSizeButton.Text = "toolStripButton1"; this.fitToSizeButton.ToolTipText = "Fit to size"; // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 23); // // runButton // this.runButton.Image = global::Demo.yFiles.Graph.TableEditor.Properties.Resources.reload_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.LayoutButton_Click); // // TableEditorForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(852, 593); this.Controls.Add(this.splitContainer1); this.Icon = global::Demo.yFiles.Graph.TableEditor.Properties.Resources.yIcon; this.MainMenuStrip = this.menuStrip1; this.Name = "TableEditorForm"; this.Text = "TableEditor Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.ResumeLayout(false); this.toolStripContainer1.ContentPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.PerformLayout(); this.toolStripContainer1.ResumeLayout(false); this.toolStripContainer1.PerformLayout(); this.panel1.ResumeLayout(false); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SelectionStylingForm)); yWorks.Controls.ViewportLimiter viewportLimiter3 = new yWorks.Controls.ViewportLimiter(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.openButton = new System.Windows.Forms.ToolStripButton(); this.saveButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.zoomInButton = new System.Windows.Forms.ToolStripButton(); this.zoomOutButton = new System.Windows.Forms.ToolStripButton(); this.resetZoomButton = new System.Windows.Forms.ToolStripButton(); this.zoomFitButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); this.CustomNodeDecoratorButton = new System.Windows.Forms.ToolStripButton(); this.CustomEdgeDecoratorButton = new System.Windows.Forms.ToolStripButton(); this.CustomLabelDecoratorButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); this.zoomModeComboBox = new System.Windows.Forms.ToolStripComboBox(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); this.graphControl = new yWorks.Controls.GraphControl(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); this.saveFileDialog = new System.Windows.Forms.SaveFileDialog(); this.openFileDialog = new System.Windows.Forms.OpenFileDialog(); this.toolStrip1.SuspendLayout(); this.toolStripContainer1.ContentPanel.SuspendLayout(); this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); this.toolStripContainer1.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.SuspendLayout(); // // toolStrip1 // this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.openButton, this.saveButton, this.toolStripSeparator1, this.zoomInButton, this.zoomOutButton, this.resetZoomButton, this.zoomFitButton, this.toolStripSeparator2, this.toolStripLabel1, this.CustomNodeDecoratorButton, this.CustomEdgeDecoratorButton, this.CustomLabelDecoratorButton, this.toolStripSeparator3, this.toolStripLabel2, this.zoomModeComboBox }); this.toolStrip1.Location = new System.Drawing.Point(3, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Padding = new System.Windows.Forms.Padding(4); this.toolStrip1.Size = new System.Drawing.Size(617, 25); this.toolStrip1.Stretch = true; this.toolStrip1.TabIndex = 2; this.toolStrip1.Text = "toolStrip1"; // // openButton // this.openButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.openButton.Image = global::Demo.yFiles.Graph.SelectionStyling.Properties.Resources.open_16; this.openButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.openButton.Name = "openButton"; this.openButton.Size = new System.Drawing.Size(23, 22); this.openButton.Text = "Open"; // // saveButton // this.saveButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.saveButton.Image = global::Demo.yFiles.Graph.SelectionStyling.Properties.Resources.save_16; this.saveButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.saveButton.Name = "saveButton"; this.saveButton.Size = new System.Drawing.Size(23, 22); this.saveButton.Text = "Save"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.Graph.SelectionStyling.Properties.Resources.plus_16; this.zoomInButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomInButton.Name = "zoomInButton"; this.zoomInButton.Size = new System.Drawing.Size(23, 22); this.zoomInButton.Text = "Increase Zoom"; // // zoomOutButton // this.zoomOutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomOutButton.Image = global::Demo.yFiles.Graph.SelectionStyling.Properties.Resources.minus_16; this.zoomOutButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomOutButton.Name = "zoomOutButton"; this.zoomOutButton.Size = new System.Drawing.Size(23, 22); this.zoomOutButton.Text = "Decrease Zoom"; // // resetZoomButton // this.resetZoomButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.resetZoomButton.Image = global::Demo.yFiles.Graph.SelectionStyling.Properties.Resources.zoom_original3_16; this.resetZoomButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.resetZoomButton.Name = "resetZoomButton"; this.resetZoomButton.Size = new System.Drawing.Size(23, 22); this.resetZoomButton.Text = "Zoom to 100%"; // // zoomFitButton // this.zoomFitButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomFitButton.Image = global::Demo.yFiles.Graph.SelectionStyling.Properties.Resources.fit_16; this.zoomFitButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomFitButton.Name = "zoomFitButton"; this.zoomFitButton.Size = new System.Drawing.Size(23, 22); this.zoomFitButton.Text = "Fit Graph Bounds"; // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); // // toolStripLabel1 // this.toolStripLabel1.Name = "toolStripLabel1"; this.toolStripLabel1.Size = new System.Drawing.Size(99, 22); this.toolStripLabel1.Text = "Custom Painting:"; // // customNodesPaintingButton // this.CustomNodeDecoratorButton.Checked = true; this.CustomNodeDecoratorButton.CheckOnClick = true; this.CustomNodeDecoratorButton.CheckState = System.Windows.Forms.CheckState.Checked; this.CustomNodeDecoratorButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.CustomNodeDecoratorButton.Image = ((System.Drawing.Image)(resources.GetObject("customNodesPaintingButton.Image"))); this.CustomNodeDecoratorButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.CustomNodeDecoratorButton.Name = "customNodesPaintingButton"; this.CustomNodeDecoratorButton.Size = new System.Drawing.Size(45, 22); this.CustomNodeDecoratorButton.Text = "Nodes"; this.CustomNodeDecoratorButton.ToolTipText = "Controls custom selection painting for nodes"; this.CustomNodeDecoratorButton.CheckedChanged += new System.EventHandler(this.CustomNodeDecorationChanged); // // customEdgesPaintingButton // this.CustomEdgeDecoratorButton.Checked = true; this.CustomEdgeDecoratorButton.CheckOnClick = true; this.CustomEdgeDecoratorButton.CheckState = System.Windows.Forms.CheckState.Checked; this.CustomEdgeDecoratorButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.CustomEdgeDecoratorButton.Image = ((System.Drawing.Image)(resources.GetObject("customEdgesPaintingButton.Image"))); this.CustomEdgeDecoratorButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.CustomEdgeDecoratorButton.Name = "customEdgesPaintingButton"; this.CustomEdgeDecoratorButton.Size = new System.Drawing.Size(42, 22); this.CustomEdgeDecoratorButton.Text = "Edges"; this.CustomEdgeDecoratorButton.ToolTipText = "Controls custom selection painting for edges"; this.CustomEdgeDecoratorButton.CheckedChanged += new System.EventHandler(this.CustomEdgeDecorationChanged); // // customLabelsPaintingButton // this.CustomLabelDecoratorButton.Checked = true; this.CustomLabelDecoratorButton.CheckOnClick = true; this.CustomLabelDecoratorButton.CheckState = System.Windows.Forms.CheckState.Checked; this.CustomLabelDecoratorButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.CustomLabelDecoratorButton.Image = ((System.Drawing.Image)(resources.GetObject("customLabelsPaintingButton.Image"))); this.CustomLabelDecoratorButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.CustomLabelDecoratorButton.Name = "customLabelsPaintingButton"; this.CustomLabelDecoratorButton.Size = new System.Drawing.Size(44, 22); this.CustomLabelDecoratorButton.Text = "Labels"; this.CustomLabelDecoratorButton.ToolTipText = "Controls custom selection painting for labels"; this.CustomLabelDecoratorButton.CheckedChanged += new System.EventHandler(this.CustomLabelDecorationChanged); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25); // // toolStripLabel2 // this.toolStripLabel2.Name = "toolStripLabel2"; this.toolStripLabel2.Size = new System.Drawing.Size(76, 22); this.toolStripLabel2.Text = "Zoom Mode:"; // // zoomModeComboBox // this.zoomModeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.zoomModeComboBox.Name = "zoomModeComboBox"; this.zoomModeComboBox.Size = new System.Drawing.Size(121, 25); this.zoomModeComboBox.ToolTipText = "Zoom mode of the custom selection indicator"; this.zoomModeComboBox.SelectedIndexChanged += new System.EventHandler(this.ZoomModeChanged); // // toolStripContainer1 // // // toolStripContainer1.ContentPanel // this.toolStripContainer1.ContentPanel.AutoScroll = true; this.toolStripContainer1.ContentPanel.Controls.Add(this.graphControl); this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(620, 439); this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStripContainer1.Location = new System.Drawing.Point(0, 0); this.toolStripContainer1.Name = "toolStripContainer1"; this.toolStripContainer1.Size = new System.Drawing.Size(620, 464); this.toolStripContainer1.TabIndex = 3; this.toolStripContainer1.Text = "toolStripContainer1"; // // toolStripContainer1.TopToolStripPanel // this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1); // // graphControl // this.graphControl.BackColor = System.Drawing.Color.White; 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.FitContentViewMargins = new yWorks.Geometry.InsetsD(10D, 10D, 10D, 10D); this.graphControl.Location = new System.Drawing.Point(0, 0); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(620, 439); this.graphControl.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.graphControl.TabIndex = 0; this.graphControl.Text = "graphControl"; viewportLimiter3.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter3; // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; 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(934, 464); this.splitContainer1.SplitterDistance = 252; this.splitContainer1.FixedPanel = FixedPanel.Panel1; this.splitContainer1.TabIndex = 1; // // description // this.description.BackColor = System.Drawing.SystemColors.Window; this.description.Dock = System.Windows.Forms.DockStyle.Fill; this.description.Location = new System.Drawing.Point(0, 0); this.description.Name = "description"; this.description.ReadOnly = true; this.description.Size = new System.Drawing.Size(310, 464); this.description.TabIndex = 5; this.description.Text = ""; // // saveFileDialog // this.saveFileDialog.DefaultExt = "graphml"; this.saveFileDialog.Filter = "GraphML Files|*.graphml|XML Files|*.xml|All files|*.*"; this.saveFileDialog.Title = "Save GraphML file..."; // // openFileDialog // this.openFileDialog.DefaultExt = "graphml"; this.openFileDialog.Filter = "GraphML Files|*.graphml|XML Files|*.xml|All files|*.*"; this.openFileDialog.Title = "Load GraphML file..."; // // SelectionStylingForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(934, 464); this.Controls.Add(this.splitContainer1); this.Icon = global::Demo.yFiles.Graph.SelectionStyling.Properties.Resources.yIcon; this.WindowState = FormWindowState.Maximized; this.Name = "SelectionStylingForm"; this.Text = "Selection Styling Demo"; this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.toolStripContainer1.ContentPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.PerformLayout(); this.toolStripContainer1.ResumeLayout(false); this.toolStripContainer1.PerformLayout(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.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() { yWorks.Controls.ViewportLimiter viewportLimiter1 = new yWorks.Controls.ViewportLimiter(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.ExitMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 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.layoutComboBox = new System.Windows.Forms.ToolStripComboBox(); this.graphControl = new yWorks.Controls.GraphControl(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.descriptionTextBox = new System.Windows.Forms.RichTextBox(); this.menuStrip1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.SuspendLayout(); // // menuStrip1 // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripMenuItem1 }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(503, 24); this.menuStrip1.TabIndex = 1; this.menuStrip1.Text = "FileMenuStrip"; // // toolStripMenuItem1 // this.toolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ExitMenuItem }); this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new System.Drawing.Size(37, 20); this.toolStripMenuItem1.Text = "File"; // // ExitMenuItem // this.ExitMenuItem.Name = "ExitMenuItem"; this.ExitMenuItem.Size = new System.Drawing.Size(92, 22); this.ExitMenuItem.Text = "Exit"; this.ExitMenuItem.Click += new System.EventHandler(this.ExitMenuItem_Click); // // toolStrip1 // this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ZoomInButton, this.ZoomOutButton, this.FitContentButton, this.toolStripSeparator1, this.layoutComboBox }); 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(503, 31); this.toolStrip1.Stretch = true; this.toolStrip1.TabIndex = 2; this.toolStrip1.Text = "toolStrip1"; // // ZoomInButton // this.ZoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.ZoomInButton.Image = global::Demo.yFiles.Graph.Collapse.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.ToolTipText = "Zoom In"; // // ZoomOutButton // this.ZoomOutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.ZoomOutButton.Image = global::Demo.yFiles.Graph.Collapse.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.ToolTipText = "Zoom Out"; // // FitContentButton // this.FitContentButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.FitContentButton.Image = global::Demo.yFiles.Graph.Collapse.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.ToolTipText = "Fit Content into View"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 23); // // layoutComboBox // this.layoutComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.layoutComboBox.Name = "layoutComboBox"; this.layoutComboBox.Size = new System.Drawing.Size(121, 23); this.layoutComboBox.SelectedIndexChanged += new System.EventHandler(this.layoutComboBox_SelectedIndexChanged); // // 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(0, 55); this.graphControl.Margin = new System.Windows.Forms.Padding(5); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(503, 618); this.graphControl.TabIndex = 0; this.graphControl.Text = "graphControl"; viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // 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.descriptionTextBox); // // 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(759, 673); this.splitContainer1.SplitterDistance = 252; this.splitContainer1.TabIndex = 3; // // descriptionTextBox // this.descriptionTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None; this.descriptionTextBox.Dock = System.Windows.Forms.DockStyle.Fill; this.descriptionTextBox.Location = new System.Drawing.Point(0, 0); this.descriptionTextBox.Name = "descriptionTextBox"; this.descriptionTextBox.Size = new System.Drawing.Size(252, 673); this.descriptionTextBox.TabIndex = 0; this.descriptionTextBox.Text = ""; // // GraphCollapseForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(759, 673); this.Controls.Add(this.splitContainer1); this.Icon = global::Demo.yFiles.Graph.Collapse.Properties.Resources.yIcon; this.MainMenuStrip = this.menuStrip1; this.Name = "GraphCollapseForm"; this.Text = "yFiles Graph Collapsing Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.Panel2.PerformLayout(); this.splitContainer1.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(); yWorks.Controls.ViewportLimiter viewportLimiter1 = new yWorks.Controls.ViewportLimiter(); yWorks.Controls.Input.ReparentNodeHandler reparentNodeHandler1 = new yWorks.Controls.Input.ReparentNodeHandler(); yWorks.Controls.GraphSelection graphSelection1 = new yWorks.Controls.GraphSelection(); yWorks.Graph.DefaultGraph defaultGraph1 = new yWorks.Graph.DefaultGraph(); yWorks.Graph.EdgeDefaults edgeDefaults1 = new yWorks.Graph.EdgeDefaults(); yWorks.Graph.LabelDefaults labelDefaults1 = new yWorks.Graph.LabelDefaults(); yWorks.Graph.Styles.DefaultLabelStyle DefaultLabelStyle1 = new yWorks.Graph.Styles.DefaultLabelStyle(); System.Drawing.StringFormat stringFormat1 = new System.Drawing.StringFormat(); yWorks.Graph.PortDefaults portDefaults1 = new yWorks.Graph.PortDefaults(); yWorks.Graph.Styles.PolylineEdgeStyle polylineEdgeStyle1 = new yWorks.Graph.Styles.PolylineEdgeStyle(); yWorks.Graph.MapperRegistry mapperRegistry1 = new yWorks.Graph.MapperRegistry(); yWorks.Graph.NodeDefaults nodeDefaults1 = new yWorks.Graph.NodeDefaults(); yWorks.Graph.LabelDefaults labelDefaults2 = new yWorks.Graph.LabelDefaults(); yWorks.Graph.Styles.DefaultLabelStyle DefaultLabelStyle2 = new yWorks.Graph.Styles.DefaultLabelStyle(); System.Drawing.StringFormat stringFormat2 = new System.Drawing.StringFormat(); yWorks.Graph.PortDefaults portDefaults2 = new yWorks.Graph.PortDefaults(); yWorks.Graph.Styles.ShapeNodeStyle shapeNodeStyle1 = new yWorks.Graph.Styles.ShapeNodeStyle(); 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.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.undoButton = new System.Windows.Forms.ToolStripButton(); this.redoButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); this.sampleComboBox = new System.Windows.Forms.ToolStripComboBox(); this.reloadSampleButton = new System.Windows.Forms.ToolStripButton(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); this.splitContainer2 = new System.Windows.Forms.SplitContainer(); this.graphControl = new yWorks.Controls.GraphControl(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); this.saveFileDialog = new System.Windows.Forms.SaveFileDialog(); this.openFileDialog = new System.Windows.Forms.OpenFileDialog(); this.nodePlacerPanel = new NodePlacerPanel(); this.toolStrip1.SuspendLayout(); this.toolStripContainer1.ContentPanel.SuspendLayout(); this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); this.toolStripContainer1.SuspendLayout(); this.splitContainer2.Panel1.SuspendLayout(); this.splitContainer2.Panel2.SuspendLayout(); this.splitContainer2.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.SuspendLayout(); // // toolStrip1 // this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripLabel1, this.sampleComboBox, this.reloadSampleButton, this.toolStripSeparator3, this.zoomInButton, this.zoomOutButton, this.fitContentButton, this.toolStripSeparator1, this.undoButton, this.redoButton }); 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(754, 31); this.toolStrip1.Stretch = true; this.toolStrip1.TabIndex = 2; this.toolStrip1.Text = "toolStrip1"; // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.Layout.Tree.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.ToolTipText = "Zoom In"; // // zoomOutButton // this.zoomOutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomOutButton.Image = global::Demo.yFiles.Layout.Tree.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.ToolTipText = "Zoom Out"; // // fitContentButton // this.fitContentButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.fitContentButton.Image = global::Demo.yFiles.Layout.Tree.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.ToolTipText = "Fit Content into View"; // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 23); // // undoButton // this.undoButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.undoButton.Image = global::Demo.yFiles.Layout.Tree.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.Layout.Tree.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"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 23); // // toolStripLabel1 // this.toolStripLabel1.Name = "toolStripLabel1"; this.toolStripLabel1.Size = new System.Drawing.Size(49, 20); this.toolStripLabel1.Text = "Sample:"; // // sampleComboBox // this.sampleComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.sampleComboBox.Items.AddRange(new object[] { "Example Tree", "Organization Chart" }); this.sampleComboBox.Name = "sampleComboBox"; this.sampleComboBox.Size = new System.Drawing.Size(121, 23); this.sampleComboBox.SelectedIndexChanged += new System.EventHandler(this.SampleComboBoxSelectedValueChanged); // // reloadSampleButton // this.reloadSampleButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.reloadSampleButton.Image = global::Demo.yFiles.Layout.Tree.Properties.Resources.reload_16; this.reloadSampleButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.reloadSampleButton.Name = "reloadSampleButton"; this.reloadSampleButton.Size = new System.Drawing.Size(23, 20); this.reloadSampleButton.Text = "toolStripButton1"; this.reloadSampleButton.Click += new System.EventHandler(this.OnReloadSampleButtonClicked); // // toolStripContainer1 // // // toolStripContainer1.ContentPanel // this.toolStripContainer1.ContentPanel.AutoScroll = true; this.toolStripContainer1.ContentPanel.Controls.Add(this.splitContainer2); this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(754, 701); this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStripContainer1.Location = new System.Drawing.Point(0, 0); this.toolStripContainer1.Name = "toolStripContainer1"; this.toolStripContainer1.Size = new System.Drawing.Size(754, 732); this.toolStripContainer1.TabIndex = 3; this.toolStripContainer1.Text = "toolStripContainer1"; // // toolStripContainer1.TopToolStripPanel // this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1); // // splitContainer2 // this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; this.splitContainer2.Location = new System.Drawing.Point(0, 0); this.splitContainer2.Name = "splitContainer2"; // // splitContainer2.Panel1 // this.splitContainer2.Panel1.AutoScroll = true; this.splitContainer2.Panel1.Controls.Add(this.graphControl); this.splitContainer2.Panel1MinSize = 297; // // splitContainer2.Panel2 // this.splitContainer2.Panel2.Controls.Add(this.nodePlacerPanel); this.splitContainer2.Size = new System.Drawing.Size(754, 701); this.splitContainer2.SplitterDistance = 448; this.splitContainer2.TabIndex = 1; // // 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.Dock = System.Windows.Forms.DockStyle.Fill; this.graphControl.Location = new System.Drawing.Point(0, 0); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(448, 701); this.graphControl.TabIndex = 0; this.graphControl.Text = "graphControl1"; viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; labelDefaults1.AutoAdjustPreferredSize = true; labelDefaults1.ShareLayoutParameterInstance = true; labelDefaults1.ShareStyleInstance = true; DefaultLabelStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); stringFormat1.Alignment = System.Drawing.StringAlignment.Near; stringFormat1.HotkeyPrefix = System.Drawing.Text.HotkeyPrefix.None; stringFormat1.LineAlignment = System.Drawing.StringAlignment.Near; stringFormat1.Trimming = System.Drawing.StringTrimming.Character; DefaultLabelStyle1.StringFormat = stringFormat1; labelDefaults1.Style = DefaultLabelStyle1; edgeDefaults1.Labels = labelDefaults1; portDefaults1.AutoCleanUp = true; portDefaults1.ShareLocationParameterInstance = true; portDefaults1.ShareStyleInstance = true; edgeDefaults1.Ports = portDefaults1; edgeDefaults1.ShareStyleInstance = true; edgeDefaults1.Style = polylineEdgeStyle1; defaultGraph1.EdgeDefaults = edgeDefaults1; defaultGraph1.MapperRegistry = mapperRegistry1; labelDefaults2.AutoAdjustPreferredSize = true; labelDefaults2.ShareLayoutParameterInstance = true; labelDefaults2.ShareStyleInstance = true; DefaultLabelStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); stringFormat2.Alignment = System.Drawing.StringAlignment.Near; stringFormat2.HotkeyPrefix = System.Drawing.Text.HotkeyPrefix.None; stringFormat2.LineAlignment = System.Drawing.StringAlignment.Near; stringFormat2.Trimming = System.Drawing.StringTrimming.Character; DefaultLabelStyle2.StringFormat = stringFormat2; labelDefaults2.Style = DefaultLabelStyle2; nodeDefaults1.Labels = labelDefaults2; portDefaults2.AutoCleanUp = true; portDefaults2.ShareLocationParameterInstance = true; portDefaults2.ShareStyleInstance = true; nodeDefaults1.Ports = portDefaults2; nodeDefaults1.ShareStyleInstance = true; nodeDefaults1.Size = new yWorks.Geometry.SizeD(30D, 30D); nodeDefaults1.Style = shapeNodeStyle1; defaultGraph1.NodeDefaults = nodeDefaults1; graphSelection1.Graph = defaultGraph1; // // 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(1008, 732); this.splitContainer1.SplitterDistance = 250; this.splitContainer1.TabIndex = 1; // // description // this.description.BackColor = System.Drawing.SystemColors.Window; this.description.Dock = System.Windows.Forms.DockStyle.Fill; this.description.Location = new System.Drawing.Point(0, 0); this.description.Name = "description"; this.description.ReadOnly = true; this.description.Size = new System.Drawing.Size(250, 732); this.description.TabIndex = 5; this.description.Text = ""; // // saveFileDialog // this.saveFileDialog.DefaultExt = "graphml"; this.saveFileDialog.Filter = "GraphML Files|*.graphml|XML Files|*.xml|All files|*.*"; this.saveFileDialog.Title = "Save GraphML file..."; // // openFileDialog // this.openFileDialog.DefaultExt = "graphml"; this.openFileDialog.Filter = "GraphML Files|*.graphml|XML Files|*.xml|All files|*.*"; this.openFileDialog.Title = "Load GraphML file..."; // // nodePlacerPanel // this.nodePlacerPanel.AutoScroll = true; this.nodePlacerPanel.BackColor = System.Drawing.Color.White; this.nodePlacerPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.nodePlacerPanel.CurrentDescriptor = null; this.nodePlacerPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.nodePlacerPanel.Level = 0; this.nodePlacerPanel.Location = new System.Drawing.Point(0, 0); this.nodePlacerPanel.MinimumSize = new System.Drawing.Size(275, 2); this.nodePlacerPanel.Name = "nodePlacerPanel"; this.nodePlacerPanel.Size = new System.Drawing.Size(302, 701); this.nodePlacerPanel.TabIndex = 0; // // TreeForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1008, 732); this.Controls.Add(this.splitContainer1); this.Icon = global::Demo.yFiles.Layout.Tree.Properties.Resources.yIcon; this.Name = "TreeForm"; this.Text = "Generic Tree Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.toolStripContainer1.ContentPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.PerformLayout(); this.toolStripContainer1.ResumeLayout(false); this.toolStripContainer1.PerformLayout(); this.splitContainer2.Panel1.ResumeLayout(false); this.splitContainer2.Panel2.ResumeLayout(false); this.splitContainer2.ResumeLayout(false); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.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() { yWorks.Controls.ViewportLimiter viewportLimiter1 = new yWorks.Controls.ViewportLimiter(); this.outerSplitContainer = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); this.innerSplitContainer = new System.Windows.Forms.SplitContainer(); this.panel1 = new System.Windows.Forms.Panel(); this.graphControl = new yWorks.Controls.GraphControl(); this.toolBar = new System.Windows.Forms.ToolStrip(); this.undoButton = new System.Windows.Forms.ToolStripButton(); this.redoButton = 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.fitToSizeButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); this.layoutComboBox = new System.Windows.Forms.ToolStripComboBox(); this.refreshLayoutButton = new System.Windows.Forms.ToolStripButton(); this.propertiesPanel = new System.Windows.Forms.Panel(); this.label5 = new System.Windows.Forms.Label(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); this.outerSplitContainer.Panel1.SuspendLayout(); this.outerSplitContainer.Panel2.SuspendLayout(); this.outerSplitContainer.SuspendLayout(); this.innerSplitContainer.Panel1.SuspendLayout(); this.innerSplitContainer.Panel2.SuspendLayout(); this.innerSplitContainer.SuspendLayout(); this.panel1.SuspendLayout(); this.toolBar.SuspendLayout(); this.propertiesPanel.SuspendLayout(); this.toolStripContainer1.ContentPanel.SuspendLayout(); this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); this.toolStripContainer1.SuspendLayout(); this.SuspendLayout(); // // outerSplitContainer // this.outerSplitContainer.Dock = System.Windows.Forms.DockStyle.Fill; this.outerSplitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.outerSplitContainer.Location = new System.Drawing.Point(0, 0); this.outerSplitContainer.Name = "outerSplitContainer"; // // outerSplitContainer.Panel1 // this.outerSplitContainer.Panel1.Controls.Add(this.description); // // outerSplitContainer.Panel2 // this.outerSplitContainer.Panel2.Controls.Add(this.toolStripContainer1); this.outerSplitContainer.Size = new System.Drawing.Size(961, 526); this.outerSplitContainer.SplitterDistance = 252; this.outerSplitContainer.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, 526); this.description.TabIndex = 0; this.description.Text = ""; // // innerSplitContainer // this.innerSplitContainer.Dock = System.Windows.Forms.DockStyle.Fill; this.innerSplitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; this.innerSplitContainer.Location = new System.Drawing.Point(0, 0); this.innerSplitContainer.Name = "innerSplitContainer"; // // innerSplitContainer.Panel1 // this.innerSplitContainer.Panel1.Controls.Add(this.panel1); // // innerSplitContainer.Panel2 // this.innerSplitContainer.Panel2.Controls.Add(this.propertiesPanel); this.innerSplitContainer.Size = new System.Drawing.Size(705, 501); this.innerSplitContainer.SplitterDistance = 330; this.innerSplitContainer.TabIndex = 0; // // panel1 // this.panel1.Controls.Add(this.graphControl); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(405, 501); this.panel1.TabIndex = 0; // // 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.FileOperationsEnabled = true; this.graphControl.FitContentViewMargins = new yWorks.Geometry.InsetsD(10D, 10D, 10D, 10D); this.graphControl.Location = new System.Drawing.Point(0, 0); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(405, 501); this.graphControl.TabIndex = 0; this.graphControl.Text = "graphControl1"; viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // toolBar // this.toolBar.Dock = System.Windows.Forms.DockStyle.None; this.toolBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.undoButton, this.redoButton, this.toolStripSeparator2, this.zoomInButton, this.zoomOutButton, this.fitToSizeButton, this.toolStripSeparator1, this.toolStripLabel1, this.layoutComboBox, this.refreshLayoutButton }); this.toolBar.Location = new System.Drawing.Point(3, 0); this.toolBar.Name = "toolBar"; this.toolBar.Size = new System.Drawing.Size(370, 25); this.toolBar.TabIndex = 1; this.toolBar.Text = "toolStrip1"; // // undoButton // this.undoButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.undoButton.Image = global::Demo.yFiles.Layout.PreferredLabelPlacement.PreferredLabelPlacement.undo_16; this.undoButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.undoButton.Name = "undoButton"; this.undoButton.Size = new System.Drawing.Size(23, 22); this.undoButton.Text = "Undo"; // // redoButton // this.redoButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.redoButton.Image = global::Demo.yFiles.Layout.PreferredLabelPlacement.PreferredLabelPlacement.redo_16; this.redoButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.redoButton.Name = "redoButton"; this.redoButton.Size = new System.Drawing.Size(23, 22); this.redoButton.Text = "Redo"; // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.Layout.PreferredLabelPlacement.PreferredLabelPlacement.plus_16; this.zoomInButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomInButton.Name = "zoomInButton"; this.zoomInButton.Size = new System.Drawing.Size(23, 22); this.zoomInButton.Text = "toolStripButton1"; this.zoomInButton.ToolTipText = "Zoom in"; // // zoomOutButton // this.zoomOutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomOutButton.Image = global::Demo.yFiles.Layout.PreferredLabelPlacement.PreferredLabelPlacement.minus_16; this.zoomOutButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomOutButton.Name = "zoomOutButton"; this.zoomOutButton.Size = new System.Drawing.Size(23, 22); this.zoomOutButton.Text = "toolStripButton1"; this.zoomOutButton.ToolTipText = "Zoom out"; // // fitToSizeButton // this.fitToSizeButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.fitToSizeButton.Image = global::Demo.yFiles.Layout.PreferredLabelPlacement.PreferredLabelPlacement.fit_16; this.fitToSizeButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.fitToSizeButton.Name = "fitToSizeButton"; this.fitToSizeButton.Size = new System.Drawing.Size(23, 22); this.fitToSizeButton.Text = "toolStripButton1"; this.fitToSizeButton.ToolTipText = "Fit graph bounds"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // // toolStripLabel1 // this.toolStripLabel1.Name = "toolStripLabel1"; this.toolStripLabel1.Size = new System.Drawing.Size(46, 22); this.toolStripLabel1.Text = "Layout:"; // // layoutComboBox // this.layoutComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.layoutComboBox.Name = "layoutComboBox"; this.layoutComboBox.Size = new System.Drawing.Size(160, 25); // // refreshLayoutButton // this.refreshLayoutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.refreshLayoutButton.Image = global::Demo.yFiles.Layout.PreferredLabelPlacement.PreferredLabelPlacement.reload_16; this.refreshLayoutButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.refreshLayoutButton.Name = "refreshLayoutButton"; this.refreshLayoutButton.Size = new System.Drawing.Size(23, 22); this.refreshLayoutButton.Text = "Refresh Layout"; this.refreshLayoutButton.Click += new System.EventHandler(this.OnDoLayoutButtonClicked); // // propertiesPanel // this.propertiesPanel.Controls.Add(this.label5); this.propertiesPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.propertiesPanel.Location = new System.Drawing.Point(0, 0); this.propertiesPanel.Name = "propertiesPanel"; this.propertiesPanel.Size = new System.Drawing.Size(296, 501); this.propertiesPanel.TabIndex = 0; // // label5 // this.label5.Dock = System.Windows.Forms.DockStyle.Top; this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.Location = new System.Drawing.Point(0, 0); this.label5.Name = "label5"; this.label5.Padding = new System.Windows.Forms.Padding(5); this.label5.Size = new System.Drawing.Size(296, 23); this.label5.TabIndex = 9; this.label5.Text = "Edge Label Properties"; // // toolStripContainer1 // this.toolStripContainer1.BottomToolStripPanelVisible = false; // // toolStripContainer1.ContentPanel // this.toolStripContainer1.ContentPanel.Controls.Add(this.innerSplitContainer); this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(705, 501); 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(705, 526); this.toolStripContainer1.TabIndex = 1; this.toolStripContainer1.Text = "toolStripContainer1"; // // toolStripContainer1.TopToolStripPanel // this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolBar); // // PreferredLabelPlacementForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(961, 526); this.Controls.Add(this.outerSplitContainer); this.Icon = global::Demo.yFiles.Layout.PreferredLabelPlacement.PreferredLabelPlacement.yFiles; this.Name = "PreferredLabelPlacementForm"; this.Text = "Preferred Label Placement Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.OnLoad); this.outerSplitContainer.Panel1.ResumeLayout(false); this.outerSplitContainer.Panel2.ResumeLayout(false); this.outerSplitContainer.ResumeLayout(false); this.innerSplitContainer.Panel1.ResumeLayout(false); this.innerSplitContainer.Panel2.ResumeLayout(false); this.innerSplitContainer.ResumeLayout(false); this.panel1.ResumeLayout(false); this.toolBar.ResumeLayout(false); this.toolBar.PerformLayout(); this.propertiesPanel.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(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); this.helpStrip = new System.Windows.Forms.StatusStrip(); this.helpLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.graphControl = new yWorks.Controls.GraphControl(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = 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.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.undoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.redoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.hierarchyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.groupSelectionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ungroupSelectionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.expandGroupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.collapseGroupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.enterGroupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitGroupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 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.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.orthogonalEdgesButton = new System.Windows.Forms.ToolStripButton(); this.snappingButton = new System.Windows.Forms.ToolStripButton(); this.gridButton = new System.Windows.Forms.ToolStripButton(); this.gridSnapTypeLabel = new System.Windows.Forms.ToolStripLabel(); this.gridSnapTypeComboBox = new System.Windows.Forms.ToolStripComboBox(); this.saveFileDialog = new System.Windows.Forms.SaveFileDialog(); this.openFileDialog = new System.Windows.Forms.OpenFileDialog(); this.toolStripContainer1.BottomToolStripPanel.SuspendLayout(); this.toolStripContainer1.ContentPanel.SuspendLayout(); this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); this.toolStripContainer1.SuspendLayout(); this.helpStrip.SuspendLayout(); this.menuStrip1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.SuspendLayout(); // // toolStripContainer1 // // // toolStripContainer1.BottomToolStripPanel // this.toolStripContainer1.BottomToolStripPanel.Controls.Add(this.helpStrip); // // toolStripContainer1.ContentPanel // this.toolStripContainer1.ContentPanel.AutoScroll = true; this.toolStripContainer1.ContentPanel.Controls.Add(this.graphControl); this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(624, 451); this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStripContainer1.Location = new System.Drawing.Point(0, 0); this.toolStripContainer1.Name = "toolStripContainer1"; this.toolStripContainer1.Size = new System.Drawing.Size(624, 524); this.toolStripContainer1.TabIndex = 1; this.toolStripContainer1.Text = "toolStripContainer1"; // // toolStripContainer1.TopToolStripPanel // this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.menuStrip1); this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1); // // helpStrip // this.helpStrip.Dock = System.Windows.Forms.DockStyle.None; this.helpStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.helpLabel }); this.helpStrip.Location = new System.Drawing.Point(0, 0); this.helpStrip.Name = "helpStrip"; this.helpStrip.Size = new System.Drawing.Size(624, 22); this.helpStrip.TabIndex = 2; this.helpStrip.Text = "Help"; // // helpLabel // this.helpLabel.Name = "helpLabel"; this.helpLabel.Size = new System.Drawing.Size(507, 17); this.helpLabel.Text = "Tutorial Demo 17: How to enable and use orthogonal edge creation. See the sources" + " for details."; // // 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(0, 0); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(624, 451); this.graphControl.TabIndex = 0; this.graphControl.Text = "graphControl"; this.graphControl.ViewPoint = new yWorks.Geometry.PointD(0D, -45D); viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // menuStrip1 // this.menuStrip1.Dock = System.Windows.Forms.DockStyle.None; this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.editToolStripMenuItem, this.hierarchyToolStripMenuItem }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(624, 24); this.menuStrip1.TabIndex = 1; this.menuStrip1.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.openToolStripMenuItem, this.saveToolStripMenuItem, this.saveAsToolStripMenuItem, this.toolStripSeparator2, this.exitToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "&File"; // // openToolStripMenuItem // this.openToolStripMenuItem.Name = "openToolStripMenuItem"; this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); this.openToolStripMenuItem.Size = new System.Drawing.Size(155, 22); this.openToolStripMenuItem.Text = "&Open..."; // // saveToolStripMenuItem // this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); this.saveToolStripMenuItem.Size = new System.Drawing.Size(155, 22); this.saveToolStripMenuItem.Text = "&Save..."; // // saveAsToolStripMenuItem // this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(155, 22); this.saveAsToolStripMenuItem.Text = "Save &As..."; // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(152, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(155, 22); this.exitToolStripMenuItem.Text = "E&xit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitMenuItem_Click); // // editToolStripMenuItem // this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cutToolStripMenuItem, this.copyToolStripMenuItem, this.pasteToolStripMenuItem, this.deleteToolStripMenuItem, this.toolStripSeparator1, 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 = "Cu&t"; // // 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"; // // deleteToolStripMenuItem // this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem"; this.deleteToolStripMenuItem.Size = new System.Drawing.Size(107, 22); this.deleteToolStripMenuItem.Text = "&Delete"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.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"; // // hierarchyToolStripMenuItem // this.hierarchyToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.groupSelectionToolStripMenuItem, this.ungroupSelectionToolStripMenuItem, this.expandGroupToolStripMenuItem, this.collapseGroupToolStripMenuItem, this.enterGroupToolStripMenuItem, this.exitGroupToolStripMenuItem }); this.hierarchyToolStripMenuItem.Name = "hierarchyToolStripMenuItem"; this.hierarchyToolStripMenuItem.Size = new System.Drawing.Size(69, 20); this.hierarchyToolStripMenuItem.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"; // // 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"; // // 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"; // // toolStrip1 // this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.zoomInButton, this.zoomOutButton, this.fitContentButton, this.toolStripSeparator3, this.orthogonalEdgesButton, this.snappingButton, this.gridButton, this.gridSnapTypeLabel, this.gridSnapTypeComboBox }); this.toolStrip1.Location = new System.Drawing.Point(3, 24); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(621, 27); this.toolStrip1.TabIndex = 0; // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.zoomInButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomInButton.Name = "zoomInButton"; this.zoomInButton.Size = new System.Drawing.Size(56, 24); this.zoomInButton.Text = "Zoom In"; // // zoomOutButton // this.zoomOutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.zoomOutButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomOutButton.Name = "zoomOutButton"; this.zoomOutButton.Size = new System.Drawing.Size(66, 24); this.zoomOutButton.Text = "Zoom Out"; // // fitContentButton // this.fitContentButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.fitContentButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.fitContentButton.Name = "fitContentButton"; this.fitContentButton.Size = new System.Drawing.Size(70, 24); this.fitContentButton.Text = "Fit Content"; // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 27); // // orthogonalEdgesButton // this.orthogonalEdgesButton.Checked = true; this.orthogonalEdgesButton.CheckOnClick = true; this.orthogonalEdgesButton.CheckState = System.Windows.Forms.CheckState.Checked; this.orthogonalEdgesButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.orthogonalEdgesButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.orthogonalEdgesButton.Name = "orthogonalEdgesButton"; this.orthogonalEdgesButton.Size = new System.Drawing.Size(106, 24); this.orthogonalEdgesButton.Text = "Orthogonal Edges"; this.orthogonalEdgesButton.Click += new System.EventHandler(this.orthogonalEdgesButton_Click); // // snappingButton // this.snappingButton.Checked = true; this.snappingButton.CheckOnClick = true; this.snappingButton.CheckState = System.Windows.Forms.CheckState.Checked; this.snappingButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.snappingButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.snappingButton.Name = "snappingButton"; this.snappingButton.Size = new System.Drawing.Size(61, 24); this.snappingButton.Text = "Snapping"; this.snappingButton.Click += new System.EventHandler(this.snappingButton_Click); // // gridButton // this.gridButton.CheckOnClick = true; this.gridButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.gridButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.gridButton.Name = "gridButton"; this.gridButton.Size = new System.Drawing.Size(65, 24); this.gridButton.Text = "Show Grid"; this.gridButton.Click += new System.EventHandler(this.gridButton_Click); // // gridSnapTypeLabel // this.gridSnapTypeLabel.Name = "gridSnapTypeLabel"; this.gridSnapTypeLabel.Size = new System.Drawing.Size(84, 24); this.gridSnapTypeLabel.Text = "GridSnap Type"; // // gridSnapTypeComboBox // this.gridSnapTypeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.gridSnapTypeComboBox.Name = "gridSnapTypeComboBox"; this.gridSnapTypeComboBox.Size = new System.Drawing.Size(90, 23); this.gridSnapTypeComboBox.SelectedIndexChanged += new System.EventHandler(this.gridSnapTypeComboBox_SelectedIndexChanged); // // saveFileDialog // this.saveFileDialog.DefaultExt = "graphml"; this.saveFileDialog.Filter = "GraphML Files|*.graphml|XML Files|*.xml|All files|*.*"; this.saveFileDialog.Title = "Save GraphML file..."; // // openFileDialog // this.openFileDialog.DefaultExt = "graphml"; this.openFileDialog.Filter = "GraphML Files|*.graphml|XML Files|*.xml|All files|*.*"; this.openFileDialog.Title = "Load GraphML file..."; // // SampleApplication // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(624, 524); this.Controls.Add(this.toolStripContainer1); this.MainMenuStrip = this.menuStrip1; this.Name = "SampleApplication"; this.Text = "17 Orthogonal Edge Creation"; this.Load += new System.EventHandler(this.OnLoaded); this.toolStripContainer1.BottomToolStripPanel.ResumeLayout(false); this.toolStripContainer1.BottomToolStripPanel.PerformLayout(); this.toolStripContainer1.ContentPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.PerformLayout(); this.toolStripContainer1.ResumeLayout(false); this.toolStripContainer1.PerformLayout(); this.helpStrip.ResumeLayout(false); this.helpStrip.PerformLayout(); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.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 viewportLimiter2 = new yWorks.Controls.ViewportLimiter(); this.splitContainerHorizontal = new System.Windows.Forms.SplitContainer(); this.splitContainerVertical = new System.Windows.Forms.SplitContainer(); this.styleListBox = new System.Windows.Forms.ListBox(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); this.featuresComboBox = new System.Windows.Forms.ToolStripComboBox(); this.graphControl = new yWorks.Controls.GraphControl(); this.description = new System.Windows.Forms.RichTextBox(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); this.splitContainerHorizontal.Panel1.SuspendLayout(); this.splitContainerHorizontal.Panel2.SuspendLayout(); this.splitContainerHorizontal.SuspendLayout(); this.splitContainerVertical.Panel1.SuspendLayout(); this.splitContainerVertical.Panel2.SuspendLayout(); this.splitContainerVertical.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.toolStripContainer1.ContentPanel.SuspendLayout(); this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); this.toolStripContainer1.SuspendLayout(); this.SuspendLayout(); // // splitContainerHorizontal // this.splitContainerHorizontal.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerHorizontal.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.splitContainerHorizontal.Location = new System.Drawing.Point(0, 0); this.splitContainerHorizontal.Name = "splitContainerHorizontal"; // // splitContainerHorizontal.Panel1 // this.splitContainerHorizontal.Panel1.Controls.Add(this.description); // // splitContainerHorizontal.Panel2 // this.splitContainerHorizontal.Panel2.Controls.Add(this.toolStripContainer1); this.splitContainerHorizontal.Size = new System.Drawing.Size(784, 564); this.splitContainerHorizontal.SplitterDistance = 252; this.splitContainerHorizontal.TabIndex = 0; // // splitContainerVertical // this.splitContainerVertical.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerVertical.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.splitContainerVertical.IsSplitterFixed = true; this.splitContainerVertical.Location = new System.Drawing.Point(0, 0); this.splitContainerVertical.Name = "splitContainerVertical"; // // splitContainerVertical.Panel1 // this.splitContainerVertical.Panel1.Controls.Add(this.styleListBox); // // splitContainerVertical.Panel2 // this.splitContainerVertical.Panel2.Controls.Add(this.graphControl); this.splitContainerVertical.Size = new System.Drawing.Size(528, 533); this.splitContainerVertical.SplitterDistance = 80; this.splitContainerVertical.TabIndex = 1; // // styleListBox // this.styleListBox.Dock = System.Windows.Forms.DockStyle.Fill; this.styleListBox.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.styleListBox.FormattingEnabled = true; this.styleListBox.IntegralHeight = false; this.styleListBox.ItemHeight = 80; this.styleListBox.Location = new System.Drawing.Point(0, 0); this.styleListBox.Name = "styleListBox"; this.styleListBox.Size = new System.Drawing.Size(80, 533); this.styleListBox.TabIndex = 2; // // toolStrip1 // this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripLabel1, this.featuresComboBox }); 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(528, 31); this.toolStrip1.Stretch = true; this.toolStrip1.TabIndex = 3; this.toolStrip1.Text = "toolStrip1"; // // toolStripLabel1 // this.toolStripLabel1.Name = "toolStripLabel1"; this.toolStripLabel1.Size = new System.Drawing.Size(100, 20); this.toolStripLabel1.Text = "D'n'D Features:"; // // featuresComboBox // this.featuresComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.featuresComboBox.Name = "functionsComboBox"; this.featuresComboBox.Size = new System.Drawing.Size(150, 23); this.featuresComboBox.SelectedIndexChanged += new System.EventHandler(this.FeatureSelectionChanged); // // graphControl // this.graphControl.BackColor = System.Drawing.Color.White; 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.FitContentViewMargins = new yWorks.Geometry.InsetsD(10D, 10D, 10D, 10D); this.graphControl.Location = new System.Drawing.Point(0, 0); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(444, 533); this.graphControl.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.graphControl.TabIndex = 2; this.graphControl.Text = "graphControl"; viewportLimiter2.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter2; // // description // this.description.BackColor = System.Drawing.SystemColors.Window; this.description.Dock = System.Windows.Forms.DockStyle.Fill; this.description.Location = new System.Drawing.Point(0, 0); this.description.Name = "description"; this.description.ReadOnly = true; 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.splitContainerVertical); this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(528, 533); this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStripContainer1.Location = new System.Drawing.Point(0, 0); this.toolStripContainer1.Name = "toolStripContainer1"; this.toolStripContainer1.RightToolStripPanelVisible = false; this.toolStripContainer1.Size = new System.Drawing.Size(528, 564); this.toolStripContainer1.TabIndex = 3; this.toolStripContainer1.Text = "toolStripContainer1"; // // toolStripContainer1.TopToolStripPanel // this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1); // // DragAndDropForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(784, 564); this.Controls.Add(this.splitContainerHorizontal); this.Icon = global::Demo.yFiles.Graph.Input.DragAndDrop.Properties.Resources.yIcon; this.Name = "DragAndDropForm"; this.Text = "Drag And Drop Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.splitContainerHorizontal.Panel1.ResumeLayout(false); this.splitContainerHorizontal.Panel2.ResumeLayout(false); this.splitContainerHorizontal.ResumeLayout(false); this.splitContainerVertical.Panel1.ResumeLayout(false); this.splitContainerVertical.Panel2.ResumeLayout(false); this.splitContainerVertical.ResumeLayout(false); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); 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(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.printButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.printerSetupButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.pageSetupButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = 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.graphControl = new yWorks.Controls.GraphControl(); this.description = new System.Windows.Forms.RichTextBox(); this.moveViewportInputMode1 = new yWorks.Controls.Input.MoveViewportInputMode(); this.saveFileDialog = new System.Windows.Forms.SaveFileDialog(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); this.toolStrip1.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.splitContainer2.Panel2.SuspendLayout(); this.splitContainer2.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.printButton, this.toolStripSeparator2, this.printerSetupButton, this.toolStripSeparator3, this.pageSetupButton, this.toolStripSeparator1, this.zoomInButton, this.zoomOutButton, 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"; // // printButton // this.printButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.printButton.Image = global::Demo.yFiles.Printing.Properties.Resources.print_16; this.printButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.printButton.Name = "printButton"; this.printButton.Size = new System.Drawing.Size(80, 20); this.printButton.Text = "Print Preview"; this.printButton.Click += new System.EventHandler(this.printButton_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 23); // // printerSetupButton // this.printerSetupButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.printerSetupButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.printerSetupButton.Name = "printerSetupButton"; this.printerSetupButton.Size = new System.Drawing.Size(79, 20); this.printerSetupButton.Text = "Printer Setup"; this.printerSetupButton.Click += new System.EventHandler(this.printerSetupButton_Click); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 23); // // pageSetupButton // this.pageSetupButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.pageSetupButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.pageSetupButton.Name = "pageSetupButton"; this.pageSetupButton.Size = new System.Drawing.Size(70, 20); this.pageSetupButton.Text = "Page Setup"; this.pageSetupButton.Click += new System.EventHandler(this.pageSetupButton_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 23); // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.Printing.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.Printing.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.Printing.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.graphControl); this.splitContainer2.Size = new System.Drawing.Size(724, 533); this.splitContainer2.SplitterDistance = 308; this.splitContainer2.TabIndex = 2; // // 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(0, 0); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(412, 533); this.graphControl.TabIndex = 2; this.graphControl.Text = "Graph"; viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // 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 = ""; // // moveViewportInputMode1 // this.moveViewportInputMode1.DragCursor = System.Windows.Forms.Cursors.Hand; // // 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 = 3; this.toolStripContainer1.Text = "toolStripContainer1"; // // toolStripContainer1.TopToolStripPanel // this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1); // // PrintingForm // 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.Printing.Properties.Resources.yIcon; this.Name = "PrintingForm"; this.Text = "Printing 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.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 viewportLimiter2 = new yWorks.Controls.ViewportLimiter(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); this.splitContainer2 = new System.Windows.Forms.SplitContainer(); this.graphControl = new yWorks.Controls.GraphControl(); this.propertiesPanel = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel(); this.runLayoutButton = new System.Windows.Forms.Button(); this.optionPanel = new System.Windows.Forms.Panel(); this.scenarioPanel = new System.Windows.Forms.Panel(); this.refreshButton = new System.Windows.Forms.Button(); this.scenarioComboBox = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.zoomInButton = new System.Windows.Forms.ToolStripButton(); this.zoomOutButton = new System.Windows.Forms.ToolStripButton(); this.fitToSizeButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.lockSelectionButton = new System.Windows.Forms.ToolStripButton(); this.unlockSelectionButton = new System.Windows.Forms.ToolStripButton(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.toolStripContainer1.ContentPanel.SuspendLayout(); this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); this.toolStripContainer1.SuspendLayout(); this.splitContainer2.Panel1.SuspendLayout(); this.splitContainer2.Panel2.SuspendLayout(); this.splitContainer2.SuspendLayout(); this.propertiesPanel.SuspendLayout(); this.panel1.SuspendLayout(); this.scenarioPanel.SuspendLayout(); this.toolStrip1.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.toolStripContainer1); this.splitContainer1.Size = new System.Drawing.Size(990, 614); this.splitContainer1.SplitterDistance = 302; this.splitContainer1.TabIndex = 0; // // description // this.description.Dock = System.Windows.Forms.DockStyle.Fill; this.description.Location = new System.Drawing.Point(0, 0); this.description.Margin = new System.Windows.Forms.Padding(10); this.description.Name = "description"; this.description.Size = new System.Drawing.Size(302, 614); this.description.TabIndex = 0; this.description.Text = ""; // // toolStripContainer1 // // // toolStripContainer1.ContentPanel // this.toolStripContainer1.ContentPanel.Controls.Add(this.splitContainer2); this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(684, 583); this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStripContainer1.Location = new System.Drawing.Point(0, 0); this.toolStripContainer1.Name = "toolStripContainer1"; this.toolStripContainer1.Size = new System.Drawing.Size(684, 614); this.toolStripContainer1.TabIndex = 0; this.toolStripContainer1.Text = "toolStripContainer1"; // // toolStripContainer1.TopToolStripPanel // this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1); // // splitContainer2 // this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; this.splitContainer2.Location = new System.Drawing.Point(0, 0); this.splitContainer2.Name = "splitContainer2"; // // splitContainer2.Panel1 // this.splitContainer2.Panel1.Controls.Add(this.graphControl); // // splitContainer2.Panel2 // this.splitContainer2.Panel2.Controls.Add(this.propertiesPanel); this.splitContainer2.Size = new System.Drawing.Size(684, 583); this.splitContainer2.SplitterDistance = 300; this.splitContainer2.TabIndex = 0; // // 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.FileOperationsEnabled = true; this.graphControl.FitContentViewMargins = new yWorks.Geometry.InsetsD(10D, 10D, 10D, 10D); this.graphControl.Location = new System.Drawing.Point(0, 0); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(373, 583); this.graphControl.TabIndex = 0; this.graphControl.Text = "graphControl1"; viewportLimiter2.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter2; // // propertiesPanel // this.propertiesPanel.Controls.Add(this.panel1); this.propertiesPanel.Controls.Add(this.optionPanel); this.propertiesPanel.Controls.Add(this.scenarioPanel); this.propertiesPanel.Controls.Add(this.label5); this.propertiesPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.propertiesPanel.Location = new System.Drawing.Point(0, 0); this.propertiesPanel.Name = "propertiesPanel"; this.propertiesPanel.Size = new System.Drawing.Size(307, 583); this.propertiesPanel.TabIndex = 0; // // panel1 // this.panel1.AutoSize = true; this.panel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.panel1.Controls.Add(this.runLayoutButton); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 63); this.panel1.Name = "panel1"; this.panel1.Padding = new System.Windows.Forms.Padding(0, 5, 0, 5); this.panel1.Size = new System.Drawing.Size(307, 52); this.panel1.TabIndex = 14; // // runLayoutButton // this.runLayoutButton.AutoSize = true; this.runLayoutButton.Image = global::Demo.yFiles.Layout.PartialLayout.Properties.Resources.play_16; this.runLayoutButton.Location = new System.Drawing.Point(6, 11); this.runLayoutButton.Name = "runLayoutButton"; this.runLayoutButton.Size = new System.Drawing.Size(83, 33); this.runLayoutButton.TabIndex = 13; this.runLayoutButton.Text = "Layout"; this.runLayoutButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.runLayoutButton.UseVisualStyleBackColor = true; this.runLayoutButton.Click += new System.EventHandler(this.OnRunButtonClicked); // // optionPanel // this.optionPanel.AutoSize = false; this.optionPanel.Dock = System.Windows.Forms.DockStyle.Top; this.optionPanel.Location = new System.Drawing.Point(0, 63); this.optionPanel.Name = "optionPanel"; this.optionPanel.Size = new System.Drawing.Size(307, 200); this.optionPanel.TabIndex = 11; // // scenarioPanel // this.scenarioPanel.AutoSize = true; this.scenarioPanel.Controls.Add(this.refreshButton); this.scenarioPanel.Controls.Add(this.scenarioComboBox); this.scenarioPanel.Controls.Add(this.label1); this.scenarioPanel.Dock = System.Windows.Forms.DockStyle.Top; this.scenarioPanel.Location = new System.Drawing.Point(0, 23); this.scenarioPanel.Name = "scenarioPanel"; this.scenarioPanel.Padding = new System.Windows.Forms.Padding(0, 5, 0, 5); this.scenarioPanel.Size = new System.Drawing.Size(307, 40); this.scenarioPanel.TabIndex = 10; // // refreshButton // this.refreshButton.AutoSize = true; this.refreshButton.Image = global::Demo.yFiles.Layout.PartialLayout.Properties.Resources.reload_16; this.refreshButton.Location = new System.Drawing.Point(209, 9); this.refreshButton.Name = "refreshButton"; this.refreshButton.Size = new System.Drawing.Size(24, 23); this.refreshButton.TabIndex = 2; this.refreshButton.UseVisualStyleBackColor = true; this.refreshButton.Click += new System.EventHandler(this.OnRefreshButtonClicked); // // scenarioComboBox // this.scenarioComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.scenarioComboBox.FormattingEnabled = true; this.scenarioComboBox.Location = new System.Drawing.Point(61, 11); this.scenarioComboBox.Name = "scenarioComboBox"; this.scenarioComboBox.Size = new System.Drawing.Size(121, 21); this.scenarioComboBox.TabIndex = 1; this.scenarioComboBox.SelectedIndexChanged += new System.EventHandler(this.ScenarioComboBoxSelectedValueChanged); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(3, 14); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(52, 13); this.label1.TabIndex = 0; this.label1.Text = "Scenario:"; // // label5 // this.label5.Dock = System.Windows.Forms.DockStyle.Top; this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.Location = new System.Drawing.Point(0, 0); this.label5.Name = "label5"; this.label5.Padding = new System.Windows.Forms.Padding(5); this.label5.Size = new System.Drawing.Size(307, 23); this.label5.TabIndex = 9; this.label5.Text = "Layout Settings"; // // toolStrip1 // this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.zoomInButton, this.zoomOutButton, this.fitToSizeButton, this.toolStripSeparator1, this.lockSelectionButton, this.unlockSelectionButton }); 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(684, 31); this.toolStrip1.Stretch = true; this.toolStrip1.TabIndex = 0; // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.Layout.PartialLayout.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 = "toolStripButton1"; this.zoomInButton.ToolTipText = "Zoom in1"; // // zoomOutButton // this.zoomOutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomOutButton.Image = global::Demo.yFiles.Layout.PartialLayout.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 = "toolStripButton1"; this.zoomOutButton.ToolTipText = "Zoom out"; // // fitToSizeButton // this.fitToSizeButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.fitToSizeButton.Image = global::Demo.yFiles.Layout.PartialLayout.Properties.Resources.fit_16; this.fitToSizeButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.fitToSizeButton.Name = "fitToSizeButton"; this.fitToSizeButton.Size = new System.Drawing.Size(23, 20); this.fitToSizeButton.Text = "toolStripButton1"; this.fitToSizeButton.ToolTipText = "Fit graph bounds"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 23); // // lockSelectionButton // this.lockSelectionButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.lockSelectionButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.lockSelectionButton.Name = "lockSelectionButton"; this.lockSelectionButton.Size = new System.Drawing.Size(87, 20); this.lockSelectionButton.Text = "Lock Selection"; this.lockSelectionButton.Click += new System.EventHandler(this.OnLockSelectionButtonClicked); // // unlockSelectionButton // this.unlockSelectionButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.unlockSelectionButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.unlockSelectionButton.Name = "unlockSelectionButton"; this.unlockSelectionButton.Size = new System.Drawing.Size(99, 20); this.unlockSelectionButton.Text = "Unlock Selection"; this.unlockSelectionButton.Click += new System.EventHandler(this.OnUnlockSelectionButtonClicked); // // PartialLayoutForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(990, 614); this.Controls.Add(this.splitContainer1); this.Icon = global::Demo.yFiles.Layout.PartialLayout.Properties.Resources.yIcon; this.Name = "PartialLayoutForm"; this.Text = "PartialLayout 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.ResumeLayout(false); this.toolStripContainer1.ContentPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.PerformLayout(); this.toolStripContainer1.ResumeLayout(false); this.toolStripContainer1.PerformLayout(); this.splitContainer2.Panel1.ResumeLayout(false); this.splitContainer2.Panel2.ResumeLayout(false); this.splitContainer2.ResumeLayout(false); this.propertiesPanel.ResumeLayout(false); this.propertiesPanel.PerformLayout(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.scenarioPanel.ResumeLayout(false); this.scenarioPanel.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LabelEditingForm)); this.splitContainer = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.graphControl = new yWorks.Controls.GraphControl(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitToolStripMenuItem = 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.fitContentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 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.editPageHeaderButton = new System.Windows.Forms.ToolStripButton(); this.splitContainer.Panel1.SuspendLayout(); this.splitContainer.Panel2.SuspendLayout(); this.splitContainer.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.menuStrip1.SuspendLayout(); this.SuspendLayout(); // // splitContainer // this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.splitContainer.Location = new System.Drawing.Point(0, 0); this.splitContainer.Name = "splitContainer"; // // splitContainer.Panel1 // this.splitContainer.Panel1.Controls.Add(this.description); // // splitContainer.Panel2 // this.splitContainer.Panel2.Controls.Add(this.splitContainer1); this.splitContainer.Panel2.Controls.Add(this.toolStrip1); this.splitContainer.Panel2.Controls.Add(this.menuStrip1); this.splitContainer.Size = new System.Drawing.Size(1279, 656); this.splitContainer.SplitterDistance = 303; this.splitContainer.TabIndex = 0; // // description // this.description.BackColor = System.Drawing.SystemColors.Window; this.description.Dock = System.Windows.Forms.DockStyle.Fill; this.description.Location = new System.Drawing.Point(0, 0); this.description.Name = "description"; this.description.ReadOnly = true; this.description.Size = new System.Drawing.Size(303, 656); this.description.TabIndex = 0; this.description.Text = ""; // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; this.splitContainer1.Location = new System.Drawing.Point(0, 49); this.splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.graphControl); this.splitContainer1.Size = new System.Drawing.Size(972, 607); this.splitContainer1.SplitterDistance = 708; this.splitContainer1.TabIndex = 1; // // graphControl // this.graphControl.BackColor = System.Drawing.Color.White; 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.FitContentViewMargins = new yWorks.Geometry.InsetsD(10D, 10D, 10D, 10D); this.graphControl.Location = new System.Drawing.Point(0, 0); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(708, 607); this.graphControl.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.graphControl.TabIndex = 0; this.graphControl.Text = "graphControl"; viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // toolStrip1 // this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.zoomInButton, this.zoomOutButton, this.fitContentButton, this.toolStripSeparator1, this.editPageHeaderButton }); this.toolStrip1.Location = new System.Drawing.Point(0, 24); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(972, 25); this.toolStrip1.TabIndex = 1; this.toolStrip1.Text = "toolStrip1"; // // menuStrip1 // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.viewToolStripMenuItem }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(972, 24); this.menuStrip1.TabIndex = 2; this.menuStrip1.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.exitToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "File"; // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(exitToolStripMenuItem_Click); // // viewToolStripMenuItem // this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.zoomInToolStripMenuItem, this.zoomOutToolStripMenuItem, 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(152, 22); this.zoomInToolStripMenuItem.Text = "Zoom In"; // // zoomOutToolStripMenuItem // this.zoomOutToolStripMenuItem.Name = "zoomOutToolStripMenuItem"; this.zoomOutToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.zoomOutToolStripMenuItem.Text = "Zoom Out"; // // fitContentToolStripMenuItem // this.fitContentToolStripMenuItem.Name = "fitContentToolStripMenuItem"; this.fitContentToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.fitContentToolStripMenuItem.Text = "Fit Content"; // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.Graph.Input.LabelEditing.Properties.Resources.plus_16; this.zoomInButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomInButton.Name = "zoomInButton"; this.zoomInButton.Size = new System.Drawing.Size(23, 22); this.zoomInButton.Text = "toolStripButton1"; // // zoomOutButton // this.zoomOutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomOutButton.Image = global::Demo.yFiles.Graph.Input.LabelEditing.Properties.Resources.minus_16; this.zoomOutButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomOutButton.Name = "zoomOutButton"; this.zoomOutButton.Size = new System.Drawing.Size(23, 22); this.zoomOutButton.Text = "toolStripButton2"; // // fitContentButton // this.fitContentButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.fitContentButton.Image = global::Demo.yFiles.Graph.Input.LabelEditing.Properties.Resources.fit_16; this.fitContentButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.fitContentButton.Name = "fitContentButton"; this.fitContentButton.Size = new System.Drawing.Size(23, 22); this.fitContentButton.Text = "toolStripButton3"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // // editPageHeaderButton // this.editPageHeaderButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.editPageHeaderButton.Image = ((System.Drawing.Image)(resources.GetObject("editPageHeaderButton.Image"))); this.editPageHeaderButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.editPageHeaderButton.Name = "editPageHeaderButton"; this.editPageHeaderButton.Size = new System.Drawing.Size(101, 22); this.editPageHeaderButton.Text = "Edit Page Header"; this.editPageHeaderButton.Click += new System.EventHandler(this.EditPageHeader); // // LabelEditingForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1279, 656); this.Controls.Add(this.splitContainer); this.Icon = global::Demo.yFiles.Graph.Input.LabelEditing.Properties.Resources.yIcon; this.MainMenuStrip = this.menuStrip1; this.Name = "LabelEditingForm"; this.Text = "Label Editing Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.splitContainer.Panel1.ResumeLayout(false); this.splitContainer.Panel2.ResumeLayout(false); this.splitContainer.Panel2.PerformLayout(); this.splitContainer.ResumeLayout(false); this.splitContainer1.Panel1.ResumeLayout(false); 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(); this.toolStripContainer = new System.Windows.Forms.ToolStripContainer(); this.graphControl = new yWorks.Controls.GraphControl(); this.toolStrip = 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.saveFileDialog = new System.Windows.Forms.SaveFileDialog(); this.openFileDialog = new System.Windows.Forms.OpenFileDialog(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); this.toolStripContainer.ContentPanel.SuspendLayout(); this.toolStripContainer.TopToolStripPanel.SuspendLayout(); this.toolStripContainer.SuspendLayout(); this.toolStrip.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.SuspendLayout(); // // toolStripContainer // // // toolStripContainer.ContentPanel // this.toolStripContainer.ContentPanel.Controls.Add(this.graphControl); this.toolStripContainer.ContentPanel.Size = new System.Drawing.Size(706, 622); 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(706, 653); this.toolStripContainer.TabIndex = 1; this.toolStripContainer.Text = "toolStripContainer1"; // // toolStripContainer.TopToolStripPanel // this.toolStripContainer.TopToolStripPanel.Controls.Add(this.toolStrip); // // 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.Size = new System.Drawing.Size(706, 622); this.graphControl.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.graphControl.TabIndex = 1; this.graphControl.Text = "graphControl"; viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // toolStrip // this.toolStrip.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ZoomInButton, this.ZoomOutButton, this.FitContentButton, this.toolStripSeparator1 }); this.toolStrip.Location = new System.Drawing.Point(0, 0); this.toolStrip.Name = "toolStrip"; this.toolStrip.Padding = new System.Windows.Forms.Padding(4); this.toolStrip.Size = new System.Drawing.Size(706, 31); this.toolStrip.Stretch = true; this.toolStrip.TabIndex = 0; // // ZoomInButton // this.ZoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.ZoomInButton.Image = global::Demo.yFiles.Layout.IncrementalHierarchicLayout.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.IncrementalHierarchicLayout.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.IncrementalHierarchicLayout.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 into View"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 23); // // saveFileDialog // this.saveFileDialog.DefaultExt = "graphml"; this.saveFileDialog.Filter = "GraphML Files|*.graphml|XML Files|*.xml|All files|*.*"; this.saveFileDialog.Title = "Save GraphML file..."; // // openFileDialog // this.openFileDialog.DefaultExt = "graphml"; this.openFileDialog.Filter = "GraphML Files|*.graphml|XML Files|*.xml|All files|*.*"; this.openFileDialog.Title = "Load GraphML file..."; // // 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.toolStripContainer); this.splitContainer1.Size = new System.Drawing.Size(962, 653); this.splitContainer1.SplitterDistance = 252; this.splitContainer1.TabIndex = 2; // // description // this.description.BackColor = System.Drawing.SystemColors.Window; this.description.Dock = System.Windows.Forms.DockStyle.Fill; this.description.Location = new System.Drawing.Point(0, 0); this.description.Name = "description"; this.description.ReadOnly = true; this.description.Size = new System.Drawing.Size(252, 653); this.description.TabIndex = 5; this.description.Text = ""; // // IncrementalHierarchicLayouterForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(962, 653); this.Controls.Add(this.splitContainer1); this.Icon = global::Demo.yFiles.Layout.IncrementalHierarchicLayout.Properties.Resources.yIcon; this.Name = "IncrementalHierarchicLayouterForm"; this.Text = "Incremental Hierarchic Layout 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.toolStrip.ResumeLayout(false); this.toolStrip.PerformLayout(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.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() { yWorks.Controls.ViewportLimiter viewportLimiter3 = 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.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = 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.deleteToolStripMenuItem = 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.toolStripContainer1.ContentPanel.SuspendLayout(); this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); this.toolStripContainer1.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.toolStripContainer1); this.splitContainer1.Size = new System.Drawing.Size(634, 342); 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, 342); this.description.TabIndex = 0; this.description.Text = ""; // // graphControl // this.graphControl.BackColor = System.Drawing.Color.White; 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.FitContentViewMargins = new yWorks.Geometry.InsetsD(10D, 10D, 10D, 10D); this.graphControl.Location = new System.Drawing.Point(0, 0); this.graphControl.Name = "graphControl"; this.graphControl.NavigationCommandsEnabled = false; this.graphControl.Size = new System.Drawing.Size(378, 318); this.graphControl.TabIndex = 0; this.graphControl.Text = "graphControl1"; this.graphControl.ViewPoint = new yWorks.Geometry.PointD(8.5D, 8.5D); viewportLimiter3.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter3; // // toolStripContainer1 // this.toolStripContainer1.BottomToolStripPanelVisible = false; // // toolStripContainer1.ContentPanel // this.toolStripContainer1.ContentPanel.Controls.Add(this.graphControl); this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(378, 318); 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(378, 342); this.toolStripContainer1.TabIndex = 1; this.toolStripContainer1.Text = "toolStripContainer1"; // // toolStripContainer1.TopToolStripPanel // this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.menuStrip1); // // menuStrip1 // this.menuStrip1.Dock = System.Windows.Forms.DockStyle.None; this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.editToolStripMenuItem, this.viewToolStripMenuItem }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(378, 24); this.menuStrip1.TabIndex = 1; this.menuStrip1.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.openToolStripMenuItem, this.saveToolStripMenuItem, this.toolStripSeparator1, this.exitToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "File"; // // openToolStripMenuItem // this.openToolStripMenuItem.Name = "openToolStripMenuItem"; this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); this.openToolStripMenuItem.Size = new System.Drawing.Size(155, 22); this.openToolStripMenuItem.Text = "Open..."; // // saveToolStripMenuItem // this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); this.saveToolStripMenuItem.Size = new System.Drawing.Size(155, 22); this.saveToolStripMenuItem.Text = "Save..."; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(152, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(155, 22); this.exitToolStripMenuItem.Text = "Exit"; // // editToolStripMenuItem // this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cutToolStripMenuItem, this.copyToolStripMenuItem, this.pasteToolStripMenuItem, this.deleteToolStripMenuItem }); this.editToolStripMenuItem.Name = "editToolStripMenuItem"; this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20); this.editToolStripMenuItem.Text = "Edit"; // // cutToolStripMenuItem // this.cutToolStripMenuItem.Name = "cutToolStripMenuItem"; this.cutToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X))); this.cutToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.cutToolStripMenuItem.Text = "Cut"; // // copyToolStripMenuItem // this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; this.copyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); this.copyToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.copyToolStripMenuItem.Text = "Copy"; // // pasteToolStripMenuItem // this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; this.pasteToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V))); this.pasteToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.pasteToolStripMenuItem.Text = "Paste"; // // deleteToolStripMenuItem // this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem"; this.deleteToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Delete; this.deleteToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.deleteToolStripMenuItem.Text = "Delete"; // // 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"; // // CustomLabelModelForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(634, 342); this.Controls.Add(this.splitContainer1); this.Icon = global::Demo.yFiles.Graph.CustomLabelModel.Properties.Resources.yIcon; this.MainMenuStrip = this.menuStrip1; this.Name = "CustomLabelModelForm"; this.Text = "Custom Label Model Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.CustomLabelModelForm_Load); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.ResumeLayout(false); this.toolStripContainer1.ContentPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.PerformLayout(); this.toolStripContainer1.ResumeLayout(false); this.toolStripContainer1.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 viewportLimiter3 = new yWorks.Controls.ViewportLimiter(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); 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.newGraphToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.loadGraphMLMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveGraphMLMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.exitToolStripMenuItem = 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.toolStripContainer1.ContentPanel.SuspendLayout(); this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); this.toolStripContainer1.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.toolStripContainer1); 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 = 2; this.description.Text = ""; // // toolStripContainer1 // // // toolStripContainer1.ContentPanel // this.toolStripContainer1.ContentPanel.AutoScroll = true; this.toolStripContainer1.ContentPanel.Controls.Add(this.graphControl); this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(644, 582); this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStripContainer1.Location = new System.Drawing.Point(0, 0); this.toolStripContainer1.Name = "toolStripContainer1"; this.toolStripContainer1.Size = new System.Drawing.Size(644, 637); this.toolStripContainer1.TabIndex = 1; this.toolStripContainer1.Text = "toolStripContainer1"; // // toolStripContainer1.TopToolStripPanel // this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.menuStrip1); this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1); // // 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, 0); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(644, 582); this.graphControl.TabIndex = 8; this.graphControl.Text = "graphControl1"; viewportLimiter3.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter3; // // toolStrip1 // this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None; 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 = 10; this.toolStrip1.Text = "toolStrip1"; // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.Layout.SequenceConstraints.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.SequenceConstraints.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.SequenceConstraints.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.SequenceConstraints.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 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.SequenceConstraints.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.Dock = System.Windows.Forms.DockStyle.None; this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.viewToolStripMenuItem }); 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 = 11; 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"; // // 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); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(149, 6); // // 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..."; // // 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); // // 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"; // // SequenceConstraintsForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(900, 637); this.Controls.Add(this.splitContainer1); this.Icon = global::Demo.yFiles.Layout.SequenceConstraints.Properties.Resources.yIcon; this.Name = "SequenceConstraintsForm"; this.Text = "SequenceConstraints 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.ResumeLayout(false); this.toolStripContainer1.ContentPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.PerformLayout(); this.toolStripContainer1.ResumeLayout(false); this.toolStripContainer1.PerformLayout(); 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() { this.components = new System.ComponentModel.Container(); yWorks.Controls.ViewportLimiter viewportLimiter1 = new yWorks.Controls.ViewportLimiter(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.descriptionTextBox = new System.Windows.Forms.RichTextBox(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); this.graphControl = new yWorks.Controls.GraphControl(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.newGraphButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = 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.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.layoutComboBox = new System.Windows.Forms.ToolStripComboBox(); this.applyLayoutButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.markAsSourceButton = new System.Windows.Forms.ToolStripButton(); this.markAsTargetButton = new System.Windows.Forms.ToolStripButton(); this.directedComboBox = new System.Windows.Forms.ToolStripComboBox(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.setLabelValueButton = new System.Windows.Forms.ToolStripButton(); this.deleteLabelsButton = new System.Windows.Forms.ToolStripButton(); this.nodeContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); this.markAsSourceMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.markAsTargetMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.toolStripContainer1.ContentPanel.SuspendLayout(); this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); this.toolStripContainer1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.nodeContextMenuStrip.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.BackColor = System.Drawing.SystemColors.Window; this.splitContainer1.Panel1.Controls.Add(this.descriptionTextBox); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.toolStripContainer1); this.splitContainer1.Size = new System.Drawing.Size(1095, 658); this.splitContainer1.SplitterDistance = 252; this.splitContainer1.TabIndex = 2; // // descriptionTextBox // this.descriptionTextBox.BackColor = System.Drawing.SystemColors.Window; this.descriptionTextBox.Dock = System.Windows.Forms.DockStyle.Fill; this.descriptionTextBox.Location = new System.Drawing.Point(0, 0); this.descriptionTextBox.Name = "descriptionTextBox"; this.descriptionTextBox.ReadOnly = true; this.descriptionTextBox.Size = new System.Drawing.Size(252, 658); this.descriptionTextBox.TabIndex = 0; this.descriptionTextBox.Text = ""; // // toolStripContainer1 // this.toolStripContainer1.BottomToolStripPanelVisible = false; // // toolStripContainer1.ContentPanel // this.toolStripContainer1.ContentPanel.Controls.Add(this.graphControl); this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(839, 627); 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(839, 658); this.toolStripContainer1.TabIndex = 2; this.toolStripContainer1.Text = "toolStripContainer1"; // // toolStripContainer1.TopToolStripPanel // this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1); // // 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(0, 0); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(839, 627); this.graphControl.TabIndex = 0; viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // toolStrip1 // this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newGraphButton, this.toolStripSeparator1, this.zoomInButton, this.zoomOutButton, this.fitContentButton, this.toolStripSeparator2, this.layoutComboBox, this.applyLayoutButton, this.toolStripSeparator4, this.markAsSourceButton, this.markAsTargetButton, this.directedComboBox, this.toolStripSeparator3, this.setLabelValueButton, this.deleteLabelsButton }); 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(839, 31); this.toolStrip1.Stretch = true; this.toolStrip1.TabIndex = 1; this.toolStrip1.Text = "toolStrip1"; // // newGraphButton // this.newGraphButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.newGraphButton.Image = global::Demo.yFiles.Algorithms.ShortestPath.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 Graph"; this.newGraphButton.Click += new System.EventHandler(this.newGraphButton_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 23); // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.Algorithms.ShortestPath.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.Algorithms.ShortestPath.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.Algorithms.ShortestPath.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"; // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 23); // // layoutComboBox // this.layoutComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.layoutComboBox.Name = "layoutComboBox"; this.layoutComboBox.Size = new System.Drawing.Size(121, 23); this.layoutComboBox.ToolTipText = "Select a Layout Algorithm"; // // applyLayoutButton // this.applyLayoutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.applyLayoutButton.Image = global::Demo.yFiles.Algorithms.ShortestPath.Properties.Resources.reload_16; this.applyLayoutButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.applyLayoutButton.Name = "applyLayoutButton"; this.applyLayoutButton.Size = new System.Drawing.Size(23, 20); this.applyLayoutButton.Text = "Run Layout"; this.applyLayoutButton.ToolTipText = "Run Layout"; this.applyLayoutButton.Click += new System.EventHandler(this.applyLayoutButton_Click); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(6, 23); // // markAsSourceButton // this.markAsSourceButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.markAsSourceButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.markAsSourceButton.Name = "markAsSourceButton"; this.markAsSourceButton.Size = new System.Drawing.Size(91, 20); this.markAsSourceButton.Text = "Mark as Source"; this.markAsSourceButton.ToolTipText = "Mark Selected Nodes as Source"; this.markAsSourceButton.Click += new System.EventHandler(this.markAsSourceButton_Click); // // markAsTargetButton // this.markAsTargetButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.markAsTargetButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.markAsTargetButton.Name = "markAsTargetButton"; this.markAsTargetButton.Size = new System.Drawing.Size(89, 20); this.markAsTargetButton.Text = "Mark as Target"; this.markAsTargetButton.ToolTipText = "Mark Selected Nodes as Target"; this.markAsTargetButton.Click += new System.EventHandler(this.markAsTargetButton_Click); // // directedComboBox // this.directedComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.directedComboBox.Items.AddRange(new object[] { "Directed Edges", "Undirected Edges" }); this.directedComboBox.Name = "directedComboBox"; this.directedComboBox.Size = new System.Drawing.Size(121, 23); this.directedComboBox.SelectedIndexChanged += new System.EventHandler(this.directedComboBox_SelectedIndexChanged); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 23); // // setLabelValueButton // this.setLabelValueButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.setLabelValueButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.setLabelValueButton.Name = "setLabelValueButton"; this.setLabelValueButton.Size = new System.Drawing.Size(84, 20); this.setLabelValueButton.Text = "Edit All Labels"; this.setLabelValueButton.Click += new System.EventHandler(this.setLabelValueButton_Click); // // deleteLabelsButton // this.deleteLabelsButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.deleteLabelsButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.deleteLabelsButton.Name = "deleteLabelsButton"; this.deleteLabelsButton.Size = new System.Drawing.Size(97, 20); this.deleteLabelsButton.Text = "Delete All Labels"; this.deleteLabelsButton.Click += new System.EventHandler(this.deleteLabelsButton_Click); // // nodeContextMenuStrip // this.nodeContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.markAsSourceMenuItem, this.markAsTargetMenuItem }); this.nodeContextMenuStrip.Name = "nodeContextMenuStrip"; this.nodeContextMenuStrip.Size = new System.Drawing.Size(157, 48); // // markAsSourceMenuItem // this.markAsSourceMenuItem.Name = "markAsSourceMenuItem"; this.markAsSourceMenuItem.Size = new System.Drawing.Size(156, 22); this.markAsSourceMenuItem.Text = "Mark As Source"; // // markAsTargetMenuItem // this.markAsTargetMenuItem.Name = "markAsTargetMenuItem"; this.markAsTargetMenuItem.Size = new System.Drawing.Size(156, 22); this.markAsTargetMenuItem.Text = "Mark as target"; // // ShortestPathForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1095, 658); this.Controls.Add(this.splitContainer1); this.Icon = global::Demo.yFiles.Algorithms.ShortestPath.Properties.Resources.yIcon; this.Name = "ShortestPathForm"; this.Text = "Shortest Path Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.ShortestPathForm_Load); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.ResumeLayout(false); this.toolStripContainer1.ContentPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.PerformLayout(); this.toolStripContainer1.ResumeLayout(false); this.toolStripContainer1.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.nodeContextMenuStrip.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() { yWorks.Controls.ViewportLimiter viewportLimiter1 = new yWorks.Controls.ViewportLimiter(); this.toolStripContainer = new System.Windows.Forms.ToolStripContainer(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.graphControl = new yWorks.Controls.GraphControl(); this.graphMLText = new System.Windows.Forms.TextBox(); this.menuStrip = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = 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.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator6 = 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.increaseZoomToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.decreaseZoomToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.fitGraphBoundsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStrip = new System.Windows.Forms.ToolStrip(); this.openButton = new System.Windows.Forms.ToolStripButton(); this.saveButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.undoButton = new System.Windows.Forms.ToolStripButton(); this.redoButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.pasteButton = new System.Windows.Forms.ToolStripButton(); this.copyButton = new System.Windows.Forms.ToolStripButton(); this.cutButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator4 = 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.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.graphSettingsButton = new System.Windows.Forms.ToolStripButton(); this.showGraphMLButton = new System.Windows.Forms.ToolStripButton(); this.applyGraphMLButton = new System.Windows.Forms.ToolStripButton(); this.saveFileDialog = new System.Windows.Forms.SaveFileDialog(); this.openFileDialog = new System.Windows.Forms.OpenFileDialog(); this.splitContainer2 = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); 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.splitContainer2.Panel1.SuspendLayout(); this.splitContainer2.Panel2.SuspendLayout(); this.splitContainer2.SuspendLayout(); this.SuspendLayout(); // // toolStripContainer // // // toolStripContainer.ContentPanel // this.toolStripContainer.ContentPanel.Controls.Add(this.splitContainer1); this.toolStripContainer.ContentPanel.Size = new System.Drawing.Size(752, 709); 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(752, 764); 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.Panel2; this.splitContainer1.Location = new System.Drawing.Point(0, 0); this.splitContainer1.Name = "splitContainer1"; this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.graphControl); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.graphMLText); this.splitContainer1.Size = new System.Drawing.Size(752, 709); this.splitContainer1.SplitterDistance = 250; this.splitContainer1.TabIndex = 2; // // graphControl // this.graphControl.BackColor = System.Drawing.Color.White; 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.FitContentViewMargins = new yWorks.Geometry.InsetsD(10D, 10D, 10D, 10D); this.graphControl.Location = new System.Drawing.Point(0, 0); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(752, 250); this.graphControl.TabIndex = 1; this.graphControl.Text = "graphControl"; this.graphControl.ViewPoint = new yWorks.Geometry.PointD(0D, -107D); viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // graphMLText // this.graphMLText.Dock = System.Windows.Forms.DockStyle.Fill; this.graphMLText.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.graphMLText.Location = new System.Drawing.Point(0, 0); this.graphMLText.Multiline = true; this.graphMLText.Name = "graphMLText"; this.graphMLText.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.graphMLText.Size = new System.Drawing.Size(752, 455); this.graphMLText.TabIndex = 0; this.graphMLText.MaxLength = int.MaxValue; // // 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.menuStrip.Location = new System.Drawing.Point(0, 0); this.menuStrip.Name = "menuStrip"; this.menuStrip.Size = new System.Drawing.Size(752, 24); this.menuStrip.TabIndex = 1; this.menuStrip.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.openToolStripMenuItem, this.saveAsToolStripMenuItem, this.toolStripSeparator1, this.exitToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "File"; // // openToolStripMenuItem // this.openToolStripMenuItem.Name = "openToolStripMenuItem"; this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); this.openToolStripMenuItem.Size = new System.Drawing.Size(155, 22); this.openToolStripMenuItem.Text = "Open..."; // // saveAsToolStripMenuItem // this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(155, 22); this.saveAsToolStripMenuItem.Text = "Save As..."; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(152, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(155, 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.deleteToolStripMenuItem, this.toolStripSeparator6, 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.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X))); this.cutToolStripMenuItem.Size = new System.Drawing.Size(144, 22); this.cutToolStripMenuItem.Text = "Cut"; // // copyToolStripMenuItem // this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; this.copyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); this.copyToolStripMenuItem.Size = new System.Drawing.Size(144, 22); this.copyToolStripMenuItem.Text = "Copy"; // // pasteToolStripMenuItem // this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; this.pasteToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V))); this.pasteToolStripMenuItem.Size = new System.Drawing.Size(144, 22); this.pasteToolStripMenuItem.Text = "Paste"; // // deleteToolStripMenuItem // this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem"; this.deleteToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Delete; this.deleteToolStripMenuItem.Size = new System.Drawing.Size(144, 22); this.deleteToolStripMenuItem.Text = "Delete"; // // toolStripSeparator6 // this.toolStripSeparator6.Name = "toolStripSeparator6"; this.toolStripSeparator6.Size = new System.Drawing.Size(141, 6); // // undoToolStripMenuItem // this.undoToolStripMenuItem.Name = "undoToolStripMenuItem"; this.undoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z))); this.undoToolStripMenuItem.Size = new System.Drawing.Size(144, 22); this.undoToolStripMenuItem.Text = "Undo"; // // redoToolStripMenuItem // this.redoToolStripMenuItem.Name = "redoToolStripMenuItem"; this.redoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Y))); this.redoToolStripMenuItem.Size = new System.Drawing.Size(144, 22); this.redoToolStripMenuItem.Text = "Redo"; // // 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"; // // toolStrip // this.toolStrip.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.openButton, this.saveButton, this.toolStripSeparator5, this.undoButton, this.redoButton, this.toolStripSeparator3, this.pasteButton, this.copyButton, this.cutButton, this.toolStripSeparator4, this.zoomInButton, this.zoomOutButton, this.fitContentButton, this.toolStripSeparator2, this.graphSettingsButton, this.showGraphMLButton, this.applyGraphMLButton }); 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(752, 31); this.toolStrip.Stretch = true; this.toolStrip.TabIndex = 0; // // openButton // this.openButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.openButton.Image = global::Demo.yFiles.IO.GraphML.Simple.Properties.Resources.open_16; this.openButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.openButton.Name = "openButton"; this.openButton.Size = new System.Drawing.Size(23, 20); this.openButton.Text = "Open"; // // saveButton // this.saveButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.saveButton.Image = global::Demo.yFiles.IO.GraphML.Simple.Properties.Resources.save_16; this.saveButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.saveButton.Name = "saveButton"; this.saveButton.Size = new System.Drawing.Size(23, 20); this.saveButton.Text = "Save As"; // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(6, 23); // // undoButton // this.undoButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.undoButton.Image = global::Demo.yFiles.IO.GraphML.Simple.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.IO.GraphML.Simple.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"; // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 23); // // pasteButton // this.pasteButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.pasteButton.Image = global::Demo.yFiles.IO.GraphML.Simple.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"; // // copyButton // this.copyButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.copyButton.Image = global::Demo.yFiles.IO.GraphML.Simple.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"; // // cutButton // this.cutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.cutButton.Image = global::Demo.yFiles.IO.GraphML.Simple.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 = "Cut"; // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(6, 23); // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.IO.GraphML.Simple.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.IO.GraphML.Simple.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.IO.GraphML.Simple.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"; // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 23); // // graphSettingsButton // this.graphSettingsButton.CheckOnClick = true; this.graphSettingsButton.Image = global::Demo.yFiles.IO.GraphML.Simple.Properties.Resources.settings_16; this.graphSettingsButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.graphSettingsButton.Name = "graphSettingsButton"; this.graphSettingsButton.Size = new System.Drawing.Size(146, 20); this.graphSettingsButton.Text = "Include Graph Settings"; // // showGraphMLButton // this.showGraphMLButton.Image = global::Demo.yFiles.IO.GraphML.Simple.Properties.Resources.arrow_down_16; this.showGraphMLButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.showGraphMLButton.Name = "showGraphMLButton"; this.showGraphMLButton.Size = new System.Drawing.Size(108, 20); this.showGraphMLButton.Text = "Show GraphML"; this.showGraphMLButton.Click += new System.EventHandler(this.ShowGraphMLButton_Click); // // applyGraphMLButton // this.applyGraphMLButton.Image = global::Demo.yFiles.IO.GraphML.Simple.Properties.Resources.arrow_up_16; this.applyGraphMLButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.applyGraphMLButton.Name = "applyGraphMLButton"; this.applyGraphMLButton.Size = new System.Drawing.Size(110, 20); this.applyGraphMLButton.Text = "Apply GraphML"; this.applyGraphMLButton.Click += new System.EventHandler(this.ApplyGraphMLButton_Click); // // saveFileDialog // this.saveFileDialog.DefaultExt = "graphml"; this.saveFileDialog.Filter = "GraphML Files|*.graphml|XML Files|*.xml|All files|*.*"; this.saveFileDialog.Title = "Save GraphML file..."; // // openFileDialog // this.openFileDialog.DefaultExt = "graphml"; this.openFileDialog.Filter = "GraphML Files|*.graphml|XML Files|*.xml|All files|*.*"; this.openFileDialog.Title = "Load GraphML file..."; // // 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.Panel1 // this.splitContainer2.Panel1.Controls.Add(this.description); // // splitContainer2.Panel2 // this.splitContainer2.Panel2.Controls.Add(this.toolStripContainer); this.splitContainer2.Size = new System.Drawing.Size(1008, 764); this.splitContainer2.SplitterDistance = 252; this.splitContainer2.TabIndex = 2; // // description // this.description.BackColor = System.Drawing.SystemColors.Window; this.description.Dock = System.Windows.Forms.DockStyle.Fill; this.description.Location = new System.Drawing.Point(0, 0); this.description.Name = "description"; this.description.ReadOnly = true; this.description.Size = new System.Drawing.Size(252, 764); this.description.TabIndex = 0; this.description.Text = ""; // // SimpleGraphMLDemo // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1008, 764); this.Controls.Add(this.splitContainer2); this.Icon = global::Demo.yFiles.IO.GraphML.Simple.Properties.Resources.yIcon; this.MainMenuStrip = this.menuStrip; this.Name = "SimpleGraphMLDemo"; this.Text = "Simple GraphML 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.Panel2.PerformLayout(); this.splitContainer1.ResumeLayout(false); this.menuStrip.ResumeLayout(false); this.menuStrip.PerformLayout(); this.toolStrip.ResumeLayout(false); this.toolStrip.PerformLayout(); this.splitContainer2.Panel1.ResumeLayout(false); this.splitContainer2.Panel2.ResumeLayout(false); this.splitContainer2.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() { yWorks.Controls.ViewportLimiter viewportLimiter1 = new yWorks.Controls.ViewportLimiter(); this.splitContainer = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); this.graphControl = new yWorks.Controls.GraphControl(); this.splitContainer.Panel1.SuspendLayout(); this.splitContainer.Panel2.SuspendLayout(); this.splitContainer.SuspendLayout(); this.SuspendLayout(); // // splitContainer // this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.splitContainer.Location = new System.Drawing.Point(0, 0); this.splitContainer.Name = "splitContainer"; // // splitContainer.Panel1 // this.splitContainer.Panel1.Controls.Add(this.description); // // splitContainer.Panel2 // this.splitContainer.Panel2.Controls.Add(this.graphControl); this.splitContainer.Size = new System.Drawing.Size(659, 447); this.splitContainer.SplitterDistance = 252; this.splitContainer.TabIndex = 0; // // description // this.description.BackColor = System.Drawing.SystemColors.Window; this.description.Dock = System.Windows.Forms.DockStyle.Fill; this.description.Location = new System.Drawing.Point(0, 0); this.description.Name = "description"; this.description.ReadOnly = true; this.description.Size = new System.Drawing.Size(252, 447); this.description.TabIndex = 0; 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.Location = new System.Drawing.Point(0, 0); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(403, 447); this.graphControl.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.graphControl.TabIndex = 0; this.graphControl.Text = "graphControl"; viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // ReparentHandlerForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(659, 447); this.Controls.Add(this.splitContainer); this.Icon = global::Demo.yFiles.Graph.Input.ReparentHandler.Properties.Resources.yIcon; this.Name = "ReparentHandlerForm"; this.Text = "Reparent Handler Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.FormLoaded); this.splitContainer.Panel1.ResumeLayout(false); this.splitContainer.Panel2.ResumeLayout(false); this.splitContainer.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() { yWorks.Controls.ViewportLimiter viewportLimiter1 = new yWorks.Controls.ViewportLimiter(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.openButton = new System.Windows.Forms.ToolStripButton(); this.saveButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); this.undoButton = new System.Windows.Forms.ToolStripButton(); this.redoButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator7 = 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.toolStripSeparator8 = 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.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.clearUndoButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.modifyColorButton = new System.Windows.Forms.ToolStripButton(); this.graphControl = new yWorks.Controls.GraphControl(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); this.menuStrip2 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = 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.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator5 = 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.fitToSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); this.saveFileDialog = new System.Windows.Forms.SaveFileDialog(); this.openFileDialog = new System.Windows.Forms.OpenFileDialog(); this.toolStrip1.SuspendLayout(); this.toolStripContainer1.ContentPanel.SuspendLayout(); this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); this.toolStripContainer1.SuspendLayout(); this.menuStrip2.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.SuspendLayout(); // // toolStrip1 // this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.openButton, this.saveButton, this.toolStripSeparator6, this.undoButton, this.redoButton, this.toolStripSeparator7, this.cutButton, this.copyButton, this.pasteButton, this.toolStripSeparator8, this.ZoomInButton, this.ZoomOutButton, this.FitContentButton, this.toolStripSeparator3, this.clearUndoButton, this.toolStripSeparator1, this.modifyColorButton }); 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(558, 31); this.toolStrip1.Stretch = true; this.toolStrip1.TabIndex = 2; this.toolStrip1.Text = "toolStrip1"; // // openButton // this.openButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.openButton.Image = global::Demo.yFiles.Graph.Undo.Properties.Resources.open_16; this.openButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.openButton.Name = "openButton"; this.openButton.Size = new System.Drawing.Size(23, 20); this.openButton.Text = "Open"; // // saveButton // this.saveButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.saveButton.Image = global::Demo.yFiles.Graph.Undo.Properties.Resources.save_16; this.saveButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.saveButton.Name = "saveButton"; this.saveButton.Size = new System.Drawing.Size(23, 20); this.saveButton.Text = "Save As"; // // toolStripSeparator6 // this.toolStripSeparator6.Name = "toolStripSeparator6"; this.toolStripSeparator6.Size = new System.Drawing.Size(6, 23); // // undoButton // this.undoButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.undoButton.Image = global::Demo.yFiles.Graph.Undo.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.Undo.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"; // // toolStripSeparator7 // this.toolStripSeparator7.Name = "toolStripSeparator7"; this.toolStripSeparator7.Size = new System.Drawing.Size(6, 23); // // cutButton // this.cutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.cutButton.Image = global::Demo.yFiles.Graph.Undo.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 = "Cut"; // // copyButton // this.copyButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.copyButton.Image = global::Demo.yFiles.Graph.Undo.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.Undo.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"; // // toolStripSeparator8 // this.toolStripSeparator8.Name = "toolStripSeparator8"; this.toolStripSeparator8.Size = new System.Drawing.Size(6, 23); // // ZoomInButton // this.ZoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.ZoomInButton.Image = global::Demo.yFiles.Graph.Undo.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.ToolTipText = "Zoom In"; // // ZoomOutButton // this.ZoomOutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.ZoomOutButton.Image = global::Demo.yFiles.Graph.Undo.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.ToolTipText = "Zoom Out"; // // FitContentButton // this.FitContentButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.FitContentButton.Image = global::Demo.yFiles.Graph.Undo.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.ToolTipText = "Fit Content into View"; // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 23); // // clearUndoButton // this.clearUndoButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.clearUndoButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.clearUndoButton.Name = "clearUndoButton"; this.clearUndoButton.Size = new System.Drawing.Size(108, 20); this.clearUndoButton.Text = "Clear Undo Entries"; this.clearUndoButton.Click += new System.EventHandler(this.ClearUndoClicked); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 23); // // modifyColorButton // this.modifyColorButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.modifyColorButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.modifyColorButton.Name = "modifyColorButton"; this.modifyColorButton.Size = new System.Drawing.Size(81, 20); this.modifyColorButton.Text = "Modify Color"; this.modifyColorButton.Click += new System.EventHandler(this.ModifyColorButton_Click); // // graphControl // this.graphControl.BackColor = System.Drawing.Color.White; 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.FitContentViewMargins = new yWorks.Geometry.InsetsD(10D, 10D, 10D, 10D); this.graphControl.Location = new System.Drawing.Point(0, 0); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(558, 409); this.graphControl.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.graphControl.TabIndex = 0; this.graphControl.Text = "graphControl"; this.graphControl.ViewPoint = new yWorks.Geometry.PointD(0D, -28D); viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // toolStripContainer1 // // // toolStripContainer1.ContentPanel // this.toolStripContainer1.ContentPanel.AutoScroll = true; this.toolStripContainer1.ContentPanel.Controls.Add(this.graphControl); this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(558, 409); this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStripContainer1.Location = new System.Drawing.Point(0, 0); this.toolStripContainer1.Name = "toolStripContainer1"; this.toolStripContainer1.Size = new System.Drawing.Size(558, 464); this.toolStripContainer1.TabIndex = 3; this.toolStripContainer1.Text = "toolStripContainer1"; // // toolStripContainer1.TopToolStripPanel // this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.menuStrip2); this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1); // // menuStrip2 // this.menuStrip2.Dock = System.Windows.Forms.DockStyle.None; this.menuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.editToolStripMenuItem, this.viewToolStripMenuItem }); this.menuStrip2.Location = new System.Drawing.Point(0, 0); this.menuStrip2.Name = "menuStrip2"; this.menuStrip2.Size = new System.Drawing.Size(558, 24); this.menuStrip2.TabIndex = 3; this.menuStrip2.Text = "menuStrip2"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.openToolStripMenuItem, this.saveAsToolStripMenuItem, this.toolStripSeparator2, this.exitToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "File"; // // openToolStripMenuItem // this.openToolStripMenuItem.Name = "openToolStripMenuItem"; this.openToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this.openToolStripMenuItem.Text = "Open"; // // saveAsToolStripMenuItem // this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this.saveAsToolStripMenuItem.Text = "Save as..."; // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(118, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this.exitToolStripMenuItem.Text = "Exit"; // // editToolStripMenuItem // this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cutToolStripMenuItem, this.copyToolStripMenuItem, this.pasteToolStripMenuItem, this.toolStripSeparator4, this.deleteToolStripMenuItem, this.toolStripSeparator5, 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"; // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.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"; // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.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.fitToSizeToolStripMenuItem }); 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(165, 22); this.zoomInToolStripMenuItem.Text = "Increase Zoom"; // // zoomOutToolStripMenuItem // this.zoomOutToolStripMenuItem.Name = "zoomOutToolStripMenuItem"; this.zoomOutToolStripMenuItem.Size = new System.Drawing.Size(165, 22); this.zoomOutToolStripMenuItem.Text = "Decrease Zoom"; // // fitToSizeToolStripMenuItem // this.fitToSizeToolStripMenuItem.Name = "fitToSizeToolStripMenuItem"; this.fitToSizeToolStripMenuItem.Size = new System.Drawing.Size(165, 22); this.fitToSizeToolStripMenuItem.Text = "Fit Graph Bounds"; // // 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(814, 464); this.splitContainer1.SplitterDistance = 252; this.splitContainer1.TabIndex = 1; // // description // this.description.BackColor = System.Drawing.SystemColors.Window; this.description.Dock = System.Windows.Forms.DockStyle.Fill; this.description.Location = new System.Drawing.Point(0, 0); this.description.Name = "description"; this.description.ReadOnly = true; this.description.Size = new System.Drawing.Size(252, 464); this.description.TabIndex = 5; this.description.Text = ""; // // saveFileDialog // this.saveFileDialog.DefaultExt = "graphml"; this.saveFileDialog.Filter = "GraphML Files|*.graphml|XML Files|*.xml|All files|*.*"; this.saveFileDialog.Title = "Save GraphML file..."; // // openFileDialog // this.openFileDialog.DefaultExt = "graphml"; this.openFileDialog.Filter = "GraphML Files|*.graphml|XML Files|*.xml|All files|*.*"; this.openFileDialog.Title = "Load GraphML file..."; // // GraphUndoForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(814, 464); this.Controls.Add(this.splitContainer1); this.Icon = global::Demo.yFiles.Graph.Undo.Properties.Resources.yIcon; this.Name = "GraphUndoForm"; this.Text = "Graph Undoability Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.toolStripContainer1.ContentPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.PerformLayout(); this.toolStripContainer1.ResumeLayout(false); this.toolStripContainer1.PerformLayout(); this.menuStrip2.ResumeLayout(false); this.menuStrip2.PerformLayout(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.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() { yWorks.Controls.ViewportLimiter viewportLimiter3 = new yWorks.Controls.ViewportLimiter(); yWorks.Controls.ViewportLimiter viewportLimiter4 = new yWorks.Controls.ViewportLimiter(); this.toolStripContainer = new System.Windows.Forms.ToolStripContainer(); this.graphControl = new yWorks.Controls.GraphControl(); this.toolStrip = 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.zoomToCurrentItemButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator(); this.hideParentButton = new System.Windows.Forms.ToolStripButton(); this.showParentButton = new System.Windows.Forms.ToolStripButton(); this.hideChildrenButton = new System.Windows.Forms.ToolStripButton(); this.showChildrenButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.showAllButton = new System.Windows.Forms.ToolStripButton(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.panel1 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.StatusLabel = new System.Windows.Forms.Label(); this.BusinessUnitLabel = new System.Windows.Forms.Label(); this.EmailLabel = new System.Windows.Forms.Label(); this.FaxLabel = new System.Windows.Forms.Label(); this.PhoneLabel = new System.Windows.Forms.Label(); this.PositionLabel = new System.Windows.Forms.Label(); this.NameLabel = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.structureTreeView = new System.Windows.Forms.TreeView(); this.label9 = new System.Windows.Forms.Label(); this.panel4 = new System.Windows.Forms.Panel(); this.graphOverviewControl = new yWorks.Controls.GraphOverviewControl(); this.label8 = new System.Windows.Forms.Label(); this.splitContainer2 = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); this.toolStripContainer.ContentPanel.SuspendLayout(); this.toolStripContainer.TopToolStripPanel.SuspendLayout(); this.toolStripContainer.SuspendLayout(); this.toolStrip.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.panel1.SuspendLayout(); this.panel3.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); this.panel2.SuspendLayout(); this.panel4.SuspendLayout(); this.splitContainer2.Panel1.SuspendLayout(); this.splitContainer2.Panel2.SuspendLayout(); this.splitContainer2.SuspendLayout(); this.SuspendLayout(); // // toolStripContainer // // // toolStripContainer.ContentPanel // this.toolStripContainer.ContentPanel.Controls.Add(this.graphControl); this.toolStripContainer.ContentPanel.Size = new System.Drawing.Size(525, 624); 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(525, 655); this.toolStripContainer.TabIndex = 1; this.toolStripContainer.Text = "toolStripContainer1"; // // toolStripContainer.TopToolStripPanel // this.toolStripContainer.TopToolStripPanel.Controls.Add(this.toolStrip); // // 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.HorizontalScrollBarPolicy = yWorks.Controls.ScrollBarVisibility.Never; this.graphControl.Location = new System.Drawing.Point(0, 0); this.graphControl.Name = "graphControl"; this.graphControl.Size = new System.Drawing.Size(525, 624); this.graphControl.TabIndex = 2; this.graphControl.Text = "graphControl"; this.graphControl.VerticalScrollBarPolicy = yWorks.Controls.ScrollBarVisibility.Never; viewportLimiter3.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter3; // // toolStrip // this.toolStrip.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.zoomInButton, this.zoomOutButton, this.fitContentButton, this.zoomToCurrentItemButton, this.toolStripSeparator11, this.hideParentButton, this.showParentButton, this.hideChildrenButton, this.showChildrenButton, this.toolStripSeparator1, this.showAllButton }); this.toolStrip.Location = new System.Drawing.Point(0, 0); this.toolStrip.Name = "toolStrip"; this.toolStrip.Padding = new System.Windows.Forms.Padding(4); this.toolStrip.Size = new System.Drawing.Size(525, 31); this.toolStrip.Stretch = true; this.toolStrip.TabIndex = 0; // // zoomInButton // this.zoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomInButton.Image = global::Demo.yFiles.Graph.OrgChart.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.OrgChart.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.OrgChart.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"; // // zoomToCurrentItemButton // this.zoomToCurrentItemButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.zoomToCurrentItemButton.Image = global::Demo.yFiles.Graph.OrgChart.Properties.Resources.usericon_female1_16; this.zoomToCurrentItemButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.zoomToCurrentItemButton.Name = "zoomToCurrentItemButton"; this.zoomToCurrentItemButton.Size = new System.Drawing.Size(23, 20); this.zoomToCurrentItemButton.Text = "Zoom to current item"; // // toolStripSeparator11 // this.toolStripSeparator11.Name = "toolStripSeparator11"; this.toolStripSeparator11.Size = new System.Drawing.Size(6, 23); // // hideParentButton // this.hideParentButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.hideParentButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.hideParentButton.Name = "hideParentButton"; this.hideParentButton.Size = new System.Drawing.Size(73, 20); this.hideParentButton.Text = "Hide Parent"; // // showParentButton // this.showParentButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.showParentButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.showParentButton.Name = "showParentButton"; this.showParentButton.Size = new System.Drawing.Size(77, 20); this.showParentButton.Text = "Show Parent"; // // hideChildrenButton // this.hideChildrenButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.hideChildrenButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.hideChildrenButton.Name = "hideChildrenButton"; this.hideChildrenButton.Size = new System.Drawing.Size(84, 20); this.hideChildrenButton.Text = "Hide Children"; // // showChildrenButton // this.showChildrenButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.showChildrenButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.showChildrenButton.Name = "showChildrenButton"; this.showChildrenButton.Size = new System.Drawing.Size(88, 20); this.showChildrenButton.Text = "Show Children"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 23); // // showAllButton // this.showAllButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.showAllButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.showAllButton.Name = "showAllButton"; this.showAllButton.Size = new System.Drawing.Size(57, 20); this.showAllButton.Text = "Show All"; // // 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.panel1); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.splitContainer2); this.splitContainer1.Size = new System.Drawing.Size(1068, 655); this.splitContainer1.SplitterDistance = 252; this.splitContainer1.TabIndex = 3; // // panel1 // this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.panel2); this.panel1.Controls.Add(this.panel3); this.panel1.Controls.Add(this.panel4); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(252, 655); this.panel1.TabIndex = 4; // // panel3 // this.panel3.Controls.Add(this.tableLayoutPanel1); this.panel3.Controls.Add(this.label10); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel3.Location = new System.Drawing.Point(0, 484); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(248, 167); this.panel3.TabIndex = 6; // // tableLayoutPanel1 // this.tableLayoutPanel1.BackColor = System.Drawing.SystemColors.Window; this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 32.14286F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 67.85714F)); this.tableLayoutPanel1.Controls.Add(this.StatusLabel, 1, 6); this.tableLayoutPanel1.Controls.Add(this.BusinessUnitLabel, 1, 5); this.tableLayoutPanel1.Controls.Add(this.EmailLabel, 1, 4); this.tableLayoutPanel1.Controls.Add(this.FaxLabel, 1, 3); this.tableLayoutPanel1.Controls.Add(this.PhoneLabel, 1, 2); this.tableLayoutPanel1.Controls.Add(this.PositionLabel, 1, 1); this.tableLayoutPanel1.Controls.Add(this.NameLabel, 1, 0); this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0); this.tableLayoutPanel1.Controls.Add(this.label3, 0, 2); this.tableLayoutPanel1.Controls.Add(this.label2, 0, 1); this.tableLayoutPanel1.Controls.Add(this.label4, 0, 3); this.tableLayoutPanel1.Controls.Add(this.label5, 0, 4); this.tableLayoutPanel1.Controls.Add(this.label6, 0, 5); this.tableLayoutPanel1.Controls.Add(this.label7, 0, 6); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 23); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 8; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(248, 144); this.tableLayoutPanel1.TabIndex = 5; // // StatusLabel // this.StatusLabel.AutoSize = true; this.StatusLabel.Location = new System.Drawing.Point(82, 120); this.StatusLabel.Name = "StatusLabel"; this.StatusLabel.Size = new System.Drawing.Size(10, 13); this.StatusLabel.TabIndex = 13; this.StatusLabel.Text = "-"; // // BusinessUnitLabel // this.BusinessUnitLabel.AutoSize = true; this.BusinessUnitLabel.Location = new System.Drawing.Point(82, 100); this.BusinessUnitLabel.Name = "BusinessUnitLabel"; this.BusinessUnitLabel.Size = new System.Drawing.Size(10, 13); this.BusinessUnitLabel.TabIndex = 12; this.BusinessUnitLabel.Text = "-"; // // EmailLabel // this.EmailLabel.AutoSize = true; this.EmailLabel.Location = new System.Drawing.Point(82, 80); this.EmailLabel.Name = "EmailLabel"; this.EmailLabel.Size = new System.Drawing.Size(10, 13); this.EmailLabel.TabIndex = 11; this.EmailLabel.Text = "-"; // // FaxLabel // this.FaxLabel.AutoSize = true; this.FaxLabel.Location = new System.Drawing.Point(82, 60); this.FaxLabel.Name = "FaxLabel"; this.FaxLabel.Size = new System.Drawing.Size(10, 13); this.FaxLabel.TabIndex = 10; this.FaxLabel.Text = "-"; // // PhoneLabel // this.PhoneLabel.AutoSize = true; this.PhoneLabel.Location = new System.Drawing.Point(82, 40); this.PhoneLabel.Name = "PhoneLabel"; this.PhoneLabel.Size = new System.Drawing.Size(10, 13); this.PhoneLabel.TabIndex = 9; this.PhoneLabel.Text = "-"; // // PositionLabel // this.PositionLabel.AutoSize = true; this.PositionLabel.Location = new System.Drawing.Point(82, 20); this.PositionLabel.Name = "PositionLabel"; this.PositionLabel.Size = new System.Drawing.Size(10, 13); this.PositionLabel.TabIndex = 8; this.PositionLabel.Text = "-"; // // NameLabel // this.NameLabel.AutoSize = true; this.NameLabel.Location = new System.Drawing.Point(82, 0); this.NameLabel.Name = "NameLabel"; this.NameLabel.Size = new System.Drawing.Size(10, 13); this.NameLabel.TabIndex = 7; this.NameLabel.Text = "-"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(3, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(35, 13); this.label1.TabIndex = 0; this.label1.Text = "Name"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(3, 40); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(38, 13); this.label3.TabIndex = 2; this.label3.Text = "Phone"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(3, 20); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(44, 13); this.label2.TabIndex = 1; this.label2.Text = "Position"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(3, 60); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(24, 13); this.label4.TabIndex = 3; this.label4.Text = "Fax"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(3, 80); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(32, 13); this.label5.TabIndex = 4; this.label5.Text = "Email"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(3, 100); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(71, 13); this.label6.TabIndex = 5; this.label6.Text = "Business Unit"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(3, 120); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(37, 13); this.label7.TabIndex = 6; this.label7.Text = "Status"; // // label10 // this.label10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label10.Dock = System.Windows.Forms.DockStyle.Top; this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label10.Location = new System.Drawing.Point(0, 0); this.label10.Name = "label10"; this.label10.Padding = new System.Windows.Forms.Padding(0, 5, 0, 5); this.label10.Size = new System.Drawing.Size(248, 23); this.label10.TabIndex = 7; this.label10.Text = "Details"; this.label10.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // panel2 // this.panel2.Controls.Add(this.structureTreeView); this.panel2.Controls.Add(this.label9); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 161); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(248, 490); this.panel2.TabIndex = 7; // // structureTreeView // this.structureTreeView.Dock = System.Windows.Forms.DockStyle.Fill; this.structureTreeView.HideSelection = false; this.structureTreeView.Location = new System.Drawing.Point(0, 23); this.structureTreeView.Name = "structureTreeView"; this.structureTreeView.Size = new System.Drawing.Size(248, 467); this.structureTreeView.TabIndex = 0; this.structureTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.structureTreeView_AfterSelect); this.structureTreeView.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.structureTreeView_KeyPress); this.structureTreeView.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.structureTreeView_MouseDoubleClick); // // label9 // this.label9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label9.Dock = System.Windows.Forms.DockStyle.Top; this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label9.Location = new System.Drawing.Point(0, 0); this.label9.Name = "label9"; this.label9.Padding = new System.Windows.Forms.Padding(0, 5, 0, 5); this.label9.Size = new System.Drawing.Size(248, 23); this.label9.TabIndex = 5; this.label9.Text = "Structure"; this.label9.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // panel4 // this.panel4.Controls.Add(this.graphOverviewControl); this.panel4.Controls.Add(this.label8); this.panel4.Dock = System.Windows.Forms.DockStyle.Top; this.panel4.Location = new System.Drawing.Point(0, 0); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(248, 161); this.panel4.TabIndex = 7; // // graphOverviewControl // this.graphOverviewControl.AutoDrag = false; 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, 23); this.graphOverviewControl.Name = "graphOverviewControl"; this.graphOverviewControl.Size = new System.Drawing.Size(248, 138); this.graphOverviewControl.TabIndex = 3; this.graphOverviewControl.Text = "graphOverviewControl"; this.graphOverviewControl.VerticalScrollBarPolicy = yWorks.Controls.ScrollBarVisibility.Never; viewportLimiter4.Bounds = null; this.graphOverviewControl.ViewportLimiter = viewportLimiter4; // // label8 // this.label8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label8.Dock = System.Windows.Forms.DockStyle.Top; this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label8.Location = new System.Drawing.Point(0, 0); this.label8.Name = "label8"; this.label8.Padding = new System.Windows.Forms.Padding(0, 5, 0, 5); this.label8.Size = new System.Drawing.Size(248, 23); this.label8.TabIndex = 4; this.label8.Text = "Overview"; this.label8.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // splitContainer2 // this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; this.splitContainer2.Location = new System.Drawing.Point(0, 0); this.splitContainer2.Name = "splitContainer2"; // // splitContainer2.Panel1 // this.splitContainer2.Panel1.Controls.Add(this.toolStripContainer); // // splitContainer2.Panel2 // this.splitContainer2.Panel2.Controls.Add(this.description); this.splitContainer2.Size = new System.Drawing.Size(812, 655); this.splitContainer2.SplitterDistance = 525; this.splitContainer2.TabIndex = 0; // // description // this.description.BackColor = System.Drawing.SystemColors.Window; this.description.Dock = System.Windows.Forms.DockStyle.Fill; this.description.Location = new System.Drawing.Point(0, 0); this.description.Name = "description"; this.description.ReadOnly = true; this.description.Size = new System.Drawing.Size(283, 655); this.description.TabIndex = 3; this.description.Text = ""; // // OrgChartForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1068, 655); this.Controls.Add(this.splitContainer1); this.Icon = global::Demo.yFiles.Graph.OrgChart.Properties.Resources.yIcon; this.Name = "OrgChartForm"; this.Text = "OrgChart Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.SizeChanged += new System.EventHandler(this.InitialSizeChanged); this.toolStripContainer.ContentPanel.ResumeLayout(false); this.toolStripContainer.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer.TopToolStripPanel.PerformLayout(); this.toolStripContainer.ResumeLayout(false); this.toolStripContainer.PerformLayout(); this.toolStrip.ResumeLayout(false); this.toolStrip.PerformLayout(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel3.ResumeLayout(false); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); this.panel2.ResumeLayout(false); this.panel4.ResumeLayout(false); this.splitContainer2.Panel1.ResumeLayout(false); this.splitContainer2.Panel2.ResumeLayout(false); this.splitContainer2.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() { yWorks.Controls.ViewportLimiter viewportLimiter1 = new yWorks.Controls.ViewportLimiter(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.OpenMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.SaveMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ExitMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 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.sampleFilesComboBox = new System.Windows.Forms.ToolStripComboBox(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); this.graphControl = new yWorks.Controls.GraphControl(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.description = new System.Windows.Forms.RichTextBox(); this.menuStrip1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.toolStripContainer1.ContentPanel.SuspendLayout(); this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); this.toolStripContainer1.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.SuspendLayout(); // // menuStrip1 // this.menuStrip1.Dock = System.Windows.Forms.DockStyle.None; this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripMenuItem1 }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(558, 24); this.menuStrip1.TabIndex = 1; this.menuStrip1.Text = "FileMenuStrip"; // // toolStripMenuItem1 // this.toolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.OpenMenuItem, this.SaveMenuItem, this.ExitMenuItem }); this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new System.Drawing.Size(37, 20); this.toolStripMenuItem1.Text = "File"; // // OpenMenuItem // this.OpenMenuItem.Name = "OpenMenuItem"; this.OpenMenuItem.Size = new System.Drawing.Size(112, 22); this.OpenMenuItem.Text = "Open..."; // // SaveMenuItem // this.SaveMenuItem.Name = "SaveMenuItem"; this.SaveMenuItem.Size = new System.Drawing.Size(112, 22); this.SaveMenuItem.Text = "Save..."; // // ExitMenuItem // this.ExitMenuItem.Name = "ExitMenuItem"; this.ExitMenuItem.Size = new System.Drawing.Size(112, 22); this.ExitMenuItem.Text = "Exit"; this.ExitMenuItem.Click += new System.EventHandler(this.ExitMenuItem_Click); // // toolStrip1 // this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ZoomInButton, this.ZoomOutButton, this.FitContentButton, this.sampleFilesComboBox }); 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(558, 31); this.toolStrip1.Stretch = true; this.toolStrip1.TabIndex = 2; this.toolStrip1.Text = "toolStrip1"; // // ZoomInButton // this.ZoomInButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.ZoomInButton.Image = global::Demo.yFiles.Graph.TableNodeStyle.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 = "CanvasaContro"; this.ZoomInButton.ToolTipText = "Zoom In"; // // ZoomOutButton // this.ZoomOutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.ZoomOutButton.Image = global::Demo.yFiles.Graph.TableNodeStyle.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.ToolTipText = "Zoom Out"; // // FitContentButton // this.FitContentButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.FitContentButton.Image = global::Demo.yFiles.Graph.TableNodeStyle.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.ToolTipText = "Fit Content into View"; // // sampleFilesComboBox // this.sampleFilesComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.sampleFilesComboBox.Items.AddRange(new object[] { "BPMN Style", "Alternating Style", "Simple Node Style" }); this.sampleFilesComboBox.Name = "sampleFilesComboBox"; this.sampleFilesComboBox.Size = new System.Drawing.Size(121, 23); this.sampleFilesComboBox.SelectedIndexChanged += new System.EventHandler(this.sampleFilesComboBox_SelectedIndexChanged); // // toolStripContainer1 // // // toolStripContainer1.ContentPanel // this.toolStripContainer1.ContentPanel.AutoScroll = true; this.toolStripContainer1.ContentPanel.Controls.Add(this.graphControl); this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(558, 409); this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStripContainer1.Location = new System.Drawing.Point(0, 0); this.toolStripContainer1.Name = "toolStripContainer1"; this.toolStripContainer1.Size = new System.Drawing.Size(558, 464); this.toolStripContainer1.TabIndex = 3; this.toolStripContainer1.Text = "toolStripContainer1"; // // toolStripContainer1.TopToolStripPanel // this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.menuStrip1); this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1); // // 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.Size = new System.Drawing.Size(558, 409); this.graphControl.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.graphControl.TabIndex = 0; this.graphControl.Text = "graphControl"; viewportLimiter1.Bounds = null; this.graphControl.ViewportLimiter = viewportLimiter1; // // 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(814, 464); this.splitContainer1.SplitterDistance = 252; this.splitContainer1.TabIndex = 1; // // description // this.description.BackColor = System.Drawing.SystemColors.Window; this.description.Dock = System.Windows.Forms.DockStyle.Fill; this.description.Location = new System.Drawing.Point(0, 0); this.description.Name = "description"; this.description.ReadOnly = true; this.description.Size = new System.Drawing.Size(252, 464); this.description.TabIndex = 5; this.description.Text = ""; // // TableNodeStyleForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(814, 464); this.Controls.Add(this.splitContainer1); this.Icon = global::Demo.yFiles.Graph.TableNodeStyle.Properties.Resources.yIcon; this.MainMenuStrip = this.menuStrip1; this.Name = "TableNodeStyleForm"; this.Text = "Table Node Style Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.toolStripContainer1.ContentPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer1.TopToolStripPanel.PerformLayout(); this.toolStripContainer1.ResumeLayout(false); this.toolStripContainer1.PerformLayout(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.ResumeLayout(false); this.ResumeLayout(false); }