Пример #1
0
        public void repeatParam(int a, string b, int c)
        {
            this.gh = a; //repeat value
            this.hg = c; //increase value
            this.fj = b; //operator

            TriangleForm recform = new TriangleForm(gh, fj, hg);

            recform.Show();
        }
Пример #2
0
        public void ifParam(int a, int b, int c, int d, int e, int f, int counterValue)
        {
            this.a = a;
            this.b = b;
            this.c = c;
            this.d = d;
            this.e = e;
            this.f = f;

            TriangleForm recform = new TriangleForm(a, b, c, d, e, f, counterValue);

            recform.Show();
        }
Пример #3
0
        public void draw(int a, int b, int c, int d, int e, int f, int g, int h, int i, int j)
        {
            this.a = a;
            this.b = b;
            this.c = c;
            this.d = d;
            this.e = e;
            this.f = f;

            TriangleForm recform = new TriangleForm(a, b, c, d, e, f);

            recform.Show();
        }