chore: regenerate NestProgressForm designer layout

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-03 21:34:43 -04:00
parent 7e86313d7c
commit fce287e649
+112 -60
View File
@@ -17,6 +17,11 @@ namespace OpenNest.Forms
private void InitializeComponent() private void InitializeComponent()
{ {
ColorScheme colorScheme1 = new ColorScheme();
CutOffSettings cutOffSettings1 = new CutOffSettings();
Plate plate1 = new Plate();
Collections.ObservableList<CutOff> observableList_11 = new Collections.ObservableList<CutOff>();
Collections.ObservableList<Part> observableList_12 = new Collections.ObservableList<Part>();
phaseStepper = new OpenNest.Controls.PhaseStepperControl(); phaseStepper = new OpenNest.Controls.PhaseStepperControl();
resultsPanel = new System.Windows.Forms.Panel(); resultsPanel = new System.Windows.Forms.Panel();
resultsTable = new System.Windows.Forms.TableLayoutPanel(); resultsTable = new System.Windows.Forms.TableLayoutPanel();
@@ -42,55 +47,21 @@ namespace OpenNest.Forms
stopButton = new System.Windows.Forms.Button(); stopButton = new System.Windows.Forms.Button();
acceptButton = new System.Windows.Forms.Button(); acceptButton = new System.Windows.Forms.Button();
splitContainer = new System.Windows.Forms.SplitContainer(); splitContainer = new System.Windows.Forms.SplitContainer();
statsPanel = new System.Windows.Forms.Panel();
previewPlateView = new OpenNest.Controls.PlateView(); previewPlateView = new OpenNest.Controls.PlateView();
((System.ComponentModel.ISupportInitialize)splitContainer).BeginInit(); statsPanel = new System.Windows.Forms.Panel();
splitContainer.Panel1.SuspendLayout();
splitContainer.Panel2.SuspendLayout();
splitContainer.SuspendLayout();
statsPanel.SuspendLayout();
resultsPanel.SuspendLayout(); resultsPanel.SuspendLayout();
resultsTable.SuspendLayout(); resultsTable.SuspendLayout();
densityPanel.SuspendLayout(); densityPanel.SuspendLayout();
statusPanel.SuspendLayout(); statusPanel.SuspendLayout();
statusTable.SuspendLayout(); statusTable.SuspendLayout();
buttonPanel.SuspendLayout(); buttonPanel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)splitContainer).BeginInit();
splitContainer.Panel1.SuspendLayout();
splitContainer.Panel2.SuspendLayout();
splitContainer.SuspendLayout();
statsPanel.SuspendLayout();
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
// //
phaseStepper.ActivePhase = null; phaseStepper.ActivePhase = null;
@@ -155,9 +126,9 @@ namespace OpenNest.Forms
partsValue.Location = new System.Drawing.Point(90, 3); partsValue.Location = new System.Drawing.Point(90, 3);
partsValue.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); partsValue.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
partsValue.Name = "partsValue"; partsValue.Name = "partsValue";
partsValue.Size = new System.Drawing.Size(13, 15); partsValue.Size = new System.Drawing.Size(14, 15);
partsValue.TabIndex = 1; partsValue.TabIndex = 1;
partsValue.Text = "\u2014"; partsValue.Text = "";
// //
// densityLabel // densityLabel
// //
@@ -179,7 +150,7 @@ namespace OpenNest.Forms
densityPanel.Location = new System.Drawing.Point(90, 23); densityPanel.Location = new System.Drawing.Point(90, 23);
densityPanel.Margin = new System.Windows.Forms.Padding(0); densityPanel.Margin = new System.Windows.Forms.Padding(0);
densityPanel.Name = "densityPanel"; densityPanel.Name = "densityPanel";
densityPanel.Size = new System.Drawing.Size(148, 21); densityPanel.Size = new System.Drawing.Size(149, 21);
densityPanel.TabIndex = 3; densityPanel.TabIndex = 3;
densityPanel.WrapContents = false; densityPanel.WrapContents = false;
// //
@@ -190,13 +161,13 @@ namespace OpenNest.Forms
densityValue.Location = new System.Drawing.Point(0, 3); densityValue.Location = new System.Drawing.Point(0, 3);
densityValue.Margin = new System.Windows.Forms.Padding(0, 3, 8, 3); densityValue.Margin = new System.Windows.Forms.Padding(0, 3, 8, 3);
densityValue.Name = "densityValue"; densityValue.Name = "densityValue";
densityValue.Size = new System.Drawing.Size(13, 15); densityValue.Size = new System.Drawing.Size(14, 15);
densityValue.TabIndex = 0; densityValue.TabIndex = 0;
densityValue.Text = "\u2014"; densityValue.Text = "";
// //
// densityBar // densityBar
// //
densityBar.Location = new System.Drawing.Point(21, 5); densityBar.Location = new System.Drawing.Point(22, 5);
densityBar.Margin = new System.Windows.Forms.Padding(0, 5, 0, 0); densityBar.Margin = new System.Windows.Forms.Padding(0, 5, 0, 0);
densityBar.Name = "densityBar"; densityBar.Name = "densityBar";
densityBar.Size = new System.Drawing.Size(127, 8); densityBar.Size = new System.Drawing.Size(127, 8);
@@ -222,9 +193,9 @@ namespace OpenNest.Forms
nestedAreaValue.Location = new System.Drawing.Point(90, 49); nestedAreaValue.Location = new System.Drawing.Point(90, 49);
nestedAreaValue.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); nestedAreaValue.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
nestedAreaValue.Name = "nestedAreaValue"; nestedAreaValue.Name = "nestedAreaValue";
nestedAreaValue.Size = new System.Drawing.Size(13, 15); nestedAreaValue.Size = new System.Drawing.Size(14, 15);
nestedAreaValue.TabIndex = 5; nestedAreaValue.TabIndex = 5;
nestedAreaValue.Text = "\u2014"; nestedAreaValue.Text = "";
// //
// resultsHeader // resultsHeader
// //
@@ -292,9 +263,9 @@ namespace OpenNest.Forms
plateValue.Location = new System.Drawing.Point(90, 3); plateValue.Location = new System.Drawing.Point(90, 3);
plateValue.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); plateValue.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
plateValue.Name = "plateValue"; plateValue.Name = "plateValue";
plateValue.Size = new System.Drawing.Size(13, 15); plateValue.Size = new System.Drawing.Size(14, 15);
plateValue.TabIndex = 1; plateValue.TabIndex = 1;
plateValue.Text = "\u2014"; plateValue.Text = "";
// //
// elapsedLabel // elapsedLabel
// //
@@ -338,9 +309,9 @@ namespace OpenNest.Forms
descriptionValue.Location = new System.Drawing.Point(90, 49); descriptionValue.Location = new System.Drawing.Point(90, 49);
descriptionValue.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); descriptionValue.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
descriptionValue.Name = "descriptionValue"; descriptionValue.Name = "descriptionValue";
descriptionValue.Size = new System.Drawing.Size(20, 17); descriptionValue.Size = new System.Drawing.Size(21, 17);
descriptionValue.TabIndex = 5; descriptionValue.TabIndex = 5;
descriptionValue.Text = "\u2014"; descriptionValue.Text = "";
// //
// statusHeader // statusHeader
// //
@@ -385,7 +356,7 @@ namespace OpenNest.Forms
// //
acceptButton.Enabled = false; acceptButton.Enabled = false;
acceptButton.Font = new System.Drawing.Font("Segoe UI", 9.75F); acceptButton.Font = new System.Drawing.Font("Segoe UI", 9.75F);
acceptButton.Location = new System.Drawing.Point(56, 9); acceptButton.Location = new System.Drawing.Point(62, 9);
acceptButton.Margin = new System.Windows.Forms.Padding(6, 3, 0, 3); acceptButton.Margin = new System.Windows.Forms.Padding(6, 3, 0, 3);
acceptButton.Name = "acceptButton"; acceptButton.Name = "acceptButton";
acceptButton.Size = new System.Drawing.Size(93, 27); acceptButton.Size = new System.Drawing.Size(93, 27);
@@ -394,11 +365,92 @@ namespace OpenNest.Forms
acceptButton.UseVisualStyleBackColor = true; acceptButton.UseVisualStyleBackColor = true;
acceptButton.Click += AcceptButton_Click; acceptButton.Click += AcceptButton_Click;
// //
// 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
//
splitContainer.Panel1.Controls.Add(previewPlateView);
//
// splitContainer.Panel2
//
splitContainer.Panel2.Controls.Add(statsPanel);
splitContainer.Size = new System.Drawing.Size(626, 341);
splitContainer.SplitterDistance = 356;
splitContainer.TabIndex = 0;
//
// previewPlateView
//
previewPlateView.ActiveWorkArea = null;
previewPlateView.AllowPan = true;
previewPlateView.AllowSelect = true;
previewPlateView.AllowZoom = true;
previewPlateView.BackColor = System.Drawing.Color.DarkGray;
colorScheme1.BackgroundColor = System.Drawing.Color.DarkGray;
colorScheme1.BoundingBoxColor = System.Drawing.Color.FromArgb(128, 128, 255);
colorScheme1.EdgeSpacingColor = System.Drawing.Color.FromArgb(180, 180, 180);
colorScheme1.LayoutFillColor = System.Drawing.Color.WhiteSmoke;
colorScheme1.LayoutOutlineColor = System.Drawing.Color.Gray;
colorScheme1.OriginColor = System.Drawing.Color.Gray;
colorScheme1.PreviewPartColor = System.Drawing.Color.FromArgb(255, 140, 0);
colorScheme1.RapidColor = System.Drawing.Color.DodgerBlue;
previewPlateView.ColorScheme = colorScheme1;
cutOffSettings1.CutDirection = CutDirection.AwayFromOrigin;
cutOffSettings1.MinSegmentLength = 0.05D;
cutOffSettings1.Overtravel = 0D;
cutOffSettings1.PartClearance = 0.02D;
previewPlateView.CutOffSettings = cutOffSettings1;
previewPlateView.DebugRemnantPriorities = null;
previewPlateView.DebugRemnants = null;
previewPlateView.Dock = System.Windows.Forms.DockStyle.Fill;
previewPlateView.DrawBounds = true;
previewPlateView.DrawCutDirection = false;
previewPlateView.DrawOffset = false;
previewPlateView.DrawOrigin = true;
previewPlateView.DrawPiercePoints = false;
previewPlateView.DrawRapid = false;
previewPlateView.FillParts = true;
previewPlateView.Location = new System.Drawing.Point(0, 0);
previewPlateView.Name = "previewPlateView";
previewPlateView.OffsetIncrementDistance = 10D;
previewPlateView.OffsetTolerance = 0.001D;
plate1.CutOffs = observableList_11;
plate1.CuttingParameters = null;
plate1.GrainAngle = 0D;
plate1.Parts = observableList_12;
plate1.PartSpacing = 0D;
plate1.Quadrant = 1;
plate1.Quantity = 0;
previewPlateView.Plate = plate1;
previewPlateView.RotateIncrementAngle = 10D;
previewPlateView.SelectedCutOff = null;
previewPlateView.ShowBendLines = false;
previewPlateView.Size = new System.Drawing.Size(356, 341);
previewPlateView.Status = "Select";
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, 341);
statsPanel.TabIndex = 0;
//
// NestProgressForm // NestProgressForm
// //
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
ClientSize = new System.Drawing.Size(750, 420); ClientSize = new System.Drawing.Size(626, 341);
Controls.Add(splitContainer); Controls.Add(splitContainer);
FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
MaximizeBox = false; MaximizeBox = false;
@@ -408,12 +460,6 @@ namespace OpenNest.Forms
ShowInTaskbar = false; ShowInTaskbar = false;
StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
Text = "Nesting Progress"; 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.ResumeLayout(false);
resultsPanel.PerformLayout(); resultsPanel.PerformLayout();
resultsTable.ResumeLayout(false); resultsTable.ResumeLayout(false);
@@ -425,6 +471,12 @@ namespace OpenNest.Forms
statusTable.ResumeLayout(false); statusTable.ResumeLayout(false);
statusTable.PerformLayout(); statusTable.PerformLayout();
buttonPanel.ResumeLayout(false); buttonPanel.ResumeLayout(false);
splitContainer.Panel1.ResumeLayout(false);
splitContainer.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)splitContainer).EndInit();
splitContainer.ResumeLayout(false);
statsPanel.ResumeLayout(false);
statsPanel.PerformLayout();
ResumeLayout(false); ResumeLayout(false);
} }