using System.Collections.Generic;
static void Main(string[] args)
Random rnd = new Random();
int w = Polygon.GetClientWidth();
int h = Polygon.GetClientHeight();
Point yBottom = new Point(0, -h / 2);
Point yTop = new Point(0, h / 2);
Polygon yAxis = new Polygon(yBottom, yTop);
Point xLeft = new Point(-w / 2, 0);
Point xRight = new Point(w / 2, 0);
Polygon xAxis = new Polygon(xLeft, xRight);
Console.WriteLine("y = {0} x + {1}", m, b);
Point L = new Point(-w / 2, m * -w / 2 + b);
Point R = new Point(w / 2, m * w / 2 + b);
Polygon pL = new Polygon(20, 3);
pL.Move(L.GetX(), L.GetY());
Polygon pR = new Polygon(20, 3);
pR.Move(R.GetX(), R.GetY());
Polygon t = new Polygon(L, R);
Polygon L6 = new Polygon(20, 3);
Polygon L7 = new Polygon(20, 3);
for (int i = 0; i < 50; i++)
for (int q = 0; q < 150; q++)
L7.SetBrushColor(System.Drawing.Color.Red);
L7.SetBrushColor(System.Drawing.Color.Yellow);