internal DdeRegistrationEventArgs(DdemlRegistrationEventArgs args)
 {
 }
예제 #2
0
        private void OnUnregister(object sender, DdemlRegistrationEventArgs internalArgs)
        {
            EventHandler<DdeRegistrationEventArgs> copy;

            // To make this thread-safe we need to hold a local copy of the reference to the invocation list.  This works because delegates are
            // immutable.
            lock (_LockObject)
            {
                copy = _UnregisterEvent;
            }

            if (copy != null)
            {
                copy(this, new DdeRegistrationEventArgs(internalArgs));
            }
        }