chore: Regenerate MainForm designer files

Designer-generated changes from Visual Studio, includes updated
control sizing and removal of duplicate metadata entries.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-30 08:08:11 -05:00
parent 3ee3ba7556
commit 410b4ba550
2 changed files with 283 additions and 307 deletions

View File

@@ -28,361 +28,343 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container(); components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); DataGridViewCellStyle dataGridViewCellStyle1 = new DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); DataGridViewCellStyle dataGridViewCellStyle2 = new DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); DataGridViewCellStyle dataGridViewCellStyle3 = new DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); DataGridViewCellStyle dataGridViewCellStyle4 = new DataGridViewCellStyle();
this.dataGridView1 = new System.Windows.Forms.DataGridView(); dataGridView1 = new DataGridView();
this.nameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); nameDataGridViewTextBoxColumn = new DataGridViewTextBoxColumn();
this.lengthDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); lengthDataGridViewTextBoxColumn = new DataGridViewTextBoxColumn();
this.quantityDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); quantityDataGridViewTextBoxColumn = new DataGridViewTextBoxColumn();
this.TotalLength = new System.Windows.Forms.DataGridViewTextBoxColumn(); TotalLength = new DataGridViewTextBoxColumn();
this.itemBindingSource = new System.Windows.Forms.BindingSource(this.components); itemBindingSource = new BindingSource(components);
this.toolStrip1 = new System.Windows.Forms.ToolStrip(); toolStrip1 = new ToolStrip();
this.newDocumentButton = new System.Windows.Forms.ToolStripButton(); newDocumentButton = new ToolStripButton();
this.openFileButton = new System.Windows.Forms.ToolStripButton(); openFileButton = new ToolStripButton();
this.saveButton = new System.Windows.Forms.ToolStripButton(); saveButton = new ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); toolStripSeparator1 = new ToolStripSeparator();
this.runButton = new System.Windows.Forms.ToolStripButton(); runButton = new ToolStripButton();
this.loadExampleDataButton = new System.Windows.Forms.ToolStripButton(); loadExampleDataButton = new ToolStripButton();
this.cutMethodComboBox = new System.Windows.Forms.ComboBox(); cutMethodComboBox = new ComboBox();
this.cutWidthTextBox = new System.Windows.Forms.TextBox(); cutWidthTextBox = new TextBox();
this.cutMethodLabel = new System.Windows.Forms.Label(); cutMethodLabel = new Label();
this.cutWidthLabel = new System.Windows.Forms.Label(); cutWidthLabel = new Label();
this.tabControl1 = new System.Windows.Forms.TabControl(); tabControl1 = new TabControl();
this.tabPage2 = new System.Windows.Forms.TabPage(); tabPage2 = new TabPage();
this.tabPage1 = new System.Windows.Forms.TabPage(); tabPage1 = new TabPage();
this.dataGridView2 = new System.Windows.Forms.DataGridView(); dataGridView2 = new DataGridView();
this.lengthInputValueDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); lengthInputValueDataGridViewTextBoxColumn = new DataGridViewTextBoxColumn();
this.quantityDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); quantityDataGridViewTextBoxColumn1 = new DataGridViewTextBoxColumn();
this.TotalLengthString = new System.Windows.Forms.DataGridViewTextBoxColumn(); TotalLengthString = new DataGridViewTextBoxColumn();
this.priorityDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); priorityDataGridViewTextBoxColumn = new DataGridViewTextBoxColumn();
this.binInputItemBindingSource = new System.Windows.Forms.BindingSource(this.components); binInputItemBindingSource = new BindingSource(components);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.itemBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)itemBindingSource).BeginInit();
this.toolStrip1.SuspendLayout(); toolStrip1.SuspendLayout();
this.tabControl1.SuspendLayout(); tabControl1.SuspendLayout();
this.tabPage2.SuspendLayout(); tabPage2.SuspendLayout();
this.tabPage1.SuspendLayout(); tabPage1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)dataGridView2).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.binInputItemBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)binInputItemBindingSource).BeginInit();
this.SuspendLayout(); SuspendLayout();
// //
// dataGridView1 // dataGridView1
// //
this.dataGridView1.AllowUserToResizeRows = false; dataGridView1.AllowUserToResizeRows = false;
this.dataGridView1.AutoGenerateColumns = false; dataGridView1.AutoGenerateColumns = false;
this.dataGridView1.BackgroundColor = System.Drawing.Color.White; dataGridView1.BackgroundColor = Color.White;
this.dataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None; dataGridView1.BorderStyle = BorderStyle.None;
this.dataGridView1.ClipboardCopyMode = System.Windows.Forms.DataGridViewClipboardCopyMode.EnableAlwaysIncludeHeaderText; dataGridView1.ClipboardCopyMode = DataGridViewClipboardCopyMode.EnableAlwaysIncludeHeaderText;
this.dataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; dataGridView1.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.Single;
this.dataGridView1.ColumnHeadersHeight = 30; dataGridView1.ColumnHeadersHeight = 30;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { dataGridView1.Columns.AddRange(new DataGridViewColumn[] { nameDataGridViewTextBoxColumn, lengthDataGridViewTextBoxColumn, quantityDataGridViewTextBoxColumn, TotalLength });
this.nameDataGridViewTextBoxColumn, dataGridView1.DataSource = itemBindingSource;
this.lengthDataGridViewTextBoxColumn, dataGridView1.Dock = DockStyle.Fill;
this.quantityDataGridViewTextBoxColumn, dataGridView1.GridColor = Color.FromArgb(224, 224, 224);
this.TotalLength}); dataGridView1.Location = new Point(3, 3);
this.dataGridView1.DataSource = this.itemBindingSource; dataGridView1.Margin = new Padding(3, 4, 3, 4);
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; dataGridView1.Name = "dataGridView1";
this.dataGridView1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); dataGridView1.RowHeadersBorderStyle = DataGridViewHeaderBorderStyle.Single;
this.dataGridView1.Location = new System.Drawing.Point(3, 3); dataGridView1.RowHeadersWidthSizeMode = DataGridViewRowHeadersWidthSizeMode.DisableResizing;
this.dataGridView1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); dataGridView1.RowTemplate.Height = 26;
this.dataGridView1.Name = "dataGridView1"; dataGridView1.Size = new Size(806, 573);
this.dataGridView1.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; dataGridView1.TabIndex = 11;
this.dataGridView1.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; dataGridView1.CellEndEdit += dataGridView1_CellEndEdit;
this.dataGridView1.RowTemplate.Height = 26; dataGridView1.CellValidated += dataGridView1_CellEndEdit;
this.dataGridView1.Size = new System.Drawing.Size(757, 533); dataGridView1.DataError += dataGridView1_DataError;
this.dataGridView1.TabIndex = 11;
this.dataGridView1.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellEndEdit);
this.dataGridView1.CellValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellEndEdit);
this.dataGridView1.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dataGridView1_DataError);
// //
// nameDataGridViewTextBoxColumn // nameDataGridViewTextBoxColumn
// //
this.nameDataGridViewTextBoxColumn.DataPropertyName = "Name"; nameDataGridViewTextBoxColumn.DataPropertyName = "Name";
this.nameDataGridViewTextBoxColumn.HeaderText = "Name"; nameDataGridViewTextBoxColumn.HeaderText = "Name";
this.nameDataGridViewTextBoxColumn.Name = "nameDataGridViewTextBoxColumn"; nameDataGridViewTextBoxColumn.Name = "nameDataGridViewTextBoxColumn";
this.nameDataGridViewTextBoxColumn.Width = 200; nameDataGridViewTextBoxColumn.Width = 200;
// //
// lengthDataGridViewTextBoxColumn // lengthDataGridViewTextBoxColumn
// //
this.lengthDataGridViewTextBoxColumn.DataPropertyName = "LengthInputValue"; lengthDataGridViewTextBoxColumn.DataPropertyName = "LengthInputValue";
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; dataGridViewCellStyle1.Alignment = DataGridViewContentAlignment.MiddleRight;
this.lengthDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle5; lengthDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
this.lengthDataGridViewTextBoxColumn.HeaderText = "Length"; lengthDataGridViewTextBoxColumn.HeaderText = "Length";
this.lengthDataGridViewTextBoxColumn.Name = "lengthDataGridViewTextBoxColumn"; lengthDataGridViewTextBoxColumn.Name = "lengthDataGridViewTextBoxColumn";
this.lengthDataGridViewTextBoxColumn.Width = 120; lengthDataGridViewTextBoxColumn.Width = 120;
// //
// quantityDataGridViewTextBoxColumn // quantityDataGridViewTextBoxColumn
// //
this.quantityDataGridViewTextBoxColumn.DataPropertyName = "Quantity"; quantityDataGridViewTextBoxColumn.DataPropertyName = "Quantity";
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; dataGridViewCellStyle2.Alignment = DataGridViewContentAlignment.MiddleRight;
this.quantityDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle6; quantityDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2;
this.quantityDataGridViewTextBoxColumn.HeaderText = "Qty"; quantityDataGridViewTextBoxColumn.HeaderText = "Qty";
this.quantityDataGridViewTextBoxColumn.Name = "quantityDataGridViewTextBoxColumn"; quantityDataGridViewTextBoxColumn.Name = "quantityDataGridViewTextBoxColumn";
this.quantityDataGridViewTextBoxColumn.Width = 50; quantityDataGridViewTextBoxColumn.Width = 50;
// //
// TotalLength // TotalLength
// //
this.TotalLength.DataPropertyName = "TotalLengthString"; TotalLength.DataPropertyName = "TotalLengthString";
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; dataGridViewCellStyle3.Alignment = DataGridViewContentAlignment.MiddleRight;
dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Info; dataGridViewCellStyle3.BackColor = SystemColors.Info;
dataGridViewCellStyle7.Format = "N3"; dataGridViewCellStyle3.Format = "N3";
this.TotalLength.DefaultCellStyle = dataGridViewCellStyle7; TotalLength.DefaultCellStyle = dataGridViewCellStyle3;
this.TotalLength.HeaderText = "Total Length"; TotalLength.HeaderText = "Total Length";
this.TotalLength.Name = "TotalLength"; TotalLength.Name = "TotalLength";
this.TotalLength.ReadOnly = true; TotalLength.ReadOnly = true;
this.TotalLength.Width = 150; TotalLength.Width = 150;
// //
// itemBindingSource // itemBindingSource
// //
this.itemBindingSource.DataSource = typeof(CutList.Models.PartInputItem); itemBindingSource.DataSource = typeof(Models.PartInputItem);
// //
// toolStrip1 // toolStrip1
// //
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { toolStrip1.Items.AddRange(new ToolStripItem[] { newDocumentButton, openFileButton, saveButton, toolStripSeparator1, runButton, loadExampleDataButton });
this.newDocumentButton, toolStrip1.Location = new Point(0, 0);
this.openFileButton, toolStrip1.Name = "toolStrip1";
this.saveButton, toolStrip1.Size = new Size(844, 39);
this.toolStripSeparator1, toolStrip1.TabIndex = 0;
this.runButton, toolStrip1.Text = "toolStrip1";
this.loadExampleDataButton});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(795, 39);
this.toolStrip1.TabIndex = 0;
this.toolStrip1.Text = "toolStrip1";
// //
// newDocumentButton // newDocumentButton
// //
this.newDocumentButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; newDocumentButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
this.newDocumentButton.Image = global::CutList.Properties.Resources.gnome_document_new; newDocumentButton.Image = Properties.Resources.gnome_document_new;
this.newDocumentButton.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; newDocumentButton.ImageScaling = ToolStripItemImageScaling.None;
this.newDocumentButton.ImageTransparentColor = System.Drawing.Color.Magenta; newDocumentButton.ImageTransparentColor = Color.Magenta;
this.newDocumentButton.Name = "newDocumentButton"; newDocumentButton.Name = "newDocumentButton";
this.newDocumentButton.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); newDocumentButton.Padding = new Padding(5, 0, 5, 0);
this.newDocumentButton.Size = new System.Drawing.Size(46, 36); newDocumentButton.Size = new Size(46, 36);
this.newDocumentButton.Text = "New"; newDocumentButton.Text = "New";
this.newDocumentButton.Click += new System.EventHandler(this.newDocumentButton_Click); newDocumentButton.Click += newDocumentButton_Click;
// //
// openFileButton // openFileButton
// //
this.openFileButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; openFileButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
this.openFileButton.Image = global::CutList.Properties.Resources.Open_Folder_32; openFileButton.Image = Properties.Resources.Open_Folder_32;
this.openFileButton.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; openFileButton.ImageScaling = ToolStripItemImageScaling.None;
this.openFileButton.ImageTransparentColor = System.Drawing.Color.Magenta; openFileButton.ImageTransparentColor = Color.Magenta;
this.openFileButton.Name = "openFileButton"; openFileButton.Name = "openFileButton";
this.openFileButton.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); openFileButton.Padding = new Padding(5, 0, 5, 0);
this.openFileButton.Size = new System.Drawing.Size(46, 36); openFileButton.Size = new Size(46, 36);
this.openFileButton.Text = "Open"; openFileButton.Text = "Open";
this.openFileButton.Click += new System.EventHandler(this.openFileButton_Click); openFileButton.Click += openFileButton_Click;
// //
// saveButton // saveButton
// //
this.saveButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; saveButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
this.saveButton.Image = global::CutList.Properties.Resources.Save_32; saveButton.Image = Properties.Resources.Save_32;
this.saveButton.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; saveButton.ImageScaling = ToolStripItemImageScaling.None;
this.saveButton.ImageTransparentColor = System.Drawing.Color.Magenta; saveButton.ImageTransparentColor = Color.Magenta;
this.saveButton.Name = "saveButton"; saveButton.Name = "saveButton";
this.saveButton.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); saveButton.Padding = new Padding(5, 0, 5, 0);
this.saveButton.Size = new System.Drawing.Size(46, 36); saveButton.Size = new Size(46, 36);
this.saveButton.Text = "Save"; saveButton.Text = "Save";
this.saveButton.Click += new System.EventHandler(this.saveButton_Click); saveButton.Click += saveButton_Click;
// //
// toolStripSeparator1 // toolStripSeparator1
// //
this.toolStripSeparator1.Name = "toolStripSeparator1"; toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 39); toolStripSeparator1.Size = new Size(6, 39);
// //
// runButton // runButton
// //
this.runButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; runButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
this.runButton.Image = global::CutList.Properties.Resources.Circled_Play_32; runButton.Image = Properties.Resources.Circled_Play_32;
this.runButton.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; runButton.ImageScaling = ToolStripItemImageScaling.None;
this.runButton.ImageTransparentColor = System.Drawing.Color.Magenta; runButton.ImageTransparentColor = Color.Magenta;
this.runButton.Name = "runButton"; runButton.Name = "runButton";
this.runButton.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); runButton.Padding = new Padding(5, 0, 5, 0);
this.runButton.Size = new System.Drawing.Size(46, 36); runButton.Size = new Size(46, 36);
this.runButton.Text = "Run"; runButton.Text = "Run";
this.runButton.Click += new System.EventHandler(this.runButton_Click); runButton.Click += runButton_Click;
// //
// loadExampleDataButton // loadExampleDataButton
// //
this.loadExampleDataButton.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; loadExampleDataButton.Alignment = ToolStripItemAlignment.Right;
this.loadExampleDataButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; loadExampleDataButton.DisplayStyle = ToolStripItemDisplayStyle.Text;
this.loadExampleDataButton.ForeColor = System.Drawing.Color.DimGray; loadExampleDataButton.ForeColor = Color.DimGray;
this.loadExampleDataButton.Image = global::CutList.Properties.Resources.Circled_Play_32; loadExampleDataButton.Image = Properties.Resources.Circled_Play_32;
this.loadExampleDataButton.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; loadExampleDataButton.ImageScaling = ToolStripItemImageScaling.None;
this.loadExampleDataButton.ImageTransparentColor = System.Drawing.Color.Magenta; loadExampleDataButton.ImageTransparentColor = Color.Magenta;
this.loadExampleDataButton.Name = "loadExampleDataButton"; loadExampleDataButton.Name = "loadExampleDataButton";
this.loadExampleDataButton.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); loadExampleDataButton.Padding = new Padding(5, 0, 5, 0);
this.loadExampleDataButton.Size = new System.Drawing.Size(121, 36); loadExampleDataButton.Size = new Size(122, 36);
this.loadExampleDataButton.Text = "Load Example Data"; loadExampleDataButton.Text = "Load Example Data";
this.loadExampleDataButton.Click += new System.EventHandler(this.loadExampleDataButton_Click); loadExampleDataButton.Click += loadExampleDataButton_Click;
// //
// cutMethodComboBox // cutMethodComboBox
// //
this.cutMethodComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; cutMethodComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
this.cutMethodComboBox.FormattingEnabled = true; cutMethodComboBox.FormattingEnabled = true;
this.cutMethodComboBox.Location = new System.Drawing.Point(107, 22); cutMethodComboBox.Location = new Point(107, 22);
this.cutMethodComboBox.Name = "cutMethodComboBox"; cutMethodComboBox.Name = "cutMethodComboBox";
this.cutMethodComboBox.Size = new System.Drawing.Size(184, 25); cutMethodComboBox.Size = new Size(184, 25);
this.cutMethodComboBox.TabIndex = 7; cutMethodComboBox.TabIndex = 7;
this.cutMethodComboBox.SelectedIndexChanged += new System.EventHandler(this.cutMethodComboBox_SelectedIndexChanged); cutMethodComboBox.SelectedIndexChanged += cutMethodComboBox_SelectedIndexChanged;
// //
// cutWidthTextBox // cutWidthTextBox
// //
this.cutWidthTextBox.Location = new System.Drawing.Point(107, 53); cutWidthTextBox.Location = new Point(107, 53);
this.cutWidthTextBox.Name = "cutWidthTextBox"; cutWidthTextBox.Name = "cutWidthTextBox";
this.cutWidthTextBox.Size = new System.Drawing.Size(184, 25); cutWidthTextBox.Size = new Size(184, 25);
this.cutWidthTextBox.TabIndex = 9; cutWidthTextBox.TabIndex = 9;
this.cutWidthTextBox.TextChanged += new System.EventHandler(this.cutWidthTextBox_TextChanged); cutWidthTextBox.TextChanged += cutWidthTextBox_TextChanged;
// //
// cutMethodLabel // cutMethodLabel
// //
this.cutMethodLabel.AutoSize = true; cutMethodLabel.AutoSize = true;
this.cutMethodLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); cutMethodLabel.Font = new Font("Segoe UI Semibold", 9.75F, FontStyle.Bold, GraphicsUnit.Point, 0);
this.cutMethodLabel.ForeColor = System.Drawing.Color.Blue; cutMethodLabel.ForeColor = Color.Blue;
this.cutMethodLabel.Location = new System.Drawing.Point(20, 25); cutMethodLabel.Location = new Point(20, 25);
this.cutMethodLabel.Name = "cutMethodLabel"; cutMethodLabel.Name = "cutMethodLabel";
this.cutMethodLabel.Size = new System.Drawing.Size(81, 17); cutMethodLabel.Size = new Size(81, 17);
this.cutMethodLabel.TabIndex = 6; cutMethodLabel.TabIndex = 6;
this.cutMethodLabel.Text = "Cut method"; cutMethodLabel.Text = "Cut method";
// //
// cutWidthLabel // cutWidthLabel
// //
this.cutWidthLabel.AutoSize = true; cutWidthLabel.AutoSize = true;
this.cutWidthLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); cutWidthLabel.Font = new Font("Segoe UI Semibold", 9.75F, FontStyle.Bold, GraphicsUnit.Point, 0);
this.cutWidthLabel.ForeColor = System.Drawing.Color.Blue; cutWidthLabel.ForeColor = Color.Blue;
this.cutWidthLabel.Location = new System.Drawing.Point(34, 56); cutWidthLabel.Location = new Point(34, 56);
this.cutWidthLabel.Name = "cutWidthLabel"; cutWidthLabel.Name = "cutWidthLabel";
this.cutWidthLabel.Size = new System.Drawing.Size(67, 17); cutWidthLabel.Size = new Size(67, 17);
this.cutWidthLabel.TabIndex = 8; cutWidthLabel.TabIndex = 8;
this.cutWidthLabel.Text = "Cut width"; cutWidthLabel.Text = "Cut width";
// //
// tabControl1 // tabControl1
// //
this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) tabControl1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
| System.Windows.Forms.AnchorStyles.Left) tabControl1.Controls.Add(tabPage2);
| System.Windows.Forms.AnchorStyles.Right))); tabControl1.Controls.Add(tabPage1);
this.tabControl1.Controls.Add(this.tabPage2); tabControl1.Location = new Point(12, 42);
this.tabControl1.Controls.Add(this.tabPage1); tabControl1.Name = "tabControl1";
this.tabControl1.Location = new System.Drawing.Point(12, 42); tabControl1.Padding = new Point(20, 3);
this.tabControl1.Name = "tabControl1"; tabControl1.SelectedIndex = 0;
this.tabControl1.Padding = new System.Drawing.Point(20, 3); tabControl1.Size = new Size(820, 609);
this.tabControl1.SelectedIndex = 0; tabControl1.TabIndex = 12;
this.tabControl1.Size = new System.Drawing.Size(771, 569);
this.tabControl1.TabIndex = 12;
// //
// tabPage2 // tabPage2
// //
this.tabPage2.Controls.Add(this.dataGridView1); tabPage2.Controls.Add(dataGridView1);
this.tabPage2.Location = new System.Drawing.Point(4, 26); tabPage2.Location = new Point(4, 26);
this.tabPage2.Name = "tabPage2"; tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3); tabPage2.Padding = new Padding(3);
this.tabPage2.Size = new System.Drawing.Size(763, 539); tabPage2.Size = new Size(812, 579);
this.tabPage2.TabIndex = 1; tabPage2.TabIndex = 1;
this.tabPage2.Text = "ITEMS TO NEST"; tabPage2.Text = "ITEMS TO NEST";
this.tabPage2.UseVisualStyleBackColor = true; tabPage2.UseVisualStyleBackColor = true;
// //
// tabPage1 // tabPage1
// //
this.tabPage1.Controls.Add(this.dataGridView2); tabPage1.Controls.Add(dataGridView2);
this.tabPage1.Controls.Add(this.cutWidthTextBox); tabPage1.Controls.Add(cutWidthTextBox);
this.tabPage1.Controls.Add(this.cutMethodComboBox); tabPage1.Controls.Add(cutMethodComboBox);
this.tabPage1.Controls.Add(this.cutWidthLabel); tabPage1.Controls.Add(cutWidthLabel);
this.tabPage1.Controls.Add(this.cutMethodLabel); tabPage1.Controls.Add(cutMethodLabel);
this.tabPage1.Location = new System.Drawing.Point(4, 22); tabPage1.Location = new Point(4, 26);
this.tabPage1.Name = "tabPage1"; tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3); tabPage1.Padding = new Padding(3);
this.tabPage1.Size = new System.Drawing.Size(848, 469); tabPage1.Size = new Size(812, 579);
this.tabPage1.TabIndex = 0; tabPage1.TabIndex = 0;
this.tabPage1.Text = "STOCK LENGTHS"; tabPage1.Text = "STOCK LENGTHS";
this.tabPage1.UseVisualStyleBackColor = true; tabPage1.UseVisualStyleBackColor = true;
// //
// dataGridView2 // dataGridView2
// //
this.dataGridView2.AllowUserToResizeRows = false; dataGridView2.AllowUserToResizeRows = false;
this.dataGridView2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) dataGridView2.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
| System.Windows.Forms.AnchorStyles.Left) dataGridView2.AutoGenerateColumns = false;
| System.Windows.Forms.AnchorStyles.Right))); dataGridView2.ClipboardCopyMode = DataGridViewClipboardCopyMode.EnableAlwaysIncludeHeaderText;
this.dataGridView2.AutoGenerateColumns = false; dataGridView2.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.Single;
this.dataGridView2.ClipboardCopyMode = System.Windows.Forms.DataGridViewClipboardCopyMode.EnableAlwaysIncludeHeaderText; dataGridView2.ColumnHeadersHeight = 30;
this.dataGridView2.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; dataGridView2.Columns.AddRange(new DataGridViewColumn[] { lengthInputValueDataGridViewTextBoxColumn, quantityDataGridViewTextBoxColumn1, TotalLengthString, priorityDataGridViewTextBoxColumn });
this.dataGridView2.ColumnHeadersHeight = 30; dataGridView2.DataSource = binInputItemBindingSource;
this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { dataGridView2.GridColor = Color.FromArgb(224, 224, 224);
this.lengthInputValueDataGridViewTextBoxColumn, dataGridView2.Location = new Point(6, 103);
this.quantityDataGridViewTextBoxColumn1, dataGridView2.Margin = new Padding(3, 4, 3, 4);
this.TotalLengthString, dataGridView2.Name = "dataGridView2";
this.priorityDataGridViewTextBoxColumn}); dataGridView2.RowHeadersBorderStyle = DataGridViewHeaderBorderStyle.Single;
this.dataGridView2.DataSource = this.binInputItemBindingSource; dataGridView2.RowHeadersWidthSizeMode = DataGridViewRowHeadersWidthSizeMode.DisableResizing;
this.dataGridView2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); dataGridView2.RowTemplate.Height = 26;
this.dataGridView2.Location = new System.Drawing.Point(6, 103); dataGridView2.Size = new Size(800, 467);
this.dataGridView2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); dataGridView2.TabIndex = 12;
this.dataGridView2.Name = "dataGridView2"; dataGridView2.CellEndEdit += dataGridView2_CellEndEdit;
this.dataGridView2.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
this.dataGridView2.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
this.dataGridView2.RowTemplate.Height = 26;
this.dataGridView2.Size = new System.Drawing.Size(836, 327);
this.dataGridView2.TabIndex = 12;
this.dataGridView2.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView2_CellEndEdit);
// //
// lengthInputValueDataGridViewTextBoxColumn // lengthInputValueDataGridViewTextBoxColumn
// //
this.lengthInputValueDataGridViewTextBoxColumn.DataPropertyName = "LengthInputValue"; lengthInputValueDataGridViewTextBoxColumn.DataPropertyName = "LengthInputValue";
this.lengthInputValueDataGridViewTextBoxColumn.HeaderText = "Length"; lengthInputValueDataGridViewTextBoxColumn.HeaderText = "Length";
this.lengthInputValueDataGridViewTextBoxColumn.Name = "lengthInputValueDataGridViewTextBoxColumn"; lengthInputValueDataGridViewTextBoxColumn.Name = "lengthInputValueDataGridViewTextBoxColumn";
// //
// quantityDataGridViewTextBoxColumn1 // quantityDataGridViewTextBoxColumn1
// //
this.quantityDataGridViewTextBoxColumn1.DataPropertyName = "Quantity"; quantityDataGridViewTextBoxColumn1.DataPropertyName = "Quantity";
this.quantityDataGridViewTextBoxColumn1.HeaderText = "Quantity"; quantityDataGridViewTextBoxColumn1.HeaderText = "Quantity";
this.quantityDataGridViewTextBoxColumn1.Name = "quantityDataGridViewTextBoxColumn1"; quantityDataGridViewTextBoxColumn1.Name = "quantityDataGridViewTextBoxColumn1";
// //
// TotalLengthString // TotalLengthString
// //
this.TotalLengthString.DataPropertyName = "TotalLengthString"; TotalLengthString.DataPropertyName = "TotalLengthString";
dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Info; dataGridViewCellStyle4.BackColor = SystemColors.Info;
this.TotalLengthString.DefaultCellStyle = dataGridViewCellStyle8; TotalLengthString.DefaultCellStyle = dataGridViewCellStyle4;
this.TotalLengthString.HeaderText = "Total Length"; TotalLengthString.HeaderText = "Total Length";
this.TotalLengthString.Name = "TotalLengthString"; TotalLengthString.Name = "TotalLengthString";
this.TotalLengthString.ReadOnly = true; TotalLengthString.ReadOnly = true;
// //
// priorityDataGridViewTextBoxColumn // priorityDataGridViewTextBoxColumn
// //
this.priorityDataGridViewTextBoxColumn.DataPropertyName = "Priority"; priorityDataGridViewTextBoxColumn.DataPropertyName = "Priority";
this.priorityDataGridViewTextBoxColumn.HeaderText = "Priority"; priorityDataGridViewTextBoxColumn.HeaderText = "Priority";
this.priorityDataGridViewTextBoxColumn.Name = "priorityDataGridViewTextBoxColumn"; priorityDataGridViewTextBoxColumn.Name = "priorityDataGridViewTextBoxColumn";
// //
// binInputItemBindingSource // binInputItemBindingSource
// //
this.binInputItemBindingSource.DataSource = typeof(CutList.Models.BinInputItem); binInputItemBindingSource.DataSource = typeof(Models.BinInputItem);
// //
// MainForm // MainForm
// //
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; AutoScaleMode = AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(795, 623); ClientSize = new Size(844, 663);
this.Controls.Add(this.tabControl1); Controls.Add(tabControl1);
this.Controls.Add(this.toolStrip1); Controls.Add(toolStrip1);
this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); Font = new Font("Segoe UI", 9.75F, FontStyle.Regular, GraphicsUnit.Point, 0);
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); Margin = new Padding(3, 4, 3, 4);
this.MinimumSize = new System.Drawing.Size(570, 457); MinimumSize = new Size(570, 457);
this.Name = "MainForm"; Name = "MainForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; StartPosition = FormStartPosition.CenterScreen;
this.Text = "Cut List"; Text = "Cut List";
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
((System.ComponentModel.ISupportInitialize)(this.itemBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)itemBindingSource).EndInit();
this.toolStrip1.ResumeLayout(false); toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout(); toolStrip1.PerformLayout();
this.tabControl1.ResumeLayout(false); tabControl1.ResumeLayout(false);
this.tabPage2.ResumeLayout(false); tabPage2.ResumeLayout(false);
this.tabPage1.ResumeLayout(false); tabPage1.ResumeLayout(false);
this.tabPage1.PerformLayout(); tabPage1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)dataGridView2).EndInit();
((System.ComponentModel.ISupportInitialize)(this.binInputItemBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)binInputItemBindingSource).EndInit();
this.ResumeLayout(false); ResumeLayout(false);
this.PerformLayout(); PerformLayout();
} }

View File

@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<root> <root>
<!-- <!--
Microsoft ResX Schema Microsoft ResX Schema
Version 2.0 Version 2.0
The primary goals of this format is to allow a simple XML format The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes various data types are done through the TypeConverter classes
associated with the data types. associated with the data types.
Example: Example:
... ado.net/XML headers & schema ... ... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader> <resheader name="version">2.0</resheader>
@@ -26,36 +26,36 @@
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment> <comment>This is a comment</comment>
</data> </data>
There are any number of "resheader" rows that contain simple There are any number of "resheader" rows that contain simple
name/value pairs. name/value pairs.
Each data row contains a name, and value. The row also contains a Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture. text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the Classes that don't support this are serialized and stored with the
mimetype set. mimetype set.
The mimetype is used for serialized objects, and tells the The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly: extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below. read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64 mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding. : and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64 mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding. : and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64 mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter : using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding. : and then encoded with base64 encoding.
--> -->
@@ -132,10 +132,4 @@
<metadata name="binInputItemBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="binInputItemBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>277, 17</value> <value>277, 17</value>
</metadata> </metadata>
<metadata name="TotalLengthString.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="binInputItemBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>277, 17</value>
</metadata>
</root> </root>