forked from perevoznyk/php4delphi
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathuMain.dfm
235 lines (235 loc) · 4.13 KB
/
uMain.dfm
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
object frmMain: TfrmMain
Left = 331
Top = 235
BorderStyle = bsDialog
Caption = 'Encryption/Decryption'
ClientHeight = 345
ClientWidth = 555
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
Position = poScreenCenter
OnCreate = FormCreate
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 13
object lblCaption: TLabel
Left = 0
Top = 0
Width = 555
Height = 29
Align = alTop
Alignment = taCenter
Caption = 'Test Encryption/Decryption routines'
Font.Charset = RUSSIAN_CHARSET
Font.Color = clWindowText
Font.Height = -24
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
Layout = tlCenter
end
object Label2: TLabel
Left = 16
Top = 52
Width = 46
Height = 13
Caption = 'Enter Key'
end
object Label3: TLabel
Left = 16
Top = 77
Width = 74
Height = 13
Caption = 'Enter Password'
end
object Label4: TLabel
Left = 16
Top = 102
Width = 110
Height = 13
Caption = 'Enter Password Length'
end
object Label5: TLabel
Left = 16
Top = 128
Width = 80
Height = 13
Caption = 'Enter Adjustment'
end
object Label6: TLabel
Left = 16
Top = 153
Width = 68
Height = 13
Caption = 'Enter Modulus'
end
object lblEncrypt: TLabel
Left = 152
Top = 180
Width = 3
Height = 13
end
object lblDecrypt: TLabel
Left = 152
Top = 200
Width = 3
Height = 13
end
object Label9: TLabel
Left = 236
Top = 104
Width = 83
Height = 13
Caption = '( positive integer )'
end
object Label10: TLabel
Left = 236
Top = 128
Width = 49
Height = 13
Caption = '( numeric )'
end
object Label11: TLabel
Left = 236
Top = 152
Width = 83
Height = 13
Caption = '( positive integer )'
end
object Label1: TLabel
Left = 148
Top = 232
Width = 27
Height = 13
Caption = 'Errors'
end
object btnEncrypt: TButton
Left = 16
Top = 178
Width = 75
Height = 25
Caption = 'Encrypt'
TabOrder = 0
OnClick = btnEncryptClick
end
object btnDecrypt: TButton
Left = 16
Top = 208
Width = 75
Height = 25
Caption = 'Decrypt'
TabOrder = 1
OnClick = btnDecryptClick
end
object edtKey: TEdit
Left = 152
Top = 48
Width = 245
Height = 21
TabOrder = 2
Text = 'Fred'
end
object edtPassword: TEdit
Left = 152
Top = 73
Width = 249
Height = 21
TabOrder = 3
Text = 'passWORD'
end
object edtPassLen: TEdit
Left = 152
Top = 98
Width = 70
Height = 21
TabOrder = 4
Text = '16'
end
object edtAjustment: TEdit
Left = 152
Top = 124
Width = 70
Height = 21
TabOrder = 5
Text = '1.75'
end
object edtModulus: TEdit
Left = 152
Top = 149
Width = 70
Height = 21
TabOrder = 6
Text = '3'
end
object btnClose: TButton
Left = 476
Top = 312
Width = 75
Height = 25
Caption = 'Close'
TabOrder = 7
OnClick = btnCloseClick
end
object Errors: TMemo
Left = 148
Top = 248
Width = 305
Height = 89
Lines.Strings = (
'')
TabOrder = 8
end
object psvPHP: TpsvPHP
Variables = <
item
Name = 'key'
end
item
Name = 'password'
end
item
Name = 'pswdlen'
end
item
Name = 'adj'
end
item
Name = 'mod'
end
item
Name = 'encrypt_result'
end
item
Name = 'decrypt_result'
end>
Left = 356
Top = 116
end
object PHPLibrary1: TPHPLibrary
LibraryName = 'ErrorsLib'
Functions = <
item
FunctionName = 'printerror'
Tag = 0
Parameters = <
item
Name = 'line'
ParamType = tpString
end>
OnExecute = PHPLibrary1Functions0Execute
end>
Left = 360
Top = 168
end
object PHPEngine: TPHPEngine
Constants = <>
ReportDLLError = False
Left = 424
Top = 124
end
end