I am using .NET 4 and trying to create a CustomControl but when I add this CustomControl onto my Windows Form, I want to have access to the SelectedIndexChanged for the ComboBox within my User Control.
Basically, what I want is when the Combo Box triggers the Selected IndexChanged, it will run some code within the Windows Form.
Below is what I have so far.
public partial class CustomControl : UserControl
...
private void uiComboBox_SelectedIndexChanged(object sender, EventArgs e)
{
}
What is the best way to do what I want?
Any help will be much appreciated.