/// <summary> /// Требуемый метод для поддержки конструктора — не изменяйте /// содержимое этого метода с помощью редактора кода. /// </summary> private void InitializeComponent() { Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation planeTransformation1 = new Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation(); this.gViewer = new Microsoft.Msagl.GraphViewerGdi.GViewer(); this.SuspendLayout(); // // gViewer // this.gViewer.ArrowheadLength = 10D; this.gViewer.AsyncLayout = false; this.gViewer.AutoScroll = true; this.gViewer.BackwardEnabled = false; this.gViewer.BuildHitTree = true; this.gViewer.CurrentLayoutMethod = Microsoft.Msagl.GraphViewerGdi.LayoutMethod.UseSettingsOfTheGraph; this.gViewer.Dock = System.Windows.Forms.DockStyle.Fill; this.gViewer.EdgeInsertButtonVisible = true; this.gViewer.FileName = ""; this.gViewer.ForwardEnabled = false; this.gViewer.Graph = null; this.gViewer.InsertingEdge = false; this.gViewer.LayoutAlgorithmSettingsButtonVisible = true; this.gViewer.LayoutEditingEnabled = true; this.gViewer.Location = new System.Drawing.Point(0, 0); this.gViewer.LooseOffsetForRouting = 0.25D; this.gViewer.MouseHitDistance = 0.05D; this.gViewer.Name = "gViewer"; this.gViewer.NavigationVisible = true; this.gViewer.NeedToCalculateLayout = true; this.gViewer.OffsetForRelaxingInRouting = 0.6D; this.gViewer.PaddingForEdgeRouting = 8D; this.gViewer.PanButtonPressed = false; this.gViewer.SaveAsImageEnabled = true; this.gViewer.SaveAsMsaglEnabled = true; this.gViewer.SaveButtonVisible = true; this.gViewer.SaveGraphButtonVisible = true; this.gViewer.SaveInVectorFormatEnabled = true; this.gViewer.Size = new System.Drawing.Size(628, 586); this.gViewer.TabIndex = 0; this.gViewer.TightOffsetForRouting = 0.125D; this.gViewer.ToolBarIsVisible = true; this.gViewer.Transform = planeTransformation1; this.gViewer.UndoRedoButtonsVisible = true; this.gViewer.WindowZoomButtonPressed = false; this.gViewer.ZoomF = 1D; this.gViewer.ZoomWindowThreshold = 0.05D; this.gViewer.MouseDown += new System.Windows.Forms.MouseEventHandler(this.gViewer_MouseDown); this.gViewer.MouseUp += new System.Windows.Forms.MouseEventHandler(this.gViewer_MouseUp); // // MsaglViewerWrapper // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.gViewer); this.Name = "MsaglViewerWrapper"; this.Size = new System.Drawing.Size(628, 586); 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() { Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation planeTransformation1 = new Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation(); this.viewerB = new Microsoft.Msagl.GraphViewerGdi.GViewer(); this.SuspendLayout(); // // viewerB // this.viewerB.ArrowheadLength = 10D; this.viewerB.AsyncLayout = false; this.viewerB.AutoScroll = true; this.viewerB.BackwardEnabled = false; this.viewerB.BuildHitTree = true; this.viewerB.CurrentLayoutMethod = Microsoft.Msagl.GraphViewerGdi.LayoutMethod.UseSettingsOfTheGraph; this.viewerB.Dock = System.Windows.Forms.DockStyle.Fill; this.viewerB.EdgeInsertButtonVisible = true; this.viewerB.FileName = ""; this.viewerB.ForwardEnabled = false; this.viewerB.Graph = null; this.viewerB.InsertingEdge = false; this.viewerB.LayoutAlgorithmSettingsButtonVisible = true; this.viewerB.LayoutEditingEnabled = true; this.viewerB.Location = new System.Drawing.Point(0, 0); this.viewerB.LooseOffsetForRouting = 0.25D; this.viewerB.MouseHitDistance = 0.05D; this.viewerB.Name = "viewerB"; this.viewerB.NavigationVisible = true; this.viewerB.NeedToCalculateLayout = true; this.viewerB.OffsetForRelaxingInRouting = 0.6D; this.viewerB.PaddingForEdgeRouting = 8D; this.viewerB.PanButtonPressed = false; this.viewerB.SaveAsImageEnabled = true; this.viewerB.SaveAsMsaglEnabled = true; this.viewerB.SaveButtonVisible = true; this.viewerB.SaveGraphButtonVisible = true; this.viewerB.SaveInVectorFormatEnabled = true; this.viewerB.Size = new System.Drawing.Size(809, 450); this.viewerB.TabIndex = 3; this.viewerB.TightOffsetForRouting = 0.125D; this.viewerB.ToolBarIsVisible = false; this.viewerB.Transform = planeTransformation1; this.viewerB.UndoRedoButtonsVisible = true; this.viewerB.WindowZoomButtonPressed = false; this.viewerB.ZoomF = 1D; this.viewerB.ZoomWindowThreshold = 0.05D; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(809, 450); this.Controls.Add(this.viewerB); this.Name = "Form1"; this.Text = "TAiO"; 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() { Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation planeTransformation1 = new Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation(); this.gViewer1 = new Microsoft.Msagl.GraphViewerGdi.GViewer(); this.SuspendLayout(); this.gViewer1.ArrowheadLength = 10D; this.gViewer1.AsyncLayout = false; this.gViewer1.AutoScroll = true; this.gViewer1.BackwardEnabled = false; this.gViewer1.BuildHitTree = true; this.gViewer1.CurrentLayoutMethod = Microsoft.Msagl.GraphViewerGdi.LayoutMethod.UseSettingsOfTheGraph; this.gViewer1.EdgeInsertButtonVisible = true; this.gViewer1.FileName = ""; this.gViewer1.ForwardEnabled = false; this.gViewer1.Graph = null; this.gViewer1.InsertingEdge = false; this.gViewer1.LayoutAlgorithmSettingsButtonVisible = true; this.gViewer1.LayoutEditingEnabled = true; this.gViewer1.Location = new System.Drawing.Point(79, 23); this.gViewer1.LooseOffsetForRouting = 0.25D; this.gViewer1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.gViewer1.MouseHitDistance = 0.05D; this.gViewer1.Name = "gViewer1"; this.gViewer1.NavigationVisible = true; this.gViewer1.NeedToCalculateLayout = true; this.gViewer1.OffsetForRelaxingInRouting = 0.6D; this.gViewer1.PaddingForEdgeRouting = 8D; this.gViewer1.PanButtonPressed = false; this.gViewer1.SaveAsImageEnabled = true; this.gViewer1.SaveAsMsaglEnabled = true; this.gViewer1.SaveButtonVisible = true; this.gViewer1.SaveGraphButtonVisible = true; this.gViewer1.SaveInVectorFormatEnabled = true; this.gViewer1.Size = new System.Drawing.Size(864, 422); this.gViewer1.TabIndex = 0; this.gViewer1.TightOffsetForRouting = 0.125D; this.gViewer1.ToolBarIsVisible = true; this.gViewer1.Transform = planeTransformation1; this.gViewer1.UndoRedoButtonsVisible = true; this.gViewer1.WindowZoomButtonPressed = false; this.gViewer1.ZoomF = 1D; this.gViewer1.ZoomWindowThreshold = 0.05D; this.gViewer1.Load += new System.EventHandler(this.gViewer1_Load); this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1067, 554); this.Controls.Add(this.gViewer1); this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.Name = "GraphTestForm"; this.Text = "GraphTestForm"; this.Load += new System.EventHandler(this.GraphTestForm_Load); 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() { Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation planeTransformation3 = new Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation(); this.gViewer1 = new Microsoft.Msagl.GraphViewerGdi.GViewer(); this.dbAddEdge = new System.Windows.Forms.GroupBox(); this.lblWidth = new System.Windows.Forms.Label(); this.tbWidth = new System.Windows.Forms.TextBox(); this.lblWillAddNode2 = new System.Windows.Forms.Label(); this.tbWillAddNode2 = new System.Windows.Forms.TextBox(); this.lblWillAddNode1 = new System.Windows.Forms.Label(); this.tbWillAddNode1 = new System.Windows.Forms.TextBox(); this.button1 = new System.Windows.Forms.Button(); this.dbNodes = new System.Windows.Forms.GroupBox(); this.richTextBoxNodes = new System.Windows.Forms.RichTextBox(); this.gbEdges = new System.Windows.Forms.GroupBox(); this.flowLayoutPnlEdges = new System.Windows.Forms.FlowLayoutPanel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.label3 = new System.Windows.Forms.Label(); this.tbStart = new System.Windows.Forms.TextBox(); this.btnFindFlow = new System.Windows.Forms.Button(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.lblMaxFlow = new System.Windows.Forms.Label(); this.flowLayoutPnlEdgesFlow = new System.Windows.Forms.FlowLayoutPanel(); this.groupBox5 = new System.Windows.Forms.GroupBox(); this.groupBox6 = new System.Windows.Forms.GroupBox(); this.groupBox7 = new System.Windows.Forms.GroupBox(); this.btnFindMinCut = new System.Windows.Forms.Button(); this.lblMinCutCount = new System.Windows.Forms.Label(); this.flowLayoutPanelEdgesCut = new System.Windows.Forms.FlowLayoutPanel(); this.groupBox8 = new System.Windows.Forms.GroupBox(); this.numericUDEdgeWidth = new System.Windows.Forms.NumericUpDown(); this.dbAddEdge.SuspendLayout(); this.dbNodes.SuspendLayout(); this.gbEdges.SuspendLayout(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox4.SuspendLayout(); this.groupBox5.SuspendLayout(); this.groupBox6.SuspendLayout(); this.groupBox7.SuspendLayout(); this.groupBox8.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUDEdgeWidth)).BeginInit(); this.SuspendLayout(); // // gViewer1 // this.gViewer1.ArrowheadLength = 10D; this.gViewer1.AsyncLayout = false; this.gViewer1.AutoScroll = true; this.gViewer1.BackwardEnabled = false; this.gViewer1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.gViewer1.BuildHitTree = true; this.gViewer1.CurrentLayoutMethod = Microsoft.Msagl.GraphViewerGdi.LayoutMethod.UseSettingsOfTheGraph; this.gViewer1.EdgeInsertButtonVisible = true; this.gViewer1.FileName = ""; this.gViewer1.ForwardEnabled = false; this.gViewer1.Graph = null; this.gViewer1.InsertingEdge = false; this.gViewer1.LayoutAlgorithmSettingsButtonVisible = true; this.gViewer1.LayoutEditingEnabled = true; this.gViewer1.Location = new System.Drawing.Point(6, 18); this.gViewer1.LooseOffsetForRouting = 0.25D; this.gViewer1.MouseHitDistance = 0.05D; this.gViewer1.Name = "gViewer1"; this.gViewer1.NavigationVisible = true; this.gViewer1.NeedToCalculateLayout = true; this.gViewer1.OffsetForRelaxingInRouting = 0.6D; this.gViewer1.PaddingForEdgeRouting = 8D; this.gViewer1.PanButtonPressed = false; this.gViewer1.SaveAsImageEnabled = true; this.gViewer1.SaveAsMsaglEnabled = true; this.gViewer1.SaveButtonVisible = true; this.gViewer1.SaveGraphButtonVisible = true; this.gViewer1.SaveInVectorFormatEnabled = true; this.gViewer1.Size = new System.Drawing.Size(703, 604); this.gViewer1.TabIndex = 0; this.gViewer1.TightOffsetForRouting = 0.125D; this.gViewer1.ToolBarIsVisible = true; this.gViewer1.Transform = planeTransformation3; this.gViewer1.UndoRedoButtonsVisible = true; this.gViewer1.WindowZoomButtonPressed = false; this.gViewer1.ZoomF = 1D; this.gViewer1.ZoomWindowThreshold = 0.05D; // // dbAddEdge // this.dbAddEdge.Controls.Add(this.lblWidth); this.dbAddEdge.Controls.Add(this.tbWidth); this.dbAddEdge.Controls.Add(this.lblWillAddNode2); this.dbAddEdge.Controls.Add(this.tbWillAddNode2); this.dbAddEdge.Controls.Add(this.lblWillAddNode1); this.dbAddEdge.Controls.Add(this.tbWillAddNode1); this.dbAddEdge.Controls.Add(this.button1); this.dbAddEdge.Location = new System.Drawing.Point(6, 19); this.dbAddEdge.Name = "dbAddEdge"; this.dbAddEdge.Size = new System.Drawing.Size(133, 140); this.dbAddEdge.TabIndex = 1; this.dbAddEdge.TabStop = false; this.dbAddEdge.Text = "Add Edge"; // // lblWidth // this.lblWidth.AutoSize = true; this.lblWidth.Location = new System.Drawing.Point(17, 80); this.lblWidth.Name = "lblWidth"; this.lblWidth.Size = new System.Drawing.Size(35, 13); this.lblWidth.TabIndex = 6; this.lblWidth.Text = "Width"; // // tbWidth // this.tbWidth.Location = new System.Drawing.Point(65, 77); this.tbWidth.Name = "tbWidth"; this.tbWidth.Size = new System.Drawing.Size(51, 20); this.tbWidth.TabIndex = 5; this.tbWidth.Text = "3"; // // lblWillAddNode2 // this.lblWillAddNode2.AutoSize = true; this.lblWillAddNode2.Location = new System.Drawing.Point(17, 54); this.lblWillAddNode2.Name = "lblWillAddNode2"; this.lblWillAddNode2.Size = new System.Drawing.Size(42, 13); this.lblWillAddNode2.TabIndex = 4; this.lblWillAddNode2.Text = "Node 2"; // // tbWillAddNode2 // this.tbWillAddNode2.Location = new System.Drawing.Point(65, 51); this.tbWillAddNode2.Name = "tbWillAddNode2"; this.tbWillAddNode2.Size = new System.Drawing.Size(51, 20); this.tbWillAddNode2.TabIndex = 3; this.tbWillAddNode2.TextChanged += new System.EventHandler(this.tbWillAddNode2_TextChanged); // // lblWillAddNode1 // this.lblWillAddNode1.AutoSize = true; this.lblWillAddNode1.Location = new System.Drawing.Point(17, 28); this.lblWillAddNode1.Name = "lblWillAddNode1"; this.lblWillAddNode1.Size = new System.Drawing.Size(42, 13); this.lblWillAddNode1.TabIndex = 2; this.lblWillAddNode1.Text = "Node 1"; // // tbWillAddNode1 // this.tbWillAddNode1.Location = new System.Drawing.Point(65, 25); this.tbWillAddNode1.Name = "tbWillAddNode1"; this.tbWillAddNode1.Size = new System.Drawing.Size(51, 20); this.tbWillAddNode1.TabIndex = 1; this.tbWillAddNode1.TextChanged += new System.EventHandler(this.tbWillAddNode1_TextChanged); // // button1 // this.button1.Location = new System.Drawing.Point(30, 111); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 0; this.button1.Text = "ADD"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // dbNodes // this.dbNodes.Controls.Add(this.richTextBoxNodes); this.dbNodes.Location = new System.Drawing.Point(6, 165); this.dbNodes.Name = "dbNodes"; this.dbNodes.Size = new System.Drawing.Size(133, 90); this.dbNodes.TabIndex = 2; this.dbNodes.TabStop = false; this.dbNodes.Text = "Nodes"; // // richTextBoxNodes // this.richTextBoxNodes.Location = new System.Drawing.Point(7, 20); this.richTextBoxNodes.Name = "richTextBoxNodes"; this.richTextBoxNodes.Size = new System.Drawing.Size(120, 64); this.richTextBoxNodes.TabIndex = 0; this.richTextBoxNodes.Text = ""; // // gbEdges // this.gbEdges.Controls.Add(this.flowLayoutPnlEdges); this.gbEdges.Location = new System.Drawing.Point(6, 261); this.gbEdges.Name = "gbEdges"; this.gbEdges.Size = new System.Drawing.Size(133, 312); this.gbEdges.TabIndex = 3; this.gbEdges.TabStop = false; this.gbEdges.Text = "Edges"; // // flowLayoutPnlEdges // this.flowLayoutPnlEdges.Location = new System.Drawing.Point(7, 19); this.flowLayoutPnlEdges.Name = "flowLayoutPnlEdges"; this.flowLayoutPnlEdges.Size = new System.Drawing.Size(120, 287); this.flowLayoutPnlEdges.TabIndex = 0; // // groupBox1 // this.groupBox1.Controls.Add(this.dbAddEdge); this.groupBox1.Controls.Add(this.gbEdges); this.groupBox1.Controls.Add(this.dbNodes); this.groupBox1.Location = new System.Drawing.Point(6, 12); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(149, 579); this.groupBox1.TabIndex = 5; this.groupBox1.TabStop = false; this.groupBox1.Text = "Graph"; // // groupBox2 // this.groupBox2.Controls.Add(this.groupBox6); this.groupBox2.Controls.Add(this.groupBox3); this.groupBox2.Controls.Add(this.groupBox4); this.groupBox2.Location = new System.Drawing.Point(886, 13); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(149, 628); this.groupBox2.TabIndex = 6; this.groupBox2.TabStop = false; this.groupBox2.Text = "Max-Flow"; // // groupBox3 // this.groupBox3.Controls.Add(this.label3); this.groupBox3.Controls.Add(this.tbStart); this.groupBox3.Controls.Add(this.btnFindFlow); this.groupBox3.Location = new System.Drawing.Point(6, 19); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(133, 93); this.groupBox3.TabIndex = 1; this.groupBox3.TabStop = false; this.groupBox3.Text = "Find Flow"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(17, 28); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(29, 13); this.label3.TabIndex = 2; this.label3.Text = "Start"; // // tbStart // this.tbStart.Location = new System.Drawing.Point(65, 25); this.tbStart.Name = "tbStart"; this.tbStart.Size = new System.Drawing.Size(51, 20); this.tbStart.TabIndex = 1; this.tbStart.TextChanged += new System.EventHandler(this.tbStart_TextChanged); // // btnFindFlow // this.btnFindFlow.Location = new System.Drawing.Point(30, 58); this.btnFindFlow.Name = "btnFindFlow"; this.btnFindFlow.Size = new System.Drawing.Size(75, 23); this.btnFindFlow.TabIndex = 0; this.btnFindFlow.Text = "FIND"; this.btnFindFlow.UseVisualStyleBackColor = true; this.btnFindFlow.Click += new System.EventHandler(this.btnFindFlow_Click); // // groupBox4 // this.groupBox4.Controls.Add(this.lblMaxFlow); this.groupBox4.Controls.Add(this.flowLayoutPnlEdgesFlow); this.groupBox4.Location = new System.Drawing.Point(6, 118); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(133, 298); this.groupBox4.TabIndex = 3; this.groupBox4.TabStop = false; this.groupBox4.Text = "Edges-Flow"; // // lblMaxFlow // this.lblMaxFlow.AutoSize = true; this.lblMaxFlow.Location = new System.Drawing.Point(28, 26); this.lblMaxFlow.Name = "lblMaxFlow"; this.lblMaxFlow.Size = new System.Drawing.Size(61, 13); this.lblMaxFlow.TabIndex = 1; this.lblMaxFlow.Text = "Max-Flow : "; // // flowLayoutPnlEdgesFlow // this.flowLayoutPnlEdgesFlow.Location = new System.Drawing.Point(7, 53); this.flowLayoutPnlEdgesFlow.Name = "flowLayoutPnlEdgesFlow"; this.flowLayoutPnlEdgesFlow.Size = new System.Drawing.Size(120, 239); this.flowLayoutPnlEdgesFlow.TabIndex = 0; // // groupBox5 // this.groupBox5.Controls.Add(this.gViewer1); this.groupBox5.Location = new System.Drawing.Point(162, 13); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new System.Drawing.Size(718, 628); this.groupBox5.TabIndex = 7; this.groupBox5.TabStop = false; this.groupBox5.Text = "Graph"; // // groupBox6 // this.groupBox6.Controls.Add(this.lblMinCutCount); this.groupBox6.Controls.Add(this.btnFindMinCut); this.groupBox6.Controls.Add(this.groupBox7); this.groupBox6.Location = new System.Drawing.Point(6, 422); this.groupBox6.Name = "groupBox6"; this.groupBox6.Size = new System.Drawing.Size(133, 200); this.groupBox6.TabIndex = 4; this.groupBox6.TabStop = false; this.groupBox6.Text = "Min-Cut"; // // groupBox7 // this.groupBox7.Controls.Add(this.flowLayoutPanelEdgesCut); this.groupBox7.Location = new System.Drawing.Point(6, 49); this.groupBox7.Name = "groupBox7"; this.groupBox7.Size = new System.Drawing.Size(121, 145); this.groupBox7.TabIndex = 0; this.groupBox7.TabStop = false; this.groupBox7.Text = "Edges-Cut"; // // btnFindMinCut // this.btnFindMinCut.Location = new System.Drawing.Point(7, 20); this.btnFindMinCut.Name = "btnFindMinCut"; this.btnFindMinCut.Size = new System.Drawing.Size(65, 23); this.btnFindMinCut.TabIndex = 1; this.btnFindMinCut.Text = "FIND"; this.btnFindMinCut.UseVisualStyleBackColor = true; this.btnFindMinCut.Click += new System.EventHandler(this.btnFindMinCut_Click); // // lblMinCutCount // this.lblMinCutCount.AutoSize = true; this.lblMinCutCount.Location = new System.Drawing.Point(81, 25); this.lblMinCutCount.Name = "lblMinCutCount"; this.lblMinCutCount.Size = new System.Drawing.Size(35, 13); this.lblMinCutCount.TabIndex = 2; this.lblMinCutCount.Text = "M-C : "; // // flowLayoutPanelEdgesCut // this.flowLayoutPanelEdgesCut.AutoScroll = true; this.flowLayoutPanelEdgesCut.Location = new System.Drawing.Point(7, 20); this.flowLayoutPanelEdgesCut.Name = "flowLayoutPanelEdgesCut"; this.flowLayoutPanelEdgesCut.Size = new System.Drawing.Size(114, 119); this.flowLayoutPanelEdgesCut.TabIndex = 0; // // groupBox8 // this.groupBox8.Controls.Add(this.numericUDEdgeWidth); this.groupBox8.Location = new System.Drawing.Point(6, 597); this.groupBox8.Name = "groupBox8"; this.groupBox8.Size = new System.Drawing.Size(150, 44); this.groupBox8.TabIndex = 8; this.groupBox8.TabStop = false; this.groupBox8.Text = "Edge Width"; // // numericUDEdgeWidth // this.numericUDEdgeWidth.Location = new System.Drawing.Point(26, 18); this.numericUDEdgeWidth.Maximum = new decimal(new int[] { 20, 0, 0, 0 }); this.numericUDEdgeWidth.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.numericUDEdgeWidth.Name = "numericUDEdgeWidth"; this.numericUDEdgeWidth.Size = new System.Drawing.Size(85, 20); this.numericUDEdgeWidth.TabIndex = 0; this.numericUDEdgeWidth.Value = new decimal(new int[] { 2, 0, 0, 0 }); this.numericUDEdgeWidth.ValueChanged += new System.EventHandler(this.numericUDEdgeWidth_ValueChanged); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1046, 653); this.Controls.Add(this.groupBox8); this.Controls.Add(this.groupBox5); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Name = "Form1"; this.Text = "Form1"; this.dbAddEdge.ResumeLayout(false); this.dbAddEdge.PerformLayout(); this.dbNodes.ResumeLayout(false); this.gbEdges.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); this.groupBox5.ResumeLayout(false); this.groupBox6.ResumeLayout(false); this.groupBox6.PerformLayout(); this.groupBox7.ResumeLayout(false); this.groupBox8.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.numericUDEdgeWidth)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation planeTransformation1 = new Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation(); this.btAnalyze = new System.Windows.Forms.Button(); this.panel1 = new System.Windows.Forms.Panel(); this.btShowToolsTestForm = new System.Windows.Forms.Button(); this.btShowInputTestForm = new System.Windows.Forms.Button(); this.btShowCoreTestForm = new System.Windows.Forms.Button(); this.btShowGraphTestForm = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.gViewer1 = new Microsoft.Msagl.GraphViewerGdi.GViewer(); this.panel2 = new System.Windows.Forms.Panel(); this.chbSixthStory = new System.Windows.Forms.CheckBox(); this.chbThirdStory = new System.Windows.Forms.CheckBox(); this.chbSecondStory = new System.Windows.Forms.CheckBox(); this.chbFirstStory = new System.Windows.Forms.CheckBox(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.inButton = new System.Windows.Forms.Button(); this.label4 = new System.Windows.Forms.Label(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // btAnalyze // this.btAnalyze.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btAnalyze.BackColor = System.Drawing.SystemColors.Control; this.btAnalyze.Cursor = System.Windows.Forms.Cursors.Arrow; this.btAnalyze.Enabled = false; this.btAnalyze.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.btAnalyze.Location = new System.Drawing.Point(684, 43); this.btAnalyze.Name = "btAnalyze"; this.btAnalyze.Size = new System.Drawing.Size(136, 41); this.btAnalyze.TabIndex = 0; this.btAnalyze.Text = "Analyze"; this.btAnalyze.UseVisualStyleBackColor = false; this.btAnalyze.Click += new System.EventHandler(this.AnalyzeButton_Click); // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel1.BackColor = System.Drawing.Color.Silver; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Controls.Add(this.btShowToolsTestForm); this.panel1.Controls.Add(this.btShowInputTestForm); this.panel1.Controls.Add(this.btShowCoreTestForm); this.panel1.Controls.Add(this.btShowGraphTestForm); this.panel1.Controls.Add(this.label1); this.panel1.Location = new System.Drawing.Point(0, 531); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(854, 30); this.panel1.TabIndex = 1; this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint); // // btShowToolsTestForm // this.btShowToolsTestForm.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btShowToolsTestForm.Location = new System.Drawing.Point(670, 2); this.btShowToolsTestForm.Name = "btShowToolsTestForm"; this.btShowToolsTestForm.Size = new System.Drawing.Size(102, 23); this.btShowToolsTestForm.TabIndex = 1; this.btShowToolsTestForm.Text = "Tools Test Form"; this.btShowToolsTestForm.UseVisualStyleBackColor = true; this.btShowToolsTestForm.Click += new System.EventHandler(this.BtShowToolsTestForm_Click); // // btShowInputTestForm // this.btShowInputTestForm.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btShowInputTestForm.Location = new System.Drawing.Point(458, 1); this.btShowInputTestForm.Name = "btShowInputTestForm"; this.btShowInputTestForm.Size = new System.Drawing.Size(102, 23); this.btShowInputTestForm.TabIndex = 1; this.btShowInputTestForm.Text = "Input Test Form"; this.btShowInputTestForm.UseVisualStyleBackColor = true; this.btShowInputTestForm.Click += new System.EventHandler(this.BtShowInputTestForm_Click); // // btShowCoreTestForm // this.btShowCoreTestForm.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btShowCoreTestForm.Location = new System.Drawing.Point(274, 1); this.btShowCoreTestForm.Name = "btShowCoreTestForm"; this.btShowCoreTestForm.Size = new System.Drawing.Size(102, 23); this.btShowCoreTestForm.TabIndex = 1; this.btShowCoreTestForm.Text = "Core Test Form"; this.btShowCoreTestForm.UseVisualStyleBackColor = true; this.btShowCoreTestForm.Click += new System.EventHandler(this.BtShowCoreTestForm_Click); // // btShowGraphTestForm // this.btShowGraphTestForm.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btShowGraphTestForm.Location = new System.Drawing.Point(110, 1); this.btShowGraphTestForm.Name = "btShowGraphTestForm"; this.btShowGraphTestForm.Size = new System.Drawing.Size(102, 23); this.btShowGraphTestForm.TabIndex = 1; this.btShowGraphTestForm.Text = "Graph Test Form"; this.btShowGraphTestForm.UseVisualStyleBackColor = true; this.btShowGraphTestForm.Click += new System.EventHandler(this.BtShowGraphTestForm_Click); // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.label1.Location = new System.Drawing.Point(12, 6); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(79, 13); this.label1.TabIndex = 0; this.label1.Text = "Debug panel"; this.label1.Click += new System.EventHandler(this.label1_Click); // // gViewer1 // this.gViewer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gViewer1.ArrowheadLength = 10D; this.gViewer1.AsyncLayout = false; this.gViewer1.AutoScroll = true; this.gViewer1.BackwardEnabled = false; this.gViewer1.BuildHitTree = true; this.gViewer1.CurrentLayoutMethod = Microsoft.Msagl.GraphViewerGdi.LayoutMethod.UseSettingsOfTheGraph; this.gViewer1.EdgeInsertButtonVisible = true; this.gViewer1.FileName = ""; this.gViewer1.ForwardEnabled = false; this.gViewer1.Graph = null; this.gViewer1.InsertingEdge = false; this.gViewer1.LayoutAlgorithmSettingsButtonVisible = true; this.gViewer1.LayoutEditingEnabled = true; this.gViewer1.Location = new System.Drawing.Point(25, 135); this.gViewer1.LooseOffsetForRouting = 0.25D; this.gViewer1.Margin = new System.Windows.Forms.Padding(2); this.gViewer1.MouseHitDistance = 0.05D; this.gViewer1.Name = "gViewer1"; this.gViewer1.NavigationVisible = true; this.gViewer1.NeedToCalculateLayout = true; this.gViewer1.OffsetForRelaxingInRouting = 0.6D; this.gViewer1.PaddingForEdgeRouting = 8D; this.gViewer1.PanButtonPressed = false; this.gViewer1.SaveAsImageEnabled = true; this.gViewer1.SaveAsMsaglEnabled = true; this.gViewer1.SaveButtonVisible = true; this.gViewer1.SaveGraphButtonVisible = true; this.gViewer1.SaveInVectorFormatEnabled = true; this.gViewer1.Size = new System.Drawing.Size(805, 394); this.gViewer1.TabIndex = 2; this.gViewer1.TightOffsetForRouting = 0.125D; this.gViewer1.ToolBarIsVisible = true; this.gViewer1.Transform = planeTransformation1; this.gViewer1.UndoRedoButtonsVisible = true; this.gViewer1.WindowZoomButtonPressed = false; this.gViewer1.ZoomF = 1D; this.gViewer1.ZoomWindowThreshold = 0.05D; this.gViewer1.Load += new System.EventHandler(this.gViewer1_Load); // // panel2 // this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel2.BackColor = System.Drawing.SystemColors.ControlLight; this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel2.Controls.Add(this.chbSixthStory); this.panel2.Controls.Add(this.chbThirdStory); this.panel2.Controls.Add(this.chbSecondStory); this.panel2.Controls.Add(this.chbFirstStory); this.panel2.Controls.Add(this.label2); this.panel2.ForeColor = System.Drawing.SystemColors.ControlText; this.panel2.Location = new System.Drawing.Point(25, 99); this.panel2.Margin = new System.Windows.Forms.Padding(2); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(805, 32); this.panel2.TabIndex = 3; // // chbSixthStory // this.chbSixthStory.AutoSize = true; this.chbSixthStory.Checked = true; this.chbSixthStory.CheckState = System.Windows.Forms.CheckState.Checked; this.chbSixthStory.Location = new System.Drawing.Point(576, 6); this.chbSixthStory.Margin = new System.Windows.Forms.Padding(2); this.chbSixthStory.Name = "chbSixthStory"; this.chbSixthStory.Size = new System.Drawing.Size(100, 17); this.chbSixthStory.TabIndex = 7; this.chbSixthStory.Text = "Methods to files"; this.chbSixthStory.UseVisualStyleBackColor = true; this.chbSixthStory.CheckedChanged += new System.EventHandler(this.chbSixthStory_CheckedChanged); // // chbThirdStory // this.chbThirdStory.AutoSize = true; this.chbThirdStory.Location = new System.Drawing.Point(404, 6); this.chbThirdStory.Margin = new System.Windows.Forms.Padding(2); this.chbThirdStory.Name = "chbThirdStory"; this.chbThirdStory.Size = new System.Drawing.Size(142, 17); this.chbThirdStory.TabIndex = 6; this.chbThirdStory.Text = "Methods to namespaces"; this.chbThirdStory.UseVisualStyleBackColor = true; this.chbThirdStory.CheckedChanged += new System.EventHandler(this.chbThirdStory_CheckedChanged); // // chbSecondStory // this.chbSecondStory.AutoSize = true; this.chbSecondStory.Checked = true; this.chbSecondStory.CheckState = System.Windows.Forms.CheckState.Checked; this.chbSecondStory.Location = new System.Drawing.Point(262, 6); this.chbSecondStory.Margin = new System.Windows.Forms.Padding(2); this.chbSecondStory.Name = "chbSecondStory"; this.chbSecondStory.Size = new System.Drawing.Size(122, 17); this.chbSecondStory.TabIndex = 5; this.chbSecondStory.Text = "Methods to methods"; this.chbSecondStory.UseVisualStyleBackColor = true; this.chbSecondStory.CheckedChanged += new System.EventHandler(this.chbSecondStory_CheckedChanged); // // chbFirstStory // this.chbFirstStory.AutoSize = true; this.chbFirstStory.Checked = true; this.chbFirstStory.CheckState = System.Windows.Forms.CheckState.Checked; this.chbFirstStory.Location = new System.Drawing.Point(165, 6); this.chbFirstStory.Margin = new System.Windows.Forms.Padding(2); this.chbFirstStory.Name = "chbFirstStory"; this.chbFirstStory.Size = new System.Drawing.Size(80, 17); this.chbFirstStory.TabIndex = 4; this.chbFirstStory.Text = "Files to files"; this.chbFirstStory.UseVisualStyleBackColor = true; this.chbFirstStory.CheckedChanged += new System.EventHandler(this.chbFirstStory_CheckedChanged); // // label2 // this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.label2.Location = new System.Drawing.Point(91, 5); this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(80, 17); this.label2.TabIndex = 2; this.label2.Text = "Layers:"; // // label3 // this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 19F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.label3.Location = new System.Drawing.Point(20, 57); this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(224, 27); this.label3.TabIndex = 0; this.label3.Text = "Graph viewer"; // // inButton // this.inButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.inButton.BackColor = System.Drawing.SystemColors.Control; this.inButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.inButton.Location = new System.Drawing.Point(528, 43); this.inButton.Margin = new System.Windows.Forms.Padding(2); this.inButton.Name = "inButton"; this.inButton.Size = new System.Drawing.Size(131, 41); this.inButton.TabIndex = 4; this.inButton.Text = "Load files"; this.inButton.UseVisualStyleBackColor = false; this.inButton.Click += new System.EventHandler(this.inButton_Click); // // label4 // this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.label4.Location = new System.Drawing.Point(249, 21); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(236, 63); this.label4.TabIndex = 5; this.label4.Click += new System.EventHandler(this.label4_Click); // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(854, 561); this.Controls.Add(this.label4); this.Controls.Add(this.inButton); this.Controls.Add(this.label3); this.Controls.Add(this.panel2); this.Controls.Add(this.gViewer1); this.Controls.Add(this.panel1); this.Controls.Add(this.btAnalyze); this.MinimumSize = new System.Drawing.Size(870, 600); this.Name = "MainForm"; this.Text = "Projekt IO"; this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panel2.ResumeLayout(false); this.panel2.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() { Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation planeTransformation1 = new Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DependeciesForm)); this.graphViewer = new Microsoft.Msagl.GraphViewerGdi.GViewer(); this.buttonExportDot = new System.Windows.Forms.Button(); this.saveDotFileDialog = new System.Windows.Forms.SaveFileDialog(); this.saveGraphMLFileDialog = new System.Windows.Forms.SaveFileDialog(); this.checkBoxInEdges = new System.Windows.Forms.CheckBox(); this.checkBoxOutEdges = new System.Windows.Forms.CheckBox(); this.SuspendLayout(); // // graphViewer // this.graphViewer.ArrowheadLength = 10D; this.graphViewer.AsyncLayout = false; this.graphViewer.AutoScroll = true; this.graphViewer.BackwardEnabled = false; this.graphViewer.BuildHitTree = true; this.graphViewer.CurrentLayoutMethod = Microsoft.Msagl.GraphViewerGdi.LayoutMethod.UseSettingsOfTheGraph; this.graphViewer.Dock = System.Windows.Forms.DockStyle.Fill; this.graphViewer.EdgeInsertButtonVisible = false; this.graphViewer.FileName = ""; this.graphViewer.ForwardEnabled = false; this.graphViewer.Graph = null; this.graphViewer.InsertingEdge = false; this.graphViewer.LayoutAlgorithmSettingsButtonVisible = false; this.graphViewer.LayoutEditingEnabled = true; this.graphViewer.Location = new System.Drawing.Point(0, 0); this.graphViewer.LooseOffsetForRouting = 0.25D; this.graphViewer.MinimumSize = new System.Drawing.Size(915, 0); this.graphViewer.MouseHitDistance = 0.05D; this.graphViewer.Name = "graphViewer"; this.graphViewer.NavigationVisible = true; this.graphViewer.NeedToCalculateLayout = true; this.graphViewer.OffsetForRelaxingInRouting = 0.6D; this.graphViewer.PaddingForEdgeRouting = 8D; this.graphViewer.PanButtonPressed = false; this.graphViewer.SaveAsImageEnabled = true; this.graphViewer.SaveAsMsaglEnabled = false; this.graphViewer.SaveButtonVisible = true; this.graphViewer.SaveGraphButtonVisible = true; this.graphViewer.SaveInVectorFormatEnabled = true; this.graphViewer.Size = new System.Drawing.Size(915, 429); this.graphViewer.TabIndex = 0; this.graphViewer.TightOffsetForRouting = 0.125D; this.graphViewer.ToolBarIsVisible = true; this.graphViewer.Transform = planeTransformation1; this.graphViewer.UndoRedoButtonsVisible = true; this.graphViewer.WindowZoomButtonPressed = false; this.graphViewer.ZoomF = 1D; this.graphViewer.ZoomWindowThreshold = 0.05D; this.graphViewer.Click += new System.EventHandler(this.graphViewer_Click); // // buttonExportDot // this.buttonExportDot.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.buttonExportDot.Location = new System.Drawing.Point(700, 6); this.buttonExportDot.Name = "buttonExportDot"; this.buttonExportDot.Size = new System.Drawing.Size(203, 23); this.buttonExportDot.TabIndex = 1; this.buttonExportDot.Text = "Export to Dot file format"; this.buttonExportDot.UseVisualStyleBackColor = true; this.buttonExportDot.Click += new System.EventHandler(this.buttonExportDot_Click); // // saveDotFileDialog // this.saveDotFileDialog.DefaultExt = "gv"; this.saveDotFileDialog.Filter = "All files|*.gv"; this.saveDotFileDialog.Title = "Save exported dot file"; // // saveGraphMLFileDialog // this.saveGraphMLFileDialog.DefaultExt = "graphml"; this.saveGraphMLFileDialog.Filter = "All files|*.graphml"; this.saveGraphMLFileDialog.Title = "Save exported GraphML file"; // // checkBoxInEdges // this.checkBoxInEdges.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.checkBoxInEdges.AutoSize = true; this.checkBoxInEdges.Checked = true; this.checkBoxInEdges.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBoxInEdges.Location = new System.Drawing.Point(267, 8); this.checkBoxInEdges.Name = "checkBoxInEdges"; this.checkBoxInEdges.Size = new System.Drawing.Size(211, 21); this.checkBoxInEdges.TabIndex = 3; this.checkBoxInEdges.Text = "Heatmap for incoming edges"; this.checkBoxInEdges.UseVisualStyleBackColor = true; this.checkBoxInEdges.CheckedChanged += new System.EventHandler(this.checkBoxEdges_CheckedChanged); // // checkBoxOutEdges // this.checkBoxOutEdges.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.checkBoxOutEdges.AutoSize = true; this.checkBoxOutEdges.Location = new System.Drawing.Point(484, 8); this.checkBoxOutEdges.Name = "checkBoxOutEdges"; this.checkBoxOutEdges.Size = new System.Drawing.Size(210, 21); this.checkBoxOutEdges.TabIndex = 4; this.checkBoxOutEdges.Text = "Heatmap for outgoing edges"; this.checkBoxOutEdges.UseVisualStyleBackColor = true; this.checkBoxOutEdges.CheckedChanged += new System.EventHandler(this.checkBoxEdges_CheckedChanged); // // DependeciesForm // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(915, 429); this.Controls.Add(this.checkBoxOutEdges); this.Controls.Add(this.checkBoxInEdges); this.Controls.Add(this.buttonExportDot); this.Controls.Add(this.graphViewer); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "DependeciesForm"; this.Text = "Dependecies"; this.Load += new System.EventHandler(this.DependeciesForm_Load); 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() { Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation planeTransformation4 = new Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation(); this.graphViewer = new Microsoft.Msagl.GraphViewerGdi.GViewer(); this.btn_CreateGraph = new System.Windows.Forms.Button(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.label1 = new System.Windows.Forms.Label(); this.cmbNodeCount = new System.Windows.Forms.ComboBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.gridNodes = new System.Windows.Forms.DataGridView(); this.btn_Reset = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.txtMinCut = new System.Windows.Forms.TextBox(); this.txtMaxFlow = new System.Windows.Forms.TextBox(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridNodes)).BeginInit(); this.SuspendLayout(); // // graphViewer // this.graphViewer.ArrowheadLength = 10D; this.graphViewer.AsyncLayout = false; this.graphViewer.AutoScroll = true; this.graphViewer.BackwardEnabled = false; this.graphViewer.BuildHitTree = true; this.graphViewer.CurrentLayoutMethod = Microsoft.Msagl.GraphViewerGdi.LayoutMethod.SugiyamaScheme; this.graphViewer.Dock = System.Windows.Forms.DockStyle.Fill; this.graphViewer.EdgeInsertButtonVisible = true; this.graphViewer.FileName = ""; this.graphViewer.ForwardEnabled = false; this.graphViewer.Graph = null; this.graphViewer.InsertingEdge = false; this.graphViewer.LayoutAlgorithmSettingsButtonVisible = true; this.graphViewer.LayoutEditingEnabled = true; this.graphViewer.Location = new System.Drawing.Point(0, 0); this.graphViewer.LooseOffsetForRouting = 0.25D; this.graphViewer.MouseHitDistance = 0.05D; this.graphViewer.Name = "graphViewer"; this.graphViewer.NavigationVisible = true; this.graphViewer.NeedToCalculateLayout = true; this.graphViewer.OffsetForRelaxingInRouting = 0.6D; this.graphViewer.PaddingForEdgeRouting = 8D; this.graphViewer.PanButtonPressed = false; this.graphViewer.SaveAsImageEnabled = true; this.graphViewer.SaveAsMsaglEnabled = true; this.graphViewer.SaveButtonVisible = true; this.graphViewer.SaveGraphButtonVisible = true; this.graphViewer.SaveInVectorFormatEnabled = true; this.graphViewer.Size = new System.Drawing.Size(1014, 552); this.graphViewer.TabIndex = 0; this.graphViewer.TightOffsetForRouting = 0.125D; this.graphViewer.ToolBarIsVisible = true; this.graphViewer.Transform = planeTransformation4; this.graphViewer.UndoRedoButtonsVisible = true; this.graphViewer.WindowZoomButtonPressed = false; this.graphViewer.ZoomF = 1D; this.graphViewer.ZoomWindowThreshold = 0.05D; // // btn_CreateGraph // this.btn_CreateGraph.Location = new System.Drawing.Point(14, 396); this.btn_CreateGraph.Name = "btn_CreateGraph"; this.btn_CreateGraph.Size = new System.Drawing.Size(98, 25); this.btn_CreateGraph.TabIndex = 3; this.btn_CreateGraph.Text = "Graph Oluştur"; this.btn_CreateGraph.UseVisualStyleBackColor = true; this.btn_CreateGraph.Click += new System.EventHandler(this.btn_CreateGraph_Click); // // 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.txtMaxFlow); this.splitContainer1.Panel1.Controls.Add(this.txtMinCut); this.splitContainer1.Panel1.Controls.Add(this.label3); this.splitContainer1.Panel1.Controls.Add(this.label2); this.splitContainer1.Panel1.Controls.Add(this.btn_Reset); this.splitContainer1.Panel1.Controls.Add(this.groupBox1); this.splitContainer1.Panel1.Controls.Add(this.cmbNodeCount); this.splitContainer1.Panel1.Controls.Add(this.label1); this.splitContainer1.Panel1.Controls.Add(this.btn_CreateGraph); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.graphViewer); this.splitContainer1.Size = new System.Drawing.Size(1249, 552); this.splitContainer1.SplitterDistance = 231; this.splitContainer1.TabIndex = 4; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(8, 12); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(77, 13); this.label1.TabIndex = 5; this.label1.Text = "Musluk Sayısı :"; // // cmbNodeCount // this.cmbNodeCount.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbNodeCount.FormattingEnabled = true; this.cmbNodeCount.Items.AddRange(new object[] { "Seçiniz" }); this.cmbNodeCount.Location = new System.Drawing.Point(91, 9); this.cmbNodeCount.Name = "cmbNodeCount"; this.cmbNodeCount.Size = new System.Drawing.Size(95, 21); this.cmbNodeCount.TabIndex = 6; this.cmbNodeCount.SelectedIndexChanged += new System.EventHandler(this.cmbNodeCount_SelectedIndexChanged); // // groupBox1 // this.groupBox1.Controls.Add(this.gridNodes); this.groupBox1.Location = new System.Drawing.Point(11, 46); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(202, 315); this.groupBox1.TabIndex = 7; this.groupBox1.TabStop = false; this.groupBox1.Text = "Musluk ve Kapasiteleri"; // // gridNodes // this.gridNodes.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; this.gridNodes.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllHeaders; this.gridNodes.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.gridNodes.Dock = System.Windows.Forms.DockStyle.Fill; this.gridNodes.Location = new System.Drawing.Point(3, 16); this.gridNodes.MultiSelect = false; this.gridNodes.Name = "gridNodes"; this.gridNodes.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.gridNodes.Size = new System.Drawing.Size(196, 296); this.gridNodes.TabIndex = 0; // // btn_Reset // this.btn_Reset.Location = new System.Drawing.Point(14, 427); this.btn_Reset.Name = "btn_Reset"; this.btn_Reset.Size = new System.Drawing.Size(98, 25); this.btn_Reset.TabIndex = 8; this.btn_Reset.Text = "Temizle"; this.btn_Reset.UseVisualStyleBackColor = true; this.btn_Reset.Click += new System.EventHandler(this.btn_Reset_Click); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(14, 494); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(49, 13); this.label2.TabIndex = 9; this.label2.Text = "Min-Cut :"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(12, 516); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(58, 13); this.label3.TabIndex = 10; this.label3.Text = "Max-Flow :"; // // txtMinCut // this.txtMinCut.Enabled = false; this.txtMinCut.Location = new System.Drawing.Point(75, 491); this.txtMinCut.Name = "txtMinCut"; this.txtMinCut.Size = new System.Drawing.Size(98, 20); this.txtMinCut.TabIndex = 11; // // txtMaxFlow // this.txtMaxFlow.Enabled = false; this.txtMaxFlow.Location = new System.Drawing.Point(75, 513); this.txtMaxFlow.Name = "txtMaxFlow"; this.txtMaxFlow.Size = new System.Drawing.Size(98, 20); this.txtMaxFlow.TabIndex = 12; // // frmMain // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1249, 552); this.Controls.Add(this.splitContainer1); this.Name = "frmMain"; this.Text = "YazLab Odev"; this.Load += new System.EventHandler(this.frmMain_Load); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel1.PerformLayout(); this.splitContainer1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); this.splitContainer1.ResumeLayout(false); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridNodes)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation planeTransformation1 = new Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.groupBoxInputFile = new System.Windows.Forms.GroupBox(); this.buttonCreateGraph = new System.Windows.Forms.Button(); this.buttonBrowseFilePopulation = new System.Windows.Forms.Button(); this.buttonBrowseFileConnection = new System.Windows.Forms.Button(); this.textBoxCityPopulationFile = new System.Windows.Forms.TextBox(); this.labelCityPopulation = new System.Windows.Forms.Label(); this.textBoxCityConnectionFile = new System.Windows.Forms.TextBox(); this.labelCityConnection = new System.Windows.Forms.Label(); this.labelTitle = new System.Windows.Forms.Label(); this.numericUpDownTimeTotal = new System.Windows.Forms.NumericUpDown(); this.labelTimeTotal = new System.Windows.Forms.Label(); this.buttonStart = new System.Windows.Forms.Button(); this.groupBoxTraverseCities = new System.Windows.Forms.GroupBox(); this.gViewer = new Microsoft.Msagl.GraphViewerGdi.GViewer(); this.numericUpDownJumpTo = new System.Windows.Forms.NumericUpDown(); this.labelJumpTo = new System.Windows.Forms.Label(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.pictureBox2 = new System.Windows.Forms.PictureBox(); this.pictureBox3 = new System.Windows.Forms.PictureBox(); this.groupBoxInputFile.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownTimeTotal)).BeginInit(); this.groupBoxTraverseCities.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownJumpTo)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit(); this.SuspendLayout(); // // openFileDialog1 // this.openFileDialog1.Filter = "Text|*.txt"; // // groupBoxInputFile // this.groupBoxInputFile.Controls.Add(this.buttonCreateGraph); this.groupBoxInputFile.Controls.Add(this.buttonBrowseFilePopulation); this.groupBoxInputFile.Controls.Add(this.buttonBrowseFileConnection); this.groupBoxInputFile.Controls.Add(this.textBoxCityPopulationFile); this.groupBoxInputFile.Controls.Add(this.labelCityPopulation); this.groupBoxInputFile.Controls.Add(this.textBoxCityConnectionFile); this.groupBoxInputFile.Controls.Add(this.labelCityConnection); this.groupBoxInputFile.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBoxInputFile.ForeColor = System.Drawing.Color.White; this.groupBoxInputFile.Location = new System.Drawing.Point(22, 104); this.groupBoxInputFile.Name = "groupBoxInputFile"; this.groupBoxInputFile.Size = new System.Drawing.Size(360, 217); this.groupBoxInputFile.TabIndex = 0; this.groupBoxInputFile.TabStop = false; this.groupBoxInputFile.Text = "Input File"; // // buttonCreateGraph // this.buttonCreateGraph.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(181)))), ((int)(((byte)(77))))); this.buttonCreateGraph.FlatAppearance.BorderSize = 0; this.buttonCreateGraph.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.buttonCreateGraph.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold); this.buttonCreateGraph.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(68))))); this.buttonCreateGraph.Location = new System.Drawing.Point(117, 174); this.buttonCreateGraph.Name = "buttonCreateGraph"; this.buttonCreateGraph.Size = new System.Drawing.Size(101, 32); this.buttonCreateGraph.TabIndex = 7; this.buttonCreateGraph.Text = "Create Graph"; this.buttonCreateGraph.UseVisualStyleBackColor = false; this.buttonCreateGraph.Click += new System.EventHandler(this.buttonCreateGraph_Click); // // buttonBrowseFilePopulation // this.buttonBrowseFilePopulation.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(181)))), ((int)(((byte)(77))))); this.buttonBrowseFilePopulation.FlatAppearance.BorderSize = 0; this.buttonBrowseFilePopulation.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.buttonBrowseFilePopulation.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F); this.buttonBrowseFilePopulation.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(68))))); this.buttonBrowseFilePopulation.Location = new System.Drawing.Point(224, 128); this.buttonBrowseFilePopulation.Name = "buttonBrowseFilePopulation"; this.buttonBrowseFilePopulation.Size = new System.Drawing.Size(87, 23); this.buttonBrowseFilePopulation.TabIndex = 6; this.buttonBrowseFilePopulation.Text = "Browse File"; this.buttonBrowseFilePopulation.UseVisualStyleBackColor = false; this.buttonBrowseFilePopulation.Click += new System.EventHandler(this.buttonBrowseFilePopulation_Click); // // buttonBrowseFileConnection // this.buttonBrowseFileConnection.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(181)))), ((int)(((byte)(77))))); this.buttonBrowseFileConnection.FlatAppearance.BorderSize = 0; this.buttonBrowseFileConnection.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.buttonBrowseFileConnection.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F); this.buttonBrowseFileConnection.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(68))))); this.buttonBrowseFileConnection.Location = new System.Drawing.Point(224, 61); this.buttonBrowseFileConnection.Name = "buttonBrowseFileConnection"; this.buttonBrowseFileConnection.Size = new System.Drawing.Size(87, 23); this.buttonBrowseFileConnection.TabIndex = 5; this.buttonBrowseFileConnection.Text = "Browse File"; this.buttonBrowseFileConnection.UseVisualStyleBackColor = false; this.buttonBrowseFileConnection.Click += new System.EventHandler(this.buttonBrowseFileConnection_Click); // // textBoxCityPopulationFile // this.textBoxCityPopulationFile.BackColor = System.Drawing.SystemColors.Window; this.textBoxCityPopulationFile.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F); this.textBoxCityPopulationFile.Location = new System.Drawing.Point(30, 128); this.textBoxCityPopulationFile.Name = "textBoxCityPopulationFile"; this.textBoxCityPopulationFile.ReadOnly = true; this.textBoxCityPopulationFile.Size = new System.Drawing.Size(188, 23); this.textBoxCityPopulationFile.TabIndex = 3; // // labelCityPopulation // this.labelCityPopulation.AutoSize = true; this.labelCityPopulation.BackColor = System.Drawing.Color.Transparent; this.labelCityPopulation.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelCityPopulation.Location = new System.Drawing.Point(27, 109); this.labelCityPopulation.Name = "labelCityPopulation"; this.labelCityPopulation.Size = new System.Drawing.Size(102, 17); this.labelCityPopulation.TabIndex = 4; this.labelCityPopulation.Text = "City Population"; // // textBoxCityConnectionFile // this.textBoxCityConnectionFile.BackColor = System.Drawing.SystemColors.Window; this.textBoxCityConnectionFile.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F); this.textBoxCityConnectionFile.Location = new System.Drawing.Point(30, 61); this.textBoxCityConnectionFile.Name = "textBoxCityConnectionFile"; this.textBoxCityConnectionFile.ReadOnly = true; this.textBoxCityConnectionFile.Size = new System.Drawing.Size(188, 23); this.textBoxCityConnectionFile.TabIndex = 2; // // labelCityConnection // this.labelCityConnection.AutoSize = true; this.labelCityConnection.BackColor = System.Drawing.Color.Transparent; this.labelCityConnection.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelCityConnection.Location = new System.Drawing.Point(27, 42); this.labelCityConnection.Name = "labelCityConnection"; this.labelCityConnection.Size = new System.Drawing.Size(106, 17); this.labelCityConnection.TabIndex = 2; this.labelCityConnection.Text = "City Connection"; // // labelTitle // this.labelTitle.AutoSize = true; this.labelTitle.BackColor = System.Drawing.Color.Transparent; this.labelTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Bold); this.labelTitle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(181)))), ((int)(((byte)(77))))); this.labelTitle.Location = new System.Drawing.Point(115, 47); this.labelTitle.Name = "labelTitle"; this.labelTitle.Size = new System.Drawing.Size(148, 31); this.labelTitle.TabIndex = 1; this.labelTitle.Text = "COVID-19"; // // numericUpDownTimeTotal // this.numericUpDownTimeTotal.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F); this.numericUpDownTimeTotal.Location = new System.Drawing.Point(117, 33); this.numericUpDownTimeTotal.Name = "numericUpDownTimeTotal"; this.numericUpDownTimeTotal.Size = new System.Drawing.Size(59, 21); this.numericUpDownTimeTotal.TabIndex = 3; // // labelTimeTotal // this.labelTimeTotal.AutoSize = true; this.labelTimeTotal.BackColor = System.Drawing.Color.Transparent; this.labelTimeTotal.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F); this.labelTimeTotal.Location = new System.Drawing.Point(27, 33); this.labelTimeTotal.Name = "labelTimeTotal"; this.labelTimeTotal.Size = new System.Drawing.Size(75, 17); this.labelTimeTotal.TabIndex = 4; this.labelTimeTotal.Text = "Time Total"; // // buttonStart // this.buttonStart.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(181)))), ((int)(((byte)(77))))); this.buttonStart.FlatAppearance.BorderSize = 0; this.buttonStart.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.buttonStart.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.buttonStart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(68))))); this.buttonStart.Location = new System.Drawing.Point(117, 76); this.buttonStart.Name = "buttonStart"; this.buttonStart.Size = new System.Drawing.Size(101, 27); this.buttonStart.TabIndex = 5; this.buttonStart.Text = "START"; this.buttonStart.UseVisualStyleBackColor = false; this.buttonStart.Click += new System.EventHandler(this.buttonStart_Click); // // groupBoxTraverseCities // this.groupBoxTraverseCities.Controls.Add(this.numericUpDownTimeTotal); this.groupBoxTraverseCities.Controls.Add(this.labelTimeTotal); this.groupBoxTraverseCities.Controls.Add(this.buttonStart); this.groupBoxTraverseCities.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F); this.groupBoxTraverseCities.ForeColor = System.Drawing.Color.White; this.groupBoxTraverseCities.Location = new System.Drawing.Point(22, 350); this.groupBoxTraverseCities.Name = "groupBoxTraverseCities"; this.groupBoxTraverseCities.Size = new System.Drawing.Size(360, 109); this.groupBoxTraverseCities.TabIndex = 6; this.groupBoxTraverseCities.TabStop = false; this.groupBoxTraverseCities.Text = "Traverse Cities"; this.groupBoxTraverseCities.Visible = false; // // gViewer // this.gViewer.ArrowheadLength = 10D; this.gViewer.AsyncLayout = false; this.gViewer.AutoScroll = true; this.gViewer.BackColor = System.Drawing.SystemColors.Window; this.gViewer.BackwardEnabled = false; this.gViewer.BuildHitTree = true; this.gViewer.CurrentLayoutMethod = Microsoft.Msagl.GraphViewerGdi.LayoutMethod.UseSettingsOfTheGraph; this.gViewer.EdgeInsertButtonVisible = true; this.gViewer.FileName = ""; this.gViewer.ForwardEnabled = false; this.gViewer.Graph = null; this.gViewer.InsertingEdge = false; this.gViewer.LayoutAlgorithmSettingsButtonVisible = true; this.gViewer.LayoutEditingEnabled = true; this.gViewer.Location = new System.Drawing.Point(432, 47); this.gViewer.LooseOffsetForRouting = 0.25D; this.gViewer.MouseHitDistance = 0.05D; this.gViewer.Name = "gViewer"; this.gViewer.NavigationVisible = true; this.gViewer.NeedToCalculateLayout = true; this.gViewer.OffsetForRelaxingInRouting = 0.6D; this.gViewer.PaddingForEdgeRouting = 8D; this.gViewer.PanButtonPressed = false; this.gViewer.SaveAsImageEnabled = true; this.gViewer.SaveAsMsaglEnabled = true; this.gViewer.SaveButtonVisible = true; this.gViewer.SaveGraphButtonVisible = true; this.gViewer.SaveInVectorFormatEnabled = true; this.gViewer.Size = new System.Drawing.Size(463, 412); this.gViewer.TabIndex = 7; this.gViewer.TightOffsetForRouting = 0.125D; this.gViewer.ToolBarIsVisible = true; this.gViewer.Transform = planeTransformation1; this.gViewer.UndoRedoButtonsVisible = true; this.gViewer.Visible = false; this.gViewer.WindowZoomButtonPressed = false; this.gViewer.ZoomF = 1D; this.gViewer.ZoomWindowThreshold = 0.05D; // // numericUpDownJumpTo // this.numericUpDownJumpTo.Location = new System.Drawing.Point(502, 471); this.numericUpDownJumpTo.Maximum = new decimal(new int[] { 0, 0, 0, 0 }); this.numericUpDownJumpTo.Name = "numericUpDownJumpTo"; this.numericUpDownJumpTo.Size = new System.Drawing.Size(51, 20); this.numericUpDownJumpTo.TabIndex = 8; this.numericUpDownJumpTo.Visible = false; this.numericUpDownJumpTo.ValueChanged += new System.EventHandler(this.updateGraphViewer); // // labelJumpTo // this.labelJumpTo.AutoSize = true; this.labelJumpTo.BackColor = System.Drawing.Color.Transparent; this.labelJumpTo.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F); this.labelJumpTo.ForeColor = System.Drawing.Color.White; this.labelJumpTo.Location = new System.Drawing.Point(429, 474); this.labelJumpTo.Name = "labelJumpTo"; this.labelJumpTo.Size = new System.Drawing.Size(58, 17); this.labelJumpTo.TabIndex = 9; this.labelJumpTo.Text = "Jump to"; this.labelJumpTo.Visible = false; // // pictureBox1 // this.pictureBox1.BackColor = System.Drawing.Color.Transparent; this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Location = new System.Drawing.Point(893, 12); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(15, 15); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.pictureBox1.TabIndex = 10; this.pictureBox1.TabStop = false; this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click); // // pictureBox2 // this.pictureBox2.BackColor = System.Drawing.Color.Transparent; this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image"))); this.pictureBox2.Location = new System.Drawing.Point(869, 12); this.pictureBox2.Name = "pictureBox2"; this.pictureBox2.Size = new System.Drawing.Size(15, 15); this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.pictureBox2.TabIndex = 11; this.pictureBox2.TabStop = false; this.pictureBox2.Click += new System.EventHandler(this.pictureBox2_Click); // // pictureBox3 // this.pictureBox3.BackColor = System.Drawing.Color.Transparent; this.pictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image"))); this.pictureBox3.Location = new System.Drawing.Point(845, 12); this.pictureBox3.Name = "pictureBox3"; this.pictureBox3.Size = new System.Drawing.Size(15, 15); this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.pictureBox3.TabIndex = 12; this.pictureBox3.TabStop = false; this.pictureBox3.Click += new System.EventHandler(this.pictureBox3_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage"))); this.ClientSize = new System.Drawing.Size(920, 515); this.Controls.Add(this.pictureBox3); this.Controls.Add(this.pictureBox2); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.labelJumpTo); this.Controls.Add(this.numericUpDownJumpTo); this.Controls.Add(this.gViewer); this.Controls.Add(this.groupBoxTraverseCities); this.Controls.Add(this.labelTitle); this.Controls.Add(this.groupBoxInputFile); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "Form1"; this.Text = "Anti Corona"; this.Load += new System.EventHandler(this.Form1_Load); this.groupBoxInputFile.ResumeLayout(false); this.groupBoxInputFile.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownTimeTotal)).EndInit(); this.groupBoxTraverseCities.ResumeLayout(false); this.groupBoxTraverseCities.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownJumpTo)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit(); 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() { this.components = new System.ComponentModel.Container(); Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation planeTransformation1 = new Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation(); Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation planeTransformation2 = new Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel5 = new System.Windows.Forms.TableLayoutPanel(); this.textBox2 = new System.Windows.Forms.TextBox(); this.viewerB = new Microsoft.Msagl.GraphViewerGdi.GViewer(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.radioButton6 = new System.Windows.Forms.RadioButton(); this.radioButton5 = new System.Windows.Forms.RadioButton(); this.radioButton4 = new System.Windows.Forms.RadioButton(); this.radioButton3 = new System.Windows.Forms.RadioButton(); this.radioButton2 = new System.Windows.Forms.RadioButton(); this.radioButton1 = new System.Windows.Forms.RadioButton(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.outputInfo = new System.Windows.Forms.RichTextBox(); this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel(); this.button3 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button(); this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); this.textBox1 = new System.Windows.Forms.TextBox(); this.viewerA = new Microsoft.Msagl.GraphViewerGdi.GViewer(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.tableLayoutPanel1.SuspendLayout(); this.tableLayoutPanel5.SuspendLayout(); this.tableLayoutPanel2.SuspendLayout(); this.groupBox1.SuspendLayout(); this.tableLayoutPanel4.SuspendLayout(); this.tableLayoutPanel3.SuspendLayout(); this.SuspendLayout(); // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 3; 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.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 150F)); this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel5, 1, 0); this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 2, 0); this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel3, 0, 0); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(809, 450); this.tableLayoutPanel1.TabIndex = 0; // // tableLayoutPanel5 // this.tableLayoutPanel5.BackColor = System.Drawing.SystemColors.Window; this.tableLayoutPanel5.ColumnCount = 1; this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel5.Controls.Add(this.textBox2, 0, 0); this.tableLayoutPanel5.Controls.Add(this.viewerB, 0, 1); this.tableLayoutPanel5.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel5.Location = new System.Drawing.Point(332, 3); this.tableLayoutPanel5.Name = "tableLayoutPanel5"; this.tableLayoutPanel5.RowCount = 2; this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel5.Size = new System.Drawing.Size(323, 444); this.tableLayoutPanel5.TabIndex = 2; // // textBox2 // this.textBox2.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.textBox2.Location = new System.Drawing.Point(3, 3); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(317, 13); this.textBox2.TabIndex = 0; // // viewerB // this.viewerB.ArrowheadLength = 10D; this.viewerB.AsyncLayout = false; this.viewerB.AutoScroll = true; this.viewerB.BackwardEnabled = false; this.viewerB.BuildHitTree = true; this.viewerB.CurrentLayoutMethod = Microsoft.Msagl.GraphViewerGdi.LayoutMethod.UseSettingsOfTheGraph; this.viewerB.Dock = System.Windows.Forms.DockStyle.Fill; this.viewerB.EdgeInsertButtonVisible = true; this.viewerB.FileName = ""; this.viewerB.ForwardEnabled = false; this.viewerB.Graph = null; this.viewerB.InsertingEdge = false; this.viewerB.LayoutAlgorithmSettingsButtonVisible = true; this.viewerB.LayoutEditingEnabled = true; this.viewerB.Location = new System.Drawing.Point(3, 22); this.viewerB.LooseOffsetForRouting = 0.25D; this.viewerB.MouseHitDistance = 0.05D; this.viewerB.Name = "viewerB"; this.viewerB.NavigationVisible = true; this.viewerB.NeedToCalculateLayout = true; this.viewerB.OffsetForRelaxingInRouting = 0.6D; this.viewerB.PaddingForEdgeRouting = 8D; this.viewerB.PanButtonPressed = false; this.viewerB.SaveAsImageEnabled = true; this.viewerB.SaveAsMsaglEnabled = true; this.viewerB.SaveButtonVisible = true; this.viewerB.SaveGraphButtonVisible = true; this.viewerB.SaveInVectorFormatEnabled = true; this.viewerB.Size = new System.Drawing.Size(317, 419); this.viewerB.TabIndex = 2; this.viewerB.TightOffsetForRouting = 0.125D; this.viewerB.ToolBarIsVisible = false; this.viewerB.Transform = planeTransformation1; this.viewerB.UndoRedoButtonsVisible = true; this.viewerB.WindowZoomButtonPressed = false; this.viewerB.ZoomF = 1D; this.viewerB.ZoomWindowThreshold = 0.05D; // // tableLayoutPanel2 // this.tableLayoutPanel2.ColumnCount = 1; this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.Controls.Add(this.groupBox1, 0, 2); this.tableLayoutPanel2.Controls.Add(this.button1, 0, 0); this.tableLayoutPanel2.Controls.Add(this.button2, 0, 1); this.tableLayoutPanel2.Controls.Add(this.outputInfo, 0, 4); this.tableLayoutPanel2.Controls.Add(this.tableLayoutPanel4, 0, 3); this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Right; this.tableLayoutPanel2.Location = new System.Drawing.Point(661, 3); this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.RowCount = 6; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 32F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel2.Size = new System.Drawing.Size(145, 444); this.tableLayoutPanel2.TabIndex = 0; // // groupBox1 // this.groupBox1.Controls.Add(this.radioButton6); this.groupBox1.Controls.Add(this.radioButton5); this.groupBox1.Controls.Add(this.radioButton4); this.groupBox1.Controls.Add(this.radioButton3); this.groupBox1.Controls.Add(this.radioButton2); this.groupBox1.Controls.Add(this.radioButton1); this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.groupBox1.Location = new System.Drawing.Point(3, 63); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(138, 165); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; // // radioButton6 // this.radioButton6.AutoSize = true; this.radioButton6.Location = new System.Drawing.Point(3, 134); this.radioButton6.Name = "radioButton6"; this.radioButton6.Size = new System.Drawing.Size(98, 17); this.radioButton6.TabIndex = 5; this.radioButton6.TabStop = true; this.radioButton6.Text = "Approx. B |V+E|"; this.radioButton6.UseVisualStyleBackColor = true; this.radioButton6.CheckedChanged += new System.EventHandler(this.CheckedChangedGeneral); // // radioButton5 // this.radioButton5.AutoSize = true; this.radioButton5.Location = new System.Drawing.Point(3, 111); this.radioButton5.Name = "radioButton5"; this.radioButton5.Size = new System.Drawing.Size(85, 17); this.radioButton5.TabIndex = 4; this.radioButton5.TabStop = true; this.radioButton5.Text = "Approx. B |V|"; this.radioButton5.UseVisualStyleBackColor = true; this.radioButton5.CheckedChanged += new System.EventHandler(this.CheckedChangedGeneral); // // radioButton4 // this.radioButton4.AutoSize = true; this.radioButton4.Location = new System.Drawing.Point(3, 88); this.radioButton4.Name = "radioButton4"; this.radioButton4.Size = new System.Drawing.Size(98, 17); this.radioButton4.TabIndex = 3; this.radioButton4.TabStop = true; this.radioButton4.Text = "Approx. A |V+E|"; this.radioButton4.UseVisualStyleBackColor = true; this.radioButton4.CheckedChanged += new System.EventHandler(this.CheckedChangedGeneral); // // radioButton3 // this.radioButton3.AutoSize = true; this.radioButton3.Location = new System.Drawing.Point(3, 65); this.radioButton3.Name = "radioButton3"; this.radioButton3.Size = new System.Drawing.Size(85, 17); this.radioButton3.TabIndex = 2; this.radioButton3.TabStop = true; this.radioButton3.Text = "Approx. A |V|"; this.radioButton3.UseVisualStyleBackColor = true; this.radioButton3.CheckedChanged += new System.EventHandler(this.CheckedChangedGeneral); // // radioButton2 // this.radioButton2.AutoSize = true; this.radioButton2.Location = new System.Drawing.Point(3, 42); this.radioButton2.Name = "radioButton2"; this.radioButton2.Size = new System.Drawing.Size(79, 17); this.radioButton2.TabIndex = 1; this.radioButton2.TabStop = true; this.radioButton2.Text = "Exact |V+E|"; this.radioButton2.UseVisualStyleBackColor = true; this.radioButton2.CheckedChanged += new System.EventHandler(this.CheckedChangedGeneral); // // radioButton1 // this.radioButton1.AutoSize = true; this.radioButton1.Checked = true; this.radioButton1.Location = new System.Drawing.Point(3, 19); this.radioButton1.Name = "radioButton1"; this.radioButton1.Size = new System.Drawing.Size(66, 17); this.radioButton1.TabIndex = 0; this.radioButton1.TabStop = true; this.radioButton1.Text = "Exact |V|"; this.radioButton1.UseVisualStyleBackColor = true; this.radioButton1.CheckedChanged += new System.EventHandler(this.CheckedChangedGeneral); // // button1 // this.button1.Location = new System.Drawing.Point(3, 3); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 1; this.button1.Text = "Graph A"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.Location = new System.Drawing.Point(3, 33); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(75, 23); this.button2.TabIndex = 2; this.button2.Text = "Graph B"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // outputInfo // this.outputInfo.Dock = System.Windows.Forms.DockStyle.Fill; this.outputInfo.Location = new System.Drawing.Point(3, 266); this.outputInfo.Name = "outputInfo"; this.outputInfo.Size = new System.Drawing.Size(139, 155); this.outputInfo.TabIndex = 4; this.outputInfo.Text = ""; // // tableLayoutPanel4 // this.tableLayoutPanel4.ColumnCount = 2; this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel4.Controls.Add(this.button3, 0, 0); this.tableLayoutPanel4.Controls.Add(this.button4, 1, 0); this.tableLayoutPanel4.Location = new System.Drawing.Point(3, 234); this.tableLayoutPanel4.Name = "tableLayoutPanel4"; this.tableLayoutPanel4.RowCount = 1; this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel4.Size = new System.Drawing.Size(139, 26); this.tableLayoutPanel4.TabIndex = 5; // // button3 // this.button3.Dock = System.Windows.Forms.DockStyle.Fill; this.button3.Location = new System.Drawing.Point(3, 3); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(63, 20); this.button3.TabIndex = 4; this.button3.Text = "Run"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.button3_Click); // // button4 // this.button4.Dock = System.Windows.Forms.DockStyle.Fill; this.button4.Location = new System.Drawing.Point(72, 3); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(64, 20); this.button4.TabIndex = 5; this.button4.Text = "Export"; this.button4.UseVisualStyleBackColor = true; this.button4.Click += new System.EventHandler(this.button4_Click); // // tableLayoutPanel3 // this.tableLayoutPanel3.BackColor = System.Drawing.SystemColors.Window; this.tableLayoutPanel3.ColumnCount = 1; this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel3.Controls.Add(this.textBox1, 0, 0); this.tableLayoutPanel3.Controls.Add(this.viewerA, 0, 1); this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel3.Location = new System.Drawing.Point(3, 3); this.tableLayoutPanel3.Name = "tableLayoutPanel3"; this.tableLayoutPanel3.RowCount = 2; this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel3.Size = new System.Drawing.Size(323, 444); this.tableLayoutPanel3.TabIndex = 1; // // textBox1 // this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.textBox1.Location = new System.Drawing.Point(3, 3); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(317, 13); this.textBox1.TabIndex = 0; // // viewerA // this.viewerA.ArrowheadLength = 10D; this.viewerA.AsyncLayout = false; this.viewerA.AutoScroll = true; this.viewerA.BackwardEnabled = false; this.viewerA.BuildHitTree = true; this.viewerA.CurrentLayoutMethod = Microsoft.Msagl.GraphViewerGdi.LayoutMethod.UseSettingsOfTheGraph; this.viewerA.Dock = System.Windows.Forms.DockStyle.Fill; this.viewerA.EdgeInsertButtonVisible = true; this.viewerA.FileName = ""; this.viewerA.ForwardEnabled = false; this.viewerA.Graph = null; this.viewerA.InsertingEdge = false; this.viewerA.LayoutAlgorithmSettingsButtonVisible = true; this.viewerA.LayoutEditingEnabled = true; this.viewerA.Location = new System.Drawing.Point(3, 22); this.viewerA.LooseOffsetForRouting = 0.25D; this.viewerA.MouseHitDistance = 0.05D; this.viewerA.Name = "viewerA"; this.viewerA.NavigationVisible = true; this.viewerA.NeedToCalculateLayout = true; this.viewerA.OffsetForRelaxingInRouting = 0.6D; this.viewerA.PaddingForEdgeRouting = 8D; this.viewerA.PanButtonPressed = false; this.viewerA.SaveAsImageEnabled = true; this.viewerA.SaveAsMsaglEnabled = true; this.viewerA.SaveButtonVisible = true; this.viewerA.SaveGraphButtonVisible = true; this.viewerA.SaveInVectorFormatEnabled = true; this.viewerA.Size = new System.Drawing.Size(317, 419); this.viewerA.TabIndex = 1; this.viewerA.TightOffsetForRouting = 0.125D; this.viewerA.ToolBarIsVisible = false; this.viewerA.Transform = planeTransformation2; this.viewerA.UndoRedoButtonsVisible = true; this.viewerA.WindowZoomButtonPressed = false; this.viewerA.ZoomF = 1D; this.viewerA.ZoomWindowThreshold = 0.05D; // // openFileDialog1 // this.openFileDialog1.FileName = "openFileDialog1"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(809, 450); this.Controls.Add(this.tableLayoutPanel1); this.Name = "Form1"; this.Text = "TAiO"; this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel5.ResumeLayout(false); this.tableLayoutPanel5.PerformLayout(); this.tableLayoutPanel2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.tableLayoutPanel4.ResumeLayout(false); this.tableLayoutPanel3.ResumeLayout(false); this.tableLayoutPanel3.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() { Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation planeTransformation5 = new Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation(); this.gViewer1 = new Microsoft.Msagl.GraphViewerGdi.GViewer(); this.pnl_SideMenu = new System.Windows.Forms.Panel(); this.pnl_AddConnection = new System.Windows.Forms.Panel(); this.btn_AddFromTo = new System.Windows.Forms.Button(); this.cmb_To = new System.Windows.Forms.ComboBox(); this.btn_To = new System.Windows.Forms.Button(); this.cmb_From = new System.Windows.Forms.ComboBox(); this.btn_From = new System.Windows.Forms.Button(); this.btn_AddConnection = new System.Windows.Forms.Button(); this.pnl_AddAccount = new System.Windows.Forms.Panel(); this.btn_Add = new System.Windows.Forms.Button(); this.rtb_AccName = new System.Windows.Forms.RichTextBox(); this.btn_AddAccount = new System.Windows.Forms.Button(); this.btn_Mutual = new System.Windows.Forms.Button(); this.btn_Reset = new System.Windows.Forms.Button(); this.pnl_ExploreFriends = new System.Windows.Forms.Panel(); this.btn_Explore = new System.Windows.Forms.Button(); this.btn_DFS = new System.Windows.Forms.Button(); this.btn_BFS = new System.Windows.Forms.Button(); this.cmb_ExploreWith = new System.Windows.Forms.ComboBox(); this.btn_FriendAccount = new System.Windows.Forms.Button(); this.btn_ExploreFriends = new System.Windows.Forms.Button(); this.cmb_Account = new System.Windows.Forms.ComboBox(); this.btn_Account = new System.Windows.Forms.Button(); this.btn_Minimize = new System.Windows.Forms.Button(); this.btn_exit = new System.Windows.Forms.Button(); this.btn_Browse = new System.Windows.Forms.Button(); this.pnl_Logo = new System.Windows.Forms.Panel(); this.lbl_Logo = new System.Windows.Forms.Label(); this.pnl_Bottom = new System.Windows.Forms.Panel(); this.btn_Pan = new System.Windows.Forms.Button(); this.pnl_Main = new System.Windows.Forms.Panel(); this.lbl_Content = new System.Windows.Forms.Label(); this.pnl_Filename = new System.Windows.Forms.Panel(); this.lbl_FileName = new System.Windows.Forms.Label(); this.pnl_SideMenu.SuspendLayout(); this.pnl_AddConnection.SuspendLayout(); this.pnl_AddAccount.SuspendLayout(); this.pnl_ExploreFriends.SuspendLayout(); this.pnl_Logo.SuspendLayout(); this.pnl_Bottom.SuspendLayout(); this.pnl_Main.SuspendLayout(); this.pnl_Filename.SuspendLayout(); this.SuspendLayout(); // // gViewer1 // this.gViewer1.ArrowheadLength = 10D; this.gViewer1.AsyncLayout = false; this.gViewer1.AutoScroll = true; this.gViewer1.BackwardEnabled = false; this.gViewer1.BuildHitTree = true; this.gViewer1.CurrentLayoutMethod = Microsoft.Msagl.GraphViewerGdi.LayoutMethod.MDS; this.gViewer1.Dock = System.Windows.Forms.DockStyle.Right; this.gViewer1.EdgeInsertButtonVisible = true; this.gViewer1.FileName = ""; this.gViewer1.ForwardEnabled = false; this.gViewer1.Graph = null; this.gViewer1.InsertingEdge = false; this.gViewer1.LayoutAlgorithmSettingsButtonVisible = true; this.gViewer1.LayoutEditingEnabled = true; this.gViewer1.Location = new System.Drawing.Point(774, 66); this.gViewer1.LooseOffsetForRouting = 0.25D; this.gViewer1.MouseHitDistance = 0.05D; this.gViewer1.Name = "gViewer1"; this.gViewer1.NavigationVisible = true; this.gViewer1.NeedToCalculateLayout = true; this.gViewer1.OffsetForRelaxingInRouting = 0.6D; this.gViewer1.PaddingForEdgeRouting = 8D; this.gViewer1.PanButtonPressed = false; this.gViewer1.SaveAsImageEnabled = true; this.gViewer1.SaveAsMsaglEnabled = true; this.gViewer1.SaveButtonVisible = true; this.gViewer1.SaveGraphButtonVisible = true; this.gViewer1.SaveInVectorFormatEnabled = true; this.gViewer1.Size = new System.Drawing.Size(930, 909); this.gViewer1.TabIndex = 1; this.gViewer1.TightOffsetForRouting = 0.125D; this.gViewer1.ToolBarIsVisible = true; this.gViewer1.Transform = planeTransformation5; this.gViewer1.UndoRedoButtonsVisible = true; this.gViewer1.WindowZoomButtonPressed = false; this.gViewer1.ZoomF = 1D; this.gViewer1.ZoomWindowThreshold = 0.05D; this.gViewer1.Load += new System.EventHandler(this.gViewer1_Load); // // pnl_SideMenu // this.pnl_SideMenu.AutoScroll = true; this.pnl_SideMenu.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(71)))), ((int)(((byte)(90))))); this.pnl_SideMenu.Controls.Add(this.pnl_AddConnection); this.pnl_SideMenu.Controls.Add(this.btn_AddConnection); this.pnl_SideMenu.Controls.Add(this.pnl_AddAccount); this.pnl_SideMenu.Controls.Add(this.btn_AddAccount); this.pnl_SideMenu.Controls.Add(this.btn_Mutual); this.pnl_SideMenu.Controls.Add(this.btn_Reset); this.pnl_SideMenu.Controls.Add(this.pnl_ExploreFriends); this.pnl_SideMenu.Controls.Add(this.btn_ExploreFriends); this.pnl_SideMenu.Controls.Add(this.cmb_Account); this.pnl_SideMenu.Controls.Add(this.btn_Account); this.pnl_SideMenu.Controls.Add(this.btn_Minimize); this.pnl_SideMenu.Controls.Add(this.btn_exit); this.pnl_SideMenu.Controls.Add(this.btn_Browse); this.pnl_SideMenu.Controls.Add(this.pnl_Logo); this.pnl_SideMenu.Dock = System.Windows.Forms.DockStyle.Left; this.pnl_SideMenu.Location = new System.Drawing.Point(0, 0); this.pnl_SideMenu.Name = "pnl_SideMenu"; this.pnl_SideMenu.Size = new System.Drawing.Size(200, 1041); this.pnl_SideMenu.TabIndex = 0; // // pnl_AddConnection // this.pnl_AddConnection.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(42)))), ((int)(((byte)(54))))); this.pnl_AddConnection.Controls.Add(this.btn_AddFromTo); this.pnl_AddConnection.Controls.Add(this.cmb_To); this.pnl_AddConnection.Controls.Add(this.btn_To); this.pnl_AddConnection.Controls.Add(this.cmb_From); this.pnl_AddConnection.Controls.Add(this.btn_From); this.pnl_AddConnection.Dock = System.Windows.Forms.DockStyle.Top; this.pnl_AddConnection.Location = new System.Drawing.Point(0, 642); this.pnl_AddConnection.Name = "pnl_AddConnection"; this.pnl_AddConnection.Size = new System.Drawing.Size(200, 178); this.pnl_AddConnection.TabIndex = 14; // // btn_AddFromTo // this.btn_AddFromTo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(42)))), ((int)(((byte)(54))))); this.btn_AddFromTo.Dock = System.Windows.Forms.DockStyle.Top; this.btn_AddFromTo.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_AddFromTo.Font = new System.Drawing.Font("Nirmala UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_AddFromTo.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(121)))), ((int)(((byte)(198))))); this.btn_AddFromTo.Location = new System.Drawing.Point(0, 132); this.btn_AddFromTo.Name = "btn_AddFromTo"; this.btn_AddFromTo.Size = new System.Drawing.Size(200, 45); this.btn_AddFromTo.TabIndex = 17; this.btn_AddFromTo.Text = "ADD"; this.btn_AddFromTo.UseVisualStyleBackColor = false; this.btn_AddFromTo.Click += new System.EventHandler(this.btn_AddFromTo_Click); // // cmb_To // this.cmb_To.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(98)))), ((int)(((byte)(114)))), ((int)(((byte)(164))))); this.cmb_To.Dock = System.Windows.Forms.DockStyle.Top; this.cmb_To.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cmb_To.FormattingEnabled = true; this.cmb_To.Location = new System.Drawing.Point(0, 111); this.cmb_To.Name = "cmb_To"; this.cmb_To.Size = new System.Drawing.Size(200, 21); this.cmb_To.TabIndex = 16; this.cmb_To.SelectedIndexChanged += new System.EventHandler(this.cmb_To_SelectedIndexChanged); // // btn_To // this.btn_To.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(42)))), ((int)(((byte)(54))))); this.btn_To.Dock = System.Windows.Forms.DockStyle.Top; this.btn_To.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_To.Font = new System.Drawing.Font("Nirmala UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_To.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(121)))), ((int)(((byte)(198))))); this.btn_To.Location = new System.Drawing.Point(0, 66); this.btn_To.Name = "btn_To"; this.btn_To.Size = new System.Drawing.Size(200, 45); this.btn_To.TabIndex = 15; this.btn_To.Text = "To"; this.btn_To.UseVisualStyleBackColor = false; // // cmb_From // this.cmb_From.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(98)))), ((int)(((byte)(114)))), ((int)(((byte)(164))))); this.cmb_From.Dock = System.Windows.Forms.DockStyle.Top; this.cmb_From.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cmb_From.FormattingEnabled = true; this.cmb_From.Location = new System.Drawing.Point(0, 45); this.cmb_From.Name = "cmb_From"; this.cmb_From.Size = new System.Drawing.Size(200, 21); this.cmb_From.TabIndex = 14; this.cmb_From.SelectedIndexChanged += new System.EventHandler(this.cmb_From_SelectedIndexChanged); // // btn_From // this.btn_From.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(42)))), ((int)(((byte)(54))))); this.btn_From.Dock = System.Windows.Forms.DockStyle.Top; this.btn_From.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_From.Font = new System.Drawing.Font("Nirmala UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_From.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(121)))), ((int)(((byte)(198))))); this.btn_From.Location = new System.Drawing.Point(0, 0); this.btn_From.Name = "btn_From"; this.btn_From.Size = new System.Drawing.Size(200, 45); this.btn_From.TabIndex = 13; this.btn_From.Text = "From"; this.btn_From.UseVisualStyleBackColor = false; // // btn_AddConnection // this.btn_AddConnection.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(71)))), ((int)(((byte)(90))))); this.btn_AddConnection.Dock = System.Windows.Forms.DockStyle.Top; this.btn_AddConnection.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_AddConnection.Font = new System.Drawing.Font("Nirmala UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_AddConnection.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(233)))), ((int)(((byte)(253))))); this.btn_AddConnection.Location = new System.Drawing.Point(0, 597); this.btn_AddConnection.Name = "btn_AddConnection"; this.btn_AddConnection.Padding = new System.Windows.Forms.Padding(15, 0, 0, 0); this.btn_AddConnection.Size = new System.Drawing.Size(200, 45); this.btn_AddConnection.TabIndex = 13; this.btn_AddConnection.Text = "Add Connection"; this.btn_AddConnection.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btn_AddConnection.UseVisualStyleBackColor = false; this.btn_AddConnection.Click += new System.EventHandler(this.btn_AddConnection_Click); // // pnl_AddAccount // this.pnl_AddAccount.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(42)))), ((int)(((byte)(54))))); this.pnl_AddAccount.Controls.Add(this.btn_Add); this.pnl_AddAccount.Controls.Add(this.rtb_AccName); this.pnl_AddAccount.Dock = System.Windows.Forms.DockStyle.Top; this.pnl_AddAccount.Location = new System.Drawing.Point(0, 514); this.pnl_AddAccount.Name = "pnl_AddAccount"; this.pnl_AddAccount.Size = new System.Drawing.Size(200, 83); this.pnl_AddAccount.TabIndex = 12; // // btn_Add // this.btn_Add.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(42)))), ((int)(((byte)(54))))); this.btn_Add.Dock = System.Windows.Forms.DockStyle.Top; this.btn_Add.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_Add.Font = new System.Drawing.Font("Nirmala UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_Add.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(121)))), ((int)(((byte)(198))))); this.btn_Add.Location = new System.Drawing.Point(0, 37); this.btn_Add.Name = "btn_Add"; this.btn_Add.Size = new System.Drawing.Size(200, 45); this.btn_Add.TabIndex = 12; this.btn_Add.Text = "ADD"; this.btn_Add.UseVisualStyleBackColor = false; this.btn_Add.Click += new System.EventHandler(this.btn_Add_Click); // // rtb_AccName // this.rtb_AccName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(71)))), ((int)(((byte)(90))))); this.rtb_AccName.Dock = System.Windows.Forms.DockStyle.Top; this.rtb_AccName.Font = new System.Drawing.Font("Nirmala UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.rtb_AccName.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(147)))), ((int)(((byte)(249))))); this.rtb_AccName.Location = new System.Drawing.Point(0, 0); this.rtb_AccName.Name = "rtb_AccName"; this.rtb_AccName.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None; this.rtb_AccName.Size = new System.Drawing.Size(200, 37); this.rtb_AccName.TabIndex = 0; this.rtb_AccName.Text = ""; // // btn_AddAccount // this.btn_AddAccount.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(71)))), ((int)(((byte)(90))))); this.btn_AddAccount.Dock = System.Windows.Forms.DockStyle.Top; this.btn_AddAccount.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_AddAccount.Font = new System.Drawing.Font("Nirmala UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_AddAccount.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(233)))), ((int)(((byte)(253))))); this.btn_AddAccount.Location = new System.Drawing.Point(0, 469); this.btn_AddAccount.Name = "btn_AddAccount"; this.btn_AddAccount.Padding = new System.Windows.Forms.Padding(15, 0, 0, 0); this.btn_AddAccount.Size = new System.Drawing.Size(200, 45); this.btn_AddAccount.TabIndex = 11; this.btn_AddAccount.Text = "Add Account"; this.btn_AddAccount.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btn_AddAccount.UseVisualStyleBackColor = false; this.btn_AddAccount.Click += new System.EventHandler(this.btn_AddAccount_Click); // // btn_Mutual // this.btn_Mutual.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(71)))), ((int)(((byte)(90))))); this.btn_Mutual.Dock = System.Windows.Forms.DockStyle.Top; this.btn_Mutual.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_Mutual.Font = new System.Drawing.Font("Nirmala UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_Mutual.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(233)))), ((int)(((byte)(253))))); this.btn_Mutual.Location = new System.Drawing.Point(0, 424); this.btn_Mutual.Name = "btn_Mutual"; this.btn_Mutual.Padding = new System.Windows.Forms.Padding(15, 0, 0, 0); this.btn_Mutual.Size = new System.Drawing.Size(200, 45); this.btn_Mutual.TabIndex = 10; this.btn_Mutual.Text = "Mutual Friends"; this.btn_Mutual.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btn_Mutual.UseVisualStyleBackColor = false; this.btn_Mutual.Click += new System.EventHandler(this.btn_Mutual_Click); // // btn_Reset // this.btn_Reset.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(250)))), ((int)(((byte)(140))))); this.btn_Reset.Dock = System.Windows.Forms.DockStyle.Bottom; this.btn_Reset.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_Reset.Font = new System.Drawing.Font("Nirmala UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_Reset.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(85)))), ((int)(((byte)(85))))); this.btn_Reset.Location = new System.Drawing.Point(0, 900); this.btn_Reset.Name = "btn_Reset"; this.btn_Reset.Size = new System.Drawing.Size(200, 40); this.btn_Reset.TabIndex = 9; this.btn_Reset.Text = "Reset"; this.btn_Reset.UseVisualStyleBackColor = false; this.btn_Reset.Click += new System.EventHandler(this.btn_Reset_Click); // // pnl_ExploreFriends // this.pnl_ExploreFriends.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(42)))), ((int)(((byte)(54))))); this.pnl_ExploreFriends.Controls.Add(this.btn_Explore); this.pnl_ExploreFriends.Controls.Add(this.btn_DFS); this.pnl_ExploreFriends.Controls.Add(this.btn_BFS); this.pnl_ExploreFriends.Controls.Add(this.cmb_ExploreWith); this.pnl_ExploreFriends.Controls.Add(this.btn_FriendAccount); this.pnl_ExploreFriends.Dock = System.Windows.Forms.DockStyle.Top; this.pnl_ExploreFriends.Location = new System.Drawing.Point(0, 222); this.pnl_ExploreFriends.Name = "pnl_ExploreFriends"; this.pnl_ExploreFriends.Size = new System.Drawing.Size(200, 202); this.pnl_ExploreFriends.TabIndex = 8; // // btn_Explore // this.btn_Explore.Dock = System.Windows.Forms.DockStyle.Top; this.btn_Explore.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_Explore.Font = new System.Drawing.Font("Nirmala UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_Explore.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(121)))), ((int)(((byte)(198))))); this.btn_Explore.Location = new System.Drawing.Point(0, 156); this.btn_Explore.Name = "btn_Explore"; this.btn_Explore.Size = new System.Drawing.Size(200, 45); this.btn_Explore.TabIndex = 8; this.btn_Explore.Text = "Explore"; this.btn_Explore.UseVisualStyleBackColor = true; this.btn_Explore.Click += new System.EventHandler(this.btn_Explore_Click); // // btn_DFS // this.btn_DFS.Dock = System.Windows.Forms.DockStyle.Top; this.btn_DFS.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_DFS.Font = new System.Drawing.Font("Nirmala UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_DFS.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(121)))), ((int)(((byte)(198))))); this.btn_DFS.Location = new System.Drawing.Point(0, 111); this.btn_DFS.Name = "btn_DFS"; this.btn_DFS.Size = new System.Drawing.Size(200, 45); this.btn_DFS.TabIndex = 7; this.btn_DFS.Text = "DFS"; this.btn_DFS.UseVisualStyleBackColor = true; this.btn_DFS.Click += new System.EventHandler(this.btn_DFS_Click); // // btn_BFS // this.btn_BFS.Dock = System.Windows.Forms.DockStyle.Top; this.btn_BFS.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_BFS.Font = new System.Drawing.Font("Nirmala UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_BFS.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(121)))), ((int)(((byte)(198))))); this.btn_BFS.Location = new System.Drawing.Point(0, 66); this.btn_BFS.Name = "btn_BFS"; this.btn_BFS.Size = new System.Drawing.Size(200, 45); this.btn_BFS.TabIndex = 6; this.btn_BFS.Text = "BFS"; this.btn_BFS.UseVisualStyleBackColor = true; this.btn_BFS.Click += new System.EventHandler(this.btn_BFS_Click); // // cmb_ExploreWith // this.cmb_ExploreWith.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(98)))), ((int)(((byte)(114)))), ((int)(((byte)(164))))); this.cmb_ExploreWith.Dock = System.Windows.Forms.DockStyle.Top; this.cmb_ExploreWith.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cmb_ExploreWith.FormattingEnabled = true; this.cmb_ExploreWith.Location = new System.Drawing.Point(0, 45); this.cmb_ExploreWith.Name = "cmb_ExploreWith"; this.cmb_ExploreWith.Size = new System.Drawing.Size(200, 21); this.cmb_ExploreWith.TabIndex = 5; this.cmb_ExploreWith.SelectedIndexChanged += new System.EventHandler(this.cmb_ExploreWith_SelectedIndexChanged); // // btn_FriendAccount // this.btn_FriendAccount.Dock = System.Windows.Forms.DockStyle.Top; this.btn_FriendAccount.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_FriendAccount.Font = new System.Drawing.Font("Nirmala UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_FriendAccount.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(121)))), ((int)(((byte)(198))))); this.btn_FriendAccount.Location = new System.Drawing.Point(0, 0); this.btn_FriendAccount.Name = "btn_FriendAccount"; this.btn_FriendAccount.Padding = new System.Windows.Forms.Padding(25, 0, 0, 0); this.btn_FriendAccount.Size = new System.Drawing.Size(200, 45); this.btn_FriendAccount.TabIndex = 0; this.btn_FriendAccount.Text = "Explore With"; this.btn_FriendAccount.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btn_FriendAccount.UseVisualStyleBackColor = true; this.btn_FriendAccount.Click += new System.EventHandler(this.btn_FriendAccount_Click); // // btn_ExploreFriends // this.btn_ExploreFriends.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(71)))), ((int)(((byte)(90))))); this.btn_ExploreFriends.Dock = System.Windows.Forms.DockStyle.Top; this.btn_ExploreFriends.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_ExploreFriends.Font = new System.Drawing.Font("Nirmala UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_ExploreFriends.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(233)))), ((int)(((byte)(253))))); this.btn_ExploreFriends.Location = new System.Drawing.Point(0, 177); this.btn_ExploreFriends.Name = "btn_ExploreFriends"; this.btn_ExploreFriends.Padding = new System.Windows.Forms.Padding(15, 0, 0, 0); this.btn_ExploreFriends.Size = new System.Drawing.Size(200, 45); this.btn_ExploreFriends.TabIndex = 7; this.btn_ExploreFriends.Text = "Explore Friends"; this.btn_ExploreFriends.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btn_ExploreFriends.UseVisualStyleBackColor = false; this.btn_ExploreFriends.Click += new System.EventHandler(this.btn_ExploreFriends_Click); // // cmb_Account // this.cmb_Account.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(98)))), ((int)(((byte)(114)))), ((int)(((byte)(164))))); this.cmb_Account.Dock = System.Windows.Forms.DockStyle.Top; this.cmb_Account.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cmb_Account.FormattingEnabled = true; this.cmb_Account.Location = new System.Drawing.Point(0, 156); this.cmb_Account.Name = "cmb_Account"; this.cmb_Account.Size = new System.Drawing.Size(200, 21); this.cmb_Account.TabIndex = 4; this.cmb_Account.SelectedIndexChanged += new System.EventHandler(this.cmb_Account_SelectedIndexChanged); // // btn_Account // this.btn_Account.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(71)))), ((int)(((byte)(90))))); this.btn_Account.Dock = System.Windows.Forms.DockStyle.Top; this.btn_Account.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_Account.Font = new System.Drawing.Font("Nirmala UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_Account.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(233)))), ((int)(((byte)(253))))); this.btn_Account.Location = new System.Drawing.Point(0, 111); this.btn_Account.Name = "btn_Account"; this.btn_Account.Padding = new System.Windows.Forms.Padding(15, 0, 0, 0); this.btn_Account.Size = new System.Drawing.Size(200, 45); this.btn_Account.TabIndex = 6; this.btn_Account.Text = "Your Account"; this.btn_Account.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btn_Account.UseVisualStyleBackColor = false; this.btn_Account.Click += new System.EventHandler(this.btn_Account_Click); // // btn_Minimize // this.btn_Minimize.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(250)))), ((int)(((byte)(123))))); this.btn_Minimize.Dock = System.Windows.Forms.DockStyle.Bottom; this.btn_Minimize.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_Minimize.Font = new System.Drawing.Font("Nirmala UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_Minimize.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(98)))), ((int)(((byte)(114)))), ((int)(((byte)(164))))); this.btn_Minimize.Location = new System.Drawing.Point(0, 940); this.btn_Minimize.Name = "btn_Minimize"; this.btn_Minimize.Size = new System.Drawing.Size(200, 35); this.btn_Minimize.TabIndex = 5; this.btn_Minimize.Text = "Minimize"; this.btn_Minimize.UseVisualStyleBackColor = false; this.btn_Minimize.Click += new System.EventHandler(this.btn_Minimize_Click); // // btn_exit // this.btn_exit.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(85)))), ((int)(((byte)(85))))); this.btn_exit.Dock = System.Windows.Forms.DockStyle.Bottom; this.btn_exit.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_exit.Font = new System.Drawing.Font("Nirmala UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_exit.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(250)))), ((int)(((byte)(140))))); this.btn_exit.Location = new System.Drawing.Point(0, 975); this.btn_exit.Name = "btn_exit"; this.btn_exit.Size = new System.Drawing.Size(200, 66); this.btn_exit.TabIndex = 3; this.btn_exit.Text = "Exit"; this.btn_exit.UseVisualStyleBackColor = false; this.btn_exit.Click += new System.EventHandler(this.btn_exit_Click); // // btn_Browse // this.btn_Browse.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(71)))), ((int)(((byte)(90))))); this.btn_Browse.Dock = System.Windows.Forms.DockStyle.Top; this.btn_Browse.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_Browse.Font = new System.Drawing.Font("Nirmala UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_Browse.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(233)))), ((int)(((byte)(253))))); this.btn_Browse.Location = new System.Drawing.Point(0, 66); this.btn_Browse.Name = "btn_Browse"; this.btn_Browse.Padding = new System.Windows.Forms.Padding(15, 0, 0, 0); this.btn_Browse.Size = new System.Drawing.Size(200, 45); this.btn_Browse.TabIndex = 2; this.btn_Browse.Text = "Browse"; this.btn_Browse.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btn_Browse.UseVisualStyleBackColor = false; this.btn_Browse.Click += new System.EventHandler(this.btn_Browse_Click); // // pnl_Logo // this.pnl_Logo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(42)))), ((int)(((byte)(54))))); this.pnl_Logo.Controls.Add(this.lbl_Logo); this.pnl_Logo.Dock = System.Windows.Forms.DockStyle.Top; this.pnl_Logo.ImeMode = System.Windows.Forms.ImeMode.Disable; this.pnl_Logo.Location = new System.Drawing.Point(0, 0); this.pnl_Logo.Name = "pnl_Logo"; this.pnl_Logo.Size = new System.Drawing.Size(200, 66); this.pnl_Logo.TabIndex = 1; // // lbl_Logo // this.lbl_Logo.Dock = System.Windows.Forms.DockStyle.Fill; this.lbl_Logo.Font = new System.Drawing.Font("Bob Sponge", 27.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Italic | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbl_Logo.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(121)))), ((int)(((byte)(198))))); this.lbl_Logo.Location = new System.Drawing.Point(0, 0); this.lbl_Logo.Name = "lbl_Logo"; this.lbl_Logo.Size = new System.Drawing.Size(200, 66); this.lbl_Logo.TabIndex = 0; this.lbl_Logo.Text = "YO space"; this.lbl_Logo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // pnl_Bottom // this.pnl_Bottom.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(42)))), ((int)(((byte)(54))))); this.pnl_Bottom.Controls.Add(this.btn_Pan); this.pnl_Bottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.pnl_Bottom.Location = new System.Drawing.Point(200, 975); this.pnl_Bottom.Name = "pnl_Bottom"; this.pnl_Bottom.Size = new System.Drawing.Size(1704, 66); this.pnl_Bottom.TabIndex = 2; // // btn_Pan // this.btn_Pan.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_Pan.Font = new System.Drawing.Font("Bob Sponge", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_Pan.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(121)))), ((int)(((byte)(198))))); this.btn_Pan.Location = new System.Drawing.Point(790, 0); this.btn_Pan.Name = "btn_Pan"; this.btn_Pan.Size = new System.Drawing.Size(100, 43); this.btn_Pan.TabIndex = 3; this.btn_Pan.Text = "Pan Mode"; this.btn_Pan.UseVisualStyleBackColor = true; this.btn_Pan.Click += new System.EventHandler(this.btn_Pan_Click); // // pnl_Main // this.pnl_Main.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(42)))), ((int)(((byte)(54))))); this.pnl_Main.Controls.Add(this.lbl_Content); this.pnl_Main.Controls.Add(this.gViewer1); this.pnl_Main.Controls.Add(this.pnl_Filename); this.pnl_Main.Dock = System.Windows.Forms.DockStyle.Fill; this.pnl_Main.Location = new System.Drawing.Point(200, 0); this.pnl_Main.Name = "pnl_Main"; this.pnl_Main.Size = new System.Drawing.Size(1704, 975); this.pnl_Main.TabIndex = 3; // // lbl_Content // this.lbl_Content.Font = new System.Drawing.Font("LEMON MILK", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbl_Content.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(121)))), ((int)(((byte)(198))))); this.lbl_Content.Location = new System.Drawing.Point(19, 83); this.lbl_Content.Name = "lbl_Content"; this.lbl_Content.Size = new System.Drawing.Size(734, 864); this.lbl_Content.TabIndex = 2; // // pnl_Filename // this.pnl_Filename.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(71)))), ((int)(((byte)(90))))); this.pnl_Filename.Controls.Add(this.lbl_FileName); this.pnl_Filename.Dock = System.Windows.Forms.DockStyle.Top; this.pnl_Filename.Location = new System.Drawing.Point(0, 0); this.pnl_Filename.Name = "pnl_Filename"; this.pnl_Filename.Size = new System.Drawing.Size(1704, 66); this.pnl_Filename.TabIndex = 0; // // lbl_FileName // this.lbl_FileName.Font = new System.Drawing.Font("LEMON MILK", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbl_FileName.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(121)))), ((int)(((byte)(198))))); this.lbl_FileName.Location = new System.Drawing.Point(19, 9); this.lbl_FileName.Name = "lbl_FileName"; this.lbl_FileName.Size = new System.Drawing.Size(992, 45); this.lbl_FileName.TabIndex = 0; this.lbl_FileName.Text = "File Name: "; this.lbl_FileName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1904, 1041); this.Controls.Add(this.pnl_Main); this.Controls.Add(this.pnl_Bottom); this.Controls.Add(this.pnl_SideMenu); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.MinimumSize = new System.Drawing.Size(1080, 608); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Form1"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.pnl_SideMenu.ResumeLayout(false); this.pnl_AddConnection.ResumeLayout(false); this.pnl_AddAccount.ResumeLayout(false); this.pnl_ExploreFriends.ResumeLayout(false); this.pnl_Logo.ResumeLayout(false); this.pnl_Bottom.ResumeLayout(false); this.pnl_Main.ResumeLayout(false); this.pnl_Filename.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() { Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation planeTransformation1 = new Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.uxGraphViewer = new Microsoft.Msagl.GraphViewerGdi.GViewer(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.uxStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.uxOpenSolutionButton = new System.Windows.Forms.ToolStripButton(); this.uxShowBinaryReference = new System.Windows.Forms.ToolStripButton(); this.uxShowProjectReferences = new System.Windows.Forms.ToolStripButton(); this.uxShowPackageReferences = new System.Windows.Forms.ToolStripButton(); this.statusStrip1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.SuspendLayout(); // // uxGraphViewer // this.uxGraphViewer.ArrowheadLength = 10D; this.uxGraphViewer.AsyncLayout = false; this.uxGraphViewer.AutoScroll = true; this.uxGraphViewer.BackwardEnabled = false; this.uxGraphViewer.BuildHitTree = true; this.uxGraphViewer.CurrentLayoutMethod = Microsoft.Msagl.GraphViewerGdi.LayoutMethod.UseSettingsOfTheGraph; this.uxGraphViewer.Dock = System.Windows.Forms.DockStyle.Fill; this.uxGraphViewer.EdgeInsertButtonVisible = true; this.uxGraphViewer.FileName = ""; this.uxGraphViewer.ForwardEnabled = false; this.uxGraphViewer.Graph = null; this.uxGraphViewer.InsertingEdge = false; this.uxGraphViewer.LayoutAlgorithmSettingsButtonVisible = true; this.uxGraphViewer.LayoutEditingEnabled = true; this.uxGraphViewer.Location = new System.Drawing.Point(0, 25); this.uxGraphViewer.LooseOffsetForRouting = 0.25D; this.uxGraphViewer.MouseHitDistance = 0.05D; this.uxGraphViewer.Name = "uxGraphViewer"; this.uxGraphViewer.NavigationVisible = true; this.uxGraphViewer.NeedToCalculateLayout = true; this.uxGraphViewer.OffsetForRelaxingInRouting = 0.6D; this.uxGraphViewer.PaddingForEdgeRouting = 8D; this.uxGraphViewer.PanButtonPressed = false; this.uxGraphViewer.SaveAsImageEnabled = true; this.uxGraphViewer.SaveAsMsaglEnabled = true; this.uxGraphViewer.SaveButtonVisible = true; this.uxGraphViewer.SaveGraphButtonVisible = true; this.uxGraphViewer.SaveInVectorFormatEnabled = true; this.uxGraphViewer.Size = new System.Drawing.Size(800, 403); this.uxGraphViewer.TabIndex = 0; this.uxGraphViewer.TightOffsetForRouting = 0.125D; this.uxGraphViewer.ToolBarIsVisible = true; this.uxGraphViewer.Transform = planeTransformation1; this.uxGraphViewer.UndoRedoButtonsVisible = true; this.uxGraphViewer.WindowZoomButtonPressed = false; this.uxGraphViewer.ZoomF = 1D; this.uxGraphViewer.ZoomWindowThreshold = 0.05D; this.uxGraphViewer.ObjectUnderMouseCursorChanged += new System.EventHandler <Microsoft.Msagl.Drawing.ObjectUnderMouseCursorChangedEventArgs>(this.uxGraphViewer_ObjectUnderMouseCursorChanged); this.uxGraphViewer.MouseMove += new System.Windows.Forms.MouseEventHandler(this.uxGraphViewer_MouseMove); this.uxGraphViewer.Click += new System.EventHandler(this.uxGraphViewer_Click); // // statusStrip1 // this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.uxStatusLabel }); this.statusStrip1.Location = new System.Drawing.Point(0, 428); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new System.Drawing.Size(800, 22); this.statusStrip1.TabIndex = 1; this.statusStrip1.Text = "statusStrip1"; // // uxStatusLabel // this.uxStatusLabel.Name = "uxStatusLabel"; this.uxStatusLabel.Size = new System.Drawing.Size(118, 17); this.uxStatusLabel.Text = "toolStripStatusLabel1"; // // toolStrip1 // this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.uxOpenSolutionButton, this.uxShowBinaryReference, this.uxShowProjectReferences, this.uxShowPackageReferences }); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(800, 25); this.toolStrip1.TabIndex = 2; this.toolStrip1.Text = "toolStrip1"; // // uxOpenSolutionButton // this.uxOpenSolutionButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.uxOpenSolutionButton.Image = ((System.Drawing.Image)(resources.GetObject("uxOpenSolutionButton.Image"))); this.uxOpenSolutionButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.uxOpenSolutionButton.Name = "uxOpenSolutionButton"; this.uxOpenSolutionButton.Size = new System.Drawing.Size(96, 22); this.uxOpenSolutionButton.Text = "Open Solution..."; this.uxOpenSolutionButton.Click += new System.EventHandler(this.uxOpenSolutionButton_Click); // // uxShowBinaryReference // this.uxShowBinaryReference.Checked = true; this.uxShowBinaryReference.CheckOnClick = true; this.uxShowBinaryReference.CheckState = System.Windows.Forms.CheckState.Checked; this.uxShowBinaryReference.Image = ((System.Drawing.Image)(resources.GetObject("uxShowBinaryReference.Image"))); this.uxShowBinaryReference.ImageTransparentColor = System.Drawing.Color.Magenta; this.uxShowBinaryReference.Name = "uxShowBinaryReference"; this.uxShowBinaryReference.Size = new System.Drawing.Size(149, 22); this.uxShowBinaryReference.Text = "Show binary references"; this.uxShowBinaryReference.CheckedChanged += new System.EventHandler(this.uxShowReferences_CheckedChanged); // // uxShowProjectReferences // this.uxShowProjectReferences.Checked = true; this.uxShowProjectReferences.CheckOnClick = true; this.uxShowProjectReferences.CheckState = System.Windows.Forms.CheckState.Checked; this.uxShowProjectReferences.Image = ((System.Drawing.Image)(resources.GetObject("uxShowProjectReferences.Image"))); this.uxShowProjectReferences.ImageTransparentColor = System.Drawing.Color.Magenta; this.uxShowProjectReferences.Name = "uxShowProjectReferences"; this.uxShowProjectReferences.Size = new System.Drawing.Size(153, 22); this.uxShowProjectReferences.Text = "Show project references"; this.uxShowProjectReferences.CheckedChanged += new System.EventHandler(this.uxShowReferences_CheckedChanged); // // uxShowPackageReferences // this.uxShowPackageReferences.Checked = true; this.uxShowPackageReferences.CheckOnClick = true; this.uxShowPackageReferences.CheckState = System.Windows.Forms.CheckState.Checked; this.uxShowPackageReferences.Image = ((System.Drawing.Image)(resources.GetObject("uxShowPackageReferences.Image"))); this.uxShowPackageReferences.ImageTransparentColor = System.Drawing.Color.Magenta; this.uxShowPackageReferences.Name = "uxShowPackageReferences"; this.uxShowPackageReferences.Size = new System.Drawing.Size(160, 22); this.uxShowPackageReferences.Text = "Show package references"; this.uxShowPackageReferences.CheckedChanged += new System.EventHandler(this.uxShowReferences_CheckedChanged); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.uxGraphViewer); this.Controls.Add(this.toolStrip1); this.Controls.Add(this.statusStrip1); this.Name = "Form1"; this.Text = "Form1"; this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Требуемый метод для поддержки конструктора — не изменяйте /// содержимое этого метода с помощью редактора кода. /// </summary> private void InitializeComponent() { Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation planeTransformation3 = new Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation(); Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation planeTransformation4 = new Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation(); this.button1 = new System.Windows.Forms.Button(); this.gViewer1 = new Microsoft.Msagl.GraphViewerGdi.GViewer(); this.gViewer2 = new Microsoft.Msagl.GraphViewerGdi.GViewer(); this.dgvAdjacency = new System.Windows.Forms.DataGridView(); this.tbChromosomes = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.A = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.B = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.tbLog = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.dgvAdjacency)).BeginInit(); this.SuspendLayout(); // // button1 // this.button1.Location = new System.Drawing.Point(12, 580); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 0; this.button1.Text = "Рассчитать"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // gViewer1 // this.gViewer1.ArrowheadLength = 10D; this.gViewer1.AsyncLayout = false; this.gViewer1.AutoScroll = true; this.gViewer1.BackColor = System.Drawing.Color.White; this.gViewer1.BackwardEnabled = false; this.gViewer1.BuildHitTree = true; this.gViewer1.CurrentLayoutMethod = Microsoft.Msagl.GraphViewerGdi.LayoutMethod.UseSettingsOfTheGraph; this.gViewer1.EdgeInsertButtonVisible = true; this.gViewer1.FileName = ""; this.gViewer1.ForwardEnabled = false; this.gViewer1.Graph = null; this.gViewer1.InsertingEdge = false; this.gViewer1.LayoutAlgorithmSettingsButtonVisible = true; this.gViewer1.LayoutEditingEnabled = true; this.gViewer1.Location = new System.Drawing.Point(268, 28); this.gViewer1.LooseOffsetForRouting = 0.25D; this.gViewer1.MouseHitDistance = 0.05D; this.gViewer1.Name = "gViewer1"; this.gViewer1.NavigationVisible = true; this.gViewer1.NeedToCalculateLayout = true; this.gViewer1.OffsetForRelaxingInRouting = 0.6D; this.gViewer1.PaddingForEdgeRouting = 8D; this.gViewer1.PanButtonPressed = false; this.gViewer1.SaveAsImageEnabled = true; this.gViewer1.SaveAsMsaglEnabled = true; this.gViewer1.SaveButtonVisible = true; this.gViewer1.SaveGraphButtonVisible = true; this.gViewer1.SaveInVectorFormatEnabled = true; this.gViewer1.Size = new System.Drawing.Size(361, 277); this.gViewer1.TabIndex = 4; this.gViewer1.TightOffsetForRouting = 0.125D; this.gViewer1.ToolBarIsVisible = false; this.gViewer1.Transform = planeTransformation3; this.gViewer1.UndoRedoButtonsVisible = true; this.gViewer1.WindowZoomButtonPressed = false; this.gViewer1.ZoomF = 1D; this.gViewer1.ZoomWindowThreshold = 0.05D; // // gViewer2 // this.gViewer2.ArrowheadLength = 10D; this.gViewer2.AsyncLayout = false; this.gViewer2.AutoScroll = true; this.gViewer2.BackColor = System.Drawing.Color.White; this.gViewer2.BackwardEnabled = false; this.gViewer2.BuildHitTree = true; this.gViewer2.CurrentLayoutMethod = Microsoft.Msagl.GraphViewerGdi.LayoutMethod.UseSettingsOfTheGraph; this.gViewer2.EdgeInsertButtonVisible = true; this.gViewer2.FileName = ""; this.gViewer2.ForwardEnabled = false; this.gViewer2.Graph = null; this.gViewer2.InsertingEdge = false; this.gViewer2.LayoutAlgorithmSettingsButtonVisible = true; this.gViewer2.LayoutEditingEnabled = true; this.gViewer2.Location = new System.Drawing.Point(268, 326); this.gViewer2.LooseOffsetForRouting = 0.25D; this.gViewer2.MouseHitDistance = 0.05D; this.gViewer2.Name = "gViewer2"; this.gViewer2.NavigationVisible = true; this.gViewer2.NeedToCalculateLayout = true; this.gViewer2.OffsetForRelaxingInRouting = 0.6D; this.gViewer2.PaddingForEdgeRouting = 8D; this.gViewer2.PanButtonPressed = false; this.gViewer2.SaveAsImageEnabled = true; this.gViewer2.SaveAsMsaglEnabled = true; this.gViewer2.SaveButtonVisible = true; this.gViewer2.SaveGraphButtonVisible = true; this.gViewer2.SaveInVectorFormatEnabled = true; this.gViewer2.Size = new System.Drawing.Size(361, 277); this.gViewer2.TabIndex = 5; this.gViewer2.TightOffsetForRouting = 0.125D; this.gViewer2.ToolBarIsVisible = false; this.gViewer2.Transform = planeTransformation4; this.gViewer2.UndoRedoButtonsVisible = true; this.gViewer2.WindowZoomButtonPressed = false; this.gViewer2.ZoomF = 1D; this.gViewer2.ZoomWindowThreshold = 0.05D; // // dgvAdjacency // this.dgvAdjacency.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvAdjacency.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.A, this.B }); this.dgvAdjacency.Location = new System.Drawing.Point(12, 326); this.dgvAdjacency.Name = "dgvAdjacency"; this.dgvAdjacency.Size = new System.Drawing.Size(229, 234); this.dgvAdjacency.TabIndex = 6; this.dgvAdjacency.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick); // // tbChromosomes // this.tbChromosomes.Location = new System.Drawing.Point(12, 28); this.tbChromosomes.Multiline = true; this.tbChromosomes.Name = "tbChromosomes"; this.tbChromosomes.Size = new System.Drawing.Size(229, 277); this.tbChromosomes.TabIndex = 7; this.tbChromosomes.Text = "1, 2, 3, 4, 5\r\n2, 1, 3, 4, 5\r\n1, 5, 3, 4, 2"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(12, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(101, 13); this.label1.TabIndex = 8; this.label1.Text = "Список хромосом:"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(12, 310); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(114, 13); this.label2.TabIndex = 9; this.label2.Text = "Матрица смежности:"; // // A // this.A.HeaderText = "A"; this.A.Name = "A"; this.A.Width = 50; // // B // this.B.HeaderText = "B"; this.B.Name = "B"; this.B.Width = 50; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(265, 9); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(184, 13); this.label3.TabIndex = 10; this.label3.Text = "Первоначальный набор хромосом:"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(265, 310); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(174, 13); this.label4.TabIndex = 11; this.label4.Text = "Набор хромосом после мутации:"; // // tbLog // this.tbLog.Location = new System.Drawing.Point(635, 28); this.tbLog.Multiline = true; this.tbLog.Name = "tbLog"; this.tbLog.Size = new System.Drawing.Size(258, 575); this.tbLog.TabIndex = 12; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(632, 9); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(39, 13); this.label5.TabIndex = 13; this.label5.Text = "Отчет:"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(905, 624); this.Controls.Add(this.label5); this.Controls.Add(this.tbLog); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.tbChromosomes); this.Controls.Add(this.dgvAdjacency); this.Controls.Add(this.gViewer2); this.Controls.Add(this.gViewer1); this.Controls.Add(this.button1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MaximizeBox = false; this.Name = "Form1"; this.Text = "Генетический алгоритм размещения вершин графа"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.dgvAdjacency)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Требуемый метод для поддержки конструктора — не изменяйте /// содержимое этого метода с помощью редактора кода. /// </summary> private void InitializeComponent() { Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation planeTransformation1 = new Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation(); System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series(); System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.splitContainer2 = new System.Windows.Forms.SplitContainer(); this.nudCheckPoints = new System.Windows.Forms.NumericUpDown(); this.label12 = new System.Windows.Forms.Label(); this.tbFitnessFunction = new System.Windows.Forms.TextBox(); this.label10 = new System.Windows.Forms.Label(); this.nudMaxTreeDepth = new System.Windows.Forms.NumericUpDown(); this.label11 = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.tbFunction = new System.Windows.Forms.TextBox(); this.label9 = new System.Windows.Forms.Label(); this.nudInitPopulationSize = new System.Windows.Forms.NumericUpDown(); this.label8 = new System.Windows.Forms.Label(); this.nudMutationPossibility = new System.Windows.Forms.NumericUpDown(); this.label7 = new System.Windows.Forms.Label(); this.nudCrossPossibility = new System.Windows.Forms.NumericUpDown(); this.label6 = new System.Windows.Forms.Label(); this.nudMaxPopulationSize = new System.Windows.Forms.NumericUpDown(); this.label5 = new System.Windows.Forms.Label(); this.nudMaxValue = new System.Windows.Forms.NumericUpDown(); this.label4 = new System.Windows.Forms.Label(); this.nudMinValue = new System.Windows.Forms.NumericUpDown(); this.label3 = new System.Windows.Forms.Label(); this.nudMaxEqualGenerations = new System.Windows.Forms.NumericUpDown(); this.label2 = new System.Windows.Forms.Label(); this.nudMaxGenerations = new System.Windows.Forms.NumericUpDown(); this.label1 = new System.Windows.Forms.Label(); this.txtLog = new System.Windows.Forms.TextBox(); this.splitContainer3 = new System.Windows.Forms.SplitContainer(); this.gViewer1 = new Microsoft.Msagl.GraphViewerGdi.GViewer(); this.splitContainer4 = new System.Windows.Forms.SplitContainer(); this.chartBestChromosome = new System.Windows.Forms.DataVisualization.Charting.Chart(); this.chartFunction = new System.Windows.Forms.DataVisualization.Charting.Chart(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit(); this.splitContainer2.Panel1.SuspendLayout(); this.splitContainer2.Panel2.SuspendLayout(); this.splitContainer2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.nudCheckPoints)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudMaxTreeDepth)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudInitPopulationSize)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudMutationPossibility)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudCrossPossibility)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudMaxPopulationSize)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudMaxValue)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudMinValue)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudMaxEqualGenerations)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudMaxGenerations)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit(); this.splitContainer3.Panel1.SuspendLayout(); this.splitContainer3.Panel2.SuspendLayout(); this.splitContainer3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit(); this.splitContainer4.Panel1.SuspendLayout(); this.splitContainer4.Panel2.SuspendLayout(); this.splitContainer4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chartBestChromosome)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chartFunction)).BeginInit(); this.SuspendLayout(); // // 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.splitContainer2); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.splitContainer3); this.splitContainer1.Size = new System.Drawing.Size(1213, 626); this.splitContainer1.SplitterDistance = 317; this.splitContainer1.TabIndex = 4; // // 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"; this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal; // // splitContainer2.Panel1 // this.splitContainer2.Panel1.Controls.Add(this.nudCheckPoints); this.splitContainer2.Panel1.Controls.Add(this.label12); this.splitContainer2.Panel1.Controls.Add(this.tbFitnessFunction); this.splitContainer2.Panel1.Controls.Add(this.label10); this.splitContainer2.Panel1.Controls.Add(this.nudMaxTreeDepth); this.splitContainer2.Panel1.Controls.Add(this.label11); this.splitContainer2.Panel1.Controls.Add(this.button1); this.splitContainer2.Panel1.Controls.Add(this.tbFunction); this.splitContainer2.Panel1.Controls.Add(this.label9); this.splitContainer2.Panel1.Controls.Add(this.nudInitPopulationSize); this.splitContainer2.Panel1.Controls.Add(this.label8); this.splitContainer2.Panel1.Controls.Add(this.nudMutationPossibility); this.splitContainer2.Panel1.Controls.Add(this.label7); this.splitContainer2.Panel1.Controls.Add(this.nudCrossPossibility); this.splitContainer2.Panel1.Controls.Add(this.label6); this.splitContainer2.Panel1.Controls.Add(this.nudMaxPopulationSize); this.splitContainer2.Panel1.Controls.Add(this.label5); this.splitContainer2.Panel1.Controls.Add(this.nudMaxValue); this.splitContainer2.Panel1.Controls.Add(this.label4); this.splitContainer2.Panel1.Controls.Add(this.nudMinValue); this.splitContainer2.Panel1.Controls.Add(this.label3); this.splitContainer2.Panel1.Controls.Add(this.nudMaxEqualGenerations); this.splitContainer2.Panel1.Controls.Add(this.label2); this.splitContainer2.Panel1.Controls.Add(this.nudMaxGenerations); this.splitContainer2.Panel1.Controls.Add(this.label1); // // splitContainer2.Panel2 // this.splitContainer2.Panel2.Controls.Add(this.txtLog); this.splitContainer2.Size = new System.Drawing.Size(317, 626); this.splitContainer2.SplitterDistance = 493; this.splitContainer2.TabIndex = 0; // // nudCheckPoints // this.nudCheckPoints.Location = new System.Drawing.Point(15, 304); this.nudCheckPoints.Minimum = new decimal(new int[] { 2, 0, 0, 0 }); this.nudCheckPoints.Name = "nudCheckPoints"; this.nudCheckPoints.Size = new System.Drawing.Size(120, 20); this.nudCheckPoints.TabIndex = 76; this.nudCheckPoints.Value = new decimal(new int[] { 9, 0, 0, 0 }); // // label12 // this.label12.AutoSize = true; this.label12.Location = new System.Drawing.Point(12, 288); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(151, 13); this.label12.TabIndex = 75; this.label12.Text = "Количество точек проверки:"; // // tbFitnessFunction // this.tbFitnessFunction.Location = new System.Drawing.Point(15, 384); this.tbFitnessFunction.Name = "tbFitnessFunction"; this.tbFitnessFunction.Size = new System.Drawing.Size(287, 20); this.tbFitnessFunction.TabIndex = 74; this.tbFitnessFunction.Text = "Abs(y-d)"; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(12, 368); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(102, 13); this.label10.TabIndex = 73; this.label10.Text = "Фитнесс-функция:"; // // nudMaxTreeDepth // this.nudMaxTreeDepth.Location = new System.Drawing.Point(15, 423); this.nudMaxTreeDepth.Maximum = new decimal(new int[] { 1000000000, 0, 0, 0 }); this.nudMaxTreeDepth.Minimum = new decimal(new int[] { 2, 0, 0, 0 }); this.nudMaxTreeDepth.Name = "nudMaxTreeDepth"; this.nudMaxTreeDepth.Size = new System.Drawing.Size(120, 20); this.nudMaxTreeDepth.TabIndex = 72; this.nudMaxTreeDepth.Value = new decimal(new int[] { 10, 0, 0, 0 }); // // label11 // this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point(12, 407); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(169, 13); this.label11.TabIndex = 71; this.label11.Text = "Максимальная глубина дерева:"; // // button1 // this.button1.Location = new System.Drawing.Point(12, 458); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 70; this.button1.Text = "Старт"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // tbFunction // this.tbFunction.Location = new System.Drawing.Point(15, 343); this.tbFunction.Name = "tbFunction"; this.tbFunction.Size = new System.Drawing.Size(287, 20); this.tbFunction.TabIndex = 65; this.tbFunction.Text = "-Sin(x)*Pow(Sin(Pow(x,2)/3.14),20)"; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(12, 327); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(56, 13); this.label9.TabIndex = 64; this.label9.Text = "Функция:"; // // nudInitPopulationSize // this.nudInitPopulationSize.Location = new System.Drawing.Point(15, 226); this.nudInitPopulationSize.Maximum = new decimal(new int[] { 1000000000, 0, 0, 0 }); this.nudInitPopulationSize.Minimum = new decimal(new int[] { 2, 0, 0, 0 }); this.nudInitPopulationSize.Name = "nudInitPopulationSize"; this.nudInitPopulationSize.Size = new System.Drawing.Size(120, 20); this.nudInitPopulationSize.TabIndex = 63; this.nudInitPopulationSize.Value = new decimal(new int[] { 4, 0, 0, 0 }); // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(12, 210); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(164, 13); this.label8.TabIndex = 62; this.label8.Text = "Начальный размер популяции:"; // // nudMutationPossibility // this.nudMutationPossibility.DecimalPlaces = 2; this.nudMutationPossibility.Location = new System.Drawing.Point(182, 265); this.nudMutationPossibility.Maximum = new decimal(new int[] { 1, 0, 0, 0 }); this.nudMutationPossibility.Name = "nudMutationPossibility"; this.nudMutationPossibility.Size = new System.Drawing.Size(120, 20); this.nudMutationPossibility.TabIndex = 61; this.nudMutationPossibility.Value = new decimal(new int[] { 9, 0, 0, 65536 }); // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(179, 249); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(120, 13); this.label7.TabIndex = 60; this.label7.Text = "Вероятность мутации:"; // // nudCrossPossibility // this.nudCrossPossibility.DecimalPlaces = 2; this.nudCrossPossibility.Location = new System.Drawing.Point(15, 265); this.nudCrossPossibility.Maximum = new decimal(new int[] { 1, 0, 0, 0 }); this.nudCrossPossibility.Name = "nudCrossPossibility"; this.nudCrossPossibility.Size = new System.Drawing.Size(120, 20); this.nudCrossPossibility.TabIndex = 59; this.nudCrossPossibility.Value = new decimal(new int[] { 9, 0, 0, 65536 }); // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(12, 249); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(147, 13); this.label6.TabIndex = 58; this.label6.Text = "Вероятность скрещивания:"; // // nudMaxPopulationSize // this.nudMaxPopulationSize.Location = new System.Drawing.Point(15, 183); this.nudMaxPopulationSize.Maximum = new decimal(new int[] { 1000000000, 0, 0, 0 }); this.nudMaxPopulationSize.Minimum = new decimal(new int[] { 2, 0, 0, 0 }); this.nudMaxPopulationSize.Name = "nudMaxPopulationSize"; this.nudMaxPopulationSize.Size = new System.Drawing.Size(120, 20); this.nudMaxPopulationSize.TabIndex = 57; this.nudMaxPopulationSize.Value = new decimal(new int[] { 100, 0, 0, 0 }); // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(12, 167); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(186, 13); this.label5.TabIndex = 56; this.label5.Text = "Максимальный размер популяции:"; // // nudMaxValue // this.nudMaxValue.DecimalPlaces = 2; this.nudMaxValue.Location = new System.Drawing.Point(15, 142); this.nudMaxValue.Maximum = new decimal(new int[] { 10000000, 0, 0, 0 }); this.nudMaxValue.Minimum = new decimal(new int[] { 10000000, 0, 0, -2147483648 }); this.nudMaxValue.Name = "nudMaxValue"; this.nudMaxValue.Size = new System.Drawing.Size(120, 20); this.nudMaxValue.TabIndex = 55; this.nudMaxValue.Value = new decimal(new int[] { 314, 0, 0, 131072 }); // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(12, 126); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(231, 13); this.label4.TabIndex = 54; this.label4.Text = "Интервал изменений хромосом, максимум:"; // // nudMinValue // this.nudMinValue.DecimalPlaces = 2; this.nudMinValue.Location = new System.Drawing.Point(15, 103); this.nudMinValue.Maximum = new decimal(new int[] { 10000000, 0, 0, 0 }); this.nudMinValue.Minimum = new decimal(new int[] { 10000000, 0, 0, -2147483648 }); this.nudMinValue.Name = "nudMinValue"; this.nudMinValue.Size = new System.Drawing.Size(120, 20); this.nudMinValue.TabIndex = 53; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(12, 87); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(225, 13); this.label3.TabIndex = 52; this.label3.Text = "Интервал изменений хромосом, минимум:"; // // nudMaxEqualGenerations // this.nudMaxEqualGenerations.Location = new System.Drawing.Point(15, 64); this.nudMaxEqualGenerations.Maximum = new decimal(new int[] { 10000000, 0, 0, 0 }); this.nudMaxEqualGenerations.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.nudMaxEqualGenerations.Name = "nudMaxEqualGenerations"; this.nudMaxEqualGenerations.Size = new System.Drawing.Size(120, 20); this.nudMaxEqualGenerations.TabIndex = 51; this.nudMaxEqualGenerations.Value = new decimal(new int[] { 50, 0, 0, 0 }); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(12, 48); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(268, 13); this.label2.TabIndex = 50; this.label2.Text = "Макс. кол-во поколений при постоянном значении:"; // // nudMaxGenerations // this.nudMaxGenerations.Location = new System.Drawing.Point(15, 25); this.nudMaxGenerations.Maximum = new decimal(new int[] { 1000000000, 0, 0, 0 }); this.nudMaxGenerations.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.nudMaxGenerations.Name = "nudMaxGenerations"; this.nudMaxGenerations.Size = new System.Drawing.Size(120, 20); this.nudMaxGenerations.TabIndex = 49; this.nudMaxGenerations.Value = new decimal(new int[] { 10000, 0, 0, 0 }); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(12, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(205, 13); this.label1.TabIndex = 48; this.label1.Text = "Максимальное количество поколений:"; // // txtLog // this.txtLog.Dock = System.Windows.Forms.DockStyle.Fill; this.txtLog.Location = new System.Drawing.Point(0, 0); this.txtLog.Multiline = true; this.txtLog.Name = "txtLog"; this.txtLog.ReadOnly = true; this.txtLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.txtLog.Size = new System.Drawing.Size(317, 129); this.txtLog.TabIndex = 0; // // splitContainer3 // this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer3.Location = new System.Drawing.Point(0, 0); this.splitContainer3.Name = "splitContainer3"; // // splitContainer3.Panel1 // this.splitContainer3.Panel1.Controls.Add(this.gViewer1); // // splitContainer3.Panel2 // this.splitContainer3.Panel2.Controls.Add(this.splitContainer4); this.splitContainer3.Size = new System.Drawing.Size(892, 626); this.splitContainer3.SplitterDistance = 400; this.splitContainer3.TabIndex = 0; // // gViewer1 // this.gViewer1.ArrowheadLength = 10D; this.gViewer1.AsyncLayout = false; this.gViewer1.AutoScroll = true; this.gViewer1.BackwardEnabled = false; this.gViewer1.BuildHitTree = true; this.gViewer1.CurrentLayoutMethod = Microsoft.Msagl.GraphViewerGdi.LayoutMethod.UseSettingsOfTheGraph; this.gViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.gViewer1.EdgeInsertButtonVisible = true; this.gViewer1.FileName = ""; this.gViewer1.ForwardEnabled = false; this.gViewer1.Graph = null; this.gViewer1.InsertingEdge = false; this.gViewer1.LayoutAlgorithmSettingsButtonVisible = true; this.gViewer1.LayoutEditingEnabled = true; this.gViewer1.Location = new System.Drawing.Point(0, 0); this.gViewer1.LooseOffsetForRouting = 0.25D; this.gViewer1.MouseHitDistance = 0.05D; this.gViewer1.Name = "gViewer1"; this.gViewer1.NavigationVisible = true; this.gViewer1.NeedToCalculateLayout = true; this.gViewer1.OffsetForRelaxingInRouting = 0.6D; this.gViewer1.PaddingForEdgeRouting = 8D; this.gViewer1.PanButtonPressed = false; this.gViewer1.SaveAsImageEnabled = true; this.gViewer1.SaveAsMsaglEnabled = true; this.gViewer1.SaveButtonVisible = true; this.gViewer1.SaveGraphButtonVisible = true; this.gViewer1.SaveInVectorFormatEnabled = true; this.gViewer1.Size = new System.Drawing.Size(400, 626); this.gViewer1.TabIndex = 2; this.gViewer1.TightOffsetForRouting = 0.125D; this.gViewer1.ToolBarIsVisible = true; this.gViewer1.Transform = planeTransformation1; this.gViewer1.UndoRedoButtonsVisible = true; this.gViewer1.WindowZoomButtonPressed = false; this.gViewer1.ZoomF = 1D; this.gViewer1.ZoomWindowThreshold = 0.05D; // // splitContainer4 // this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer4.Location = new System.Drawing.Point(0, 0); this.splitContainer4.Name = "splitContainer4"; this.splitContainer4.Orientation = System.Windows.Forms.Orientation.Horizontal; // // splitContainer4.Panel1 // this.splitContainer4.Panel1.Controls.Add(this.chartBestChromosome); // // splitContainer4.Panel2 // this.splitContainer4.Panel2.Controls.Add(this.chartFunction); this.splitContainer4.Size = new System.Drawing.Size(488, 626); this.splitContainer4.SplitterDistance = 314; this.splitContainer4.TabIndex = 0; // // chartBestChromosome // chartArea1.Name = "ChartArea1"; this.chartBestChromosome.ChartAreas.Add(chartArea1); this.chartBestChromosome.Dock = System.Windows.Forms.DockStyle.Fill; this.chartBestChromosome.Location = new System.Drawing.Point(0, 0); this.chartBestChromosome.Name = "chartBestChromosome"; series1.BorderWidth = 2; series1.ChartArea = "ChartArea1"; series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line; series1.Name = "Series1"; this.chartBestChromosome.Series.Add(series1); this.chartBestChromosome.Size = new System.Drawing.Size(488, 314); this.chartBestChromosome.TabIndex = 3; // // chartFunction // chartArea2.Name = "ChartArea1"; this.chartFunction.ChartAreas.Add(chartArea2); this.chartFunction.Dock = System.Windows.Forms.DockStyle.Fill; this.chartFunction.Location = new System.Drawing.Point(0, 0); this.chartFunction.Name = "chartFunction"; series2.BorderWidth = 2; series2.ChartArea = "ChartArea1"; series2.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line; series2.Name = "Series1"; this.chartFunction.Series.Add(series2); this.chartFunction.Size = new System.Drawing.Size(488, 308); this.chartFunction.TabIndex = 4; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1213, 626); this.Controls.Add(this.splitContainer1); this.Name = "Form1"; this.Text = "Генетическое программирование"; this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); this.splitContainer1.ResumeLayout(false); this.splitContainer2.Panel1.ResumeLayout(false); this.splitContainer2.Panel1.PerformLayout(); this.splitContainer2.Panel2.ResumeLayout(false); this.splitContainer2.Panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); this.splitContainer2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.nudCheckPoints)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudMaxTreeDepth)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudInitPopulationSize)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudMutationPossibility)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudCrossPossibility)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudMaxPopulationSize)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudMaxValue)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudMinValue)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudMaxEqualGenerations)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudMaxGenerations)).EndInit(); this.splitContainer3.Panel1.ResumeLayout(false); this.splitContainer3.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit(); this.splitContainer3.ResumeLayout(false); this.splitContainer4.Panel1.ResumeLayout(false); this.splitContainer4.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit(); this.splitContainer4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.chartBestChromosome)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chartFunction)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation planeTransformation1 = new Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation(); this.numericTimeSet = new System.Windows.Forms.NumericUpDown(); this.mapFileBtn = new System.Windows.Forms.Button(); this.fileInput = new System.Windows.Forms.GroupBox(); this.popFilePathInp = new System.Windows.Forms.TextBox(); this.mapFilePathInp = new System.Windows.Forms.TextBox(); this.popFileBtn = new System.Windows.Forms.Button(); this.popFileLbl = new System.Windows.Forms.Label(); this.mapFileLbl = new System.Windows.Forms.Label(); this.openFileDialog = new System.Windows.Forms.OpenFileDialog(); this.graphOutput = new System.Windows.Forms.GroupBox(); this.gViewer = new Microsoft.Msagl.GraphViewerGdi.GViewer(); this.inputTime = new System.Windows.Forms.GroupBox(); this.autoCalcCheck = new System.Windows.Forms.CheckBox(); this.autoCalcLbl = new System.Windows.Forms.Label(); this.timeLbl = new System.Windows.Forms.Label(); this.btnCalc = new System.Windows.Forms.Button(); this.calculateBFS = new System.Windows.Forms.GroupBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.nodeBox = new System.Windows.Forms.TextBox(); this.infNodeListLbl = new System.Windows.Forms.Label(); this.totalNodeBox = new System.Windows.Forms.TextBox(); this.infNodeCountLbl = new System.Windows.Forms.Label(); this.populationBox = new System.Windows.Forms.TextBox(); this.infPopLbl = new System.Windows.Forms.Label(); this.totalPopulationBox = new System.Windows.Forms.TextBox(); this.totalPopLbl = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.numericTimeSet)).BeginInit(); this.fileInput.SuspendLayout(); this.graphOutput.SuspendLayout(); this.inputTime.SuspendLayout(); this.calculateBFS.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // numericTimeSet // this.numericTimeSet.Location = new System.Drawing.Point(80, 31); this.numericTimeSet.Margin = new System.Windows.Forms.Padding(4); this.numericTimeSet.Name = "numericTimeSet"; this.numericTimeSet.Size = new System.Drawing.Size(120, 22); this.numericTimeSet.TabIndex = 2; this.numericTimeSet.ValueChanged += new System.EventHandler(this.numericTimeSet_ValueChanged); // // mapFileBtn // this.mapFileBtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mapFileBtn.Location = new System.Drawing.Point(691, 30); this.mapFileBtn.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.mapFileBtn.Name = "mapFileBtn"; this.mapFileBtn.Size = new System.Drawing.Size(29, 23); this.mapFileBtn.TabIndex = 4; this.mapFileBtn.Text = "..."; this.mapFileBtn.UseVisualStyleBackColor = true; this.mapFileBtn.Click += new System.EventHandler(this.mapFileBtn_Click); // // fileInput // this.fileInput.Controls.Add(this.popFilePathInp); this.fileInput.Controls.Add(this.mapFilePathInp); this.fileInput.Controls.Add(this.popFileBtn); this.fileInput.Controls.Add(this.popFileLbl); this.fileInput.Controls.Add(this.mapFileLbl); this.fileInput.Controls.Add(this.mapFileBtn); this.fileInput.Location = new System.Drawing.Point(31, 688); this.fileInput.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.fileInput.Name = "fileInput"; this.fileInput.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); this.fileInput.Size = new System.Drawing.Size(727, 111); this.fileInput.TabIndex = 6; this.fileInput.TabStop = false; this.fileInput.Text = "File Input"; // // popFilePathInp // this.popFilePathInp.Location = new System.Drawing.Point(128, 71); this.popFilePathInp.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.popFilePathInp.Name = "popFilePathInp"; this.popFilePathInp.Size = new System.Drawing.Size(556, 22); this.popFilePathInp.TabIndex = 11; this.popFilePathInp.TextChanged += new System.EventHandler(this.popFilePathInp_TextChanged); // // mapFilePathInp // this.mapFilePathInp.Location = new System.Drawing.Point(128, 30); this.mapFilePathInp.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.mapFilePathInp.Name = "mapFilePathInp"; this.mapFilePathInp.Size = new System.Drawing.Size(556, 22); this.mapFilePathInp.TabIndex = 10; this.mapFilePathInp.TextChanged += new System.EventHandler(this.mapFilePathInp_TextChanged); // // popFileBtn // this.popFileBtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.popFileBtn.Location = new System.Drawing.Point(691, 71); this.popFileBtn.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.popFileBtn.Name = "popFileBtn"; this.popFileBtn.Size = new System.Drawing.Size(29, 23); this.popFileBtn.TabIndex = 9; this.popFileBtn.Text = "..."; this.popFileBtn.UseVisualStyleBackColor = true; this.popFileBtn.Click += new System.EventHandler(this.popFileBtn_Click); // // popFileLbl // this.popFileLbl.AutoSize = true; this.popFileLbl.Location = new System.Drawing.Point(19, 75); this.popFileLbl.Name = "popFileLbl"; this.popFileLbl.Size = new System.Drawing.Size(101, 17); this.popFileLbl.TabIndex = 6; this.popFileLbl.Text = "Population File"; // // mapFileLbl // this.mapFileLbl.AutoSize = true; this.mapFileLbl.Location = new System.Drawing.Point(19, 33); this.mapFileLbl.Name = "mapFileLbl"; this.mapFileLbl.Size = new System.Drawing.Size(61, 17); this.mapFileLbl.TabIndex = 5; this.mapFileLbl.Text = "Map File"; this.mapFileLbl.Click += new System.EventHandler(this.label1_Click); // // openFileDialog // this.openFileDialog.FileName = "openFileDialog"; this.openFileDialog.FileOk += new System.ComponentModel.CancelEventHandler(this.openFileDialog1_FileOk); // // graphOutput // this.graphOutput.Controls.Add(this.gViewer); this.graphOutput.Location = new System.Drawing.Point(31, 25); this.graphOutput.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.graphOutput.Name = "graphOutput"; this.graphOutput.Size = new System.Drawing.Size(874, 644); this.graphOutput.TabIndex = 7; this.graphOutput.TabStop = false; this.graphOutput.Text = "Graph Output"; // // gViewer // this.gViewer.ArrowheadLength = 10D; this.gViewer.AsyncLayout = false; this.gViewer.AutoScroll = true; this.gViewer.BackwardEnabled = false; this.gViewer.BuildHitTree = true; this.gViewer.CurrentLayoutMethod = Microsoft.Msagl.GraphViewerGdi.LayoutMethod.UseSettingsOfTheGraph; this.gViewer.EdgeInsertButtonVisible = true; this.gViewer.FileName = ""; this.gViewer.ForwardEnabled = false; this.gViewer.Graph = null; this.gViewer.InsertingEdge = false; this.gViewer.LayoutAlgorithmSettingsButtonVisible = true; this.gViewer.LayoutEditingEnabled = true; this.gViewer.Location = new System.Drawing.Point(21, 33); this.gViewer.LooseOffsetForRouting = 0.25D; this.gViewer.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gViewer.MouseHitDistance = 0.05D; this.gViewer.Name = "gViewer"; this.gViewer.NavigationVisible = true; this.gViewer.NeedToCalculateLayout = true; this.gViewer.OffsetForRelaxingInRouting = 0.6D; this.gViewer.PaddingForEdgeRouting = 8D; this.gViewer.PanButtonPressed = false; this.gViewer.SaveAsImageEnabled = true; this.gViewer.SaveAsMsaglEnabled = true; this.gViewer.SaveButtonVisible = true; this.gViewer.SaveGraphButtonVisible = true; this.gViewer.SaveInVectorFormatEnabled = true; this.gViewer.Size = new System.Drawing.Size(836, 583); this.gViewer.TabIndex = 0; this.gViewer.TightOffsetForRouting = 0.125D; this.gViewer.ToolBarIsVisible = true; this.gViewer.Transform = planeTransformation1; this.gViewer.UndoRedoButtonsVisible = true; this.gViewer.WindowZoomButtonPressed = false; this.gViewer.ZoomF = 1D; this.gViewer.ZoomWindowThreshold = 0.05D; // // inputTime // this.inputTime.Controls.Add(this.autoCalcCheck); this.inputTime.Controls.Add(this.autoCalcLbl); this.inputTime.Controls.Add(this.timeLbl); this.inputTime.Controls.Add(this.numericTimeSet); this.inputTime.Location = new System.Drawing.Point(764, 688); this.inputTime.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.inputTime.Name = "inputTime"; this.inputTime.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); this.inputTime.Size = new System.Drawing.Size(207, 111); this.inputTime.TabIndex = 8; this.inputTime.TabStop = false; this.inputTime.Text = "Input Time"; // // autoCalcCheck // this.autoCalcCheck.AutoSize = true; this.autoCalcCheck.Location = new System.Drawing.Point(80, 74); this.autoCalcCheck.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.autoCalcCheck.Name = "autoCalcCheck"; this.autoCalcCheck.Size = new System.Drawing.Size(18, 17); this.autoCalcCheck.TabIndex = 14; this.autoCalcCheck.UseVisualStyleBackColor = true; // // autoCalcLbl // this.autoCalcLbl.AutoSize = true; this.autoCalcLbl.Location = new System.Drawing.Point(5, 75); this.autoCalcLbl.Name = "autoCalcLbl"; this.autoCalcLbl.Size = new System.Drawing.Size(68, 17); this.autoCalcLbl.TabIndex = 13; this.autoCalcLbl.Text = "Auto Calc"; // // timeLbl // this.timeLbl.AutoSize = true; this.timeLbl.Location = new System.Drawing.Point(5, 33); this.timeLbl.Name = "timeLbl"; this.timeLbl.Size = new System.Drawing.Size(39, 17); this.timeLbl.TabIndex = 12; this.timeLbl.Text = "Time"; // // btnCalc // this.btnCalc.Location = new System.Drawing.Point(7, 30); this.btnCalc.Margin = new System.Windows.Forms.Padding(4); this.btnCalc.Name = "btnCalc"; this.btnCalc.Size = new System.Drawing.Size(107, 64); this.btnCalc.TabIndex = 1; this.btnCalc.Text = "Kalkulasi"; this.btnCalc.UseVisualStyleBackColor = true; this.btnCalc.Click += new System.EventHandler(this.btnCalc_Click); // // calculateBFS // this.calculateBFS.Controls.Add(this.btnCalc); this.calculateBFS.Location = new System.Drawing.Point(977, 688); this.calculateBFS.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.calculateBFS.Name = "calculateBFS"; this.calculateBFS.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); this.calculateBFS.Size = new System.Drawing.Size(121, 111); this.calculateBFS.TabIndex = 13; this.calculateBFS.TabStop = false; this.calculateBFS.Text = "Calculate BFS"; // // groupBox1 // this.groupBox1.Controls.Add(this.nodeBox); this.groupBox1.Controls.Add(this.infNodeListLbl); this.groupBox1.Controls.Add(this.totalNodeBox); this.groupBox1.Controls.Add(this.infNodeCountLbl); this.groupBox1.Controls.Add(this.populationBox); this.groupBox1.Controls.Add(this.infPopLbl); this.groupBox1.Controls.Add(this.totalPopulationBox); this.groupBox1.Controls.Add(this.totalPopLbl); this.groupBox1.Location = new System.Drawing.Point(911, 25); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(207, 644); this.groupBox1.TabIndex = 8; this.groupBox1.TabStop = false; this.groupBox1.Text = "Casualty Output"; // // nodeBox // this.nodeBox.Location = new System.Drawing.Point(9, 221); this.nodeBox.Multiline = true; this.nodeBox.Name = "nodeBox"; this.nodeBox.ReadOnly = true; this.nodeBox.Size = new System.Drawing.Size(192, 417); this.nodeBox.TabIndex = 20; // // infNodeListLbl // this.infNodeListLbl.AutoSize = true; this.infNodeListLbl.Location = new System.Drawing.Point(6, 200); this.infNodeListLbl.Name = "infNodeListLbl"; this.infNodeListLbl.Size = new System.Drawing.Size(129, 17); this.infNodeListLbl.TabIndex = 19; this.infNodeListLbl.Text = "Infected Nodes List"; // // totalNodeBox // this.totalNodeBox.Location = new System.Drawing.Point(9, 164); this.totalNodeBox.Name = "totalNodeBox"; this.totalNodeBox.ReadOnly = true; this.totalNodeBox.Size = new System.Drawing.Size(192, 22); this.totalNodeBox.TabIndex = 18; // // infNodeCountLbl // this.infNodeCountLbl.AutoSize = true; this.infNodeCountLbl.Location = new System.Drawing.Point(6, 143); this.infNodeCountLbl.Name = "infNodeCountLbl"; this.infNodeCountLbl.Size = new System.Drawing.Size(144, 17); this.infNodeCountLbl.TabIndex = 17; this.infNodeCountLbl.Text = "Infected Nodes Count"; // // populationBox // this.populationBox.Location = new System.Drawing.Point(9, 105); this.populationBox.Name = "populationBox"; this.populationBox.ReadOnly = true; this.populationBox.Size = new System.Drawing.Size(192, 22); this.populationBox.TabIndex = 16; // // infPopLbl // this.infPopLbl.AutoSize = true; this.infPopLbl.Location = new System.Drawing.Point(6, 84); this.infPopLbl.Name = "infPopLbl"; this.infPopLbl.Size = new System.Drawing.Size(129, 17); this.infPopLbl.TabIndex = 15; this.infPopLbl.Text = "Infected Population"; // // totalPopulationBox // this.totalPopulationBox.Location = new System.Drawing.Point(9, 47); this.totalPopulationBox.Name = "totalPopulationBox"; this.totalPopulationBox.ReadOnly = true; this.totalPopulationBox.Size = new System.Drawing.Size(192, 22); this.totalPopulationBox.TabIndex = 14; // // totalPopLbl // this.totalPopLbl.AutoSize = true; this.totalPopLbl.Location = new System.Drawing.Point(6, 26); this.totalPopLbl.Name = "totalPopLbl"; this.totalPopLbl.Size = new System.Drawing.Size(111, 17); this.totalPopLbl.TabIndex = 12; this.totalPopLbl.Text = "Total Population"; // // Frontend // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1129, 819); this.Controls.Add(this.calculateBFS); this.Controls.Add(this.groupBox1); this.Controls.Add(this.inputTime); this.Controls.Add(this.graphOutput); this.Controls.Add(this.fileInput); this.Margin = new System.Windows.Forms.Padding(4); this.Name = "Frontend"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "P.T. Wabah"; this.Load += new System.EventHandler(this.Frontend_Load); ((System.ComponentModel.ISupportInitialize)(this.numericTimeSet)).EndInit(); this.fileInput.ResumeLayout(false); this.fileInput.PerformLayout(); this.graphOutput.ResumeLayout(false); this.inputTime.ResumeLayout(false); this.inputTime.PerformLayout(); this.calculateBFS.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox1.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(); Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation planeTransformation1 = new Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainFrom)); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.tvObjectList = new System.Windows.Forms.TreeView(); this.splitContainer2 = new System.Windows.Forms.SplitContainer(); this.graphViewer = new Microsoft.Msagl.GraphViewerGdi.GViewer(); this.cmGraph = new System.Windows.Forms.ContextMenuStrip(this.components); this.locateObjectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.lvObjectProperties = new System.Windows.Forms.ListView(); this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.Value = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.panel2 = new System.Windows.Forms.Panel(); this.label3 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.cbLayoutDirection = new System.Windows.Forms.ComboBox(); this.btLayout = new System.Windows.Forms.Button(); this.nbAfter = new System.Windows.Forms.NumericUpDown(); this.nbBefore = new System.Windows.Forms.NumericUpDown(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.btnLoad = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit(); this.splitContainer2.Panel1.SuspendLayout(); this.splitContainer2.Panel2.SuspendLayout(); this.splitContainer2.SuspendLayout(); this.cmGraph.SuspendLayout(); this.panel2.SuspendLayout(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.nbAfter)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nbBefore)).BeginInit(); this.SuspendLayout(); // // 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.tvObjectList); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.splitContainer2); this.splitContainer1.Size = new System.Drawing.Size(771, 498); this.splitContainer1.SplitterDistance = 221; this.splitContainer1.TabIndex = 0; // // tvObjectList // this.tvObjectList.Dock = System.Windows.Forms.DockStyle.Fill; this.tvObjectList.Location = new System.Drawing.Point(0, 0); this.tvObjectList.Name = "tvObjectList"; this.tvObjectList.Size = new System.Drawing.Size(221, 498); this.tvObjectList.TabIndex = 0; this.tvObjectList.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tvObjectList_BeforeExpand); this.tvObjectList.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvObjectList_AfterSelect); // // splitContainer2 // this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer2.Location = new System.Drawing.Point(0, 0); this.splitContainer2.Name = "splitContainer2"; this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal; // // splitContainer2.Panel1 // this.splitContainer2.Panel1.Controls.Add(this.graphViewer); // // splitContainer2.Panel2 // this.splitContainer2.Panel2.Controls.Add(this.lvObjectProperties); this.splitContainer2.Panel2.Controls.Add(this.panel2); this.splitContainer2.Size = new System.Drawing.Size(546, 498); this.splitContainer2.SplitterDistance = 365; this.splitContainer2.TabIndex = 0; // // graphViewer // this.graphViewer.ArrowheadLength = 10D; this.graphViewer.AsyncLayout = false; this.graphViewer.AutoScroll = true; this.graphViewer.BackwardEnabled = false; this.graphViewer.BuildHitTree = true; this.graphViewer.ContextMenuStrip = this.cmGraph; this.graphViewer.CurrentLayoutMethod = Microsoft.Msagl.GraphViewerGdi.LayoutMethod.SugiyamaScheme; this.graphViewer.Dock = System.Windows.Forms.DockStyle.Fill; this.graphViewer.EdgeInsertButtonVisible = false; this.graphViewer.Enabled = false; this.graphViewer.FileName = ""; this.graphViewer.ForwardEnabled = false; this.graphViewer.Graph = null; this.graphViewer.InsertingEdge = false; this.graphViewer.LayoutAlgorithmSettingsButtonVisible = true; this.graphViewer.LayoutEditingEnabled = true; this.graphViewer.Location = new System.Drawing.Point(0, 0); this.graphViewer.LooseOffsetForRouting = 0.25D; this.graphViewer.MouseHitDistance = 0.05D; this.graphViewer.Name = "graphViewer"; this.graphViewer.NavigationVisible = true; this.graphViewer.NeedToCalculateLayout = true; this.graphViewer.OffsetForRelaxingInRouting = 0.6D; this.graphViewer.PaddingForEdgeRouting = 8D; this.graphViewer.PanButtonPressed = false; this.graphViewer.SaveAsImageEnabled = true; this.graphViewer.SaveAsMsaglEnabled = true; this.graphViewer.SaveButtonVisible = true; this.graphViewer.SaveGraphButtonVisible = true; this.graphViewer.SaveInVectorFormatEnabled = true; this.graphViewer.Size = new System.Drawing.Size(546, 365); this.graphViewer.TabIndex = 0; this.graphViewer.TightOffsetForRouting = 0.125D; this.graphViewer.ToolBarIsVisible = true; this.graphViewer.Transform = planeTransformation1; this.graphViewer.UndoRedoButtonsVisible = true; this.graphViewer.WindowZoomButtonPressed = false; this.graphViewer.ZoomF = 1D; this.graphViewer.ZoomWindowThreshold = 0.05D; this.graphViewer.ObjectUnderMouseCursorChanged += new System.EventHandler <Microsoft.Msagl.Drawing.ObjectUnderMouseCursorChangedEventArgs>(this.graphViewer_ObjectUnderMouseCursorChanged); // // cmGraph // this.cmGraph.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.locateObjectToolStripMenuItem }); this.cmGraph.Name = "cmGraph"; this.cmGraph.Size = new System.Drawing.Size(148, 26); // // locateObjectToolStripMenuItem // this.locateObjectToolStripMenuItem.Name = "locateObjectToolStripMenuItem"; this.locateObjectToolStripMenuItem.Size = new System.Drawing.Size(147, 22); this.locateObjectToolStripMenuItem.Text = "Locate Object"; this.locateObjectToolStripMenuItem.Click += new System.EventHandler(this.locateObjectToolStripMenuItem_Click); // // lvObjectProperties // this.lvObjectProperties.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.Value }); this.lvObjectProperties.Dock = System.Windows.Forms.DockStyle.Fill; this.lvObjectProperties.Location = new System.Drawing.Point(0, 24); this.lvObjectProperties.Name = "lvObjectProperties"; this.lvObjectProperties.Size = new System.Drawing.Size(546, 105); this.lvObjectProperties.TabIndex = 1; this.lvObjectProperties.UseCompatibleStateImageBehavior = false; this.lvObjectProperties.View = System.Windows.Forms.View.Details; // // columnHeader1 // this.columnHeader1.Text = "Attribute"; this.columnHeader1.Width = 200; // // Value // this.Value.Width = 285; // // panel2 // this.panel2.Controls.Add(this.label3); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(546, 24); this.panel2.TabIndex = 0; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(4, 4); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(88, 13); this.label3.TabIndex = 0; this.label3.Text = "Object Properties"; // // panel1 // this.panel1.Controls.Add(this.cbLayoutDirection); this.panel1.Controls.Add(this.btLayout); this.panel1.Controls.Add(this.nbAfter); this.panel1.Controls.Add(this.nbBefore); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.btnLoad); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 498); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(771, 45); this.panel1.TabIndex = 1; // // cbLayoutDirection // this.cbLayoutDirection.FormattingEnabled = true; this.cbLayoutDirection.Items.AddRange(new object[] { "Left to Right", "Right to Left", "Top Down", "Bottom Up" }); this.cbLayoutDirection.Location = new System.Drawing.Point(389, 11); this.cbLayoutDirection.Name = "cbLayoutDirection"; this.cbLayoutDirection.Size = new System.Drawing.Size(121, 21); this.cbLayoutDirection.TabIndex = 6; this.cbLayoutDirection.Text = "Top Down"; this.cbLayoutDirection.SelectedValueChanged += new System.EventHandler(this.cbLayoutDirection_SelectedValueChanged); // // btLayout // this.btLayout.Location = new System.Drawing.Point(308, 9); this.btLayout.Name = "btLayout"; this.btLayout.Size = new System.Drawing.Size(75, 23); this.btLayout.TabIndex = 5; this.btLayout.Text = "reLayout"; this.btLayout.UseVisualStyleBackColor = true; this.btLayout.Click += new System.EventHandler(this.btLayout_Click); // // nbAfter // this.nbAfter.Location = new System.Drawing.Point(241, 13); this.nbAfter.Name = "nbAfter"; this.nbAfter.Size = new System.Drawing.Size(60, 20); this.nbAfter.TabIndex = 4; this.nbAfter.Value = new decimal(new int[] { 3, 0, 0, 0 }); this.nbAfter.ValueChanged += new System.EventHandler(this.nbAfter_ValueChanged); // // nbBefore // this.nbBefore.Location = new System.Drawing.Point(138, 13); this.nbBefore.Name = "nbBefore"; this.nbBefore.Size = new System.Drawing.Size(60, 20); this.nbBefore.TabIndex = 3; this.nbBefore.Value = new decimal(new int[] { 3, 0, 0, 0 }); this.nbBefore.ValueChanged += new System.EventHandler(this.nbBefore_ValueChanged); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(206, 15); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(29, 13); this.label2.TabIndex = 2; this.label2.Text = "After"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(94, 15); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(38, 13); this.label1.TabIndex = 1; this.label1.Text = "Before"; // // btnLoad // this.btnLoad.Location = new System.Drawing.Point(13, 10); this.btnLoad.Name = "btnLoad"; this.btnLoad.Size = new System.Drawing.Size(75, 23); this.btnLoad.TabIndex = 0; this.btnLoad.Text = "Load"; this.btnLoad.UseVisualStyleBackColor = true; this.btnLoad.Click += new System.EventHandler(this.btnLoad_Click); // // MainFrom // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(771, 543); this.Controls.Add(this.splitContainer1); this.Controls.Add(this.panel1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "MainFrom"; this.Text = "Dependency Viewer"; this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); this.splitContainer1.ResumeLayout(false); this.splitContainer2.Panel1.ResumeLayout(false); this.splitContainer2.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); this.splitContainer2.ResumeLayout(false); this.cmGraph.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.nbAfter)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nbBefore)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation planeTransformation2 = new Microsoft.Msagl.Core.Geometry.Curves.PlaneTransformation(); this.panel1 = new System.Windows.Forms.Panel(); this.infectionList = new System.Windows.Forms.Label(); this.graphViewer = new Microsoft.Msagl.GraphViewerGdi.GViewer(); this.runButton = new System.Windows.Forms.Button(); this.inputField = new System.Windows.Forms.NumericUpDown(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.inputField)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.AutoScroll = true; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Controls.Add(this.infectionList); this.panel1.Location = new System.Drawing.Point(588, 42); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(200, 426); this.panel1.TabIndex = 0; this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint); // // infectionList // this.infectionList.AutoSize = true; this.infectionList.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.infectionList.Location = new System.Drawing.Point(3, 0); this.infectionList.Name = "infectionList"; this.infectionList.Size = new System.Drawing.Size(0, 20); this.infectionList.TabIndex = 1; // // graphViewer // this.graphViewer.ArrowheadLength = 10D; this.graphViewer.AsyncLayout = false; this.graphViewer.AutoScroll = true; this.graphViewer.BackwardEnabled = false; this.graphViewer.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.graphViewer.BuildHitTree = true; this.graphViewer.CurrentLayoutMethod = Microsoft.Msagl.GraphViewerGdi.LayoutMethod.UseSettingsOfTheGraph; this.graphViewer.EdgeInsertButtonVisible = true; this.graphViewer.FileName = ""; this.graphViewer.ForwardEnabled = false; this.graphViewer.Graph = null; this.graphViewer.InsertingEdge = false; this.graphViewer.LayoutAlgorithmSettingsButtonVisible = true; this.graphViewer.LayoutEditingEnabled = true; this.graphViewer.Location = new System.Drawing.Point(12, 10); this.graphViewer.LooseOffsetForRouting = 0.25D; this.graphViewer.MouseHitDistance = 0.05D; this.graphViewer.Name = "graphViewer"; this.graphViewer.NavigationVisible = true; this.graphViewer.NeedToCalculateLayout = true; this.graphViewer.OffsetForRelaxingInRouting = 0.6D; this.graphViewer.PaddingForEdgeRouting = 8D; this.graphViewer.PanButtonPressed = false; this.graphViewer.SaveAsImageEnabled = true; this.graphViewer.SaveAsMsaglEnabled = true; this.graphViewer.SaveButtonVisible = true; this.graphViewer.SaveGraphButtonVisible = true; this.graphViewer.SaveInVectorFormatEnabled = true; this.graphViewer.Size = new System.Drawing.Size(570, 458); this.graphViewer.TabIndex = 1; this.graphViewer.TightOffsetForRouting = 0.125D; this.graphViewer.ToolBarIsVisible = true; this.graphViewer.Transform = planeTransformation2; this.graphViewer.UndoRedoButtonsVisible = true; this.graphViewer.WindowZoomButtonPressed = false; this.graphViewer.ZoomF = 1D; this.graphViewer.ZoomWindowThreshold = 0.05D; this.graphViewer.Load += new System.EventHandler(this.gViewer1_Load); // // runButton // this.runButton.Location = new System.Drawing.Point(713, 10); this.runButton.Name = "runButton"; this.runButton.Size = new System.Drawing.Size(75, 23); this.runButton.TabIndex = 3; this.runButton.Text = "Run"; this.runButton.UseVisualStyleBackColor = true; this.runButton.Click += new System.EventHandler(this.runButton_Click); // // inputField // this.inputField.Location = new System.Drawing.Point(588, 10); this.inputField.Maximum = new decimal(new int[] { 100000, 0, 0, 0 }); this.inputField.Minimum = new decimal(new int[] { 100000, 0, 0, -2147483648 }); this.inputField.Name = "inputField"; this.inputField.Size = new System.Drawing.Size(119, 20); this.inputField.TabIndex = 4; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 480); this.Controls.Add(this.inputField); this.Controls.Add(this.runButton); this.Controls.Add(this.graphViewer); this.Controls.Add(this.panel1); this.MaximizeBox = false; this.Name = "Form1"; this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; this.Text = "Virus Simulator.exe"; this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.inputField)).EndInit(); this.ResumeLayout(false); }