DSRH060MF.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. //---------------------------------------------------------------------------
  2. #ifndef DSRH060MFH
  3. #define DSRH060MFH
  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. //---------------------------------------------------------------------------
  23. #include "WindowMsgF.h"
  24. #include "FRAME_DsrcListF.h"
  25. #include "cxButtons.hpp"
  26. #include "cxCalendar.hpp"
  27. #include "cxContainer.hpp"
  28. #include "cxControls.hpp"
  29. #include "cxDropDownEdit.hpp"
  30. #include "cxEdit.hpp"
  31. #include "cxGraphics.hpp"
  32. #include "cxGroupBox.hpp"
  33. #include "cxLabel.hpp"
  34. #include "cxLookAndFeelPainters.hpp"
  35. #include "cxLookAndFeels.hpp"
  36. #include "cxMaskEdit.hpp"
  37. #include "cxPC.hpp"
  38. #include "cxPCdxBarPopupMenu.hpp"
  39. #include "cxSpinEdit.hpp"
  40. #include "cxSplitter.hpp"
  41. #include "cxTextEdit.hpp"
  42. #include "cxTimeEdit.hpp"
  43. #include "dxSkinBlack.hpp"
  44. #include "dxSkinBlue.hpp"
  45. #include "dxSkinsCore.hpp"
  46. #include "dxSkinscxPCPainter.hpp"
  47. #include "dxSkinMcSkin.hpp"
  48. class TDSRH060M : public TForm
  49. {
  50. __published: // IDE-managed Components
  51. TTimer *TmrShow;
  52. TShape *ShpTitle;
  53. TcxButton *BtnClose;
  54. TLabel *LblCaption;
  55. TShape *ShpList;
  56. TEdit *EdFocus;
  57. TPanel *PnlBack;
  58. TPanel *PnlLeft;
  59. TcxSplitter *cxSplitter1;
  60. TcxGroupBox *cxGroupBox2;
  61. TImage *ImgDesc01;
  62. TLabel *Label26;
  63. TImage *ImgDesc02;
  64. TLabel *Label6;
  65. TcxButton *BtnSearch;
  66. TcxDateEdit *DtStDate;
  67. TcxDateEdit *DtEdDate;
  68. TcxTimeEdit *DtEdTime1;
  69. TcxTimeEdit *DtStTime1;
  70. TcxGroupBox *cxGroupBox3;
  71. TcxGroupBox *cxGroupBox1;
  72. TcxPageControl *PgTab;
  73. TcxTabSheet *TsList01;
  74. TcxLabel *cxLabel1;
  75. TFRAMEDsrcList *FRAMEDsrcList1;
  76. TLabel *Label1;
  77. TImage *ImgDesc03;
  78. TLabel *Label2;
  79. TImage *ImgDesc04;
  80. TcxComboBox *CbCTyp;
  81. TcxComboBox *CbObuKind;
  82. TDateTimePicker *DtStTime;
  83. TDateTimePicker *DtEdTime;
  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 FormCloseQuery(TObject *Sender, bool &CanClose);
  91. void __fastcall PgTabCanCloseEx(TObject *Sender, int ATabIndex, bool &ACanClose);
  92. private: // User declarations
  93. void __fastcall CommClose();
  94. String FTitle;
  95. public:
  96. TList *m_pFormList;
  97. String FStDateTime;
  98. String FEdDateTime;
  99. String FIdList;
  100. public: // User declarations
  101. __fastcall TDSRH060M(TComponent* Owner);
  102. void __fastcall FormInit();
  103. void __fastcall RefreshData();
  104. void __fastcall InitCode();
  105. void __fastcall OnSubFormClose(TMessage Msg);
  106. BEGIN_MESSAGE_MAP
  107. VCL_MESSAGE_HANDLER(WM_SUBFORM_CLOSE, TMessage, OnSubFormClose);
  108. END_MESSAGE_MAP(TForm);
  109. };
  110. //---------------------------------------------------------------------------
  111. extern PACKAGE TDSRH060M *DSRH060M;
  112. //---------------------------------------------------------------------------
  113. #endif