private void saveToolStripMenuItem_Click(object sender, EventArgs e) { using (Stream fs = new FileStream(currentFile, FileMode.Create)) { Map.Serialize(fs); } }