- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
if (comboBox1.SelectedItem.ToString() == "VISA")
{
pictureBox7.Visible = false;
pictureBox6.Visible = false;
pictureBox5.Visible = false;
pictureBox4.Visible = false;
pictureBox3.Visible = false;
pictureBox2.Visible = false;
pictureBox1.Visible = true;
}
if (comboBox1.SelectedItem.ToString() == "MasterCard")
{
pictureBox7.Visible = false;
pictureBox6.Visible = false;
pictureBox5.Visible = false;
pictureBox4.Visible = false;
pictureBox3.Visible = false;
pictureBox1.Visible = false;
pictureBox2.Visible = true;
}
+ ещй пять такие проверок. Ну не умеет человек PictureBox.Image пользоваться.