Solutions :
private void frmPartsFormWizard_KeyDown(object sender, KeyEventArgs e)
{
if (Control.ModifierKeys == Keys.Alt && e.KeyCode == Keys.S)
{
txtbox1.Focus();
}
else if (Control.ModifierKeys == Keys.Alt && e.KeyCode == Keys.R)
{
txtbox2.Focus();
}
}
Shortcuts control for C# Windows Forms
ReplyDelete