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

            _reloadPending = false;
        }
示例#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();
        }
示例#4
0
 //Invokes Method
 private void buttonSubmit_Click(object sender, EventArgs e)
 {
     UpdateContent?.Invoke(this, new EventArgs());
     this.Close();
 }