📄 xie.frm
字号:
End
Begin VB.Line Line10
X1 = 11160
X2 = 14280
Y1 = 1560
Y2 = 1560
End
Begin VB.Line Line9
X1 = 11160
X2 = 14280
Y1 = 3360
Y2 = 3360
End
Begin VB.Line Line3
X1 = 13680
X2 = 13680
Y1 = 1200
Y2 = 3720
End
Begin VB.Line Line2
X1 = 12120
X2 = 12120
Y1 = 1200
Y2 = 3720
End
Begin VB.Line Line1
BorderColor = &H000040C0&
BorderWidth = 2
X1 = 12720
X2 = 12720
Y1 = 1200
Y2 = 3720
End
Begin VB.Label Label29
Alignment = 2 'Center
BackColor = &H80000009&
Height = 375
Left = 13680
TabIndex = 32
Top = 1560
Width = 615
End
Begin VB.Label Label28
Alignment = 2 'Center
BackColor = &H80000009&
Caption = "最低分"
Height = 375
Left = 12720
TabIndex = 31
Top = 1560
Width = 975
End
Begin VB.Label Label27
Alignment = 2 'Center
BackColor = &H80000009&
Height = 375
Left = 12120
TabIndex = 30
Top = 1560
Width = 615
End
Begin VB.Label Label26
Alignment = 2 'Center
BackColor = &H00FFFFFF&
Caption = "最高分"
Height = 375
Left = 11160
TabIndex = 29
Top = 1560
Width = 975
End
Begin VB.Line Line8
X1 = 11160
X2 = 14280
Y1 = 3000
Y2 = 3000
End
Begin VB.Line Line7
X1 = 11160
X2 = 14280
Y1 = 2640
Y2 = 2640
End
Begin VB.Line Line6
X1 = 11160
X2 = 14280
Y1 = 2280
Y2 = 2280
End
Begin VB.Line Line5
X1 = 11160
X2 = 14280
Y1 = 1920
Y2 = 1920
End
Begin VB.Line Line4
X1 = 11160
X2 = 14280
Y1 = 1560
Y2 = 1560
End
Begin VB.Label Label25
Alignment = 2 'Center
BackColor = &H00E0E0E0&
Height = 375
Left = 13680
TabIndex = 28
Top = 3360
Width = 615
End
Begin VB.Label Label24
Alignment = 2 'Center
BackColor = &H00E0E0E0&
Caption = "10以下"
Height = 375
Left = 12720
TabIndex = 27
Top = 3360
Width = 975
End
Begin VB.Label Label23
Alignment = 2 'Center
BackColor = &H00E0E0E0&
Height = 375
Left = 13680
TabIndex = 26
Top = 1200
Width = 615
End
Begin VB.Label Label22
Alignment = 2 'Center
BackColor = &H00E0E0E0&
Caption = "平均分"
Height = 375
Left = 12720
TabIndex = 25
Top = 1200
Width = 975
End
Begin VB.Label Label21
Alignment = 2 'Center
BackColor = &H00E0E0E0&
Height = 375
Left = 13680
TabIndex = 24
Top = 1920
Width = 615
End
Begin VB.Label Label20
Alignment = 2 'Center
BackColor = &H80000009&
Height = 375
Left = 13680
TabIndex = 23
Top = 2280
Width = 615
End
Begin VB.Label Label19
Alignment = 2 'Center
BackColor = &H00E0E0E0&
Height = 375
Left = 13680
TabIndex = 22
Top = 2640
Width = 615
End
Begin VB.Label Label18
Alignment = 2 'Center
BackColor = &H80000009&
Height = 375
Left = 13680
TabIndex = 21
Top = 3000
Width = 615
End
Begin VB.Label Label17
Alignment = 2 'Center
BackColor = &H00E0E0E0&
Height = 375
Left = 12120
TabIndex = 20
Top = 3360
Width = 615
End
Begin VB.Label Label16
BackColor = &H80000009&
Height = 375
Left = 12120
TabIndex = 19
Top = 3000
Width = 615
End
Begin VB.Label Label15
Alignment = 2 'Center
BackColor = &H00E0E0E0&
Height = 375
Left = 12120
TabIndex = 18
Top = 2640
Width = 615
End
Begin VB.Label Label14
Alignment = 2 'Center
BackColor = &H00FFFFFF&
Height = 375
Left = 12120
TabIndex = 17
Top = 2280
Width = 615
End
Begin VB.Label Label13
Alignment = 2 'Center
BackColor = &H00E0E0E0&
Height = 375
Left = 12120
TabIndex = 16
Top = 1920
Width = 615
End
Begin VB.Label Label12
Alignment = 2 'Center
BackColor = &H00E0E0E0&
Height = 375
Left = 12120
TabIndex = 15
Top = 1200
Width = 615
End
Begin VB.Label Label11
Alignment = 2 'Center
BackColor = &H00E0E0E0&
Caption = "80-90"
Height = 375
Left = 12720
TabIndex = 14
Top = 1920
Width = 975
End
Begin VB.Label Label10
Alignment = 2 'Center
BackColor = &H00FFFFFF&
Caption = "60-70"
Height = 375
Left = 12720
TabIndex = 13
Top = 2280
Width = 975
End
Begin VB.Label Label9
Alignment = 2 'Center
BackColor = &H00E0E0E0&
Caption = "40-50"
Height = 375
Left = 12720
TabIndex = 12
Top = 2640
Width = 975
End
Begin VB.Label Label8
Alignment = 2 'Center
BackColor = &H00FFFFFF&
Caption = "20-30"
Height = 375
Left = 12720
TabIndex = 11
Top = 3000
Width = 975
End
Begin VB.Label Label7
Alignment = 2 'Center
BackColor = &H00E0E0E0&
Caption = "10-20"
Height = 375
Left = 11160
TabIndex = 10
Top = 3360
Width = 975
End
Begin VB.Label Label6
Alignment = 2 'Center
BackColor = &H00FFFFFF&
Caption = "30-40"
Height = 375
Left = 11160
TabIndex = 9
Top = 3000
Width = 975
End
Begin VB.Label Label5
Alignment = 2 'Center
BackColor = &H00E0E0E0&
Caption = "50-60"
Height = 375
Left = 11160
TabIndex = 8
Top = 2640
Width = 975
End
Begin VB.Label Label4
Alignment = 2 'Center
BackColor = &H00FFFFFF&
Caption = "70-80"
Height = 375
Left = 11160
TabIndex = 7
Top = 2280
Width = 975
End
Begin VB.Label Label3
Alignment = 2 'Center
BackColor = &H00E0E0E0&
Caption = "90以上"
Height = 375
Left = 11160
TabIndex = 6
Top = 1920
Width = 975
End
Begin VB.Label Label1
Alignment = 2 'Center
BackColor = &H00E0E0E0&
Caption = "总人数"
Height = 375
Left = 11160
TabIndex = 5
Top = 1200
Width = 975
End
Begin VB.Shape Shape4
BorderColor = &H000040C0&
BorderWidth = 8
Height = 2535
Left = 11160
Top = 1200
Width = 3135
End
Begin VB.Shape Shape3
BorderColor = &H00C00000&
BorderWidth = 2
Height = 375
Left = 11160
Top = 720
Width = 1335
End
Begin VB.Label Label2
BackColor = &H00FFFFC0&
Caption = "小报告:"
BeginProperty Font
Name = "华文彩云"
Size = 15.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000C0&
Height = 375
Left = 11160
TabIndex = 4
Top = 720
Width = 1335
End
Begin VB.Shape Shape1
BorderColor = &H000080FF&
BorderStyle = 5 'Dash-Dot-Dot
Height = 9015
Left = 600
Top = 1200
Width = 9015
End
Begin VB.Shape Shape2
BorderColor = &H000080FF&
BorderStyle = 5 'Dash-Dot-Dot
BorderWidth = 3
Height = 9255
Left = 0
Top = 1200
Width = 9615
End
End
Attribute VB_Name = "xie"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub close_Click()
main.Show
Unload Me
End Sub
Private Sub Form_Load()
Me.Width = Screen.Width
Me.Height = Screen.Height
Me.Left = 0
Me.Top = 0
Adodc1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;Data Source=" + App.Path + "\aa.mdb"
Adodc1.RecordSource = "成绩记录"
Adodc1.Refresh
End Sub
Private Sub search_Click()
Dim s As String
s = " where 学号 is not null"
If (class <> "") Then s = s & "and 课程名称 like '%" + class.Text + "%'"
If (grade <> "") Then s = s & "and 班级 like '%" + grade.Text + "%'"
If (name1 <> "") Then s = s & "and 姓名 like '%" + name1.Text + "%'"
If (number <> "") Then s = s & "and 学号 like '%" + number.Text + "%'"
Adodc1.RecordSource = "select * from 成绩记录" & s
Adodc1.Refresh
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -