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

📄 sys.frm

📁 一个酒厂派车单管理系统,很方便的系统
💻 FRM
字号:
VERSION 5.00
Object = "{FF595003-27F5-4C41-AA2B-7BE9248B642D}#1.1#0"; "XPControl.ocx"
Begin VB.Form Sys 
   Caption         =   "系统管理"
   ClientHeight    =   6870
   ClientLeft      =   60
   ClientTop       =   405
   ClientWidth     =   9240
   Icon            =   "Sys.frx":0000
   LinkTopic       =   "Form1"
   MDIChild        =   -1  'True
   ScaleHeight     =   6870
   ScaleWidth      =   9240
   WindowState     =   2  'Maximized
   Begin xpControls.xpCommand xpCommand7 
      Height          =   495
      Left            =   1200
      TabIndex        =   6
      Top             =   3480
      Width           =   2415
      _ExtentX        =   4260
      _ExtentY        =   873
      Caption         =   "数据库备份"
      ForeColor       =   0
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
   Begin xpControls.xpCommand xpCommand6 
      Height          =   495
      Left            =   1200
      TabIndex        =   5
      Top             =   4080
      Width           =   2415
      _ExtentX        =   4260
      _ExtentY        =   873
      Caption         =   "退出管理"
      ForeColor       =   0
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
   Begin xpControls.xpCommand xpCommand5 
      Height          =   495
      Left            =   1200
      TabIndex        =   4
      Top             =   2880
      Width           =   2415
      _ExtentX        =   4260
      _ExtentY        =   873
      Caption         =   "操作员管理"
      ForeColor       =   0
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
   Begin xpControls.xpCommand xpCommand4 
      Height          =   495
      Left            =   1200
      TabIndex        =   3
      Top             =   2280
      Width           =   2415
      _ExtentX        =   4260
      _ExtentY        =   873
      Caption         =   "配货管理"
      ForeColor       =   0
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
   Begin xpControls.xpCommand xpCommand3 
      Height          =   495
      Left            =   1200
      TabIndex        =   2
      Top             =   1680
      Width           =   2415
      _ExtentX        =   4260
      _ExtentY        =   873
      Caption         =   "产品管理"
      ForeColor       =   0
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
   Begin xpControls.xpCommand xpCommand2 
      Height          =   495
      Left            =   1200
      TabIndex        =   1
      Top             =   1080
      Width           =   2415
      _ExtentX        =   4260
      _ExtentY        =   873
      Caption         =   "销售商管理"
      ForeColor       =   0
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
   Begin xpControls.xpCommand xpCommand1 
      Height          =   495
      Left            =   1200
      TabIndex        =   0
      Top             =   480
      Width           =   2415
      _ExtentX        =   4260
      _ExtentY        =   873
      Caption         =   "车辆管理"
      ForeColor       =   0
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
End
Attribute VB_Name = "Sys"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub xpCommand1_Click()
If Flags(6) <> "1" And Flags(7) <> "1" Then MsgBox "无权操作!", 0 + 48 + 0: Exit Sub
cylist.Show
End Sub

Private Sub xpCommand2_Click()
If Flags(6) <> "1" And Flags(7) <> "1" Then MsgBox "无权操作!", 0 + 48 + 0: Exit Sub
sjlist.Show
End Sub

Private Sub xpCommand3_Click()
If Flags(6) <> "1" And Flags(7) <> "1" Then MsgBox "无权操作!", 0 + 48 + 0: Exit Sub
hxlist.Show
End Sub

Private Sub xpCommand4_Click()
If Flags(6) <> "1" And Flags(7) <> "1" Then MsgBox "无权操作!", 0 + 48 + 0: Exit Sub
phlist.Show
End Sub

Private Sub xpCommand5_Click()
If Flags(8) <> "1" Then MsgBox "无权操作!", 0 + 48 + 0: Exit Sub
Admin.Show
End Sub

Private Sub xpCommand6_Click()
Unload Me
End Sub

Private Sub xpCommand7_Click()
If Flags(9) <> "1" Then MsgBox "无权操作!", 0 + 48 + 0: Exit Sub
Dim FF As String
CreateDirectory App.Path & "\dbbak\" & CStr(Year(Date)) + CStr(Month(Date)) + CStr(Day(Date))
FF = App.Path & "\dbbak\" & CStr(Year(Date)) + CStr(Month(Date)) + CStr(Day(Date)) + "\" + CStr(Hour(Time)) + CStr(Minute(Time)) + "xjdb.dll"
CopyFile App.Path & "\xjdb.dll", FF
MsgBox "数据备份成功!数据路径为:" + FF, 0 + 48 + 0
End Sub

⌨️ 快捷键说明

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