private void Triangle_Click(object sender, EventArgs e) { g.Clear(back_ground); Point[] a = new Point[3]; a[0] = new Point(0, pictureBox1.Height / 2); a[1] = new Point(pictureBox1.Width / 2, 0); a[2] = new Point(pictureBox1.Width, pictureBox1.Height / 2); Point b = new Point(100, 125); fractals.Triangle(a, b, 6000); pictureBox1.Image = bmp; }