Exemple #1
0
 private void toolStripButtonSquare_Click(object sender, EventArgs e)
 {
     currentCreator = new SquareDrawCreator();
     clicksNumber   = 2;
     currentClicks  = 0;
     isDrawing      = true;
 }
Exemple #2
0
 private void toolStripButtonTriangle_Click(object sender, EventArgs e)
 {
     currentCreator = new TriangleDrawCreator();
     clicksNumber   = 3;
     currentClicks  = 0;
     isDrawing      = true;
 }