📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
BackColor = &H00FFFFFF&
BorderStyle = 4 'Fixed ToolWindow
Caption = "Form1"
ClientHeight = 6000
ClientLeft = 5565
ClientTop = 2070
ClientWidth = 5550
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
Picture = "Form1.frx":0000
ScaleHeight = 6000
ScaleWidth = 5550
ShowInTaskbar = 0 'False
Begin VB.CommandButton Command7
Caption = "退出系统"
Height = 495
Left = 240
TabIndex = 6
Top = 4560
Width = 1815
End
Begin VB.CommandButton Command6
Caption = "学生成绩查询"
Height = 495
Left = 240
TabIndex = 5
Top = 3720
Width = 1815
End
Begin VB.CommandButton Command5
Caption = "修改学生成绩"
Height = 495
Left = 240
TabIndex = 4
Top = 3000
Width = 1815
End
Begin VB.CommandButton Command4
Caption = "学生成绩登记"
Height = 495
Left = 240
TabIndex = 3
Top = 2280
Width = 1815
End
Begin VB.CommandButton Command3
Caption = "删除学生信息"
Height = 495
Left = 240
TabIndex = 2
Top = 1560
Width = 1815
End
Begin VB.CommandButton Command2
Caption = "修改学生信息"
Height = 495
Left = 240
TabIndex = 1
Top = 840
Width = 1815
End
Begin VB.CommandButton Command1
Caption = "学生信息登记"
Height = 495
Left = 240
TabIndex = 0
Top = 120
Width = 1815
End
Begin VB.Label Label1
Caption = "电信022班 李悦 02043052"
BeginProperty Font
Name = "华文行楷"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 975
Left = 3600
TabIndex = 7
Top = 4200
Width = 1575
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Form2.Show
Form1.Hide
Form2.Command3.Enabled = False
Form2.Command4.Visible = False
ModifyStFlag2 = False
End Sub
Private Sub Command2_Click()
Form1.Hide
Form3.Refresh
Form3.Show
Form3.Command2.Enabled = False
Form3.Label2.Visible = False
MsgBox "请先输入所要修改的学生的学号!", vbOKOnly, "提示!"
End Sub
Private Sub Command3_Click()
Form1.Hide
Form3.Refresh
Form3.Show
Form3.Command1.Enabled = False
Form3.Label1.Visible = False
MsgBox "请先输入所要删除的学生的学号!", vbOKOnly, "提示!"
End Sub
Private Sub Command4_Click()
Form1.Hide
Form4.Show
Form4.Command2.Enabled = False
Form4.Command4.Visible = False
End Sub
Private Sub Command5_Click()
Form1.Hide
Form5.Refresh
Form5.Show
Form5.Command2.Enabled = False
'Form5.Label2.Visible = False
MsgBox "请先输入所要修改的学生的学号!", vbOKOnly, "提示!"
End Sub
Private Sub Command6_Click()
Form1.Hide
Form6.Show
Form6.MSFlexGrid1.Visible = False
Form6.Frame2.Visible = False
Form6.Frame3.Visible = False
Form6.Frame4.Visible = False
End Sub
Private Sub Command7_Click()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -