Пример #1
0
 private void pictureBox1_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
 {
     thisDrawing.draw(e.Graphics);
     if (lineInProgress)
     {
         e.Graphics.DrawLine(currentPen, startx, starty, endx, endy);
     }
 }
Пример #2
0
 private void pictureBox1_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
 {
     thisDrawing.draw(e.Graphics);
 }