Files
OpenNest/OpenNest/Controls/DrawingSetBrowser.Designer.cs
T
ajandClaude Opus 5.5 27796851f3 feat(desktop): build releases in a panel beside the Drawing Sets lists
The modal release dialog is replaced by ReleasePanel, docked beside the
Library and Sets tabs and shared by both. A double-click or Enter adds a
set at one kit or a library drawing on its own at the entered quantity;
adding one already listed adds to its quantity. Lines are edited in
place with a remove button, and the nests it will make preview live.

Each group now merges into a matching Draft nest by default: the only
one, or the most recently saved of several (chosen in the row); a draft
open in a tab blocks Make Nests instead of making a parallel nest.
Nest after release is remembered per user. Edit Set and Edit Drawing
move to their buttons and right-click menus.

The Drawing Sets window is now an unowned top-level window with its own
taskbar entry and remembered bounds, closed with the main window; a
release not yet made survives closing it, and Make Nests brings the
main window forward. ReleaseSetForm remains as a thin dialog host for
releasing from Nest > Add from Drawing Library.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 21:21:27 -04:00

468 lines
22 KiB
C#

namespace OpenNest.Controls
{
partial class DrawingSetBrowser
{
private System.ComponentModel.IContainer components = null;
protected override void Dispose(bool disposing)
{
if (disposing)
{
session?.Dispose();
if (components != null)
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle rightAligned = new System.Windows.Forms.DataGridViewCellStyle();
layoutTable = new System.Windows.Forms.TableLayoutPanel();
filterTable = new System.Windows.Forms.TableLayoutPanel();
searchLabel = new System.Windows.Forms.Label();
searchBox = new System.Windows.Forms.TextBox();
showArchivedCheckBox = new System.Windows.Forms.CheckBox();
setGrid = new System.Windows.Forms.DataGridView();
nameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
customerColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
membersColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
revisionColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
savedColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
savedByColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
stateColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
notesGroup = new System.Windows.Forms.GroupBox();
notesBox = new System.Windows.Forms.TextBox();
bottomTable = new System.Windows.Forms.TableLayoutPanel();
previousButton = new System.Windows.Forms.Button();
nextButton = new System.Windows.Forms.Button();
summaryLabel = new System.Windows.Forms.Label();
newButton = new System.Windows.Forms.Button();
editButton = new System.Windows.Forms.Button();
previewButton = new System.Windows.Forms.Button();
moreButton = new System.Windows.Forms.Button();
releaseButton = new System.Windows.Forms.Button();
statusLabel = new System.Windows.Forms.Label();
searchTimer = new System.Windows.Forms.Timer(components);
moreMenu = new System.Windows.Forms.ContextMenuStrip(components);
addToReleaseMenuItem = new System.Windows.Forms.ToolStripMenuItem();
editMenuItem = new System.Windows.Forms.ToolStripMenuItem();
editSeparator = new System.Windows.Forms.ToolStripSeparator();
archiveMenuItem = new System.Windows.Forms.ToolStripMenuItem();
historyMenuItem = new System.Windows.Forms.ToolStripMenuItem();
previewMenuItem = new System.Windows.Forms.ToolStripMenuItem();
releasesMenuItem = new System.Windows.Forms.ToolStripMenuItem();
importSeparator = new System.Windows.Forms.ToolStripSeparator();
importBomMenuItem = new System.Windows.Forms.ToolStripMenuItem();
layoutTable.SuspendLayout();
filterTable.SuspendLayout();
((System.ComponentModel.ISupportInitialize)setGrid).BeginInit();
notesGroup.SuspendLayout();
bottomTable.SuspendLayout();
moreMenu.SuspendLayout();
SuspendLayout();
//
// layoutTable
//
layoutTable.ColumnCount = 1;
layoutTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
layoutTable.Controls.Add(filterTable, 0, 0);
layoutTable.Controls.Add(setGrid, 0, 1);
layoutTable.Controls.Add(notesGroup, 0, 2);
layoutTable.Controls.Add(bottomTable, 0, 3);
layoutTable.Controls.Add(statusLabel, 0, 4);
layoutTable.Dock = System.Windows.Forms.DockStyle.Fill;
layoutTable.Location = new System.Drawing.Point(0, 0);
layoutTable.Name = "layoutTable";
layoutTable.Padding = new System.Windows.Forms.Padding(0);
layoutTable.RowCount = 5;
layoutTable.RowStyles.Add(new System.Windows.Forms.RowStyle());
layoutTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
layoutTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 80F));
layoutTable.RowStyles.Add(new System.Windows.Forms.RowStyle());
layoutTable.RowStyles.Add(new System.Windows.Forms.RowStyle());
layoutTable.Size = new System.Drawing.Size(904, 541);
layoutTable.TabIndex = 0;
//
// filterTable
//
filterTable.AutoSize = true;
filterTable.ColumnCount = 4;
filterTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
filterTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 280F));
filterTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
filterTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
filterTable.Controls.Add(searchLabel, 0, 0);
filterTable.Controls.Add(searchBox, 1, 0);
filterTable.Controls.Add(showArchivedCheckBox, 2, 0);
filterTable.Dock = System.Windows.Forms.DockStyle.Fill;
filterTable.Margin = new System.Windows.Forms.Padding(0, 0, 0, 6);
filterTable.Name = "filterTable";
filterTable.RowCount = 1;
filterTable.RowStyles.Add(new System.Windows.Forms.RowStyle());
filterTable.TabIndex = 0;
//
// searchLabel
//
searchLabel.Anchor = System.Windows.Forms.AnchorStyles.Left;
searchLabel.AutoSize = true;
searchLabel.Name = "searchLabel";
searchLabel.TabIndex = 0;
searchLabel.Text = "Search:";
//
// searchBox
//
searchBox.Dock = System.Windows.Forms.DockStyle.Fill;
searchBox.Name = "searchBox";
searchBox.PlaceholderText = "Name, customer or notes";
searchBox.TabIndex = 1;
searchBox.TextChanged += SearchBox_TextChanged;
//
// showArchivedCheckBox
//
showArchivedCheckBox.Anchor = System.Windows.Forms.AnchorStyles.Left;
showArchivedCheckBox.AutoSize = true;
showArchivedCheckBox.Margin = new System.Windows.Forms.Padding(12, 3, 3, 3);
showArchivedCheckBox.Name = "showArchivedCheckBox";
showArchivedCheckBox.TabIndex = 2;
showArchivedCheckBox.Text = "Show archived";
showArchivedCheckBox.UseVisualStyleBackColor = true;
showArchivedCheckBox.CheckedChanged += ShowArchivedCheckBox_CheckedChanged;
//
// setGrid
//
setGrid.AllowUserToAddRows = false;
setGrid.AllowUserToDeleteRows = false;
setGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { nameColumn, customerColumn, membersColumn, revisionColumn, savedColumn, savedByColumn, stateColumn });
setGrid.Dock = System.Windows.Forms.DockStyle.Fill;
setGrid.MultiSelect = true;
setGrid.Name = "setGrid";
setGrid.ReadOnly = true;
setGrid.RowHeadersVisible = false;
setGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
setGrid.StandardTab = true;
setGrid.TabIndex = 1;
setGrid.CellDoubleClick += SetGrid_CellDoubleClick;
setGrid.CellMouseDown += SetGrid_CellMouseDown;
setGrid.ColumnHeaderMouseClick += SetGrid_ColumnHeaderMouseClick;
setGrid.CurrentCellChanged += SetGrid_CurrentCellChanged;
//
// nameColumn
//
nameColumn.HeaderText = "Name";
nameColumn.Name = "nameColumn";
nameColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
nameColumn.Width = 220;
//
// customerColumn
//
customerColumn.HeaderText = "Customer";
customerColumn.Name = "customerColumn";
customerColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
customerColumn.Width = 170;
//
// membersColumn
//
rightAligned.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
membersColumn.DefaultCellStyle = rightAligned;
membersColumn.HeaderText = "Drawings";
membersColumn.Name = "membersColumn";
membersColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
membersColumn.Width = 75;
//
// revisionColumn
//
revisionColumn.DefaultCellStyle = rightAligned;
revisionColumn.HeaderText = "Revision";
revisionColumn.Name = "revisionColumn";
revisionColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
revisionColumn.Width = 70;
//
// savedColumn
//
savedColumn.HeaderText = "Saved";
savedColumn.Name = "savedColumn";
savedColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
savedColumn.Width = 130;
//
// savedByColumn
//
savedByColumn.HeaderText = "Saved by";
savedByColumn.Name = "savedByColumn";
savedByColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
savedByColumn.Width = 110;
//
// stateColumn
//
stateColumn.HeaderText = "State";
stateColumn.Name = "stateColumn";
stateColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
stateColumn.Width = 80;
//
// notesGroup
//
notesGroup.Controls.Add(notesBox);
notesGroup.Dock = System.Windows.Forms.DockStyle.Fill;
notesGroup.Name = "notesGroup";
notesGroup.TabIndex = 2;
notesGroup.TabStop = false;
notesGroup.Text = "Notes";
//
// notesBox
//
notesBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
notesBox.Dock = System.Windows.Forms.DockStyle.Fill;
notesBox.Multiline = true;
notesBox.Name = "notesBox";
notesBox.ReadOnly = true;
notesBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
notesBox.TabIndex = 0;
notesBox.TabStop = false;
//
// bottomTable
//
bottomTable.AutoSize = true;
bottomTable.ColumnCount = 8;
bottomTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
bottomTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
bottomTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
bottomTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
bottomTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
bottomTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
bottomTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
bottomTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
bottomTable.Controls.Add(previousButton, 0, 0);
bottomTable.Controls.Add(nextButton, 1, 0);
bottomTable.Controls.Add(summaryLabel, 2, 0);
bottomTable.Controls.Add(newButton, 3, 0);
bottomTable.Controls.Add(editButton, 4, 0);
bottomTable.Controls.Add(previewButton, 5, 0);
bottomTable.Controls.Add(moreButton, 6, 0);
bottomTable.Controls.Add(releaseButton, 7, 0);
bottomTable.Dock = System.Windows.Forms.DockStyle.Fill;
bottomTable.Margin = new System.Windows.Forms.Padding(0, 6, 0, 0);
bottomTable.Name = "bottomTable";
bottomTable.RowCount = 1;
bottomTable.RowStyles.Add(new System.Windows.Forms.RowStyle());
bottomTable.TabIndex = 3;
//
// previousButton
//
previousButton.AutoSize = true;
previousButton.Name = "previousButton";
previousButton.TabIndex = 0;
previousButton.Text = "< Previous";
previousButton.UseVisualStyleBackColor = true;
previousButton.Click += PreviousButton_Click;
//
// nextButton
//
nextButton.AutoSize = true;
nextButton.Name = "nextButton";
nextButton.TabIndex = 1;
nextButton.Text = "Next >";
nextButton.UseVisualStyleBackColor = true;
nextButton.Click += NextButton_Click;
//
// summaryLabel
//
summaryLabel.Anchor = System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
summaryLabel.AutoEllipsis = true;
summaryLabel.Name = "summaryLabel";
summaryLabel.TabIndex = 2;
//
// newButton
//
newButton.AutoSize = true;
newButton.Margin = new System.Windows.Forms.Padding(12, 3, 3, 3);
newButton.Name = "newButton";
newButton.TabIndex = 3;
newButton.Text = "&New Set...";
newButton.UseVisualStyleBackColor = true;
newButton.Click += NewButton_Click;
//
// editButton
//
editButton.AutoSize = true;
editButton.Enabled = false;
editButton.Name = "editButton";
editButton.TabIndex = 4;
editButton.Text = "&Edit...";
editButton.UseVisualStyleBackColor = true;
editButton.Click += EditButton_Click;
//
// previewButton
//
previewButton.AutoSize = true;
previewButton.Enabled = false;
previewButton.Name = "previewButton";
previewButton.TabIndex = 5;
previewButton.Text = "&Preview...";
previewButton.UseVisualStyleBackColor = true;
previewButton.Click += PreviewButton_Click;
//
// moreButton
//
moreButton.AutoSize = true;
moreButton.Enabled = false;
moreButton.Name = "moreButton";
moreButton.TabIndex = 6;
moreButton.Text = "M&ore ▾";
moreButton.UseVisualStyleBackColor = true;
moreButton.Click += MoreButton_Click;
//
// releaseButton
//
releaseButton.AutoSize = true;
releaseButton.Enabled = false;
releaseButton.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold);
releaseButton.Margin = new System.Windows.Forms.Padding(12, 3, 3, 3);
releaseButton.Name = "releaseButton";
releaseButton.TabIndex = 7;
releaseButton.Text = "&Add to Release";
releaseButton.UseVisualStyleBackColor = true;
releaseButton.Visible = false;
releaseButton.Click += ReleaseButton_Click;
//
// statusLabel
//
statusLabel.AutoEllipsis = true;
statusLabel.Dock = System.Windows.Forms.DockStyle.Fill;
statusLabel.Margin = new System.Windows.Forms.Padding(3, 6, 3, 0);
statusLabel.Name = "statusLabel";
statusLabel.Size = new System.Drawing.Size(100, 20);
statusLabel.TabIndex = 4;
//
// searchTimer
//
searchTimer.Interval = 300;
searchTimer.Tick += SearchTimer_Tick;
//
// moreMenu
//
moreMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { addToReleaseMenuItem, editMenuItem, previewMenuItem, editSeparator, archiveMenuItem, historyMenuItem, releasesMenuItem, importSeparator, importBomMenuItem });
moreMenu.Name = "moreMenu";
moreMenu.Opening += MoreMenu_Opening;
//
// addToReleaseMenuItem
//
addToReleaseMenuItem.Enabled = false;
addToReleaseMenuItem.Name = "addToReleaseMenuItem";
addToReleaseMenuItem.Text = "Add to Re&lease";
addToReleaseMenuItem.Visible = false;
addToReleaseMenuItem.Click += ReleaseButton_Click;
//
// editMenuItem
//
editMenuItem.Enabled = false;
editMenuItem.Name = "editMenuItem";
editMenuItem.Text = "&Edit Set...";
editMenuItem.Click += EditButton_Click;
//
// editSeparator
//
editSeparator.Name = "editSeparator";
//
// previewMenuItem
//
previewMenuItem.Enabled = false;
previewMenuItem.Name = "previewMenuItem";
previewMenuItem.Text = "&Preview...";
previewMenuItem.Click += PreviewButton_Click;
//
// archiveMenuItem
//
archiveMenuItem.Enabled = false;
archiveMenuItem.Name = "archiveMenuItem";
archiveMenuItem.Text = "&Archive";
archiveMenuItem.Click += ArchiveMenuItem_Click;
//
// historyMenuItem
//
historyMenuItem.Enabled = false;
historyMenuItem.Name = "historyMenuItem";
historyMenuItem.Text = "&History...";
historyMenuItem.Click += HistoryMenuItem_Click;
//
// releasesMenuItem
//
releasesMenuItem.Enabled = false;
releasesMenuItem.Name = "releasesMenuItem";
releasesMenuItem.Text = "Relea&ses...";
releasesMenuItem.Click += ReleasesMenuItem_Click;
//
// importSeparator
//
importSeparator.Name = "importSeparator";
//
// importBomMenuItem
//
importBomMenuItem.Enabled = false;
importBomMenuItem.Name = "importBomMenuItem";
importBomMenuItem.Text = "&Import BOM...";
importBomMenuItem.Click += ImportBomMenuItem_Click;
//
// DrawingSetBrowser
//
AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
Controls.Add(layoutTable);
Font = new System.Drawing.Font("Segoe UI", 9.75F);
Name = "DrawingSetBrowser";
Size = new System.Drawing.Size(904, 541);
layoutTable.ResumeLayout(false);
layoutTable.PerformLayout();
filterTable.ResumeLayout(false);
filterTable.PerformLayout();
((System.ComponentModel.ISupportInitialize)setGrid).EndInit();
notesGroup.ResumeLayout(false);
notesGroup.PerformLayout();
bottomTable.ResumeLayout(false);
bottomTable.PerformLayout();
moreMenu.ResumeLayout(false);
ResumeLayout(false);
}
#endregion
private System.Windows.Forms.TableLayoutPanel layoutTable;
private System.Windows.Forms.TableLayoutPanel filterTable;
private System.Windows.Forms.Label searchLabel;
private System.Windows.Forms.TextBox searchBox;
private System.Windows.Forms.CheckBox showArchivedCheckBox;
private System.Windows.Forms.DataGridView setGrid;
private System.Windows.Forms.DataGridViewTextBoxColumn nameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn customerColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn membersColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn revisionColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn savedColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn savedByColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn stateColumn;
private System.Windows.Forms.GroupBox notesGroup;
private System.Windows.Forms.TextBox notesBox;
private System.Windows.Forms.TableLayoutPanel bottomTable;
private System.Windows.Forms.Button previousButton;
private System.Windows.Forms.Button nextButton;
private System.Windows.Forms.Label summaryLabel;
private System.Windows.Forms.Button newButton;
private System.Windows.Forms.Button editButton;
private System.Windows.Forms.Button previewButton;
private System.Windows.Forms.Button moreButton;
private System.Windows.Forms.Button releaseButton;
private System.Windows.Forms.Label statusLabel;
private System.Windows.Forms.Timer searchTimer;
private System.Windows.Forms.ContextMenuStrip moreMenu;
private System.Windows.Forms.ToolStripMenuItem addToReleaseMenuItem;
private System.Windows.Forms.ToolStripMenuItem editMenuItem;
private System.Windows.Forms.ToolStripSeparator editSeparator;
private System.Windows.Forms.ToolStripMenuItem archiveMenuItem;
private System.Windows.Forms.ToolStripMenuItem historyMenuItem;
private System.Windows.Forms.ToolStripMenuItem previewMenuItem;
private System.Windows.Forms.ToolStripMenuItem releasesMenuItem;
private System.Windows.Forms.ToolStripSeparator importSeparator;
private System.Windows.Forms.ToolStripMenuItem importBomMenuItem;
}
}