//--------------------------------------------------------------------------- #ifndef GridMenuViewsDemoDataH #define GridMenuViewsDemoDataH //--------------------------------------------------------------------------- #include #include #include #include #include "cxClasses.hpp" #include "cxGridTableView.hpp" #include "cxStyles.hpp" #include #include #include //--------------------------------------------------------------------------- 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