Exemplo n.º 1
0
        private void Hide_object_Click(object sender, EventArgs e)
        {
            PPicture figure = (PPicture)comboBox1.SelectedItem;

            figure.Hide();
            figure.Draw(pictureBox1);
        }
Exemplo n.º 2
0
        private void Minus_Click(object sender, EventArgs e)
        {
            PPicture figure = (PPicture)comboBox1.SelectedItem;

            if (figure.clr == Color.White)
            {
                return;
            }
            figure.Hide();
            figure.Draw(pictureBox1);
            figure.Reduce();
            figure.Show();
            figure.Draw(pictureBox1);
        }