📄 input3.frm
字号:
VERSION 5.00
Begin VB.Form input3
Caption = "Form1"
ClientHeight = 2496
ClientLeft = 48
ClientTop = 336
ClientWidth = 3744
LinkTopic = "Form1"
ScaleHeight = 2496
ScaleWidth = 3744
StartUpPosition = 3 '窗口缺省
Begin VB.ComboBox Combo1
Height = 276
Left = 2040
TabIndex = 6
Top = 960
Width = 672
End
Begin VB.OptionButton Option3
Caption = "重修"
Height = 372
Left = 2400
TabIndex = 5
Top = 360
Width = 1092
End
Begin VB.OptionButton Option2
Caption = "输修"
Height = 372
Left = 1320
TabIndex = 4
Top = 360
Width = 852
End
Begin VB.OptionButton Option1
Caption = "补考"
Height = 372
Left = 360
TabIndex = 3
Top = 360
Width = 732
End
Begin VB.CommandButton Command2
Caption = "取消"
Height = 372
Left = 2040
TabIndex = 1
Top = 1560
Width = 972
End
Begin VB.CommandButton Command1
Caption = "确定"
Height = 372
Left = 720
TabIndex = 0
Top = 1560
Width = 852
End
Begin VB.Label Label1
Caption = "学期"
Height = 252
Left = 1200
TabIndex = 2
Top = 960
Width = 492
End
End
Attribute VB_Name = "input3"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
t6 = Combo1.Text
myexit1 = "a"
Do
If Combo1.Text = "" Then
myexit1 = MsgBox("参数遗漏!", vbOKOnly)
If myexit1 = vbOK Then
Unload Me
Exit Do
End If
End If
If Option1 = True Then
Dim f1 As New bkscore
f1.Show
End If
If Option2 = True Then
Dim f2 As New cxscore
f2.Show
End If
If Option3 = True Then
Dim f3 As New fxscore
f3.Show
End If
Loop While myexit1 <> "a"
End Sub
Private Sub Command2_Click()
Me.Hide
End Sub
Private Sub Form_Load()
Combo1.AddItem "1"
Combo1.AddItem "2"
Combo1.AddItem "3"
Combo1.AddItem "4"
Combo1.AddItem "5"
Combo1.AddItem "6"
Combo1.AddItem "7"
Combo1.AddItem "8"
Option1 = True
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -