コード例 #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();
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: Anastasiyaaa/Risovalka
        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();
        }