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

📄 mdiform1.frm

📁 VB编写的汽车训练场管理系统。可做毕业设计参考/
💻 FRM
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Begin VB.MDIForm MDIForm1 
   BackColor       =   &H8000000C&
   Caption         =   "汽车训练场收费系统"
   ClientHeight    =   3195
   ClientLeft      =   165
   ClientTop       =   735
   ClientWidth     =   4680
   Icon            =   "MDIForm1.frx":0000
   LinkTopic       =   "MDIForm1"
   Picture         =   "MDIForm1.frx":1472
   StartUpPosition =   3  '窗口缺省
   WindowState     =   2  'Maximized
   Begin VB.Timer Timer1 
      Interval        =   1000
      Left            =   2970
      Top             =   2160
   End
   Begin MSComctlLib.StatusBar StatusBar1 
      Align           =   2  'Align Bottom
      Height          =   405
      Left            =   0
      TabIndex        =   1
      Top             =   2790
      Width           =   4680
      _ExtentX        =   8255
      _ExtentY        =   714
      _Version        =   393216
      BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628} 
         NumPanels       =   3
         BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Alignment       =   1
            AutoSize        =   1
            Enabled         =   0   'False
            Object.Width           =   2566
            Picture         =   "MDIForm1.frx":3014B6
            Text            =   "-------"
            TextSave        =   "-------"
         EndProperty
         BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Alignment       =   1
            AutoSize        =   1
            Enabled         =   0   'False
            Object.Width           =   2566
            Picture         =   "MDIForm1.frx":302508
            Text            =   "金鹏数码科技有限公司"
            TextSave        =   "金鹏数码科技有限公司"
         EndProperty
         BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            AutoSize        =   1
            Object.Width           =   2566
            Picture         =   "MDIForm1.frx":302822
         EndProperty
      EndProperty
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
   Begin MSComctlLib.Toolbar Toolbar1 
      Align           =   1  'Align Top
      Height          =   570
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   4680
      _ExtentX        =   8255
      _ExtentY        =   1005
      ButtonWidth     =   820
      ButtonHeight    =   953
      AllowCustomize  =   0   'False
      Appearance      =   1
      Style           =   1
      ImageList       =   "ImageList1"
      HotImageList    =   "ImageList1"
      _Version        =   393216
      BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
         NumButtons      =   9
         BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "登录"
            Key             =   "DL1"
            Object.ToolTipText     =   "登录本系统"
            ImageIndex      =   1
         EndProperty
         BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "退出"
            Key             =   "TU1"
            Object.ToolTipText     =   "退出本系统"
            ImageIndex      =   2
         EndProperty
         BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "登记"
            ImageIndex      =   3
         EndProperty
         BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "收费"
            ImageIndex      =   4
         EndProperty
         BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "统计"
            ImageIndex      =   5
         EndProperty
         BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "报名"
            ImageIndex      =   6
         EndProperty
         BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "办卡"
            ImageIndex      =   7
         EndProperty
      EndProperty
   End
   Begin MSComctlLib.ImageList ImageList1 
      Left            =   1230
      Top             =   1650
      _ExtentX        =   1005
      _ExtentY        =   1005
      BackColor       =   -2147483643
      ImageWidth      =   16
      ImageHeight     =   16
      MaskColor       =   12632256
      _Version        =   393216
      BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
         NumListImages   =   7
         BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "MDIForm1.frx":304DD4
            Key             =   ""
         EndProperty
         BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "MDIForm1.frx":307586
            Key             =   ""
         EndProperty
         BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "MDIForm1.frx":309D38
            Key             =   ""
         EndProperty
         BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "MDIForm1.frx":30C4EA
            Key             =   ""
         EndProperty
         BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "MDIForm1.frx":30EC9C
            Key             =   ""
         EndProperty
         BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "MDIForm1.frx":310DD6
            Key             =   ""
         EndProperty
         BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "MDIForm1.frx":311AB0
            Key             =   ""
         EndProperty
      EndProperty
   End
   Begin VB.Menu WJ 
      Caption         =   "文 件"
      Begin VB.Menu DL 
         Caption         =   "登录"
         Shortcut        =   ^D
      End
      Begin VB.Menu TC 
         Caption         =   "退出"
         Shortcut        =   ^Q
      End
   End
   Begin VB.Menu CZ 
      Caption         =   "操作"
      Begin VB.Menu DJ 
         Caption         =   "登记"
         Shortcut        =   ^J
      End
      Begin VB.Menu SF 
         Caption         =   "收费"
         Shortcut        =   ^S
      End
   End
   Begin VB.Menu XTGL 
      Caption         =   "系统管理"
      Begin VB.Menu YF 
         Caption         =   "用户"
      End
      Begin VB.Menu FWQ 
         Caption         =   "服务器"
      End
      Begin VB.Menu ID 
         Caption         =   "ID卡管理"
      End
      Begin VB.Menu HD 
         Caption         =   "收费核对"
      End
      Begin VB.Menu bmfcx 
         Caption         =   "报名费查询"
      End
      Begin VB.Menu LSCX 
         Caption         =   "历史查询"
      End
      Begin VB.Menu assdsf 
         Caption         =   "硬件参数设置"
      End
      Begin VB.Menu ZC 
         Caption         =   "注册"
      End
   End
