git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.DevExpressVCL@21 05c56307-c608-d34a-929d-697000501d7a
84 lines
2.8 KiB
C++
84 lines
2.8 KiB
C++
//---------------------------------------------------------------------------
|
|
|
|
#ifndef GridMenuViewsDemoDataH
|
|
#define GridMenuViewsDemoDataH
|
|
//---------------------------------------------------------------------------
|
|
#include <Classes.hpp>
|
|
#include <Controls.hpp>
|
|
#include <StdCtrls.hpp>
|
|
#include <Forms.hpp>
|
|
#include "cxClasses.hpp"
|
|
#include "cxGridTableView.hpp"
|
|
#include "cxStyles.hpp"
|
|
#include <DB.hpp>
|
|
#include <ImgList.hpp>
|
|
#include <DBTables.hpp>
|
|
//---------------------------------------------------------------------------
|
|
class TGridMenuViewsDemoDataDM : public TDataModule
|
|
{
|
|
__published: // IDE-managed Components
|
|
TDataSource *dsCars;
|
|
TDataSource *dsOrders;
|
|
TDataSource *dsCustomers;
|
|
TDatabase *DataBase;
|
|
TTable *tblCars;
|
|
TAutoIncField *tblCarsID;
|
|
TStringField *tblCarsTrademark;
|
|
TStringField *tblCarsModel;
|
|
TSmallintField *tblCarshp;
|
|
TFloatField *tblCarsliter;
|
|
TSmallintField *tblCarscyl;
|
|
TSmallintField *tblCarsTransmissSpeedCount;
|
|
TStringField *tblCarsTransmissAutomatic;
|
|
TSmallintField *tblCarsMPG_City;
|
|
TSmallintField *tblCarsMPG_Highway;
|
|
TStringField *tblCarsCategory;
|
|
TMemoField *tblCarsDescription;
|
|
TStringField *tblCarsHyperlink;
|
|
TBlobField *tblCarsPicture;
|
|
TFloatField *tblCarsPrice;
|
|
TStringField *tblCarsCarName;
|
|
TTable *tblOrders;
|
|
TAutoIncField *tblOrdersID;
|
|
TIntegerField *tblOrdersCustomerID;
|
|
TIntegerField *tblOrdersProductID;
|
|
TDateTimeField *tblOrdersPurchaseDate;
|
|
TDateTimeField *tblOrdersTime;
|
|
TStringField *tblOrdersPaymentType;
|
|
TMemoField *tblOrdersDescription;
|
|
TIntegerField *tblOrdersQuantity;
|
|
TCurrencyField *tblOrdersPaymentAmount;
|
|
TStringField *tblOrdersPurchaseMonth;
|
|
TTable *tblCustomers;
|
|
TIntegerField *tblCustomersID;
|
|
TStringField *tblCustomersFirstName;
|
|
TStringField *tblCustomersLastName;
|
|
TStringField *tblCustomersCompany;
|
|
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 *cxStyle14;
|
|
TcxGridTableViewStyleSheet *GridTableViewStyleSheetDevExpress;
|
|
TImageList *PaymentTypeImages;
|
|
void __fastcall tblCarsCalcFields(TDataSet *DataSet);
|
|
void __fastcall tblOrdersCalcFields(TDataSet *DataSet);
|
|
private: // User declarations
|
|
public: // User declarations
|
|
__fastcall TGridMenuViewsDemoDataDM(TComponent* Owner);
|
|
};
|
|
//---------------------------------------------------------------------------
|
|
extern PACKAGE TGridMenuViewsDemoDataDM *GridMenuViewsDemoDataDM;
|
|
//---------------------------------------------------------------------------
|
|
#endif
|