private void saveAsToolStripMenuItem_Click(object sender, EventArgs e) { saveFileDialog1.Filter = _saveHandler.GetFilter(); saveFileDialog1.DefaultExt = _saveHandler.GetDefaultExtension(); if (saveFileDialog1.ShowDialog() != DialogResult.OK) { return; } SaveFile(saveFileDialog1.FileName); }