private void MenuScriptCallback(object sender, EventArgs e) { string result = String.Empty; try { result = _scriptAction.Execute(); } catch (Exception ex) { result = ex.Message; } SetStatusBarText(result); }
public string Execute() { return(_scriptAction.Execute()); }