private void TextBoxStringTextChanged(object sender, EventArgs e) { if (this._validate) Util.ValidateTextBox(this.textBoxString); this.buttonOK.Enabled = this.textBoxString.Text.Trim() != ""; }