OpenCores
URL https://opencores.org/ocsvn/thor/thor/trunk

Subversion Repositories thor

[/] [thor/] [trunk/] [software/] [emuThor/] [source/] [frmKeyboard.h] - Blame information for rev 30

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 robfinch
#pragma once
2
#include "stdafx.h"
3
#include "clsKeyboard.h"
4
 
5
extern clsKeyboard keybd;
6
extern clsPIC pic1;
7
extern volatile unsigned __int8 keybd_status;
8
extern volatile unsigned __int8 keybd_scancode;
9
 
10
namespace emuThor {
11
 
12
        using namespace System;
13
        using namespace System::ComponentModel;
14
        using namespace System::Collections;
15
        using namespace System::Windows::Forms;
16
        using namespace System::Data;
17
        using namespace System::Drawing;
18
 
19
        /// <summary>
20
        /// Summary for frmKeyboard
21
        /// </summary>
22
        public ref class frmKeyboard : public System::Windows::Forms::Form
23
        {
24
 
25
        public:
26
                frmKeyboard(void)
27
                {
28
                        InitializeComponent();
29
                        //
30
                        //TODO: Add the constructor code here
31
                        //
32
                }
33
 
34
        protected:
35
                /// <summary>
36
                /// Clean up any resources being used.
37
                /// </summary>
38
                ~frmKeyboard()
39
                {
40
                        if (components)
41
                        {
42
                                delete components;
43
                        }
44
                }
45
        private: System::Windows::Forms::Button^  btnQ;
46
        protected:
47
        private: System::Windows::Forms::Button^  btnW;
48
        private: System::Windows::Forms::Button^  btnE;
49
        private: System::Windows::Forms::Button^  btnQuest;
50
        private: System::Windows::Forms::Button^  btnEnter;
51
        private: System::Windows::Forms::Button^  btnR;
52
        private: System::Windows::Forms::Button^  btnT;
53
        private: System::Windows::Forms::Button^  btnY;
54
        private: System::Windows::Forms::Button^  btnU;
55
        private: System::Windows::Forms::Button^  btnI;
56
        private: System::Windows::Forms::Button^  btnRshift;
57
        private: System::Windows::Forms::Button^  btnO;
58
        private: System::Windows::Forms::Button^  btnLshift;
59
        private: System::Windows::Forms::Button^  btnP;
60
        private: System::Windows::Forms::Button^  btnA;
61
        private: System::Windows::Forms::Button^  btnS;
62
        private: System::Windows::Forms::Button^  btnD;
63
        private: System::Windows::Forms::Button^  btnF;
64
        private: System::Windows::Forms::Button^  btnG;
65
        private: System::Windows::Forms::Button^  btnZ;
66
        private: System::Windows::Forms::Button^  btnH;
67
        private: System::Windows::Forms::Button^  btnJ;
68
        private: System::Windows::Forms::Button^  btnK;
69
        private: System::Windows::Forms::Button^  btnL;
70
        private: System::Windows::Forms::Button^  btnX;
71
        private: System::Windows::Forms::Button^  btnC;
72
        private: System::Windows::Forms::Button^  btnV;
73
        private: System::Windows::Forms::Button^  btnB;
74
        private: System::Windows::Forms::Button^  btnN;
75
        private: System::Windows::Forms::Button^  btnM;
76
        private: System::Windows::Forms::Button^  btn1;
77
        private: System::Windows::Forms::Button^  btn2;
78
        private: System::Windows::Forms::Button^  btn3;
79
        private: System::Windows::Forms::Button^  btn4;
80
        private: System::Windows::Forms::Button^  btn5;
81
        private: System::Windows::Forms::Button^  btn6;
82
        private: System::Windows::Forms::Button^  btn7;
83
        private: System::Windows::Forms::Button^  btn8;
84
        private: System::Windows::Forms::Button^  btn9;
85
        private: System::Windows::Forms::Button^  btn0;
86
        private: System::Windows::Forms::Button^  btnSpace;
87
        private: System::Windows::Forms::Button^  button1;
88
        private: System::Windows::Forms::Button^  button2;
89
        private: System::Windows::Forms::Button^  button3;
90
        private: System::Windows::Forms::Button^  button4;
91
        private: System::Windows::Forms::Button^  button5;
92
        private: System::Windows::Forms::Button^  button6;
93
        private: System::Windows::Forms::Button^  button7;
94
        private: System::Windows::Forms::Button^  btnMinus;
95
 
96
        private: System::Windows::Forms::Button^  button9;
97
        private: System::Windows::Forms::Button^  btnBackspace;
98
        private: System::Windows::Forms::Button^  btnRctrl;
99
        private: System::Windows::Forms::Button^  btnLalt;
100
        private: System::Windows::Forms::Button^  button10;
101
        private: System::Windows::Forms::Button^  button11;
102
        private: System::Windows::Forms::Button^  button12;
103
        private: System::Windows::Forms::Button^  button13;
104
        private: System::Windows::Forms::Button^  button14;
105
        private: System::Windows::Forms::Button^  button15;
106
        private: System::Windows::Forms::Button^  button16;
107
        private: System::Windows::Forms::Button^  button17;
108
        private: System::Windows::Forms::Button^  button18;
109
        private: System::Windows::Forms::Button^  button19;
110
        private: System::Windows::Forms::Button^  button8;
111
        private: System::Windows::Forms::Button^  button20;
112
        private: System::Windows::Forms::Button^  buttonLctrl;
113
        private: System::Windows::Forms::Button^  buttonEsc;
114
        private: System::Windows::Forms::Button^  buttonF1;
115
        private: System::Windows::Forms::Button^  buttonF2;
116
        private: System::Windows::Forms::Button^  buttonF3;
117
        private: System::Windows::Forms::Button^  buttonF4;
118
        private: System::Windows::Forms::Button^  buttonF5;
119
        private: System::Windows::Forms::Button^  buttonF6;
120
        private: System::Windows::Forms::Button^  buttonF7;
121
        private: System::Windows::Forms::Button^  buttonF8;
122
        private: System::Windows::Forms::Button^  buttonF9;
123
        private: System::Windows::Forms::Button^  buttonF10;
124
        private: System::Windows::Forms::Button^  buttonF11;
125
        private: System::Windows::Forms::Button^  buttonF12;
126
private: System::Windows::Forms::Button^  buttonCapslock;
127
private: System::Windows::Forms::Button^  button21;
128
private: System::Windows::Forms::Button^  button22;
129
private: System::Windows::Forms::Button^  button23;
130
private: System::Windows::Forms::Button^  buttonTab;
131
 
132
        private:
133
                /// <summary>
134
                /// Required designer variable.
135
                /// </summary>
136
                System::ComponentModel::Container ^components;
137
 
138
#pragma region Windows Form Designer generated code
139
                /// <summary>
140
                /// Required method for Designer support - do not modify
141
                /// the contents of this method with the code editor.
142
                /// </summary>
143
                void InitializeComponent(void)
144
                {
145
                        this->btnQ = (gcnew System::Windows::Forms::Button());
146
                        this->btnW = (gcnew System::Windows::Forms::Button());
147
                        this->btnE = (gcnew System::Windows::Forms::Button());
148
                        this->btnQuest = (gcnew System::Windows::Forms::Button());
149
                        this->btnEnter = (gcnew System::Windows::Forms::Button());
150
                        this->btnR = (gcnew System::Windows::Forms::Button());
151
                        this->btnT = (gcnew System::Windows::Forms::Button());
152
                        this->btnY = (gcnew System::Windows::Forms::Button());
153
                        this->btnU = (gcnew System::Windows::Forms::Button());
154
                        this->btnI = (gcnew System::Windows::Forms::Button());
155
                        this->btnRshift = (gcnew System::Windows::Forms::Button());
156
                        this->btnO = (gcnew System::Windows::Forms::Button());
157
                        this->btnLshift = (gcnew System::Windows::Forms::Button());
158
                        this->btnP = (gcnew System::Windows::Forms::Button());
159
                        this->btnA = (gcnew System::Windows::Forms::Button());
160
                        this->btnS = (gcnew System::Windows::Forms::Button());
161
                        this->btnD = (gcnew System::Windows::Forms::Button());
162
                        this->btnF = (gcnew System::Windows::Forms::Button());
163
                        this->btnG = (gcnew System::Windows::Forms::Button());
164
                        this->btnZ = (gcnew System::Windows::Forms::Button());
165
                        this->btnH = (gcnew System::Windows::Forms::Button());
166
                        this->btnJ = (gcnew System::Windows::Forms::Button());
167
                        this->btnK = (gcnew System::Windows::Forms::Button());
168
                        this->btnL = (gcnew System::Windows::Forms::Button());
169
                        this->btnX = (gcnew System::Windows::Forms::Button());
170
                        this->btnC = (gcnew System::Windows::Forms::Button());
171
                        this->btnV = (gcnew System::Windows::Forms::Button());
172
                        this->btnB = (gcnew System::Windows::Forms::Button());
173
                        this->btnN = (gcnew System::Windows::Forms::Button());
174
                        this->btnM = (gcnew System::Windows::Forms::Button());
175
                        this->btn1 = (gcnew System::Windows::Forms::Button());
176
                        this->btn2 = (gcnew System::Windows::Forms::Button());
177
                        this->btn3 = (gcnew System::Windows::Forms::Button());
178
                        this->btn4 = (gcnew System::Windows::Forms::Button());
179
                        this->btn5 = (gcnew System::Windows::Forms::Button());
180
                        this->btn6 = (gcnew System::Windows::Forms::Button());
181
                        this->btn7 = (gcnew System::Windows::Forms::Button());
182
                        this->btn8 = (gcnew System::Windows::Forms::Button());
183
                        this->btn9 = (gcnew System::Windows::Forms::Button());
184
                        this->btn0 = (gcnew System::Windows::Forms::Button());
185
                        this->btnSpace = (gcnew System::Windows::Forms::Button());
186
                        this->button1 = (gcnew System::Windows::Forms::Button());
187
                        this->button2 = (gcnew System::Windows::Forms::Button());
188
                        this->button3 = (gcnew System::Windows::Forms::Button());
189
                        this->button4 = (gcnew System::Windows::Forms::Button());
190
                        this->button5 = (gcnew System::Windows::Forms::Button());
191
                        this->button6 = (gcnew System::Windows::Forms::Button());
192
                        this->button7 = (gcnew System::Windows::Forms::Button());
193
                        this->btnMinus = (gcnew System::Windows::Forms::Button());
194
                        this->button9 = (gcnew System::Windows::Forms::Button());
195
                        this->btnBackspace = (gcnew System::Windows::Forms::Button());
196
                        this->btnRctrl = (gcnew System::Windows::Forms::Button());
197
                        this->btnLalt = (gcnew System::Windows::Forms::Button());
198
                        this->button10 = (gcnew System::Windows::Forms::Button());
199
                        this->button11 = (gcnew System::Windows::Forms::Button());
200
                        this->button12 = (gcnew System::Windows::Forms::Button());
201
                        this->button13 = (gcnew System::Windows::Forms::Button());
202
                        this->button14 = (gcnew System::Windows::Forms::Button());
203
                        this->button15 = (gcnew System::Windows::Forms::Button());
204
                        this->button16 = (gcnew System::Windows::Forms::Button());
205
                        this->button17 = (gcnew System::Windows::Forms::Button());
206
                        this->button18 = (gcnew System::Windows::Forms::Button());
207
                        this->button19 = (gcnew System::Windows::Forms::Button());
208
                        this->button8 = (gcnew System::Windows::Forms::Button());
209
                        this->button20 = (gcnew System::Windows::Forms::Button());
210
                        this->buttonLctrl = (gcnew System::Windows::Forms::Button());
211
                        this->buttonEsc = (gcnew System::Windows::Forms::Button());
212
                        this->buttonF1 = (gcnew System::Windows::Forms::Button());
213
                        this->buttonF2 = (gcnew System::Windows::Forms::Button());
214
                        this->buttonF3 = (gcnew System::Windows::Forms::Button());
215
                        this->buttonF4 = (gcnew System::Windows::Forms::Button());
216
                        this->buttonF5 = (gcnew System::Windows::Forms::Button());
217
                        this->buttonF6 = (gcnew System::Windows::Forms::Button());
218
                        this->buttonF7 = (gcnew System::Windows::Forms::Button());
219
                        this->buttonF8 = (gcnew System::Windows::Forms::Button());
220
                        this->buttonF9 = (gcnew System::Windows::Forms::Button());
221
                        this->buttonF10 = (gcnew System::Windows::Forms::Button());
222
                        this->buttonF11 = (gcnew System::Windows::Forms::Button());
223
                        this->buttonF12 = (gcnew System::Windows::Forms::Button());
224
                        this->buttonCapslock = (gcnew System::Windows::Forms::Button());
225
                        this->button21 = (gcnew System::Windows::Forms::Button());
226
                        this->button22 = (gcnew System::Windows::Forms::Button());
227
                        this->button23 = (gcnew System::Windows::Forms::Button());
228
                        this->buttonTab = (gcnew System::Windows::Forms::Button());
229
                        this->SuspendLayout();
230
                        // 
231
                        // btnQ
232
                        // 
233
                        this->btnQ->Location = System::Drawing::Point(83, 90);
234
                        this->btnQ->Name = L"btnQ";
235
                        this->btnQ->Size = System::Drawing::Size(36, 34);
236
                        this->btnQ->TabIndex = 0;
237
                        this->btnQ->Text = L"Q";
238
                        this->btnQ->UseVisualStyleBackColor = true;
239
                        this->btnQ->Click += gcnew System::EventHandler(this, &frmKeyboard::btnQ_Click);
240
                        // 
241
                        // btnW
242
                        // 
243
                        this->btnW->Location = System::Drawing::Point(125, 90);
244
                        this->btnW->Name = L"btnW";
245
                        this->btnW->Size = System::Drawing::Size(35, 34);
246
                        this->btnW->TabIndex = 1;
247
                        this->btnW->Text = L"W";
248
                        this->btnW->UseVisualStyleBackColor = true;
249
                        this->btnW->Click += gcnew System::EventHandler(this, &frmKeyboard::btnW_Click);
250
                        // 
251
                        // btnE
252
                        // 
253
                        this->btnE->Location = System::Drawing::Point(166, 90);
254
                        this->btnE->Name = L"btnE";
255
                        this->btnE->Size = System::Drawing::Size(35, 34);
256
                        this->btnE->TabIndex = 2;
257
                        this->btnE->Text = L"E";
258
                        this->btnE->UseVisualStyleBackColor = true;
259
                        this->btnE->Click += gcnew System::EventHandler(this, &frmKeyboard::btnE_Click);
260
                        // 
261
                        // btnQuest
262
                        // 
263
                        this->btnQuest->Location = System::Drawing::Point(474, 170);
264
                        this->btnQuest->Name = L"btnQuest";
265
                        this->btnQuest->Size = System::Drawing::Size(39, 33);
266
                        this->btnQuest->TabIndex = 3;
267
                        this->btnQuest->Text = L"\?/";
268
                        this->btnQuest->UseVisualStyleBackColor = true;
269
                        this->btnQuest->Click += gcnew System::EventHandler(this, &frmKeyboard::btnQuest_Click);
270
                        // 
271
                        // btnEnter
272
                        // 
273
                        this->btnEnter->Location = System::Drawing::Point(580, 90);
274
                        this->btnEnter->Name = L"btnEnter";
275
                        this->btnEnter->Size = System::Drawing::Size(46, 74);
276
                        this->btnEnter->TabIndex = 4;
277
                        this->btnEnter->Text = L"Enter";
278
                        this->btnEnter->UseVisualStyleBackColor = true;
279
                        this->btnEnter->Click += gcnew System::EventHandler(this, &frmKeyboard::btnEnter_Click);
280
                        // 
281
                        // btnR
282
                        // 
283
                        this->btnR->Location = System::Drawing::Point(206, 90);
284
                        this->btnR->Name = L"btnR";
285
                        this->btnR->Size = System::Drawing::Size(34, 34);
286
                        this->btnR->TabIndex = 5;
287
                        this->btnR->Text = L"R";
288
                        this->btnR->UseVisualStyleBackColor = true;
289
                        this->btnR->Click += gcnew System::EventHandler(this, &frmKeyboard::btnR_Click);
290
                        // 
291
                        // btnT
292
                        // 
293
                        this->btnT->Location = System::Drawing::Point(246, 90);
294
                        this->btnT->Name = L"btnT";
295
                        this->btnT->Size = System::Drawing::Size(35, 34);
296
                        this->btnT->TabIndex = 6;
297
                        this->btnT->Text = L"T";
298
                        this->btnT->UseVisualStyleBackColor = true;
299
                        this->btnT->Click += gcnew System::EventHandler(this, &frmKeyboard::btnT_Click);
300
                        // 
301
                        // btnY
302
                        // 
303
                        this->btnY->Location = System::Drawing::Point(287, 90);
304
                        this->btnY->Name = L"btnY";
305
                        this->btnY->Size = System::Drawing::Size(34, 34);
306
                        this->btnY->TabIndex = 7;
307
                        this->btnY->Text = L"Y";
308
                        this->btnY->UseVisualStyleBackColor = true;
309
                        this->btnY->Click += gcnew System::EventHandler(this, &frmKeyboard::btnY_Click);
310
                        // 
311
                        // btnU
312
                        // 
313
                        this->btnU->Location = System::Drawing::Point(327, 90);
314
                        this->btnU->Name = L"btnU";
315
                        this->btnU->Size = System::Drawing::Size(35, 34);
316
                        this->btnU->TabIndex = 8;
317
                        this->btnU->Text = L"U";
318
                        this->btnU->UseVisualStyleBackColor = true;
319
                        this->btnU->Click += gcnew System::EventHandler(this, &frmKeyboard::btnU_Click);
320
                        // 
321
                        // btnI
322
                        // 
323
                        this->btnI->Location = System::Drawing::Point(368, 90);
324
                        this->btnI->Name = L"btnI";
325
                        this->btnI->Size = System::Drawing::Size(34, 34);
326
                        this->btnI->TabIndex = 9;
327
                        this->btnI->Text = L"I";
328
                        this->btnI->UseVisualStyleBackColor = true;
329
                        this->btnI->Click += gcnew System::EventHandler(this, &frmKeyboard::btnI_Click);
330
                        // 
331
                        // btnRshift
332
                        // 
333
                        this->btnRshift->Location = System::Drawing::Point(519, 170);
334
                        this->btnRshift->Name = L"btnRshift";
335
                        this->btnRshift->Size = System::Drawing::Size(107, 33);
336
                        this->btnRshift->TabIndex = 10;
337
                        this->btnRshift->Text = L"shift";
338
                        this->btnRshift->UseVisualStyleBackColor = true;
339
                        this->btnRshift->Click += gcnew System::EventHandler(this, &frmKeyboard::btnRshift_Click);
340
                        // 
341
                        // btnO
342
                        // 
343
                        this->btnO->Location = System::Drawing::Point(408, 90);
344
                        this->btnO->Name = L"btnO";
345
                        this->btnO->Size = System::Drawing::Size(34, 34);
346
                        this->btnO->TabIndex = 11;
347
                        this->btnO->Text = L"O";
348
                        this->btnO->UseVisualStyleBackColor = true;
349
                        this->btnO->Click += gcnew System::EventHandler(this, &frmKeyboard::btnO_Click);
350
                        // 
351
                        // btnLshift
352
                        // 
353
                        this->btnLshift->Location = System::Drawing::Point(24, 170);
354
                        this->btnLshift->Name = L"btnLshift";
355
                        this->btnLshift->Size = System::Drawing::Size(39, 33);
356
                        this->btnLshift->TabIndex = 12;
357
                        this->btnLshift->Text = L"shift";
358
                        this->btnLshift->UseVisualStyleBackColor = true;
359
                        // 
360
                        // btnP
361
                        // 
362
                        this->btnP->Location = System::Drawing::Point(448, 90);
363
                        this->btnP->Name = L"btnP";
364
                        this->btnP->Size = System::Drawing::Size(38, 34);
365
                        this->btnP->TabIndex = 13;
366
                        this->btnP->Text = L"P";
367
                        this->btnP->UseVisualStyleBackColor = true;
368
                        this->btnP->Click += gcnew System::EventHandler(this, &frmKeyboard::btnP_Click);
369
                        // 
370
                        // btnA
371
                        // 
372
                        this->btnA->Location = System::Drawing::Point(93, 130);
373
                        this->btnA->Name = L"btnA";
374
                        this->btnA->Size = System::Drawing::Size(34, 34);
375
                        this->btnA->TabIndex = 14;
376
                        this->btnA->Text = L"A";
377
                        this->btnA->UseVisualStyleBackColor = true;
378
                        this->btnA->Click += gcnew System::EventHandler(this, &frmKeyboard::btnA_Click);
379
                        // 
380
                        // btnS
381
                        // 
382
                        this->btnS->Location = System::Drawing::Point(133, 130);
383
                        this->btnS->Name = L"btnS";
384
                        this->btnS->Size = System::Drawing::Size(36, 34);
385
                        this->btnS->TabIndex = 15;
386
                        this->btnS->Text = L"S";
387
                        this->btnS->UseVisualStyleBackColor = true;
388
                        this->btnS->Click += gcnew System::EventHandler(this, &frmKeyboard::btnS_Click);
389
                        // 
390
                        // btnD
391
                        // 
392
                        this->btnD->Location = System::Drawing::Point(175, 130);
393
                        this->btnD->Name = L"btnD";
394
                        this->btnD->Size = System::Drawing::Size(35, 34);
395
                        this->btnD->TabIndex = 16;
396
                        this->btnD->Text = L"D";
397
                        this->btnD->UseVisualStyleBackColor = true;
398
                        this->btnD->Click += gcnew System::EventHandler(this, &frmKeyboard::btnD_Click);
399
                        // 
400
                        // btnF
401
                        // 
402
                        this->btnF->Location = System::Drawing::Point(216, 130);
403
                        this->btnF->Name = L"btnF";
404
                        this->btnF->Size = System::Drawing::Size(33, 34);
405
                        this->btnF->TabIndex = 17;
406
                        this->btnF->Text = L"F";
407
                        this->btnF->UseVisualStyleBackColor = true;
408
                        this->btnF->Click += gcnew System::EventHandler(this, &frmKeyboard::btnF_Click);
409
                        // 
410
                        // btnG
411
                        // 
412
                        this->btnG->Location = System::Drawing::Point(256, 130);
413
                        this->btnG->Name = L"btnG";
414
                        this->btnG->Size = System::Drawing::Size(36, 34);
415
                        this->btnG->TabIndex = 18;
416
                        this->btnG->Text = L"G";
417
                        this->btnG->UseVisualStyleBackColor = true;
418
                        this->btnG->Click += gcnew System::EventHandler(this, &frmKeyboard::btnG_Click);
419
                        // 
420
                        // btnZ
421
                        // 
422
                        this->btnZ->Location = System::Drawing::Point(102, 170);
423
                        this->btnZ->Name = L"btnZ";
424
                        this->btnZ->Size = System::Drawing::Size(34, 33);
425
                        this->btnZ->TabIndex = 19;
426
                        this->btnZ->Text = L"Z";
427
                        this->btnZ->UseVisualStyleBackColor = true;
428
                        this->btnZ->Click += gcnew System::EventHandler(this, &frmKeyboard::btnZ_Click);
429
                        // 
430
                        // btnH
431
                        // 
432
                        this->btnH->Location = System::Drawing::Point(298, 130);
433
                        this->btnH->Name = L"btnH";
434
                        this->btnH->Size = System::Drawing::Size(33, 34);
435
                        this->btnH->TabIndex = 21;
436
                        this->btnH->Text = L"H";
437
                        this->btnH->UseVisualStyleBackColor = true;
438
                        this->btnH->Click += gcnew System::EventHandler(this, &frmKeyboard::btnH_Click);
439
                        // 
440
                        // btnJ
441
                        // 
442
                        this->btnJ->Location = System::Drawing::Point(339, 130);
443
                        this->btnJ->Name = L"btnJ";
444
                        this->btnJ->Size = System::Drawing::Size(32, 34);
445
                        this->btnJ->TabIndex = 22;
446
                        this->btnJ->Text = L"J";
447
                        this->btnJ->UseVisualStyleBackColor = true;
448
                        this->btnJ->Click += gcnew System::EventHandler(this, &frmKeyboard::btnJ_Click);
449
                        // 
450
                        // btnK
451
                        // 
452
                        this->btnK->Location = System::Drawing::Point(377, 130);
453
                        this->btnK->Name = L"btnK";
454
                        this->btnK->Size = System::Drawing::Size(34, 34);
455
                        this->btnK->TabIndex = 23;
456
                        this->btnK->Text = L"K";
457
                        this->btnK->UseVisualStyleBackColor = true;
458
                        this->btnK->Click += gcnew System::EventHandler(this, &frmKeyboard::btnK_Click);
459
                        // 
460
                        // btnL
461
                        // 
462
                        this->btnL->Location = System::Drawing::Point(417, 130);
463
                        this->btnL->Name = L"btnL";
464
                        this->btnL->Size = System::Drawing::Size(39, 34);
465
                        this->btnL->TabIndex = 24;
466
                        this->btnL->Text = L"L";
467
                        this->btnL->UseVisualStyleBackColor = true;
468
                        this->btnL->Click += gcnew System::EventHandler(this, &frmKeyboard::btnL_Click);
469
                        // 
470
                        // btnX
471
                        // 
472
                        this->btnX->Location = System::Drawing::Point(142, 170);
473
                        this->btnX->Name = L"btnX";
474
                        this->btnX->Size = System::Drawing::Size(42, 33);
475
                        this->btnX->TabIndex = 20;
476
                        this->btnX->Text = L"X";
477
                        this->btnX->UseVisualStyleBackColor = true;
478
                        this->btnX->Click += gcnew System::EventHandler(this, &frmKeyboard::btnX_Click);
479
                        // 
480
                        // btnC
481
                        // 
482
                        this->btnC->Location = System::Drawing::Point(190, 170);
483
                        this->btnC->Name = L"btnC";
484
                        this->btnC->Size = System::Drawing::Size(32, 33);
485
                        this->btnC->TabIndex = 25;
486
                        this->btnC->Text = L"C";
487
                        this->btnC->UseVisualStyleBackColor = true;
488
                        this->btnC->Click += gcnew System::EventHandler(this, &frmKeyboard::btnC_Click);
489
                        // 
490
                        // btnV
491
                        // 
492
                        this->btnV->Location = System::Drawing::Point(228, 170);
493
                        this->btnV->Name = L"btnV";
494
                        this->btnV->Size = System::Drawing::Size(34, 33);
495
                        this->btnV->TabIndex = 26;
496
                        this->btnV->Text = L"V";
497
                        this->btnV->UseVisualStyleBackColor = true;
498
                        this->btnV->Click += gcnew System::EventHandler(this, &frmKeyboard::btnV_Click);
499
                        // 
500
                        // btnB
501
                        // 
502
                        this->btnB->Location = System::Drawing::Point(267, 170);
503
                        this->btnB->Name = L"btnB";
504
                        this->btnB->Size = System::Drawing::Size(35, 33);
505
                        this->btnB->TabIndex = 27;
506
                        this->btnB->Text = L"B";
507
                        this->btnB->UseVisualStyleBackColor = true;
508
                        this->btnB->Click += gcnew System::EventHandler(this, &frmKeyboard::btnB_Click);
509
                        // 
510
                        // btnN
511
                        // 
512
                        this->btnN->Location = System::Drawing::Point(308, 170);
513
                        this->btnN->Name = L"btnN";
514
                        this->btnN->Size = System::Drawing::Size(34, 33);
515
                        this->btnN->TabIndex = 28;
516
                        this->btnN->Text = L"N";
517
                        this->btnN->UseVisualStyleBackColor = true;
518
                        this->btnN->Click += gcnew System::EventHandler(this, &frmKeyboard::btnN_Click);
519
                        // 
520
                        // btnM
521
                        // 
522
                        this->btnM->Location = System::Drawing::Point(348, 170);
523
                        this->btnM->Name = L"btnM";
524
                        this->btnM->Size = System::Drawing::Size(36, 33);
525
                        this->btnM->TabIndex = 29;
526
                        this->btnM->Text = L"M";
527
                        this->btnM->UseVisualStyleBackColor = true;
528
                        this->btnM->Click += gcnew System::EventHandler(this, &frmKeyboard::btnM_Click);
529
                        // 
530
                        // btn1
531
                        // 
532
                        this->btn1->Location = System::Drawing::Point(69, 48);
533
                        this->btn1->Name = L"btn1";
534
                        this->btn1->Size = System::Drawing::Size(39, 36);
535
                        this->btn1->TabIndex = 30;
536
                        this->btn1->Text = L"!1";
537
                        this->btn1->UseVisualStyleBackColor = true;
538
                        this->btn1->Click += gcnew System::EventHandler(this, &frmKeyboard::btn1_Click);
539
                        // 
540
                        // btn2
541
                        // 
542
                        this->btn2->Location = System::Drawing::Point(114, 48);
543
                        this->btn2->Name = L"btn2";
544
                        this->btn2->Size = System::Drawing::Size(37, 36);
545
                        this->btn2->TabIndex = 31;
546
                        this->btn2->Text = L"@2";
547
                        this->btn2->UseVisualStyleBackColor = true;
548
                        this->btn2->Click += gcnew System::EventHandler(this, &frmKeyboard::btn2_Click);
549
                        // 
550
                        // btn3
551
                        // 
552
                        this->btn3->Location = System::Drawing::Point(159, 48);
553
                        this->btn3->Name = L"btn3";
554
                        this->btn3->Size = System::Drawing::Size(34, 36);
555
                        this->btn3->TabIndex = 32;
556
                        this->btn3->Text = L"#3";
557
                        this->btn3->UseVisualStyleBackColor = true;
558
                        this->btn3->Click += gcnew System::EventHandler(this, &frmKeyboard::btn3_Click);
559
                        // 
560
                        // btn4
561
                        // 
562
                        this->btn4->Location = System::Drawing::Point(199, 48);
563
                        this->btn4->Name = L"btn4";
564
                        this->btn4->Size = System::Drawing::Size(32, 36);
565
                        this->btn4->TabIndex = 33;
566
                        this->btn4->Text = L"$4";
567
                        this->btn4->UseVisualStyleBackColor = true;
568
                        this->btn4->Click += gcnew System::EventHandler(this, &frmKeyboard::btn4_Click);
569
                        // 
570
                        // btn5
571
                        // 
572
                        this->btn5->Location = System::Drawing::Point(235, 48);
573
                        this->btn5->Name = L"btn5";
574
                        this->btn5->Size = System::Drawing::Size(36, 36);
575
                        this->btn5->TabIndex = 34;
576
                        this->btn5->Text = L"%5";
577
                        this->btn5->UseVisualStyleBackColor = true;
578
                        this->btn5->Click += gcnew System::EventHandler(this, &frmKeyboard::btn5_Click);
579
                        // 
580
                        // btn6
581
                        // 
582
                        this->btn6->Location = System::Drawing::Point(277, 48);
583
                        this->btn6->Name = L"btn6";
584
                        this->btn6->Size = System::Drawing::Size(35, 36);
585
                        this->btn6->TabIndex = 35;
586
                        this->btn6->Text = L"^6";
587
                        this->btn6->UseVisualStyleBackColor = true;
588
                        this->btn6->Click += gcnew System::EventHandler(this, &frmKeyboard::btn6_Click);
589
                        // 
590
                        // btn7
591
                        // 
592
                        this->btn7->Location = System::Drawing::Point(317, 48);
593
                        this->btn7->Name = L"btn7";
594
                        this->btn7->Size = System::Drawing::Size(35, 36);
595
                        this->btn7->TabIndex = 36;
596
                        this->btn7->Text = L"&&7";
597
                        this->btn7->UseVisualStyleBackColor = true;
598
                        this->btn7->Click += gcnew System::EventHandler(this, &frmKeyboard::btn7_Click);
599
                        // 
600
                        // btn8
601
                        // 
602
                        this->btn8->Location = System::Drawing::Point(358, 48);
603
                        this->btn8->Name = L"btn8";
604
                        this->btn8->Size = System::Drawing::Size(35, 36);
605
                        this->btn8->TabIndex = 37;
606
                        this->btn8->Text = L"*8";
607
                        this->btn8->UseVisualStyleBackColor = true;
608
                        this->btn8->Click += gcnew System::EventHandler(this, &frmKeyboard::btn8_Click);
609
                        // 
610
                        // btn9
611
                        // 
612
                        this->btn9->Location = System::Drawing::Point(399, 48);
613
                        this->btn9->Name = L"btn9";
614
                        this->btn9->Size = System::Drawing::Size(32, 36);
615
                        this->btn9->TabIndex = 38;
616
                        this->btn9->Text = L"(9";
617
                        this->btn9->UseVisualStyleBackColor = true;
618
                        this->btn9->Click += gcnew System::EventHandler(this, &frmKeyboard::btn9_Click);
619
                        // 
620
                        // btn0
621
                        // 
622
                        this->btn0->Location = System::Drawing::Point(437, 48);
623
                        this->btn0->Name = L"btn0";
624
                        this->btn0->Size = System::Drawing::Size(34, 36);
625
                        this->btn0->TabIndex = 39;
626
                        this->btn0->Text = L")0";
627
                        this->btn0->UseVisualStyleBackColor = true;
628
                        this->btn0->Click += gcnew System::EventHandler(this, &frmKeyboard::btn0_Click);
629
                        // 
630
                        // btnSpace
631
                        // 
632
                        this->btnSpace->Location = System::Drawing::Point(206, 209);
633
                        this->btnSpace->Name = L"btnSpace";
634
                        this->btnSpace->Size = System::Drawing::Size(250, 33);
635
                        this->btnSpace->TabIndex = 40;
636
                        this->btnSpace->UseVisualStyleBackColor = true;
637
                        this->btnSpace->Click += gcnew System::EventHandler(this, &frmKeyboard::btnSpace_Click);
638
                        // 
639
                        // button1
640
                        // 
641
                        this->button1->Location = System::Drawing::Point(390, 170);
642
                        this->button1->Name = L"button1";
643
                        this->button1->Size = System::Drawing::Size(36, 33);
644
                        this->button1->TabIndex = 41;
645
                        this->button1->Text = L"<,";
646
                        this->button1->UseVisualStyleBackColor = true;
647
                        this->button1->Click += gcnew System::EventHandler(this, &frmKeyboard::button1_Click);
648
                        // 
649
                        // button2
650
                        // 
651
                        this->button2->Location = System::Drawing::Point(432, 170);
652
                        this->button2->Name = L"button2";
653
                        this->button2->Size = System::Drawing::Size(36, 33);
654
                        this->button2->TabIndex = 42;
655
                        this->button2->Text = L">.";
656
                        this->button2->UseVisualStyleBackColor = true;
657
                        this->button2->Click += gcnew System::EventHandler(this, &frmKeyboard::button2_Click);
658
                        // 
659
                        // button3
660
                        // 
661
                        this->button3->Location = System::Drawing::Point(462, 130);
662
                        this->button3->Name = L"button3";
663
                        this->button3->Size = System::Drawing::Size(39, 34);
664
                        this->button3->TabIndex = 43;
665
                        this->button3->Text = L":;";
666
                        this->button3->UseVisualStyleBackColor = true;
667
                        this->button3->Click += gcnew System::EventHandler(this, &frmKeyboard::button3_Click);
668
                        // 
669
                        // button4
670
                        // 
671
                        this->button4->Location = System::Drawing::Point(506, 130);
672
                        this->button4->Name = L"button4";
673
                        this->button4->Size = System::Drawing::Size(39, 34);
674
                        this->button4->TabIndex = 44;
675
                        this->button4->Text = L"\"\'";
676
                        this->button4->UseVisualStyleBackColor = true;
677
                        this->button4->Click += gcnew System::EventHandler(this, &frmKeyboard::button4_Click);
678
                        // 
679
                        // button5
680
                        // 
681
                        this->button5->Location = System::Drawing::Point(551, 130);
682
                        this->button5->Name = L"button5";
683
                        this->button5->Size = System::Drawing::Size(39, 34);
684
                        this->button5->TabIndex = 45;
685
                        this->button5->Text = L"|\\";
686
                        this->button5->UseVisualStyleBackColor = true;
687
                        this->button5->Click += gcnew System::EventHandler(this, &frmKeyboard::button5_Click);
688
                        // 
689
                        // button6
690
                        // 
691
                        this->button6->Location = System::Drawing::Point(492, 90);
692
                        this->button6->Name = L"button6";
693
                        this->button6->Size = System::Drawing::Size(38, 34);
694
                        this->button6->TabIndex = 46;
695
                        this->button6->Text = L"{[";
696
                        this->button6->UseVisualStyleBackColor = true;
697
                        this->button6->Click += gcnew System::EventHandler(this, &frmKeyboard::button6_Click);
698
                        // 
699
                        // button7
700
                        // 
701
                        this->button7->Location = System::Drawing::Point(536, 90);
702
                        this->button7->Name = L"button7";
703
                        this->button7->Size = System::Drawing::Size(38, 34);
704
                        this->button7->TabIndex = 47;
705
                        this->button7->Text = L"}]";
706
                        this->button7->UseVisualStyleBackColor = true;
707
                        this->button7->Click += gcnew System::EventHandler(this, &frmKeyboard::button7_Click);
708
                        // 
709
                        // btnMinus
710
                        // 
711
                        this->btnMinus->Location = System::Drawing::Point(474, 48);
712
                        this->btnMinus->Name = L"btnMinus";
713
                        this->btnMinus->Size = System::Drawing::Size(34, 36);
714
                        this->btnMinus->TabIndex = 48;
715
                        this->btnMinus->Text = L"_-";
716
                        this->btnMinus->UseVisualStyleBackColor = true;
717
                        this->btnMinus->Click += gcnew System::EventHandler(this, &frmKeyboard::btnMinus_Click);
718
                        // 
719
                        // button9
720
                        // 
721
                        this->button9->Location = System::Drawing::Point(514, 48);
722
                        this->button9->Name = L"button9";
723
                        this->button9->Size = System::Drawing::Size(34, 36);
724
                        this->button9->TabIndex = 49;
725
                        this->button9->Text = L"+=";
726
                        this->button9->UseVisualStyleBackColor = true;
727
                        this->button9->Click += gcnew System::EventHandler(this, &frmKeyboard::button9_Click);
728
                        // 
729
                        // btnBackspace
730
                        // 
731
                        this->btnBackspace->Location = System::Drawing::Point(554, 48);
732
                        this->btnBackspace->Name = L"btnBackspace";
733
                        this->btnBackspace->Size = System::Drawing::Size(72, 36);
734
                        this->btnBackspace->TabIndex = 50;
735
                        this->btnBackspace->Text = L"<--";
736
                        this->btnBackspace->UseVisualStyleBackColor = true;
737
                        this->btnBackspace->Click += gcnew System::EventHandler(this, &frmKeyboard::btnBackspace_Click);
738
                        // 
739
                        // btnRctrl
740
                        // 
741
                        this->btnRctrl->Location = System::Drawing::Point(568, 212);
742
                        this->btnRctrl->Name = L"btnRctrl";
743
                        this->btnRctrl->Size = System::Drawing::Size(58, 33);
744
                        this->btnRctrl->TabIndex = 51;
745
                        this->btnRctrl->Text = L"Ctrl";
746
                        this->btnRctrl->UseVisualStyleBackColor = true;
747
                        this->btnRctrl->Click += gcnew System::EventHandler(this, &frmKeyboard::btnRctrl_Click);
748
                        // 
749
                        // btnLalt
750
                        // 
751
                        this->btnLalt->Location = System::Drawing::Point(142, 209);
752
                        this->btnLalt->Name = L"btnLalt";
753
                        this->btnLalt->Size = System::Drawing::Size(58, 33);
754
                        this->btnLalt->TabIndex = 52;
755
                        this->btnLalt->Text = L"Alt";
756
                        this->btnLalt->UseVisualStyleBackColor = true;
757
                        this->btnLalt->Click += gcnew System::EventHandler(this, &frmKeyboard::btnLalt_Click);
758
                        // 
759
                        // button10
760
                        // 
761
                        this->button10->Location = System::Drawing::Point(643, 212);
762
                        this->button10->Name = L"button10";
763
                        this->button10->Size = System::Drawing::Size(36, 33);
764
                        this->button10->TabIndex = 53;
765
                        this->button10->Text = L"<";
766
                        this->button10->UseVisualStyleBackColor = true;
767
                        this->button10->Click += gcnew System::EventHandler(this, &frmKeyboard::button10_Click);
768
                        // 
769
                        // button11
770
                        // 
771
                        this->button11->Location = System::Drawing::Point(685, 212);
772
                        this->button11->Name = L"button11";
773
                        this->button11->Size = System::Drawing::Size(36, 33);
774
                        this->button11->TabIndex = 54;
775
                        this->button11->Text = L"V";
776
                        this->button11->UseVisualStyleBackColor = true;
777
                        this->button11->Click += gcnew System::EventHandler(this, &frmKeyboard::button11_Click);
778
                        // 
779
                        // button12
780
                        // 
781
                        this->button12->Location = System::Drawing::Point(727, 212);
782
                        this->button12->Name = L"button12";
783
                        this->button12->Size = System::Drawing::Size(36, 33);
784
                        this->button12->TabIndex = 55;
785
                        this->button12->Text = L">";
786
                        this->button12->UseVisualStyleBackColor = true;
787
                        this->button12->Click += gcnew System::EventHandler(this, &frmKeyboard::button12_Click);
788
                        // 
789
                        // button13
790
                        // 
791
                        this->button13->Location = System::Drawing::Point(685, 173);
792
                        this->button13->Name = L"button13";
793
                        this->button13->Size = System::Drawing::Size(36, 33);
794
                        this->button13->TabIndex = 56;
795
                        this->button13->Text = L"^";
796
                        this->button13->UseVisualStyleBackColor = true;
797
                        this->button13->Click += gcnew System::EventHandler(this, &frmKeyboard::button13_Click);
798
                        // 
799
                        // button14
800
                        // 
801
                        this->button14->Location = System::Drawing::Point(641, 90);
802
                        this->button14->Name = L"button14";
803
                        this->button14->Size = System::Drawing::Size(38, 34);
804
                        this->button14->TabIndex = 57;
805
                        this->button14->Text = L"Del";
806
                        this->button14->UseVisualStyleBackColor = true;
807
                        this->button14->Click += gcnew System::EventHandler(this, &frmKeyboard::button14_Click);
808
                        // 
809
                        // button15
810
                        // 
811
                        this->button15->Location = System::Drawing::Point(683, 90);
812
                        this->button15->Name = L"button15";
813
                        this->button15->Size = System::Drawing::Size(38, 34);
814
                        this->button15->TabIndex = 58;
815
                        this->button15->Text = L"End";
816
                        this->button15->UseVisualStyleBackColor = true;
817
                        this->button15->Click += gcnew System::EventHandler(this, &frmKeyboard::button15_Click);
818
                        // 
819
                        // button16
820
                        // 
821
                        this->button16->Location = System::Drawing::Point(641, 50);
822
                        this->button16->Name = L"button16";
823
                        this->button16->Size = System::Drawing::Size(38, 34);
824
                        this->button16->TabIndex = 59;
825
                        this->button16->Text = L"Ins";
826
                        this->button16->UseVisualStyleBackColor = true;
827
                        this->button16->Click += gcnew System::EventHandler(this, &frmKeyboard::button16_Click);
828
                        // 
829
                        // button17
830
                        // 
831
                        this->button17->Location = System::Drawing::Point(683, 50);
832
                        this->button17->Name = L"button17";
833
                        this->button17->Size = System::Drawing::Size(38, 34);
834
                        this->button17->TabIndex = 60;
835
                        this->button17->Text = L"Home";
836
                        this->button17->UseVisualStyleBackColor = true;
837
                        this->button17->Click += gcnew System::EventHandler(this, &frmKeyboard::button17_Click);
838
                        // 
839
                        // button18
840
                        // 
841
                        this->button18->Location = System::Drawing::Point(727, 90);
842
                        this->button18->Name = L"button18";
843
                        this->button18->Size = System::Drawing::Size(38, 34);
844
                        this->button18->TabIndex = 61;
845
                        this->button18->Text = L"PgDn";
846
                        this->button18->UseVisualStyleBackColor = true;
847
                        this->button18->Click += gcnew System::EventHandler(this, &frmKeyboard::button18_Click);
848
                        // 
849
                        // button19
850
                        // 
851
                        this->button19->Location = System::Drawing::Point(727, 50);
852
                        this->button19->Name = L"button19";
853
                        this->button19->Size = System::Drawing::Size(38, 34);
854
                        this->button19->TabIndex = 62;
855
                        this->button19->Text = L"PgUp";
856
                        this->button19->UseVisualStyleBackColor = true;
857
                        this->button19->Click += gcnew System::EventHandler(this, &frmKeyboard::button19_Click);
858
                        // 
859
                        // button8
860
                        // 
861
                        this->button8->Location = System::Drawing::Point(24, 48);
862
                        this->button8->Name = L"button8";
863
                        this->button8->Size = System::Drawing::Size(39, 36);
864
                        this->button8->TabIndex = 63;
865
                        this->button8->Text = L"~`";
866
                        this->button8->UseVisualStyleBackColor = true;
867
                        this->button8->Click += gcnew System::EventHandler(this, &frmKeyboard::button8_Click);
868
                        // 
869
                        // button20
870
                        // 
871
                        this->button20->Location = System::Drawing::Point(462, 209);
872
                        this->button20->Name = L"button20";
873
                        this->button20->Size = System::Drawing::Size(58, 33);
874
                        this->button20->TabIndex = 64;
875
                        this->button20->Text = L"Alt";
876
                        this->button20->UseVisualStyleBackColor = true;
877
                        this->button20->Click += gcnew System::EventHandler(this, &frmKeyboard::button20_Click);
878
                        // 
879
                        // buttonLctrl
880
                        // 
881
                        this->buttonLctrl->Location = System::Drawing::Point(24, 209);
882
                        this->buttonLctrl->Name = L"buttonLctrl";
883
                        this->buttonLctrl->Size = System::Drawing::Size(58, 33);
884
                        this->buttonLctrl->TabIndex = 65;
885
                        this->buttonLctrl->Text = L"Ctrl";
886
                        this->buttonLctrl->UseVisualStyleBackColor = true;
887
                        this->buttonLctrl->Click += gcnew System::EventHandler(this, &frmKeyboard::buttonLctrl_Click);
888
                        // 
889
                        // buttonEsc
890
                        // 
891
                        this->buttonEsc->Location = System::Drawing::Point(24, -3);
892
                        this->buttonEsc->Name = L"buttonEsc";
893
                        this->buttonEsc->Size = System::Drawing::Size(39, 36);
894
                        this->buttonEsc->TabIndex = 66;
895
                        this->buttonEsc->Text = L"Esc";
896
                        this->buttonEsc->UseVisualStyleBackColor = true;
897
                        this->buttonEsc->Click += gcnew System::EventHandler(this, &frmKeyboard::buttonEsc_Click);
898
                        // 
899
                        // buttonF1
900
                        // 
901
                        this->buttonF1->Location = System::Drawing::Point(112, -3);
902
                        this->buttonF1->Name = L"buttonF1";
903
                        this->buttonF1->Size = System::Drawing::Size(39, 36);
904
                        this->buttonF1->TabIndex = 67;
905
                        this->buttonF1->Text = L"F1";
906
                        this->buttonF1->UseVisualStyleBackColor = true;
907
                        this->buttonF1->Click += gcnew System::EventHandler(this, &frmKeyboard::buttonF1_Click);
908
                        // 
909
                        // buttonF2
910
                        // 
911
                        this->buttonF2->Location = System::Drawing::Point(154, -3);
912
                        this->buttonF2->Name = L"buttonF2";
913
                        this->buttonF2->Size = System::Drawing::Size(39, 36);
914
                        this->buttonF2->TabIndex = 68;
915
                        this->buttonF2->Text = L"F2";
916
                        this->buttonF2->UseVisualStyleBackColor = true;
917
                        this->buttonF2->Click += gcnew System::EventHandler(this, &frmKeyboard::buttonF2_Click);
918
                        // 
919
                        // buttonF3
920
                        // 
921
                        this->buttonF3->Location = System::Drawing::Point(192, -3);
922
                        this->buttonF3->Name = L"buttonF3";
923
                        this->buttonF3->Size = System::Drawing::Size(39, 36);
924
                        this->buttonF3->TabIndex = 69;
925
                        this->buttonF3->Text = L"F3";
926
                        this->buttonF3->UseVisualStyleBackColor = true;
927
                        // 
928
                        // buttonF4
929
                        // 
930
                        this->buttonF4->Location = System::Drawing::Point(235, -3);
931
                        this->buttonF4->Name = L"buttonF4";
932
                        this->buttonF4->Size = System::Drawing::Size(39, 36);
933
                        this->buttonF4->TabIndex = 70;
934
                        this->buttonF4->Text = L"F4";
935
                        this->buttonF4->UseVisualStyleBackColor = true;
936
                        // 
937
                        // buttonF5
938
                        // 
939
                        this->buttonF5->Location = System::Drawing::Point(287, -3);
940
                        this->buttonF5->Name = L"buttonF5";
941
                        this->buttonF5->Size = System::Drawing::Size(39, 36);
942
                        this->buttonF5->TabIndex = 71;
943
                        this->buttonF5->Text = L"F5";
944
                        this->buttonF5->UseVisualStyleBackColor = true;
945
                        // 
946
                        // buttonF6
947
                        // 
948
                        this->buttonF6->Location = System::Drawing::Point(327, -3);
949
                        this->buttonF6->Name = L"buttonF6";
950
                        this->buttonF6->Size = System::Drawing::Size(39, 36);
951
                        this->buttonF6->TabIndex = 72;
952
                        this->buttonF6->Text = L"F6";
953
                        this->buttonF6->UseVisualStyleBackColor = true;
954
                        // 
955
                        // buttonF7
956
                        // 
957
                        this->buttonF7->Location = System::Drawing::Point(363, -3);
958
                        this->buttonF7->Name = L"buttonF7";
959
                        this->buttonF7->Size = System::Drawing::Size(39, 36);
960
                        this->buttonF7->TabIndex = 73;
961
                        this->buttonF7->Text = L"F7";
962
                        this->buttonF7->UseVisualStyleBackColor = true;
963
                        // 
964
                        // buttonF8
965
                        // 
966
                        this->buttonF8->Location = System::Drawing::Point(403, -3);
967
                        this->buttonF8->Name = L"buttonF8";
968
                        this->buttonF8->Size = System::Drawing::Size(39, 36);
969
                        this->buttonF8->TabIndex = 74;
970
                        this->buttonF8->Text = L"F8";
971
                        this->buttonF8->UseVisualStyleBackColor = true;
972
                        // 
973
                        // buttonF9
974
                        // 
975
                        this->buttonF9->Location = System::Drawing::Point(462, -3);
976
                        this->buttonF9->Name = L"buttonF9";
977
                        this->buttonF9->Size = System::Drawing::Size(39, 36);
978
                        this->buttonF9->TabIndex = 75;
979
                        this->buttonF9->Text = L"F9";
980
                        this->buttonF9->UseVisualStyleBackColor = true;
981
                        // 
982
                        // buttonF10
983
                        // 
984
                        this->buttonF10->Location = System::Drawing::Point(506, -3);
985
                        this->buttonF10->Name = L"buttonF10";
986
                        this->buttonF10->Size = System::Drawing::Size(39, 36);
987
                        this->buttonF10->TabIndex = 76;
988
                        this->buttonF10->Text = L"F10";
989
                        this->buttonF10->UseVisualStyleBackColor = true;
990
                        // 
991
                        // buttonF11
992
                        // 
993
                        this->buttonF11->Location = System::Drawing::Point(551, -3);
994
                        this->buttonF11->Name = L"buttonF11";
995
                        this->buttonF11->Size = System::Drawing::Size(39, 36);
996
                        this->buttonF11->TabIndex = 77;
997
                        this->buttonF11->Text = L"F11";
998
                        this->buttonF11->UseVisualStyleBackColor = true;
999
                        // 
1000
                        // buttonF12
1001
                        // 
1002
                        this->buttonF12->Location = System::Drawing::Point(596, -3);
1003
                        this->buttonF12->Name = L"buttonF12";
1004
                        this->buttonF12->Size = System::Drawing::Size(39, 36);
1005
                        this->buttonF12->TabIndex = 78;
1006
                        this->buttonF12->Text = L"F12";
1007
                        this->buttonF12->UseVisualStyleBackColor = true;
1008
                        // 
1009
                        // buttonCapslock
1010
                        // 
1011
                        this->buttonCapslock->Location = System::Drawing::Point(24, 130);
1012
                        this->buttonCapslock->Name = L"buttonCapslock";
1013
                        this->buttonCapslock->Size = System::Drawing::Size(63, 33);
1014
                        this->buttonCapslock->TabIndex = 79;
1015
                        this->buttonCapslock->Text = L"CapsLock";
1016
                        this->buttonCapslock->UseVisualStyleBackColor = true;
1017
                        this->buttonCapslock->Click += gcnew System::EventHandler(this, &frmKeyboard::buttonCapslock_Click);
1018
                        // 
1019
                        // button21
1020
                        // 
1021
                        this->button21->Location = System::Drawing::Point(641, -1);
1022
                        this->button21->Name = L"button21";
1023
                        this->button21->Size = System::Drawing::Size(38, 34);
1024
                        this->button21->TabIndex = 80;
1025
                        this->button21->Text = L"Prt Scr";
1026
                        this->button21->UseVisualStyleBackColor = true;
1027
                        // 
1028
                        // button22
1029
                        // 
1030
                        this->button22->Location = System::Drawing::Point(683, -1);
1031
                        this->button22->Name = L"button22";
1032
                        this->button22->Size = System::Drawing::Size(38, 34);
1033
                        this->button22->TabIndex = 81;
1034
                        this->button22->Text = L"Scr Lck";
1035
                        this->button22->UseVisualStyleBackColor = true;
1036
                        // 
1037
                        // button23
1038
                        // 
1039
                        this->button23->Location = System::Drawing::Point(727, -1);
1040
                        this->button23->Name = L"button23";
1041
                        this->button23->Size = System::Drawing::Size(38, 34);
1042
                        this->button23->TabIndex = 82;
1043
                        this->button23->Text = L"Pause";
1044
                        this->button23->UseVisualStyleBackColor = true;
1045
                        // 
1046
                        // buttonTab
1047
                        // 
1048
                        this->buttonTab->Location = System::Drawing::Point(24, 90);
1049
                        this->buttonTab->Name = L"buttonTab";
1050
                        this->buttonTab->Size = System::Drawing::Size(53, 33);
1051
                        this->buttonTab->TabIndex = 83;
1052
                        this->buttonTab->Text = L"Tab <-|";
1053
                        this->buttonTab->UseVisualStyleBackColor = true;
1054
                        this->buttonTab->Click += gcnew System::EventHandler(this, &frmKeyboard::buttonTab_Click);
1055
                        // 
1056
                        // frmKeyboard
1057
                        // 
1058
                        this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
1059
                        this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
1060
                        this->ClientSize = System::Drawing::Size(778, 252);
1061
                        this->Controls->Add(this->buttonTab);
1062
                        this->Controls->Add(this->button23);
1063
                        this->Controls->Add(this->button22);
1064
                        this->Controls->Add(this->button21);
1065
                        this->Controls->Add(this->buttonCapslock);
1066
                        this->Controls->Add(this->buttonF12);
1067
                        this->Controls->Add(this->buttonF11);
1068
                        this->Controls->Add(this->buttonF10);
1069
                        this->Controls->Add(this->buttonF9);
1070
                        this->Controls->Add(this->buttonF8);
1071
                        this->Controls->Add(this->buttonF7);
1072
                        this->Controls->Add(this->buttonF6);
1073
                        this->Controls->Add(this->buttonF5);
1074
                        this->Controls->Add(this->buttonF4);
1075
                        this->Controls->Add(this->buttonF3);
1076
                        this->Controls->Add(this->buttonF2);
1077
                        this->Controls->Add(this->buttonF1);
1078
                        this->Controls->Add(this->buttonEsc);
1079
                        this->Controls->Add(this->buttonLctrl);
1080
                        this->Controls->Add(this->button20);
1081
                        this->Controls->Add(this->button8);
1082
                        this->Controls->Add(this->button19);
1083
                        this->Controls->Add(this->button18);
1084
                        this->Controls->Add(this->button17);
1085
                        this->Controls->Add(this->button16);
1086
                        this->Controls->Add(this->button15);
1087
                        this->Controls->Add(this->button14);
1088
                        this->Controls->Add(this->button13);
1089
                        this->Controls->Add(this->button12);
1090
                        this->Controls->Add(this->button11);
1091
                        this->Controls->Add(this->button10);
1092
                        this->Controls->Add(this->btnLalt);
1093
                        this->Controls->Add(this->btnRctrl);
1094
                        this->Controls->Add(this->btnBackspace);
1095
                        this->Controls->Add(this->button9);
1096
                        this->Controls->Add(this->btnMinus);
1097
                        this->Controls->Add(this->button7);
1098
                        this->Controls->Add(this->button6);
1099
                        this->Controls->Add(this->button5);
1100
                        this->Controls->Add(this->button4);
1101
                        this->Controls->Add(this->button3);
1102
                        this->Controls->Add(this->button2);
1103
                        this->Controls->Add(this->button1);
1104
                        this->Controls->Add(this->btnSpace);
1105
                        this->Controls->Add(this->btn0);
1106
                        this->Controls->Add(this->btn9);
1107
                        this->Controls->Add(this->btn8);
1108
                        this->Controls->Add(this->btn7);
1109
                        this->Controls->Add(this->btn6);
1110
                        this->Controls->Add(this->btn5);
1111
                        this->Controls->Add(this->btn4);
1112
                        this->Controls->Add(this->btn3);
1113
                        this->Controls->Add(this->btn2);
1114
                        this->Controls->Add(this->btn1);
1115
                        this->Controls->Add(this->btnM);
1116
                        this->Controls->Add(this->btnN);
1117
                        this->Controls->Add(this->btnB);
1118
                        this->Controls->Add(this->btnV);
1119
                        this->Controls->Add(this->btnC);
1120
                        this->Controls->Add(this->btnL);
1121
                        this->Controls->Add(this->btnK);
1122
                        this->Controls->Add(this->btnJ);
1123
                        this->Controls->Add(this->btnH);
1124
                        this->Controls->Add(this->btnX);
1125
                        this->Controls->Add(this->btnZ);
1126
                        this->Controls->Add(this->btnG);
1127
                        this->Controls->Add(this->btnF);
1128
                        this->Controls->Add(this->btnD);
1129
                        this->Controls->Add(this->btnS);
1130
                        this->Controls->Add(this->btnA);
1131
                        this->Controls->Add(this->btnP);
1132
                        this->Controls->Add(this->btnLshift);
1133
                        this->Controls->Add(this->btnO);
1134
                        this->Controls->Add(this->btnRshift);
1135
                        this->Controls->Add(this->btnI);
1136
                        this->Controls->Add(this->btnU);
1137
                        this->Controls->Add(this->btnY);
1138
                        this->Controls->Add(this->btnT);
1139
                        this->Controls->Add(this->btnR);
1140
                        this->Controls->Add(this->btnEnter);
1141
                        this->Controls->Add(this->btnQuest);
1142
                        this->Controls->Add(this->btnE);
1143
                        this->Controls->Add(this->btnW);
1144
                        this->Controls->Add(this->btnQ);
1145
                        this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::FixedDialog;
1146
                        this->MaximizeBox = false;
1147
                        this->Name = L"frmKeyboard";
1148
                        this->Text = L"emuThor Keyboard";
1149
                        this->MouseUp += gcnew System::Windows::Forms::MouseEventHandler(this, &frmKeyboard::frmKeyboard_MouseUp);
1150
                        this->ResumeLayout(false);
1151
 
1152
                }
1153
#pragma endregion
1154
        private: System::Void btnQuest_Click(System::Object^  sender, System::EventArgs^  e) {
1155
                                 keybd.Put(0x4A);
1156
                                 keybd.Put(0xF0);
1157
                                 keybd.Put(0x4A);
1158
                                 keybd_status = 0x80;
1159
                         pic1.irqKeyboard = true;
1160
                         }
1161
private: System::Void btnEnter_Click(System::Object^  sender, System::EventArgs^  e) {
1162
                         keybd.Put(0x5A);
1163
                         keybd.Put(0xF0);
1164
                         keybd.Put(0x5A);
1165
                         keybd_status = 0x80;
1166
                         pic1.irqKeyboard = true;
1167
                 }
1168
private: System::Void btnRshift_Click(System::Object^  sender, System::EventArgs^  e) {
1169
                         static bool sh = false;
1170
 
1171
                         if (sh!=0)
1172
                             keybd.Put(0xF0);
1173
                         keybd.Put(0x59);
1174
                         sh = !sh;
1175
                         keybd_status = 0x80;
1176
                         pic1.irqKeyboard = true;
1177
                 }
1178
private: System::Void btn1_Click(System::Object^  sender, System::EventArgs^  e) {
1179
                         keybd.Put(0x16);
1180
                         keybd.Put(0xF0);
1181
                         keybd.Put(0x16);
1182
                         keybd_status = 0x80;
1183
                         pic1.irqKeyboard = true;
1184
                 }
1185
private: System::Void btnD_Click(System::Object^  sender, System::EventArgs^  e) {
1186
                         keybd.Put(0x23);
1187
                         keybd.Put(0xF0);
1188
                         keybd.Put(0x23);
1189
                         keybd_status = 0x80;
1190
                         pic1.irqKeyboard = true;
1191
                 }
1192
private: System::Void btnB_Click(System::Object^  sender, System::EventArgs^  e) {
1193
                         keybd.Put(0x32);
1194
                         keybd.Put(0xF0);
1195
                         keybd.Put(0x32);
1196
                         keybd_status = 0x80;
1197
                         pic1.irqKeyboard = true;
1198
                 }
1199
private: System::Void btnG_Click(System::Object^  sender, System::EventArgs^  e) {
1200
                         keybd.Put(0x34);
1201
                         keybd.Put(0xF0);
1202
                         keybd.Put(0x34);
1203
                         keybd_status = 0x80;
1204
                         pic1.irqKeyboard = true;
1205
                 }
1206
private: System::Void btnQ_Click(System::Object^  sender, System::EventArgs^  e) {
1207
                         keybd.Put(0x15);
1208
                         keybd.Put(0xF0);
1209
                         keybd.Put(0x15);
1210
                         keybd_status = 0x80;
1211
                         pic1.irqKeyboard = true;
1212
                 }
1213
private: System::Void btnT_Click(System::Object^  sender, System::EventArgs^  e) {
1214
                         keybd.Put(0x2C);
1215
                         keybd.Put(0xF0);
1216
                         keybd.Put(0x2C);
1217
                         keybd_status = 0x80;
1218
                         pic1.irqKeyboard = true;
1219
                 }
1220
private: System::Void btnS_Click(System::Object^  sender, System::EventArgs^  e) {
1221
                         keybd.Put(0x1B);
1222
                         keybd.Put(0xF0);
1223
                         keybd.Put(0x1B);
1224
                         keybd_status = 0x80;
1225
                         pic1.irqKeyboard = true;
1226
                 }
1227
private: System::Void btnM_Click(System::Object^  sender, System::EventArgs^  e) {
1228
                         keybd.Put(0x3A);
1229
                         keybd.Put(0xF0);
1230
                         keybd.Put(0x3A);
1231
                         keybd_status = 0x80;
1232
                         pic1.irqKeyboard = true;
1233
                 }
1234
private: System::Void btnMinus_Click(System::Object^  sender, System::EventArgs^  e) {
1235
                         keybd.Put(0x4E);
1236
                         keybd.Put(0xF0);
1237
                         keybd.Put(0x4E);
1238
                         keybd_status = 0x80;
1239
                         pic1.irqKeyboard = true;
1240
                 }
1241
private: System::Void btnBackspace_Click(System::Object^  sender, System::EventArgs^  e) {
1242
                         keybd.Put(0x66);
1243
                         keybd.Put(0xF0);
1244
                         keybd.Put(0x66);
1245
                         keybd_status = 0x80;
1246
                         pic1.irqKeyboard = true;
1247
                 }
1248
private: System::Void button14_Click(System::Object^  sender, System::EventArgs^  e) {
1249
                         keybd.Put(0xE0);
1250
                         keybd.Put(0x71);
1251
                         keybd.Put(0xE0);
1252
                         keybd.Put(0xF0);
1253
                         keybd.Put(0x71);
1254
                         keybd_status = 0x80;
1255
                         pic1.irqKeyboard = true;
1256
                 }
1257
private: System::Void btnJ_Click(System::Object^  sender, System::EventArgs^  e) {
1258
                         keybd.Put(0x3B);
1259
                         keybd.Put(0xF0);
1260
                         keybd.Put(0x3B);
1261
                         keybd_status = 0x80;
1262
                         pic1.irqKeyboard = true;
1263
                 }
1264
private: System::Void btnSpace_Click(System::Object^  sender, System::EventArgs^  e) {
1265
                         keybd.Put(0x29);
1266
                         keybd.Put(0xF0);
1267
                         keybd.Put(0x29);
1268
                         keybd_status = 0x80;
1269
                         pic1.irqKeyboard = true;
1270
                 }
1271
private: System::Void button10_Click(System::Object^  sender, System::EventArgs^  e) {
1272
                         keybd.Put(0xE0);
1273
                         keybd.Put(0x6B);
1274
                         keybd.Put(0xE0);
1275
                         keybd.Put(0xF0);
1276
                         keybd.Put(0x6B);
1277
                         keybd_status = 0x80;
1278
                         pic1.irqKeyboard = true;
1279
                 }
1280
private: System::Void btn2_Click(System::Object^  sender, System::EventArgs^  e) {
1281
                         keybd.Put(0x1E);
1282
                         keybd.Put(0xF0);
1283
                         keybd.Put(0x1E);
1284
                         keybd_status = 0x80;
1285
                         pic1.irqKeyboard = true;
1286
                 }
1287
private: System::Void btn3_Click(System::Object^  sender, System::EventArgs^  e) {
1288
                         keybd.Put(0x26);
1289
                         keybd.Put(0xF0);
1290
                         keybd.Put(0x26);
1291
                         keybd_status = 0x80;
1292
                         pic1.irqKeyboard = true;
1293
                 }
1294
private: System::Void btn4_Click(System::Object^  sender, System::EventArgs^  e) {
1295
                         keybd.Put(0x25);
1296
                         keybd.Put(0xF0);
1297
                         keybd.Put(0x25);
1298
                         keybd_status = 0x80;
1299
                         pic1.irqKeyboard = true;
1300
                 }
1301
private: System::Void btn5_Click(System::Object^  sender, System::EventArgs^  e) {
1302
                         keybd.Put(0x2E);
1303
                         keybd.Put(0xF0);
1304
                         keybd.Put(0x2E);
1305
                         keybd_status = 0x80;
1306
                         pic1.irqKeyboard = true;
1307
                 }
1308
private: System::Void btn6_Click(System::Object^  sender, System::EventArgs^  e) {
1309
                         keybd.Put(0x36);
1310
                         keybd.Put(0xF0);
1311
                         keybd.Put(0x36);
1312
                         keybd_status = 0x80;
1313
                         pic1.irqKeyboard = true;
1314
                 }
1315
private: System::Void btn7_Click(System::Object^  sender, System::EventArgs^  e) {
1316
                         keybd.Put(0x3D);
1317
                         keybd.Put(0xF0);
1318
                         keybd.Put(0x3D);
1319
                         keybd_status = 0x80;
1320
                         pic1.irqKeyboard = true;
1321
                 }
1322
private: System::Void btn8_Click(System::Object^  sender, System::EventArgs^  e) {
1323
                         keybd.Put(0x3E);
1324
                         keybd.Put(0xF0);
1325
                         keybd.Put(0x3E);
1326
                         keybd_status = 0x80;
1327
                         pic1.irqKeyboard = true;
1328
                 }
1329
private: System::Void btn9_Click(System::Object^  sender, System::EventArgs^  e) {
1330
                         keybd.Put(0x46);
1331
                         keybd.Put(0xF0);
1332
                         keybd.Put(0x46);
1333
                         keybd_status = 0x80;
1334
                         pic1.irqKeyboard = true;
1335
                 }
1336
private: System::Void btn0_Click(System::Object^  sender, System::EventArgs^  e) {
1337
                         keybd.Put(0x45);
1338
                         keybd.Put(0xF0);
1339
                         keybd.Put(0x45);
1340
                         keybd_status = 0x80;
1341
                         pic1.irqKeyboard = true;
1342
                 }
1343
private: System::Void btnA_Click(System::Object^  sender, System::EventArgs^  e) {
1344
                         keybd.Put(0x1C);
1345
                         keybd.Put(0xF0);
1346
                         keybd.Put(0x1C);
1347
                         keybd_status = 0x80;
1348
                         pic1.irqKeyboard = true;
1349
                 }
1350
private: System::Void btnC_Click(System::Object^  sender, System::EventArgs^  e) {
1351
                         keybd.Put(0x21);
1352
                         keybd.Put(0xF0);
1353
                         keybd.Put(0x21);
1354
                         keybd_status = 0x80;
1355
                         pic1.irqKeyboard = true;
1356
                 }
1357
private: System::Void btnE_Click(System::Object^  sender, System::EventArgs^  e) {
1358
                         keybd.Put(0x24);
1359
                         keybd.Put(0xF0);
1360
                         keybd.Put(0x24);
1361
                         keybd_status = 0x80;
1362
                         pic1.irqKeyboard = true;
1363
                 }
1364
private: System::Void btnF_Click(System::Object^  sender, System::EventArgs^  e) {
1365
                         keybd.Put(0x2B);
1366
                         keybd.Put(0xF0);
1367
                         keybd.Put(0x2B);
1368
                         keybd_status = 0x80;
1369
                         pic1.irqKeyboard = true;
1370
                 }
1371
private: System::Void btnX_Click(System::Object^  sender, System::EventArgs^  e) {
1372
                         keybd.Put(0x22);
1373
                         keybd.Put(0xF0);
1374
                         keybd.Put(0x22);
1375
                         keybd_status = 0x80;
1376
                         pic1.irqKeyboard = true;
1377
                 }
1378
private: System::Void btnRctrl_Click(System::Object^  sender, System::EventArgs^  e) {
1379
                         static bool sh = false;
1380
                         keybd.Put(0xE0);
1381
                         if (sh!=0)
1382
                             keybd.Put(0xF0);
1383
                         keybd.Put(0x14);
1384
                         sh = !sh;
1385
                         keybd_status = 0x80;
1386
                         pic1.irqKeyboard = true;
1387
                 }
1388
private: System::Void button9_Click(System::Object^  sender, System::EventArgs^  e) {
1389
                         keybd.Put(0x55);
1390
                         keybd.Put(0xF0);
1391
                         keybd.Put(0x55);
1392
                         keybd_status = 0x80;
1393
                         pic1.irqKeyboard = true;
1394
                 }
1395
private: System::Void button8_Click(System::Object^  sender, System::EventArgs^  e) {
1396
                         keybd.Put(0x0E);
1397
                         keybd.Put(0xF0);
1398
                         keybd.Put(0x0E);
1399
                         keybd_status = 0x80;
1400
                         pic1.irqKeyboard = true;
1401
                 }
1402
private: System::Void btnW_Click(System::Object^  sender, System::EventArgs^  e) {
1403
                         keybd.Put(0x1D);
1404
                         keybd_status = 0x80;
1405
                         keybd.Put(0xF0);
1406
                         keybd.Put(0x1D);
1407
                         pic1.irqKeyboard = true;
1408
                 }
1409
private: System::Void btnR_Click(System::Object^  sender, System::EventArgs^  e) {
1410
                         keybd.Put(0x2D);
1411
                         keybd.Put(0xF0);
1412
                         keybd.Put(0x2D);
1413
                         keybd_status = 0x80;
1414
                         pic1.irqKeyboard = true;
1415
                 }
1416
private: System::Void btnY_Click(System::Object^  sender, System::EventArgs^  e) {
1417
                         keybd.Put(0x35);
1418
                         keybd.Put(0xF0);
1419
                         keybd.Put(0x35);
1420
                         keybd_status = 0x80;
1421
                         pic1.irqKeyboard = true;
1422
                 }
1423
private: System::Void btnU_Click(System::Object^  sender, System::EventArgs^  e) {
1424
                         keybd.Put(0x3C);
1425
                         keybd.Put(0xF0);
1426
                         keybd.Put(0x3C);
1427
                         keybd_status = 0x80;
1428
                         pic1.irqKeyboard = true;
1429
                 }
1430
private: System::Void btnI_Click(System::Object^  sender, System::EventArgs^  e) {
1431
                         keybd.Put(0x43);
1432
                         keybd.Put(0xF0);
1433
                         keybd.Put(0x43);
1434
                         keybd_status = 0x80;
1435
                         pic1.irqKeyboard = true;
1436
                 }
1437
private: System::Void btnO_Click(System::Object^  sender, System::EventArgs^  e) {
1438
                         keybd.Put(0x44);
1439
                         keybd.Put(0xF0);
1440
                         keybd.Put(0x44);
1441
                         keybd_status = 0x80;
1442
                         pic1.irqKeyboard = true;
1443
                 }
1444
private: System::Void btnP_Click(System::Object^  sender, System::EventArgs^  e) {
1445
                         keybd.Put(0x4D);
1446
                         keybd.Put(0xF0);
1447
                         keybd.Put(0x4D);
1448
                         keybd_status = 0x80;
1449
                         pic1.irqKeyboard = true;
1450
                 }
1451
private: System::Void btnH_Click(System::Object^  sender, System::EventArgs^  e) {
1452
                         keybd.Put(0x33);
1453
                         keybd.Put(0xF0);
1454
                         keybd.Put(0x33);
1455
                         keybd_status = 0x80;
1456
                         pic1.irqKeyboard = true;
1457
                 }
1458
private: System::Void btnK_Click(System::Object^  sender, System::EventArgs^  e) {
1459
                         keybd.Put(0x42);
1460
                         keybd.Put(0xF0);
1461
                         keybd.Put(0x42);
1462
                         keybd_status = 0x80;
1463
                         pic1.irqKeyboard = true;
1464
                 }
1465
private: System::Void btnL_Click(System::Object^  sender, System::EventArgs^  e) {
1466
                         keybd.Put(0x4B);
1467
                         keybd.Put(0xF0);
1468
                         keybd.Put(0x4B);
1469
                         keybd_status = 0x80;
1470
                         pic1.irqKeyboard = true;
1471
                 }
1472
private: System::Void button3_Click(System::Object^  sender, System::EventArgs^  e) {
1473
                         keybd.Put(0x4C);
1474
                         keybd.Put(0xF0);
1475
                         keybd.Put(0x4C);
1476
                         keybd_status = 0x80;
1477
                         pic1.irqKeyboard = true;
1478
                 }
1479
private: System::Void button4_Click(System::Object^  sender, System::EventArgs^  e) {
1480
                         keybd.Put(0x52);
1481
                         keybd.Put(0xF0);
1482
                         keybd.Put(0x52);
1483
                         keybd_status = 0x80;
1484
                         pic1.irqKeyboard = true;
1485
                 }
1486
private: System::Void btnZ_Click(System::Object^  sender, System::EventArgs^  e) {
1487
                         keybd.Put(0x1A);
1488
                         keybd.Put(0xF0);
1489
                         keybd.Put(0x1A);
1490
                         keybd_status = 0x80;
1491
                         pic1.irqKeyboard = true;
1492
                 }
1493
private: System::Void btnV_Click(System::Object^  sender, System::EventArgs^  e) {
1494
                         keybd.Put(0x2A);
1495
                         keybd.Put(0xF0);
1496
                         keybd.Put(0x2A);
1497
                         keybd_status = 0x80;
1498
                         pic1.irqKeyboard = true;
1499
                 }
1500
private: System::Void btnN_Click(System::Object^  sender, System::EventArgs^  e) {
1501
                         keybd.Put(0x31);
1502
                         keybd.Put(0xF0);
1503
                         keybd.Put(0x31);
1504
                         keybd_status = 0x80;
1505
                         pic1.irqKeyboard = true;
1506
                 }
1507
private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) {
1508
                         keybd.Put(0x41);
1509
                         keybd.Put(0xF0);
1510
                         keybd.Put(0x41);
1511
                         keybd_status = 0x80;
1512
                         pic1.irqKeyboard = true;
1513
                 }
1514
private: System::Void button2_Click(System::Object^  sender, System::EventArgs^  e) {
1515
                         keybd.Put(0x49);
1516
                         keybd.Put(0xF0);
1517
                         keybd.Put(0x49);
1518
                         keybd_status = 0x80;
1519
                         pic1.irqKeyboard = true;
1520
                 }
1521
private: System::Void button5_Click(System::Object^  sender, System::EventArgs^  e) {
1522
                         keybd.Put(0x5D);
1523
                         keybd.Put(0xF0);
1524
                         keybd.Put(0x5D);
1525
                         keybd_status = 0x80;
1526
                         pic1.irqKeyboard = true;
1527
                 }
1528
private: System::Void btnLalt_Click(System::Object^  sender, System::EventArgs^  e) {
1529
                         static bool sh = false;
1530
                         if (sh!=0)
1531
                             keybd.Put(0xF0);
1532
                         keybd.Put(0x11);
1533
                         sh = !sh;
1534
                         keybd_status = 0x80;
1535
                         pic1.irqKeyboard = true;
1536
                 }
1537
                 // Alt
1538
private: System::Void button20_Click(System::Object^  sender, System::EventArgs^  e) {
1539
                         static bool sh = false;
1540
                         keybd.Put(0xE0);
1541
                         if (sh!=0)
1542
                             keybd.Put(0xF0);
1543
                         keybd.Put(0x11);
1544
                         sh = !sh;
1545
                         keybd_status = 0x80;
1546
                         pic1.irqKeyboard = true;
1547
                 }
1548
private: System::Void buttonLctrl_Click(System::Object^  sender, System::EventArgs^  e) {
1549
                         static bool sh = false;
1550
                         if (sh!=0)
1551
                             keybd.Put(0xF0);
1552
                         keybd.Put(0x14);
1553
                         sh = !sh;
1554
                         keybd_status = 0x80;
1555
                         pic1.irqKeyboard = true;
1556
                 }
1557
private: System::Void button16_Click(System::Object^  sender, System::EventArgs^  e) {
1558
                         keybd.Put(0xE0);
1559
                         keybd.Put(0x70);
1560
                         keybd.Put(0xE0);
1561
                         keybd.Put(0xF0);
1562
                         keybd.Put(0x70);
1563
                         keybd_status = 0x80;
1564
                         pic1.irqKeyboard = true;
1565
                 }
1566
                 // Home
1567
private: System::Void button17_Click(System::Object^  sender, System::EventArgs^  e) {
1568
                         keybd.Put(0xE0);
1569
                         keybd.Put(0x6C);
1570
                         keybd.Put(0xE0);
1571
                         keybd.Put(0xF0);
1572
                         keybd.Put(0x6C);
1573
                         keybd_status = 0x80;
1574
                         pic1.irqKeyboard = true;
1575
                 }
1576
                 // End
1577
private: System::Void button15_Click(System::Object^  sender, System::EventArgs^  e) {
1578
                         keybd.Put(0xE0);
1579
                         keybd.Put(0x69);
1580
                         keybd.Put(0xE0);
1581
                         keybd.Put(0xF0);
1582
                         keybd.Put(0x69);
1583
                         keybd_status = 0x80;
1584
                         pic1.irqKeyboard = true;
1585
                 }
1586
                 // Cursor down
1587
private: System::Void button11_Click(System::Object^  sender, System::EventArgs^  e) {
1588
                         keybd.Put(0xE0);
1589
                         keybd.Put(0x72);
1590
                         keybd.Put(0xE0);
1591
                         keybd.Put(0xF0);
1592
                         keybd.Put(0x72);
1593
                         keybd_status = 0x80;
1594
                         pic1.irqKeyboard = true;
1595
                 }
1596
                 // Cursor Up
1597
private: System::Void button13_Click(System::Object^  sender, System::EventArgs^  e) {
1598
                         keybd.Put(0xE0);
1599
                         keybd.Put(0x75);
1600
                         keybd.Put(0xE0);
1601
                         keybd.Put(0xF0);
1602
                         keybd.Put(0x75);
1603
                         keybd_status = 0x80;
1604
                         pic1.irqKeyboard = true;
1605
                 }
1606
                 // Cursor right
1607
private: System::Void button12_Click(System::Object^  sender, System::EventArgs^  e) {
1608
                         keybd.Put(0xE0);
1609
                         keybd.Put(0x74);
1610
                         keybd.Put(0xE0);
1611
                         keybd.Put(0xF0);
1612
                         keybd.Put(0x74);
1613
                         keybd_status = 0x80;
1614
                         pic1.irqKeyboard = true;
1615
                 }
1616
                 // page up
1617
private: System::Void button19_Click(System::Object^  sender, System::EventArgs^  e) {
1618
                         keybd.Put(0xE0);
1619
                         keybd.Put(0x7D);
1620
                         keybd.Put(0xE0);
1621
                         keybd.Put(0xF0);
1622
                         keybd.Put(0x7D);
1623
                         keybd_status = 0x80;
1624
                         pic1.irqKeyboard = true;
1625
                 }
1626
                 // page down
1627
private: System::Void button18_Click(System::Object^  sender, System::EventArgs^  e) {
1628
                         keybd.Put(0xE0);
1629
                         keybd.Put(0x7A);
1630
                         keybd.Put(0xE0);
1631
                         keybd.Put(0xF0);
1632
                         keybd.Put(0x7A);
1633
                         keybd_status = 0x80;
1634
                         pic1.irqKeyboard = true;
1635
                 }
1636
private: System::Void button6_Click(System::Object^  sender, System::EventArgs^  e) {
1637
                         keybd.Put(0x54);
1638
                         keybd.Put(0xF0);
1639
                         keybd.Put(0x54);
1640
                         keybd_status = 0x80;
1641
                         pic1.irqKeyboard = true;
1642
                 }
1643
private: System::Void button7_Click(System::Object^  sender, System::EventArgs^  e) {
1644
                         keybd.Put(0x5B);
1645
                         keybd.Put(0xF0);
1646
                         keybd.Put(0x5B);
1647
                         keybd_status = 0x80;
1648
                         pic1.irqKeyboard = true;
1649
                 }
1650
private: System::Void buttonEsc_Click(System::Object^  sender, System::EventArgs^  e) {
1651
                         keybd.Put(0x76);
1652
                         keybd.Put(0xF0);
1653
                         keybd.Put(0x76);
1654
                         keybd_status = 0x80;
1655
                         pic1.irqKeyboard = true;
1656
                 }
1657
private: System::Void buttonF1_Click(System::Object^  sender, System::EventArgs^  e) {
1658
                         keybd.Put(0x05);
1659
                         keybd.Put(0xF0);
1660
                         keybd.Put(0x05);
1661
                         keybd_status = 0x80;
1662
                         pic1.irqKeyboard = true;
1663
                 }
1664
private: System::Void buttonF2_Click(System::Object^  sender, System::EventArgs^  e) {
1665
                         keybd.Put(0x06);
1666
                         keybd.Put(0xF0);
1667
                         keybd.Put(0x06);
1668
                         keybd_status = 0x80;
1669
                         pic1.irqKeyboard = true;
1670
                 }
1671
private: System::Void buttonCapslock_Click(System::Object^  sender, System::EventArgs^  e) {
1672
                         keybd.Put(0x58);
1673
                         keybd_status = 0x80;
1674
                         keybd.Put(0xF0);
1675
                         keybd.Put(0x58);
1676
                         pic1.irqKeyboard = true;
1677
                 }
1678
private: System::Void frmKeyboard_MouseUp(System::Object^  sender, System::Windows::Forms::MouseEventArgs^  e) {
1679
                 }
1680
private: System::Void buttonTab_Click(System::Object^  sender, System::EventArgs^  e) {
1681
                         keybd.Put(0x0D);
1682
                         keybd.Put(0xF0);
1683
                         keybd.Put(0x0D);
1684
                         keybd_status = 0x80;
1685
                         pic1.irqKeyboard = true;
1686
                 }
1687
};
1688
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.