C# Class UsbApp.Sniffer

Inheritance: System.Windows.Forms.Form
显示文件 Open project: suan/mirlite

Public Methods

Method Description
ParseHexString ( string str ) : byte[]
Sniffer ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnHandleCreated ( EventArgs e ) : void
WndProc ( Message &m ) : void

Private Methods

Method Description
InitializeComponent ( ) : void

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

btn_ok_Click ( object sender, EventArgs e ) : void
btn_send_Click ( object sender, EventArgs e ) : void
button1_Click ( object sender, EventArgs e ) : void
dataPayload_TextChanged ( object sender, EventArgs e ) : void
usb_OnDataRecieved ( object sender, UsbLibrary.DataRecievedEventArgs args ) : void
usb_OnDataSend ( object sender, EventArgs e ) : void
usb_OnDeviceArrived ( object sender, EventArgs e ) : void
usb_OnDeviceRemoved ( object sender, EventArgs e ) : void
usb_OnSpecifiedDeviceArrived ( object sender, EventArgs e ) : void
usb_OnSpecifiedDeviceRemoved ( 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

OnHandleCreated() protected method

protected OnHandleCreated ( EventArgs e ) : void
e System.EventArgs
return void

ParseHexString() public method

public ParseHexString ( string str ) : byte[]
str string
return byte[]

Sniffer() public method

public Sniffer ( ) : System
return System

WndProc() protected method

protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
return void