Dim total AsInteger = 0
For Each ctrl As Control In Me.Controls
If TypeOf ctrl Is CheckBox Then
Dim cb As CheckBox = CType(ctrl, CheckBox)
If cb.Checked Then
total += CInt(cb.Text)
EndIf
End If
Next
Debug.WriteLine("Total seleccionado: " + total.ToString)