unitmain.h

来自「用C++Builder开发Windows下的屏保」· C头文件 代码 · 共 57 行

H
57
字号
//---------------------------------------------------------------------------

#ifndef UnitmainH
#define UnitmainH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <Graphics.hpp>
#include <FileCtrl.hpp>
#include <Registry.hpp>
//---------------------------------------------------------------------------
class TFormControl : public TForm
{
__published:	// IDE-managed Components
        TImage *Image1;
        TLabel *Label1;
        TLabel *Label2;
        TPanel *Panel1;
        TBevel *v;
        TBevel *Bevel2;
        TLabel *Label3;
        TLabel *Label4;
        TTrackBar *TrackBar1;
        TLabel *Label5;
        TLabel *Label6;
        TLabel *Label7;
        TLabel *Label8;
        TButton *Button1;
        TStaticText *StaticText1;
        TButton *Button2;
        TImage *Image2;
        TTimer *Timer1;
        TImage *Image3;
        TLabel *Label9;
        TLabel *Label10;
        TButton *Button3;
        void __fastcall Timer1Timer(TObject *Sender);
        void __fastcall FormShow(TObject *Sender);
        void __fastcall FormCreate(TObject *Sender);
        void __fastcall Button2Click(TObject *Sender);
        void __fastcall Button1Click(TObject *Sender);
        void __fastcall Button3Click(TObject *Sender);
private:	// User declarations
  AnsiString picdir;
  int frequence;
public:		// User declarations
        __fastcall TFormControl(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFormControl *FormControl;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?