IST0050MF.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. //---------------------------------------------------------------------------
  2. #ifndef IST0050MFH
  3. #define IST0050MFH
  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 "cxButtons.hpp"
  24. #include "cxCalendar.hpp"
  25. #include "cxContainer.hpp"
  26. #include "cxControls.hpp"
  27. #include "cxDropDownEdit.hpp"
  28. #include "cxEdit.hpp"
  29. #include "cxGraphics.hpp"
  30. #include "cxGroupBox.hpp"
  31. #include "cxLabel.hpp"
  32. #include "cxLookAndFeelPainters.hpp"
  33. #include "cxLookAndFeels.hpp"
  34. #include "cxMaskEdit.hpp"
  35. #include "cxPC.hpp"
  36. #include "cxPCdxBarPopupMenu.hpp"
  37. #include "cxSpinEdit.hpp"
  38. #include "cxSplitter.hpp"
  39. #include "cxTextEdit.hpp"
  40. #include "cxTimeEdit.hpp"
  41. #include "dxSkinBlack.hpp"
  42. #include "dxSkinBlue.hpp"
  43. #include "dxSkinsCore.hpp"
  44. #include "dxSkinscxPCPainter.hpp"
  45. class TIST0050M : 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. TImage *ImgDesc02;
  61. TLabel *Label6;
  62. TcxButton *BtnSearch;
  63. TcxDateEdit *DtStDate;
  64. TcxDateEdit *DtEdDate;
  65. TcxTimeEdit *DtEdTime1;
  66. TcxTimeEdit *DtStTime1;
  67. TcxGroupBox *cxGroupBox1;
  68. TcxPageControl *PgTab;
  69. TcxTabSheet *TsList01;
  70. TcxLabel *cxLabel1;
  71. TImage *ImgDesc03;
  72. TLabel *Label1;
  73. TcxComboBox *CbType;
  74. TDateTimePicker *DtStTime;
  75. TDateTimePicker *DtEdTime;
  76. TcxLabel *lblSelErr;
  77. void __fastcall FormShow(TObject *Sender);
  78. void __fastcall TmrShowTimer(TObject *Sender);
  79. void __fastcall BtnSearchClick(TObject *Sender);
  80. void __fastcall BtnCloseClick(TObject *Sender);
  81. void __fastcall PgTabDblClick(TObject *Sender);
  82. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  83. void __fastcall PgTabCanCloseEx(TObject *Sender, int ATabIndex, bool &ACanClose);
  84. private: // User declarations
  85. void __fastcall CommClose();
  86. String FTitle;
  87. public:
  88. TList *m_pFormList;
  89. String FStDateTime;
  90. String FEdDateTime;
  91. String FIdList;
  92. public: // User declarations
  93. __fastcall TIST0050M(TComponent* Owner);
  94. void __fastcall FormInit();
  95. void __fastcall RefreshData();
  96. void __fastcall OnSubFormClose(TMessage Msg);
  97. BEGIN_MESSAGE_MAP
  98. VCL_MESSAGE_HANDLER(WM_SUBFORM_CLOSE, TMessage, OnSubFormClose);
  99. END_MESSAGE_MAP(TForm);
  100. };
  101. //---------------------------------------------------------------------------
  102. extern PACKAGE TIST0050M *IST0050M;
  103. //---------------------------------------------------------------------------
  104. #endif