📄 form3.frm
字号:
VERSION 5.00
Begin VB.Form Form3
Caption = "Form3"
ClientHeight = 5655
ClientLeft = 60
ClientTop = 345
ClientWidth = 7440
LinkTopic = "Form3"
ScaleHeight = 5655
ScaleWidth = 7440
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command3
Caption = "EXIT"
Height = 495
Left = 4920
TabIndex = 7
Top = 4560
Width = 1095
End
Begin VB.CommandButton Command2
Caption = "TIMINGS"
Height = 375
Left = 4800
TabIndex = 6
Top = 3120
Width = 975
End
Begin VB.TextBox Text3
Height = 375
Left = 5880
TabIndex = 5
Top = 3120
Width = 1215
End
Begin VB.CommandButton Command1
Caption = "TRAIN"
Height = 495
Left = 480
TabIndex = 4
Top = 2760
Width = 1095
End
Begin VB.TextBox Text2
Height = 1335
Left = 1920
TabIndex = 3
Top = 2640
Width = 2535
End
Begin VB.TextBox Text1
Height = 495
Left = 2640
TabIndex = 2
Top = 1440
Width = 735
End
Begin VB.Label Label2
Caption = "ENTER THE PLATFORM NO"
Height = 255
Left = 840
TabIndex = 1
Top = 240
Width = 2655
End
Begin VB.Label Label1
Caption = "PLATFORM NO"
Height = 495
Left = 480
TabIndex = 0
Top = 1440
Width = 1335
End
End
Attribute VB_Name = "Form3"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Text1.Text = 1 Then
Text2.Text = "vaigai express"
End If
If Text1.Text = 2 Then
Text2.Text = "madurai express"
End If
If Text1.Text = 3 Then
Text2.Text = "chennai express"
End If
If Text1.Text = 4 Then
Text2.Text = "nellai express"
End If
End Sub
Private Sub Command2_Click()
If Text2.Text = "vaigai express" Then
Text3.Text = "3am"
End If
If Text2.Text = "madurai express" Then
Text3.Text = "4am"
End If
If Text2.Text = "chennai express" Then
Text3.Text = "5pm"
End If
If Text2.Text = "nellai express" Then
Text3.Text = "10pm"
End If
End Sub
Private Sub Command3_Click()
Form1.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -