123456789101112131415161718192021222324 |
- //---------------------------------------------------------------------------
- #pragma hdrstop
- #include "CDSNotifyF.h"
- //---------------------------------------------------------------------------
- #pragma package(smart_init)
- template<typename T>TCDSNotify<T>::TCDSNotify(T* AData)
- {
- FData = AData;
- FEvent = FData->Properties->OnChange;
- FData->Properties->OnChange = NULL;
- }
- //---------------------------------------------------------------------------
- template<typename T>TCDSNotify<T>::~TCDSNotify()
- {
- FData->Properties->OnChange = FEvent;
- }
- //---------------------------------------------------------------------------
|