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 <Menus.hpp>
  10. //---------------------------------------------------------------------------
  11. class TForm1 : public TForm
  12. {
  13. __published: // IDE-managed Components
  14.         TMemo *Memo1;
  15.         TButton *Button1;
  16.         TLabel *Label1;
  17.         TLabel *Label2;
  18.         TEdit *Edit1;
  19.         TEdit *Edit2;
  20.         TLabel *Label3;
  21.         TLabel *Label4;
  22.         TPopupMenu *PopupMenu1;
  23.         TMenuItem *N1;
  24.         TMenuItem *N2;
  25.         TMenuItem *N3;
  26.         void __fastcall Button1Click(TObject *Sender);
  27.         void __fastcall Memo1Click(TObject *Sender);
  28.         void __fastcall Memo1KeyPress(TObject *Sender, char &Key);
  29. private: // User declarations
  30. public: // User declarations
  31.         __fastcall TForm1(TComponent* Owner);
  32.         void __fastcall SetRowCol(void);
  33. };
  34. //---------------------------------------------------------------------------
  35. extern PACKAGE TForm1 *Form1;
  36. //---------------------------------------------------------------------------
  37. #endif