private void myDrawingPanel_Paint(object sender, PaintEventArgs e) { Graphics g = e.Graphics; g.DrawLine(Pens.Black, 10, 10, 100, 100); g.DrawEllipse(Pens.Blue, 9, 9, 2, 2); g.DrawEllipse(Pens.Red, 99, 99, 2, 2); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)