git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.DevExpressVCL@31 05c56307-c608-d34a-929d-697000501d7a
89 lines
3.1 KiB
C++
89 lines
3.1 KiB
C++
//---------------------------------------------------------------------------
|
|
|
|
#ifndef ViewNestedBandsDemoDataH
|
|
#define ViewNestedBandsDemoDataH
|
|
//---------------------------------------------------------------------------
|
|
#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 "cxDBEditRepository.hpp"
|
|
#include "cxEdit.hpp"
|
|
#include "cxEditRepositoryItems.hpp"
|
|
#include "cxGridCardView.hpp"
|
|
#include <ImgList.hpp>
|
|
#include <DBTables.hpp>
|
|
#include <Db.hpp>
|
|
//---------------------------------------------------------------------------
|
|
class TViewNestedBandsDemoDataDM : 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 *tblCarsCar;
|
|
TTable *tblOrders;
|
|
TAutoIncField *tblOrdersID;
|
|
TIntegerField *tblOrdersCustomerID;
|
|
TIntegerField *tblOrdersProductID;
|
|
TDateTimeField *tblOrdersPurchaseDate;
|
|
TDateTimeField *tblOrdersTime;
|
|
TStringField *tblOrdersPaymentType;
|
|
TMemoField *tblOrdersDescription;
|
|
TIntegerField *tblOrdersQuantity;
|
|
TCurrencyField *tblOrdersPaymentAmount;
|
|
TTable *tblCustomers;
|
|
TIntegerField *tblCustomersID;
|
|
TStringField *tblCustomersFirstName;
|
|
TStringField *tblCustomersLastName;
|
|
TStringField *tblCustomersCompany;
|
|
TStringField *tblCustomersPrefix;
|
|
TStringField *tblCustomersTitle;
|
|
TStringField *tblCustomersAddress;
|
|
TStringField *tblCustomersCity;
|
|
TStringField *tblCustomersState;
|
|
TStringField *tblCustomersZipCode;
|
|
TStringField *tblCustomersSource;
|
|
TStringField *tblCustomersCustomer;
|
|
TStringField *tblCustomersHomePhone;
|
|
TStringField *tblCustomersFaxPhone;
|
|
TStringField *tblCustomersSpouse;
|
|
TStringField *tblCustomersOccupation;
|
|
TMemoField *tblCustomersDescription;
|
|
TStringField *tblCustomersName;
|
|
TcxStyleRepository *StyleRepository;
|
|
TcxStyle *cxStyle31;
|
|
TcxStyle *cxStyle35;
|
|
TImageList *PaymentTypeImages;
|
|
void __fastcall tblCarsCalcFields(TDataSet *DataSet);
|
|
void __fastcall tblCustomersCalcFields(TDataSet *DataSet);
|
|
private: // User declarations
|
|
public: // User declarations
|
|
__fastcall TViewNestedBandsDemoDataDM(TComponent* Owner);
|
|
};
|
|
//---------------------------------------------------------------------------
|
|
extern PACKAGE TViewNestedBandsDemoDataDM *ViewNestedBandsDemoDataDM;
|
|
//---------------------------------------------------------------------------
|
|
#endif
|