📄 form1.frm
字号:
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000C0&
Height = 270
Left = 3075
Locked = -1 'True
TabIndex = 2
Text = "25度"
Top = 3570
Width = 525
End
Begin VB.TextBox Text2
Alignment = 1 'Right Justify
Appearance = 0 'Flat
BackColor = &H0080FFFF&
BorderStyle = 0 'None
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000C0&
Height = 240
Left = 1695
Locked = -1 'True
TabIndex = 1
Text = "50度"
Top = 6720
Width = 525
End
Begin VB.TextBox Text1
Alignment = 1 'Right Justify
Appearance = 0 'Flat
BackColor = &H0080FFFF&
BorderStyle = 0 'None
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000C0&
Height = 270
Left = 1710
Locked = -1 'True
TabIndex = 0
Text = "25度"
Top = 3540
Width = 525
End
Begin MSCommLib.MSComm MSComm4
Left = 3015
Top = 6390
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
CommPort = 4
DTREnable = -1 'True
Handshaking = 2
End
Begin MSCommLib.MSComm MSComm3
Left = 3000
Top = 5715
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
CommPort = 3
DTREnable = -1 'True
End
Begin MSCommLib.MSComm MSComm2
Left = 3120
Top = 4860
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
CommPort = 2
DTREnable = -1 'True
End
Begin MSCommLib.MSComm MSComm1
Left = 3060
Top = 3990
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
DTREnable = -1 'True
OutBufferSize = 1024
ParitySetting = 2
DataBits = 7
StopBits = 2
InputMode = 1
End
Begin VB.Label Label8
BackStyle = 0 'Transparent
Caption = "时间"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Height = 270
Left = 11040
TabIndex = 23
Top = 330
Width = 4095
End
Begin VB.Label Label7
BackStyle = 0 'Transparent
Caption = "E"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C000C0&
Height = 270
Left = 5160
TabIndex = 18
Top = 7695
Width = 165
End
Begin VB.Label Label6
BackStyle = 0 'Transparent
Caption = "D"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C000C0&
Height = 270
Left = 10950
TabIndex = 17
Top = 5715
Width = 165
End
Begin VB.Label Label5
BackStyle = 0 'Transparent
Caption = "C"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C000C0&
Height = 270
Left = 7260
TabIndex = 16
Top = 5985
Width = 165
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
Caption = "B"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C000C0&
Height = 270
Left = 9255
TabIndex = 15
Top = 8940
Width = 165
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "A"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C000C0&
Height = 270
Left = 10410
TabIndex = 14
Top = 2115
Width = 165
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "Air"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 240
Left = 13275
TabIndex = 13
Top = 6480
Width = 420
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "N2"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 240
Left = 13290
TabIndex = 12
Top = 6120
Width = 300
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()
Form2.Visible = True
End Sub
Private Sub Command2_Click()
Form3.Visible = True
End Sub
Private Sub Command3_Click()
frmLogin1.Visible = True
Form1.Enabled = False
End Sub
Private Sub Command4_Click()
Form5.Visible = True
End Sub
Private Sub Command5_Click()
Dialog.Visible = True
Form1.Enabled = False
End Sub
Private Sub Timer1_Timer()
Label8.Caption = Year(Now) & "年" & Month(Now) & "月" & Day(Now) & "日" & Hour(Now) & "时" & Minute(Now) & "分" & Second(Now) & "秒"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -