unit1.~h

来自「使用borland C++寫成的簡單小程式」· ~H 代码 · 共 55 行

~H
55
字号
//---------------------------------------------------------------------------

#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
        TStringGrid *StringGrid1;
        TComboBox *table;
        TStringGrid *StringGrid2;
        TStringGrid *StringGrid3;
        TButton *Button1;
        TStringGrid *foodindex;
        TLabel *Label1;
        TComboBox *ComboBox1;
        TButton *Button2;
        TStringGrid *StringGrid4;
        TTimer *Timer2;
        TButton *Button3;
        TMemo *Memo1;
        TButton *Button4;
        TGroupBox *GroupBox1;
        TGroupBox *GroupBox2;
        TGroupBox *GroupBox3;
        TPanel *Panel1;
        TTimer *Timer1;
        void __fastcall datachange(String data);
        void __fastcall Datafix(BYTE *data);
        void __fastcall countfood();
        void __fastcall Button1Click(TObject *Sender);
        void __fastcall tableChange(TObject *Sender);
        void __fastcall Button2Click(TObject *Sender);
        void __fastcall FormCreate(TObject *Sender);
        void __fastcall Timer2Timer(TObject *Sender);
        void __fastcall Button3Click(TObject *Sender);
        void __fastcall Memo1Change(TObject *Sender);
        void __fastcall Button4Click(TObject *Sender);
        void __fastcall Timer1Timer(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?