Exemple #1
0
 private void EditSettings()
 {
     using (var form = new SettingsForm(this.settings))
     {
         if (form.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
         {
             restClientFactory.BaseUrl = this.settings.JiraBaseUrl;
             Logging.Logger.Instance.Enabled = settings.LoggingEnabled;
             if (IsJiraEnabled)
                 AuthenticateJira(this.settings.Username, this.settings.Password);
             InitializeIssueControls();
         }
     }
 }
Exemple #2
0
 private void EditSettings()
 {
     using (var form = new SettingsForm(this.settings))
     {
         if (form.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
         {
             restClientFactory.BaseUrl = this.settings.JiraBaseUrl;
             jiraApiRequester          = new JiraApiRequester(restClientFactory, jiraApiRequestFactory, new HttpBasicAuthenticator(this.settings.Username, this.settings.PrivateApiToken));
             jiraClient = new JiraClient(jiraApiRequestFactory, jiraApiRequester);
             Logging.Logger.Instance.Enabled = settings.LoggingEnabled;
             if (IsJiraEnabled)
             {
                 AuthenticateJira(this.settings.Username, this.settings.PrivateApiToken);
             }
             InitializeIssueControls();
         }
     }
 }
Exemple #3
0
 private void EditSettings()
 {
     using (var form = new SettingsForm(this.settings))
     {
         if (form.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
         {
             jiraClient.BaseUrl = this.settings.JiraBaseUrl;
             InitializeIssueControls();
         }
     }
 }
 private void EditSettings()
 {
     using (var form = new SettingsForm(this.settings))
     {
         if (form.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
         {
             restClientFactory.BaseUrl = this.settings.JiraBaseUrl;
             Logging.Logger.Instance.Enabled = settings.LoggingEnabled;
             InitializeIssueControls();
         }
     }
 }