private void saveAsToolStripMenuItem_Click(object sender, EventArgs e) { DialogResult dr = saveFileDialog1.ShowDialog(); if (dr == DialogResult.OK) { _testFile.SetMultiValueOption(CUSTOM_TESTS, _grid.GetValues()); _testFile.SaveAs(saveFileDialog1.FileName); } }