Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Commit f52cc43

Browse files
committed
update a little
1 parent 9faca0e commit f52cc43

File tree

7 files changed

+42
-42
lines changed

7 files changed

+42
-42
lines changed

Chemistry.vbp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,16 @@ ExeName32="Chemistry.exe"
2323
Command32=""
2424
Name="ChemicalTools"
2525
HelpContextID="0"
26+
Description="Chemical Tools"
2627
CompatibleMode="0"
27-
MajorVer=1
28+
MajorVer=2
2829
MinorVer=0
29-
RevisionVer=0
30-
AutoIncrementVer=0
30+
RevisionVer=3
31+
AutoIncrementVer=1
3132
ServerSupportFiles=0
32-
VersionCompanyName="����ʦ����ѧ"
33+
VersionCompanyName="����ʦ����ѧ�Ŷ�һ��"
34+
VersionFileDescription="Chemical Tools"
35+
VersionProductName="Chemical Tools"
3336
CompilationType=0
3437
OptimizationType=0
3538
FavorPentiumPro(tm)=0
@@ -45,3 +48,4 @@ Unattended=0
4548
Retained=0
4649
ThreadPerObject=0
4750
MaxNumberOfThreads=1
51+
DebugStartupOption=0

Chemistry.vbw

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
frmMain = 212, 151, 740, 562, , 298, 28, 891, 616, C
2-
modCalculate = -25, 70, 902, 494,
3-
modData = 180, -16, 1045, 526,
4-
frmElement = 34, 92, 920, 532, , 104, 104, 990, 544, C
5-
frmMass = 214, 191, 1104, 631, , 325, 116, 1211, 610, C
6-
modUI = -2, 379, 884, 815,
7-
modMain = 199, 274, 1085, 714,
8-
modExam = 40, 26, 926, 466,
9-
frmExam = 162, 158, 1093, 598, , 133, 77, 1019, 548, C
1+
frmMain = 212, 151, 740, 562, C, 298, 28, 891, 616, C
2+
modCalculate = -25, 70, 902, 494, C
3+
modData = 180, -16, 1045, 526, C
4+
frmElement = 34, 92, 920, 532, C, 104, 104, 990, 544, C
5+
frmMass = 214, 191, 1104, 631, C, 43, 123, 929, 617, C
6+
modUI = -2, 379, 884, 815, C
7+
modMain = 194, 289, 1080, 729, C
8+
modExam = 40, 26, 926, 466, C
9+
frmExam = 162, 158, 1093, 598, C, 133, 77, 1019, 548, C
1010
frmAbout = 104, 104, 989, 544, , 156, 142, 1042, 596, C
11-
frmOptions = 160, 118, 1046, 558, , 108, 6, 994, 564, C
12-
frmLogin = 208, 208, 735, 632, Z, 74, 117, 601, 541, C
13-
frmSignUp = 0, 0, 527, 424, , 499, 63, 1026, 487, C
11+
frmOptions = 160, 118, 1046, 558, C, 108, 6, 994, 564, C
12+
frmLogin = 208, 208, 735, 632, C, 74, 117, 601, 541, C
13+
frmSignUp = 0, 0, 527, 424, C, 499, 63, 1026, 487, C

