public static void Instance(Action callback) { SetupWizard NewForm = new SetupWizard(); NewForm.callback = callback; SessionCore.Instance.Windows.Show(NewForm); }
private async void Page_Loaded(object sender, RoutedEventArgs e) { owner = (SetupWizard)Window.GetWindow(this); MpcConfigBusiness.IsSvpEnabled = true; MpcConfigBusiness.IsMadvrEnabled = true; MpcConfigBusiness.IsWidescreenEnabled = false; await owner.DownloadAndPlaySample("Ellie Goulding", "Burn"); }
private async void Page_Loaded(object sender, RoutedEventArgs e) { owner = (SetupWizard)Window.GetWindow(this); MpcConfigBusiness.IsSvpEnabled = true; MpcConfigBusiness.IsMadvrEnabled = true; MediaList.Settings.IsInDatabase = true; await Task.Delay(100); ComboBox_SelectionChanged(null, null); }
private async void Page_Loaded(object sender, RoutedEventArgs e) { owner = (SetupWizard)Window.GetWindow(this); MpcConfigBusiness.IsSvpEnabled = true; MpcConfigBusiness.IsMadvrEnabled = false; await owner.DownloadAndPlaySample("Girls' Generation", "Sexy Dance"); //EditVideoBusiness FindVideoBusiness = new EditVideoBusiness(); //Media Sample = FindVideoBusiness.GetVideoByTitle(MediaType.Video, "Girls' Generation", "Sexy Dance"); //if (Sample != null) { // await DownloadAndPlaySample(Sample); //} }
public void CommandBinding_SetupWizard(object sender, ExecutedRoutedEventArgs e) { if (!menuSetupWizard.IsEnabled) { return; } if (Settings.SavedFile.MediaPlayerApp == MediaPlayerApplication.Mpc) { PauseSession(); SetupWizard.Instance(null); } else { MessageBox.Show("To use this wizard, you must first set MPC-HC as your media player under Options.", "MPC-HC Setup Wizard"); } }
private void Page_Loaded(object sender, RoutedEventArgs e) { owner = (SetupWizard)Window.GetWindow(this); }