VDSH0701F.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. //---------------------------------------------------------------------------
  2. #ifndef VDSH0701FH
  3. #define VDSH0701FH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <DB.hpp>
  10. #include <DBClient.hpp>
  11. #include <Provider.hpp>
  12. #include <ExtCtrls.hpp>
  13. #include <Graphics.hpp>
  14. #include <Buttons.hpp>
  15. #include <ADODB.hpp>
  16. #include <Menus.hpp>
  17. //---------------------------------------------------------------------------
  18. #include "WindowMsgF.h"
  19. #include "cxButtons.hpp"
  20. #include "cxCheckBox.hpp"
  21. #include "cxClasses.hpp"
  22. #include "cxContainer.hpp"
  23. #include "cxControls.hpp"
  24. #include "cxCustomData.hpp"
  25. #include "cxData.hpp"
  26. #include "cxDataStorage.hpp"
  27. #include "cxEdit.hpp"
  28. #include "cxFilter.hpp"
  29. #include "cxGraphics.hpp"
  30. #include "cxGrid.hpp"
  31. #include "cxGridBandedTableView.hpp"
  32. #include "cxGridCustomTableView.hpp"
  33. #include "cxGridCustomView.hpp"
  34. #include "cxGridLevel.hpp"
  35. #include "cxGridTableView.hpp"
  36. #include "cxLabel.hpp"
  37. #include "cxLookAndFeelPainters.hpp"
  38. #include "cxLookAndFeels.hpp"
  39. #include "cxStyles.hpp"
  40. #include "dxSkinBlack.hpp"
  41. #include "dxSkinBlue.hpp"
  42. #include "dxSkinsCore.hpp"
  43. #include "dxSkinscxPCPainter.hpp"
  44. #include "dxSkinMcSkin.hpp"
  45. class TVDSH0701 : public TForm
  46. {
  47. __published: // IDE-managed Components
  48. TADOQuery *ADOQry;
  49. TTimer *TmrShow;
  50. TPanel *PnlTop;
  51. TPanel *PnlList;
  52. TLabel *LblSearch;
  53. TImage *ImgDesc01;
  54. TLabel *LblRecords;
  55. TcxButton *BtnExlSave;
  56. TcxCheckBox *ChkExpand;
  57. TcxGrid *CxList;
  58. TcxGridLevel *GlList;
  59. TcxGridBandedTableView *TvList;
  60. TcxGridBandedColumn *Column01;
  61. TcxGridBandedColumn *Column02;
  62. TcxGridBandedColumn *Column03;
  63. TcxGridBandedColumn *Column04;
  64. TcxGridBandedColumn *Column05;
  65. TcxGridBandedColumn *Column06;
  66. TcxGridBandedColumn *Column07;
  67. TcxGridBandedColumn *Column08;
  68. TcxGridBandedColumn *Column09;
  69. TcxGridBandedColumn *Column00;
  70. void __fastcall FormShow(TObject *Sender);
  71. void __fastcall TmrShowTimer(TObject *Sender);
  72. void __fastcall ChkExpandClick(TObject *Sender);
  73. void __fastcall BtnExlSaveClick(TObject *Sender);
  74. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  75. void __fastcall Column06CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
  76. TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);
  77. private: // User declarations
  78. TcxDataController *m_pGDC;
  79. public:
  80. HWND FParent;
  81. String FStDateTime;
  82. String FEdDateTime;
  83. String FIdList;
  84. public: // User declarations
  85. __fastcall TVDSH0701(TComponent* Owner, HWND hHandle, String sFrom, String sTo, String sIdList);
  86. __fastcall ~TVDSH0701(void);
  87. void __fastcall OnMessage(TMessage &Msg);
  88. void __fastcall CommClose();
  89. void __fastcall FormInit();
  90. void __fastcall SelHistory();
  91. void __fastcall DspHistory();
  92. };
  93. //---------------------------------------------------------------------------
  94. extern PACKAGE TVDSH0701 *VDSH0701;
  95. //---------------------------------------------------------------------------
  96. #endif