C# Class Dolinay.DetectorForm

Hidden Form which we use to receive Windows messages about flash drives
Inheritance: System.Windows.Forms.Form
Datei anzeigen Open project: nefarius/TrueMount-3 Class Usage Examples

Public Methods

Method Description
DetectorForm ( DriveDetector detector ) : System

Set up the hidden form.

Protected Methods

Method Description
WndProc ( Message &m ) : void

This function receives all the windows messages for this window (form). We call the DriveDetector from here so that is can pick up the messages about drives arrived and removed.

Private Methods

Method Description
Form_Activated ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void
Load_Form ( object sender, EventArgs e ) : void

Method Details

DetectorForm() public method

Set up the hidden form.
public DetectorForm ( DriveDetector detector ) : System
detector DriveDetector DriveDetector object which will receive notification about USB drives, see WndProc
return System

WndProc() protected method

This function receives all the windows messages for this window (form). We call the DriveDetector from here so that is can pick up the messages about drives arrived and removed.
protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
return void