-
Notifications
You must be signed in to change notification settings - Fork 2
/
frmAbout.frm
172 lines (167 loc) · 5.4 KB
/
frmAbout.frm
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
VERSION 5.00
Begin VB.Form frmAbout
BackColor = &H00C0FFFF&
BorderStyle = 0 'None
Caption = "关于我的应用程序"
ClientHeight = 5475
ClientLeft = 2295
ClientTop = 1545
ClientWidth = 5730
ClipControls = 0 'False
Icon = "frmAbout.frx":0000
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3778.943
ScaleMode = 0 'User
ScaleWidth = 5380.766
StartUpPosition = 1 '所有者中心
Begin VB.PictureBox picIcon
AutoSize = -1 'True
ClipControls = 0 'False
Height = 540
Left = 240
Picture = "frmAbout.frx":1B692
ScaleHeight = 337.12
ScaleMode = 0 'User
ScaleWidth = 337.12
TabIndex = 1
Top = 2400
Width = 540
End
Begin VB.CommandButton cmdOK
Cancel = -1 'True
Caption = "确定"
Default = -1 'True
Height = 345
Left = 4080
TabIndex = 0
Top = 4680
Width = 1500
End
Begin VB.Image imgClose
Height = 450
Left = 5280
Picture = "frmAbout.frx":36D24
Stretch = -1 'True
Top = 0
Width = 450
End
Begin VB.Image imgTitle
Appearance = 0 'Flat
Height = 2145
Left = -480
Picture = "frmAbout.frx":3861C
Stretch = -1 'True
Top = 0
Width = 6615
End
Begin VB.Line Line1
BorderColor = &H00808080&
BorderStyle = 6 'Inside Solid
Index = 1
X1 = 112.686
X2 = 5337.57
Y1 = 2981.741
Y2 = 2981.741
End
Begin VB.Label lblDescription
BackStyle = 0 'Transparent
Caption = $"frmAbout.frx":3AD44
BeginProperty Font
Name = "微软雅黑"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 1290
Left = 1200
TabIndex = 2
Top = 3000
Width = 3885
End
Begin VB.Label lblTitle
BackStyle = 0 'Transparent
Caption = "化学e+学习软件"
BeginProperty Font
Name = "微软雅黑"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 480
Left = 1200
TabIndex = 4
Top = 2280
Width = 3885
End
Begin VB.Label lblVersion
BackStyle = 0 'Transparent
Caption = "版本"
BeginProperty Font
Name = "微软雅黑"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 345
Left = 1200
TabIndex = 5
Top = 2640
Width = 3885
End
Begin VB.Label lblDisclaimer
BackStyle = 0 'Transparent
Caption = "警告: 本作品受《中华人民共和国版权法》保护,若未经授权复制或传播其中任何部分,将追究法律责任。"
BeginProperty Font
Name = "微软雅黑"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 825
Left = 240
TabIndex = 3
Top = 4440
Width = 3630
End
End
Attribute VB_Name = "frmAbout"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdOK_Click()
Unload Me
End Sub
Private Sub Form_Load()
Me.Caption = "关于 " & App.Title
lblVersion.Caption = "版本 " & App.Major & "." & App.Minor & "." & App.Revision
lblTitle.Caption = App.Title
End Sub
Private Sub Form_MouseDown(Button As Integer, Shift As Integer, x As Single, Y As Single)
ReleaseCapture
SendMessage hwnd, WM_NCLBUTTONDOWN, HTCAPTION, 0&
End Sub
Private Sub imgClose_Click()
Unload Me
End Sub
Private Sub imgTitle_MouseDown(Button As Integer, Shift As Integer, x As Single, Y As Single)
ReleaseCapture
SendMessage hwnd, WM_NCLBUTTONDOWN, HTCAPTION, 0&
End Sub