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

Subversion Repositories thor

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

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

powered by: WebSVN 2.1.0

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