Exemple #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));
                    }
Exemple #2
0
 internal DdeRegistrationEventArgs(DdemlRegistrationEventArgs args)
 {
 }