private void button1_Click(object sender, EventArgs e) { // Display the user control customDropDown.Show(); customDropDown.BringToFront(); // display in front of other controls customDropDown.Select(); // make sure it gets the focus }
private void button1_Click(object sender, EventArgs e) { // Display the user control customDropDown.Show(); customDropDown.BringToFront(); // display in front of other controls customDropDown.Select(); // make sure it gets the focus }