예제 #1
0
        public void ClearLoadCompletedInvocationList()
        {
            if (LoadCompleted != null)
            {
                Delegate[] associatedDelegates = LoadCompleted.GetInvocationList();

                foreach (var d in associatedDelegates)
                {
                    LoadCompleted -= (d as LoadCompletedEventHandler);
                }
            }
        }