Unit1.h
上传用户:lhxd_sz
上传日期:2014-10-02
资源大小:38814k
文件大小:1k
源码类别:

VC书籍

开发平台:

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. #include <ExtCtrls.hpp>
  10. #include <Graphics.hpp>
  11. #include <Menus.hpp>
  12. //---------------------------------------------------------------------------
  13. class TForm1 : public TForm
  14. {
  15. __published: // IDE-managed Components
  16.         TImage *Image1;
  17.         TImage *Image2;
  18.         TImage *Image3;
  19.         TImage *Image4;
  20.         void __fastcall FormActivate(TObject *Sender);
  21.         void __fastcall FormKeyDown(TObject *Sender, WORD &Key,
  22.           TShiftState Shift);
  23. private: // User declarations
  24. public: // User declarations
  25.         __fastcall TForm1(TComponent* Owner);
  26.         void __fastcall ImageBackup(int x,int y);
  27.         void __fastcall ImageRestore(void);
  28.         void __fastcall SetMoveBmp(int x,int y);
  29.         int Image4X,Image4Y,CurX,CurY;
  30. };
  31. //---------------------------------------------------------------------------
  32. extern PACKAGE TForm1 *Form1;
  33. //---------------------------------------------------------------------------
  34. #endif