Interaction logic for SetupWizard.xaml
상속: System.Windows.Window
예제 #1
0
        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;
            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);
        }
예제 #5
0
        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);
            //}
        }
예제 #7
0
        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);
            //}
        }
예제 #8
0
        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");
            }
        }
 public static void Instance(Action callback) {
     SetupWizard NewForm = new SetupWizard();
     NewForm.callback = callback;
     SessionCore.Instance.Windows.Show(NewForm);
 }
 private void Page_Loaded(object sender, RoutedEventArgs e)
 {
     owner = (SetupWizard)Window.GetWindow(this);
 }
 private void Page_Loaded(object sender, RoutedEventArgs e) {
     owner = (SetupWizard)Window.GetWindow(this);
 }