private void button4_Click(object sender, EventArgs e) { double x = Double.Parse(textBox6.Text); double y = Double.Parse(textBox7.Text); double z = Double.Parse(textBox8.Text); pol.shift(x, y, z); Clear(); print(); }
private void button4_Click(object sender, EventArgs e) { ClearWithout(); write_axes(); double x = Double.Parse(textBox6.Text.ToString()); double y = Double.Parse(textBox7.Text.ToString()); double z = Double.Parse(textBox8.Text.ToString()); figure.shift(x, y, z); print_figure(); }