C# Class Dolinay.DetectorForm

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

Méthodes publiques

Méthode Description
DetectorForm ( DriveDetector detector ) : System

Set up the hidden form.

Méthodes protégées

Méthode 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

Méthode Description
Form_Activated ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void
Load_Form ( object sender, EventArgs e ) : void

Method Details

DetectorForm() public méthode

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

WndProc() protected méthode

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
Résultat void