IAN0050MF.h 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. //---------------------------------------------------------------------------
  2. #ifndef IAN0050MFH
  3. #define IAN0050MFH
  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. #include "WindowMsgF.h"
  23. #include "FRAME_LinkListF.h"
  24. #include "FRAME_RoadListF.h"
  25. #include "cxButtons.hpp"
  26. #include "cxContainer.hpp"
  27. #include "cxControls.hpp"
  28. #include "cxDropDownEdit.hpp"
  29. #include "cxEdit.hpp"
  30. #include "cxGraphics.hpp"
  31. #include "cxGroupBox.hpp"
  32. #include "cxLookAndFeelPainters.hpp"
  33. #include "cxLookAndFeels.hpp"
  34. #include "cxMaskEdit.hpp"
  35. #include "cxPC.hpp"
  36. #include "cxPCdxBarPopupMenu.hpp"
  37. #include "cxSplitter.hpp"
  38. #include "cxTextEdit.hpp"
  39. #include "dxSkinBlack.hpp"
  40. #include "dxSkinBlue.hpp"
  41. #include "dxSkinsCore.hpp"
  42. #include "dxSkinscxPCPainter.hpp"
  43. #include "cxLabel.hpp"
  44. #include "FRAME_IfscListF.h"
  45. class TIAN0050M : public TForm
  46. {
  47. __published: // IDE-managed Components
  48. TTimer *TmrShow;
  49. TShape *ShpTitle;
  50. TcxButton *BtnClose;
  51. TLabel *LblCaption;
  52. TShape *ShpList;
  53. TEdit *EdFocus;
  54. TPanel *PnlBack;
  55. TPanel *PnlLeft;
  56. TcxSplitter *cxSplitter1;
  57. TcxGroupBox *cxGroupBox2;
  58. TImage *ImgDesc01;
  59. TLabel *Label26;
  60. TLabel *Label6;
  61. TcxButton *BtnSearch;
  62. TcxGroupBox *cxGroupBox3;
  63. TcxGroupBox *cxGroupBox1;
  64. TcxPageControl *PgTab;
  65. TcxTabSheet *TsList01;
  66. TcxPageControl *cxPageControl1;
  67. TcxTabSheet *cxTabSheet1;
  68. TcxTabSheet *cxTabSheet2;
  69. TLabel *Label1;
  70. TImage *ImgDesc03;
  71. TcxComboBox *CbPatternType;
  72. TLabel *Label2;
  73. TImage *ImgDesc04;
  74. TcxComboBox *CbPatternWeek;
  75. TDateTimePicker *DtBaseMon;
  76. TDateTimePicker *DtDiffMon;
  77. TDateTimePicker *DtEdTime;
  78. TDateTimePicker *DtStTime;
  79. TFRAMELinkList *FRAMELinkList1;
  80. TcxTabSheet *cxTabSheet3;
  81. TFRAMERoadList *FRAMERoadList1;
  82. TcxLabel *lblText1;
  83. TFRAMEIfscList *FRAMEIfscList1;
  84. void __fastcall FormShow(TObject *Sender);
  85. void __fastcall TmrShowTimer(TObject *Sender);
  86. void __fastcall BtnSearchClick(TObject *Sender);
  87. void __fastcall BtnCloseClick(TObject *Sender);
  88. void __fastcall PgTabDblClick(TObject *Sender);
  89. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  90. void __fastcall PgTabCanCloseEx(TObject *Sender, int ATabIndex, bool &ACanClose);
  91. private: // User declarations
  92. void __fastcall CommClose();
  93. String FTitle;
  94. public:
  95. TList *m_pFormList;
  96. String FLinkId;
  97. String FBaseMon, FDiffMon;
  98. String FStTime, FEdTime;
  99. int FLinkLevel;
  100. int FPatternType;
  101. String FPatternWeek;
  102. public: // User declarations
  103. __fastcall TIAN0050M(TComponent* Owner);
  104. void __fastcall FormInit();
  105. void __fastcall RefreshData();
  106. void __fastcall OnSubFormClose(TMessage Msg);
  107. BEGIN_MESSAGE_MAP
  108. VCL_MESSAGE_HANDLER(WM_SUBFORM_CLOSE, TMessage, OnSubFormClose);
  109. END_MESSAGE_MAP(TForm);
  110. };
  111. //---------------------------------------------------------------------------
  112. extern PACKAGE TIAN0050M *IAN0050M;
  113. //---------------------------------------------------------------------------
  114. #endif