Invoking a Button Click Event of UserControl from its parent Form using Function Keys Like (F3,F6)
<p>Code in User Control (Windows User Control). </p>

<p>I have a button and when click on the button some logic will fire.</p>

<p>below is button event. </p>

<pre><code> private void btnCancel_Click(object sender, EventArgs e)
 {
     // Some Logic
 }
</code></pre>

<p>I have Main form (Windows form)</p>

<p>I am adding the above user control in a Panel of my Main Winform.<BR>
From here I want to invoke the user control <code>btnCancel_Click</code> event using some function Keys Like (F3,F4).</p>

<p>This is a very new thing for me. Please help me in this regard.</p>

<p>Thanks .
Krishna </p>
