📄 output2.frm
字号:
VERSION 5.00
Begin VB.Form output2
Caption = "Form1"
ClientHeight = 2496
ClientLeft = 48
ClientTop = 336
ClientWidth = 5616
LinkTopic = "Form1"
ScaleHeight = 2496
ScaleWidth = 5616
StartUpPosition = 3 '窗口缺省
Begin VB.OptionButton Option2
Caption = "总平均积点"
Height = 252
Left = 2520
TabIndex = 9
Top = 120
Width = 1332
End
Begin VB.OptionButton Option1
Caption = "学期积点"
Height = 252
Left = 600
TabIndex = 8
Top = 120
Width = 972
End
Begin VB.TextBox Text2
Height = 264
Left = 2160
TabIndex = 4
Top = 480
Width = 612
End
Begin VB.ComboBox Combo1
Height = 276
Left = 3960
TabIndex = 3
Top = 480
Width = 732
End
Begin VB.CommandButton Command2
Caption = "取消"
Height = 372
Left = 3000
TabIndex = 2
Top = 1320
Width = 1092
End
Begin VB.CommandButton Command1
Caption = "确定"
Height = 372
Left = 1320
TabIndex = 1
Top = 1320
Width = 972
End
Begin VB.TextBox Text1
Height = 264
Left = 840
TabIndex = 0
Top = 480
Width = 372
End
Begin VB.Label Label4
Caption = "学期"
Height = 252
Left = 3240
TabIndex = 7
Top = 480
Width = 492
End
Begin VB.Label Label2
Caption = "专业"
Height = 252
Left = 1560
TabIndex = 6
Top = 480
Width = 492
End
Begin VB.Label Label1
Caption = "年级"
Height = 252
Left = 240
TabIndex = 5
Top = 480
Width = 372
End
End
Attribute VB_Name = "output2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
myexit1 = "a"
Do
t9 = CStr(Text1.Text) + CStr(Text2.Text)
t10 = Combo1.Text
If Option1 = True Then
If Text1.Text = "" Or Text2.Text = "" Or Combo1.Text = "" Then
myexit1 = MsgBox("参数遗漏,请重新确认!", vbOKOnly)
If myexit1 = vbOK Then
Me.Hide
End If
Exit Do
End If
Dim f1 As New xqjd
f1.Show
Else: Option2 = True
If Text1.Text = "" Or Text2.Text = "" Then
myexit1 = MsgBox("参数遗漏,请重新确认!", vbOKOnly)
If myexit1 = vbOK Then
Me.Hide
End If
Exit Do
End If
Dim f2 As New zjd
f2.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
Private Sub Option2_Click()
Combo1.Enabled = False
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -