User Control Event
<p>I have a main form and this form will load user control during run-time based on a user checkbox click:</p>

<p>If I click checkbox1, I will load usercontrol1</p>

<p>If I click checkbox2, I will load usercontrol2</p>

<pre><code>if (((RadioButton)sender).Checked)
        {
            panel3.Controls.Clear();
            UC_Buttons_Operation uc_Operation = new UC_Buttons_Operation();
            panel3.Controls.Add(uc_Operation);
        }  
</code></pre>

<p>How do I get the event from these user control(say a button) which I load during run time?</p>

<p>From what I search, I see exposing a public event from the UC and the main form will be able to see it. This is fine but problem is I am loading by run time. UC will not be created before hand.</p>

<pre><code>public event EventHandler CheckedChanged;
public event EventHandler ButtonClick;
</code></pre>