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

Delphi/CppBuilder

开发平台:

C++ Builder

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