private void rbSix_CheckedChanged(object sender, EventArgs e)
 {
     CurFigure      = new Hexagon(colorBox.BackColor);
     CurFigure.name = "Six";
 }
 private void rbTriangle_CheckedChanged(object sender, EventArgs e)
 {
     CurFigure      = new Triangle(colorBox.BackColor);
     CurFigure.name = "Triangle";
 }
 private void rbEllipse_CheckedChanged(object sender, EventArgs e)
 {
     CurFigure      = new Ellipse(colorBox.BackColor);
     CurFigure.name = "Ellipse";
 }
 private void rbLine_CheckedChanged(object sender, EventArgs e)
 {
     CurFigure      = new Line(colorBox.BackColor);
     CurFigure.name = "Line";
 }