예제 #1
0
 /// <summary>
 /// Writes this processes output to a file.
 /// </summary>
 private void WriteToFile()
 {
     try
     {
         Installer.WriteLogToFile(_workingPath, _process.Configuration, _log.ToString());
     }
     catch (Exception ex)
     {
         Installer.WriteLogToFile(_workingPath, _process.Label, ex.ToString());
     }
 }
예제 #2
0
 /// <summary>
 /// Writes this log to a file.
 /// </summary>
 private void WriteToFile()
 {
     try
     {
         Installer.WriteLogToFile(_workingPath, _process.Configuration, logTextBox.Text);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString(), "Write Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
     }
 }