Mouse.h
上传用户:lulishicai
上传日期:2010-03-01
资源大小:13202k
文件大小:2k
源码类别:

Delphi/CppBuilder

开发平台:

C++ Builder

  1. //---------------------------------------------------------------------------
  2. #ifndef MouseH
  3. #define MouseH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <ExtCtrls.hpp>
  10. //---------------------------------------------------------------------------
  11. class TForm1 : public TForm
  12. {
  13. __published: // IDE-managed Components
  14.         TImage *Image1;
  15.         TButton *Button1;
  16.         TButton *Button2;
  17.         TButton *Button3;
  18.         TRadioButton *RadioButton1;
  19.         TRadioButton *RadioButton2;
  20.         TRadioButton *RadioButton3;
  21.         TRadioButton *RadioButton4;
  22.         TLabel *Label1;
  23.         void __fastcall FormCreate(TObject *Sender);
  24.         void __fastcall Button1Click(TObject *Sender);
  25.         void __fastcall Button2Click(TObject *Sender);
  26.         void __fastcall Button3Click(TObject *Sender);
  27.         void __fastcall RadioButton1Click(TObject *Sender);
  28.         void __fastcall RadioButton2Click(TObject *Sender);
  29.         void __fastcall RadioButton3Click(TObject *Sender);
  30.         void __fastcall RadioButton4Click(TObject *Sender);
  31.         void __fastcall Image1MouseDown(TObject *Sender,
  32.           TMouseButton Button, TShiftState Shift, int X, int Y);
  33.         void __fastcall Image1MouseMove(TObject *Sender, TShiftState Shift,
  34.           int X, int Y);
  35.         void __fastcall Image1MouseUp(TObject *Sender, TMouseButton Button,
  36.           TShiftState Shift, int X, int Y);
  37. private: // User declarations
  38. public: // User declarations
  39.         __fastcall TForm1(TComponent* Owner);
  40. };
  41. //---------------------------------------------------------------------------
  42. extern PACKAGE TForm1 *Form1;
  43. //---------------------------------------------------------------------------
  44. #endif
  45.