private void saveToolStripMenuItem_Click(object sender, EventArgs e) { using (var sfd = new SaveFileDialog()) { sfd.Filter = "Save file (*.sav)|*.sav|All files (*.*)|*.*"; if (sfd.ShowDialog() == DialogResult.OK) { save.ApplyEdits(sfd.FileName); MessageBox.Show("Succesfully saved.", "Done"); } } }