📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3090
ClientLeft = 60
ClientTop = 450
ClientWidth = 8130
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3090
ScaleWidth = 8130
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "退出"
Height = 615
Left = 1800
TabIndex = 2
Top = 2160
Width = 1335
End
Begin VB.TextBox Text1
Height = 615
Left = 4440
TabIndex = 0
Text = "Text1"
Top = 840
Width = 2895
End
Begin VB.Label Label1
Caption = "本硬盘的物理序列号是"
Height = 735
Left = 1680
TabIndex = 1
Top = 840
Width = 2175
End
End
Attribute VB_Name = "Form1"
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 Form_Load()
Label1.FontSize = 15
Text1.FontSize = 15
Dim a As String
a = GetHardDiskInfo()
Text1.Text = a
Print a
'Debug.Print GetHardDiskInfo()
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -