예제 #1
0
 private void button3_Click(object sender, EventArgs e)
 {
     if (clicked == false)
     {
         clicked = true;
         RhombDraw();
         rhomb.DrawBlack();
     }
     else
     {
         RhombDraw();
         rhomb.HideDrawingBackGround();
         clicked = false;
         rhomb   = null;
     }
 }
예제 #2
0
 public void RhombDraw()
 {
     rhomb = new Rhomb(56.3, 23.2);
     rhomb.DrawBlack();
 }