MpgPlay.h
上传用户:lulishicai
上传日期:2010-03-01
资源大小:13202k
文件大小:1k
源码类别:

Delphi/CppBuilder

开发平台:

C++ Builder

  1. //---------------------------------------------------------------------------
  2. #ifndef MpgPlayH
  3. #define MpgPlayH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <Buttons.hpp>
  10. #include <ComCtrls.hpp>
  11. #include <Dialogs.hpp>
  12. #include <ExtCtrls.hpp>
  13. #include <MPlayer.hpp>
  14. //---------------------------------------------------------------------------
  15. class TMpgForm : public TForm
  16. {
  17. __published: // IDE-managed Components
  18.         TPanel *Panel1;
  19.         TTimer *Timer1;
  20.         TOpenDialog *OpenDialog1;
  21.         TMediaPlayer *MediaPlayer1;
  22.         TBitBtn *BitBtn1;
  23.         TBitBtn *BitBtn2;
  24.         TScrollBar *ScrollBar1;
  25.         void __fastcall FormCreate(TObject *Sender);
  26.         void __fastcall BitBtn1Click(TObject *Sender);
  27.         void __fastcall BitBtn2Click(TObject *Sender);
  28.         void __fastcall ScrollBar1Scroll(TObject *Sender,
  29.           TScrollCode ScrollCode, int &ScrollPos);
  30.         void __fastcall Timer1Timer(TObject *Sender);
  31. private: // User declarations
  32. public: // User declarations
  33.         __fastcall TMpgForm(TComponent* Owner);
  34. };
  35. //---------------------------------------------------------------------------
  36. extern PACKAGE TMpgForm *MpgForm;
  37. //---------------------------------------------------------------------------
  38. #endif