IST0040MF.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. //---------------------------------------------------------------------------
  2. #ifndef IST0040MFH
  3. #define IST0040MFH
  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 "CDSCodeF.h"
  24. #include "cxButtons.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 "cxLookAndFeelPainters.hpp"
  32. #include "cxLookAndFeels.hpp"
  33. #include "cxMaskEdit.hpp"
  34. #include "cxPC.hpp"
  35. #include "cxPCdxBarPopupMenu.hpp"
  36. #include "cxSplitter.hpp"
  37. #include "cxTextEdit.hpp"
  38. #include "dxSkinBlack.hpp"
  39. #include "dxSkinBlue.hpp"
  40. #include "dxSkinsCore.hpp"
  41. #include "dxSkinscxPCPainter.hpp"
  42. #include "cxCalendar.hpp"
  43. class TIST0040M : public TForm
  44. {
  45. __published: // IDE-managed Components
  46. TTimer *TmrShow;
  47. TShape *ShpTitle;
  48. TcxButton *BtnClose;
  49. TLabel *LblCaption;
  50. TShape *ShpList;
  51. TEdit *EdFocus;
  52. TPanel *PnlBack;
  53. TPanel *PnlLeft;
  54. TcxSplitter *cxSplitter1;
  55. TcxGroupBox *cxGroupBox2;
  56. TcxGroupBox *cxGroupBox1;
  57. TcxPageControl *PgTab;
  58. TcxTabSheet *TsList01;
  59. TImage *ImgDesc01;
  60. TLabel *Label26;
  61. TLabel *Label1;
  62. TImage *ImgDesc03;
  63. TLabel *Label2;
  64. TImage *ImgDesc04;
  65. TcxButton *BtnSearch;
  66. TcxComboBox *CbStatTerm;
  67. TImage *ImgDesc02;
  68. TLabel *Label3;
  69. TcxComboBox *CbStatType;
  70. TDateTimePicker *DtStDate;
  71. TDateTimePicker *DtEdDate;
  72. void __fastcall FormShow(TObject *Sender);
  73. void __fastcall TmrShowTimer(TObject *Sender);
  74. void __fastcall BtnSearchClick(TObject *Sender);
  75. void __fastcall BtnCloseClick(TObject *Sender);
  76. void __fastcall PgTabDblClick(TObject *Sender);
  77. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  78. void __fastcall CbStatTermPropertiesChange(TObject *Sender);
  79. void __fastcall PgTabCanCloseEx(TObject *Sender, int ATabIndex, bool &ACanClose);
  80. private: // User declarations
  81. void __fastcall CommClose();
  82. String FTitle;
  83. public:
  84. TList *m_pFormList;
  85. TItsCode *FCodeIDTU;
  86. int FStatType;
  87. int FTermType;
  88. String FStTime, FEdTime;
  89. String FIncidentType;
  90. public: // User declarations
  91. __fastcall TIST0040M(TComponent* Owner);
  92. void __fastcall FormInit();
  93. void __fastcall RefreshData();
  94. void __fastcall OnSubFormClose(TMessage Msg);
  95. BEGIN_MESSAGE_MAP
  96. VCL_MESSAGE_HANDLER(WM_SUBFORM_CLOSE, TMessage, OnSubFormClose);
  97. END_MESSAGE_MAP(TForm);
  98. };
  99. //---------------------------------------------------------------------------
  100. extern PACKAGE TIST0040M *IST0040M;
  101. //---------------------------------------------------------------------------
  102. #endif