コード例 #1
0
 // While simple, this is unfortunately a deal-breaker. If you need to go through the
 // trouble of writing this stub WndProc, might as well write a proper switch statement
 // and call the handler directly.
 protected override void WndProc(ref Message m)
 {
     if (!WinMessageHandler.CallGenericHandler(this, ref m))
     {
         base.WndProc(ref m);
     }
 }