diff options
Diffstat (limited to 'src/CS340.Plotter/Plot.Designer.cs')
-rw-r--r-- | src/CS340.Plotter/Plot.Designer.cs | 77 |
1 files changed, 61 insertions, 16 deletions
diff --git a/src/CS340.Plotter/Plot.Designer.cs b/src/CS340.Plotter/Plot.Designer.cs index 1fe8745..7a06f33 100644 --- a/src/CS340.Plotter/Plot.Designer.cs +++ b/src/CS340.Plotter/Plot.Designer.cs @@ -48,7 +48,7 @@ namespace Plotter this.MSTWeight = new System.Windows.Forms.Label(); this.MSTWeightLabel = new System.Windows.Forms.Label(); this.MSTTimeLabel = new System.Windows.Forms.Label(); - this.BruteForceLabel = new System.Windows.Forms.Label(); + this.TrueShortestLabel = new System.Windows.Forms.Label(); this.EstimatedLabel = new System.Windows.Forms.Label(); this.MSTLabel = new System.Windows.Forms.Label(); this.tableLayoutPanel7 = new System.Windows.Forms.TableLayoutPanel(); @@ -64,6 +64,9 @@ namespace Plotter this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel(); this.label8 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); + this.tableLayoutPanel8 = new System.Windows.Forms.TableLayoutPanel(); + this.SaveGraph = new System.Windows.Forms.Button(); + this.SaveAll = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.BruteForcePlot)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.EstimationPlot)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.MSTPlot)).BeginInit(); @@ -75,6 +78,7 @@ namespace Plotter this.tableLayoutPanel2.SuspendLayout(); this.tableLayoutPanel3.SuspendLayout(); this.tableLayoutPanel4.SuspendLayout(); + this.tableLayoutPanel8.SuspendLayout(); this.SuspendLayout(); // // BruteForcePlot @@ -115,12 +119,13 @@ namespace Plotter this.LayoutPanel.Controls.Add(this.tableLayoutPanel5, 1, 2); this.LayoutPanel.Controls.Add(this.tableLayoutPanel6, 2, 2); this.LayoutPanel.Controls.Add(this.BruteForcePlot, 0, 0); - this.LayoutPanel.Controls.Add(this.BruteForceLabel, 0, 1); + this.LayoutPanel.Controls.Add(this.TrueShortestLabel, 0, 1); this.LayoutPanel.Controls.Add(this.EstimationPlot, 1, 0); this.LayoutPanel.Controls.Add(this.EstimatedLabel, 1, 1); this.LayoutPanel.Controls.Add(this.MSTPlot, 2, 0); this.LayoutPanel.Controls.Add(this.MSTLabel, 2, 1); this.LayoutPanel.Controls.Add(this.tableLayoutPanel7, 1, 4); + this.LayoutPanel.Controls.Add(this.tableLayoutPanel8, 2, 4); this.LayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.LayoutPanel.Location = new System.Drawing.Point(0, 0); this.LayoutPanel.Name = "LayoutPanel"; @@ -335,17 +340,17 @@ namespace Plotter this.MSTTimeLabel.Text = "Runtime:"; this.MSTTimeLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // BruteForceLabel + // TrueShortestLabel // - this.BruteForceLabel.AutoSize = true; - this.BruteForceLabel.Dock = System.Windows.Forms.DockStyle.Top; - this.BruteForceLabel.Font = new System.Drawing.Font("Arial", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); - this.BruteForceLabel.Location = new System.Drawing.Point(3, 279); - this.BruteForceLabel.Name = "BruteForceLabel"; - this.BruteForceLabel.Size = new System.Drawing.Size(254, 24); - this.BruteForceLabel.TabIndex = 3; - this.BruteForceLabel.Text = "Brute Force"; - this.BruteForceLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.TrueShortestLabel.AutoSize = true; + this.TrueShortestLabel.Dock = System.Windows.Forms.DockStyle.Top; + this.TrueShortestLabel.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); + this.TrueShortestLabel.Location = new System.Drawing.Point(3, 279); + this.TrueShortestLabel.Name = "TrueShortestLabel"; + this.TrueShortestLabel.Size = new System.Drawing.Size(254, 22); + this.TrueShortestLabel.TabIndex = 3; + this.TrueShortestLabel.Text = "True Shortest Tour"; + this.TrueShortestLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // EstimatedLabel // @@ -356,17 +361,17 @@ namespace Plotter this.EstimatedLabel.Name = "EstimatedLabel"; this.EstimatedLabel.Size = new System.Drawing.Size(254, 24); this.EstimatedLabel.TabIndex = 4; - this.EstimatedLabel.Text = "Estimated"; + this.EstimatedLabel.Text = "MST Approximation"; this.EstimatedLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // MSTLabel // this.MSTLabel.AutoSize = true; this.MSTLabel.Dock = System.Windows.Forms.DockStyle.Top; - this.MSTLabel.Font = new System.Drawing.Font("Arial", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); + this.MSTLabel.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); this.MSTLabel.Location = new System.Drawing.Point(523, 279); this.MSTLabel.Name = "MSTLabel"; - this.MSTLabel.Size = new System.Drawing.Size(255, 24); + this.MSTLabel.Size = new System.Drawing.Size(255, 22); this.MSTLabel.TabIndex = 5; this.MSTLabel.Text = "MST"; this.MSTLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -546,6 +551,42 @@ namespace Plotter this.label9.Text = "123.342"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // + // tableLayoutPanel8 + // + this.tableLayoutPanel8.Anchor = System.Windows.Forms.AnchorStyles.Right; + this.tableLayoutPanel8.AutoSize = true; + this.tableLayoutPanel8.ColumnCount = 2; + this.tableLayoutPanel8.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel8.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel8.Controls.Add(this.SaveGraph, 1, 0); + this.tableLayoutPanel8.Controls.Add(this.SaveAll, 0, 0); + this.tableLayoutPanel8.Location = new System.Drawing.Point(616, 347); + this.tableLayoutPanel8.Name = "tableLayoutPanel8"; + this.tableLayoutPanel8.RowCount = 1; + this.tableLayoutPanel8.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel8.Size = new System.Drawing.Size(162, 29); + this.tableLayoutPanel8.TabIndex = 19; + // + // SaveGraph + // + this.SaveGraph.Location = new System.Drawing.Point(84, 3); + this.SaveGraph.Name = "SaveGraph"; + this.SaveGraph.Size = new System.Drawing.Size(75, 23); + this.SaveGraph.TabIndex = 0; + this.SaveGraph.Text = "Save Graph"; + this.SaveGraph.UseVisualStyleBackColor = true; + this.SaveGraph.Click += new System.EventHandler(this.SaveGraph_Click); + // + // SaveAll + // + this.SaveAll.Location = new System.Drawing.Point(3, 3); + this.SaveAll.Name = "SaveAll"; + this.SaveAll.Size = new System.Drawing.Size(75, 23); + this.SaveAll.TabIndex = 1; + this.SaveAll.Text = "Save All"; + this.SaveAll.UseVisualStyleBackColor = true; + this.SaveAll.Click += new System.EventHandler(this.SaveAll_Click); + // // PlotWindow // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); @@ -575,6 +616,7 @@ namespace Plotter this.tableLayoutPanel3.PerformLayout(); this.tableLayoutPanel4.ResumeLayout(false); this.tableLayoutPanel4.PerformLayout(); + this.tableLayoutPanel8.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); @@ -587,7 +629,7 @@ namespace Plotter private System.Windows.Forms.PictureBox MSTPlot; private System.Windows.Forms.TableLayoutPanel LayoutPanel; private System.Windows.Forms.Label MSTLabel; - private System.Windows.Forms.Label BruteForceLabel; + private System.Windows.Forms.Label TrueShortestLabel; private System.Windows.Forms.Label EstimatedLabel; private System.Windows.Forms.Label BruteForceTimeLabel; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; @@ -617,6 +659,9 @@ namespace Plotter private System.Windows.Forms.Label GraphLabel; private System.Windows.Forms.Button NextGraph; private System.Windows.Forms.Button PrevGraph; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel8; + private System.Windows.Forms.Button SaveGraph; + private System.Windows.Forms.Button SaveAll; } } |