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

📄 frmoaa2.frm

📁 本需求规格说明书是为了开发《飞机订票系统》而编写的
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmOAA2 
   BackColor       =   &H80000007&
   Caption         =   "Form1"
   ClientHeight    =   3915
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   7560
   LinkTopic       =   "Form1"
   ScaleHeight     =   3915
   ScaleWidth      =   7560
   StartUpPosition =   3  '窗口缺省
   Begin VB.TextBox txt 
      Appearance      =   0  'Flat
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   300
      Index           =   0
      Left            =   1920
      TabIndex        =   9
      Top             =   480
      Width           =   1935
   End
   Begin VB.TextBox txt 
      Appearance      =   0  'Flat
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   300
      Index           =   1
      Left            =   5520
      TabIndex        =   8
      Top             =   480
      Width           =   1695
   End
   Begin VB.TextBox txt 
      Appearance      =   0  'Flat
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   300
      Index           =   2
      Left            =   1920
      TabIndex        =   7
      Top             =   960
      Width           =   5295
   End
   Begin VB.TextBox txt 
      Appearance      =   0  'Flat
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   300
      Index           =   3
      Left            =   1920
      TabIndex        =   6
      Top             =   1440
      Width           =   5295
   End
   Begin VB.TextBox txt 
      Appearance      =   0  'Flat
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   300
      Index           =   4
      Left            =   1920
      TabIndex        =   5
      Top             =   1920
      Width           =   5295
   End
   Begin VB.TextBox txt 
      Appearance      =   0  'Flat
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   300
      Index           =   5
      Left            =   1920
      TabIndex        =   4
      Top             =   2400
      Width           =   1935
   End
   Begin VB.TextBox txt 
      Appearance      =   0  'Flat
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   300
      Index           =   6
      Left            =   5400
      TabIndex        =   3
      Top             =   2400
      Width           =   1815
   End
   Begin VB.CommandButton cmdNext 
      Caption         =   "下一步"
      Default         =   -1  'True
      Height          =   345
      Left            =   3240
      TabIndex        =   2
      Top             =   3000
      Width           =   975
   End
   Begin VB.CommandButton cmdBack 
      Caption         =   "上一步"
      Height          =   345
      Left            =   2040
      TabIndex        =   1
      Top             =   3000
      Width           =   975
   End
   Begin VB.CommandButton cmdCancel 
      Cancel          =   -1  'True
      Caption         =   "取 消"
      Height          =   345
      Left            =   4440
      TabIndex        =   0
      Top             =   3000
      Width           =   975
   End
   Begin VB.Label lbl 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "开户人姓名:"
      ForeColor       =   &H00FFFFFF&
      Height          =   180
      Index           =   4
      Left            =   240
      TabIndex        =   16
      Top             =   600
      Width           =   1080
   End
   Begin VB.Label lbl 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "开户人联系电话:"
      ForeColor       =   &H00FFFFFF&
      Height          =   180
      Index           =   7
      Left            =   240
      TabIndex        =   15
      Top             =   2520
      Width           =   1440
   End
   Begin VB.Label lbl 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "开户人住址:"
      ForeColor       =   &H00FFFFFF&
      Height          =   180
      Index           =   8
      Left            =   240
      TabIndex        =   14
      Top             =   2040
      Width           =   1080
   End
   Begin VB.Label lbl 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "经办人联系电话:"
      ForeColor       =   &H00FFFFFF&
      Height          =   180
      Index           =   9
      Left            =   3960
      TabIndex        =   13
      Top             =   2520
      Width           =   1440
   End
   Begin VB.Label lbl 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "经办人身份证号码:"
      ForeColor       =   &H00FFFFFF&
      Height          =   180
      Index           =   11
      Left            =   240
      TabIndex        =   12
      Top             =   1560
      Width           =   1620
   End
   Begin VB.Label lbl 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "经办人姓名:"
      ForeColor       =   &H00FFFFFF&
      Height          =   180
      Index           =   12
      Left            =   4440
      TabIndex        =   11
      Top             =   600
      Width           =   1080
   End
   Begin VB.Label lbl 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "开户人身份证号码:"
      ForeColor       =   &H00FFFFFF&
      Height          =   180
      Index           =   13
      Left            =   240
      TabIndex        =   10
      Top             =   1080
      Width           =   1620
   End
End
Attribute VB_Name = "frmOAA2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub cmdBack_Click()
    frmOAA1.Show
    Unload Me
End Sub



Private Sub cmdCancel_Click()
Unload Me
End Sub


Private Sub cmdNext_Click()
    Dim nowTime As String
    nowTime = Now

    For i = 0 To 5
        If txt(i).Text = "" Then
            MsgBox "请将各项填写完整", vbExclamation, "错误"
            Exit Sub
        End If
    Next i
    If Len(txt(0).Text) > 12 Then
        MsgBox "开户人姓名不得长于12位"
        Exit Sub
    ElseIf Len(txt(1).Text) > 12 Then
        MsgBox "经办人姓名不得长于12位"
        Exit Sub
    ElseIf Len(txt(2).Text) > 25 Then
        MsgBox "开户人身份证号码不得长于25位"
        Exit Sub
    ElseIf Len(txt(3).Text) > 25 Then
            MsgBox "经办人身份证号码不得长于25位"
        Exit Sub
    ElseIf Len(txt(4).Text) > 50 Then
            MsgBox "开户人住址不得长于50位"
        Exit Sub
    ElseIf Len(txt(5).Text) > 20 Then
            MsgBox "开户人联系电话不得长于20位"
        Exit Sub
    ElseIf Len(txt(6).Text) > 20 Then
            MsgBox "经办人联系电话不得长于12位"
        Exit Sub
    End If
    For i = 1 To 7
        frmOAA3.txt(i).Text = txt(i - 1).Text
    Next i
    frmOAA3.txt(9).Text = Now
    frmOAA3.txt(10).Text = userName
    frmOAA4.id = "C" + Format(nowTime, "yyyy") + Format(nowTime, "mm") + Format(nowTime, "dd") + Format(nowTime, "hh") + Format(nowTime, "nn") + Format(nowTime, "ss")
    frmOAA4.userName = txt(0).Text
    frmOAA4.deputizeName = txt(1).Text
    frmOAA4.userStationID = txt(2).Text
    frmOAA4.deputizeStationID = txt(3).Text
    frmOAA4.userAddress = txt(4).Text
    frmOAA4.userPhone = txt(5).Text
    frmOAA4.deputizePhone = txt(6).Text
    frmOAA4.procedurePerson = userName
    frmOAA3.txt(0).Text = frmOAA4.id
    frmOAA3.Show
    Unload Me
End Sub

Private Sub Form_Load()

End Sub

⌨️ 快捷键说明

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