feat: add SplitContainer and PlateView to NestProgressForm layout
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
92
OpenNest/Forms/NestProgressForm.Designer.cs
generated
92
OpenNest/Forms/NestProgressForm.Designer.cs
generated
@@ -41,6 +41,14 @@ namespace OpenNest.Forms
|
||||
buttonPanel = new System.Windows.Forms.FlowLayoutPanel();
|
||||
stopButton = new System.Windows.Forms.Button();
|
||||
acceptButton = new System.Windows.Forms.Button();
|
||||
splitContainer = new System.Windows.Forms.SplitContainer();
|
||||
statsPanel = new System.Windows.Forms.Panel();
|
||||
previewPlateView = new OpenNest.Controls.PlateView();
|
||||
((System.ComponentModel.ISupportInitialize)splitContainer).BeginInit();
|
||||
splitContainer.Panel1.SuspendLayout();
|
||||
splitContainer.Panel2.SuspendLayout();
|
||||
splitContainer.SuspendLayout();
|
||||
statsPanel.SuspendLayout();
|
||||
resultsPanel.SuspendLayout();
|
||||
resultsTable.SuspendLayout();
|
||||
densityPanel.SuspendLayout();
|
||||
@@ -49,6 +57,40 @@ namespace OpenNest.Forms
|
||||
buttonPanel.SuspendLayout();
|
||||
SuspendLayout();
|
||||
//
|
||||
// splitContainer
|
||||
//
|
||||
splitContainer.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
splitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
|
||||
splitContainer.Location = new System.Drawing.Point(0, 0);
|
||||
splitContainer.Name = "splitContainer";
|
||||
splitContainer.Panel1.Controls.Add(previewPlateView);
|
||||
splitContainer.Panel2.Controls.Add(statsPanel);
|
||||
splitContainer.Size = new System.Drawing.Size(750, 420);
|
||||
splitContainer.SplitterDistance = 480;
|
||||
splitContainer.TabIndex = 0;
|
||||
//
|
||||
// previewPlateView
|
||||
//
|
||||
previewPlateView.AllowDrop = false;
|
||||
previewPlateView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
previewPlateView.Location = new System.Drawing.Point(0, 0);
|
||||
previewPlateView.Name = "previewPlateView";
|
||||
previewPlateView.Size = new System.Drawing.Size(480, 420);
|
||||
previewPlateView.TabIndex = 0;
|
||||
//
|
||||
// statsPanel
|
||||
//
|
||||
statsPanel.AutoScroll = true;
|
||||
statsPanel.Controls.Add(buttonPanel);
|
||||
statsPanel.Controls.Add(statusPanel);
|
||||
statsPanel.Controls.Add(resultsPanel);
|
||||
statsPanel.Controls.Add(phaseStepper);
|
||||
statsPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
statsPanel.Location = new System.Drawing.Point(0, 0);
|
||||
statsPanel.Name = "statsPanel";
|
||||
statsPanel.Size = new System.Drawing.Size(266, 420);
|
||||
statsPanel.TabIndex = 0;
|
||||
//
|
||||
// phaseStepper
|
||||
//
|
||||
phaseStepper.ActivePhase = null;
|
||||
@@ -56,7 +98,7 @@ namespace OpenNest.Forms
|
||||
phaseStepper.IsComplete = false;
|
||||
phaseStepper.Location = new System.Drawing.Point(0, 0);
|
||||
phaseStepper.Name = "phaseStepper";
|
||||
phaseStepper.Size = new System.Drawing.Size(450, 60);
|
||||
phaseStepper.Size = new System.Drawing.Size(266, 60);
|
||||
phaseStepper.TabIndex = 0;
|
||||
//
|
||||
// resultsPanel
|
||||
@@ -69,7 +111,7 @@ namespace OpenNest.Forms
|
||||
resultsPanel.Margin = new System.Windows.Forms.Padding(10, 4, 10, 4);
|
||||
resultsPanel.Name = "resultsPanel";
|
||||
resultsPanel.Padding = new System.Windows.Forms.Padding(14, 10, 14, 10);
|
||||
resultsPanel.Size = new System.Drawing.Size(450, 120);
|
||||
resultsPanel.Size = new System.Drawing.Size(266, 120);
|
||||
resultsPanel.TabIndex = 1;
|
||||
//
|
||||
// resultsTable
|
||||
@@ -91,7 +133,7 @@ namespace OpenNest.Forms
|
||||
resultsTable.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||
resultsTable.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||
resultsTable.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||
resultsTable.Size = new System.Drawing.Size(422, 69);
|
||||
resultsTable.Size = new System.Drawing.Size(238, 69);
|
||||
resultsTable.TabIndex = 1;
|
||||
//
|
||||
// partsLabel
|
||||
@@ -115,7 +157,7 @@ namespace OpenNest.Forms
|
||||
partsValue.Name = "partsValue";
|
||||
partsValue.Size = new System.Drawing.Size(13, 15);
|
||||
partsValue.TabIndex = 1;
|
||||
partsValue.Text = "<EFBFBD>";
|
||||
partsValue.Text = "\u2014";
|
||||
//
|
||||
// densityLabel
|
||||
//
|
||||
@@ -137,7 +179,7 @@ namespace OpenNest.Forms
|
||||
densityPanel.Location = new System.Drawing.Point(90, 23);
|
||||
densityPanel.Margin = new System.Windows.Forms.Padding(0);
|
||||
densityPanel.Name = "densityPanel";
|
||||
densityPanel.Size = new System.Drawing.Size(262, 21);
|
||||
densityPanel.Size = new System.Drawing.Size(148, 21);
|
||||
densityPanel.TabIndex = 3;
|
||||
densityPanel.WrapContents = false;
|
||||
//
|
||||
@@ -150,14 +192,14 @@ namespace OpenNest.Forms
|
||||
densityValue.Name = "densityValue";
|
||||
densityValue.Size = new System.Drawing.Size(13, 15);
|
||||
densityValue.TabIndex = 0;
|
||||
densityValue.Text = "<EFBFBD>";
|
||||
densityValue.Text = "\u2014";
|
||||
//
|
||||
// densityBar
|
||||
//
|
||||
densityBar.Location = new System.Drawing.Point(21, 5);
|
||||
densityBar.Margin = new System.Windows.Forms.Padding(0, 5, 0, 0);
|
||||
densityBar.Name = "densityBar";
|
||||
densityBar.Size = new System.Drawing.Size(241, 8);
|
||||
densityBar.Size = new System.Drawing.Size(127, 8);
|
||||
densityBar.TabIndex = 1;
|
||||
densityBar.Value = 0D;
|
||||
//
|
||||
@@ -182,7 +224,7 @@ namespace OpenNest.Forms
|
||||
nestedAreaValue.Name = "nestedAreaValue";
|
||||
nestedAreaValue.Size = new System.Drawing.Size(13, 15);
|
||||
nestedAreaValue.TabIndex = 5;
|
||||
nestedAreaValue.Text = "<EFBFBD>";
|
||||
nestedAreaValue.Text = "\u2014";
|
||||
//
|
||||
// resultsHeader
|
||||
//
|
||||
@@ -206,7 +248,7 @@ namespace OpenNest.Forms
|
||||
statusPanel.Location = new System.Drawing.Point(0, 180);
|
||||
statusPanel.Name = "statusPanel";
|
||||
statusPanel.Padding = new System.Windows.Forms.Padding(14, 10, 14, 10);
|
||||
statusPanel.Size = new System.Drawing.Size(450, 115);
|
||||
statusPanel.Size = new System.Drawing.Size(266, 115);
|
||||
statusPanel.TabIndex = 2;
|
||||
//
|
||||
// statusTable
|
||||
@@ -228,7 +270,7 @@ namespace OpenNest.Forms
|
||||
statusTable.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||
statusTable.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||
statusTable.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||
statusTable.Size = new System.Drawing.Size(422, 69);
|
||||
statusTable.Size = new System.Drawing.Size(238, 69);
|
||||
statusTable.TabIndex = 1;
|
||||
//
|
||||
// plateLabel
|
||||
@@ -252,7 +294,7 @@ namespace OpenNest.Forms
|
||||
plateValue.Name = "plateValue";
|
||||
plateValue.Size = new System.Drawing.Size(13, 15);
|
||||
plateValue.TabIndex = 1;
|
||||
plateValue.Text = "<EFBFBD>";
|
||||
plateValue.Text = "\u2014";
|
||||
//
|
||||
// elapsedLabel
|
||||
//
|
||||
@@ -298,7 +340,7 @@ namespace OpenNest.Forms
|
||||
descriptionValue.Name = "descriptionValue";
|
||||
descriptionValue.Size = new System.Drawing.Size(20, 17);
|
||||
descriptionValue.TabIndex = 5;
|
||||
descriptionValue.Text = "<EFBFBD>";
|
||||
descriptionValue.Text = "\u2014";
|
||||
//
|
||||
// statusHeader
|
||||
//
|
||||
@@ -323,14 +365,14 @@ namespace OpenNest.Forms
|
||||
buttonPanel.Location = new System.Drawing.Point(0, 295);
|
||||
buttonPanel.Name = "buttonPanel";
|
||||
buttonPanel.Padding = new System.Windows.Forms.Padding(9, 6, 9, 6);
|
||||
buttonPanel.Size = new System.Drawing.Size(450, 45);
|
||||
buttonPanel.Size = new System.Drawing.Size(266, 45);
|
||||
buttonPanel.TabIndex = 3;
|
||||
//
|
||||
// stopButton
|
||||
//
|
||||
stopButton.Enabled = false;
|
||||
stopButton.Font = new System.Drawing.Font("Segoe UI", 9.75F);
|
||||
stopButton.Location = new System.Drawing.Point(339, 9);
|
||||
stopButton.Location = new System.Drawing.Point(155, 9);
|
||||
stopButton.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
stopButton.Name = "stopButton";
|
||||
stopButton.Size = new System.Drawing.Size(93, 27);
|
||||
@@ -343,7 +385,7 @@ namespace OpenNest.Forms
|
||||
//
|
||||
acceptButton.Enabled = false;
|
||||
acceptButton.Font = new System.Drawing.Font("Segoe UI", 9.75F);
|
||||
acceptButton.Location = new System.Drawing.Point(246, 9);
|
||||
acceptButton.Location = new System.Drawing.Point(56, 9);
|
||||
acceptButton.Margin = new System.Windows.Forms.Padding(6, 3, 0, 3);
|
||||
acceptButton.Name = "acceptButton";
|
||||
acceptButton.Size = new System.Drawing.Size(93, 27);
|
||||
@@ -356,18 +398,22 @@ namespace OpenNest.Forms
|
||||
//
|
||||
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
ClientSize = new System.Drawing.Size(450, 345);
|
||||
Controls.Add(buttonPanel);
|
||||
Controls.Add(statusPanel);
|
||||
Controls.Add(resultsPanel);
|
||||
Controls.Add(phaseStepper);
|
||||
FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
ClientSize = new System.Drawing.Size(750, 420);
|
||||
Controls.Add(splitContainer);
|
||||
FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
|
||||
MaximizeBox = false;
|
||||
MinimizeBox = false;
|
||||
MinimumSize = new System.Drawing.Size(550, 380);
|
||||
Name = "NestProgressForm";
|
||||
ShowInTaskbar = false;
|
||||
StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
Text = "Nesting Progress";
|
||||
splitContainer.Panel1.ResumeLayout(false);
|
||||
splitContainer.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)splitContainer).EndInit();
|
||||
splitContainer.ResumeLayout(false);
|
||||
statsPanel.ResumeLayout(false);
|
||||
statsPanel.PerformLayout();
|
||||
resultsPanel.ResumeLayout(false);
|
||||
resultsPanel.PerformLayout();
|
||||
resultsTable.ResumeLayout(false);
|
||||
@@ -380,7 +426,6 @@ namespace OpenNest.Forms
|
||||
statusTable.PerformLayout();
|
||||
buttonPanel.ResumeLayout(false);
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
#endregion
|
||||
@@ -409,5 +454,8 @@ namespace OpenNest.Forms
|
||||
private System.Windows.Forms.FlowLayoutPanel buttonPanel;
|
||||
private System.Windows.Forms.Button acceptButton;
|
||||
private System.Windows.Forms.Button stopButton;
|
||||
private System.Windows.Forms.SplitContainer splitContainer;
|
||||
private System.Windows.Forms.Panel statsPanel;
|
||||
private Controls.PlateView previewPlateView;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user