IHS0070MF.h 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. //---------------------------------------------------------------------------
  2. #ifndef IHS0070MFH
  3. #define IHS0070MFH
  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_ItsCrossF.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 "cxCheckBox.hpp"
  48. #include "cxClasses.hpp"
  49. #include "cxCustomData.hpp"
  50. #include "cxData.hpp"
  51. #include "cxDataStorage.hpp"
  52. #include "cxFilter.hpp"
  53. #include "cxGrid.hpp"
  54. #include "cxGridCustomTableView.hpp"
  55. #include "cxGridCustomView.hpp"
  56. #include "cxGridLevel.hpp"
  57. #include "cxGridTableView.hpp"
  58. #include "cxStyles.hpp"
  59. #include "dxSkinMcSkin.hpp"
  60. class TIHS0070M : public TForm
  61. {
  62. __published: // IDE-managed Components
  63. TTimer *TmrShow;
  64. TShape *ShpTitle;
  65. TcxButton *BtnClose;
  66. TLabel *LblCaption;
  67. TShape *ShpList;
  68. TEdit *EdFocus;
  69. TPanel *PnlBack;
  70. TPanel *PnlLeft;
  71. TcxSplitter *cxSplitter1;
  72. TcxGroupBox *cxGroupBox3;
  73. TcxGroupBox *cxGroupBox1;
  74. TcxPageControl *PgTab;
  75. TcxTabSheet *TsList01;
  76. TFRAMEItsCross *FRAMEItsCross1;
  77. TcxGroupBox *cxGroupBox4;
  78. TcxLabel *cxLabel5;
  79. TcxTextEdit *EdFilter;
  80. TcxButton *btnFilter;
  81. TcxButton *btnNoFilter;
  82. TPanel *PnlQry;
  83. TcxPageControl *PgQry;
  84. TcxTabSheet *TabTerm;
  85. TImage *ImgDesc01;
  86. TLabel *Label26;
  87. TLabel *Label1;
  88. TImage *ImgDesc03;
  89. TLabel *Label2;
  90. TImage *ImgDesc04;
  91. TcxButton *BtnSearch;
  92. TcxComboBox *CbStatType;
  93. TDateTimePicker *DtStTime;
  94. TDateTimePicker *DtEdTime;
  95. TcxLabel *cxLabel1;
  96. TDateTimePicker *DtEdDate;
  97. TDateTimePicker *DtStDate;
  98. TcxTabSheet *TabHour;
  99. TLabel *Label3;
  100. TImage *ImgDesc10;
  101. TImage *ImgDesc11;
  102. TLabel *Label6;
  103. TLabel *Label7;
  104. TImage *ImgDesc12;
  105. TLabel *Label5;
  106. TLabel *Label8;
  107. TLabel *Label9;
  108. TLabel *Label10;
  109. TcxComboBox *CbStatType1;
  110. TcxComboBox *CbStrTm1;
  111. TDateTimePicker *dtStrDate1;
  112. TDateTimePicker *dtEndDate1;
  113. TcxComboBox *CbEndTm1;
  114. TcxButton *BtnSearch1;
  115. TcxLabel *cxLabel2;
  116. TcxTabSheet *TabTime;
  117. TLabel *Label4;
  118. TImage *ImgDesc20;
  119. TLabel *Label11;
  120. TImage *ImgDesc21;
  121. TLabel *Label12;
  122. TImage *ImgDesc22;
  123. TLabel *Label13;
  124. TLabel *Label14;
  125. TcxComboBox *CbStatType2;
  126. TcxLabel *cxLabel3;
  127. TcxButton *BtnSearch2;
  128. TcxGrid *CxList;
  129. TcxGridTableView *TvList;
  130. TcxGridColumn *ColumnSel;
  131. TcxGridColumn *Column00;
  132. TcxGridColumn *Column01;
  133. TcxGridColumn *Column02;
  134. TcxGridColumn *Column03;
  135. TcxGridColumn *Column04;
  136. TcxGridColumn *Column05;
  137. TcxGridColumn *Column06;
  138. TcxGridLevel *GlList;
  139. TcxComboBox *CbStrTm2;
  140. TcxComboBox *CbEndTm2;
  141. void __fastcall FormShow(TObject *Sender);
  142. void __fastcall TmrShowTimer(TObject *Sender);
  143. void __fastcall BtnSearchClick(TObject *Sender);
  144. void __fastcall BtnCloseClick(TObject *Sender);
  145. void __fastcall PgTabDblClick(TObject *Sender);
  146. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  147. void __fastcall btnFilterClick(TObject *Sender);
  148. void __fastcall EdFilterKeyPress(TObject *Sender, wchar_t &Key);
  149. void __fastcall PgTabCanCloseEx(TObject *Sender, int ATabIndex, bool &ACanClose);
  150. void __fastcall PgQryPageChanging(TObject *Sender, TcxTabSheet *NewPage, bool &AllowChange);
  151. void __fastcall CbStatTypePropertiesChange(TObject *Sender);
  152. private: // User declarations
  153. void __fastcall CommClose();
  154. String FTitle;
  155. public:
  156. TList *m_pFormList;
  157. String FIdList;
  158. String FStTime, FEdTime;
  159. String FStTerm, FEdTerm;
  160. int FLinkLevel;
  161. int FStatType;
  162. public: // User declarations
  163. __fastcall TIHS0070M(TComponent* Owner);
  164. void __fastcall FormInit();
  165. void __fastcall RefreshData();
  166. void __fastcall OnSubFormClose(TMessage Msg);
  167. BEGIN_MESSAGE_MAP
  168. VCL_MESSAGE_HANDLER(WM_SUBFORM_CLOSE, TMessage, OnSubFormClose);
  169. END_MESSAGE_MAP(TForm);
  170. };
  171. //---------------------------------------------------------------------------
  172. extern PACKAGE TIHS0070M *IHS0070M;
  173. //---------------------------------------------------------------------------
  174. #endif