How to make shortcut key to view the other form?

mykill

New member
Joined
Jul 24, 2008
Messages
3
Programming Experience
Beginner
Hi....

anybody have an idea if what are the codes on how to make a shortcut key to view the other form?

ex:

if I press F1 the other form will show.....
(considering without using menustrip to setup the shortcut keys)

somebody please.....
 
I would use the Form's KeyUp event and if the KeyCode equals Keys.F1 simply show the form or set focus to the form if it's already open
 
Just giving him the code to do this wont help him int he long run, so I may not be helping him to his fullest request at least I'm giving him a pointer in the right direction. If he's serious in being a programmer then it's up to him from this point to accomplish this extremely easy task, otherwise he'll never get it done.

I did see your post after you deleted it and I was wondering why you even deleted because your post is what he needs anyways.
 
Back
Top