vb.net从8个CheckBox中挑出那几个被选中 5
PrivateSub考试窗口提示_Load(senderAsObject,eAsEventArgs)HandlesMyBase.LoadDima,bAsIntegerFo...
Private Sub 考试窗口提示_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim a, b As Integer
For a = 1 To 8
If Form1.CheckBox(a).Visible = True Then
b = ++1
TextBox1.Text = b
End If
Next
End Sub
现在报错说Form1.CheckBox(a)有问题,那位大神能给我改正一下 展开
Dim a, b As Integer
For a = 1 To 8
If Form1.CheckBox(a).Visible = True Then
b = ++1
TextBox1.Text = b
End If
Next
End Sub
现在报错说Form1.CheckBox(a)有问题,那位大神能给我改正一下 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询