Ejemplo n.º 1
0
 protected void SendOnSelect(int index)
 {
     if (null != OnSelect)
     {
         SelectEventArgs <int> args = new SelectEventArgs <int>(index);
         foreach (EventHandler <SelectEventArgs <int> > inv in OnSelect.GetInvocationList())
         {
             try
             {
                 inv(this, args);
             }
             catch (Exception exception)
             {
                 Log.postException(exception);
             }
         }
     }
 }