IHS00201F.h 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. //---------------------------------------------------------------------------
  2. #ifndef IHS00201FH
  3. #define IHS00201FH
  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 "cxClasses.hpp"
  21. #include "cxControls.hpp"
  22. #include "cxCustomData.hpp"
  23. #include "cxData.hpp"
  24. #include "cxDataStorage.hpp"
  25. #include "cxEdit.hpp"
  26. #include "cxFilter.hpp"
  27. #include "cxGraphics.hpp"
  28. #include "cxGrid.hpp"
  29. #include "cxGridCustomTableView.hpp"
  30. #include "cxGridCustomView.hpp"
  31. #include "cxGridLevel.hpp"
  32. #include "cxGridTableView.hpp"
  33. #include "cxLabel.hpp"
  34. #include "cxLookAndFeelPainters.hpp"
  35. #include "cxLookAndFeels.hpp"
  36. #include "cxStyles.hpp"
  37. #include "cxTextEdit.hpp"
  38. #include "dxSkinBlack.hpp"
  39. #include "dxSkinBlue.hpp"
  40. #include "dxSkinsCore.hpp"
  41. #include "dxSkinscxPCPainter.hpp"
  42. #include "cxContainer.hpp"
  43. //---------------------------------------------------------------------------
  44. class TIHS00201 : public TForm
  45. {
  46. __published: // IDE-managed Components
  47. TADOQuery *ADOQry;
  48. TTimer *TmrShow;
  49. TPanel *PnlTop;
  50. TPanel *PnlList;
  51. TLabel *LblSearch;
  52. TImage *ImgDesc01;
  53. TcxButton *BtnExlSave;
  54. TcxGrid *CxList;
  55. TcxGridTableView *TvList;
  56. TcxGridColumn *Column01;
  57. TcxGridColumn *Column02;
  58. TcxGridLevel *GlList;
  59. TcxGridColumn *Column03;
  60. TcxGridColumn *Column04;
  61. TcxGridColumn *Column05;
  62. TLabel *LblRecords;
  63. TcxLabel *cxLabel1;
  64. TcxLabel *cxLabel2;
  65. TcxLabel *cxLabel3;
  66. TcxLabel *cxLabel4;
  67. TcxLabel *cxLabel5;
  68. void __fastcall FormShow(TObject *Sender);
  69. void __fastcall TmrShowTimer(TObject *Sender);
  70. void __fastcall BtnExlSaveClick(TObject *Sender);
  71. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  72. void __fastcall TvListCustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
  73. bool &ADone);
  74. void __fastcall FormDestroy(TObject *Sender);
  75. private: // User declarations
  76. TcxDataController *m_pGDC;
  77. public:
  78. HWND FParent;
  79. String FStDateTime;
  80. String FEdDateTime;
  81. int FRptType;
  82. String FSystId;
  83. String FTitle;
  84. public: // User declarations
  85. __fastcall TIHS00201(TComponent* Owner, HWND hHandle, int ARptType, String ASystId, String sFrom, String sTo, String ATitle);
  86. __fastcall ~TIHS00201(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 TIHS00201 *IHS00201;
  95. //---------------------------------------------------------------------------
  96. #endif