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