IHS0070MF.h 5.1 KB

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