Esempio n. 1
0
 private void UpdateContentNow()
 {
     if (UpdateContent != null)
     {
         UpdateContent.Invoke(this, null);
     }
 }
Esempio n. 2
0
        private void UpdateContentNow()
        {
            if (UpdateContent != null)
            {
                UpdateContent.Invoke(this, null);
            }

            _reloadPending = false;
        }
Esempio n. 3
0
        private async void AdvancedSettings_ShowFeedbackWarning(object sender, EventArgs e)
        {
            var result =
                await
                this.ShowMessageAsync(Properties.Resources.DialogAdvancedFeaturesWarningTitle,
                                      Properties.Resources.DialogAdvancedFeaturesWarningText, MessageDialogStyle.AffirmativeAndNegative);

            if (result == MessageDialogResult.Affirmative)
            {
                Settings.Default.EnableAdvancedFeatures = true;
                Settings.Default.Save();
                ProcessWatcher.Restart();
            }

            UpdateContent?.Invoke();
        }
Esempio n. 4
0
 //Invokes Method
 private void buttonSubmit_Click(object sender, EventArgs e)
 {
     UpdateContent?.Invoke(this, new EventArgs());
     this.Close();
 }