📄 frmgrade.frm
字号:
VERSION 5.00
Begin VB.Form frmGrade
BorderStyle = 1 'Fixed Single
Caption = "学生选课信息"
ClientHeight = 1620
ClientLeft = 5160
ClientTop = 3675
ClientWidth = 4065
Icon = "frmGrade.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1620
ScaleWidth = 4065
Begin VB.CommandButton Command2
Caption = "取消"
Height = 375
Left = 2160
TabIndex = 3
Top = 960
Width = 1455
End
Begin VB.CommandButton Command1
Caption = "确定"
Default = -1 'True
Height = 375
Left = 480
TabIndex = 2
Top = 960
Width = 1455
End
Begin VB.TextBox Text1
Appearance = 0 'Flat
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Left = 1200
TabIndex = 1
Top = 360
Width = 2535
End
Begin VB.Label Label1
Caption = "成绩:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 360
TabIndex = 0
Top = 360
Width = 735
End
End
Attribute VB_Name = "frmGrade"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
i = MsgBox("确定要修改么?", vbOKCancel + vbInformation, "消息")
If i = 1 Then
Unload Me
Else
frmStudentCourse.rsCourse.CancelUpdate
Unload Me
End If
End Sub
Private Sub Command2_Click()
frmStudentCourse.rsCourse.CancelUpdate
Unload Me
End Sub
Private Sub Form_Load()
Set Text1.DataSource = frmStudentCourse.rsCourse
Text1.DataField = "grade"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -