Interaction logic for EditPlaylistWindow.xaml
Inheritance: System.Windows.Window
        public static void Instance(Action callback)
        {
            EditPlaylistWindow NewForm = new EditPlaylistWindow();

            NewForm.callback = callback;
            SessionCore.Instance.Windows.Show(NewForm);
        }
Exemple #2
0
        private void CommandBinding_EditPlaylist(object sender, ExecutedRoutedEventArgs e)
        {
            if (!menuEditPlaylist.IsEnabled)
            {
                return;
            }

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