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(); }
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(); }