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); } }
private void pictureBox1_Paint(object sender, System.Windows.Forms.PaintEventArgs e) { thisDrawing.draw(e.Graphics); }