1
Answer

Add shortcut key to user control

Ask a question
Luke

Luke

16y
19.9k
1

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)
Next Recommended Forum