comset.h
来自「用BCB写的spcomm的一个例子」· C头文件 代码 · 共 36 行
H
36 行
//---------------------------------------------------------------------------
#ifndef ComSetH
#define ComSetH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "MainPrg.h"
//---------------------------------------------------------------------------
class TSetCom : public TForm
{
__published: // IDE-managed Components
TLabel *Label1;
TComboBox *ComName;
TLabel *Label2;
TComboBox *BaudRate;
TLabel *Label3;
TComboBox *ByteSize;
TLabel *Label4;
TComboBox *StopBits;
TButton *Button1;
TButton *Button2;
void __fastcall Button2Click(TObject *Sender);
void __fastcall Button1Click(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TSetCom(TComponent* Owner);
char *WriteData[64];
};
//---------------------------------------------------------------------------
extern PACKAGE TSetCom *SetCom;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?