Ejemplo n.º 1
0
        private void ochistka()
        {
            pCanvas = new CCanvas();
            CCanvas.CFigureList.Clear();
            CCanvas.CLineList.Clear();
            bmp = new Bitmap(pictureBox1.ClientSize.Width, pictureBox1.ClientSize.Height);
            g   = Graphics.FromImage(bmp);
            g.Clear(Color.White);
            pictureBox1.Image  = bmp;
            rad_Figure.Checked = true;

            skritT();
        }
Ejemplo n.º 2
0
        private void ochistka()
        {
            pCanvas = new CCanvas();
            CCanvas.CFigureList.Clear();
            CCanvas.CLineList.Clear();
            bmp = new Bitmap(pictureBox1.ClientSize.Width, pictureBox1.ClientSize.Height);
            g = Graphics.FromImage(bmp);
            g.Clear(Color.White);
            pictureBox1.Image = bmp;
            rad_Figure.Checked = true;

            skritT();
        }