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