protected override void WndProc(ref Message m)
{
const int WM_KEYUP = 0x0101;//键抬起
if (m.Msg == WM_KEYUP && Control.ModifierKeys != Keys.Control && m.WParam.ToInt32() !=17)
{
System.Diagnostics.Debug.WriteLine(m.WParam.ToString() + "="+(char)m.WParam.ToInt32());
layoutDataPanel();
}
else
base.WndProc(ref m);
}
{
const int WM_KEYUP = 0x0101;//键抬起
if (m.Msg == WM_KEYUP && Control.ModifierKeys != Keys.Control && m.WParam.ToInt32() !=17)
{
System.Diagnostics.Debug.WriteLine(m.WParam.ToString() + "="+(char)m.WParam.ToInt32());
layoutDataPanel();
}
else
base.WndProc(ref m);
}