IST0040MF.h 3.1 KB

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