Пример #1
0
        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);
 }
Пример #3
0
 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();
 }