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