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