Esempio n. 1
0
        void FireEvent(StateChanged mStateChanged)
        {
            CatchEvents mCatchEvent = new CatchEvents();

            if (mEventsEnabled == true)
            {
                mStateChanged.OnStateChangedEvent += new DStateChangedEventHandller(mCatchEvent.CatchOnStateChangedEvent);
                mStateChanged.NotifyChange(this, mStateChanged);
            }
        }