private void Triangle_Click(object sender, EventArgs e) { chape = new Triangle(); }
private void pictRectangle_Click(object sender, EventArgs e) { chape = new Rectangle(); }
private void pictEllipse_Click(object sender, EventArgs e) { chape = new Ellipse(); }
private void pictSquare_Click(object sender, EventArgs e) { chape = new Square(); }
private void pictLine_Click(object sender, EventArgs e) { chape = new Line(); }
private void pictRound_Click(object sender, EventArgs e) { chape = new Round(); }