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