End
Attribute VB_Name = "MDIForm1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub assdsf_Click()
    Form8.Show
End Sub

Private Sub bmfcx_Click()
    On Error Resume Next
   If Qx(3) <> "1" Then
       MsgBox "对不起,您的权限不够", 0 + vbExclamation, "系统提示"
       Exit Sub
  End If
   Form10.Show
End Sub

Private Sub DJ_Click()
  On Error Resume Next
  If Qx(7) <> "1" Then
       MsgBox "对不起,您的权限不够", 0 + vbExclamation, "系统提示"
       Exit Sub
  End If
  DJ1.Show
End Sub

Private Sub DL_Click()
  Form1.Show
End Sub

Private Sub FWQ_Click()
   Form3.Show
End Sub

Private Sub HD_Click()
   If Qx(6) <> "1" Then
           MsgBox "对不起,您的权限不够", 0 + vbExclamation, "系统提示"
           Exit Sub
   End If
   Form12.Show
End Sub

Private Sub ID_Click()
    On Error Resume Next
   If Qx(3) <> "1" Then
       MsgBox "对不起,您的权限不够", 0 + vbExclamation, "系统提示"
       Exit Sub
  End If
   Form4.Show
End Sub

Private Sub LSCX_Click()
   If Qx(6) <> "1" Then
           MsgBox "对不起,您的权限不够", 0 + vbExclamation, "系统提示"
           Exit Sub
   End If
   Form9.Show
End Sub

Private Sub MDIForm_Load()
   Dim i As Integer
   Dj_Zt = False
   Sf_Zt = False
   Open App.Path & "\file\config.c" For Input As #1
   For i = 1 To 6
      Input #1, Yj(i)
   Next
   Close #1
   Qxxx = ""
End Sub

Private Sub MDIForm_Unload(Cancel As Integer)
   On Error Resume Next
   Cn.Close
   If MsgBox("确定退出本系统吗", 1 + 32, "系统提示") = vbOK Then
      End
   Else
      Cancel = 1
   End If
End Sub

Private Sub SF_Click()
  On Error Resume Next
  If Qx(8) <> "1" Then
       MsgBox "对不起,您的权限不够", 0 + vbExclamation, "系统提示"
       Exit Sub
  End If
  SF1.Show
End Sub

Private Sub TC_Click()
   Unload Me
End Sub

Private Sub Timer1_Timer()
    StatusBar1.Panels(3).Text = "当前时间:" & format(Time, "hh时nn分ss秒")
    StatusBar1.Panels(1).Text = "当前用户:" & Yh
End Sub

Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
   On Error Resume Next
   Select Case Button.Index
          Case 1
                 Form1.Show
          Case 2
                 Unload Me
          Case 4
                 If Qx(7) <> "1" Then
                     MsgBox "对不起,您的权限不够", 0 + vbExclamation, "系统提示"
                     Exit Sub
                 End If
                 DJ1.Show
          Case 5
                 If Qx(8) <> "1" Then
                     MsgBox "对不起,您的权限不够", 0 + vbExclamation, "系统提示"
                     Exit Sub
                 End If
                 SF1.Show
          Case 6
                If Qx(4) <> "1" Then
                     MsgBox "对不起,您的权限不够", 0 + vbExclamation, "系统提示"
                     Exit Sub
                 End If
                Form5.Show
          Case 8
                If Qx(5) <> "1" Then
                     MsgBox "对不起,您的权限不够", 0 + vbExclamation, "系统提示"
                     Exit Sub
                 End If
                Form6.Show
          Case 9
                If Qx(6) <> "1" Then
                     MsgBox "对不起,您的权限不够", 0 + vbExclamation, "系统提示"
                     Exit Sub
                 End If
                Form7.Show
   End Select
End Sub

Private Sub YF_Click()
   If Qx(1) <> "1" Then
        MsgBox "对不起,您的权限不够", 0 + vbExclamation, "系统提示"
        Exit Sub
  End If
   Form2.Show
End Sub

Private Sub ZC_Click()
    Form15.Show
End Sub

⌨️ 快捷键说明

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