option.h
来自「msp430的上位机程序」· C头文件 代码 · 共 46 行
H
46 行
//---------------------------------------------------------------------------
#ifndef OptionH
#define OptionH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//---------------------------------------------------------------------------
class TForm_Option : public TForm
{
__published: // IDE-managed Components
TGroupBox *GroupBox2;
TButton *Button_Return;
TButton *Button_OK;
TButton *Button_Cancel;
TButton *Button_Apply;
TGroupBox *GroupBox1;
TLabel *Label1;
TLabel *Label2;
TLabel *Label3;
TLabel *Label4;
TLabel *Label5;
TComboBox *Combo_Port;
TComboBox *Combo_Baud;
TComboBox *Combo_Data;
TComboBox *Combo_Parity;
TComboBox *Combo_Stop;
void __fastcall FormCreate(TObject *Sender);
void __fastcall Button_ApplyClick(TObject *Sender);
void __fastcall Button_CancelClick(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall Button_OKClick(TObject *Sender);
void __fastcall Button_ReturnClick(TObject *Sender);
private: // User declarations
int port,baud,data,parity,stop;
public: // User declarations
int Port,Baud,Mode;
__fastcall TForm_Option(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm_Option *Form_Option;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?