unit1.h

来自「I/O端口访问,能在Win98下读写任意端口内容」· C头文件 代码 · 共 39 行

H
39
字号
//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include "TDLPortIO.h"
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
    TLabel *Label0;
    TBevel *Bevel0;
    TButton *Exit;
    TStaticText *StaticText0;
    TMemo *Memo0;
    TEdit *PortEdit;
    TLabel *Label1;
    TButton *ReadButton;
    TLabel *Label2;
    TDLPortIO *DLPortIO1;
    TEdit *DataEdit;
    TButton *WriteButton;
    void __fastcall ExitClick(TObject *Sender);
    
    void __fastcall ReadButtonClick(TObject *Sender);
    void __fastcall WriteButtonClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
    __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
 

⌨️ 快捷键说明

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