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. //---------------------------------------------------------------------------
  11. class TForm1 : public TForm
  12. {
  13. __published: // IDE-managed Components
  14.         TTimer *Timer1;
  15.         TButton *Button1;
  16.         TButton *Button2;
  17.         TLabel *Label1;
  18.         TEdit *Edit1;
  19.         TEdit *Edit2;
  20.         TButton *Button3;
  21.         TCheckBox *CheckBox1;
  22.         TRadioButton *RadioButton1;
  23.         TLabel *Label2;
  24.         TBevel *Bevel1;
  25.         void __fastcall Timer1Timer(TObject *Sender);
  26.         void __fastcall Button1Click(TObject *Sender);
  27.         void __fastcall Button2Click(TObject *Sender);
  28.         void __fastcall ConKeyPress(TObject *Sender, char &Key);
  29.         void __fastcall ConMouseMove(TObject *Sender, TShiftState Shift,int X, int Y);
  30. private: // User declarations
  31. public: // User declarations
  32.         __fastcall TForm1(TComponent* Owner);
  33.         int CloseMode,NN;
  34.         TDateTime defTime;
  35.         void __fastcall SetCons(void);
  36. };
  37. //---------------------------------------------------------------------------
  38. extern PACKAGE TForm1 *Form1;
  39. //---------------------------------------------------------------------------
  40. #endif