protected virtual void OnClick(EventArgs e) { EventHandler eh = (EventHandler)(Events [ClickEvent]); if (eh != null) eh (this, e); }
protected void InvokeOnClick(Control toInvoke, EventArgs e) { toInvoke.OnClick(e); }