public static void Instance(Action callback)
        {
            DownloadPlaylistWindow NewForm = new DownloadPlaylistWindow();

            NewForm.callback = callback;
            SessionCore.Instance.Windows.Show(NewForm);
        }
예제 #2
0
        private void CommandBinding_DownloadPlaylist(object sender, ExecutedRoutedEventArgs e)
        {
            if (!menuDownloadPlaylist.IsEnabled)
            {
                return;
            }

            DownloadPlaylistWindow.Instance(null);
        }
 public static void Instance(Action callback) {
     DownloadPlaylistWindow NewForm = new DownloadPlaylistWindow();
     NewForm.callback = callback;
     SessionCore.Instance.Windows.Show(NewForm);
 }