⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form4.frm

📁 train reservation in visual basic
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form4 
   Caption         =   "Form4"
   ClientHeight    =   5490
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   7305
   LinkTopic       =   "Form4"
   ScaleHeight     =   5490
   ScaleWidth      =   7305
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command3 
      Caption         =   " NEW"
      Height          =   375
      Left            =   4920
      TabIndex        =   7
      Top             =   2520
      Width           =   1335
   End
   Begin VB.Data Data2 
      Caption         =   "Data2"
      Connect         =   "Access"
      DatabaseName    =   ""
      DefaultCursorType=   0  'DefaultCursor
      DefaultType     =   2  'UseODBC
      Exclusive       =   0   'False
      Height          =   495
      Left            =   4200
      Options         =   0
      ReadOnly        =   0   'False
      RecordsetType   =   1  'Dynaset
      RecordSource    =   ""
      Top             =   4080
      Width           =   1500
   End
   Begin VB.TextBox Text3 
      Height          =   495
      Left            =   5040
      TabIndex        =   5
      Top             =   1080
      Width           =   855
   End
   Begin VB.CommandButton Command2 
      Caption         =   "CHECK TIMINGS"
      Height          =   495
      Left            =   4920
      TabIndex        =   4
      Top             =   3120
      Width           =   1935
   End
   Begin VB.TextBox Text2 
      Height          =   855
      Left            =   240
      TabIndex        =   3
      Top             =   2280
      Width           =   1215
   End
   Begin VB.CommandButton Command1 
      Caption         =   "ASSIGN"
      Height          =   855
      Left            =   1200
      TabIndex        =   2
      Top             =   3960
      Width           =   1815
   End
   Begin VB.TextBox Text1 
      Height          =   495
      Left            =   2160
      TabIndex        =   1
      Top             =   1080
      Width           =   1455
   End
   Begin VB.Label Label2 
      Caption         =   "TIME"
      Height          =   375
      Left            =   4080
      TabIndex        =   6
      Top             =   1200
      Width           =   855
   End
   Begin VB.Label Label1 
      Caption         =   "EXPRESS NAME"
      Height          =   495
      Left            =   240
      TabIndex        =   0
      Top             =   1080
      Width           =   1695
   End
End
Attribute VB_Name = "Form4"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()

If Text1.Text = "vaigai express" Then
Text2.Text = "PLATFORM 1"
Text3.Text = "3"
End If

If Text1.Text = "madurai express" Then
Text2.Text = "2"
Text3.Text = "4"
End If

If Text1.Text = "chennai express" Then
Text2.Text = "3"
Text3.Text = "6"
End If

If Text1.Text = "nellai express" Then
Text2.Text = "4"
Text3.Text = "10"
End If

If Text1.Text = " " Then
Text3.Text = "5"
End If

End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -