diff --git a/OpenNest/Forms/MainForm.Designer.cs b/OpenNest/Forms/MainForm.Designer.cs index 4a030de..6aad83f 100644 --- a/OpenNest/Forms/MainForm.Designer.cs +++ b/OpenNest/Forms/MainForm.Designer.cs @@ -28,1196 +28,1082 @@ /// private void InitializeComponent() { - this.menuStrip1 = new System.Windows.Forms.MenuStrip(); - this.mnuFile = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuFileNew = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuFileOpen = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); - this.mnuFileSave = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuFileSaveAs = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); - this.mnuFileExport = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuFileExportAll = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator(); - this.mnuFileExit = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuEdit = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuEditCut = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuEditCopy = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuEditPaste = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripSeparator(); - this.mnuEditSelectAll = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuView = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuViewDrawRapids = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuViewDrawBounds = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuViewDrawOffset = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripSeparator(); - this.mnuViewZoomTo = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuViewZoomToArea = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuViewZoomToFit = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuViewZoomToPlate = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuViewZoomToSelected = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuViewZoomIn = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuViewZoomOut = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuTools = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuToolsBestFitViewer = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuToolsMeasureArea = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuToolsAlign = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuToolsAlignLeft = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuToolsAlignRight = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuToolsAlignTop = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuToolsAlignBottom = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem11 = new System.Windows.Forms.ToolStripSeparator(); - this.mnuToolsAlignHorizontal = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuToolsAlignVertically = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem8 = new System.Windows.Forms.ToolStripSeparator(); - this.mnuToolsEvenlySpaceHorizontal = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuToolsEvenlySpaceVertical = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem14 = new System.Windows.Forms.ToolStripSeparator(); - this.mnuSetOffsetIncrement = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuSetRotationIncrement = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem15 = new System.Windows.Forms.ToolStripSeparator(); - this.mnuToolsOptions = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuNest = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuNestEdit = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuNestImportDrawing = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem7 = new System.Windows.Forms.ToolStripSeparator(); - this.mnuNestFirstPlate = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuNestLastPlate = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripSeparator(); - this.mnuNestNextPlate = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuNestPreviousPlate = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem12 = new System.Windows.Forms.ToolStripSeparator(); - this.runAutoNestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.autoSequenceAllPlatesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuNestRemoveEmptyPlates = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuNestPost = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem19 = new System.Windows.Forms.ToolStripSeparator(); - this.calculateCutTimeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuPlate = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuPlateEdit = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuPlateSetAsDefault = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem18 = new System.Windows.Forms.ToolStripSeparator(); - this.mnuPlateAdd = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuPlateRemove = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem16 = new System.Windows.Forms.ToolStripSeparator(); - this.mnuPlateFill = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem9 = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuPlateRotate = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuPlateRotateCw = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuPlateRotateCcw = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - this.mnuPlateRotate180 = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuResizeToFitParts = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem13 = new System.Windows.Forms.ToolStripSeparator(); - this.mnuPlateViewInCad = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem20 = new System.Windows.Forms.ToolStripSeparator(); - this.mnuSequenceParts = new System.Windows.Forms.ToolStripMenuItem(); - this.autoSequenceCurrentPlateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.manualSequenceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.calculateCutTimeToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.centerPartsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuWindow = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuWindowCascade = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuWindowTileVertical = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuWindowTileHorizontal = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem10 = new System.Windows.Forms.ToolStripSeparator(); - this.closeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuCloseAll = new System.Windows.Forms.ToolStripMenuItem(); - this.statusStrip1 = new System.Windows.Forms.StatusStrip(); - this.statusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); - this.locationStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); - this.spacerLabel = new System.Windows.Forms.ToolStripStatusLabel(); - this.plateIndexStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); - this.plateSizeStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); - this.plateQtyStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); - this.gpuStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); - this.toolStrip1 = new System.Windows.Forms.ToolStrip(); - this.btnNew = new System.Windows.Forms.ToolStripButton(); - this.btnOpen = new System.Windows.Forms.ToolStripButton(); - this.btnSave = new System.Windows.Forms.ToolStripButton(); - this.btnSaveAs = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.btnFirstPlate = new System.Windows.Forms.ToolStripButton(); - this.btnPreviousPlate = new System.Windows.Forms.ToolStripButton(); - this.btnNextPlate = new System.Windows.Forms.ToolStripButton(); - this.btnLastPlate = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); - this.btnZoomOut = new System.Windows.Forms.ToolStripButton(); - this.btnZoomIn = new System.Windows.Forms.ToolStripButton(); - this.btnZoomToFit = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); - this.engineLabel = new System.Windows.Forms.ToolStripLabel(); - this.engineComboBox = new System.Windows.Forms.ToolStripComboBox(); - this.btnAutoNest = new System.Windows.Forms.ToolStripButton(); - this.pEPToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.openNestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.menuStrip1.SuspendLayout(); - this.statusStrip1.SuspendLayout(); - this.toolStrip1.SuspendLayout(); - this.SuspendLayout(); + menuStrip1 = new System.Windows.Forms.MenuStrip(); + mnuFile = new System.Windows.Forms.ToolStripMenuItem(); + mnuFileNew = new System.Windows.Forms.ToolStripMenuItem(); + mnuFileOpen = new System.Windows.Forms.ToolStripMenuItem(); + toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); + mnuFileSave = new System.Windows.Forms.ToolStripMenuItem(); + mnuFileSaveAs = new System.Windows.Forms.ToolStripMenuItem(); + toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); + mnuFileExport = new System.Windows.Forms.ToolStripMenuItem(); + mnuFileExportAll = new System.Windows.Forms.ToolStripMenuItem(); + toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator(); + mnuFileExit = new System.Windows.Forms.ToolStripMenuItem(); + mnuEdit = new System.Windows.Forms.ToolStripMenuItem(); + mnuEditCut = new System.Windows.Forms.ToolStripMenuItem(); + mnuEditCopy = new System.Windows.Forms.ToolStripMenuItem(); + mnuEditPaste = new System.Windows.Forms.ToolStripMenuItem(); + toolStripMenuItem4 = new System.Windows.Forms.ToolStripSeparator(); + mnuEditSelectAll = new System.Windows.Forms.ToolStripMenuItem(); + mnuView = new System.Windows.Forms.ToolStripMenuItem(); + mnuViewDrawRapids = new System.Windows.Forms.ToolStripMenuItem(); + mnuViewDrawBounds = new System.Windows.Forms.ToolStripMenuItem(); + mnuViewDrawOffset = new System.Windows.Forms.ToolStripMenuItem(); + toolStripMenuItem5 = new System.Windows.Forms.ToolStripSeparator(); + mnuViewZoomTo = new System.Windows.Forms.ToolStripMenuItem(); + mnuViewZoomToArea = new System.Windows.Forms.ToolStripMenuItem(); + mnuViewZoomToFit = new System.Windows.Forms.ToolStripMenuItem(); + mnuViewZoomToPlate = new System.Windows.Forms.ToolStripMenuItem(); + mnuViewZoomToSelected = new System.Windows.Forms.ToolStripMenuItem(); + mnuViewZoomIn = new System.Windows.Forms.ToolStripMenuItem(); + mnuViewZoomOut = new System.Windows.Forms.ToolStripMenuItem(); + mnuTools = new System.Windows.Forms.ToolStripMenuItem(); + mnuToolsMeasureArea = new System.Windows.Forms.ToolStripMenuItem(); + mnuToolsBestFitViewer = new System.Windows.Forms.ToolStripMenuItem(); + mnuToolsAlign = new System.Windows.Forms.ToolStripMenuItem(); + mnuToolsAlignLeft = new System.Windows.Forms.ToolStripMenuItem(); + mnuToolsAlignRight = new System.Windows.Forms.ToolStripMenuItem(); + mnuToolsAlignTop = new System.Windows.Forms.ToolStripMenuItem(); + mnuToolsAlignBottom = new System.Windows.Forms.ToolStripMenuItem(); + toolStripMenuItem11 = new System.Windows.Forms.ToolStripSeparator(); + mnuToolsAlignHorizontal = new System.Windows.Forms.ToolStripMenuItem(); + mnuToolsAlignVertically = new System.Windows.Forms.ToolStripMenuItem(); + toolStripMenuItem8 = new System.Windows.Forms.ToolStripSeparator(); + mnuToolsEvenlySpaceHorizontal = new System.Windows.Forms.ToolStripMenuItem(); + mnuToolsEvenlySpaceVertical = new System.Windows.Forms.ToolStripMenuItem(); + toolStripMenuItem14 = new System.Windows.Forms.ToolStripSeparator(); + mnuSetOffsetIncrement = new System.Windows.Forms.ToolStripMenuItem(); + mnuSetRotationIncrement = new System.Windows.Forms.ToolStripMenuItem(); + toolStripMenuItem15 = new System.Windows.Forms.ToolStripSeparator(); + mnuToolsOptions = new System.Windows.Forms.ToolStripMenuItem(); + mnuNest = new System.Windows.Forms.ToolStripMenuItem(); + mnuNestEdit = new System.Windows.Forms.ToolStripMenuItem(); + mnuNestImportDrawing = new System.Windows.Forms.ToolStripMenuItem(); + toolStripMenuItem7 = new System.Windows.Forms.ToolStripSeparator(); + mnuNestFirstPlate = new System.Windows.Forms.ToolStripMenuItem(); + mnuNestLastPlate = new System.Windows.Forms.ToolStripMenuItem(); + toolStripMenuItem6 = new System.Windows.Forms.ToolStripSeparator(); + mnuNestNextPlate = new System.Windows.Forms.ToolStripMenuItem(); + mnuNestPreviousPlate = new System.Windows.Forms.ToolStripMenuItem(); + toolStripMenuItem12 = new System.Windows.Forms.ToolStripSeparator(); + runAutoNestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + autoSequenceAllPlatesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + mnuNestRemoveEmptyPlates = new System.Windows.Forms.ToolStripMenuItem(); + mnuNestPost = new System.Windows.Forms.ToolStripMenuItem(); + toolStripMenuItem19 = new System.Windows.Forms.ToolStripSeparator(); + calculateCutTimeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + mnuPlate = new System.Windows.Forms.ToolStripMenuItem(); + mnuPlateEdit = new System.Windows.Forms.ToolStripMenuItem(); + mnuPlateSetAsDefault = new System.Windows.Forms.ToolStripMenuItem(); + toolStripMenuItem18 = new System.Windows.Forms.ToolStripSeparator(); + mnuPlateAdd = new System.Windows.Forms.ToolStripMenuItem(); + mnuPlateRemove = new System.Windows.Forms.ToolStripMenuItem(); + toolStripMenuItem16 = new System.Windows.Forms.ToolStripSeparator(); + mnuPlateFill = new System.Windows.Forms.ToolStripMenuItem(); + toolStripMenuItem9 = new System.Windows.Forms.ToolStripMenuItem(); + mnuPlateRotate = new System.Windows.Forms.ToolStripMenuItem(); + mnuPlateRotateCw = new System.Windows.Forms.ToolStripMenuItem(); + mnuPlateRotateCcw = new System.Windows.Forms.ToolStripMenuItem(); + toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + mnuPlateRotate180 = new System.Windows.Forms.ToolStripMenuItem(); + mnuResizeToFitParts = new System.Windows.Forms.ToolStripMenuItem(); + toolStripMenuItem13 = new System.Windows.Forms.ToolStripSeparator(); + mnuPlateViewInCad = new System.Windows.Forms.ToolStripMenuItem(); + toolStripMenuItem20 = new System.Windows.Forms.ToolStripSeparator(); + mnuSequenceParts = new System.Windows.Forms.ToolStripMenuItem(); + autoSequenceCurrentPlateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + manualSequenceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + calculateCutTimeToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + centerPartsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + mnuWindow = new System.Windows.Forms.ToolStripMenuItem(); + mnuWindowCascade = new System.Windows.Forms.ToolStripMenuItem(); + mnuWindowTileVertical = new System.Windows.Forms.ToolStripMenuItem(); + mnuWindowTileHorizontal = new System.Windows.Forms.ToolStripMenuItem(); + toolStripMenuItem10 = new System.Windows.Forms.ToolStripSeparator(); + closeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + mnuCloseAll = new System.Windows.Forms.ToolStripMenuItem(); + statusStrip1 = new System.Windows.Forms.StatusStrip(); + statusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); + locationStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); + spacerLabel = new System.Windows.Forms.ToolStripStatusLabel(); + plateIndexStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); + plateSizeStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); + plateQtyStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); + gpuStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); + toolStrip1 = new System.Windows.Forms.ToolStrip(); + btnNew = new System.Windows.Forms.ToolStripButton(); + btnOpen = new System.Windows.Forms.ToolStripButton(); + btnSave = new System.Windows.Forms.ToolStripButton(); + btnSaveAs = new System.Windows.Forms.ToolStripButton(); + toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + btnFirstPlate = new System.Windows.Forms.ToolStripButton(); + btnPreviousPlate = new System.Windows.Forms.ToolStripButton(); + btnNextPlate = new System.Windows.Forms.ToolStripButton(); + btnLastPlate = new System.Windows.Forms.ToolStripButton(); + toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + btnZoomOut = new System.Windows.Forms.ToolStripButton(); + btnZoomIn = new System.Windows.Forms.ToolStripButton(); + btnZoomToFit = new System.Windows.Forms.ToolStripButton(); + toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + engineLabel = new System.Windows.Forms.ToolStripLabel(); + engineComboBox = new System.Windows.Forms.ToolStripComboBox(); + btnAutoNest = new System.Windows.Forms.ToolStripButton(); + pEPToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + openNestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + menuStrip1.SuspendLayout(); + statusStrip1.SuspendLayout(); + toolStrip1.SuspendLayout(); + SuspendLayout(); // // menuStrip1 // - this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mnuFile, - this.mnuEdit, - this.mnuView, - this.mnuTools, - this.mnuNest, - this.mnuPlate, - this.mnuWindow}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); - this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(1098, 24); - this.menuStrip1.TabIndex = 7; - this.menuStrip1.Text = "menuStrip1"; + menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { mnuFile, mnuEdit, mnuView, mnuTools, mnuNest, mnuPlate, mnuWindow }); + menuStrip1.Location = new System.Drawing.Point(0, 0); + menuStrip1.Name = "menuStrip1"; + menuStrip1.Padding = new System.Windows.Forms.Padding(7, 2, 0, 2); + menuStrip1.Size = new System.Drawing.Size(1281, 24); + menuStrip1.TabIndex = 7; + menuStrip1.Text = "menuStrip1"; // // mnuFile // - this.mnuFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mnuFileNew, - this.mnuFileOpen, - this.toolStripMenuItem1, - this.mnuFileSave, - this.mnuFileSaveAs, - this.toolStripMenuItem2, - this.mnuFileExport, - this.mnuFileExportAll, - this.toolStripMenuItem3, - this.mnuFileExit}); - this.mnuFile.Name = "mnuFile"; - this.mnuFile.Size = new System.Drawing.Size(37, 20); - this.mnuFile.Text = "&File"; + mnuFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { mnuFileNew, mnuFileOpen, toolStripMenuItem1, mnuFileSave, mnuFileSaveAs, toolStripMenuItem2, mnuFileExport, mnuFileExportAll, toolStripMenuItem3, mnuFileExit }); + mnuFile.Name = "mnuFile"; + mnuFile.Size = new System.Drawing.Size(37, 20); + mnuFile.Text = "&File"; // // mnuFileNew // - this.mnuFileNew.Image = global::OpenNest.Properties.Resources.doc_new; - this.mnuFileNew.Name = "mnuFileNew"; - this.mnuFileNew.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N))); - this.mnuFileNew.Size = new System.Drawing.Size(146, 22); - this.mnuFileNew.Text = "New"; - this.mnuFileNew.Click += new System.EventHandler(this.New_Click); + mnuFileNew.Image = Properties.Resources.doc_new; + mnuFileNew.Name = "mnuFileNew"; + mnuFileNew.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N; + mnuFileNew.Size = new System.Drawing.Size(146, 22); + mnuFileNew.Text = "New"; + mnuFileNew.Click += New_Click; // // mnuFileOpen // - this.mnuFileOpen.Image = global::OpenNest.Properties.Resources.doc_open; - this.mnuFileOpen.Name = "mnuFileOpen"; - this.mnuFileOpen.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); - this.mnuFileOpen.Size = new System.Drawing.Size(146, 22); - this.mnuFileOpen.Text = "Open"; - this.mnuFileOpen.Click += new System.EventHandler(this.Open_Click); + mnuFileOpen.Image = Properties.Resources.doc_open; + mnuFileOpen.Name = "mnuFileOpen"; + mnuFileOpen.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O; + mnuFileOpen.Size = new System.Drawing.Size(146, 22); + mnuFileOpen.Text = "Open"; + mnuFileOpen.Click += Open_Click; // // toolStripMenuItem1 // - this.toolStripMenuItem1.Name = "toolStripMenuItem1"; - this.toolStripMenuItem1.Size = new System.Drawing.Size(143, 6); + toolStripMenuItem1.Name = "toolStripMenuItem1"; + toolStripMenuItem1.Size = new System.Drawing.Size(143, 6); // // mnuFileSave // - this.mnuFileSave.Enabled = false; - this.mnuFileSave.Image = global::OpenNest.Properties.Resources.save; - this.mnuFileSave.Name = "mnuFileSave"; - this.mnuFileSave.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); - this.mnuFileSave.Size = new System.Drawing.Size(146, 22); - this.mnuFileSave.Text = "Save"; - this.mnuFileSave.Click += new System.EventHandler(this.Save_Click); + mnuFileSave.Enabled = false; + mnuFileSave.Image = Properties.Resources.save; + mnuFileSave.Name = "mnuFileSave"; + mnuFileSave.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S; + mnuFileSave.Size = new System.Drawing.Size(146, 22); + mnuFileSave.Text = "Save"; + mnuFileSave.Click += Save_Click; // // mnuFileSaveAs // - this.mnuFileSaveAs.Enabled = false; - this.mnuFileSaveAs.Image = global::OpenNest.Properties.Resources.save_as; - this.mnuFileSaveAs.Name = "mnuFileSaveAs"; - this.mnuFileSaveAs.Size = new System.Drawing.Size(146, 22); - this.mnuFileSaveAs.Text = "Save As"; - this.mnuFileSaveAs.Click += new System.EventHandler(this.SaveAs_Click); + mnuFileSaveAs.Enabled = false; + mnuFileSaveAs.Image = Properties.Resources.save_as; + mnuFileSaveAs.Name = "mnuFileSaveAs"; + mnuFileSaveAs.Size = new System.Drawing.Size(146, 22); + mnuFileSaveAs.Text = "Save As"; + mnuFileSaveAs.Click += SaveAs_Click; // // toolStripMenuItem2 // - this.toolStripMenuItem2.Name = "toolStripMenuItem2"; - this.toolStripMenuItem2.Size = new System.Drawing.Size(143, 6); + toolStripMenuItem2.Name = "toolStripMenuItem2"; + toolStripMenuItem2.Size = new System.Drawing.Size(143, 6); // // mnuFileExport // - this.mnuFileExport.Name = "mnuFileExport"; - this.mnuFileExport.Size = new System.Drawing.Size(146, 22); - this.mnuFileExport.Text = "Export"; - this.mnuFileExport.Click += new System.EventHandler(this.Export_Click); + mnuFileExport.Name = "mnuFileExport"; + mnuFileExport.Size = new System.Drawing.Size(146, 22); + mnuFileExport.Text = "Export"; + mnuFileExport.Click += Export_Click; // // mnuFileExportAll // - this.mnuFileExportAll.Name = "mnuFileExportAll"; - this.mnuFileExportAll.Size = new System.Drawing.Size(146, 22); - this.mnuFileExportAll.Text = "Export All"; - this.mnuFileExportAll.Click += new System.EventHandler(this.ExportAll_Click); + mnuFileExportAll.Name = "mnuFileExportAll"; + mnuFileExportAll.Size = new System.Drawing.Size(146, 22); + mnuFileExportAll.Text = "Export All"; + mnuFileExportAll.Click += ExportAll_Click; // // toolStripMenuItem3 // - this.toolStripMenuItem3.Name = "toolStripMenuItem3"; - this.toolStripMenuItem3.Size = new System.Drawing.Size(143, 6); + toolStripMenuItem3.Name = "toolStripMenuItem3"; + toolStripMenuItem3.Size = new System.Drawing.Size(143, 6); // // mnuFileExit // - this.mnuFileExit.Name = "mnuFileExit"; - this.mnuFileExit.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Q))); - this.mnuFileExit.Size = new System.Drawing.Size(146, 22); - this.mnuFileExit.Text = "Exit"; - this.mnuFileExit.Click += new System.EventHandler(this.Exit_Click); + mnuFileExit.Name = "mnuFileExit"; + mnuFileExit.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Q; + mnuFileExit.Size = new System.Drawing.Size(146, 22); + mnuFileExit.Text = "Exit"; + mnuFileExit.Click += Exit_Click; // // mnuEdit // - this.mnuEdit.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mnuEditCut, - this.mnuEditCopy, - this.mnuEditPaste, - this.toolStripMenuItem4, - this.mnuEditSelectAll}); - this.mnuEdit.Name = "mnuEdit"; - this.mnuEdit.Size = new System.Drawing.Size(39, 20); - this.mnuEdit.Text = "&Edit"; + mnuEdit.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { mnuEditCut, mnuEditCopy, mnuEditPaste, toolStripMenuItem4, mnuEditSelectAll }); + mnuEdit.Name = "mnuEdit"; + mnuEdit.Size = new System.Drawing.Size(39, 20); + mnuEdit.Text = "&Edit"; // // mnuEditCut // - this.mnuEditCut.Name = "mnuEditCut"; - this.mnuEditCut.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X))); - this.mnuEditCut.Size = new System.Drawing.Size(164, 22); - this.mnuEditCut.Text = "Cut"; - this.mnuEditCut.Click += new System.EventHandler(this.EditCut_Click); + mnuEditCut.Name = "mnuEditCut"; + mnuEditCut.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X; + mnuEditCut.Size = new System.Drawing.Size(164, 22); + mnuEditCut.Text = "Cut"; + mnuEditCut.Click += EditCut_Click; // // mnuEditCopy // - this.mnuEditCopy.Name = "mnuEditCopy"; - this.mnuEditCopy.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); - this.mnuEditCopy.Size = new System.Drawing.Size(164, 22); - this.mnuEditCopy.Text = "Copy"; - this.mnuEditCopy.Click += new System.EventHandler(this.EditCopy_Click); + mnuEditCopy.Name = "mnuEditCopy"; + mnuEditCopy.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C; + mnuEditCopy.Size = new System.Drawing.Size(164, 22); + mnuEditCopy.Text = "Copy"; + mnuEditCopy.Click += EditCopy_Click; // // mnuEditPaste // - this.mnuEditPaste.Enabled = false; - this.mnuEditPaste.Name = "mnuEditPaste"; - this.mnuEditPaste.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V))); - this.mnuEditPaste.Size = new System.Drawing.Size(164, 22); - this.mnuEditPaste.Text = "Paste"; - this.mnuEditPaste.Visible = false; - this.mnuEditPaste.Click += new System.EventHandler(this.EditPaste_Click); + mnuEditPaste.Enabled = false; + mnuEditPaste.Name = "mnuEditPaste"; + mnuEditPaste.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V; + mnuEditPaste.Size = new System.Drawing.Size(164, 22); + mnuEditPaste.Text = "Paste"; + mnuEditPaste.Visible = false; + mnuEditPaste.Click += EditPaste_Click; // // toolStripMenuItem4 // - this.toolStripMenuItem4.Name = "toolStripMenuItem4"; - this.toolStripMenuItem4.Size = new System.Drawing.Size(161, 6); + toolStripMenuItem4.Name = "toolStripMenuItem4"; + toolStripMenuItem4.Size = new System.Drawing.Size(161, 6); // // mnuEditSelectAll // - this.mnuEditSelectAll.Name = "mnuEditSelectAll"; - this.mnuEditSelectAll.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A))); - this.mnuEditSelectAll.Size = new System.Drawing.Size(164, 22); - this.mnuEditSelectAll.Text = "Select All"; - this.mnuEditSelectAll.Click += new System.EventHandler(this.EditSelectAll_Click); + mnuEditSelectAll.Name = "mnuEditSelectAll"; + mnuEditSelectAll.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A; + mnuEditSelectAll.Size = new System.Drawing.Size(164, 22); + mnuEditSelectAll.Text = "Select All"; + mnuEditSelectAll.Click += EditSelectAll_Click; // // mnuView // - this.mnuView.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mnuViewDrawRapids, - this.mnuViewDrawBounds, - this.mnuViewDrawOffset, - this.toolStripMenuItem5, - this.mnuViewZoomTo, - this.mnuViewZoomIn, - this.mnuViewZoomOut}); - this.mnuView.Name = "mnuView"; - this.mnuView.Size = new System.Drawing.Size(44, 20); - this.mnuView.Text = "&View"; + mnuView.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { mnuViewDrawRapids, mnuViewDrawBounds, mnuViewDrawOffset, toolStripMenuItem5, mnuViewZoomTo, mnuViewZoomIn, mnuViewZoomOut }); + mnuView.Name = "mnuView"; + mnuView.Size = new System.Drawing.Size(44, 20); + mnuView.Text = "&View"; // // mnuViewDrawRapids // - this.mnuViewDrawRapids.Name = "mnuViewDrawRapids"; - this.mnuViewDrawRapids.Size = new System.Drawing.Size(222, 22); - this.mnuViewDrawRapids.Text = "Draw Rapids"; - this.mnuViewDrawRapids.Click += new System.EventHandler(this.ToggleDrawRapids_Click); + mnuViewDrawRapids.Name = "mnuViewDrawRapids"; + mnuViewDrawRapids.Size = new System.Drawing.Size(222, 22); + mnuViewDrawRapids.Text = "Draw Rapids"; + mnuViewDrawRapids.Click += ToggleDrawRapids_Click; // // mnuViewDrawBounds // - this.mnuViewDrawBounds.CheckOnClick = true; - this.mnuViewDrawBounds.Name = "mnuViewDrawBounds"; - this.mnuViewDrawBounds.Size = new System.Drawing.Size(222, 22); - this.mnuViewDrawBounds.Text = "Draw Bounds"; - this.mnuViewDrawBounds.Click += new System.EventHandler(this.ToggleDrawBounds_Click); - // + mnuViewDrawBounds.CheckOnClick = true; + mnuViewDrawBounds.Name = "mnuViewDrawBounds"; + mnuViewDrawBounds.Size = new System.Drawing.Size(222, 22); + mnuViewDrawBounds.Text = "Draw Bounds"; + mnuViewDrawBounds.Click += ToggleDrawBounds_Click; + // // mnuViewDrawOffset - // - this.mnuViewDrawOffset.CheckOnClick = true; - this.mnuViewDrawOffset.Name = "mnuViewDrawOffset"; - this.mnuViewDrawOffset.Size = new System.Drawing.Size(222, 22); - this.mnuViewDrawOffset.Text = "Draw Offset"; - this.mnuViewDrawOffset.Click += new System.EventHandler(this.ToggleDrawOffset_Click); - // + // + mnuViewDrawOffset.CheckOnClick = true; + mnuViewDrawOffset.Name = "mnuViewDrawOffset"; + mnuViewDrawOffset.Size = new System.Drawing.Size(222, 22); + mnuViewDrawOffset.Text = "Draw Offset"; + mnuViewDrawOffset.Click += ToggleDrawOffset_Click; + // // toolStripMenuItem5 // - this.toolStripMenuItem5.Name = "toolStripMenuItem5"; - this.toolStripMenuItem5.Size = new System.Drawing.Size(219, 6); + toolStripMenuItem5.Name = "toolStripMenuItem5"; + toolStripMenuItem5.Size = new System.Drawing.Size(219, 6); // // mnuViewZoomTo // - this.mnuViewZoomTo.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mnuViewZoomToArea, - this.mnuViewZoomToFit, - this.mnuViewZoomToPlate, - this.mnuViewZoomToSelected}); - this.mnuViewZoomTo.Name = "mnuViewZoomTo"; - this.mnuViewZoomTo.Size = new System.Drawing.Size(222, 22); - this.mnuViewZoomTo.Text = "Zoom To"; + mnuViewZoomTo.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { mnuViewZoomToArea, mnuViewZoomToFit, mnuViewZoomToPlate, mnuViewZoomToSelected }); + mnuViewZoomTo.Name = "mnuViewZoomTo"; + mnuViewZoomTo.Size = new System.Drawing.Size(222, 22); + mnuViewZoomTo.Text = "Zoom To"; // // mnuViewZoomToArea // - this.mnuViewZoomToArea.Name = "mnuViewZoomToArea"; - this.mnuViewZoomToArea.Size = new System.Drawing.Size(118, 22); - this.mnuViewZoomToArea.Text = "Area"; - this.mnuViewZoomToArea.Click += new System.EventHandler(this.ZoomToArea_Click); + mnuViewZoomToArea.Name = "mnuViewZoomToArea"; + mnuViewZoomToArea.Size = new System.Drawing.Size(118, 22); + mnuViewZoomToArea.Text = "Area"; + mnuViewZoomToArea.Click += ZoomToArea_Click; // // mnuViewZoomToFit // - this.mnuViewZoomToFit.Image = global::OpenNest.Properties.Resources.zoom_all; - this.mnuViewZoomToFit.Name = "mnuViewZoomToFit"; - this.mnuViewZoomToFit.Size = new System.Drawing.Size(118, 22); - this.mnuViewZoomToFit.Text = "Fit"; - this.mnuViewZoomToFit.Click += new System.EventHandler(this.ZoomToFit_Click); + mnuViewZoomToFit.Image = Properties.Resources.zoom_all; + mnuViewZoomToFit.Name = "mnuViewZoomToFit"; + mnuViewZoomToFit.Size = new System.Drawing.Size(118, 22); + mnuViewZoomToFit.Text = "Fit"; + mnuViewZoomToFit.Click += ZoomToFit_Click; // // mnuViewZoomToPlate // - this.mnuViewZoomToPlate.Name = "mnuViewZoomToPlate"; - this.mnuViewZoomToPlate.Size = new System.Drawing.Size(118, 22); - this.mnuViewZoomToPlate.Text = "Plate"; - this.mnuViewZoomToPlate.Click += new System.EventHandler(this.ZoomToPlate_Click); + mnuViewZoomToPlate.Name = "mnuViewZoomToPlate"; + mnuViewZoomToPlate.Size = new System.Drawing.Size(118, 22); + mnuViewZoomToPlate.Text = "Plate"; + mnuViewZoomToPlate.Click += ZoomToPlate_Click; // // mnuViewZoomToSelected // - this.mnuViewZoomToSelected.Name = "mnuViewZoomToSelected"; - this.mnuViewZoomToSelected.Size = new System.Drawing.Size(118, 22); - this.mnuViewZoomToSelected.Text = "Selected"; - this.mnuViewZoomToSelected.Click += new System.EventHandler(this.ZoomToSelected_Click); + mnuViewZoomToSelected.Name = "mnuViewZoomToSelected"; + mnuViewZoomToSelected.Size = new System.Drawing.Size(118, 22); + mnuViewZoomToSelected.Text = "Selected"; + mnuViewZoomToSelected.Click += ZoomToSelected_Click; // // mnuViewZoomIn // - this.mnuViewZoomIn.Image = global::OpenNest.Properties.Resources.zoom_in; - this.mnuViewZoomIn.Name = "mnuViewZoomIn"; - this.mnuViewZoomIn.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Oemplus))); - this.mnuViewZoomIn.Size = new System.Drawing.Size(222, 22); - this.mnuViewZoomIn.Text = "Zoom In"; - this.mnuViewZoomIn.Click += new System.EventHandler(this.ZoomIn_Click); + mnuViewZoomIn.Image = Properties.Resources.zoom_in; + mnuViewZoomIn.Name = "mnuViewZoomIn"; + mnuViewZoomIn.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Oemplus; + mnuViewZoomIn.Size = new System.Drawing.Size(222, 22); + mnuViewZoomIn.Text = "Zoom In"; + mnuViewZoomIn.Click += ZoomIn_Click; // // mnuViewZoomOut // - this.mnuViewZoomOut.Image = global::OpenNest.Properties.Resources.zoom_out; - this.mnuViewZoomOut.Name = "mnuViewZoomOut"; - this.mnuViewZoomOut.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.OemMinus))); - this.mnuViewZoomOut.Size = new System.Drawing.Size(222, 22); - this.mnuViewZoomOut.Text = "Zoom Out"; - this.mnuViewZoomOut.Click += new System.EventHandler(this.ZoomOut_Click); + mnuViewZoomOut.Image = Properties.Resources.zoom_out; + mnuViewZoomOut.Name = "mnuViewZoomOut"; + mnuViewZoomOut.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.OemMinus; + mnuViewZoomOut.Size = new System.Drawing.Size(222, 22); + mnuViewZoomOut.Text = "Zoom Out"; + mnuViewZoomOut.Click += ZoomOut_Click; // // mnuTools // - this.mnuTools.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mnuToolsMeasureArea, - this.mnuToolsBestFitViewer, - this.mnuToolsAlign, - this.toolStripMenuItem14, - this.mnuSetOffsetIncrement, - this.mnuSetRotationIncrement, - this.toolStripMenuItem15, - this.mnuToolsOptions}); - this.mnuTools.Name = "mnuTools"; - this.mnuTools.Size = new System.Drawing.Size(47, 20); - this.mnuTools.Text = "&Tools"; + mnuTools.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { mnuToolsMeasureArea, mnuToolsBestFitViewer, mnuToolsAlign, toolStripMenuItem14, mnuSetOffsetIncrement, mnuSetRotationIncrement, toolStripMenuItem15, mnuToolsOptions }); + mnuTools.Name = "mnuTools"; + mnuTools.Size = new System.Drawing.Size(47, 20); + mnuTools.Text = "&Tools"; // // mnuToolsMeasureArea // - this.mnuToolsMeasureArea.Name = "mnuToolsMeasureArea"; - this.mnuToolsMeasureArea.Size = new System.Drawing.Size(214, 22); - this.mnuToolsMeasureArea.Text = "Measure Area"; - this.mnuToolsMeasureArea.Click += new System.EventHandler(this.MeasureArea_Click); - // + mnuToolsMeasureArea.Name = "mnuToolsMeasureArea"; + mnuToolsMeasureArea.Size = new System.Drawing.Size(214, 22); + mnuToolsMeasureArea.Text = "Measure Area"; + mnuToolsMeasureArea.Click += MeasureArea_Click; + // // mnuToolsBestFitViewer - // - this.mnuToolsBestFitViewer.Name = "mnuToolsBestFitViewer"; - this.mnuToolsBestFitViewer.Size = new System.Drawing.Size(214, 22); - this.mnuToolsBestFitViewer.Text = "Best-Fit Viewer"; - this.mnuToolsBestFitViewer.Click += new System.EventHandler(this.BestFitViewer_Click); - // + // + mnuToolsBestFitViewer.Name = "mnuToolsBestFitViewer"; + mnuToolsBestFitViewer.Size = new System.Drawing.Size(214, 22); + mnuToolsBestFitViewer.Text = "Best-Fit Viewer"; + mnuToolsBestFitViewer.Click += BestFitViewer_Click; + // // mnuToolsAlign // - this.mnuToolsAlign.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mnuToolsAlignLeft, - this.mnuToolsAlignRight, - this.mnuToolsAlignTop, - this.mnuToolsAlignBottom, - this.toolStripMenuItem11, - this.mnuToolsAlignHorizontal, - this.mnuToolsAlignVertically, - this.toolStripMenuItem8, - this.mnuToolsEvenlySpaceHorizontal, - this.mnuToolsEvenlySpaceVertical}); - this.mnuToolsAlign.Name = "mnuToolsAlign"; - this.mnuToolsAlign.Size = new System.Drawing.Size(214, 22); - this.mnuToolsAlign.Text = "Align Selected"; + mnuToolsAlign.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { mnuToolsAlignLeft, mnuToolsAlignRight, mnuToolsAlignTop, mnuToolsAlignBottom, toolStripMenuItem11, mnuToolsAlignHorizontal, mnuToolsAlignVertically, toolStripMenuItem8, mnuToolsEvenlySpaceHorizontal, mnuToolsEvenlySpaceVertical }); + mnuToolsAlign.Name = "mnuToolsAlign"; + mnuToolsAlign.Size = new System.Drawing.Size(214, 22); + mnuToolsAlign.Text = "Align Selected"; // // mnuToolsAlignLeft // - this.mnuToolsAlignLeft.Name = "mnuToolsAlignLeft"; - this.mnuToolsAlignLeft.Size = new System.Drawing.Size(209, 22); - this.mnuToolsAlignLeft.Text = "Left"; - this.mnuToolsAlignLeft.Click += new System.EventHandler(this.AlignLeft_Click); + mnuToolsAlignLeft.Name = "mnuToolsAlignLeft"; + mnuToolsAlignLeft.Size = new System.Drawing.Size(209, 22); + mnuToolsAlignLeft.Text = "Left"; + mnuToolsAlignLeft.Click += AlignLeft_Click; // // mnuToolsAlignRight // - this.mnuToolsAlignRight.Name = "mnuToolsAlignRight"; - this.mnuToolsAlignRight.Size = new System.Drawing.Size(209, 22); - this.mnuToolsAlignRight.Text = "Right"; - this.mnuToolsAlignRight.Click += new System.EventHandler(this.AlignRight_Click); + mnuToolsAlignRight.Name = "mnuToolsAlignRight"; + mnuToolsAlignRight.Size = new System.Drawing.Size(209, 22); + mnuToolsAlignRight.Text = "Right"; + mnuToolsAlignRight.Click += AlignRight_Click; // // mnuToolsAlignTop // - this.mnuToolsAlignTop.Name = "mnuToolsAlignTop"; - this.mnuToolsAlignTop.Size = new System.Drawing.Size(209, 22); - this.mnuToolsAlignTop.Text = "Top"; - this.mnuToolsAlignTop.Click += new System.EventHandler(this.AlignTop_Click); + mnuToolsAlignTop.Name = "mnuToolsAlignTop"; + mnuToolsAlignTop.Size = new System.Drawing.Size(209, 22); + mnuToolsAlignTop.Text = "Top"; + mnuToolsAlignTop.Click += AlignTop_Click; // // mnuToolsAlignBottom // - this.mnuToolsAlignBottom.Name = "mnuToolsAlignBottom"; - this.mnuToolsAlignBottom.Size = new System.Drawing.Size(209, 22); - this.mnuToolsAlignBottom.Text = "Bottom"; - this.mnuToolsAlignBottom.Click += new System.EventHandler(this.AlignBottom_Click); + mnuToolsAlignBottom.Name = "mnuToolsAlignBottom"; + mnuToolsAlignBottom.Size = new System.Drawing.Size(209, 22); + mnuToolsAlignBottom.Text = "Bottom"; + mnuToolsAlignBottom.Click += AlignBottom_Click; // // toolStripMenuItem11 // - this.toolStripMenuItem11.Name = "toolStripMenuItem11"; - this.toolStripMenuItem11.Size = new System.Drawing.Size(206, 6); + toolStripMenuItem11.Name = "toolStripMenuItem11"; + toolStripMenuItem11.Size = new System.Drawing.Size(206, 6); // // mnuToolsAlignHorizontal // - this.mnuToolsAlignHorizontal.Name = "mnuToolsAlignHorizontal"; - this.mnuToolsAlignHorizontal.Size = new System.Drawing.Size(209, 22); - this.mnuToolsAlignHorizontal.Text = "Horizontally"; - this.mnuToolsAlignHorizontal.Click += new System.EventHandler(this.AlignHorizontal_Click); + mnuToolsAlignHorizontal.Name = "mnuToolsAlignHorizontal"; + mnuToolsAlignHorizontal.Size = new System.Drawing.Size(209, 22); + mnuToolsAlignHorizontal.Text = "Horizontally"; + mnuToolsAlignHorizontal.Click += AlignHorizontal_Click; // // mnuToolsAlignVertically // - this.mnuToolsAlignVertically.Name = "mnuToolsAlignVertically"; - this.mnuToolsAlignVertically.Size = new System.Drawing.Size(209, 22); - this.mnuToolsAlignVertically.Text = "Vertically"; - this.mnuToolsAlignVertically.Click += new System.EventHandler(this.AlignVertical_Click); + mnuToolsAlignVertically.Name = "mnuToolsAlignVertically"; + mnuToolsAlignVertically.Size = new System.Drawing.Size(209, 22); + mnuToolsAlignVertically.Text = "Vertically"; + mnuToolsAlignVertically.Click += AlignVertical_Click; // // toolStripMenuItem8 // - this.toolStripMenuItem8.Name = "toolStripMenuItem8"; - this.toolStripMenuItem8.Size = new System.Drawing.Size(206, 6); + toolStripMenuItem8.Name = "toolStripMenuItem8"; + toolStripMenuItem8.Size = new System.Drawing.Size(206, 6); // // mnuToolsEvenlySpaceHorizontal // - this.mnuToolsEvenlySpaceHorizontal.Name = "mnuToolsEvenlySpaceHorizontal"; - this.mnuToolsEvenlySpaceHorizontal.Size = new System.Drawing.Size(209, 22); - this.mnuToolsEvenlySpaceHorizontal.Text = "Evenly Space Horizontally"; - this.mnuToolsEvenlySpaceHorizontal.Click += new System.EventHandler(this.EvenlySpaceHorizontally_Click); + mnuToolsEvenlySpaceHorizontal.Name = "mnuToolsEvenlySpaceHorizontal"; + mnuToolsEvenlySpaceHorizontal.Size = new System.Drawing.Size(209, 22); + mnuToolsEvenlySpaceHorizontal.Text = "Evenly Space Horizontally"; + mnuToolsEvenlySpaceHorizontal.Click += EvenlySpaceHorizontally_Click; // // mnuToolsEvenlySpaceVertical // - this.mnuToolsEvenlySpaceVertical.Name = "mnuToolsEvenlySpaceVertical"; - this.mnuToolsEvenlySpaceVertical.Size = new System.Drawing.Size(209, 22); - this.mnuToolsEvenlySpaceVertical.Text = "Evenly Space Vertically"; - this.mnuToolsEvenlySpaceVertical.Click += new System.EventHandler(this.EvenlySpaceVertically_Click); + mnuToolsEvenlySpaceVertical.Name = "mnuToolsEvenlySpaceVertical"; + mnuToolsEvenlySpaceVertical.Size = new System.Drawing.Size(209, 22); + mnuToolsEvenlySpaceVertical.Text = "Evenly Space Vertically"; + mnuToolsEvenlySpaceVertical.Click += EvenlySpaceVertically_Click; // // toolStripMenuItem14 // - this.toolStripMenuItem14.Name = "toolStripMenuItem14"; - this.toolStripMenuItem14.Size = new System.Drawing.Size(211, 6); + toolStripMenuItem14.Name = "toolStripMenuItem14"; + toolStripMenuItem14.Size = new System.Drawing.Size(211, 6); // // mnuSetOffsetIncrement // - this.mnuSetOffsetIncrement.Name = "mnuSetOffsetIncrement"; - this.mnuSetOffsetIncrement.ShortcutKeys = System.Windows.Forms.Keys.F5; - this.mnuSetOffsetIncrement.Size = new System.Drawing.Size(214, 22); - this.mnuSetOffsetIncrement.Text = "Set Offset Increment"; - this.mnuSetOffsetIncrement.Click += new System.EventHandler(this.SetOffsetIncrement_Click); + mnuSetOffsetIncrement.Name = "mnuSetOffsetIncrement"; + mnuSetOffsetIncrement.ShortcutKeys = System.Windows.Forms.Keys.F5; + mnuSetOffsetIncrement.Size = new System.Drawing.Size(214, 22); + mnuSetOffsetIncrement.Text = "Set Offset Increment"; + mnuSetOffsetIncrement.Click += SetOffsetIncrement_Click; // // mnuSetRotationIncrement // - this.mnuSetRotationIncrement.Name = "mnuSetRotationIncrement"; - this.mnuSetRotationIncrement.ShortcutKeys = System.Windows.Forms.Keys.F6; - this.mnuSetRotationIncrement.Size = new System.Drawing.Size(214, 22); - this.mnuSetRotationIncrement.Text = "Set Rotation Increment"; - this.mnuSetRotationIncrement.Click += new System.EventHandler(this.SetRotationIncrement_Click); + mnuSetRotationIncrement.Name = "mnuSetRotationIncrement"; + mnuSetRotationIncrement.ShortcutKeys = System.Windows.Forms.Keys.F6; + mnuSetRotationIncrement.Size = new System.Drawing.Size(214, 22); + mnuSetRotationIncrement.Text = "Set Rotation Increment"; + mnuSetRotationIncrement.Click += SetRotationIncrement_Click; // // toolStripMenuItem15 // - this.toolStripMenuItem15.Name = "toolStripMenuItem15"; - this.toolStripMenuItem15.Size = new System.Drawing.Size(211, 6); + toolStripMenuItem15.Name = "toolStripMenuItem15"; + toolStripMenuItem15.Size = new System.Drawing.Size(211, 6); // // mnuToolsOptions // - this.mnuToolsOptions.Name = "mnuToolsOptions"; - this.mnuToolsOptions.Size = new System.Drawing.Size(214, 22); - this.mnuToolsOptions.Text = "Options"; - this.mnuToolsOptions.Click += new System.EventHandler(this.Options_Click); + mnuToolsOptions.Name = "mnuToolsOptions"; + mnuToolsOptions.Size = new System.Drawing.Size(214, 22); + mnuToolsOptions.Text = "Options"; + mnuToolsOptions.Click += Options_Click; // // mnuNest // - this.mnuNest.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mnuNestEdit, - this.mnuNestImportDrawing, - this.toolStripMenuItem7, - this.mnuNestFirstPlate, - this.mnuNestLastPlate, - this.toolStripMenuItem6, - this.mnuNestNextPlate, - this.mnuNestPreviousPlate, - this.toolStripMenuItem12, - this.runAutoNestToolStripMenuItem, - this.autoSequenceAllPlatesToolStripMenuItem, - this.mnuNestRemoveEmptyPlates, - this.mnuNestPost, - this.toolStripMenuItem19, - this.calculateCutTimeToolStripMenuItem}); - this.mnuNest.Name = "mnuNest"; - this.mnuNest.Size = new System.Drawing.Size(43, 20); - this.mnuNest.Text = "&Nest"; + mnuNest.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { mnuNestEdit, mnuNestImportDrawing, toolStripMenuItem7, mnuNestFirstPlate, mnuNestLastPlate, toolStripMenuItem6, mnuNestNextPlate, mnuNestPreviousPlate, toolStripMenuItem12, runAutoNestToolStripMenuItem, autoSequenceAllPlatesToolStripMenuItem, mnuNestRemoveEmptyPlates, mnuNestPost, toolStripMenuItem19, calculateCutTimeToolStripMenuItem }); + mnuNest.Name = "mnuNest"; + mnuNest.Size = new System.Drawing.Size(43, 20); + mnuNest.Text = "&Nest"; // // mnuNestEdit // - this.mnuNestEdit.Name = "mnuNestEdit"; - this.mnuNestEdit.Size = new System.Drawing.Size(205, 22); - this.mnuNestEdit.Text = "Edit"; - this.mnuNestEdit.Click += new System.EventHandler(this.EditNest_Click); + mnuNestEdit.Name = "mnuNestEdit"; + mnuNestEdit.Size = new System.Drawing.Size(205, 22); + mnuNestEdit.Text = "Edit"; + mnuNestEdit.Click += EditNest_Click; // // mnuNestImportDrawing // - this.mnuNestImportDrawing.Image = global::OpenNest.Properties.Resources.import; - this.mnuNestImportDrawing.Name = "mnuNestImportDrawing"; - this.mnuNestImportDrawing.Size = new System.Drawing.Size(205, 22); - this.mnuNestImportDrawing.Text = "Import Drawing"; - this.mnuNestImportDrawing.Click += new System.EventHandler(this.Import_Click); + mnuNestImportDrawing.Image = Properties.Resources.import; + mnuNestImportDrawing.Name = "mnuNestImportDrawing"; + mnuNestImportDrawing.Size = new System.Drawing.Size(205, 22); + mnuNestImportDrawing.Text = "Import Drawing"; + mnuNestImportDrawing.Click += Import_Click; // // toolStripMenuItem7 // - this.toolStripMenuItem7.Name = "toolStripMenuItem7"; - this.toolStripMenuItem7.Size = new System.Drawing.Size(202, 6); + toolStripMenuItem7.Name = "toolStripMenuItem7"; + toolStripMenuItem7.Size = new System.Drawing.Size(202, 6); // // mnuNestFirstPlate // - this.mnuNestFirstPlate.Image = global::OpenNest.Properties.Resources.move_first; - this.mnuNestFirstPlate.Name = "mnuNestFirstPlate"; - this.mnuNestFirstPlate.Size = new System.Drawing.Size(205, 22); - this.mnuNestFirstPlate.Text = "First Plate"; - this.mnuNestFirstPlate.Click += new System.EventHandler(this.LoadFirstPlate_Click); + mnuNestFirstPlate.Image = Properties.Resources.move_first; + mnuNestFirstPlate.Name = "mnuNestFirstPlate"; + mnuNestFirstPlate.Size = new System.Drawing.Size(205, 22); + mnuNestFirstPlate.Text = "First Plate"; + mnuNestFirstPlate.Click += LoadFirstPlate_Click; // // mnuNestLastPlate // - this.mnuNestLastPlate.Image = global::OpenNest.Properties.Resources.move_last; - this.mnuNestLastPlate.Name = "mnuNestLastPlate"; - this.mnuNestLastPlate.Size = new System.Drawing.Size(205, 22); - this.mnuNestLastPlate.Text = "Last Plate"; - this.mnuNestLastPlate.Click += new System.EventHandler(this.LoadLastPlate_Click); + mnuNestLastPlate.Image = Properties.Resources.move_last; + mnuNestLastPlate.Name = "mnuNestLastPlate"; + mnuNestLastPlate.Size = new System.Drawing.Size(205, 22); + mnuNestLastPlate.Text = "Last Plate"; + mnuNestLastPlate.Click += LoadLastPlate_Click; // // toolStripMenuItem6 // - this.toolStripMenuItem6.Name = "toolStripMenuItem6"; - this.toolStripMenuItem6.Size = new System.Drawing.Size(202, 6); + toolStripMenuItem6.Name = "toolStripMenuItem6"; + toolStripMenuItem6.Size = new System.Drawing.Size(202, 6); // // mnuNestNextPlate // - this.mnuNestNextPlate.Image = global::OpenNest.Properties.Resources.move_next; - this.mnuNestNextPlate.Name = "mnuNestNextPlate"; - this.mnuNestNextPlate.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Right))); - this.mnuNestNextPlate.Size = new System.Drawing.Size(205, 22); - this.mnuNestNextPlate.Text = "Next Plate"; - this.mnuNestNextPlate.Click += new System.EventHandler(this.LoadNextPlate_Click); + mnuNestNextPlate.Image = Properties.Resources.move_next; + mnuNestNextPlate.Name = "mnuNestNextPlate"; + mnuNestNextPlate.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Right; + mnuNestNextPlate.Size = new System.Drawing.Size(205, 22); + mnuNestNextPlate.Text = "Next Plate"; + mnuNestNextPlate.Click += LoadNextPlate_Click; // // mnuNestPreviousPlate // - this.mnuNestPreviousPlate.Image = global::OpenNest.Properties.Resources.move_previous; - this.mnuNestPreviousPlate.Name = "mnuNestPreviousPlate"; - this.mnuNestPreviousPlate.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Left))); - this.mnuNestPreviousPlate.Size = new System.Drawing.Size(205, 22); - this.mnuNestPreviousPlate.Text = "Previous Plate"; - this.mnuNestPreviousPlate.Click += new System.EventHandler(this.LoadPreviousPlate_Click); + mnuNestPreviousPlate.Image = Properties.Resources.move_previous; + mnuNestPreviousPlate.Name = "mnuNestPreviousPlate"; + mnuNestPreviousPlate.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Left; + mnuNestPreviousPlate.Size = new System.Drawing.Size(205, 22); + mnuNestPreviousPlate.Text = "Previous Plate"; + mnuNestPreviousPlate.Click += LoadPreviousPlate_Click; // // toolStripMenuItem12 // - this.toolStripMenuItem12.Name = "toolStripMenuItem12"; - this.toolStripMenuItem12.Size = new System.Drawing.Size(202, 6); + toolStripMenuItem12.Name = "toolStripMenuItem12"; + toolStripMenuItem12.Size = new System.Drawing.Size(202, 6); // // runAutoNestToolStripMenuItem // - this.runAutoNestToolStripMenuItem.Name = "runAutoNestToolStripMenuItem"; - this.runAutoNestToolStripMenuItem.Size = new System.Drawing.Size(205, 22); - this.runAutoNestToolStripMenuItem.Text = "Auto Nest"; - this.runAutoNestToolStripMenuItem.Click += new System.EventHandler(this.RunAutoNest_Click); + runAutoNestToolStripMenuItem.Name = "runAutoNestToolStripMenuItem"; + runAutoNestToolStripMenuItem.Size = new System.Drawing.Size(205, 22); + runAutoNestToolStripMenuItem.Text = "Auto Nest"; + runAutoNestToolStripMenuItem.Click += RunAutoNest_Click; // // autoSequenceAllPlatesToolStripMenuItem // - this.autoSequenceAllPlatesToolStripMenuItem.Name = "autoSequenceAllPlatesToolStripMenuItem"; - this.autoSequenceAllPlatesToolStripMenuItem.Size = new System.Drawing.Size(205, 22); - this.autoSequenceAllPlatesToolStripMenuItem.Text = "Auto Sequence All Plates"; - this.autoSequenceAllPlatesToolStripMenuItem.Click += new System.EventHandler(this.SequenceAllPlates_Click); + autoSequenceAllPlatesToolStripMenuItem.Name = "autoSequenceAllPlatesToolStripMenuItem"; + autoSequenceAllPlatesToolStripMenuItem.Size = new System.Drawing.Size(205, 22); + autoSequenceAllPlatesToolStripMenuItem.Text = "Auto Sequence All Plates"; + autoSequenceAllPlatesToolStripMenuItem.Click += SequenceAllPlates_Click; // // mnuNestRemoveEmptyPlates // - this.mnuNestRemoveEmptyPlates.Name = "mnuNestRemoveEmptyPlates"; - this.mnuNestRemoveEmptyPlates.Size = new System.Drawing.Size(205, 22); - this.mnuNestRemoveEmptyPlates.Text = "Remove Empty Plates"; - this.mnuNestRemoveEmptyPlates.Click += new System.EventHandler(this.RemoveEmptyPlates_Click); + mnuNestRemoveEmptyPlates.Name = "mnuNestRemoveEmptyPlates"; + mnuNestRemoveEmptyPlates.Size = new System.Drawing.Size(205, 22); + mnuNestRemoveEmptyPlates.Text = "Remove Empty Plates"; + mnuNestRemoveEmptyPlates.Click += RemoveEmptyPlates_Click; // // mnuNestPost // - this.mnuNestPost.Name = "mnuNestPost"; - this.mnuNestPost.Size = new System.Drawing.Size(205, 22); - this.mnuNestPost.Text = "Post"; + mnuNestPost.Name = "mnuNestPost"; + mnuNestPost.Size = new System.Drawing.Size(205, 22); + mnuNestPost.Text = "Post"; // // toolStripMenuItem19 // - this.toolStripMenuItem19.Name = "toolStripMenuItem19"; - this.toolStripMenuItem19.Size = new System.Drawing.Size(202, 6); + toolStripMenuItem19.Name = "toolStripMenuItem19"; + toolStripMenuItem19.Size = new System.Drawing.Size(202, 6); // // calculateCutTimeToolStripMenuItem // - this.calculateCutTimeToolStripMenuItem.Name = "calculateCutTimeToolStripMenuItem"; - this.calculateCutTimeToolStripMenuItem.Size = new System.Drawing.Size(205, 22); - this.calculateCutTimeToolStripMenuItem.Text = "Calculate Cut Time"; - this.calculateCutTimeToolStripMenuItem.Click += new System.EventHandler(this.CalculateNestCutTime_Click); + calculateCutTimeToolStripMenuItem.Name = "calculateCutTimeToolStripMenuItem"; + calculateCutTimeToolStripMenuItem.Size = new System.Drawing.Size(205, 22); + calculateCutTimeToolStripMenuItem.Text = "Calculate Cut Time"; + calculateCutTimeToolStripMenuItem.Click += CalculateNestCutTime_Click; // // mnuPlate // - this.mnuPlate.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mnuPlateEdit, - this.mnuPlateSetAsDefault, - this.toolStripMenuItem18, - this.mnuPlateAdd, - this.mnuPlateRemove, - this.toolStripMenuItem16, - this.mnuPlateFill, - this.toolStripMenuItem9, - this.mnuPlateRotate, - this.mnuResizeToFitParts, - this.toolStripMenuItem13, - this.mnuPlateViewInCad, - this.toolStripMenuItem20, - this.mnuSequenceParts, - this.calculateCutTimeToolStripMenuItem1, - this.centerPartsToolStripMenuItem}); - this.mnuPlate.Name = "mnuPlate"; - this.mnuPlate.Size = new System.Drawing.Size(45, 20); - this.mnuPlate.Text = "&Plate"; + mnuPlate.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { mnuPlateEdit, mnuPlateSetAsDefault, toolStripMenuItem18, mnuPlateAdd, mnuPlateRemove, toolStripMenuItem16, mnuPlateFill, toolStripMenuItem9, mnuPlateRotate, mnuResizeToFitParts, toolStripMenuItem13, mnuPlateViewInCad, toolStripMenuItem20, mnuSequenceParts, calculateCutTimeToolStripMenuItem1, centerPartsToolStripMenuItem }); + mnuPlate.Name = "mnuPlate"; + mnuPlate.Size = new System.Drawing.Size(45, 20); + mnuPlate.Text = "&Plate"; // // mnuPlateEdit // - this.mnuPlateEdit.Name = "mnuPlateEdit"; - this.mnuPlateEdit.Size = new System.Drawing.Size(177, 22); - this.mnuPlateEdit.Text = "Edit"; - this.mnuPlateEdit.Click += new System.EventHandler(this.EditPlate_Click); + mnuPlateEdit.Name = "mnuPlateEdit"; + mnuPlateEdit.Size = new System.Drawing.Size(177, 22); + mnuPlateEdit.Text = "Edit"; + mnuPlateEdit.Click += EditPlate_Click; // // mnuPlateSetAsDefault // - this.mnuPlateSetAsDefault.Name = "mnuPlateSetAsDefault"; - this.mnuPlateSetAsDefault.Size = new System.Drawing.Size(177, 22); - this.mnuPlateSetAsDefault.Text = "Set as Default"; - this.mnuPlateSetAsDefault.Click += new System.EventHandler(this.SetAsNestDefault_Click); + mnuPlateSetAsDefault.Name = "mnuPlateSetAsDefault"; + mnuPlateSetAsDefault.Size = new System.Drawing.Size(177, 22); + mnuPlateSetAsDefault.Text = "Set as Default"; + mnuPlateSetAsDefault.Click += SetAsNestDefault_Click; // // toolStripMenuItem18 // - this.toolStripMenuItem18.Name = "toolStripMenuItem18"; - this.toolStripMenuItem18.Size = new System.Drawing.Size(174, 6); + toolStripMenuItem18.Name = "toolStripMenuItem18"; + toolStripMenuItem18.Size = new System.Drawing.Size(174, 6); // // mnuPlateAdd // - this.mnuPlateAdd.Image = global::OpenNest.Properties.Resources.add; - this.mnuPlateAdd.Name = "mnuPlateAdd"; - this.mnuPlateAdd.Size = new System.Drawing.Size(177, 22); - this.mnuPlateAdd.Text = "Add"; - this.mnuPlateAdd.Click += new System.EventHandler(this.AddPlate_Click); + mnuPlateAdd.Image = Properties.Resources.add; + mnuPlateAdd.Name = "mnuPlateAdd"; + mnuPlateAdd.Size = new System.Drawing.Size(177, 22); + mnuPlateAdd.Text = "Add"; + mnuPlateAdd.Click += AddPlate_Click; // // mnuPlateRemove // - this.mnuPlateRemove.Image = global::OpenNest.Properties.Resources.remove; - this.mnuPlateRemove.Name = "mnuPlateRemove"; - this.mnuPlateRemove.Size = new System.Drawing.Size(177, 22); - this.mnuPlateRemove.Text = "Remove"; - this.mnuPlateRemove.Click += new System.EventHandler(this.RemovePlate_Click); + mnuPlateRemove.Image = Properties.Resources.remove; + mnuPlateRemove.Name = "mnuPlateRemove"; + mnuPlateRemove.Size = new System.Drawing.Size(177, 22); + mnuPlateRemove.Text = "Remove"; + mnuPlateRemove.Click += RemovePlate_Click; // // toolStripMenuItem16 // - this.toolStripMenuItem16.Name = "toolStripMenuItem16"; - this.toolStripMenuItem16.Size = new System.Drawing.Size(174, 6); + toolStripMenuItem16.Name = "toolStripMenuItem16"; + toolStripMenuItem16.Size = new System.Drawing.Size(174, 6); // // mnuPlateFill // - this.mnuPlateFill.Name = "mnuPlateFill"; - this.mnuPlateFill.Size = new System.Drawing.Size(177, 22); - this.mnuPlateFill.Text = "Fill"; - this.mnuPlateFill.Click += new System.EventHandler(this.FillPlate_Click); + mnuPlateFill.Name = "mnuPlateFill"; + mnuPlateFill.Size = new System.Drawing.Size(177, 22); + mnuPlateFill.Text = "Fill"; + mnuPlateFill.Click += FillPlate_Click; // // toolStripMenuItem9 // - this.toolStripMenuItem9.Name = "toolStripMenuItem9"; - this.toolStripMenuItem9.Size = new System.Drawing.Size(177, 22); - this.toolStripMenuItem9.Text = "Fill Area"; - this.toolStripMenuItem9.Click += new System.EventHandler(this.FillArea_Click); + toolStripMenuItem9.Name = "toolStripMenuItem9"; + toolStripMenuItem9.Size = new System.Drawing.Size(177, 22); + toolStripMenuItem9.Text = "Fill Area"; + toolStripMenuItem9.Click += FillArea_Click; // // mnuPlateRotate // - this.mnuPlateRotate.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mnuPlateRotateCw, - this.mnuPlateRotateCcw, - this.toolStripSeparator2, - this.mnuPlateRotate180}); - this.mnuPlateRotate.Name = "mnuPlateRotate"; - this.mnuPlateRotate.Size = new System.Drawing.Size(177, 22); - this.mnuPlateRotate.Text = "Rotate"; + mnuPlateRotate.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { mnuPlateRotateCw, mnuPlateRotateCcw, toolStripSeparator2, mnuPlateRotate180 }); + mnuPlateRotate.Name = "mnuPlateRotate"; + mnuPlateRotate.Size = new System.Drawing.Size(177, 22); + mnuPlateRotate.Text = "Rotate"; // // mnuPlateRotateCw // - this.mnuPlateRotateCw.Image = global::OpenNest.Properties.Resources.rotate_cw; - this.mnuPlateRotateCw.Name = "mnuPlateRotateCw"; - this.mnuPlateRotateCw.Size = new System.Drawing.Size(121, 22); - this.mnuPlateRotateCw.Text = "90° CW"; - this.mnuPlateRotateCw.Click += new System.EventHandler(this.RotateCw_Click); + mnuPlateRotateCw.Image = Properties.Resources.rotate_cw; + mnuPlateRotateCw.Name = "mnuPlateRotateCw"; + mnuPlateRotateCw.Size = new System.Drawing.Size(121, 22); + mnuPlateRotateCw.Text = "90° CW"; + mnuPlateRotateCw.Click += RotateCw_Click; // // mnuPlateRotateCcw // - this.mnuPlateRotateCcw.Image = global::OpenNest.Properties.Resources.rotate_ccw; - this.mnuPlateRotateCcw.Name = "mnuPlateRotateCcw"; - this.mnuPlateRotateCcw.Size = new System.Drawing.Size(121, 22); - this.mnuPlateRotateCcw.Text = "90° CCW"; - this.mnuPlateRotateCcw.Click += new System.EventHandler(this.RotateCcw_Click); + mnuPlateRotateCcw.Image = Properties.Resources.rotate_ccw; + mnuPlateRotateCcw.Name = "mnuPlateRotateCcw"; + mnuPlateRotateCcw.Size = new System.Drawing.Size(121, 22); + mnuPlateRotateCcw.Text = "90° CCW"; + mnuPlateRotateCcw.Click += RotateCcw_Click; // // toolStripSeparator2 // - this.toolStripSeparator2.Name = "toolStripSeparator2"; - this.toolStripSeparator2.Size = new System.Drawing.Size(118, 6); + toolStripSeparator2.Name = "toolStripSeparator2"; + toolStripSeparator2.Size = new System.Drawing.Size(118, 6); // // mnuPlateRotate180 // - this.mnuPlateRotate180.Name = "mnuPlateRotate180"; - this.mnuPlateRotate180.Size = new System.Drawing.Size(121, 22); - this.mnuPlateRotate180.Text = "180°"; - this.mnuPlateRotate180.Click += new System.EventHandler(this.Rotate180_Click); + mnuPlateRotate180.Name = "mnuPlateRotate180"; + mnuPlateRotate180.Size = new System.Drawing.Size(121, 22); + mnuPlateRotate180.Text = "180°"; + mnuPlateRotate180.Click += Rotate180_Click; // // mnuResizeToFitParts // - this.mnuResizeToFitParts.Name = "mnuResizeToFitParts"; - this.mnuResizeToFitParts.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P))); - this.mnuResizeToFitParts.Size = new System.Drawing.Size(177, 22); - this.mnuResizeToFitParts.Text = "Resize to Fit"; - this.mnuResizeToFitParts.Click += new System.EventHandler(this.ResizeToFitParts_Click); + mnuResizeToFitParts.Name = "mnuResizeToFitParts"; + mnuResizeToFitParts.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P; + mnuResizeToFitParts.Size = new System.Drawing.Size(177, 22); + mnuResizeToFitParts.Text = "Resize to Fit"; + mnuResizeToFitParts.Click += ResizeToFitParts_Click; // // toolStripMenuItem13 // - this.toolStripMenuItem13.Name = "toolStripMenuItem13"; - this.toolStripMenuItem13.Size = new System.Drawing.Size(174, 6); + toolStripMenuItem13.Name = "toolStripMenuItem13"; + toolStripMenuItem13.Size = new System.Drawing.Size(174, 6); // // mnuPlateViewInCad // - this.mnuPlateViewInCad.Name = "mnuPlateViewInCad"; - this.mnuPlateViewInCad.Size = new System.Drawing.Size(177, 22); - this.mnuPlateViewInCad.Text = "View in CAD"; - this.mnuPlateViewInCad.Click += new System.EventHandler(this.OpenInExternalCad_Click); + mnuPlateViewInCad.Name = "mnuPlateViewInCad"; + mnuPlateViewInCad.Size = new System.Drawing.Size(177, 22); + mnuPlateViewInCad.Text = "View in CAD"; + mnuPlateViewInCad.Click += OpenInExternalCad_Click; // // toolStripMenuItem20 // - this.toolStripMenuItem20.Name = "toolStripMenuItem20"; - this.toolStripMenuItem20.Size = new System.Drawing.Size(174, 6); + toolStripMenuItem20.Name = "toolStripMenuItem20"; + toolStripMenuItem20.Size = new System.Drawing.Size(174, 6); // // mnuSequenceParts // - this.mnuSequenceParts.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.autoSequenceCurrentPlateToolStripMenuItem, - this.manualSequenceToolStripMenuItem}); - this.mnuSequenceParts.Name = "mnuSequenceParts"; - this.mnuSequenceParts.Size = new System.Drawing.Size(177, 22); - this.mnuSequenceParts.Text = "Sequence Parts"; + mnuSequenceParts.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { autoSequenceCurrentPlateToolStripMenuItem, manualSequenceToolStripMenuItem }); + mnuSequenceParts.Name = "mnuSequenceParts"; + mnuSequenceParts.Size = new System.Drawing.Size(177, 22); + mnuSequenceParts.Text = "Sequence Parts"; // // autoSequenceCurrentPlateToolStripMenuItem // - this.autoSequenceCurrentPlateToolStripMenuItem.Name = "autoSequenceCurrentPlateToolStripMenuItem"; - this.autoSequenceCurrentPlateToolStripMenuItem.Size = new System.Drawing.Size(168, 22); - this.autoSequenceCurrentPlateToolStripMenuItem.Text = "Auto Sequence"; - this.autoSequenceCurrentPlateToolStripMenuItem.Click += new System.EventHandler(this.AutoSequenceCurrentPlate_Click); + autoSequenceCurrentPlateToolStripMenuItem.Name = "autoSequenceCurrentPlateToolStripMenuItem"; + autoSequenceCurrentPlateToolStripMenuItem.Size = new System.Drawing.Size(168, 22); + autoSequenceCurrentPlateToolStripMenuItem.Text = "Auto Sequence"; + autoSequenceCurrentPlateToolStripMenuItem.Click += AutoSequenceCurrentPlate_Click; // // manualSequenceToolStripMenuItem // - this.manualSequenceToolStripMenuItem.Name = "manualSequenceToolStripMenuItem"; - this.manualSequenceToolStripMenuItem.Size = new System.Drawing.Size(168, 22); - this.manualSequenceToolStripMenuItem.Text = "Manual Sequence"; - this.manualSequenceToolStripMenuItem.Click += new System.EventHandler(this.ManualSequenceParts_Click); + manualSequenceToolStripMenuItem.Name = "manualSequenceToolStripMenuItem"; + manualSequenceToolStripMenuItem.Size = new System.Drawing.Size(168, 22); + manualSequenceToolStripMenuItem.Text = "Manual Sequence"; + manualSequenceToolStripMenuItem.Click += ManualSequenceParts_Click; // // calculateCutTimeToolStripMenuItem1 // - this.calculateCutTimeToolStripMenuItem1.Name = "calculateCutTimeToolStripMenuItem1"; - this.calculateCutTimeToolStripMenuItem1.Size = new System.Drawing.Size(177, 22); - this.calculateCutTimeToolStripMenuItem1.Text = "Calculate Cut Time"; - this.calculateCutTimeToolStripMenuItem1.Click += new System.EventHandler(this.CalculatePlateCutTime_Click); + calculateCutTimeToolStripMenuItem1.Name = "calculateCutTimeToolStripMenuItem1"; + calculateCutTimeToolStripMenuItem1.Size = new System.Drawing.Size(177, 22); + calculateCutTimeToolStripMenuItem1.Text = "Calculate Cut Time"; + calculateCutTimeToolStripMenuItem1.Click += CalculatePlateCutTime_Click; // // centerPartsToolStripMenuItem // - this.centerPartsToolStripMenuItem.Name = "centerPartsToolStripMenuItem"; - this.centerPartsToolStripMenuItem.Size = new System.Drawing.Size(177, 22); - this.centerPartsToolStripMenuItem.Text = "Center Parts"; - this.centerPartsToolStripMenuItem.Click += new System.EventHandler(this.centerPartsToolStripMenuItem_Click); + centerPartsToolStripMenuItem.Name = "centerPartsToolStripMenuItem"; + centerPartsToolStripMenuItem.Size = new System.Drawing.Size(177, 22); + centerPartsToolStripMenuItem.Text = "Center Parts"; + centerPartsToolStripMenuItem.Click += centerPartsToolStripMenuItem_Click; // // mnuWindow // - this.mnuWindow.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mnuWindowCascade, - this.mnuWindowTileVertical, - this.mnuWindowTileHorizontal, - this.toolStripMenuItem10, - this.closeToolStripMenuItem, - this.mnuCloseAll}); - this.mnuWindow.Name = "mnuWindow"; - this.mnuWindow.Size = new System.Drawing.Size(63, 20); - this.mnuWindow.Text = "&Window"; + mnuWindow.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { mnuWindowCascade, mnuWindowTileVertical, mnuWindowTileHorizontal, toolStripMenuItem10, closeToolStripMenuItem, mnuCloseAll }); + mnuWindow.Name = "mnuWindow"; + mnuWindow.Size = new System.Drawing.Size(63, 20); + mnuWindow.Text = "&Window"; // // mnuWindowCascade // - this.mnuWindowCascade.Name = "mnuWindowCascade"; - this.mnuWindowCascade.Size = new System.Drawing.Size(151, 22); - this.mnuWindowCascade.Text = "Cascade"; - this.mnuWindowCascade.Click += new System.EventHandler(this.CascadeWindows_Click); + mnuWindowCascade.Name = "mnuWindowCascade"; + mnuWindowCascade.Size = new System.Drawing.Size(151, 22); + mnuWindowCascade.Text = "Cascade"; + mnuWindowCascade.Click += CascadeWindows_Click; // // mnuWindowTileVertical // - this.mnuWindowTileVertical.Name = "mnuWindowTileVertical"; - this.mnuWindowTileVertical.Size = new System.Drawing.Size(151, 22); - this.mnuWindowTileVertical.Text = "Tile Vertical"; - this.mnuWindowTileVertical.Click += new System.EventHandler(this.TileVertical_Click); + mnuWindowTileVertical.Name = "mnuWindowTileVertical"; + mnuWindowTileVertical.Size = new System.Drawing.Size(151, 22); + mnuWindowTileVertical.Text = "Tile Vertical"; + mnuWindowTileVertical.Click += TileVertical_Click; // // mnuWindowTileHorizontal // - this.mnuWindowTileHorizontal.Name = "mnuWindowTileHorizontal"; - this.mnuWindowTileHorizontal.Size = new System.Drawing.Size(151, 22); - this.mnuWindowTileHorizontal.Text = "Tile Horizontal"; - this.mnuWindowTileHorizontal.Click += new System.EventHandler(this.TileHorizontal_Click); + mnuWindowTileHorizontal.Name = "mnuWindowTileHorizontal"; + mnuWindowTileHorizontal.Size = new System.Drawing.Size(151, 22); + mnuWindowTileHorizontal.Text = "Tile Horizontal"; + mnuWindowTileHorizontal.Click += TileHorizontal_Click; // // toolStripMenuItem10 // - this.toolStripMenuItem10.Name = "toolStripMenuItem10"; - this.toolStripMenuItem10.Size = new System.Drawing.Size(148, 6); + toolStripMenuItem10.Name = "toolStripMenuItem10"; + toolStripMenuItem10.Size = new System.Drawing.Size(148, 6); // // closeToolStripMenuItem // - this.closeToolStripMenuItem.Name = "closeToolStripMenuItem"; - this.closeToolStripMenuItem.Size = new System.Drawing.Size(151, 22); - this.closeToolStripMenuItem.Text = "Close"; - this.closeToolStripMenuItem.Click += new System.EventHandler(this.Close_Click); + closeToolStripMenuItem.Name = "closeToolStripMenuItem"; + closeToolStripMenuItem.Size = new System.Drawing.Size(151, 22); + closeToolStripMenuItem.Text = "Close"; + closeToolStripMenuItem.Click += Close_Click; // // mnuCloseAll // - this.mnuCloseAll.Name = "mnuCloseAll"; - this.mnuCloseAll.Size = new System.Drawing.Size(151, 22); - this.mnuCloseAll.Text = "Close All"; - this.mnuCloseAll.Click += new System.EventHandler(this.CloseAll_Click); + mnuCloseAll.Name = "mnuCloseAll"; + mnuCloseAll.Size = new System.Drawing.Size(151, 22); + mnuCloseAll.Text = "Close All"; + mnuCloseAll.Click += CloseAll_Click; // // statusStrip1 // - this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.statusLabel1, - this.locationStatusLabel, - this.spacerLabel, - this.plateIndexStatusLabel, - this.plateSizeStatusLabel, - this.plateQtyStatusLabel, - this.gpuStatusLabel}); - this.statusStrip1.Location = new System.Drawing.Point(0, 543); - this.statusStrip1.Name = "statusStrip1"; - this.statusStrip1.Size = new System.Drawing.Size(1098, 24); - this.statusStrip1.TabIndex = 9; - this.statusStrip1.Text = "statusStrip1"; + statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { statusLabel1, locationStatusLabel, spacerLabel, plateIndexStatusLabel, plateSizeStatusLabel, plateQtyStatusLabel, gpuStatusLabel }); + statusStrip1.Location = new System.Drawing.Point(0, 630); + statusStrip1.Name = "statusStrip1"; + statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 16, 0); + statusStrip1.Size = new System.Drawing.Size(1281, 24); + statusStrip1.TabIndex = 9; + statusStrip1.Text = "statusStrip1"; // // statusLabel1 // - this.statusLabel1.Name = "statusLabel1"; - this.statusLabel1.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); - this.statusLabel1.Size = new System.Drawing.Size(10, 19); + statusLabel1.Name = "statusLabel1"; + statusLabel1.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); + statusLabel1.Size = new System.Drawing.Size(10, 19); // // locationStatusLabel // - this.locationStatusLabel.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Left; - this.locationStatusLabel.Name = "locationStatusLabel"; - this.locationStatusLabel.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); - this.locationStatusLabel.Size = new System.Drawing.Size(102, 19); - this.locationStatusLabel.Text = "Location : [0, 0]"; - this.locationStatusLabel.Click += new System.EventHandler(this.LocationStatusLabel_Click); + locationStatusLabel.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Left; + locationStatusLabel.Name = "locationStatusLabel"; + locationStatusLabel.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); + locationStatusLabel.Size = new System.Drawing.Size(102, 19); + locationStatusLabel.Text = "Location : [0, 0]"; + locationStatusLabel.Click += LocationStatusLabel_Click; // // spacerLabel // - this.spacerLabel.Name = "spacerLabel"; - this.spacerLabel.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); - this.spacerLabel.Size = new System.Drawing.Size(764, 19); - this.spacerLabel.Spring = true; + spacerLabel.Name = "spacerLabel"; + spacerLabel.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); + spacerLabel.Size = new System.Drawing.Size(931, 19); + spacerLabel.Spring = true; // // plateIndexStatusLabel // - this.plateIndexStatusLabel.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Left; - this.plateIndexStatusLabel.Name = "plateIndexStatusLabel"; - this.plateIndexStatusLabel.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); - this.plateIndexStatusLabel.Size = new System.Drawing.Size(85, 19); - this.plateIndexStatusLabel.Text = "Plate : 0 of 0"; + plateIndexStatusLabel.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Left; + plateIndexStatusLabel.Name = "plateIndexStatusLabel"; + plateIndexStatusLabel.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); + plateIndexStatusLabel.Size = new System.Drawing.Size(85, 19); + plateIndexStatusLabel.Text = "Plate : 0 of 0"; // // plateSizeStatusLabel // - this.plateSizeStatusLabel.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Left; - this.plateSizeStatusLabel.Name = "plateSizeStatusLabel"; - this.plateSizeStatusLabel.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); - this.plateSizeStatusLabel.Size = new System.Drawing.Size(67, 19); - this.plateSizeStatusLabel.Text = "Size : 0x0"; + plateSizeStatusLabel.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Left; + plateSizeStatusLabel.Name = "plateSizeStatusLabel"; + plateSizeStatusLabel.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); + plateSizeStatusLabel.Size = new System.Drawing.Size(67, 19); + plateSizeStatusLabel.Text = "Size : 0x0"; // // plateQtyStatusLabel // - this.plateQtyStatusLabel.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Left; - this.plateQtyStatusLabel.Name = "plateQtyStatusLabel"; - this.plateQtyStatusLabel.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); - this.plateQtyStatusLabel.Size = new System.Drawing.Size(55, 19); - this.plateQtyStatusLabel.Text = "Qty : 0"; - // + plateQtyStatusLabel.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Left; + plateQtyStatusLabel.Name = "plateQtyStatusLabel"; + plateQtyStatusLabel.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); + plateQtyStatusLabel.Size = new System.Drawing.Size(55, 19); + plateQtyStatusLabel.Text = "Qty : 0"; + // // gpuStatusLabel - // - this.gpuStatusLabel.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Left; - this.gpuStatusLabel.Name = "gpuStatusLabel"; - this.gpuStatusLabel.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); - this.gpuStatusLabel.Size = new System.Drawing.Size(55, 19); - // + // + gpuStatusLabel.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Left; + gpuStatusLabel.Name = "gpuStatusLabel"; + gpuStatusLabel.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); + gpuStatusLabel.Size = new System.Drawing.Size(14, 19); + // // toolStrip1 // - this.toolStrip1.AutoSize = false; - this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.btnNew, - this.btnOpen, - this.btnSave, - this.btnSaveAs, - this.toolStripSeparator1, - this.btnFirstPlate, - this.btnPreviousPlate, - this.btnNextPlate, - this.btnLastPlate, - this.toolStripSeparator3, - this.btnZoomOut, - this.btnZoomIn, - this.btnZoomToFit, - this.toolStripSeparator4, - this.engineLabel, - this.engineComboBox, - this.btnAutoNest}); - this.toolStrip1.Location = new System.Drawing.Point(0, 24); - this.toolStrip1.Name = "toolStrip1"; - this.toolStrip1.Size = new System.Drawing.Size(1098, 35); - this.toolStrip1.TabIndex = 10; - this.toolStrip1.Text = "toolStrip1"; + toolStrip1.AutoSize = false; + toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { btnNew, btnOpen, btnSave, btnSaveAs, toolStripSeparator1, btnFirstPlate, btnPreviousPlate, btnNextPlate, btnLastPlate, toolStripSeparator3, btnZoomOut, btnZoomIn, btnZoomToFit, toolStripSeparator4, engineLabel, engineComboBox, btnAutoNest }); + toolStrip1.Location = new System.Drawing.Point(0, 24); + toolStrip1.Name = "toolStrip1"; + toolStrip1.Size = new System.Drawing.Size(1281, 40); + toolStrip1.TabIndex = 10; + toolStrip1.Text = "toolStrip1"; // // btnNew // - this.btnNew.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btnNew.Image = global::OpenNest.Properties.Resources.doc_new; - this.btnNew.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.btnNew.Name = "btnNew"; - this.btnNew.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); - this.btnNew.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.btnNew.Size = new System.Drawing.Size(38, 32); - this.btnNew.Text = "New"; - this.btnNew.Click += new System.EventHandler(this.New_Click); + btnNew.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + btnNew.Image = Properties.Resources.doc_new; + btnNew.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + btnNew.Name = "btnNew"; + btnNew.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); + btnNew.RightToLeft = System.Windows.Forms.RightToLeft.No; + btnNew.Size = new System.Drawing.Size(38, 37); + btnNew.Text = "New"; + btnNew.Click += New_Click; // // btnOpen // - this.btnOpen.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btnOpen.Image = global::OpenNest.Properties.Resources.doc_open; - this.btnOpen.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.btnOpen.Name = "btnOpen"; - this.btnOpen.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); - this.btnOpen.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.btnOpen.Size = new System.Drawing.Size(38, 32); - this.btnOpen.Text = "Open"; - this.btnOpen.Click += new System.EventHandler(this.Open_Click); + btnOpen.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + btnOpen.Image = Properties.Resources.doc_open; + btnOpen.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + btnOpen.Name = "btnOpen"; + btnOpen.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); + btnOpen.RightToLeft = System.Windows.Forms.RightToLeft.No; + btnOpen.Size = new System.Drawing.Size(38, 37); + btnOpen.Text = "Open"; + btnOpen.Click += Open_Click; // // btnSave // - this.btnSave.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btnSave.Image = global::OpenNest.Properties.Resources.save; - this.btnSave.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.btnSave.Name = "btnSave"; - this.btnSave.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); - this.btnSave.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.btnSave.Size = new System.Drawing.Size(38, 32); - this.btnSave.Text = "Save"; - this.btnSave.Click += new System.EventHandler(this.Save_Click); + btnSave.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + btnSave.Image = Properties.Resources.save; + btnSave.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + btnSave.Name = "btnSave"; + btnSave.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); + btnSave.RightToLeft = System.Windows.Forms.RightToLeft.No; + btnSave.Size = new System.Drawing.Size(38, 37); + btnSave.Text = "Save"; + btnSave.Click += Save_Click; // // btnSaveAs // - this.btnSaveAs.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btnSaveAs.Image = global::OpenNest.Properties.Resources.save_as; - this.btnSaveAs.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.btnSaveAs.Name = "btnSaveAs"; - this.btnSaveAs.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); - this.btnSaveAs.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.btnSaveAs.Size = new System.Drawing.Size(38, 32); - this.btnSaveAs.Text = "Save As"; - this.btnSaveAs.Click += new System.EventHandler(this.SaveAs_Click); + btnSaveAs.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + btnSaveAs.Image = Properties.Resources.save_as; + btnSaveAs.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + btnSaveAs.Name = "btnSaveAs"; + btnSaveAs.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); + btnSaveAs.RightToLeft = System.Windows.Forms.RightToLeft.No; + btnSaveAs.Size = new System.Drawing.Size(38, 37); + btnSaveAs.Text = "Save As"; + btnSaveAs.Click += SaveAs_Click; // // toolStripSeparator1 // - this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(6, 35); + toolStripSeparator1.Name = "toolStripSeparator1"; + toolStripSeparator1.Size = new System.Drawing.Size(6, 40); // // btnFirstPlate // - this.btnFirstPlate.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btnFirstPlate.Image = global::OpenNest.Properties.Resources.move_first; - this.btnFirstPlate.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.btnFirstPlate.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btnFirstPlate.Name = "btnFirstPlate"; - this.btnFirstPlate.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); - this.btnFirstPlate.Size = new System.Drawing.Size(38, 32); - this.btnFirstPlate.Text = "Go to First Plate"; - this.btnFirstPlate.Click += new System.EventHandler(this.LoadFirstPlate_Click); + btnFirstPlate.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + btnFirstPlate.Image = Properties.Resources.move_first; + btnFirstPlate.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + btnFirstPlate.ImageTransparentColor = System.Drawing.Color.Magenta; + btnFirstPlate.Name = "btnFirstPlate"; + btnFirstPlate.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); + btnFirstPlate.Size = new System.Drawing.Size(38, 37); + btnFirstPlate.Text = "Go to First Plate"; + btnFirstPlate.Click += LoadFirstPlate_Click; // // btnPreviousPlate // - this.btnPreviousPlate.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btnPreviousPlate.Image = global::OpenNest.Properties.Resources.move_previous; - this.btnPreviousPlate.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.btnPreviousPlate.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btnPreviousPlate.Name = "btnPreviousPlate"; - this.btnPreviousPlate.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); - this.btnPreviousPlate.Size = new System.Drawing.Size(38, 32); - this.btnPreviousPlate.Text = "Go to Previous Plate"; - this.btnPreviousPlate.Click += new System.EventHandler(this.LoadPreviousPlate_Click); + btnPreviousPlate.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + btnPreviousPlate.Image = Properties.Resources.move_previous; + btnPreviousPlate.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + btnPreviousPlate.ImageTransparentColor = System.Drawing.Color.Magenta; + btnPreviousPlate.Name = "btnPreviousPlate"; + btnPreviousPlate.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); + btnPreviousPlate.Size = new System.Drawing.Size(38, 37); + btnPreviousPlate.Text = "Go to Previous Plate"; + btnPreviousPlate.Click += LoadPreviousPlate_Click; // // btnNextPlate // - this.btnNextPlate.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btnNextPlate.Image = global::OpenNest.Properties.Resources.move_next; - this.btnNextPlate.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.btnNextPlate.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btnNextPlate.Name = "btnNextPlate"; - this.btnNextPlate.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); - this.btnNextPlate.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.btnNextPlate.Size = new System.Drawing.Size(38, 32); - this.btnNextPlate.Text = "Go to Next Plate"; - this.btnNextPlate.Click += new System.EventHandler(this.LoadNextPlate_Click); + btnNextPlate.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + btnNextPlate.Image = Properties.Resources.move_next; + btnNextPlate.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + btnNextPlate.ImageTransparentColor = System.Drawing.Color.Magenta; + btnNextPlate.Name = "btnNextPlate"; + btnNextPlate.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); + btnNextPlate.RightToLeft = System.Windows.Forms.RightToLeft.No; + btnNextPlate.Size = new System.Drawing.Size(38, 37); + btnNextPlate.Text = "Go to Next Plate"; + btnNextPlate.Click += LoadNextPlate_Click; // // btnLastPlate // - this.btnLastPlate.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btnLastPlate.Image = global::OpenNest.Properties.Resources.move_last; - this.btnLastPlate.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.btnLastPlate.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btnLastPlate.Name = "btnLastPlate"; - this.btnLastPlate.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); - this.btnLastPlate.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.btnLastPlate.Size = new System.Drawing.Size(38, 32); - this.btnLastPlate.Text = "Go to Last Plate"; - this.btnLastPlate.Click += new System.EventHandler(this.LoadLastPlate_Click); + btnLastPlate.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + btnLastPlate.Image = Properties.Resources.move_last; + btnLastPlate.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + btnLastPlate.ImageTransparentColor = System.Drawing.Color.Magenta; + btnLastPlate.Name = "btnLastPlate"; + btnLastPlate.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); + btnLastPlate.RightToLeft = System.Windows.Forms.RightToLeft.No; + btnLastPlate.Size = new System.Drawing.Size(38, 37); + btnLastPlate.Text = "Go to Last Plate"; + btnLastPlate.Click += LoadLastPlate_Click; // // toolStripSeparator3 // - this.toolStripSeparator3.Name = "toolStripSeparator3"; - this.toolStripSeparator3.Size = new System.Drawing.Size(6, 35); + toolStripSeparator3.Name = "toolStripSeparator3"; + toolStripSeparator3.Size = new System.Drawing.Size(6, 40); // // btnZoomOut // - this.btnZoomOut.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btnZoomOut.Image = global::OpenNest.Properties.Resources.zoom_out; - this.btnZoomOut.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.btnZoomOut.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btnZoomOut.Name = "btnZoomOut"; - this.btnZoomOut.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); - this.btnZoomOut.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.btnZoomOut.Size = new System.Drawing.Size(38, 32); - this.btnZoomOut.Text = "Zoom Out"; - this.btnZoomOut.Click += new System.EventHandler(this.ZoomOut_Click); + btnZoomOut.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + btnZoomOut.Image = Properties.Resources.zoom_out; + btnZoomOut.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + btnZoomOut.ImageTransparentColor = System.Drawing.Color.Magenta; + btnZoomOut.Name = "btnZoomOut"; + btnZoomOut.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); + btnZoomOut.RightToLeft = System.Windows.Forms.RightToLeft.No; + btnZoomOut.Size = new System.Drawing.Size(38, 37); + btnZoomOut.Text = "Zoom Out"; + btnZoomOut.Click += ZoomOut_Click; // // btnZoomIn // - this.btnZoomIn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btnZoomIn.Image = global::OpenNest.Properties.Resources.zoom_in; - this.btnZoomIn.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.btnZoomIn.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btnZoomIn.Name = "btnZoomIn"; - this.btnZoomIn.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); - this.btnZoomIn.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.btnZoomIn.Size = new System.Drawing.Size(38, 32); - this.btnZoomIn.Text = "Zoom In"; - this.btnZoomIn.Click += new System.EventHandler(this.ZoomIn_Click); + btnZoomIn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + btnZoomIn.Image = Properties.Resources.zoom_in; + btnZoomIn.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + btnZoomIn.ImageTransparentColor = System.Drawing.Color.Magenta; + btnZoomIn.Name = "btnZoomIn"; + btnZoomIn.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); + btnZoomIn.RightToLeft = System.Windows.Forms.RightToLeft.No; + btnZoomIn.Size = new System.Drawing.Size(38, 37); + btnZoomIn.Text = "Zoom In"; + btnZoomIn.Click += ZoomIn_Click; // // btnZoomToFit // - this.btnZoomToFit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btnZoomToFit.Image = global::OpenNest.Properties.Resources.zoom_all; - this.btnZoomToFit.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.btnZoomToFit.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btnZoomToFit.Name = "btnZoomToFit"; - this.btnZoomToFit.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); - this.btnZoomToFit.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.btnZoomToFit.Size = new System.Drawing.Size(38, 32); - this.btnZoomToFit.Text = "Zoom To Fit"; - this.btnZoomToFit.Click += new System.EventHandler(this.ZoomToFit_Click); - // + btnZoomToFit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + btnZoomToFit.Image = Properties.Resources.zoom_all; + btnZoomToFit.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + btnZoomToFit.ImageTransparentColor = System.Drawing.Color.Magenta; + btnZoomToFit.Name = "btnZoomToFit"; + btnZoomToFit.Padding = new System.Windows.Forms.Padding(5, 0, 5, 0); + btnZoomToFit.RightToLeft = System.Windows.Forms.RightToLeft.No; + btnZoomToFit.Size = new System.Drawing.Size(38, 37); + btnZoomToFit.Text = "Zoom To Fit"; + btnZoomToFit.Click += ZoomToFit_Click; + // // toolStripSeparator4 - // - this.toolStripSeparator4.Name = "toolStripSeparator4"; - this.toolStripSeparator4.Size = new System.Drawing.Size(6, 35); - // + // + toolStripSeparator4.Name = "toolStripSeparator4"; + toolStripSeparator4.Size = new System.Drawing.Size(6, 40); + // // engineLabel - // - this.engineLabel.Name = "engineLabel"; - this.engineLabel.Size = new System.Drawing.Size(46, 32); - this.engineLabel.Text = "Engine:"; - // + // + engineLabel.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); + engineLabel.Name = "engineLabel"; + engineLabel.Size = new System.Drawing.Size(47, 37); + engineLabel.Text = "Engine:"; + // // engineComboBox - // - this.engineComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.engineComboBox.Name = "engineComboBox"; - this.engineComboBox.Size = new System.Drawing.Size(100, 35); - // + // + engineComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + engineComboBox.Name = "engineComboBox"; + engineComboBox.Size = new System.Drawing.Size(116, 40); + // // btnAutoNest - // - this.btnAutoNest.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; - this.btnAutoNest.Name = "btnAutoNest"; - this.btnAutoNest.Size = new System.Drawing.Size(64, 32); - this.btnAutoNest.Text = "Auto Nest"; - this.btnAutoNest.Click += new System.EventHandler(this.RunAutoNest_Click); - // + // + btnAutoNest.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; + btnAutoNest.Name = "btnAutoNest"; + btnAutoNest.Size = new System.Drawing.Size(64, 37); + btnAutoNest.Text = "Auto Nest"; + btnAutoNest.Click += RunAutoNest_Click; + // // pEPToolStripMenuItem // - this.pEPToolStripMenuItem.Name = "pEPToolStripMenuItem"; - this.pEPToolStripMenuItem.Size = new System.Drawing.Size(32, 19); + pEPToolStripMenuItem.Name = "pEPToolStripMenuItem"; + pEPToolStripMenuItem.Size = new System.Drawing.Size(32, 19); // // openNestToolStripMenuItem // - this.openNestToolStripMenuItem.Name = "openNestToolStripMenuItem"; - this.openNestToolStripMenuItem.Size = new System.Drawing.Size(32, 19); + openNestToolStripMenuItem.Name = "openNestToolStripMenuItem"; + openNestToolStripMenuItem.Size = new System.Drawing.Size(32, 19); // // MainForm // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.BackgroundImage = global::OpenNest.Properties.Resources.watermark; - this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; - this.ClientSize = new System.Drawing.Size(1098, 567); - this.Controls.Add(this.toolStrip1); - this.Controls.Add(this.statusStrip1); - this.Controls.Add(this.menuStrip1); - this.DoubleBuffered = true; - this.IsMdiContainer = true; - this.MainMenuStrip = this.menuStrip1; - this.MinimumSize = new System.Drawing.Size(506, 335); - this.Name = "MainForm"; - this.Text = "OpenNest"; - this.WindowState = System.Windows.Forms.FormWindowState.Maximized; - this.menuStrip1.ResumeLayout(false); - this.menuStrip1.PerformLayout(); - this.statusStrip1.ResumeLayout(false); - this.statusStrip1.PerformLayout(); - this.toolStrip1.ResumeLayout(false); - this.toolStrip1.PerformLayout(); - this.ResumeLayout(false); - this.PerformLayout(); + AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); + AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + BackgroundImage = Properties.Resources.watermark; + BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + ClientSize = new System.Drawing.Size(1281, 654); + Controls.Add(toolStrip1); + Controls.Add(statusStrip1); + Controls.Add(menuStrip1); + DoubleBuffered = true; + IsMdiContainer = true; + MainMenuStrip = menuStrip1; + Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + MinimumSize = new System.Drawing.Size(588, 381); + Name = "MainForm"; + Text = "OpenNest"; + WindowState = System.Windows.Forms.FormWindowState.Maximized; + menuStrip1.ResumeLayout(false); + menuStrip1.PerformLayout(); + statusStrip1.ResumeLayout(false); + statusStrip1.PerformLayout(); + toolStrip1.ResumeLayout(false); + toolStrip1.PerformLayout(); + ResumeLayout(false); + PerformLayout(); } diff --git a/OpenNest/Forms/MainForm.resx b/OpenNest/Forms/MainForm.resx index 24c4237..9178246 100644 --- a/OpenNest/Forms/MainForm.resx +++ b/OpenNest/Forms/MainForm.resx @@ -1,17 +1,17 @@  -