Beispiel #1
0
        private void ShowEULA()
        {
            if (Settings.Default.AgreedToEULA != false) return;

            Activate();

            using (var dimmerMask = new DimmerMask(this))
            {
                dimmerMask.Show(this);

                var consentForm = new ConsentForm();
                consentForm.ShowDialog();

                dimmerMask.Close();
            }

            if (Settings.Default.AgreedToEULA == false)
            {
                Application.Exit();
            }
        }
Beispiel #2
0
        private void settingsPictureButtonControl_Click(object sender, EventArgs e)
        {
            using (var dimmerMask = new DimmerMask(this))
            {
                dimmerMask.Show(this);

                using (var sf = new SettingsForm())
                {
                    sf.ShowDialog();
                }
                AnalyticsHelper.OptedIn = Settings.Default.OptIntoAnalytics;

                UpdateUIwithLicenseStatus();

                dimmerMask.Close();
            }
            //dimmerMask = null;
        }
Beispiel #3
0
        private void DisplayActivationOptions()
        {
            using (var dimmerMask = new DimmerMask(this))
            {
                dimmerMask.Show(this);

                using (var awForm = new ActivationWelcome())
                {
                    awForm.ShowDialog();
                }

                dimmerMask.Close();
            }

            UpdateUIwithLicenseStatus();
        }
Beispiel #4
0
        private void DisplayTutorial()
        {
            TutorialHelper.ResetProgress();

            TutorialHelper.TutorialStarted();

            selectInputVideosControl.InitializeSampleVideoTutorialBubble();

            tutorialEscapeHatch.RefreshProgress();
            tutorialEscapeHatch.Visible = true;

            using (var dimmerMask = new DimmerMask(this))
            {
                dimmerMask.Show(this);

                var fr = new TutorialForm
                {
                    CloseHandler = UpdateUIwithDRMStatusHandler
                };
                fr.ShowDialog();

                dimmerMask.Close();
            }
        }
        private void highlightThumbnailControl_HighlightDetailsOpening(object sender, HighlightEventArgs e)
        {
            using (var dimmerMask = new DimmerMask(this.ParentForm))
            {
                dimmerMask.Show(this.ParentForm);

                using (highlightDetailsForm = new HighlightDetailsForm())
                {
                    highlightDetailsForm.InitialHighlightIndex = e.HighlightObject.HighlightObjectIndex;
                    highlightDetailsForm.HighlightRemoved += highlightDetailsForm_HighlightRemoved;
                    highlightDetailsForm.InitializeStartOverTutorialBubble += highlightDetailsForm_InitializeStartOverTutorialBubble;
                    highlightDetailsForm.TutorialProgressUpdated += highlightDetailsForm_TutorialProgressUpdated;

                    if (highlightsFoundTutorialBubble.Visible)
                        highlightsFoundTutorialBubble_Advance(null, EventArgs.Empty);

                    if (HighlightDetailsOpened != null)
                        HighlightDetailsOpened(sender, e);

                    highlightDetailsForm.ShowDialog();

                    if (HighlightDetailsClosed != null)
                        HighlightDetailsClosed(sender, e);
                }

                dimmerMask.Close();
            }
        }