/// <devdoc> /// <para>Called when the user clicks the ImageMap.</para> /// </devdoc> protected virtual void OnClick(ImageMapEventArgs e) { ImageMapEventHandler clickHandler = (ImageMapEventHandler)Events[EventClick]; if (clickHandler != null) { clickHandler(this, e); } }
protected virtual void OnClick(ImageMapEventArgs e) { ImageMapEventHandler handler = (ImageMapEventHandler)base.Events[EventClick]; if (handler != null) { handler(this, e); } }
protected virtual void OnClick(ImageMapEventArgs e) { if (Events != null) { ImageMapEventHandler eh = (ImageMapEventHandler)Events [ClickEvent]; if (eh != null) { eh(this, e); } } }