コード例 #1
0
        /// <summary>
        /// This function receives all the windows messages for this window (form).
        /// We call the StorageDetector from here so that is can pick up the messages about
        /// drives arrived and removed.
        /// </summary>
        protected override void WndProc(ref Message m)
        {
            base.WndProc(ref m);

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