September 2, 2015

Open a form using short cut in C sharp

 if (e.Alt && e.KeyCode == Keys.c)
            {
                ChangePassword  f3 = new ChangePassword();
                f3.ShowDialog();

            }


and
set the KeyPreview=True

No comments:

Post a Comment