DSRH0701F.h 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. //---------------------------------------------------------------------------
  2. #ifndef DSRH0701FH
  3. #define DSRH0701FH
  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 "FRAME_ChartF.h"
  20. #include "cxButtons.hpp"
  21. #include "cxCalc.hpp"
  22. #include "cxCheckBox.hpp"
  23. #include "cxClasses.hpp"
  24. #include "cxContainer.hpp"
  25. #include "cxControls.hpp"
  26. #include "cxCustomData.hpp"
  27. #include "cxData.hpp"
  28. #include "cxDataStorage.hpp"
  29. #include "cxEdit.hpp"
  30. #include "cxFilter.hpp"
  31. #include "cxGraphics.hpp"
  32. #include "cxGrid.hpp"
  33. #include "cxGridCustomTableView.hpp"
  34. #include "cxGridCustomView.hpp"
  35. #include "cxGridLevel.hpp"
  36. #include "cxGridTableView.hpp"
  37. #include "cxLabel.hpp"
  38. #include "cxLookAndFeelPainters.hpp"
  39. #include "cxLookAndFeels.hpp"
  40. #include "cxSplitter.hpp"
  41. #include "cxStyles.hpp"
  42. #include "cxTextEdit.hpp"
  43. #include "dxSkinBlack.hpp"
  44. #include "dxSkinBlue.hpp"
  45. #include "dxSkinsCore.hpp"
  46. #include "dxSkinscxPCPainter.hpp"
  47. class TDSRH0701 : public TForm
  48. {
  49. __published: // IDE-managed Components
  50. TADOQuery *ADOQry;
  51. TTimer *TmrShow;
  52. TPanel *PnlTop;
  53. TPanel *PnlList;
  54. TPanel *PnlChart;
  55. TcxSplitter *cxSplitter1;
  56. TLabel *LblSearch;
  57. TImage *ImgDesc01;
  58. TLabel *LblRecords;
  59. TcxButton *BtnExlSave;
  60. TSpeedButton *BtClose;
  61. TcxCheckBox *ChkExpand;
  62. TcxGrid *CxList;
  63. TcxGridTableView *TvList;
  64. TcxGridColumn *Column01;
  65. TcxGridColumn *Column02;
  66. TcxGridLevel *GlList;
  67. TcxGridColumn *Column03;
  68. TcxGridColumn *Column04;
  69. TcxGridColumn *Column05;
  70. TcxGridColumn *Column06;
  71. TcxGridColumn *Column07;
  72. TFRAMEChart *FRAMEChart1;
  73. void __fastcall FormShow(TObject *Sender);
  74. void __fastcall TmrShowTimer(TObject *Sender);
  75. void __fastcall ChkExpandClick(TObject *Sender);
  76. void __fastcall BtnExlSaveClick(TObject *Sender);
  77. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  78. void __fastcall FormDestroy(TObject *Sender);
  79. private: // User declarations
  80. TcxDataController *m_pGDC;
  81. public:
  82. HWND FParent;
  83. String FStDateTime;
  84. String FEdDateTime;
  85. String FIdList;
  86. int FSTAT;
  87. public: // User declarations
  88. __fastcall TDSRH0701(TComponent* Owner, HWND hHandle, String sFrom, String sTo, String sIdList, int nStat);
  89. __fastcall ~TDSRH0701(void);
  90. void __fastcall OnMessage(TMessage &Msg);
  91. void __fastcall CommClose();
  92. void __fastcall FormInit();
  93. void __fastcall SelHistory();
  94. void __fastcall DspHistory();
  95. };
  96. //---------------------------------------------------------------------------
  97. extern PACKAGE TDSRH0701 *DSRH0701;
  98. //---------------------------------------------------------------------------
  99. #endif