unit2.~h
来自「实现RS232数据采集处理,设置RS23传输参数,显示控制终端的数据.」· ~H 代码 · 共 49 行
~H
49 行
//---------------------------------------------------------------------------
#ifndef Unit2H
#define Unit2H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include <Db.hpp>
#include <DBTables.hpp>
//---------------------------------------------------------------------------
class TForm2 : public TForm
{
__published: // IDE-managed Components
TEdit *Edit1;
TBitBtn *BitBtn1;
TBitBtn *BitBtn2;
TStaticText *StaticText2;
TStaticText *StaticText3;
TUpDown *UpDown1;
TEdit *Edit2;
TTable *Table1;
TStaticText *StaticText1;
TStaticText *StaticText4;
TStaticText *StaticText5;
TComboBox *ComboBox1;
TEdit *Edit3;
TStaticText *StaticText6;
TEdit *Edit4;
void __fastcall BitBtn2Click(TObject *Sender);
void __fastcall BitBtn1Click(TObject *Sender);
void __fastcall Form2Close(TObject *Sender, TCloseAction &Action);
void __fastcall Form2Show(TObject *Sender);
void __fastcall FormCreate(TObject *Sender);
void __fastcall Edit2KeyUp(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall ComboBox1Change(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TForm2(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm2 *Form2;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?