📄 frminit.frm
字号:
VERSION 5.00
Begin VB.Form frmInit
BorderStyle = 0 'None
Caption = "Form1"
ClientHeight = 9000
ClientLeft = 0
ClientTop = 0
ClientWidth = 12000
ForeColor = &H000000FF&
LinkTopic = "Form1"
Picture = "frmInit.frx":0000
ScaleHeight = 9000
ScaleWidth = 12000
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.PictureBox Picture2
Appearance = 0 'Flat
BackColor = &H80000005&
ForeColor = &H80000008&
Height = 555
Left = 7920
MouseIcon = "frmInit.frx":1442F
MousePointer = 99 'Custom
Picture = "frmInit.frx":14739
ScaleHeight = 525
ScaleWidth = 2955
TabIndex = 1
Top = 2385
Width = 2985
End
Begin VB.PictureBox Picture1
Appearance = 0 'Flat
BackColor = &H80000005&
ForeColor = &H80000008&
Height = 555
Left = 7920
MouseIcon = "frmInit.frx":157D8
MousePointer = 99 'Custom
Picture = "frmInit.frx":15AE2
ScaleHeight = 525
ScaleWidth = 2955
TabIndex = 0
Top = 1755
Width = 2985
End
Begin VB.Image imgEnd
Height = 1695
Left = 1395
MouseIcon = "frmInit.frx":16CCF
MousePointer = 99 'Custom
Picture = "frmInit.frx":16FD9
Top = 6390
Width = 1275
End
End
Attribute VB_Name = "frmInit"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Form_Load()
If chooseFlag = True Then
rstChoose.Close
chooseFlag = False
End If
rstChoose.Open "Select * from choose", cnn, adOpenStatic, adLockOptimistic
chooseFlag = True
rstChoose.MoveLast
numJH = rstChoose.Fields("卷号")
rstChoose.Close
chooseFlag = False
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
imgEnd.Picture = LoadPicture(App.Path & "\data\end2.jpg")
Picture1.Picture = LoadPicture(App.Path & "\data\题库维护1.jpg")
Picture2.Picture = LoadPicture(App.Path & "\data\考试系统1.jpg")
End Sub
Private Sub imgEnd_Click()
End
End Sub
Private Sub imgEnd_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
imgEnd.Picture = LoadPicture(App.Path & "\data\end1.jpg")
End Sub
Private Sub Picture1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Picture1.Picture = LoadPicture(App.Path & "\data\题库维护2.jpg")
Picture2.Picture = LoadPicture(App.Path & "\data\考试系统1.jpg")
End Sub
Private Sub Picture1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
'MsgBox "对不起,该功能还没有完善,请等以后升级!", 48, "提示"
frmPwd.Show
Unload Me
End Sub
Private Sub Picture2_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Picture2.Picture = LoadPicture(App.Path & "\data\考试系统2.jpg")
Picture1.Picture = LoadPicture(App.Path & "\data\题库维护1.jpg")
End Sub
Private Sub Picture2_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Call strInit
frmStudent.Show
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -