IAN00501F.h 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. //---------------------------------------------------------------------------
  2. #ifndef IAN00501FH
  3. #define IAN00501FH
  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 "FRAME_ChartF.h"
  20. #include "cxButtons.hpp"
  21. #include "cxCalc.hpp"
  22. #include "cxCheckBox.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 "cxEdit.hpp"
  30. #include "cxFilter.hpp"
  31. #include "cxGraphics.hpp"
  32. #include "cxGrid.hpp"
  33. #include "cxGridBandedTableView.hpp"
  34. #include "cxGridCustomTableView.hpp"
  35. #include "cxGridCustomView.hpp"
  36. #include "cxGridLevel.hpp"
  37. #include "cxGridTableView.hpp"
  38. #include "cxLookAndFeelPainters.hpp"
  39. #include "cxLookAndFeels.hpp"
  40. #include "cxSplitter.hpp"
  41. #include "cxStyles.hpp"
  42. #include "cxTextEdit.hpp"
  43. #include "dxSkinBlack.hpp"
  44. #include "dxSkinBlue.hpp"
  45. #include "dxSkinsCore.hpp"
  46. #include "dxSkinscxPCPainter.hpp"
  47. #include "cxLabel.hpp"
  48. class TIAN00501 : public TForm
  49. {
  50. __published: // IDE-managed Components
  51. TADOQuery *ADOQry;
  52. TTimer *TmrShow;
  53. TPanel *PnlTop;
  54. TPanel *PnlList;
  55. TPanel *PnlChart;
  56. TcxSplitter *cxSplitter1;
  57. TLabel *LblSearch;
  58. TImage *ImgDesc01;
  59. TLabel *LblRecords;
  60. TcxButton *BtnExlSave;
  61. TcxCheckBox *ChkExpand;
  62. TcxGrid *CxList;
  63. TcxGridLevel *GlList;
  64. TFRAMEChart *FRAMEChart1;
  65. TcxGridBandedTableView *TvList;
  66. TcxGridBandedColumn *Column01;
  67. TcxGridBandedColumn *Column02;
  68. TcxGridBandedColumn *Column03;
  69. TcxGridBandedColumn *Column04;
  70. TcxGridBandedColumn *Column05;
  71. TcxGridBandedColumn *Column06;
  72. TcxGridBandedColumn *Column07;
  73. TcxGridBandedColumn *Column08;
  74. TcxGridBandedColumn *Column09;
  75. TcxGridBandedColumn *Column10;
  76. TcxGridBandedColumn *Column11;
  77. TcxGridBandedColumn *Column12;
  78. TcxGridBandedColumn *Column13;
  79. TcxGridBandedColumn *Column14;
  80. TcxGridBandedColumn *Column15;
  81. TcxLabel *lblText1;
  82. TcxLabel *cxLabel1;
  83. TcxLabel *cxLabel2;
  84. TcxLabel *cxLabel3;
  85. TcxLabel *cxLabel4;
  86. TcxLabel *cxLabel5;
  87. TcxLabel *cxLabel6;
  88. void __fastcall FormShow(TObject *Sender);
  89. void __fastcall TmrShowTimer(TObject *Sender);
  90. void __fastcall ChkExpandClick(TObject *Sender);
  91. void __fastcall BtnExlSaveClick(TObject *Sender);
  92. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  93. void __fastcall FormDestroy(TObject *Sender);
  94. void __fastcall Column14CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
  95. TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);
  96. private: // User declarations
  97. TcxDataController *m_pGDC;
  98. public:
  99. HWND FParent;
  100. String FLinkId;
  101. String FBaseMon, FDiffMon;
  102. String FStTime, FEdTime;
  103. int FLinkLevel;
  104. int FPatternType;
  105. String FPatternWeek;
  106. String FWeekName;
  107. public: // User declarations
  108. __fastcall TIAN00501(TComponent* Owner, HWND hHandle,
  109. String ALinkId, String ABaseMon, String ADiffMon, String AStTime, String AEdTime,
  110. int ALinkLevel, int APatternType, String APattrernWeek, String AWeekName);
  111. __fastcall ~TIAN00501(void);
  112. void __fastcall OnMessage(TMessage &Msg);
  113. void __fastcall CommClose();
  114. void __fastcall FormInit();
  115. void __fastcall SelHistory();
  116. void __fastcall DspHistory();
  117. };
  118. //---------------------------------------------------------------------------
  119. extern PACKAGE TIAN00501 *IAN00501;
  120. //---------------------------------------------------------------------------
  121. #endif