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); } }
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); } }