📄 frmbackup.frm
字号:
VERSION 5.00
Begin VB.Form frmBackup
Caption = "数据备份"
ClientHeight = 1350
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 1350
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton cmdStartBackup
Height = 375
Left = 2040
Picture = "frmBackup.frx":0000
Style = 1 'Graphical
TabIndex = 2
ToolTipText = "开始备份"
Top = 840
Width = 615
End
Begin VB.CommandButton cmdPath
Caption = "..."
Height = 375
Left = 3840
TabIndex = 1
Top = 360
Width = 495
End
Begin VB.TextBox Text1
Height = 390
Left = 360
MousePointer = 99 'Custom
TabIndex = 0
Top = 360
Width = 3255
End
End
Attribute VB_Name = "frmBackup"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdPath_Click()
'显示备份路径窗口
frmSetPath.Show
End Sub
Private Sub cmdStartBackup_Click()
'开始备份数据
FileCopy App.Path + "\教师管理系统.mdb", App.Path + "\backup\教师管理系统.mdb"
Unload Me
End Sub
Private Sub Form_Load()
'初始化窗体
frmBackup.Picture = LoadPicture(App.Path + "\picture\中国娃娃1.bmp")
cmdStartBackup.Enabled = False
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -