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

📄 数据恢复.frm

📁 学生教材管理系统:对学校书库进销存进行管理的系统
💻 FRM
字号:
VERSION 5.00
Begin VB.Form 数据恢复 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "系统管理————[数据恢复]"
   ClientHeight    =   3525
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   6855
   Icon            =   "数据恢复.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3525
   ScaleWidth      =   6855
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin VB.Frame Frame1 
      Height          =   3495
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   6855
      Begin VB.TextBox Text1 
         Height          =   300
         Left            =   120
         TabIndex        =   6
         Top             =   1620
         Visible         =   0   'False
         Width           =   1635
      End
      Begin VB.CommandButton cmdexit 
         Caption         =   "退出"
         Height          =   495
         Left            =   2940
         TabIndex        =   5
         Top             =   2700
         Width           =   2895
      End
      Begin VB.CommandButton cmdsjhf 
         Caption         =   "数据恢复"
         Height          =   495
         Left            =   2940
         TabIndex        =   4
         Top             =   2040
         Width           =   2895
      End
      Begin VB.FileListBox File1 
         Height          =   1710
         Left            =   120
         TabIndex        =   3
         Top             =   1620
         Width           =   1635
      End
      Begin VB.DriveListBox drive1 
         Height          =   300
         Left            =   120
         TabIndex        =   2
         Top             =   300
         Width           =   1635
      End
      Begin VB.DirListBox Dir1 
         Height          =   720
         Left            =   120
         TabIndex        =   1
         Top             =   765
         Width           =   1635
      End
   End
End
Attribute VB_Name = "数据恢复"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdexit_Click()
    
    Unload Me
End Sub

Private Sub cmdsjhf_Click()
    If Text1 = "" Then
       MsgBox "请选择要恢复的数据!", vbOKOnly + vbInformation
    Else
       Me.MousePointer = 11
       FileCopy Dir1.Path & "\" & File1.FileName, App.Path & "\学生教材管理系统.mdb"
       Me.MousePointer = 0
       MsgBox "数据已恢复完毕!", vbOKOnly + vbInformation
    End If
End Sub

Private Sub Dir1_Change()
    File1.Path = Dir1.Path
End Sub

Private Sub Drive1_Change()
   Dir1.Path = drive1.Drive
End Sub

Private Sub File1_Click()
  Text1 = Dir1.Path & "|" & File1.FileName
End Sub

Private Sub Form_Unload(Cancel As Integer)
    主窗体.Enabled = True
End Sub

⌨️ 快捷键说明

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