protected virtual void OnTextChanged (EventArgs e) { EventHandler h = (EventHandler) Events [TextChangedEvent]; if (h != null) h (this, e); }