public string runGetSettings(string name, string paramz = null) { var p = ParseParams(paramz); var runnerForm = new TaskRunnerForm(name, p, true); var showSettingsResult = runnerForm.ShowDialog(); lastSettings = runnerForm.CurrentTask.Settings; return getLastSettings(); }
public string runGetSettings(string name, string paramz = null) { var p = ParseParams(paramz); var runnerForm = new TaskRunnerForm(name, p, true); var showSettingsResult = runnerForm.ShowDialog(); lastSettings = runnerForm.CurrentTask.Settings; return(getLastSettings()); }
public string run(string name, string paramz = null) { var p = ParseParams(paramz); var runnerForm = new TaskRunnerForm(name, p); var showSettingsResult = runnerForm.ShowDialog(); if (showSettingsResult == DialogResult.Yes) { lastSettings = runnerForm.CurrentTask.Settings; } else { lastSettings = null; } return getLastSettings(); }
public string run(string name, string paramz = null) { var p = ParseParams(paramz); var runnerForm = new TaskRunnerForm(name, p); var showSettingsResult = runnerForm.ShowDialog(); if (showSettingsResult == DialogResult.Yes) { lastSettings = runnerForm.CurrentTask.Settings; } else { lastSettings = null; } return(getLastSettings()); }