📄 frmsplash.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form frmSplash
BackColor = &H00FFFFFF&
BorderStyle = 5 'Sizable ToolWindow
ClientHeight = 4035
ClientLeft = 270
ClientTop = 1425
ClientWidth = 6510
ClipControls = 0 'False
ControlBox = 0 'False
Icon = "frmSplash.frx":0000
KeyPreview = -1 'True
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
Picture = "frmSplash.frx":27A2
ScaleHeight = 4035
ScaleWidth = 6510
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin MSAdodcLib.Adodc Adodc1
Height = 330
Left = 1920
Top = 2880
Visible = 0 'False
Width = 2175
_ExtentX = 3836
_ExtentY = 582
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 2
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 3
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "DSN=dzqch"
OLEDBString = ""
OLEDBFile = ""
DataSourceName = "dzqch"
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "sysdak"
Caption = "Adodc1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin VB.CommandButton Command2
BackColor = &H00C0E0FF&
Caption = "退出"
Height = 210
Left = 120
Style = 1 'Graphical
TabIndex = 1
Top = 3480
Width = 1335
End
Begin VB.CommandButton Command1
BackColor = &H00C0FFFF&
Caption = "登录"
Height = 210
Left = 120
Style = 1 'Graphical
TabIndex = 0
Top = 3240
Width = 1335
End
Begin VB.Label Label4
Alignment = 2 'Center
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "欢 迎 使 用"
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 315
Left = 2040
TabIndex = 3
Top = 600
Width = 2415
End
Begin VB.Image Image1
Height = 825
Left = 840
Picture = "frmSplash.frx":D63C
Stretch = -1 'True
Top = 1080
Width = 4935
End
Begin VB.Line Line1
BorderColor = &H00FF0000&
BorderWidth = 2
X1 = 120
X2 = 7920
Y1 = 3240
Y2 = 3240
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "E-mail: GG3671@sina.com.cn"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 375
Left = 1560
TabIndex = 2
Top = 3480
Width = 5295
End
End
Attribute VB_Name = "frmSplash"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim ms As String
Option Explicit
Private Sub Command1_Click()
frmLogin.Show
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Form_Load()
'Shell App.Path & "\yshu.exe"
On Error Resume Next
Adodc1.Refresh
jl_qym = Adodc1.Recordset.Fields("qym")
jl_zg = Adodc1.Recordset.Fields("zg")
End Sub
Private Sub Form_Resize()
Image1.Width = Me.Width - Image1.Left * 2
'Frame1.Width = Me.Width - 200
Label3.Width = Me.Width - 400
'lblVersion.Left = Label1.Width / 2 - 1000
Label4.Width = Me.Width - Label4.Left * 2
'Label2.Width = Frame1.Width - 400
Line1.x2 = Me.Width
End Sub
Private Sub Timer1_Timer()
'imgLogo.Left = imgLogo.Left + 40
'If imgLogo.Left >= Me.ScaleWidth Then imgLogo.Left = -200
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -