Example #1
0
 public void ReopenClosedFile()
 {
     if (File.Exists((exp.Settings as FileOutputSettings).TargetFilename))
     {
         hexBox.closeFile(false);
         hexBox.openFile((exp.Settings as FileOutputSettings).TargetFilename, true);
         hexBox.collapseControl(false);
     }
 }
Example #2
0
 public void CloseFileToGetFileStreamForExecution()
 {
     try
     {
         hexBox.saveData(true, false);
         hexBox.closeFile(false);
         hexBox.openFile((exp.Settings as FileInputSettings).OpenFilename, true);
         //hexBox.IsEnabled = false;
     }
     catch (Exception ex)
     {
         GuiLogMessage(string.Format("Error trying to reopen file: {0}", ex), NotificationLevel.Error);
     }
 }