📄 weatherinfor.frm
字号:
VERSION 5.00
Begin VB.Form WeatherInfor
Caption = "气象信息输入"
ClientHeight = 2040
ClientLeft = 60
ClientTop = 345
ClientWidth = 5880
Icon = "WeatherInfor.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2040
ScaleWidth = 5880
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Appearance = 0 'Flat
Caption = "输入完毕"
Height = 375
Left = 1920
TabIndex = 10
Top = 1560
Width = 1935
End
Begin VB.TextBox MinT
Height = 270
Left = 3840
TabIndex = 9
Top = 1080
Width = 1695
End
Begin VB.TextBox MaxT
Height = 270
Left = 1080
TabIndex = 7
Top = 1080
Width = 1695
End
Begin VB.TextBox Windtxt2
Height = 270
Left = 3840
TabIndex = 5
Top = 600
Width = 1695
End
Begin VB.TextBox Windtxt1
Height = 270
Left = 1080
TabIndex = 3
Top = 600
Width = 1695
End
Begin VB.TextBox Weathertxt
Height = 270
Left = 1080
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 1
Top = 120
Width = 4455
End
Begin VB.Label Label5
Caption = "最低气温:"
Height = 255
Left = 3000
TabIndex = 8
Top = 1080
Width = 855
End
Begin VB.Label Label4
Caption = "最高气温:"
Height = 375
Left = 240
TabIndex = 6
Top = 1080
Width = 855
End
Begin VB.Label Label3
Caption = "风力:"
Height = 255
Left = 3000
TabIndex = 4
Top = 600
Width = 615
End
Begin VB.Label Label2
Caption = "风向:"
Height = 255
Left = 240
TabIndex = 2
Top = 600
Width = 495
End
Begin VB.Label Label1
Caption = "天气情况:"
Height = 255
Left = 240
TabIndex = 0
Top = 120
Width = 855
End
End
Attribute VB_Name = "WeatherInfor"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim WeatherStr As String
WeatherStr = "今天" & Weathertxt.Text & "," & Windtxt1.Text & Windtxt2.Text _
& "级,气温" & MaxT & "至" & MinT & "度"
MyfrmMain.StatusBar2.Panels(3).Text = WeatherStr
Unload WeatherInfor
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -