Luke

Luke

  • NA
  • 13
  • 0

Add shortcut key to user control

Aug 6 2008 5:09 PM

I have a bunch of usercontrols which i'm mixing an matching on forms, but I'd like to match a shortcut key with button click, so when you enter data in one UserControl and hit CTRL-F it will kick off a button click on another UserControl that's on the same form.  How can i set this up?

I have button click method

private void butSearch_Click(object sender, EventArgs e)

{...}


Answers (1)