111,090
社区成员




protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
if (keyData == Keys.Right &&
(
(
!(ActiveControl is System.Windows.Forms.TextBox) ||
!((System.Windows.Forms.TextBox)ActiveControl).AcceptsReturn)
)
)
{
SendKeys.SendWait("{Tab}");
return true;
}
return base.ProcessCmdKey(ref msg, keyData);
}