private void showFullDisassemblyToolStripMenuItem_Click(object sender, EventArgs e) { string outputfile = Path.GetDirectoryName(m_currentfile); outputfile = Path.Combine(outputfile, Path.GetFileNameWithoutExtension(m_currentfile) + "_full.asm"); if (!AssemblerViewerActive(true, outputfile)) { frmProgress progress = new frmProgress(); progress.Show(); progress.SetProgress("Start disassembler"); if (!File.Exists(outputfile)) { progress.SetProgress("Disassembler running..."); Disassembler dis = new Disassembler(); dis.DisassembleFileRtf(m_currentfile, outputfile, m_currentfile_size, m_symbols); progress.SetProgress("Disassembler done..."); } progress.SetProgress("Loading assembler file"); StartAssemblerViewer(outputfile, progress); progress.Close(); } }