IHS00201F.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. #include "dxSkinMcSkin.hpp"
  44. //---------------------------------------------------------------------------
  45. class TIHS00201 : 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. TcxButton *BtnExlSave;
  55. TcxGrid *CxList;
  56. TcxGridTableView *TvList;
  57. TcxGridColumn *Column01;
  58. TcxGridColumn *Column02;
  59. TcxGridLevel *GlList;
  60. TcxGridColumn *Column03;
  61. TcxGridColumn *Column04;
  62. TcxGridColumn *Column05;
  63. TLabel *LblRecords;
  64. TcxLabel *cxLabel1;
  65. TcxLabel *cxLabel2;
  66. TcxLabel *cxLabel3;
  67. TcxLabel *cxLabel4;
  68. TcxLabel *cxLabel5;
  69. void __fastcall FormShow(TObject *Sender);
  70. void __fastcall TmrShowTimer(TObject *Sender);
  71. void __fastcall BtnExlSaveClick(TObject *Sender);
  72. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  73. void __fastcall TvListCustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
  74. bool &ADone);
  75. void __fastcall FormDestroy(TObject *Sender);
  76. private: // User declarations
  77. TcxDataController *m_pGDC;
  78. public:
  79. HWND FParent;
  80. String FStDateTime;
  81. String FEdDateTime;
  82. int FRptType;
  83. String FSystId;
  84. String FTitle;
  85. public: // User declarations
  86. __fastcall TIHS00201(TComponent* Owner, HWND hHandle, int ARptType, String ASystId, String sFrom, String sTo, String ATitle);
  87. __fastcall ~TIHS00201(void);
  88. void __fastcall OnMessage(TMessage &Msg);
  89. void __fastcall CommClose();
  90. void __fastcall FormInit();
  91. void __fastcall SelHistory();
  92. void __fastcall DspHistory();
  93. };
  94. //---------------------------------------------------------------------------
  95. extern PACKAGE TIHS00201 *IHS00201;
  96. //---------------------------------------------------------------------------
  97. #endif