Point pt0 = new Point(10, 10);
int width = 50;
var g = pictureBox1.CreateGraphics();
var a = this.pictureBox1.CreateGraphics();
var p = new Pen(Color.Black, 10);
var pen = new Pen(Color.Black);
var brush = new SolidBrush(Color.White);
brush.Color = Color.Blue;
Rectangle[] rects = new Rectangle[3];
Point point1 = new Point(300, 114);
Point point2 = new Point(217, 245);
Point point3 = new Point(380, 245);
Point[] pntArr = { point1, point2, point3 };
g.FillPolygon(Brushes.Blue, pntArr);
}
}