private void saveAsToolStripMenuItem_Click(object sender, EventArgs e) { SaveFileDialog sfd = new SaveFileDialog(); sfd.Filter = "QuestInfo (*.qi)|*.qi|All Files (*.*)|*.*"; if (sfd.ShowDialog() == DialogResult.OK) { CurrentAdventure.Save(sfd.FileName); saveToolStripMenuItem.Enabled = true; LastFileAccess = sfd.FileName; Dirty = false; } }
private void saveToolStripMenuItem_Click(object sender, EventArgs e) { CurrentAdventure.Save(LastFileAccess); Dirty = false; }