Componentes.Terceros.DevExp.../official/x.36/ExpressQuantumTreeList 4/Demos/CBuilder/DragDropDemo/DragDropDemoData.h
2008-06-02 17:37:37 +00:00

73 lines
2.3 KiB
C++

//---------------------------------------------------------------------------
#ifndef DragDropDemoDataH
#define DragDropDemoDataH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxClasses.hpp"
#include "cxStyles.hpp"
#include <DB.hpp>
#include "cxTL.hpp"
#include <DBTables.hpp>
//---------------------------------------------------------------------------
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