private void btn_Rectangle_Click(object sender, EventArgs e) { LoadValue(); var P1 = CAD.PickPoint(); var Line = CAD.CreateRectangle(P1, W, H); }
private void btn_Arc_Click(object sender, EventArgs e) { LoadValue(); var P1 = CAD.PickPoint(); var Arc = CAD.CreateArc(P1, D, R1, R2); }
private void btn_Line_Click(object sender, EventArgs e) { LoadValue(); var P1 = CAD.PickPoint(); var P2 = CAD.PickPoint(); var Line = CAD.CreateLine(P1, P2); }