protected override void OnDragEnter(DragEventArgs de) { // Prevent user dragging a toolbox control onto the control de.Effect = DragDropEffects.None; }