Unit1.h
上传用户:wangcy_007
上传日期:2022-01-31
资源大小:343k
文件大小:1k
源码类别:

多媒体

开发平台:

C++ Builder

  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. //---------------------------------------------------------------------------
  10. class TForm1 : public TForm
  11. {
  12. __published: // IDE-managed Components
  13.         TButton *Button1;
  14.         TLabel *Label1;
  15.         void __fastcall Button1Click(TObject *Sender);
  16.         void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  17. private: // User declarations
  18. public: // User declarations
  19.         __fastcall TForm1(TComponent* Owner);
  20.         static void CALLBACK TimeProc(UINT uID,UINT uMsg,
  21.         DWord dwUser,DWORD dw1,DWORD dw2); // 定时器回调函数
  22.         int TimerID; // 定时器ID
  23. };
  24. //---------------------------------------------------------------------------
  25. extern PACKAGE TForm1 *Form1;
  26. //---------------------------------------------------------------------------
  27. #endif