protected override void WndProc(ref Message m)
{
// WM_OPERATEMENU is not a constant and so cannot be in a switch
if (m.Msg == WM_OPERATEMENU)
OnWM_OPERATEMENU(ref m);
else
{
switch(m.Msg)
{
case (int)Win32.Msg.WM_GETDLGCODE:
OnWM_GETDLGCODE(ref m);
return;
}
}
base.WndProc(ref m);
}
}