Unit1.h
上传用户:wangcy_007
上传日期:2022-01-31
资源大小:343k
文件大小:1k
- //---------------------------------------------------------------------------
- #ifndef Unit1H
- #define Unit1H
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- //---------------------------------------------------------------------------
- class TForm1 : public TForm
- {
- __published: // IDE-managed Components
- TButton *Button1;
- TLabel *Label1;
- void __fastcall Button1Click(TObject *Sender);
- void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
- private: // User declarations
- public: // User declarations
- __fastcall TForm1(TComponent* Owner);
- static void CALLBACK TimeProc(UINT uID,UINT uMsg,
- DWord dwUser,DWORD dw1,DWORD dw2); // 定时器回调函数
- int TimerID; // 定时器ID
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TForm1 *Form1;
- //---------------------------------------------------------------------------
- #endif