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

65 lines
2.1 KiB
C++

//---------------------------------------------------------------------------
#ifndef CustomDrawDemoDataH
#define CustomDrawDemoDataH
//---------------------------------------------------------------------------
#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 TCustomDrawDemoDataDM : 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;
TIntegerField *tblDepartmentsMANAGERID;
TDataSource *dsDepartments;
TDataSource *dsPersons;
TTable *tblPersons;
TIntegerField *tblPersonsID;
TStringField *tblPersonsName;
TStringField *tblPersonsAddress;
TStringField *tblPersonsPhone;
TStringField *tblPersonsFax;
TStringField *tblPersonsEMAIL;
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 *styNoVacancy;
TcxStyle *styVacancy;
TcxTreeListStyleSheet *TreeListStyleSheetDevExpress;
private: // User declarations
public: // User declarations
__fastcall TCustomDrawDemoDataDM(TComponent* Owner);
void SetParentValue(Variant AValue);
};
//---------------------------------------------------------------------------
extern PACKAGE TCustomDrawDemoDataDM *CustomDrawDemoDataDM;
//---------------------------------------------------------------------------
#endif