/* * Export all memory content to an XML file. */ private void SaveProjectToolStripMenuItem_Click(object sender, EventArgs e) { // Pick the file to create SaveFileDialog dialog = new SaveFileDialog { Title = "Save Project File", CheckPathExists = true, Filter = "Foenix Project File| *.fnxml" }; if (dialog.ShowDialog() == DialogResult.OK) { FoeniXmlFile fnxml = new FoeniXmlFile(kernel, ResChecker); fnxml.Write(dialog.FileName, true); } }
/* * Export all memory content to an XML file. */ private void SaveProjectToolStripMenuItem_Click(object sender, EventArgs e) { // Pick the file to create SaveFileDialog dialog = new SaveFileDialog { Title = "Save Project File", CheckPathExists = true, Filter = "Foenix Project File| *.fnxml" }; if (dialog.ShowDialog() == DialogResult.OK) { FoeniXmlFile fnxml = new FoeniXmlFile(system.MemoryManager, ResChecker, CPUWindow.Instance.breakpoints); fnxml.Write(dialog.FileName, true); } }