private void combo1_SelectedIndexChanged(object sender, EventArgs e) { switch (combo1.SelectedIndex) { case 1: groupBox1.Visible = true; groupBox2.Visible = true; break; case 2: groupBox1.Visible = false; groupBox2.Visible = true; break;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)