private void pictureBox1_MouseDown(object sender, MouseEventArgs e) { if (!(currentHandler is null)) { if (e.Button == MouseButtons.Left) { currentHandler.MouseDown(e); isMouseMoving = true; } } }