settingform.h

来自「16 relay output channels and 16 isolated」· C头文件 代码 · 共 60 行

H
60
字号
//---------------------------------------------------------------------------

#ifndef SettingFormH
#define SettingFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
class TfrmSetting : public TForm
{
__published:	// IDE-managed Components
        TGroupBox *GroupBox2;
        TRadioButton *RadioDataWidth16;
        TRadioButton *RadioDataWidth8;
        TRadioButton *RadioDataWidth32;
        TGroupBox *GroupBox3;
        TRadioButton *RadioStartTypeSoftware;
        TRadioButton *RadioStartTypeExt;
        TGroupBox *GroupBox4;
        TRadioButton *RadioStopTypeSoftware;
        TRadioButton *RadioStopTypeExt;
        TGroupBox *GroupBox5;
        TRadioButton *RadioCyclic;
        TRadioButton *RadioNonCyclic;
        TGroupBox *GroupBox6;
        TLabel *Label2;
        TListBox *ListBoxTriggerSource;
        TEdit *EditCounterValue;
        TGroupBox *GroupBox7;
        TListBox *ListBoxUserBuffer;
        TButton *ButtonOK;
        TGroupBox *GroupBox1;
        TRadioButton *radNormal;
        TRadioButton *radBurst;
        TRadioButton *rad8255;
        TRadioGroup *RadioGroup1;
        TRadioButton *RadioDmaSlave;
        TRadioButton *RadioDmaMaster;
        TGroupBox *GroupBox8;
        TEdit *txtDigitalValue;
        void __fastcall FormShow(TObject *Sender);
        void __fastcall ButtonOKClick(TObject *Sender);
        void __fastcall txtDigitalValueKeyPress(TObject *Sender,
          char &Key);
        void __fastcall txtDigitalValueChange(TObject *Sender);
        void __fastcall radBurstClick(TObject *Sender);
        void __fastcall radNormalClick(TObject *Sender);
        void __fastcall rad8255Click(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TfrmSetting(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmSetting *frmSetting;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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