protected override void OnDragEnter(DragEventArgs e) { base.OnDragEnter(e); // IToolboxService ts = ToolboxService; if (ts != null && ts.IsToolboxItem(e.Data, DesignerHost)) { e.Effect = DragDropEffects.Copy; } }
protected override void OnDragEnter(DragEventArgs e) { base.OnDragEnter(e); // IToolboxService ts = ToolboxService; if (ts != null && ts.IsToolboxItem(e.Data, DesignerHost)) { e.Effect = DragDropEffects.Copy; } }