private void clicked(object realEvent) { if (OnClick != null) { OnClick(new ClickEvent(realEvent, this)); } }