ZForge.Win32.RemovableDetectorForm.WndProc C# (CSharp) Method

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
        protected override void WndProc(ref Message m)
        {
            base.WndProc(ref m);

            if (mDetector != null)
            {
                mDetector.WndProc(ref m);
            }
        }