예제 #1
0
                private void OnRegister(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 = _RegisterEvent;
                            }

                        if (copy != null)
                            copy(this, new DdeRegistrationEventArgs(internalArgs));
                    }
예제 #2
0
 internal DdeRegistrationEventArgs(DdemlRegistrationEventArgs args)
 {
 }