C# Class CNCGUI.MainForm

显示文件 Open project: x893/CNCGUI

Public Methods

Method Description
MainForm ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
Application_ThreadException ( object sender, System e ) : void
Application_UnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void
CNC_DataReceived ( object sender, System e ) : void
ClearBtn_Click ( object sender, EventArgs e ) : void
ClosePort ( ) : bool
CommandLine_KeyPress ( object sender, KeyPressEventArgs e ) : void
Debug_Btn_Click ( object sender, EventArgs e ) : void
Default_Btn_Click ( object sender, EventArgs e ) : void
Firmware_Btn_Click ( object sender, EventArgs e ) : void
GPlotAppend ( string line ) : void
GetCncState ( ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Load_Btn_Click ( object sender, EventArgs e ) : void
LogAppend ( string line ) : void
LogAppend ( string line, Color color ) : void
LogGPlotDisplay ( ) : void
MainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
MainForm_Load ( object sender, EventArgs e ) : void
MainForm_ResizeEnd ( object sender, EventArgs e ) : void
MoveHome_Click ( object sender, EventArgs e ) : void
MoveXM_Click ( object sender, EventArgs e ) : void
MoveXP_Click ( object sender, EventArgs e ) : void
MoveYMXM_Click ( object sender, EventArgs e ) : void
MoveYMXP_Click ( object sender, EventArgs e ) : void
MoveYM_Click ( object sender, EventArgs e ) : void
MoveYPXM_Click ( object sender, EventArgs e ) : void
MoveYPXP_Click ( object sender, EventArgs e ) : void
MoveYP_Click ( object sender, EventArgs e ) : void
MoveZM_Click ( object sender, EventArgs e ) : void
MoveZP_Click ( object sender, EventArgs e ) : void
NormalizeX ( float value ) : int
NormalizeY ( float value ) : int
ParseAM ( string &line, string fmt, int idx ) : void
ParseAxisResponse ( string line ) : void
ParseFR ( string &line, string fmt, int idx ) : void
ParseJD ( string &line, string fmt, int idx ) : void
ParseJH ( string &line, string fmt, int idx ) : void
ParseJM ( string &line, string fmt, int idx ) : void
ParseLB ( string &line, string fmt, int idx ) : void
ParseLV ( string &line, string fmt, int idx ) : void
ParseMA ( string &line, string fmt, int idx ) : void
ParseMI ( string &line, string fmt, int idx ) : void
ParseMotorResponse ( string line ) : void
ParsePM ( string &line, string fmt, int idx ) : void
ParsePO ( string &line, string fmt, int idx ) : void
ParseRA ( string &line, string fmt, int idx ) : void
ParseSA ( string &line, string fmt, int idx ) : void
ParseSN ( string &line, string fmt, int idx ) : void
ParseSV ( string &line, string fmt, int idx ) : void
ParseSX ( string &line, string fmt, int idx ) : void
ParseSystemResponse ( string line ) : void
ParseTM ( string &line, string fmt, int idx ) : void
ParseTR ( string &line, string fmt, int idx ) : void
ParseVM ( string &line, string fmt, int idx ) : void
ParseZB ( string &line, string fmt, int idx ) : void
RefreshBtn_Click ( object sender, EventArgs e ) : void
ReloadBtn_Click ( object sender, EventArgs e ) : void
SendCommand ( string cmd ) : E_RESPONSE
SendCommand ( string cmd, List responses ) : E_RESPONSE
Send_Btn_Click ( object sender, EventArgs e ) : void
SetGCodeRowAttributes ( GCodeListViewItem gcode ) : void
SetGCodeRowAttributes ( int index ) : void
SetGCodeRowBP ( GCodeListViewItem gcode ) : void
SetGCodeRowCurrent ( ) : void
Set_mm_Btn_Click ( object sender, EventArgs e ) : void
SettingUnchange ( ) : bool
Setting_Changed ( object sender, EventArgs e ) : void
SettingsBtn_Click ( object sender, EventArgs e ) : void
StartBtn_Click ( object sender, EventArgs e ) : void
StartGCode ( bool step ) : void
StatusText ( string text ) : void
StopBtn_Click ( object sender, EventArgs e ) : void
Stop_Btn_Click ( object sender, EventArgs e ) : void
TabLogGraph_SelectedIndexChanged ( object sender, EventArgs e ) : void
UseResponseItems_CheckedChanged ( object sender, EventArgs e ) : void
backgroundWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
backgroundWorker_ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void
backgroundWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
disableControlsForPrinting ( ) : void
enableControlsForPrinting ( ) : void
loadPortSelector ( ) : void
mi_DeleteAllBP_Click ( object sender, EventArgs e ) : void
mi_NextCommand_Click ( object sender, EventArgs e ) : void
mi_RunToCursor_Click ( object sender, EventArgs e ) : void
mi_Run_Click ( object sender, EventArgs e ) : void
mi_Step_Click ( object sender, EventArgs e ) : void
mi_Stop_Click ( object sender, EventArgs e ) : void
mi_ToggleBP_Click ( object sender, EventArgs e ) : void
setPortCloseControls ( ) : void
setPortOpenControls ( ) : void
timer_Tick ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

MainForm() public method

public MainForm ( ) : System
return System