form1.frm
来自「vb代码集,收集许多VB网络编程代码」· FRM 代码 · 共 57 行
FRM
57 行
VERSION 5.00
Begin VB.Form Form1
Caption = "Get MacAddress"
ClientHeight = 1320
ClientLeft = 60
ClientTop = 345
ClientWidth = 4515
LinkTopic = "Form1"
ScaleHeight = 1320
ScaleWidth = 4515
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command2
Caption = "Exit"
Height = 375
Left = 2520
TabIndex = 3
Top = 720
Width = 975
End
Begin VB.CommandButton Command1
Caption = "GetMacAddr"
Height = 375
Left = 840
TabIndex = 2
Top = 720
Width = 1095
End
Begin VB.TextBox Text1
Height = 270
Left = 1680
TabIndex = 1
Text = "Text1"
Top = 240
Width = 2415
End
Begin VB.Label Label1
Caption = "MacAddress:"
Height = 255
Left = 240
TabIndex = 0
Top = 240
Width = 1215
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()
Text1 = GetMACAddress()
End Sub
Private Sub Command2_Click()
End
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?