You did not say if you use it DragOverexactly. Perhaps you install e.Effect = DragDropEffects.All;in this even, and it will run several times after entering the target control instead DragEnter, which will only run once.
private void arbol_DragOver(object sender, DragEventArgs e)
{
if (some_reason)
e.Effect = DragDropEffects.None;
else
e.Effect = DragDropEffects.All;
}
If you have not used this event or changed it e.Effectinternally, then it is difficult to say. Code is required.
source
share