标签:ret 按键 bool rri ide new roc 实现 else
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
if (keyData == Keys.F2)
{
this.OnKeyPress(new KeyPressEventArgs(‘r‘));
return true;
}
else
return base.ProcessCmdKey(ref msg, keyData);
}
标签:ret 按键 bool rri ide new roc 实现 else
原文地址:https://www.cnblogs.com/Evan-fanfan/p/9286464.html