private void saveStateToolStripMenuItem_Click(object sender, EventArgs e) { FileStream s = System.IO.File.Open("c:\\c64files\\state_000.dat", FileMode.Create); myC64.StreamTo(s); s.Close(); }