[CSHARP]private void Form1_Paint(object sender, PaintEventArgs e) { Graphics g = e.Graphics; // Create pen. Pen blackPen = new Pen(Color.Black, 3); // Create points that define polygon. Point point1 = new Point(30, 50); Point point2 = new Point(100, 25); Point point3 = new Point(200, 5); Point point4 = new Point(250, 50); Point point5 = new Point(270, 100); Point point6 = new Point(250, 250); Point[] curvePoints = {point1, point2, point3, point4, point5, point6}; // Draw polygon to screen. g.DrawPolygon(blackPen, curvePoints); // Fill polygon g.FillPolygon(Brushes.Red, curvePoints); }[/CSHARP]