This repository has been archived by the owner on Feb 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
frmMain.vb
2638 lines (2277 loc) · 125 KB
/
frmMain.vb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Option Strict Off
Option Explicit On
Imports System.IO
Imports System.Text.RegularExpressions
Imports System.Threading
Friend Class frmMain
Inherits System.Windows.Forms.Form
#Region "Windows Form Designer generated code "
Public Sub New()
MyBase.New()
If m_vb6FormDefInstance Is Nothing Then
If m_InitializingDefInstance Then
m_vb6FormDefInstance = Me
Else
Try
'For the start-up form, the first instance created is the default instance.
If System.Reflection.Assembly.GetExecutingAssembly.EntryPoint.DeclaringType Is Me.GetType Then
m_vb6FormDefInstance = Me
End If
Catch
End Try
End If
End If
'This call is required by the Windows Form Designer.
InitializeComponent()
End Sub
'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal Disposing As Boolean)
If Disposing Then
If Not components Is Nothing Then
components.Dispose()
End If
End If
MyBase.Dispose(Disposing)
End Sub
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
Public ToolTip1 As System.Windows.Forms.ToolTip
Public WithEvents tmrFailure As System.Windows.Forms.Timer
Public WithEvents chkReportPassedTests As System.Windows.Forms.CheckBox
Public WithEvents chkReportFailedTests As System.Windows.Forms.CheckBox
Public WithEvents chkReportException As System.Windows.Forms.CheckBox
Public WithEvents chkShowReport As System.Windows.Forms.CheckBox
Public WithEvents fraTestplanConfiguration As System.Windows.Forms.GroupBox
Public WithEvents cmdSelectVariant As System.Windows.Forms.Button
Public WithEvents cmdLoadTestplan As System.Windows.Forms.Button
Public WithEvents cmdTxSLExit As System.Windows.Forms.Button
Public WithEvents cmdLogin As System.Windows.Forms.Button
Public WithEvents medBarCode As AxMSMask.AxMaskEdBox
Public WithEvents fraTxSLConfiguration As System.Windows.Forms.GroupBox
Public WithEvents fraReport As System.Windows.Forms.GroupBox
Public WithEvents fraOperatorMessage As System.Windows.Forms.GroupBox
Public WithEvents fraTestplanProgress As System.Windows.Forms.GroupBox
Public WithEvents txtSerialNumber As System.Windows.Forms.TextBox
Public WithEvents cmdRun As System.Windows.Forms.Button
Public WithEvents cmdStop As System.Windows.Forms.Button
Public WithEvents cmdAbort As System.Windows.Forms.Button
Public WithEvents lblSerialNumber As System.Windows.Forms.Label
Public WithEvents fraExecution As System.Windows.Forms.GroupBox
Public WithEvents fraSystemStatus As System.Windows.Forms.GroupBox
Public WithEvents imglogo As System.Windows.Forms.PictureBox
Public WithEvents TestExecSL1 As AxHPTestExecSL.AxTestExecSL
Public WithEvents lblTitle As System.Windows.Forms.Label
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Friend WithEvents rtbViewErrors As System.Windows.Forms.RichTextBox
Friend WithEvents rtbOperatorMessage As System.Windows.Forms.RichTextBox
Friend WithEvents rtbSystemStatus As System.Windows.Forms.RichTextBox
Friend WithEvents rtbReport As System.Windows.Forms.RichTextBox
Friend WithEvents prbTestplan As System.Windows.Forms.ProgressBar
Friend WithEvents staDescriptions As System.Windows.Forms.StatusBar
Friend WithEvents staStats As System.Windows.Forms.StatusBar
Friend WithEvents sbpPassed As System.Windows.Forms.StatusBarPanel
Friend WithEvents sbpFailed As System.Windows.Forms.StatusBarPanel
Friend WithEvents sbpTotal As System.Windows.Forms.StatusBarPanel
Friend WithEvents sbpYield As System.Windows.Forms.StatusBarPanel
Friend WithEvents sbpSince As System.Windows.Forms.StatusBarPanel
Friend WithEvents sbpUutName As System.Windows.Forms.StatusBarPanel
Friend WithEvents sbpTestplanName As System.Windows.Forms.StatusBarPanel
Friend WithEvents sbpVariant As System.Windows.Forms.StatusBarPanel
Friend WithEvents txtExecutionMode As System.Windows.Forms.Label
Friend WithEvents lblExecutionMode As System.Windows.Forms.Label
Public WithEvents lblBarCode As System.Windows.Forms.Label
Friend WithEvents SysBox As System.Windows.Forms.PictureBox
Friend WithEvents SysLabel As System.Windows.Forms.Label
Friend WithEvents FixLabel As System.Windows.Forms.Label
Friend WithEvents FixBox As System.Windows.Forms.PictureBox
Friend WithEvents DebugCheckBox As System.Windows.Forms.CheckBox
Friend WithEvents DebugNumericUpDown As System.Windows.Forms.NumericUpDown
Friend WithEvents sbpCurrentTestName As System.Windows.Forms.StatusBarPanel
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container()
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmMain))
Me.ToolTip1 = New System.Windows.Forms.ToolTip(Me.components)
Me.chkReportPassedTests = New System.Windows.Forms.CheckBox()
Me.chkReportFailedTests = New System.Windows.Forms.CheckBox()
Me.chkReportException = New System.Windows.Forms.CheckBox()
Me.chkShowReport = New System.Windows.Forms.CheckBox()
Me.cmdSelectVariant = New System.Windows.Forms.Button()
Me.cmdLoadTestplan = New System.Windows.Forms.Button()
Me.cmdTxSLExit = New System.Windows.Forms.Button()
Me.cmdLogin = New System.Windows.Forms.Button()
Me.txtSerialNumber = New System.Windows.Forms.TextBox()
Me.cmdRun = New System.Windows.Forms.Button()
Me.cmdStop = New System.Windows.Forms.Button()
Me.cmdAbort = New System.Windows.Forms.Button()
Me.imglogo = New System.Windows.Forms.PictureBox()
Me.tmrFailure = New System.Windows.Forms.Timer(Me.components)
Me.fraTestplanConfiguration = New System.Windows.Forms.GroupBox()
Me.fraTxSLConfiguration = New System.Windows.Forms.GroupBox()
Me.medBarCode = New AxMSMask.AxMaskEdBox()
Me.lblBarCode = New System.Windows.Forms.Label()
Me.fraReport = New System.Windows.Forms.GroupBox()
Me.rtbReport = New System.Windows.Forms.RichTextBox()
Me.fraOperatorMessage = New System.Windows.Forms.GroupBox()
Me.rtbViewErrors = New System.Windows.Forms.RichTextBox()
Me.rtbOperatorMessage = New System.Windows.Forms.RichTextBox()
Me.fraTestplanProgress = New System.Windows.Forms.GroupBox()
Me.prbTestplan = New System.Windows.Forms.ProgressBar()
Me.fraExecution = New System.Windows.Forms.GroupBox()
Me.txtExecutionMode = New System.Windows.Forms.Label()
Me.lblExecutionMode = New System.Windows.Forms.Label()
Me.lblSerialNumber = New System.Windows.Forms.Label()
Me.fraSystemStatus = New System.Windows.Forms.GroupBox()
Me.rtbSystemStatus = New System.Windows.Forms.RichTextBox()
Me.lblTitle = New System.Windows.Forms.Label()
Me.staDescriptions = New System.Windows.Forms.StatusBar()
Me.sbpUutName = New System.Windows.Forms.StatusBarPanel()
Me.sbpTestplanName = New System.Windows.Forms.StatusBarPanel()
Me.sbpVariant = New System.Windows.Forms.StatusBarPanel()
Me.sbpCurrentTestName = New System.Windows.Forms.StatusBarPanel()
Me.staStats = New System.Windows.Forms.StatusBar()
Me.sbpPassed = New System.Windows.Forms.StatusBarPanel()
Me.sbpFailed = New System.Windows.Forms.StatusBarPanel()
Me.sbpTotal = New System.Windows.Forms.StatusBarPanel()
Me.sbpYield = New System.Windows.Forms.StatusBarPanel()
Me.sbpSince = New System.Windows.Forms.StatusBarPanel()
Me.TestExecSL1 = New AxHPTestExecSL.AxTestExecSL()
Me.SysBox = New System.Windows.Forms.PictureBox()
Me.SysLabel = New System.Windows.Forms.Label()
Me.FixLabel = New System.Windows.Forms.Label()
Me.FixBox = New System.Windows.Forms.PictureBox()
Me.DebugCheckBox = New System.Windows.Forms.CheckBox()
Me.DebugNumericUpDown = New System.Windows.Forms.NumericUpDown()
CType(Me.imglogo, System.ComponentModel.ISupportInitialize).BeginInit()
Me.fraTestplanConfiguration.SuspendLayout()
Me.fraTxSLConfiguration.SuspendLayout()
CType(Me.medBarCode, System.ComponentModel.ISupportInitialize).BeginInit()
Me.fraReport.SuspendLayout()
Me.fraOperatorMessage.SuspendLayout()
Me.fraTestplanProgress.SuspendLayout()
Me.fraExecution.SuspendLayout()
Me.fraSystemStatus.SuspendLayout()
CType(Me.sbpUutName, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.sbpTestplanName, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.sbpVariant, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.sbpCurrentTestName, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.sbpPassed, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.sbpFailed, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.sbpTotal, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.sbpYield, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.sbpSince, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.TestExecSL1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.SysBox, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.FixBox, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.DebugNumericUpDown, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'chkReportPassedTests
'
Me.chkReportPassedTests.BackColor = System.Drawing.SystemColors.Control
Me.chkReportPassedTests.Cursor = System.Windows.Forms.Cursors.Default
Me.chkReportPassedTests.Enabled = False
Me.chkReportPassedTests.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.chkReportPassedTests.ForeColor = System.Drawing.SystemColors.ControlText
Me.chkReportPassedTests.Location = New System.Drawing.Point(14, 18)
Me.chkReportPassedTests.Name = "chkReportPassedTests"
Me.chkReportPassedTests.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.chkReportPassedTests.Size = New System.Drawing.Size(189, 20)
Me.chkReportPassedTests.TabIndex = 9
Me.chkReportPassedTests.Text = "Report &Passed Tests"
Me.ToolTip1.SetToolTip(Me.chkReportPassedTests, "Show passing tests in the report.")
Me.chkReportPassedTests.UseVisualStyleBackColor = False
'
'chkReportFailedTests
'
Me.chkReportFailedTests.BackColor = System.Drawing.SystemColors.Control
Me.chkReportFailedTests.Cursor = System.Windows.Forms.Cursors.Default
Me.chkReportFailedTests.Enabled = False
Me.chkReportFailedTests.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.chkReportFailedTests.ForeColor = System.Drawing.SystemColors.ControlText
Me.chkReportFailedTests.Location = New System.Drawing.Point(213, 18)
Me.chkReportFailedTests.Name = "chkReportFailedTests"
Me.chkReportFailedTests.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.chkReportFailedTests.Size = New System.Drawing.Size(139, 20)
Me.chkReportFailedTests.TabIndex = 10
Me.chkReportFailedTests.Text = "Report &Failed Tests"
Me.ToolTip1.SetToolTip(Me.chkReportFailedTests, "Show failing tests in the report.")
Me.chkReportFailedTests.UseVisualStyleBackColor = False
'
'chkReportException
'
Me.chkReportException.BackColor = System.Drawing.SystemColors.Control
Me.chkReportException.Cursor = System.Windows.Forms.Cursors.Default
Me.chkReportException.Enabled = False
Me.chkReportException.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.chkReportException.ForeColor = System.Drawing.SystemColors.ControlText
Me.chkReportException.Location = New System.Drawing.Point(14, 41)
Me.chkReportException.Name = "chkReportException"
Me.chkReportException.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.chkReportException.Size = New System.Drawing.Size(188, 20)
Me.chkReportException.TabIndex = 11
Me.chkReportException.Text = "Report &Exceptions"
Me.ToolTip1.SetToolTip(Me.chkReportException, "Show unhandled exceptions in the report.")
Me.chkReportException.UseVisualStyleBackColor = False
'
'chkShowReport
'
Me.chkShowReport.BackColor = System.Drawing.SystemColors.Control
Me.chkShowReport.Checked = True
Me.chkShowReport.CheckState = System.Windows.Forms.CheckState.Checked
Me.chkShowReport.Cursor = System.Windows.Forms.Cursors.Default
Me.chkShowReport.Enabled = False
Me.chkShowReport.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.chkShowReport.ForeColor = System.Drawing.SystemColors.ControlText
Me.chkShowReport.Location = New System.Drawing.Point(213, 41)
Me.chkShowReport.Name = "chkShowReport"
Me.chkShowReport.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.chkShowReport.Size = New System.Drawing.Size(139, 20)
Me.chkShowReport.TabIndex = 12
Me.chkShowReport.Text = "Sho&w Report"
Me.ToolTip1.SetToolTip(Me.chkShowReport, "Show the report.")
Me.chkShowReport.UseVisualStyleBackColor = False
'
'cmdSelectVariant
'
Me.cmdSelectVariant.BackColor = System.Drawing.SystemColors.Control
Me.cmdSelectVariant.Cursor = System.Windows.Forms.Cursors.Default
Me.cmdSelectVariant.Enabled = False
Me.cmdSelectVariant.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.cmdSelectVariant.ForeColor = System.Drawing.SystemColors.ControlText
Me.cmdSelectVariant.Location = New System.Drawing.Point(189, 25)
Me.cmdSelectVariant.Name = "cmdSelectVariant"
Me.cmdSelectVariant.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.cmdSelectVariant.Size = New System.Drawing.Size(163, 63)
Me.cmdSelectVariant.TabIndex = 2
Me.cmdSelectVariant.Text = "Select &Variant..."
Me.ToolTip1.SetToolTip(Me.cmdSelectVariant, "Selects a new testplan variant.")
Me.cmdSelectVariant.UseVisualStyleBackColor = False
'
'cmdLoadTestplan
'
Me.cmdLoadTestplan.BackColor = System.Drawing.SystemColors.Control
Me.cmdLoadTestplan.Cursor = System.Windows.Forms.Cursors.Default
Me.cmdLoadTestplan.Enabled = False
Me.cmdLoadTestplan.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.cmdLoadTestplan.ForeColor = System.Drawing.SystemColors.ControlText
Me.cmdLoadTestplan.Location = New System.Drawing.Point(8, 25)
Me.cmdLoadTestplan.Name = "cmdLoadTestplan"
Me.cmdLoadTestplan.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.cmdLoadTestplan.Size = New System.Drawing.Size(161, 63)
Me.cmdLoadTestplan.TabIndex = 1
Me.cmdLoadTestplan.Text = "&Load Testplan..."
Me.ToolTip1.SetToolTip(Me.cmdLoadTestplan, "Loads a new testplan")
Me.cmdLoadTestplan.UseVisualStyleBackColor = False
'
'cmdTxSLExit
'
Me.cmdTxSLExit.BackColor = System.Drawing.SystemColors.Control
Me.cmdTxSLExit.Cursor = System.Windows.Forms.Cursors.Default
Me.cmdTxSLExit.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.cmdTxSLExit.ForeColor = System.Drawing.SystemColors.ControlText
Me.cmdTxSLExit.Location = New System.Drawing.Point(279, 25)
Me.cmdTxSLExit.Name = "cmdTxSLExit"
Me.cmdTxSLExit.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.cmdTxSLExit.Size = New System.Drawing.Size(73, 33)
Me.cmdTxSLExit.TabIndex = 3
Me.cmdTxSLExit.Text = "E&xit"
Me.ToolTip1.SetToolTip(Me.cmdTxSLExit, "Exits the application.")
Me.cmdTxSLExit.UseVisualStyleBackColor = False
Me.cmdTxSLExit.Visible = False
'
'cmdLogin
'
Me.cmdLogin.BackColor = System.Drawing.SystemColors.Control
Me.cmdLogin.Cursor = System.Windows.Forms.Cursors.Default
Me.cmdLogin.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.cmdLogin.ForeColor = System.Drawing.SystemColors.ControlText
Me.cmdLogin.Location = New System.Drawing.Point(8, 25)
Me.cmdLogin.Name = "cmdLogin"
Me.cmdLogin.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.cmdLogin.Size = New System.Drawing.Size(73, 33)
Me.cmdLogin.TabIndex = 0
Me.cmdLogin.Text = "Lo&gin"
Me.ToolTip1.SetToolTip(Me.cmdLogin, "Login a new operator")
Me.cmdLogin.UseVisualStyleBackColor = False
Me.cmdLogin.Visible = False
'
'txtSerialNumber
'
Me.txtSerialNumber.AcceptsReturn = True
Me.txtSerialNumber.BackColor = System.Drawing.SystemColors.Window
Me.txtSerialNumber.Cursor = System.Windows.Forms.Cursors.IBeam
Me.txtSerialNumber.Enabled = False
Me.txtSerialNumber.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.txtSerialNumber.ForeColor = System.Drawing.SystemColors.WindowText
Me.txtSerialNumber.Location = New System.Drawing.Point(152, 17)
Me.txtSerialNumber.MaxLength = 0
Me.txtSerialNumber.Name = "txtSerialNumber"
Me.txtSerialNumber.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.txtSerialNumber.Size = New System.Drawing.Size(181, 20)
Me.txtSerialNumber.TabIndex = 5
Me.ToolTip1.SetToolTip(Me.txtSerialNumber, "The serial number of the UUT is entered, and shown, here.")
'
'cmdRun
'
Me.cmdRun.BackColor = System.Drawing.SystemColors.Control
Me.cmdRun.Cursor = System.Windows.Forms.Cursors.Default
Me.cmdRun.Enabled = False
Me.cmdRun.Font = New System.Drawing.Font("Arial", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.cmdRun.ForeColor = System.Drawing.SystemColors.ControlText
Me.cmdRun.Location = New System.Drawing.Point(24, 62)
Me.cmdRun.Name = "cmdRun"
Me.cmdRun.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.cmdRun.Size = New System.Drawing.Size(73, 49)
Me.cmdRun.TabIndex = 6
Me.cmdRun.Text = "&Run"
Me.ToolTip1.SetToolTip(Me.cmdRun, "Runs or continues the testplan")
Me.cmdRun.UseVisualStyleBackColor = False
'
'cmdStop
'
Me.cmdStop.BackColor = System.Drawing.SystemColors.Control
Me.cmdStop.Cursor = System.Windows.Forms.Cursors.Default
Me.cmdStop.Enabled = False
Me.cmdStop.Font = New System.Drawing.Font("Arial", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.cmdStop.ForeColor = System.Drawing.SystemColors.ControlText
Me.cmdStop.Location = New System.Drawing.Point(137, 62)
Me.cmdStop.Name = "cmdStop"
Me.cmdStop.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.cmdStop.Size = New System.Drawing.Size(73, 49)
Me.cmdStop.TabIndex = 7
Me.cmdStop.Text = "&Stop"
Me.ToolTip1.SetToolTip(Me.cmdStop, "Stops the testplan at the first opportunity, and executes clean up actions")
Me.cmdStop.UseVisualStyleBackColor = False
'
'cmdAbort
'
Me.cmdAbort.BackColor = System.Drawing.SystemColors.Control
Me.cmdAbort.Cursor = System.Windows.Forms.Cursors.Default
Me.cmdAbort.Enabled = False
Me.cmdAbort.Font = New System.Drawing.Font("Arial", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.cmdAbort.ForeColor = System.Drawing.SystemColors.ControlText
Me.cmdAbort.Location = New System.Drawing.Point(248, 62)
Me.cmdAbort.Name = "cmdAbort"
Me.cmdAbort.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.cmdAbort.Size = New System.Drawing.Size(73, 49)
Me.cmdAbort.TabIndex = 8
Me.cmdAbort.Text = "&Abort"
Me.ToolTip1.SetToolTip(Me.cmdAbort, "Aborts the tesplan immediately, and does NOT perform cleanup actions")
Me.cmdAbort.UseVisualStyleBackColor = False
'
'imglogo
'
Me.imglogo.Cursor = System.Windows.Forms.Cursors.Default
Me.imglogo.Image = CType(resources.GetObject("imglogo.Image"), System.Drawing.Image)
Me.imglogo.Location = New System.Drawing.Point(16, 8)
Me.imglogo.Name = "imglogo"
Me.imglogo.Size = New System.Drawing.Size(36, 36)
Me.imglogo.TabIndex = 30
Me.imglogo.TabStop = False
Me.ToolTip1.SetToolTip(Me.imglogo, "Replace this image with one of your chosing")
'
'tmrFailure
'
Me.tmrFailure.Interval = 60000
'
'fraTestplanConfiguration
'
Me.fraTestplanConfiguration.BackColor = System.Drawing.SystemColors.Control
Me.fraTestplanConfiguration.Controls.Add(Me.chkReportPassedTests)
Me.fraTestplanConfiguration.Controls.Add(Me.chkReportFailedTests)
Me.fraTestplanConfiguration.Controls.Add(Me.chkReportException)
Me.fraTestplanConfiguration.Controls.Add(Me.chkShowReport)
Me.fraTestplanConfiguration.Enabled = False
Me.fraTestplanConfiguration.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.fraTestplanConfiguration.ForeColor = System.Drawing.SystemColors.ControlText
Me.fraTestplanConfiguration.Location = New System.Drawing.Point(11, 325)
Me.fraTestplanConfiguration.Name = "fraTestplanConfiguration"
Me.fraTestplanConfiguration.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.fraTestplanConfiguration.Size = New System.Drawing.Size(360, 69)
Me.fraTestplanConfiguration.TabIndex = 22
Me.fraTestplanConfiguration.TabStop = False
Me.fraTestplanConfiguration.Text = "Testplan Configuration"
'
'fraTxSLConfiguration
'
Me.fraTxSLConfiguration.BackColor = System.Drawing.SystemColors.Control
Me.fraTxSLConfiguration.Controls.Add(Me.cmdSelectVariant)
Me.fraTxSLConfiguration.Controls.Add(Me.cmdLoadTestplan)
Me.fraTxSLConfiguration.Controls.Add(Me.cmdTxSLExit)
Me.fraTxSLConfiguration.Controls.Add(Me.cmdLogin)
Me.fraTxSLConfiguration.Controls.Add(Me.medBarCode)
Me.fraTxSLConfiguration.Controls.Add(Me.lblBarCode)
Me.fraTxSLConfiguration.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.fraTxSLConfiguration.ForeColor = System.Drawing.SystemColors.ControlText
Me.fraTxSLConfiguration.Location = New System.Drawing.Point(11, 400)
Me.fraTxSLConfiguration.Name = "fraTxSLConfiguration"
Me.fraTxSLConfiguration.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.fraTxSLConfiguration.Size = New System.Drawing.Size(361, 97)
Me.fraTxSLConfiguration.TabIndex = 20
Me.fraTxSLConfiguration.TabStop = False
Me.fraTxSLConfiguration.Text = "TxSL Configuration"
'
'medBarCode
'
Me.medBarCode.Location = New System.Drawing.Point(297, 67)
Me.medBarCode.Name = "medBarCode"
Me.medBarCode.OcxState = CType(resources.GetObject("medBarCode.OcxState"), System.Windows.Forms.AxHost.State)
Me.medBarCode.Size = New System.Drawing.Size(33, 10)
Me.medBarCode.TabIndex = 4
Me.medBarCode.Visible = False
'
'lblBarCode
'
Me.lblBarCode.BackColor = System.Drawing.SystemColors.Control
Me.lblBarCode.Cursor = System.Windows.Forms.Cursors.Default
Me.lblBarCode.Enabled = False
Me.lblBarCode.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.lblBarCode.ForeColor = System.Drawing.SystemColors.ControlText
Me.lblBarCode.Location = New System.Drawing.Point(4, 69)
Me.lblBarCode.Name = "lblBarCode"
Me.lblBarCode.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.lblBarCode.Size = New System.Drawing.Size(123, 19)
Me.lblBarCode.TabIndex = 25
Me.lblBarCode.Text = "Bar Code"
Me.lblBarCode.TextAlign = System.Drawing.ContentAlignment.TopRight
Me.lblBarCode.Visible = False
'
'fraReport
'
Me.fraReport.BackColor = System.Drawing.SystemColors.Control
Me.fraReport.Controls.Add(Me.rtbReport)
Me.fraReport.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.fraReport.ForeColor = System.Drawing.SystemColors.ControlText
Me.fraReport.Location = New System.Drawing.Point(384, 136)
Me.fraReport.Name = "fraReport"
Me.fraReport.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.fraReport.Size = New System.Drawing.Size(361, 361)
Me.fraReport.TabIndex = 19
Me.fraReport.TabStop = False
Me.fraReport.Text = "Report"
'
'rtbReport
'
Me.rtbReport.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.rtbReport.Location = New System.Drawing.Point(8, 16)
Me.rtbReport.MaxLength = 10000
Me.rtbReport.Name = "rtbReport"
Me.rtbReport.ReadOnly = True
Me.rtbReport.Size = New System.Drawing.Size(344, 336)
Me.rtbReport.TabIndex = 0
Me.rtbReport.Text = ""
'
'fraOperatorMessage
'
Me.fraOperatorMessage.BackColor = System.Drawing.SystemColors.Control
Me.fraOperatorMessage.Controls.Add(Me.rtbViewErrors)
Me.fraOperatorMessage.Controls.Add(Me.rtbOperatorMessage)
Me.fraOperatorMessage.Enabled = False
Me.fraOperatorMessage.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.fraOperatorMessage.ForeColor = System.Drawing.SystemColors.ControlText
Me.fraOperatorMessage.Location = New System.Drawing.Point(384, 44)
Me.fraOperatorMessage.Name = "fraOperatorMessage"
Me.fraOperatorMessage.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.fraOperatorMessage.Size = New System.Drawing.Size(361, 89)
Me.fraOperatorMessage.TabIndex = 17
Me.fraOperatorMessage.TabStop = False
Me.fraOperatorMessage.Text = "Operator Messages"
'
'rtbViewErrors
'
Me.rtbViewErrors.BackColor = System.Drawing.Color.Red
Me.rtbViewErrors.Font = New System.Drawing.Font("MS Reference Sans Serif", 18.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.rtbViewErrors.Location = New System.Drawing.Point(72, 32)
Me.rtbViewErrors.Name = "rtbViewErrors"
Me.rtbViewErrors.ReadOnly = True
Me.rtbViewErrors.Size = New System.Drawing.Size(176, 40)
Me.rtbViewErrors.TabIndex = 31
Me.rtbViewErrors.Text = ""
Me.rtbViewErrors.Visible = False
'
'rtbOperatorMessage
'
Me.rtbOperatorMessage.Font = New System.Drawing.Font("MS Reference Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.rtbOperatorMessage.Location = New System.Drawing.Point(8, 16)
Me.rtbOperatorMessage.Name = "rtbOperatorMessage"
Me.rtbOperatorMessage.ReadOnly = True
Me.rtbOperatorMessage.Size = New System.Drawing.Size(344, 64)
Me.rtbOperatorMessage.TabIndex = 31
Me.rtbOperatorMessage.Text = ""
'
'fraTestplanProgress
'
Me.fraTestplanProgress.BackColor = System.Drawing.SystemColors.Control
Me.fraTestplanProgress.Controls.Add(Me.prbTestplan)
Me.fraTestplanProgress.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.fraTestplanProgress.ForeColor = System.Drawing.SystemColors.ControlText
Me.fraTestplanProgress.Location = New System.Drawing.Point(11, 136)
Me.fraTestplanProgress.Name = "fraTestplanProgress"
Me.fraTestplanProgress.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.fraTestplanProgress.Size = New System.Drawing.Size(361, 57)
Me.fraTestplanProgress.TabIndex = 16
Me.fraTestplanProgress.TabStop = False
Me.fraTestplanProgress.Text = "Testplan Progress"
'
'prbTestplan
'
Me.prbTestplan.Location = New System.Drawing.Point(8, 24)
Me.prbTestplan.Name = "prbTestplan"
Me.prbTestplan.Size = New System.Drawing.Size(344, 24)
Me.prbTestplan.TabIndex = 31
'
'fraExecution
'
Me.fraExecution.BackColor = System.Drawing.SystemColors.Control
Me.fraExecution.Controls.Add(Me.txtExecutionMode)
Me.fraExecution.Controls.Add(Me.lblExecutionMode)
Me.fraExecution.Controls.Add(Me.txtSerialNumber)
Me.fraExecution.Controls.Add(Me.cmdRun)
Me.fraExecution.Controls.Add(Me.cmdStop)
Me.fraExecution.Controls.Add(Me.cmdAbort)
Me.fraExecution.Controls.Add(Me.lblSerialNumber)
Me.fraExecution.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.fraExecution.ForeColor = System.Drawing.SystemColors.ControlText
Me.fraExecution.Location = New System.Drawing.Point(11, 200)
Me.fraExecution.Name = "fraExecution"
Me.fraExecution.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.fraExecution.Size = New System.Drawing.Size(361, 119)
Me.fraExecution.TabIndex = 15
Me.fraExecution.TabStop = False
Me.fraExecution.Text = "Testplan Execution"
'
'txtExecutionMode
'
Me.txtExecutionMode.AutoSize = True
Me.txtExecutionMode.Location = New System.Drawing.Point(152, 41)
Me.txtExecutionMode.Name = "txtExecutionMode"
Me.txtExecutionMode.Size = New System.Drawing.Size(0, 14)
Me.txtExecutionMode.TabIndex = 25
'
'lblExecutionMode
'
Me.lblExecutionMode.AutoSize = True
Me.lblExecutionMode.Location = New System.Drawing.Point(57, 40)
Me.lblExecutionMode.Name = "lblExecutionMode"
Me.lblExecutionMode.Size = New System.Drawing.Size(86, 14)
Me.lblExecutionMode.TabIndex = 24
Me.lblExecutionMode.Text = "Execution Mode:"
'
'lblSerialNumber
'
Me.lblSerialNumber.BackColor = System.Drawing.SystemColors.Control
Me.lblSerialNumber.Cursor = System.Windows.Forms.Cursors.Default
Me.lblSerialNumber.Enabled = False
Me.lblSerialNumber.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.lblSerialNumber.ForeColor = System.Drawing.SystemColors.ControlText
Me.lblSerialNumber.Location = New System.Drawing.Point(16, 17)
Me.lblSerialNumber.Name = "lblSerialNumber"
Me.lblSerialNumber.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.lblSerialNumber.Size = New System.Drawing.Size(126, 19)
Me.lblSerialNumber.TabIndex = 23
Me.lblSerialNumber.Text = "Serial Number"
Me.lblSerialNumber.TextAlign = System.Drawing.ContentAlignment.TopRight
'
'fraSystemStatus
'
Me.fraSystemStatus.BackColor = System.Drawing.SystemColors.Control
Me.fraSystemStatus.Controls.Add(Me.rtbSystemStatus)
Me.fraSystemStatus.Enabled = False
Me.fraSystemStatus.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.fraSystemStatus.ForeColor = System.Drawing.SystemColors.ControlText
Me.fraSystemStatus.Location = New System.Drawing.Point(11, 44)
Me.fraSystemStatus.Name = "fraSystemStatus"
Me.fraSystemStatus.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.fraSystemStatus.Size = New System.Drawing.Size(361, 89)
Me.fraSystemStatus.TabIndex = 13
Me.fraSystemStatus.TabStop = False
Me.fraSystemStatus.Text = "System Status"
'
'rtbSystemStatus
'
Me.rtbSystemStatus.Font = New System.Drawing.Font("Tahoma", 27.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.rtbSystemStatus.Location = New System.Drawing.Point(8, 16)
Me.rtbSystemStatus.Name = "rtbSystemStatus"
Me.rtbSystemStatus.Size = New System.Drawing.Size(344, 64)
Me.rtbSystemStatus.TabIndex = 0
Me.rtbSystemStatus.Text = ""
'
'lblTitle
'
Me.lblTitle.BackColor = System.Drawing.SystemColors.Control
Me.lblTitle.Cursor = System.Windows.Forms.Cursors.Default
Me.lblTitle.Font = New System.Drawing.Font("Arial", 24.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.lblTitle.ForeColor = System.Drawing.SystemColors.ControlText
Me.lblTitle.Location = New System.Drawing.Point(55, 3)
Me.lblTitle.Name = "lblTitle"
Me.lblTitle.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.lblTitle.Size = New System.Drawing.Size(297, 41)
Me.lblTitle.TabIndex = 18
Me.lblTitle.Text = "Agilent TestExec SL"
'
'staDescriptions
'
Me.staDescriptions.Location = New System.Drawing.Point(0, 529)
Me.staDescriptions.Name = "staDescriptions"
Me.staDescriptions.Panels.AddRange(New System.Windows.Forms.StatusBarPanel() {Me.sbpUutName, Me.sbpTestplanName, Me.sbpVariant, Me.sbpCurrentTestName})
Me.staDescriptions.ShowPanels = True
Me.staDescriptions.Size = New System.Drawing.Size(758, 23)
Me.staDescriptions.TabIndex = 31
'
'sbpUutName
'
Me.sbpUutName.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents
Me.sbpUutName.MinWidth = 150
Me.sbpUutName.Name = "sbpUutName"
Me.sbpUutName.Text = "Uut"
Me.sbpUutName.ToolTipText = "The name of the Uut"
Me.sbpUutName.Width = 150
'
'sbpTestplanName
'
Me.sbpTestplanName.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents
Me.sbpTestplanName.MinWidth = 200
Me.sbpTestplanName.Name = "sbpTestplanName"
Me.sbpTestplanName.Text = "Testplan"
Me.sbpTestplanName.ToolTipText = "The name of the loaded testplan."
Me.sbpTestplanName.Width = 200
'
'sbpVariant
'
Me.sbpVariant.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents
Me.sbpVariant.MinWidth = 150
Me.sbpVariant.Name = "sbpVariant"
Me.sbpVariant.Text = "Variant"
Me.sbpVariant.ToolTipText = "Current Testplan Variant"
Me.sbpVariant.Width = 150
'
'sbpCurrentTestName
'
Me.sbpCurrentTestName.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring
Me.sbpCurrentTestName.Name = "sbpCurrentTestName"
Me.sbpCurrentTestName.Text = "Test:"
Me.sbpCurrentTestName.ToolTipText = "Current Test Name"
Me.sbpCurrentTestName.Width = 241
'
'staStats
'
Me.staStats.Location = New System.Drawing.Point(0, 505)
Me.staStats.Name = "staStats"
Me.staStats.Panels.AddRange(New System.Windows.Forms.StatusBarPanel() {Me.sbpPassed, Me.sbpFailed, Me.sbpTotal, Me.sbpYield, Me.sbpSince})
Me.staStats.ShowPanels = True
Me.staStats.Size = New System.Drawing.Size(758, 24)
Me.staStats.SizingGrip = False
Me.staStats.TabIndex = 33
'
'sbpPassed
'
Me.sbpPassed.MinWidth = 100
Me.sbpPassed.Name = "sbpPassed"
Me.sbpPassed.Text = "Passed:"
Me.sbpPassed.ToolTipText = "The number of Uuts that have passed"
'
'sbpFailed
'
Me.sbpFailed.MinWidth = 100
Me.sbpFailed.Name = "sbpFailed"
Me.sbpFailed.Text = "Failed:"
Me.sbpFailed.ToolTipText = "The number of Uuts that have failed."
'
'sbpTotal
'
Me.sbpTotal.MinWidth = 100
Me.sbpTotal.Name = "sbpTotal"
Me.sbpTotal.Text = "Total Tested:"
Me.sbpTotal.ToolTipText = "The total number of Uuts tests."
'
'sbpYield
'
Me.sbpYield.MinWidth = 100
Me.sbpYield.Name = "sbpYield"
Me.sbpYield.Text = "Yield:"
Me.sbpYield.ToolTipText = "The percent of Uuts tested that have passed"
'
'sbpSince
'
Me.sbpSince.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring
Me.sbpSince.Name = "sbpSince"
Me.sbpSince.Text = "Since:"
Me.sbpSince.ToolTipText = "The date and time of the last reset of this data"
Me.sbpSince.Width = 358
'
'TestExecSL1
'
Me.TestExecSL1.Enabled = True
Me.TestExecSL1.Location = New System.Drawing.Point(379, 6)
Me.TestExecSL1.Name = "TestExecSL1"
Me.TestExecSL1.OcxState = CType(resources.GetObject("TestExecSL1.OcxState"), System.Windows.Forms.AxHost.State)
Me.TestExecSL1.Size = New System.Drawing.Size(64, 58)
Me.TestExecSL1.TabIndex = 24
Me.TestExecSL1.Visible = False
'
'SysBox
'
Me.SysBox.BackColor = System.Drawing.Color.Red
Me.SysBox.Location = New System.Drawing.Point(477, 15)
Me.SysBox.Name = "SysBox"
Me.SysBox.Size = New System.Drawing.Size(31, 29)
Me.SysBox.TabIndex = 34
Me.SysBox.TabStop = False
'
'SysLabel
'
Me.SysLabel.AutoSize = True
Me.SysLabel.Location = New System.Drawing.Point(446, 21)
Me.SysLabel.Name = "SysLabel"
Me.SysLabel.Size = New System.Drawing.Size(25, 14)
Me.SysLabel.TabIndex = 35
Me.SysLabel.Text = "sys"
'
'FixLabel
'
Me.FixLabel.AutoSize = True
Me.FixLabel.Location = New System.Drawing.Point(525, 21)
Me.FixLabel.Name = "FixLabel"
Me.FixLabel.Size = New System.Drawing.Size(19, 14)
Me.FixLabel.TabIndex = 37
Me.FixLabel.Text = "fix"
'
'FixBox
'
Me.FixBox.BackColor = System.Drawing.Color.Red
Me.FixBox.Location = New System.Drawing.Point(556, 15)
Me.FixBox.Name = "FixBox"
Me.FixBox.Size = New System.Drawing.Size(31, 29)
Me.FixBox.TabIndex = 36
Me.FixBox.TabStop = False
'
'DebugCheckBox
'
Me.DebugCheckBox.AutoSize = True
Me.DebugCheckBox.Location = New System.Drawing.Point(611, 21)
Me.DebugCheckBox.Name = "DebugCheckBox"
Me.DebugCheckBox.Size = New System.Drawing.Size(56, 18)
Me.DebugCheckBox.TabIndex = 38
Me.DebugCheckBox.Text = "debug"
Me.DebugCheckBox.UseVisualStyleBackColor = True
'
'DebugNumericUpDown
'
Me.DebugNumericUpDown.Enabled = False
Me.DebugNumericUpDown.Location = New System.Drawing.Point(664, 19)
Me.DebugNumericUpDown.Minimum = New Decimal(New Integer() {1, 0, 0, 0})
Me.DebugNumericUpDown.Name = "DebugNumericUpDown"
Me.DebugNumericUpDown.Size = New System.Drawing.Size(50, 20)
Me.DebugNumericUpDown.TabIndex = 39
Me.DebugNumericUpDown.Value = New Decimal(New Integer() {1, 0, 0, 0})
'
'frmMain
'
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.BackColor = System.Drawing.SystemColors.Control
Me.ClientSize = New System.Drawing.Size(758, 552)
Me.Controls.Add(Me.DebugNumericUpDown)
Me.Controls.Add(Me.DebugCheckBox)
Me.Controls.Add(Me.FixLabel)
Me.Controls.Add(Me.FixBox)
Me.Controls.Add(Me.SysLabel)
Me.Controls.Add(Me.SysBox)
Me.Controls.Add(Me.staStats)
Me.Controls.Add(Me.staDescriptions)
Me.Controls.Add(Me.fraTestplanConfiguration)
Me.Controls.Add(Me.fraTxSLConfiguration)
Me.Controls.Add(Me.fraReport)
Me.Controls.Add(Me.fraOperatorMessage)
Me.Controls.Add(Me.fraTestplanProgress)
Me.Controls.Add(Me.fraExecution)
Me.Controls.Add(Me.fraSystemStatus)
Me.Controls.Add(Me.imglogo)
Me.Controls.Add(Me.TestExecSL1)
Me.Controls.Add(Me.lblTitle)
Me.Cursor = System.Windows.Forms.Cursors.Default
Me.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
Me.KeyPreview = True
Me.Location = New System.Drawing.Point(19, 27)
Me.Name = "frmMain"
Me.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
Me.Text = "Agilent TestExec SL Operator Interface"
CType(Me.imglogo, System.ComponentModel.ISupportInitialize).EndInit()
Me.fraTestplanConfiguration.ResumeLayout(False)
Me.fraTxSLConfiguration.ResumeLayout(False)
CType(Me.medBarCode, System.ComponentModel.ISupportInitialize).EndInit()
Me.fraReport.ResumeLayout(False)
Me.fraOperatorMessage.ResumeLayout(False)
Me.fraTestplanProgress.ResumeLayout(False)
Me.fraExecution.ResumeLayout(False)
Me.fraExecution.PerformLayout()
Me.fraSystemStatus.ResumeLayout(False)
CType(Me.sbpUutName, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.sbpTestplanName, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.sbpVariant, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.sbpCurrentTestName, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.sbpPassed, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.sbpFailed, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.sbpTotal, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.sbpYield, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.sbpSince, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.TestExecSL1, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.SysBox, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.FixBox, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.DebugNumericUpDown, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
#End Region
#Region "Upgrade Support "
Private Shared m_vb6FormDefInstance As frmMain
Private Shared m_InitializingDefInstance As Boolean
Public Shared Property DefInstance() As frmMain
Get
If m_vb6FormDefInstance Is Nothing OrElse m_vb6FormDefInstance.IsDisposed Then
m_InitializingDefInstance = True
m_vb6FormDefInstance = New frmMain()
m_InitializingDefInstance = False
End If
DefInstance = m_vb6FormDefInstance
End Get
Set(ByVal value As frmMain)
m_vb6FormDefInstance = value
End Set
End Property
#End Region
'*****************************************************************************
'me.frm
'me.frx
'
'The TypicalOpUI example is intended to be an immediately usable
'operator interface for TxSL based applications. Source code is
'provided so that the code can be modified to fit a particular
'application.
'
'Note that the TypicalOpUI example is intended to be robust
'enough to be used as is, without modification, in production.
'As such, TypicalOpUI includes several layers of error checking,
'and extensive management of the state of controls. The resulting
'code, while very usable, is probably not the best place to start
'learning how to do your own TxSL interface. If you are just getting
'started learning how to develop your own TxSL interface, we suggest
'that you start with the "Simple" interface, contained in
'TestExecSL x.x\Examples\SimpleOpUI. A thorough examination
'of the written and online documentation of the TxSL active X control
'will also be very helpful.
'
'The frmMain files are the main code for the TypicalOpUI application.
'The me.frm file contains the TxSL control, and all of the logic
'to respond to its many events. Also included here is the logic to
'control the states of the controls (for example, to only enable the
'Run button when appropriate). The me.frm file is the core
'piece of code in the application. Most of the other forms
'are called as a result of an event from the TxSL control
'or an event generated by a button or other user interface
'control on the form.
'*****************************************************************************
Private LocalSource As String
Private mbBarCodeChange As Boolean
Private txtSerialNumberChange As Boolean
Private msEntireReportBlock As String 'Used to hold the entire report block,
'for display at pauses and stops
Private msReportBlock1 As String 'Used in displaying report blocks
Private msReportBlock2 As String
Private msReportBlock3 As String
Private msReportBlock4 As String
Public TxSLState As HPTestExecSL.TestplanState 'Used to hold TxSL state.
'it is used to not allow operations when the state
'is incorrect
'TxSLSimpleState is a condensed representation of the TxSL state machine.
'It specifically recognizes a "paused" state, which is entered after an
'AfterTestplanPause event is received. The standard state machine will send
'an AfterTestplanPauseEvent, but when queried, will report that it is in a TestplanRunning
'state. From one behavior, this is correct, as the internal sequencer is still
'running. From managing the operator interface, we need to recognize when we are paused.
'TxSLSimpleState works as follows
'A form load event will start the machine in a state of NoTestplan
'An AfterTestplanLoad event will cause a move to the state of NotRun
'A BeforeTestplanBegin event will cause a move to the state of Running
'An AfterTestplanPause event will cause a move to the state of Paused
'An AfterTestplanStop event will cause a move to the state of Stopped.
Private Enum TxSLSimpleState
NoTestplan = 100
NotRun = 101
running = 102
paused = 103
Stopped = 104
End Enum
'Here we define a module level, user defined variable as type TxSLSimpleState.
Private muTxSLSimpleState As TxSLSimpleState
'A variable to accumulate the logic behind several checks made on
'the path, the default variant, and the success of selecting the default
'variant.
Public gbAfterTPLoadChecksOkay As Boolean
'A variable to hold the name of which command is being attempted
'It is set by each of the "buttons". It will be read by the event handlers for
'tmrFailure. It will be reset by tmrFailure, and by any appropriate event handlers
Private msCommandAttempt As String
Private mnOldMousePointer As Cursor 'Used to hold the original mouse pointer
'Constants for use in loading the status bar panels
'They are useful to keep the code self documenting
Public Shared ReadOnly iPASSED As Short = 0
Public Shared ReadOnly iFAILED As Short = 1
Public Shared ReadOnly iTOTALTESTED As Short = 2
Public Shared ReadOnly iYIELD As Short = 3
Public Shared ReadOnly iSINCE As Short = 4
Public Shared ReadOnly iCURRENTTESTNAME As Short = 0
Public Shared ReadOnly iTESTPLANNAME As Short = 1
Public Shared ReadOnly iCURRENTVARIANTNAME As Short = 2
Public Shared ReadOnly iUUTNAME As Short = 3
Private Sub chkReportException_CheckStateChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles chkReportException.CheckStateChanged 'TxSLErrorTrapSite
On Error GoTo LocalErrorHandler
LocalSource = ":" & Me.Name & ":chkReportException_Click"
With TestExecSL1.Testplan.Preference
If chkReportException.CheckState = System.Windows.Forms.CheckState.Checked Then
.ReportExceptions = True
Else
.ReportExceptions = False
End If
End With
Exit Sub
LocalErrorHandler:
frmErrorDialog.ErrorHandler(Err.Number, Err.Source & LocalSource, Err.Description)
End Sub
Private Sub chkReportFailedTests_CheckStateChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles chkReportFailedTests.CheckStateChanged 'TxSLErrorTrapSite
On Error GoTo LocalErrorHandler
LocalSource = ":" & Me.Name & ":chkReportFailedTests_Click"
With TestExecSL1.Testplan.Preference
If chkReportFailedTests.CheckState = System.Windows.Forms.CheckState.Checked Then
.ReportFail = True
Else
.ReportFail = False
End If
End With
Exit Sub
LocalErrorHandler:
frmErrorDialog.ErrorHandler(Err.Number, Err.Source & LocalSource, Err.Description)
End Sub
Private Sub chkReportPassedTests_CheckStateChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles chkReportPassedTests.CheckStateChanged 'TxSLErrorTrapSite
On Error GoTo LocalErrorHandler
LocalSource = ":" & Me.Name & ":chkReportPassedTests_Click"
With TestExecSL1.Testplan.Preference
If chkReportPassedTests.CheckState = System.Windows.Forms.CheckState.Checked Then
.ReportPass = True
Else
.ReportPass = False
End If
End With
Exit Sub
LocalErrorHandler:
frmErrorDialog.ErrorHandler(Err.Number, Err.Source & LocalSource, Err.Description)
End Sub
Private Sub chkShowReport_CheckStateChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles chkShowReport.CheckStateChanged
If chkShowReport.CheckState = System.Windows.Forms.CheckState.Checked Then