Exemplo n.º 1
0
 private void ConSelectedIndexChanged(object s, EventArgs e)
 {
     if (COnSelectedIndexChanged != null)
     {
         COnSelectedIndexChanged.Invoke(s, e);
     }
 }
Exemplo n.º 2
0
 public void ClearHandlers()
 {
     if (COnSelectedIndexChanged != null)
     {
         foreach (Delegate d in COnSelectedIndexChanged.GetInvocationList())
         {
             COnSelectedIndexChanged -= (OnSelectedIndexChanged)d;
         }
     }
 }