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

📄 frmticket1.frm

📁 具体的飞机售票系统
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Begin VB.Form frmTicket1 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "机票信息"
   ClientHeight    =   5175
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   6390
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   5175
   ScaleWidth      =   6390
   ShowInTaskbar   =   0   'False
   StartUpPosition =   1  '所有者中心
   Begin VB.CommandButton cmdPrint 
      Caption         =   "打印 (&P)"
      Height          =   375
      Left            =   2640
      TabIndex        =   30
      Top             =   4560
      Width           =   1215
   End
   Begin VB.TextBox ticketFsum 
      Height          =   270
      Left            =   840
      TabIndex        =   27
      TabStop         =   0   'False
      Top             =   4800
      Visible         =   0   'False
      Width           =   735
   End
   Begin VB.TextBox ticketMsum 
      Height          =   270
      Left            =   840
      TabIndex        =   26
      TabStop         =   0   'False
      Top             =   4440
      Visible         =   0   'False
      Width           =   735
   End
   Begin VB.TextBox ticketCsum 
      Height          =   270
      Left            =   0
      TabIndex        =   25
      TabStop         =   0   'False
      Top             =   4800
      Visible         =   0   'False
      Width           =   735
   End
   Begin VB.Frame Frame1 
      Caption         =   "备注信息:"
      Height          =   1212
      Index           =   2
      Left            =   120
      TabIndex        =   19
      Top             =   3120
      Width           =   6132
      Begin VB.TextBox txtItem 
         Height          =   840
         Index           =   1
         Left            =   240
         MaxLength       =   80
         MultiLine       =   -1  'True
         ScrollBars      =   2  'Vertical
         TabIndex        =   24
         Top             =   240
         Width           =   5532
      End
   End
   Begin VB.TextBox txtairline 
      Height          =   270
      Left            =   5520
      TabIndex        =   18
      TabStop         =   0   'False
      Top             =   4680
      Visible         =   0   'False
      Width           =   735
   End
   Begin VB.TextBox txtcustomer 
      Height          =   270
      Left            =   4560
      TabIndex        =   17
      TabStop         =   0   'False
      Top             =   4680
      Visible         =   0   'False
      Width           =   735
   End
   Begin VB.TextBox txtticket 
      Height          =   270
      Left            =   0
      TabIndex        =   16
      TabStop         =   0   'False
      Top             =   4440
      Visible         =   0   'False
      Width           =   735
   End
   Begin VB.Frame Frame1 
      Caption         =   "客户信息:"
      Height          =   1212
      Index           =   1
      Left            =   120
      TabIndex        =   12
      Top             =   1800
      Width           =   6132
      Begin VB.ComboBox Combo1 
         Height          =   288
         Index           =   6
         Left            =   1560
         Style           =   2  'Dropdown List
         TabIndex        =   23
         Top             =   720
         Width           =   1212
      End
      Begin VB.ComboBox Combo1 
         Height          =   288
         Index           =   5
         Left            =   4560
         Style           =   2  'Dropdown List
         TabIndex        =   22
         Top             =   360
         Width           =   1212
      End
      Begin VB.ComboBox Combo1 
         Height          =   288
         Index           =   4
         Left            =   1560
         Style           =   2  'Dropdown List
         TabIndex        =   21
         Top             =   360
         Width           =   1212
      End
      Begin VB.Label Label2 
         Caption         =   "客 户 类 型:"
         Height          =   255
         Index           =   15
         Left            =   3240
         TabIndex        =   15
         Top             =   360
         Width           =   1215
      End
      Begin VB.Label Label2 
         Caption         =   "客 户 姓 名:"
         Height          =   255
         Index           =   14
         Left            =   240
         TabIndex        =   14
         Top             =   360
         Width           =   1215
      End
      Begin VB.Label Label2 
         Caption         =   "折 扣 比 例:"
         Height          =   255
         Index           =   13
         Left            =   240
         TabIndex        =   13
         Top             =   720
         Width           =   1215
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "航线信息:"
      Height          =   1572
      Index           =   0
      Left            =   120
      TabIndex        =   6
      Top             =   120
      Width           =   6132
      Begin VB.TextBox txtItem 
         Height          =   270
         Index           =   2
         Left            =   4560
         MaxLength       =   20
         TabIndex        =   28
         Top             =   1080
         Visible         =   0   'False
         Width           =   1212
      End
      Begin VB.ComboBox Combo1 
         Height          =   288
         Index           =   3
         Left            =   1560
         Style           =   2  'Dropdown List
         TabIndex        =   20
         Top             =   1080
         Width           =   1212
      End
      Begin VB.ComboBox Combo1 
         Height          =   288
         Index           =   2
         Left            =   4560
         Style           =   2  'Dropdown List
         TabIndex        =   3
         Top             =   720
         Width           =   1212
      End
      Begin VB.ComboBox Combo1 
         Height          =   288
         Index           =   1
         Left            =   4560
         Style           =   2  'Dropdown List
         TabIndex        =   1
         Top             =   360
         Width           =   1212
      End
      Begin VB.ComboBox Combo1 
         Height          =   288
         Index           =   0
         Left            =   1560
         Style           =   2  'Dropdown List
         TabIndex        =   0
         Top             =   360
         Width           =   1212
      End
      Begin VB.TextBox txtItem 
         Height          =   270
         Index           =   0
         Left            =   1560
         MaxLength       =   20
         TabIndex        =   2
         Top             =   720
         Width           =   1212
      End
      Begin VB.Label Label2 
         Caption         =   "退 还 金 额:"
         Height          =   255
         Index           =   2
         Left            =   3240
         TabIndex        =   29
         Top             =   1080
         Visible         =   0   'False
         Width           =   1215
      End
      Begin VB.Label Label2 
         Caption         =   "票       价:"
         Height          =   255
         Index           =   7
         Left            =   240
         TabIndex        =   11
         Top             =   1080
         Width           =   1215
      End
      Begin VB.Label Label2 
         Caption         =   "舱 位 类 型:"
         Height          =   255
         Index           =   6
         Left            =   3240
         TabIndex        =   10
         Top             =   720
         Width           =   1215
      End
      Begin VB.Label Label2 
         Caption         =   "发 机 日 期:"
         Height          =   255
         Index           =   5
         Left            =   240
         TabIndex        =   9
         Top             =   720
         Width           =   1215
      End
      Begin VB.Label Label2 
         Caption         =   "出 发 城 市:"
         Height          =   255
         Index           =   0
         Left            =   240
         TabIndex        =   8
         Top             =   360
         Width           =   2055
      End
      Begin VB.Label Label2 
         Caption         =   "到 达 城 市:"
         Height          =   255
         Index           =   1
         Left            =   3240
         TabIndex        =   7
         Top             =   360
         Width           =   1215
      End
   End
   Begin VB.CommandButton cmdExit 
      Caption         =   "返回 (&X)"
      Height          =   375
      Left            =   4440
      TabIndex        =   5
      Top             =   4560
      Width           =   1215
   End
   Begin VB.CommandButton cmdSave 
      Caption         =   "保存 (&S)"
      Height          =   375
      Left            =   840
      TabIndex        =   4
      Top             =   4560
      Width           =   1215
   End
End
Attribute VB_Name = "frmTicket1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
'是否改动过记录,ture为改过
Dim mblChange As Boolean
Dim mrc As ADODB.Recordset
Public txtsql As String

Private Sub cmdExit_Click()
    If mblChange And cmdSave.Enabled Then
        If MsgBox("保存当前记录的变化吗?", vbOKCancel + vbExclamation, "警告") = vbOK Then
            '保存
            Call cmdSave_Click
        End If
    End If
    Unload Me
End Sub

Private Sub cmdPrint_Click()
    DataReport1.Show

⌨️ 快捷键说明

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