📄 iomodule.h
字号:
//----------------------------------------------------------------------------
#ifndef IOModuleH
#define IOModuleH
//----------------------------------------------------------------------------
#include <vcl\System.hpp>
#include <vcl\Windows.hpp>
#include <vcl\SysUtils.hpp>
#include <vcl\Classes.hpp>
#include <vcl\Graphics.hpp>
#include <vcl\StdCtrls.hpp>
#include <vcl\Forms.hpp>
#include <vcl\Controls.hpp>
#include <vcl\Buttons.hpp>
#include <vcl\ExtCtrls.hpp>
#include <Mask.hpp>
//----------------------------------------------------------------------------
class TIOModule_Dlg : public TForm
{
__published:
TButton *OKBtn;
TButton *CancelBtn;
TLabel *Label1;
TLabel *Label2;
TComboBox *ComboBox1;
TComboBox *ComboBox2;
TGroupBox *GroupBox1;
TLabel *Label3;
TLabel *Label4;
TLabel *Label5;
TLabel *Label6;
TMaskEdit *MaskEdit1;
TMaskEdit *MaskEdit2;
TMaskEdit *MaskEdit3;
TMaskEdit *MaskEdit4;
TLabel *Label7;
TLabel *Label8;
TLabel *Label9;
TComboBox *ComboBox3;
TLabel *Label10;
TComboBox *ComboBox4;
void __fastcall ComboBox1Change(TObject *Sender);
void __fastcall ComboBox2Change(TObject *Sender);
void __fastcall MaskEdit1Exit(TObject *Sender);
void __fastcall MaskEdit2Exit(TObject *Sender);
void __fastcall MaskEdit3Exit(TObject *Sender);
void __fastcall MaskEdit4Exit(TObject *Sender);
void __fastcall OKBtnClick(TObject *Sender);
private:
public:
virtual __fastcall TIOModule_Dlg(TComponent* AOwner);
int __fastcall Execute(void);
int __fastcall display_Slot(int idx);
int __fastcall check_Slot(int idx);
int __fastcall display_Module(int idx);
PARALLEL_IO para[SLOT_MAX_CASE];
int OLD_SLOT;
};
//----------------------------------------------------------------------------
extern PACKAGE TIOModule_Dlg *IOModule_Dlg;
//----------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -