void TriggerStateChangedEvent(StateChanged ob) { if (m_EventsEnabled == true) { ob.StateChangedEvent += new DStateChangedEvent(ob_CatchEvents.CatchStateChangedEvent); ob.NotifyStateChanged(this, ob); } }