//--------------------------------------------------------------------------- #ifndef DragDropDemoDataH #define DragDropDemoDataH //--------------------------------------------------------------------------- #include #include #include #include #include "cxClasses.hpp" #include "cxStyles.hpp" #include #include "cxTL.hpp" #include //--------------------------------------------------------------------------- class TDragDropDemoDataDM : public TDataModule { __published: // IDE-managed Components TDatabase *DataBase; TTable *tblDepartments; TAutoIncField *tblDepartmentsID; TIntegerField *tblDepartmentsPARENTID; TStringField *tblDepartmentsNAME; TFloatField *tblDepartmentsBUDGET; TStringField *tblDepartmentsPHONE; TStringField *tblDepartmentsFAX; TStringField *tblDepartmentsEMAIL; TBooleanField *tblDepartmentsVACANCY; TDataSource *dsDepartments; TTable *tblPersons; TAutoIncField *tblPersonsID; TStringField *tblPersonsName; TStringField *tblPersonsCountry; TStringField *tblPersonsPostalCode; TStringField *tblPersonsCity; TStringField *tblPersonsAddress; TStringField *tblPersonsPhone; TStringField *tblPersonsFax; TStringField *tblPersonsEMAIL; TStringField *tblPersonsHOMEPAGE; TIntegerField *tblPersonsDepartmentID; TDataSource *dsPersons; TcxStyleRepository *StyleRepository; TcxStyle *cxStyle1; TcxStyle *cxStyle2; TcxStyle *cxStyle3; TcxStyle *cxStyle4; TcxStyle *cxStyle5; TcxStyle *cxStyle6; TcxStyle *cxStyle7; TcxStyle *cxStyle8; TcxStyle *cxStyle9; TcxStyle *cxStyle10; TcxStyle *cxStyle11; TcxStyle *cxStyle12; TcxStyle *cxStyle13; TcxStyle *stlGroupNode; TcxStyle *stlFixedBand; TcxTreeListStyleSheet *TreeListStyleSheetDevExpress; TTable *tblDeptDict; TDataSource *dsDeptDict; TDataSource *dsPersDict; TTable *tblPersDict; private: // User declarations public: // User declarations __fastcall TDragDropDemoDataDM(TComponent* Owner); void SetParentValue(Variant AValue); }; //--------------------------------------------------------------------------- extern PACKAGE TDragDropDemoDataDM *DragDropDemoDataDM; //--------------------------------------------------------------------------- #endif