VDSS010MF.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. //---------------------------------------------------------------------------
  2. #ifndef VDSS010MFH
  3. #define VDSS010MFH
  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_VdsDtctListF.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 "dxSkinMcSkin.hpp"
  43. class TVDSS010M : 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. TImage *ImgDesc01;
  57. TLabel *Label26;
  58. TcxButton *BtnSearch;
  59. TcxGroupBox *cxGroupBox3;
  60. TcxGroupBox *cxGroupBox1;
  61. TcxPageControl *PgTab;
  62. TcxTabSheet *TsList01;
  63. TLabel *Label1;
  64. TImage *ImgDesc03;
  65. TcxComboBox *CbStatType;
  66. TLabel *Label2;
  67. TImage *ImgDesc04;
  68. TDateTimePicker *DtStTime;
  69. TDateTimePicker *DtEdTime;
  70. TFRAMEVdsDtctList *FRAMEVdsDtctList1;
  71. TDateTimePicker *DtEdDate;
  72. TDateTimePicker *DtStDate;
  73. void __fastcall FormShow(TObject *Sender);
  74. void __fastcall TmrShowTimer(TObject *Sender);
  75. void __fastcall BtnSearchClick(TObject *Sender);
  76. void __fastcall BtnCloseClick(TObject *Sender);
  77. void __fastcall PgTabDblClick(TObject *Sender);
  78. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  79. void __fastcall CbStatTypePropertiesChange(TObject *Sender);
  80. void __fastcall PgTabCanCloseEx(TObject *Sender, int ATabIndex, bool &ACanClose);
  81. private: // User declarations
  82. void __fastcall CommClose();
  83. String FTitle;
  84. public:
  85. TList *m_pFormList;
  86. String FSelId;
  87. String FStTime, FEdTime;
  88. int FStatType;
  89. public: // User declarations
  90. __fastcall TVDSS010M(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 TVDSS010M *VDSS010M;
  100. //---------------------------------------------------------------------------
  101. #endif