private void OpenSettings_Click(object sender, EventArgs e) { using (var sf = new SettingsForm()) sf.ShowDialog(); }