private void OnUserPreferencesMenu(object sender, EventArgs e) { var dialog = new UserSettingsForm(); dialog.ShowDialog(); }