Mouse.h
上传用户:lulishicai
上传日期:2010-03-01
资源大小:13202k
文件大小:2k
- //---------------------------------------------------------------------------
- #ifndef MouseH
- #define MouseH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <ExtCtrls.hpp>
- //---------------------------------------------------------------------------
- class TForm1 : public TForm
- {
- __published: // IDE-managed Components
- TImage *Image1;
- TButton *Button1;
- TButton *Button2;
- TButton *Button3;
- TRadioButton *RadioButton1;
- TRadioButton *RadioButton2;
- TRadioButton *RadioButton3;
- TRadioButton *RadioButton4;
- TLabel *Label1;
- void __fastcall FormCreate(TObject *Sender);
- void __fastcall Button1Click(TObject *Sender);
- void __fastcall Button2Click(TObject *Sender);
- void __fastcall Button3Click(TObject *Sender);
- void __fastcall RadioButton1Click(TObject *Sender);
- void __fastcall RadioButton2Click(TObject *Sender);
- void __fastcall RadioButton3Click(TObject *Sender);
- void __fastcall RadioButton4Click(TObject *Sender);
- void __fastcall Image1MouseDown(TObject *Sender,
- TMouseButton Button, TShiftState Shift, int X, int Y);
- void __fastcall Image1MouseMove(TObject *Sender, TShiftState Shift,
- int X, int Y);
- void __fastcall Image1MouseUp(TObject *Sender, TMouseButton Button,
- TShiftState Shift, int X, int Y);
- private: // User declarations
- public: // User declarations
- __fastcall TForm1(TComponent* Owner);
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TForm1 *Form1;
- //---------------------------------------------------------------------------
- #endif
-