DSRH070MF.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. //---------------------------------------------------------------------------
  2. #ifndef DSRH070MFH
  3. #define DSRH070MFH
  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. class TDSRH070M : public TForm
  48. {
  49. __published: // IDE-managed Components
  50. TTimer *TmrShow;
  51. TShape *ShpTitle;
  52. TcxButton *BtnClose;
  53. TLabel *LblCaption;
  54. TShape *ShpList;
  55. TEdit *EdFocus;
  56. TPanel *PnlBack;
  57. TPanel *PnlLeft;
  58. TcxSplitter *cxSplitter1;
  59. TcxGroupBox *cxGroupBox2;
  60. TImage *ImgDesc01;
  61. TLabel *Label26;
  62. TImage *ImgDesc02;
  63. TLabel *Label6;
  64. TcxButton *BtnSearch;
  65. TcxDateEdit *DtStDate;
  66. TcxDateEdit *DtEdDate;
  67. TcxTimeEdit *DtEdTime1;
  68. TcxTimeEdit *DtStTime1;
  69. TcxGroupBox *cxGroupBox3;
  70. TcxGroupBox *cxGroupBox1;
  71. TcxPageControl *PgTab;
  72. TcxTabSheet *TsList01;
  73. TcxLabel *cxLabel1;
  74. TFRAMEDsrcList *FRAMEDsrcList1;
  75. TLabel *Label1;
  76. TImage *ImgDesc03;
  77. TcxComboBox *CbStat;
  78. TDateTimePicker *DtStTime;
  79. TDateTimePicker *DtEdTime;
  80. void __fastcall FormShow(TObject *Sender);
  81. void __fastcall TmrShowTimer(TObject *Sender);
  82. void __fastcall BtnSearchClick(TObject *Sender);
  83. void __fastcall BtnCloseClick(TObject *Sender);
  84. void __fastcall PgTabDblClick(TObject *Sender);
  85. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  86. void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
  87. void __fastcall CbStatPropertiesChange(TObject *Sender);
  88. void __fastcall PgTabCanCloseEx(TObject *Sender, int ATabIndex, bool &ACanClose);
  89. private: // User declarations
  90. void __fastcall CommClose();
  91. String FTitle;
  92. public:
  93. TList *m_pFormList;
  94. String FStDateTime;
  95. String FEdDateTime;
  96. String FIdList;
  97. public: // User declarations
  98. __fastcall TDSRH070M(TComponent* Owner);
  99. void __fastcall FormInit();
  100. void __fastcall RefreshData();
  101. void __fastcall InitCode();
  102. void __fastcall OnSubFormClose(TMessage Msg);
  103. BEGIN_MESSAGE_MAP
  104. VCL_MESSAGE_HANDLER(WM_SUBFORM_CLOSE, TMessage, OnSubFormClose);
  105. END_MESSAGE_MAP(TForm);
  106. };
  107. //---------------------------------------------------------------------------
  108. extern PACKAGE TDSRH070M *DSRH070M;
  109. //---------------------------------------------------------------------------
  110. #endif