📄 frmexit.frm
字号:
VERSION 5.00
Begin VB.Form FrmExit
BorderStyle = 1 'Fixed Single
Caption = "退出程序提示:"
ClientHeight = 2070
ClientLeft = 45
ClientTop = 330
ClientWidth = 5430
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2070
ScaleWidth = 5430
StartUpPosition = 2 'CenterScreen
Begin VB.CommandButton cmdCancel
Caption = "取消"
Height = 375
Left = 3480
TabIndex = 4
Top = 1440
Width = 1335
End
Begin VB.CommandButton cmdExit
Caption = "退出"
Height = 375
Left = 360
TabIndex = 3
Top = 1440
Width = 1335
End
Begin VB.TextBox txtPassword
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
IMEMode = 3 'DISABLE
Left = 2160
PasswordChar = "*"
TabIndex = 1
Top = 840
Width = 1935
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "退出口令:"
Height = 240
Left = 840
TabIndex = 2
Top = 840
Width = 1080
End
Begin VB.Label Label1
AutoSize = -1 'True
BackColor = &H00FFFFFF&
BackStyle = 0 'Transparent
Caption = "退出GPS通讯采集程序会影响系统时钟!"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000C0&
Height = 240
Left = 600
TabIndex = 0
Top = 240
Width = 4725
End
End
Attribute VB_Name = "FrmExit"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdCancel_Click()
Unload Me
End Sub
Private Sub cmdExit_Click()
If txtPassword.Text = "5866" Then
If frmmain.MSComm1.PortOpen = True Then
frmmain.MSComm1.PortOpen = False
End If
End
Unload frmmain
End
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -