📄 student marks.frm
字号:
VERSION 5.00
Begin VB.Form Form1
BackColor = &H00808080&
Caption = "Form1"
ClientHeight = 3090
ClientLeft = 60
ClientTop = 450
ClientWidth = 7845
LinkTopic = "Form1"
ScaleHeight = 11010
ScaleWidth = 15240
StartUpPosition = 3 'Windows Default
Begin VB.TextBox TXTGRADE
Height = 495
Left = 2640
TabIndex = 21
Top = 8160
Width = 1575
End
Begin VB.TextBox TXTPER
Height = 495
Left = 2640
TabIndex = 20
Top = 7440
Width = 1575
End
Begin VB.TextBox TXTTOT
Height = 495
Left = 2640
TabIndex = 19
Top = 6720
Width = 1575
End
Begin VB.TextBox TXTIP
Height = 495
Left = 7080
TabIndex = 18
Top = 4800
Width = 1335
End
Begin VB.TextBox TXTBST
Height = 495
Left = 5280
TabIndex = 17
Top = 4800
Width = 1335
End
Begin VB.TextBox TXTECO
Height = 495
Left = 3600
TabIndex = 16
Top = 4800
Width = 1455
End
Begin VB.TextBox TXTACC
Height = 495
Left = 1920
TabIndex = 15
Top = 4800
Width = 1335
End
Begin VB.TextBox TXTENG
Height = 495
Left = 360
TabIndex = 14
Top = 4800
Width = 1335
End
Begin VB.TextBox TXTNAME
Height = 615
Left = 4560
TabIndex = 13
Top = 1920
Width = 4095
End
Begin VB.TextBox TXTROLLNO
Height = 615
Left = 4560
TabIndex = 12
Top = 1080
Width = 2295
End
Begin VB.CommandButton Command1
Caption = "CALCULATE"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 1095
Left = 2640
TabIndex = 9
Top = 5400
Width = 3135
End
Begin VB.Label Label12
Caption = "STUDENT DETAILS"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 975
Left = 2880
TabIndex = 22
Top = 0
Width = 3615
End
Begin VB.Label Label11
Caption = "GRADE"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 240
TabIndex = 11
Top = 8160
Width = 1935
End
Begin VB.Label Label10
Caption = "PERCENTAGE"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 240
TabIndex = 10
Top = 7440
Width = 1935
End
Begin VB.Label Label9
Caption = "TOTAL MARKS"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 240
TabIndex = 8
Top = 6720
Width = 1935
End
Begin VB.Label Label8
Caption = "IP"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 7080
TabIndex = 7
Top = 3960
Width = 1335
End
Begin VB.Label Label7
Caption = "BST"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 5280
TabIndex = 6
Top = 3960
Width = 1335
End
Begin VB.Label Label6
Caption = "ECONOMICS"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 3600
TabIndex = 5
Top = 3960
Width = 1455
End
Begin VB.Label Label5
Caption = "ACCOUNTS"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 1920
TabIndex = 4
Top = 3960
Width = 1335
End
Begin VB.Label Label4
Caption = "ENGLISH"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 360
TabIndex = 3
Top = 3960
Width = 1335
End
Begin VB.Label Label3
Caption = "MARKS"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 3360
TabIndex = 2
Top = 3120
Width = 2655
End
Begin VB.Label Label2
Caption = "NAME"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 960
TabIndex = 1
Top = 1920
Width = 2655
End
Begin VB.Label Label1
Caption = "ROLL NUMBER"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 960
TabIndex = 0
Top = 1080
Width = 2655
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()
Dim ROLL As Integer
Dim ENAME As Integer
Dim ENGMARK, ACCMARK, ECOMARK, BSTMARK, IPMARK As Integer
Dim TOTALMARK, PERCENTAGE As Double
ROLL = Val(TXTROLLNO.Text)
ENGMARK = Val(TXTENG.Text)
ACCMARK = Val(TXTACC.Text)
ECOMARK = Val(TXTECO.Text)
BSTMARK = Val(TXTBST.Text)
IPMARK = Val(TXTIP.Text)
TOTMARK = FUN_TOT(ENGMARK, ACCMARK, ECOMARK, BSTMARK, IPMARK)
PERCENTAGE = FUN_PER(TOTMARK)
TXTTOT.Text = TOTMARK
TXTPER.Text = PERCENTAGE
TXTmnGRADE.Text = FUN_GRADE(PERCENTAGE)
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -