Unitcontrol.h
上传用户:cqslgg
上传日期:2009-12-10
资源大小:128k
文件大小:2k
源码类别:

Delphi/CppBuilder

开发平台:

C++ Builder

  1. //---------------------------------------------------------------------------
  2. #ifndef UnitcontrolH
  3. #define UnitcontrolH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <ExtCtrls.hpp>
  10. #include <FileCtrl.hpp>
  11. //---------------------------------------------------------------------------
  12. class TMainForm : public TForm
  13. {
  14. __published: // IDE-managed Components
  15.         TTimer *Timer1;
  16.         TImage *Image1;
  17.         TFileListBox *File1;
  18.         void __fastcall Timer1Timer(TObject *Sender);
  19.         void __fastcall FormCreate(TObject *Sender);
  20.         void __fastcall FormKeyDown(TObject *Sender, WORD &Key,
  21.           TShiftState Shift);
  22.         void __fastcall FormMouseDown(TObject *Sender, TMouseButton Button,
  23.           TShiftState Shift, int X, int Y);
  24.         void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
  25.         void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  26.         void __fastcall FormMouseMove(TObject *Sender, TShiftState Shift,
  27.           int X, int Y);
  28.         void __fastcall Image1MouseMove(TObject *Sender, TShiftState Shift,
  29.           int X, int Y);
  30.         void __fastcall Image1MouseDown(TObject *Sender,
  31.           TMouseButton Button, TShiftState Shift, int X, int Y);
  32. private: // User declarations
  33.        DWORD PWProtect;
  34.        DWORD Version;
  35.        String picdir;
  36.        int frequence;
  37.        bool stoploop;
  38.        bool stopcls;
  39.        bool bussy;
  40.        void clsscreen(TImage * image);
  41. public: // User declarations
  42.         __fastcall TMainForm(TComponent* Owner);
  43.         void __fastcall Fade(Graphics::TBitmap *Pic,TCanvas *dest);
  44.        // void Fade2(TImage * Pic, TCanvas  * dest);
  45. };
  46. //---------------------------------------------------------------------------
  47. extern PACKAGE TMainForm *MainForm;
  48. //---------------------------------------------------------------------------
  49. #endif