📄 mainform.frm
字号:
VERSION 5.00
Begin VB.Form Mainform
BorderStyle = 1 'Fixed Single
Caption = "pci7483 vb 测试程序"
ClientHeight = 3525
ClientLeft = 2565
ClientTop = 1815
ClientWidth = 4560
BeginProperty Font
Name = "System"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "Mainform.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 3525
ScaleWidth = 4560
Begin VB.CommandButton inttest
Caption = "中断测试"
Height = 495
Left = 480
TabIndex = 7
Top = 1680
Width = 1455
End
Begin VB.CommandButton datest
Caption = "DA测试"
Height = 495
Left = 2400
TabIndex = 1
Top = 480
Width = 1455
End
Begin VB.CommandButton adtest
Caption = "AD测试"
Height = 495
Left = 480
TabIndex = 0
Top = 480
Width = 1455
End
Begin VB.CommandButton exit
Cancel = -1 'True
Caption = "退 出"
Default = -1 'True
Height = 495
Left = 2400
TabIndex = 5
Top = 1680
Width = 1455
End
Begin VB.CommandButton helptest
Caption = "帮 助"
Height = 495
Left = 480
TabIndex = 4
Top = 2280
Width = 1455
End
Begin VB.CommandButton jstest
Caption = "计数测试"
Height = 495
Left = 2400
TabIndex = 3
Top = 1080
Width = 1455
End
Begin VB.CommandButton didotest
Caption = "DI/DO测试"
Height = 495
Left = 480
TabIndex = 2
Top = 1080
Width = 1455
End
Begin VB.Label Label1
Alignment = 2 'Center
AutoSize = -1 'True
BorderStyle = 1 'Fixed Single
Caption = "北京宏拓控制技术有限责任公司"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 0
TabIndex = 6
Top = 3000
Width = 4545
WordWrap = -1 'True
End
End
Attribute VB_Name = "Mainform"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub adtest_Click()
AdForm.Show
End Sub
Private Sub datest_Click()
DaForm.Show
End Sub
Private Sub didotest_Click()
DioForm.Show
End Sub
Private Sub Exit_Click()
X = MsgBox("真的想退出[pci7483测试程序]吗?!", vbYesNo + vbExclamation, "退出")
If X = vbYes Then
End
End If
End Sub
Private Sub helptest_Click()
frmAbout.Show
End Sub
Private Sub inttest_Click()
INTform.Show
End Sub
Private Sub jstest_Click()
JsForm.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -