private void buttonCoding_Click(object sender, EventArgs e) { TextEditorDialog dialog = new TextEditorDialog(); dialog.Value = MeepCode; if (dialog.ShowDialog(this) == DialogResult.OK) { MeepCode = dialog.Value; } }
private void buttonCoding_Click(object sender, EventArgs e) { TextEditorDialog dialog = new TextEditorDialog(); dialog.Value = MeepCode; if( dialog.ShowDialog( this ) == DialogResult.OK ) MeepCode = dialog.Value; }