-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUnit1.h
57 lines (50 loc) · 1.92 KB
/
Unit1.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.ExtCtrls.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TComboBox *ComboBox_COMPORTS;
TLabel *Label1;
TButton *Button_COMPort_update;
TLabel *Label_status;
TLabel *Label5;
TLabel *Label6;
TLabel *Label7;
TLabel *Label8;
TLabel *Label9;
TLabel *Label10;
TLabel *Label11;
TButton *Button_read;
TEdit *Edit_RegAddr;
TCheckBox *CheckBox_RegWidth;
TEdit *Edit_RegDataHEX;
TButton *Button_write;
TEdit *Edit_RegDataBIN;
TEdit *Edit_RegDataDEC;
TPanel *Panel1;
void __fastcall FormCreate(TObject *Sender);
void __fastcall Button_COMPort_updateClick(TObject *Sender);
void __fastcall Edit_RegDataHEXKeyPress(TObject *Sender, System::WideChar &Key);
void __fastcall Edit_RegDataHEXKeyUp(TObject *Sender, WORD &Key, TShiftState Shift);
void __fastcall Edit_RegDataBINKeyPress(TObject *Sender, System::WideChar &Key);
void __fastcall Edit_RegDataBINKeyUp(TObject *Sender, WORD &Key, TShiftState Shift);
void __fastcall Edit_RegDataDECKeyPress(TObject *Sender, System::WideChar &Key);
void __fastcall Edit_RegDataDECKeyUp(TObject *Sender, WORD &Key, TShiftState Shift);
void __fastcall Button_readClick(TObject *Sender);
void __fastcall Button_writeClick(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif