private void btOptions_Click(object sender, EventArgs e) { var form = new FormOptions(options); form.ShowDialog(); options.save(optionsFilename); }