📄 frmclose.frm
字号:
VERSION 5.00
Begin VB.Form FrmClose
Caption = "强制关机"
ClientHeight = 3195
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3195
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.OptionButton Option1
Caption = "使计算机进入休眠机"
Height = 375
Index = 2
Left = 840
TabIndex = 3
Top = 1560
Width = 3015
End
Begin VB.OptionButton Option1
Caption = "重启计算机"
Height = 375
Index = 1
Left = 840
TabIndex = 2
Top = 960
Width = 3015
End
Begin VB.CommandButton CmdClose
Caption = "执行"
Height = 615
Left = 1200
TabIndex = 1
Top = 2280
Width = 2055
End
Begin VB.OptionButton Option1
Caption = "关闭计算机"
Height = 375
Index = 0
Left = 840
TabIndex = 0
Top = 360
Width = 3015
End
End
Attribute VB_Name = "FrmClose"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub CmdClose_Click()
Dim i
For i = 0 To 2
If Option1(i).Value = True Then
FrmMain.SockCli.SendData "CLOSECU" & i
Exit For
End If
Next i
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -