-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUnit1.~h
93 lines (91 loc) · 3.18 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "XPManifest.h"
#include "acSlider.hpp"
#include "sButton.hpp"
#include "sGroupBox.hpp"
#include "sListBox.hpp"
#include "sPanel.hpp"
#include "sSkinManager.hpp"
#include <ExtCtrls.hpp>
#include "sComboBox.hpp"
#include <Menus.hpp>
#include <Grids.hpp>
//---------------------------------------------------------------------------
struct ButtonListItem {
int key;
int motor;
bool direct;
};
class TForm1 : public TForm
{
__published: // IDE-managed Components
TsGroupBox *sGroupBox1;
TsButton *sButton1;
TsButton *sButton2;
TsButton *sButton3;
TsSkinManager *sSkinManager1;
TMainMenu *MainMenu1;
TMenuItem *A1;
TMenuItem *N1;
TMenuItem *N2;
TMenuItem *N3;
TMenuItem *N4;
TMenuItem *N5;
TMenuItem *N6;
TMenuItem *N7;
TMenuItem *N8;
TMenuItem *N9;
TMenuItem *N10;
TMenuItem *N11;
TsGroupBox *sGroupBox2;
TsComboBox *sComboBox1;
TsButton *sButton4;
TsButton *sButton5;
TsButton *sButton6;
TsButton *sButton7;
TsButton *sButton8;
TStringGrid *StringGrid1;
void __fastcall FormCreate(TObject *Sender);
void __fastcall Button5Click(TObject *Sender);
void __fastcall sButton1Click(TObject *Sender);
void __fastcall sButton5Click(TObject *Sender);
void __fastcall sButton7Click(TObject *Sender);
void __fastcall sButton8Click(TObject *Sender);
void __fastcall sButton6Click(TObject *Sender);
void __fastcall sButton3Click(TObject *Sender);
void __fastcall StringGrid1KeyPress(TObject *Sender, char &Key);
void __fastcall N7Click(TObject *Sender);
void __fastcall FormKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall FormKeyUp(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall N1Click(TObject *Sender);
void __fastcall N9Click(TObject *Sender);
void __fastcall N11Click(TObject *Sender);
void __fastcall sButton4Click(TObject *Sender);
void __fastcall sButton2Click(TObject *Sender);
void __fastcall StringGrid1DrawCell(TObject *Sender, int ACol,
int ARow, TRect &Rect, TGridDrawState State);
void __fastcall StringGrid1KeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall StringGrid1KeyUp(TObject *Sender, WORD &Key,
TShiftState Shift);
private: // User declarations
protected:
bool BI;
void __fastcall SetBI(bool BInterface);
public: // User declarations
__fastcall TForm1(TComponent* Owner);
__property bool BlockInterface = {write = SetBI, read = BI};
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif