Ejemplo n.º 1
0
        /// <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);
            }
        }
Ejemplo n.º 3
0
 protected virtual void OnClick(ImageMapEventArgs e)
 {
     if (Events != null)
     {
         ImageMapEventHandler eh = (ImageMapEventHandler)Events [ClickEvent];
         if (eh != null)
         {
             eh(this, e);
         }
     }
 }