IHS0010MF.h 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. //---------------------------------------------------------------------------
  2. #ifndef IHS0010MFH
  3. #define IHS0010MFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <ExtCtrls.hpp>
  10. #include <jpeg.hpp>
  11. #include <Buttons.hpp>
  12. #include <ImgList.hpp>
  13. #include <Graphics.hpp>
  14. #include <DB.hpp>
  15. #include <DBClient.hpp>
  16. #include <Provider.hpp>
  17. #include <Menus.hpp>
  18. #include <ComCtrls.hpp>
  19. #include <ADODB.hpp>
  20. #include <Dialogs.hpp>
  21. #include "cxButtons.hpp"
  22. #include "cxCalendar.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 "cxDropDownEdit.hpp"
  30. #include "cxEdit.hpp"
  31. #include "cxFilter.hpp"
  32. #include "cxGraphics.hpp"
  33. #include "cxGrid.hpp"
  34. #include "cxGridCustomTableView.hpp"
  35. #include "cxGridCustomView.hpp"
  36. #include "cxGridLevel.hpp"
  37. #include "cxGridTableView.hpp"
  38. #include "cxLabel.hpp"
  39. #include "cxLookAndFeelPainters.hpp"
  40. #include "cxLookAndFeels.hpp"
  41. #include "cxMaskEdit.hpp"
  42. #include "cxPC.hpp"
  43. #include "cxPCdxBarPopupMenu.hpp"
  44. #include "cxSpinEdit.hpp"
  45. #include "cxStyles.hpp"
  46. #include "cxTextEdit.hpp"
  47. #include "cxTimeEdit.hpp"
  48. #include "dxSkinBlack.hpp"
  49. #include "dxSkinBlue.hpp"
  50. #include "dxSkinsCore.hpp"
  51. #include "dxSkinscxPCPainter.hpp"
  52. #include "dxSkinMcSkin.hpp"
  53. //---------------------------------------------------------------------------
  54. class TIHS0010M : public TForm
  55. {
  56. __published: // IDE-managed Components
  57. TTimer *TmrRefresh;
  58. TShape *ShpList;
  59. TcxPageControl *PgList;
  60. TcxTabSheet *TsList;
  61. TShape *ShpTitle;
  62. TcxButton *BtnClose;
  63. TLabel *LblCaption;
  64. TPanel *Panel2;
  65. TcxButton *BtnSearch;
  66. TImage *ImgDesc1;
  67. TcxGrid *CxList;
  68. TcxGridTableView *TvList;
  69. TcxGridColumn *Column01;
  70. TcxGridColumn *Column02;
  71. TcxGridColumn *Column03;
  72. TcxGridLevel *GlList;
  73. TcxLabel *cxLabel1;
  74. TcxLabel *cxLabel2;
  75. TImage *ImgDesc2;
  76. TcxButton *BtnExlSave;
  77. TcxTimeEdit *DtStTime1;
  78. TcxTimeEdit *DtEdTime1;
  79. TADOQuery *ADOQry;
  80. TLabel *LblRecords;
  81. TDateTimePicker *DtEdTime;
  82. TDateTimePicker *DtEdDate;
  83. TDateTimePicker *DtStDate;
  84. TDateTimePicker *DtStTime;
  85. void __fastcall FormShow(TObject *Sender);
  86. void __fastcall TmrRefreshTimer(TObject *Sender);
  87. void __fastcall BtnSearchClick(TObject *Sender);
  88. void __fastcall BtnExlSaveClick(TObject *Sender);
  89. void __fastcall BtnCloseClick(TObject *Sender);
  90. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  91. void __fastcall TvListDataControllerFilterChanged(TObject *Sender);
  92. private: // User declarations
  93. void __fastcall CommClose();
  94. String FTitle;
  95. TcxDataController *m_pGDC;
  96. String FStDateTime;
  97. String FEdDateTime;
  98. public: // User declarations
  99. __fastcall TIHS0010M(TComponent* Owner);
  100. void __fastcall OnMessage(TMessage &Msg);
  101. void __fastcall FormInit();
  102. void __fastcall RefreshData();
  103. void __fastcall SelHistory();
  104. void __fastcall DspHistory();
  105. };
  106. //---------------------------------------------------------------------------
  107. extern PACKAGE TIHS0010M *IHS0010M;
  108. //---------------------------------------------------------------------------
  109. #endif