frmAbout.frm

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ Begin VB.Form frmAbout
2020
Begin VB.PictureBox picIcon
2121
AutoSize = -1 'True
2222
ClipControls = 0 'False
23-
Height = 540
23+
Height = 780
2424
Left = 240
2525
Picture = "frmAbout.frx":1B692
26-
ScaleHeight = 337.12
26+
ScaleHeight = 505.68
2727
ScaleMode = 0 'User
28-
ScaleWidth = 337.12
28+
ScaleWidth = 505.68
2929
TabIndex = 1
30-
Top = 2160
31-
Width = 540
30+
Top = 2040
31+
Width = 780
3232
End
3333
Begin VB.CommandButton cmdOK
3434
Cancel = -1 'True
@@ -43,7 +43,7 @@ Begin VB.Form frmAbout
4343
Begin VB.Image imgClose
4444
Height = 450
4545
Left = 5280
46-
Picture = "frmAbout.frx":1B99C
46+
Picture = "frmAbout.frx":36D24
4747
Stretch = -1 'True
4848
Top = 0
4949
Width = 450
@@ -52,7 +52,7 @@ Begin VB.Form frmAbout
5252
Appearance = 0 'Flat
5353
Height = 2145
5454
Left = -720
55-
Picture = "frmAbout.frx":1CE90
55+
Picture = "frmAbout.frx":38218
5656
Stretch = -1 'True
5757
Top = -240
5858
Width = 7575
@@ -68,7 +68,7 @@ Begin VB.Form frmAbout
6868
End
6969
Begin VB.Label lblDescription
7070
BackStyle = 0 'Transparent
71-
Caption = "本作品为华东师范大学本科生计算机应用能力大赛参赛作品,由团队一号设计。"
71+
Caption = $"frmAbout.frx":439B2
7272
BeginProperty Font
7373
Name = "微软雅黑"
7474
Size = 9
@@ -79,10 +79,10 @@ Begin VB.Form frmAbout
7979
Strikethrough = 0 'False
8080
EndProperty
8181
ForeColor = &H00000000&
82-
Height = 810
83-
Left = 960
82+
Height = 1170
83+
Left = 1200
8484
TabIndex = 2
85-
Top = 3360
85+
Top = 2880
8686
Width = 3885
8787
End
8888
Begin VB.Label lblTitle
@@ -99,9 +99,9 @@ Begin VB.Form frmAbout
9999
EndProperty
100100
ForeColor = &H00000000&
101101
Height = 480
102-
Left = 960
102+
Left = 1200
103103
TabIndex = 4
104-
Top = 2160
104+
Top = 2040
105105
Width = 3885
106106
End
107107
Begin VB.Label lblVersion
@@ -117,9 +117,9 @@ Begin VB.Form frmAbout
117117
Strikethrough = 0 'False
118118
EndProperty
119119
Height = 345
120-
Left = 960
120+
Left = 1200
121121
TabIndex = 5
122-
Top = 2760
122+
Top = 2520
123123
Width = 3885
124124
End
125125
Begin VB.Label lblDisclaimer
@@ -170,4 +170,3 @@ Private Sub imgTitle_MouseDown(Button As Integer, Shift As Integer, x As Single,
170170
ReleaseCapture
171171
SendMessage hwnd, WM_NCLBUTTONDOWN, HTCAPTION, 0&
172172
End Sub
173-

frmAbout.frx

109 KB
Binary file not shown.

mdb/User.mdb

0 Bytes
Binary file not shown.

modData.bas

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,7 @@ Public Function dataSettingDir()
132132
Call dataSettingWrite("Exam", "ScoreMax", "0")
133133
Call dataSettingWrite("Exam", "ScoreName", "N/A")
134134
Call dataSettingWrite("Exam", "ScoreTime", "N/A")
135-
End If
136-
End Function
137-
138-
Public Function dataSettingLoad()
139-
If dataDir(dataSettingPath) = True Then
140-
ExamScoreMaxAll = Int(Val(dataSettingRead("Exam", "ScoreMax")))
141-
ExamScoreNameAll = dataSettingRead("Exam", "ScoreName")
142-
ExamScoreTimeAll = dataSettingRead("Exam", "ScoreTime")
135+
Call dataSettingWrite("History", "HisUsername", "")
143136
End If
144137
End Function
145138

@@ -173,7 +166,12 @@ Public Function dataScoreSave(Username As String)
173166
End Function
174167

175168
Public Function dataHistoryRead()
176-
HisUsername = dataSettingRead("History", "Username")
169+
If dataDir(dataSettingPath) = True Then
170+
ExamScoreMaxAll = Int(Val(dataSettingRead("Exam", "ScoreMax")))
171+
ExamScoreNameAll = dataSettingRead("Exam", "ScoreName")
172+
ExamScoreTimeAll = dataSettingRead("Exam", "ScoreTime")
173+
HisUsername = dataSettingRead("History", "Username")
174+
End If
177175
End Function
178176

179177
Public Function dataLogin(Username As String, Password As String) As Boolean

modMain.bas

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ Attribute VB_Name = "modMain"
22
Sub Main()
33
Call dataBaseDir
44
Call dataSettingDir
5-
Call dataSettingLoad
65
Call dataHistoryRead
76
Load frmLogin
87
frmLogin.Show

0 commit comments

Comments
 (0)