📄 output1.frm
字号:
VERSION 5.00
Begin VB.Form output1
Caption = "Form1"
ClientHeight = 2496
ClientLeft = 48
ClientTop = 336
ClientWidth = 5148
LinkTopic = "Form1"
ScaleHeight = 2496
ScaleWidth = 5148
StartUpPosition = 3 '窗口缺省
Begin VB.OptionButton Option4
Caption = "重修"
Height = 372
Left = 4080
TabIndex = 13
Top = 240
Width = 732
End
Begin VB.OptionButton Option3
Caption = "输修"
Height = 372
Left = 3000
TabIndex = 12
Top = 240
Width = 852
End
Begin VB.OptionButton Option2
Caption = "选修"
Height = 372
Left = 1920
TabIndex = 11
Top = 240
Width = 732
End
Begin VB.OptionButton Option1
Caption = "必修"
Height = 372
Left = 840
TabIndex = 10
Top = 240
Width = 732
End
Begin VB.TextBox Text1
Height = 264
Left = 600
TabIndex = 5
Top = 840
Width = 372
End
Begin VB.TextBox Text3
Height = 264
Left = 3000
TabIndex = 4
Top = 840
Width = 372
End
Begin VB.CommandButton Command1
Caption = "确定"
Height = 372
Left = 960
TabIndex = 3
Top = 1440
Width = 972
End
Begin VB.CommandButton Command2
Caption = "取消"
Height = 372
Left = 2880
TabIndex = 2
Top = 1440
Width = 1092
End
Begin VB.ComboBox Combo1
Height = 276
Left = 4200
TabIndex = 1
Top = 840
Width = 732
End
Begin VB.TextBox Text2
Height = 264
Left = 1680
TabIndex = 0
Top = 840
Width = 612
End
Begin VB.Label Label1
Caption = "年级"
Height = 252
Left = 0
TabIndex = 9
Top = 840
Width = 372
End
Begin VB.Label Label2
Caption = "专业"
Height = 252
Left = 1080
TabIndex = 8
Top = 840
Width = 492
End
Begin VB.Label Label3
Caption = "班"
Height = 252
Left = 2400
TabIndex = 7
Top = 840
Width = 372
End
Begin VB.Label Label4
Caption = "学期"
Height = 252
Left = 3600
TabIndex = 6
Top = 840
Width = 492
End
End
Attribute VB_Name = "output1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
myexit1 = "a"
Do
If Text1.Text = "" Or Text2.Text = "" Or Text3.Text = "" Or Combo1.Text = "" Then
myexit1 = MsgBox("参数遗漏,请重新确认!", vbOKOnly)
If myexit1 = vbOK Then
Me.Hide
End If
Exit Do
End If
t7 = CStr(Text1.Text) + CStr(Text2.Text) + CStr(Text3.Text)
t8 = Combo1.Text
If Option1 = True Then
Dim f1 As New bxcount
f1.Show
End If
If Option2 = True Then
Dim f2 As New xxcount
f2.Show
End If
If Option3 = True Then
Dim f3 As New fxcount
f3.Show
End If
If Option4 = True Then
Dim f4 As New cxcount
f4.Show
End If
Loop While myexit1 <> "a"
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Form_Load()
Option1 = True
Combo1.AddItem "1"
Combo1.AddItem "2"
Combo1.AddItem "3"
Combo1.AddItem "4"
Combo1.AddItem "5"
Combo1.AddItem "6"
Combo1.AddItem "7"
Combo1.AddItem "8"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -