Exemple #1
0
        void init()
        {
            p           = new Pen(Color.Red, 2);
            draw_cutter = new graphics();
            gr          = pictureBox1.CreateGraphics();

            x   = -1;
            y   = -1;
            mov = false;
        }
Exemple #2
0
 // end
 void reset()
 {
     g           = null;
     p           = null;
     gr          = null;
     draw_cutter = null;
     ok          = false;
     mov         = false;
     constructed = false;
 }