示例#1
0
        public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
        {
            FormUpgrade dialog = new FormUpgrade(commandData.Application.Application);

            dialog.ShowDialog();
            return(Result.Succeeded);
        }
示例#2
0
 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);
     }
 }