public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) { FormUpgrade dialog = new FormUpgrade(commandData.Application.Application); dialog.ShowDialog(); return(Result.Succeeded); }
public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) { try { FormUpgrade dialog = new FormUpgrade(commandData.Application.Application); dialog.ShowDialog(); return(Result.Succeeded); } catch (Exception ex) { message = ex.Message; return(Result.Failed); } }