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