protected virtual void OnClick (ImageClickEventArgs e) { if (Events != null) { ImageClickEventHandler eh = (ImageClickEventHandler) (Events [ClickEvent]); if (eh != null) eh (this, e); } }