main.h
上传用户:hylc_2004
上传日期:2014-01-23
资源大小:46800k
文件大小:2k
源码类别:

Delphi控件源码

开发平台:

Delphi

  1. //---------------------------------------------------------------------------
  2. #ifndef mainH
  3. #define mainH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include "DSPack.hpp"
  10. #include <ComCtrls.hpp>
  11. #include <Dialogs.hpp>
  12. #include <Menus.hpp>
  13. #include <ToolWin.hpp>
  14. #include <ImgList.hpp>
  15. //---------------------------------------------------------------------------
  16. class TMainForm : public TForm
  17. {
  18. __published: // IDE-managed Components
  19.         TVideoWindow *VideoWindow;
  20.         TMainMenu *MainMenu;
  21.         TDSTrackBar *DSTrackBar1;
  22.         TFilterGraph *FilterGraph;
  23.         TOpenDialog *OpenDialog;
  24.         TMenuItem *MenuFile;
  25.         TMenuItem *MenuOpen;
  26.         TToolBar *ToolBar;
  27.         TToolButton *tbPlay;
  28.         TToolButton *tbPause;
  29.         TToolButton *tbStop;
  30.         TImageList *ImageList;
  31.         void __fastcall MenuOpenClick(TObject *Sender);
  32.         void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
  33.         void __fastcall VideoWindowDblClick(TObject *Sender);
  34.         void __fastcall tbPlayClick(TObject *Sender);
  35.         void __fastcall tbPauseClick(TObject *Sender);
  36.         void __fastcall tbStopClick(TObject *Sender);
  37. private: // User declarations
  38. public: // User declarations
  39.         __fastcall TMainForm(TComponent* Owner);
  40. };
  41. //---------------------------------------------------------------------------
  42. extern PACKAGE TMainForm *MainForm;
  43. //---------------------------------------------------------------------------
  44. #endif