C# Class C2.Flash.frmMain

Inheritance: System.Windows.Forms.Form
Show file Open project: x893/C2.Flash

Public Methods

Method Description
frmMain ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
C2_Connect_Target ( ) : bool
C2_Device_Info ( ) : bool
C2_Disconnect_Target ( ) : bool
Device_Connect ( ) : bool
InitializeComponent ( ) : void

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

addressToText ( int address ) : string
btnAddressRead_Click ( object sender, EventArgs e ) : void
btnAddressWrite_Click ( object sender, EventArgs e ) : void
btnC2Target_Click ( object sender, EventArgs e ) : void
btnDataRead_Click ( object sender, EventArgs e ) : void
btnDataWrite_Click ( object sender, EventArgs e ) : void
btnDeviceErase04_Click ( object sender, EventArgs e ) : void
btnDeviceErase_Click ( object sender, EventArgs e ) : void
btnGo_Click ( object sender, EventArgs e ) : void
btnHalt_Click ( object sender, EventArgs e ) : void
btnPageErase_Click ( object sender, EventArgs e ) : void
btnReadFlash_Click ( object sender, EventArgs e ) : void
btnStartStop_Click ( object sender, EventArgs e ) : void
btnVerify_Click ( object sender, EventArgs e ) : void
btnWriteFlashPartial_Click ( object sender, EventArgs e ) : void
btnWriteFlash_Click ( object sender, EventArgs e ) : void
cbDTREnable_CheckedChanged ( object sender, EventArgs e ) : void
cbDevices_SelectedIndexChanged ( object sender, EventArgs e ) : void
disconnect ( ) : void
frmMain_FormClosed ( object sender, System.Windows.Forms.FormClosedEventArgs e ) : void
frmMain_Load ( object sender, EventArgs e ) : void
loadDeviceList ( ) : void
parseBool ( List values, List fields, string field, bool &scan, bool mandatory ) : bool
parseByte ( List values, List fields, string field, bool &scan, bool mandatory ) : byte
parseInt ( List values, List fields, string field, bool &scan, bool mandatory ) : int
parseString ( List values, List fields, string field, bool &scan, bool mandatory ) : string
port_DataReceived ( object sender, System.IO.Ports.SerialDataReceivedEventArgs e ) : void
selectC2Device ( ) : bool
sendCommand ( int response_length ) : Response
sendCommand ( int response_length, byte data, int startIndex, int length ) : Response
setStatus ( string command, Response response ) : bool
validInt ( string sv, int &v ) : bool
writeFileToFlash ( bool setAddresses ) : 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

frmMain() public method

public frmMain ( ) : System
return System