frmMain Class

Main form of the application.

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
C#
public class frmMain : Form
Inheritance
Form    frmMain

Constructors

frmMain Create a new instance of the frmMain Item.

Methods

btnDeleteCut_Click The Delete Cut button has been clicked.
btnDuplicateCut_Click The Duplicate Cut button has been clicked.
btnEditCut_Click The Edit Cut button has been clicked.
btnGO_Click The GO button has been clicked. Run the procedure.
btnMoveCutDown_Click Move the selected cut down in the cut-list one space.
btnMoveCutUp_Click Move the selected cut up in the cut-list one space.
btnStop_Click The Stop button has been clicked. Stop all motors.
cmboMaterialType_SelectedIndexChanged The selected index has changed on the Material Type combo box.
cmboWorkpieceLeft_SelectedIndexChanged The selected index has changed on the Workpiece Left combo box.
cmboWorkpieceTop_SelectedIndexChanged The selected index has changed on the Workpiece Top combo box.
CreateCut Create a cut entry for specified pattern template item.
Dispose Clean up any resources being used.
DuplicateCut Duplicate the selected cuts.
EditCut Edit the first selected cut.
ExportGCode Export the contents of the current cut-list to g-code.
InitializeComponent Required method for Designer support - do not modify the contents of this method with the code editor.
InitializePatterns Initialize all of the template pattern tools.
lvCutList_DoubleClick The cut list has received a double-click. Edit the selected item.
lvCutList_SelectedIndexChanged The selected index has changed on the cut list.
lvPatterns_DoubleClick The patterns list has received a double-click.
lvPatterns_ItemDrag Drag the selected pattern item.
mnuEditSettings_Click The Edit / Settings menu option has been clicked.
mnuEditTemplates_Click The Edit / Templates menu option has been clicked.
mnuFileExit_Click The File / Exit menu option has been clicked.
mnuFileExportConfiguration_Click The File / Export / Configuration menu option has been clicked.
mnuFileExportGCode_Click The File / Export / G-Code menu option has been clicked.
mnuFileExportPatterns_Click The File / Export / Patterns menu option has been clicked.
mnuFileImportConfiguration_Click The File / Import / Configuration menu option has been clicked.
mnuFileImportPatterns_Click The File / Import / Patterns menu option has been clicked.
mnuFileNewCutList_Click The File / New Cut-List menu option has been clicked.
mnuFileOpen_Click The File / Open menu option has been clicked.
mnuFileSave_Click The File / Save menu option has been clicked.
mnuFileSaveAs_Click The File / Save As menu option has been clicked.
mnuHelpAbout_Click The Help / About menu option has been clicked.
mnuView3D_Click The View / 3D Preview menu option has been clicked.
mnuViewGCode_Click The View / G-code menu option has been clicked.
mToggleTimer_Tick The toggle timer has elapsed.
OnActivated Raises the Activated event when the form has been activated.
OnClosing Raises the Closing event when the form is closing.
OnResize Raises the Resize event when the form has been resized.
pnlWorkspace_DragDrop The dragged item has been dropped over the workspace panel.
pnlWorkspace_DragEnter A drag operation has entered the workspace panel.
pnlWorkspace_Paint The Workspace panel is being painted.
pnlWorkspace_Resize The workspace panel has been resized.
PromptSave If a file is open, prompt the user as to whether it should be saved.
RefreshControls Update the visible controls from the current configuration.
SaveCutList Save the contents of the workpiece and operations to the specified file.
SaveCutListAs Give the cut-list a filename and save that file.
sessionWorkpieceInfo_PropertyChanged The value of property has changed on the current session workpiece information block or its members.
splitControl_DoubleClick The control panel splitter has been double-clicked.
splitWorkpiece_DoubleClick The workpiece information splitter has been double-clicked.
txtRouterPositionX_TextChanged The text in the Router Position X textbox has changed.
txtRouterPositionY_TextChanged The text in the Router Position Y textbox has changed.
txtWorkpieceDepth_TextChanged The text has changed in the Workpiece Depth textbox.
txtWorkpieceLength_TextChanged The text has changed in the Workpiece Length textbox.
txtWorkpieceWidth_TextChanged The text has changed in the Workpiece Width textbox.
txtWorkpieceX_TextChanged The text has changed in the Workpiece Left textbox.
txtWorkpieceY_TextChanged The text has changed in the Workpiece Top textbox.
UpdateCutList Update the contents of the cut list.
UpdateForm Update the general parts of the form affected by status.
UpdateWorkpiece Update the dimensions and positioning of the workpiece.
UpdateWorkpieceUI Update the contents of the user interface from the user values in the session workpiece.

Fields

