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

            NewForm.callback = callback;
            SessionCore.Instance.Windows.Show(NewForm);
        }
Exemplo n.º 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);
 }