private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { ComboBox senderComboBox = (ComboBox) sender; Form1 form = new Form1(); // You can check senderComboBox.SelectedText or other here form.Text = senderComboBox.SelectedItem.ToString(); form.ShowDialog(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)