📄 mainmenu.frm
字号:
VERSION 5.00
Begin VB.Form mainmenu
Caption = "Ptrans mein menu"
ClientHeight = 5085
ClientLeft = 3615
ClientTop = 4590
ClientWidth = 5640
LinkTopic = "Form1"
PaletteMode = 1 'UseZOrder
ScaleHeight = 5085
ScaleWidth = 5640
Begin VB.CommandButton Command4
Caption = "P8255B 基本控制实验"
BeginProperty Font
Name = "宋体"
Size = 11.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 1320
TabIndex = 4
Top = 2040
Width = 3135
End
Begin VB.CommandButton Command3
Caption = "打印口基本输出输入实验"
BeginProperty Font
Name = "宋体"
Size = 11.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 1320
TabIndex = 3
Top = 1200
Width = 3135
End
Begin VB.CommandButton Command1
Caption = "退出"
BeginProperty Font
Name = "宋体"
Size = 11.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 2160
TabIndex = 1
Top = 4320
Width = 1215
End
Begin VB.CommandButton Command2
Caption = "P8255B 高级控制实验"
BeginProperty Font
Name = "宋体"
Size = 11.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 1320
TabIndex = 0
Top = 2880
Width = 3135
End
Begin VB.Label Label3
Alignment = 2 'Center
BackColor = &H00C0FFC0&
Caption = "并行接口板测试程序"
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1440
TabIndex = 2
Top = 480
Width = 2895
End
End
Attribute VB_Name = "mainmenu"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
End
End Sub
Private Sub Command2_Click()
Load Test_8255
Test_8255.Show 1
End Sub
Private Sub Command3_Click()
Load basicport
basicport.Show 1
End Sub
Private Sub Command4_Click()
Load P8255
P8255.Show 1
End Sub
Private Sub Command5_Click()
End Sub
Private Sub Command6_Click()
End Sub
Private Sub Form_Load()
form_init
End Sub
Private Sub form_init()
Width = 5760
Height = 5490
Left = (Screen.Width - Width) / 2
Top = (Screen.Height - Height) / 2
'Picture1.Top = 33
'Picture1.Left = (Width - Picture1.Width) / 2
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -