private void pictureBox1_Paint(object sender, PaintEventArgs e) { if (isMouseMoving) { currentHandler.Paint(); } }