-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfrmLogo.frm
More file actions
104 lines (103 loc) · 3.24 KB
/
frmLogo.frm
File metadata and controls
104 lines (103 loc) · 3.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
VERSION 5.00
Begin VB.Form frmLogo
Appearance = 0 'Flat
BackColor = &H80000005&
ClientHeight = 3360
ClientLeft = 60
ClientTop = 60
ClientWidth = 5415
ControlBox = 0 'False
LinkTopic = "Form1"
LockControls = -1 'True
Moveable = 0 'False
NegotiateMenus = 0 'False
ScaleHeight = 3360
ScaleWidth = 5415
ShowInTaskbar = 0 'False
StartUpPosition = 3 'Windows Default
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "欢迎使用"
BeginProperty Font
Name = "方正舒体"
Size = 42
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 930
Left = 270
TabIndex = 2
Top = 225
Width = 4590
End
Begin VB.Label lblUserName
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "IP 卡帐务管理系统"
BeginProperty Font
Name = "宋体"
Size = 26.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 525
Left = 285
TabIndex = 1
Top = 1455
Width = 4650
End
Begin VB.Label lblShowMessage
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "注 意:此程序为测试版 "
BeginProperty Font
Name = "宋体"
Size = 18
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF00FF&
Height = 360
Left = 705
TabIndex = 0
Top = 2775
Width = 4140
End
End
Attribute VB_Name = "frmLogo"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Form_Load()
'Dim sngBegin As Single
'BorderStyle = 3
'ControlBox = False
With lblShowMessage
.Caption = GetReg("RegName", "用户")
.Left = Int((Me.Width - .Width) / 2)
End With
'lblUserName.Left = Int((Me.Width - lblUserName.Width) / 2)
Picture = LoadResPicture(101, vbResBitmap)
Width = ScaleX(Picture.Width, vbHimetric, vbTwips) + (Width - ScaleWidth)
'Height = ScaleY(Picture.Height, vbHimetric, vbTwips) + (Height - ScaleHeight)
Move (Screen.Width - Width) / 2, (Screen.Height - Height) / 2
Show
'sngBegin = Timer
'Do While (Timer - sngBegin + 86400) Mod 86400 < 2
DoEvents
'Loop
'Unload Me
End Sub