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 <Dialogs.hpp>
  10. //---------------------------------------------------------------------------
  11. class TForm1 : public TForm
  12. {
  13. __published: // IDE-managed Components
  14.         TButton *Button1;
  15.         TEdit *Edit1;
  16.         TLabel *Label1;
  17.         TLabel *Label2;
  18.         TEdit *Edit2;
  19.         TButton *Button2;
  20.         TButton *Button3;
  21.         TOpenDialog *OpenDialog1;
  22.         TSaveDialog *SaveDialog1;
  23.         void __fastcall Button1Click(TObject *Sender);
  24.         void __fastcall Button2Click(TObject *Sender);
  25.         void __fastcall Button3Click(TObject *Sender);
  26. private: // User declarations
  27. public: // User declarations
  28.         __fastcall TForm1(TComponent* Owner);
  29.         bool __fastcall TestDiskFree(void);
  30.         int __fastcall CopyOne(int sfile,AnsiString dfilename,int no);
  31.         void __fastcall DoCutFile(AnsiString sfilename,AnsiString dfilename);
  32. };
  33. //---------------------------------------------------------------------------
  34. extern PACKAGE TForm1 *Form1;
  35. //---------------------------------------------------------------------------
  36. #endif
  37.