Пример #1
0
        private void B2_Click(object sender, EventArgs e)
        {
            TextBox t2 = FindControl(panel1, "t2") as TextBox;
            double  scale;

            double.TryParse(t2.Text, out scale);
            f = Figure.Scale(f, scale);
            RedrawPolygon(f);
        }
Пример #2
0
 private void Scale(double x, double y, double z)
 {
     f.Scale(x, y, z);
 }