public YouTrackSettingsForm(YouTrackSettings youTrackSettings) { InitializeComponent(); this.youTrackSettings = youTrackSettings; this.youTrackSettingsControl = new YouTrackSettingsControl(youTrackSettings); Controls.Add(this.youTrackSettingsControl); }
private void ValidateYouTrackSettings(YouTrackSettings youTrackSettings) { try { youTrackSettings.ValidateSettings(); } catch (YouTrackException) { var youtrackSettingsForm = new YouTrackSettingsForm(youTrackSettings); if (youtrackSettingsForm.ShowDialog() == DialogResult.OK) { youTrackSettings.Save(); } } }
public YouTrackServer(YouTrackSettings youTrackSettings) { this.youTrackSettings = youTrackSettings; this.Project = this.youTrackSettings.Project; }