我有代码覆盖TextBox ProcessCmdKey方法:
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
switch (keyData)
{
case: //something to do etc etc.
}
return true;
}
Run Code Online (Sandbox Code Playgroud)
但是当我使用上面的代码时,我无法在TextBox中编写.这有解决方案吗?