private void button2_Click(object sender, EventArgs e) { CEmblem figure = (CEmblem)comboBox1.SelectedItem; figure.Hide(); figure.Draw(pictureBox1); }
private void button5_Click(object sender, EventArgs e) { CEmblem figure = (CEmblem)comboBox1.SelectedItem; if (figure.currentColor == Color.White) { return; } figure.Hide(); figure.Draw(pictureBox1); figure.EndUp(); figure.Show(); figure.Draw(pictureBox1); }