private void HandleDrag(DragEventArgs e) { DragLayer.UpdateAdornerPosition(e); if (e.Data.GetDataPresent(DataFormats.FileDrop)) { e.Effects = DragDropEffects.Link; } else { DataSourcesControl.Instance?.HandleDrag(e); } e.Handled = true; }
private void OnMouseMove(object sender, MouseEventArgs e) { DragLayer.OnMouseMove(e); }