示例#1
0
        private void Hide_Click(object sender, EventArgs e)
        {
            CEmblem figure = (CEmblem)comboBox1.SelectedItem;

            figure.Hide();
            figure.Draw(pictureBox1);
        }
示例#2
0
        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);
        }