private void OnButtonCSSettingsClick(object sender, EventArgs e) { var form = new AStyleSettingsForm(Language.CSharp); form.SetControls(CsOptions); if (form.ShowDialog() != DialogResult.OK) { return; } CsOptions = form.GetCommandLine(); textBoxCS.Text = CsOptions; }