Пример #1
0
 private void EllipseBtn_Click(object sender, EventArgs e)
 {
     currentShape = Shapes.Ellipse;
 }
Пример #2
0
 private void RectBtn_Click(object sender, EventArgs e)
 {
     currentShape = Shapes.Rectangle;
 }
Пример #3
0
 private void TrianBtn_Click(object sender, EventArgs e)
 {
     currentShape = Shapes.Triangle;
 }
Пример #4
0
 private void LineBtn_Click(object sender, EventArgs e)
 {
     currentShape = Shapes.Line;
 }