private void comboBox5_SelectedIndexChanged(object sender, EventArgs e) { switch (comboBox5.SelectedIndex) { case 0: cntbth = 10; break; case 1: cntbth = 5; break; case 2: cntbth = 0; break; } label13.Text = cntbth.ToString(); } private void comboBox6_SelectedIndexChanged(object sender, EventArgs e) { switch (comboBox5.SelectedIndex) { case 0: cntbth = 10; break; case 1: cntbth = 5; break; case 2: cntbth = 0; break; } label13.Text = cntbth.ToString(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)