📄 frmformat.frm
字号:
VERSION 5.00
Begin VB.Form frmFormat
Caption = "格式化磁盘"
ClientHeight = 1452
ClientLeft = 60
ClientTop = 348
ClientWidth = 5268
Icon = "frmFormat.frx":0000
LinkTopic = "Form1"
ScaleHeight = 1452
ScaleWidth = 5268
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton cmdFormat
Caption = "格式化磁盘"
Default = -1 'True
Height = 495
Left = 1560
TabIndex = 0
Top = 360
Width = 1335
End
End
Attribute VB_Name = "frmFormat"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdFormat_Click()
Dim sBuffer As String, Windir As String, Procs As String, X
Dim lResult As Long
sBuffer = String$(255, 0)
lResult = GetWindowsDirectory(sBuffer, Len(sBuffer))
Windir = Trim(sBuffer)
Procs = Left(Windir, lResult) & "\rundll32.exe shell32.dll,SHFormatDrive"
' Call CenterDialog("Format - 3
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -