IHS0060MF.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. //---------------------------------------------------------------------------
  2. #ifndef IHS0060MFH
  3. #define IHS0060MFH
  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 <FMTBcd.hpp>
  12. #include <Provider.hpp>
  13. #include <SqlExpr.hpp>
  14. #include <Menus.hpp>
  15. #include <ExtCtrls.hpp>
  16. #include <Graphics.hpp>
  17. #include <ComCtrls.hpp>
  18. #include <ADODB.hpp>
  19. #include <Dialogs.hpp>
  20. #include <ExtDlgs.hpp>
  21. //---------------------------------------------------------------------------
  22. //---------------------------------------------------------------------------
  23. #include "WindowMsgF.h"
  24. #include "FRAME_ItsRoadF.h"
  25. #include "cxButtons.hpp"
  26. #include "cxCalendar.hpp"
  27. #include "cxContainer.hpp"
  28. #include "cxControls.hpp"
  29. #include "cxDropDownEdit.hpp"
  30. #include "cxEdit.hpp"
  31. #include "cxGraphics.hpp"
  32. #include "cxGroupBox.hpp"
  33. #include "cxLabel.hpp"
  34. #include "cxLookAndFeelPainters.hpp"
  35. #include "cxLookAndFeels.hpp"
  36. #include "cxMaskEdit.hpp"
  37. #include "cxPC.hpp"
  38. #include "cxPCdxBarPopupMenu.hpp"
  39. #include "cxSpinEdit.hpp"
  40. #include "cxSplitter.hpp"
  41. #include "cxTextEdit.hpp"
  42. #include "cxTimeEdit.hpp"
  43. #include "dxSkinBlack.hpp"
  44. #include "dxSkinBlue.hpp"
  45. #include "dxSkinsCore.hpp"
  46. #include "dxSkinscxPCPainter.hpp"
  47. #include "dxSkinMcSkin.hpp"
  48. class TIHS0060M : public TForm
  49. {
  50. __published: // IDE-managed Components
  51. TTimer *TmrShow;
  52. TShape *ShpTitle;
  53. TcxButton *BtnClose;
  54. TLabel *LblCaption;
  55. TShape *ShpList;
  56. TEdit *EdFocus;
  57. TPanel *PnlBack;
  58. TPanel *PnlLeft;
  59. TcxSplitter *cxSplitter1;
  60. TcxGroupBox *cxGroupBox2;
  61. TImage *ImgDesc01;
  62. TLabel *Label26;
  63. TImage *ImgDesc02;
  64. TLabel *Label6;
  65. TcxButton *BtnSearch;
  66. TcxGroupBox *cxGroupBox3;
  67. TcxGroupBox *cxGroupBox1;
  68. TcxPageControl *PgTab;
  69. TcxTabSheet *TsList01;
  70. TcxLabel *cxLabel1;
  71. TFRAMEItsRoad *FRAMEItsRoad1;
  72. TcxGroupBox *cxGroupBox4;
  73. TcxLabel *cxLabel5;
  74. TcxTextEdit *EdFilter;
  75. TcxButton *btnFilter;
  76. TcxButton *btnNoFilter;
  77. TDateTimePicker *DtEdTime;
  78. TDateTimePicker *DtEdDate;
  79. TDateTimePicker *DtStDate;
  80. TDateTimePicker *DtStTime;
  81. void __fastcall FormShow(TObject *Sender);
  82. void __fastcall TmrShowTimer(TObject *Sender);
  83. void __fastcall BtnSearchClick(TObject *Sender);
  84. void __fastcall BtnCloseClick(TObject *Sender);
  85. void __fastcall PgTabDblClick(TObject *Sender);
  86. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  87. void __fastcall btnFilterClick(TObject *Sender);
  88. void __fastcall EdFilterKeyPress(TObject *Sender, wchar_t &Key);
  89. void __fastcall PgTabCanCloseEx(TObject *Sender, int ATabIndex, bool &ACanClose);
  90. private: // User declarations
  91. void __fastcall CommClose();
  92. String FTitle;
  93. public:
  94. TList *m_pFormList;
  95. String FStDateTime;
  96. String FEdDateTime;
  97. String FIdList;
  98. public: // User declarations
  99. __fastcall TIHS0060M(TComponent* Owner);
  100. void __fastcall FormInit();
  101. void __fastcall RefreshData();
  102. void __fastcall OnSubFormClose(TMessage Msg);
  103. BEGIN_MESSAGE_MAP
  104. VCL_MESSAGE_HANDLER(WM_SUBFORM_CLOSE, TMessage, OnSubFormClose);
  105. END_MESSAGE_MAP(TForm);
  106. };
  107. //---------------------------------------------------------------------------
  108. extern PACKAGE TIHS0060M *IHS0060M;
  109. //---------------------------------------------------------------------------
  110. #endif