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