private void Page_Drop(object sender, DragEventArgs e) { window.Player.Queue.Clear(); InterfaceUtils.DoDragDrop((string[])e.Data.GetData(DataFormats.FileDrop), window.Player, window.Library); window.Player.PlayMusic(); var selectedItem = CategoryPanel.SelectedItem; LoadLibrary(); Thread.Sleep(10); CategoryPanel.SelectedItem = selectedItem; }
private void Page_Drop(object sender, DragEventArgs e) { InterfaceUtils.DoDragDrop((string[])e.Data.GetData(DataFormats.FileDrop), window.Player, window.Library, import: false, clearqueue: false); }
private void ControlsBox_Drop(object sender, DragEventArgs e) { Player.Queue.Clear(); InterfaceUtils.DoDragDrop((string[])e.Data.GetData(DataFormats.FileDrop), Player, Library, import: false); Player.PlayMusic(); }