public Form1() { InitializeComponent(); // points[0] = new Point(400,200); // points[1] = new Point(600, 400); // points[2] = new Point(100, 600); this.triangle = new LineFillTriangle(this.CreateGraphics()); }