btnDeleteCut Delete Cut button. Delete the selected cut or cuts.
btnDuplicateCut Duplicate Cut button. Duplicate the selected cut or cuts, appending the new cuts at the bottom of the list.
btnEditCut Edit Cut button. Edit the selected cut.
btnGO GO button. Not yet implemented.
btnMoveCutDown Button to move the selected cut down one space in the cut-list.
btnMoveCutUp Button to move the selected cut up one space in the cut-list.
btnStop Stop bottom. Not yet implemented.
cmboMaterialType Drop down list containing the available types of material for the currently defined workpiece.
cmboWorkpieceX Drop down list containing choices for X-axis alignment of the workpiece on the canvas.
cmboWorkpieceY Drop down list containing choices for Y-axis alignment of the workpiece on the canvas.
components Required designer variable.
ilIcons Image list containing general control icons.
ilPatterns Image list containing icons for the patterns list.
ilPatternsSmall Image list containing small copies of ilPatterns for use primarily in the cut list.
lblCutList Cut List title label.
lblMaterialType Material Type title label.
lblPatterns Pattern list label.
lblRouterPosition Starting Router Position title label.
lblRouterPositionX Starting Router Position X title label.
lblRouterPositionXUnit Alternate measurement display for the Starting Router Position X textbox.
lblRouterPositionY Starting Router Position Y title label.
lblRouterPositionYUnit Alternate measurement display for the Starting Router Position Y textbox.
lblSuggestion Run-time suggestion label.
lblWorkpiece Workpiece title label.
lblWorkpieceDepth Workpiece Depth title label.
lblWorkpieceDepthUnit Alternate measurement display for the Workpiece Depth textbox.
lblWorkpieceLength Workpiece Length title label.
lblWorkpieceLengthUnit Alternate measurement display for the Workpiece Length textbox.
lblWorkpieceWidth Workpiece Width title label.
lblWorkpieceWidthUnit Alternate measurement display for the Workpiece Width textbox.
lblWorkpieceX Workpiece X Offset title label.
lblWorkpieceXUnit Alternate measurement display for the Workpiece X Offset textbox.
lblWorkpieceY Workpiece Y Offset title label.
lblWorkpieceYUnit Alternate measurement display for the Workpiece Y Offset textbox.
lvCutList Cut-List ListView control.
lvCutListUnusedHeader Unused header for the Cut-List ListView control.
lvPatterns Patterns ListView control.
mBaseFormText The default title bar text on the form.
mCutButtonRowY1Offset The first button row Y offset beneath the cut-list, which will be adjustable in height.
mCutButtonRowY2Offset The second button row Y offset beneath the cut-list, which will be adjustable in height.
mCutButtonRowY3Offset The third button row Y offset beneath the cut-list, which will be adjustable in height.
mCutListChanged A value indicating whether values in the current cut-list have changed.
mCutListFilename Filename of the currently loaded cut-list file.
mCutListMinHeight Minimum height of the cut-list control.
mnuEdit The main Edit menu option.
mnuEditSettings The Edit / Settings menu option.
mnuEditTemplates The Edit / Templates menu option.
mnuFile The main File menu option.
mnuFileExit The File / Exit menu option.
mnuFileExport The File / Export menu option.
mnuFileExportConfiguration The File / Export / Configuration menu option.
mnuFileExportGCode The File / Export / G-code menu option.
mnuFileExportPatterns The File / Export / Patterns menu option.
mnuFileExportSep1 File / Export menu separator 1.
mnuFileImport The File / Import menu option.
mnuFileImportConfiguration The File / Import / Configuration menu option.
mnuFileImportPatterns The File / Import / Patterns menu option.
mnuFileNewCutList The File / New Cut-List menu option.
mnuFileOpen The File / Open menu option.
mnuFileSave The File / Save menu option.
mnuFileSaveAs The File / Save As menu option.
mnuFileSep1 File menu separator 1.
mnuFileSep2 File menu separator 2.
mnuHelp The Help menu option.
mnuHelpAbout The Help / About menu option.
mnuMain The main menu bar.
mnuView The view menu.
mnuView3D The View / 3D Preview menu option.
mnuViewGCode The View / G-code menu option.
mPanelControlToggle Value indicating whether the control panel is toggled.
mPanelControlWidth Current control panel width, when visible.
mPanelWorkpieceToggle Value indicating whether the workpiece panel is toggled.
mPanelWorkpieceWidth Current workpiece panel width, when visible.
mToggleTimer Timer for addressing a request to toggle the width of a panel.
mWorkpieceBusy Value indicating whether the workpiece is currently busy and should not respond to related events, which are probably its own.
pnlControl The pattern controls panel for adding patterns to the session.
pnlWorkpiece The user controls panel for setting workpiece dimensions and managing the cut-list.
pnlWorkspace The display canvas upon which the current workpiece and cuts are drawn.
splitControl The splitter control controlling the width of the patterns list area.
splitWorkpiece The splitter control controlling the width of the workpiece controls area.
statFill Filler area for status bar, usable for general messages, if desired.
statMessage Main message control at the left side of the status bar.
statusMain Main form status bar control.
statWorkspace Workspace information status message control.
txtRouterPositionX Textbox containing the Starting Router X position.
txtRouterPositionY Textbox containing the Starting Router Y position.
txtWorkpieceDepth Textbox containing the Workpiece Depth.
txtWorkpieceLength Textbox containing the Workpiece Length.
txtWorkpieceWidth Textbox containing the Workpiece Width.
txtWorkpieceX Textbox containing the Workpiece X Offset.
txtWorkpieceY Textbox containing the Workpiece Y Offset.

See Also