Пример #1
0
 private void showAdvancedSettings(AdvancedSettings.ShowFirst showFirst)
 {
     try
     {
         var jiraProject = new JiraProject(view.JiraServer, view.JiraProject,
             view.JiraUserName, view.JiraPassword);
         var advancedSettings = new AdvancedSettings(jiraProject, selectedProject, showFirst);
         view.ShowAdvancedSettings(advancedSettings);
     }
     catch (Exception e)
     {
         view.WarnUser(e.Message);
     }
 }
Пример #2
0
 public void ShowAdvancedSettings(AdvancedSettings advancedSettings)
 {
     var view = new AdvancedSettingsView(advancedSettings);
     view.ShowDialog(this);
 }
Пример #3
0
 public AdvancedSettingsView(AdvancedSettings advancedSettings)
 {
     InitializeComponent();
     presenter = new AdvancedSettingsPresenter(this, advancedSettings);
 }