private void ButtonInfo_Click(ProcedureUI.Button sender)
 {
     if (Script != null)
     {
         EditorMessageBox.ShowInfo(GetInfo(Script));
     }
 }
Esempio n. 2
0
 public static void AddFilesToDeletionAtStartup(List <string> fileNames)
 {
     try
     {
         var txtFileName = Path.Combine(PackagesFolder, "FilesToDeleteAtStartup.txt");
         foreach (var file in fileNames)
         {
             File.AppendAllText(txtFileName, file + "\r\n");
         }
     }
     catch (Exception e)
     {
         EditorMessageBox.ShowInfo(e.Message);
     }
 }