请输入专案类型(网站专案或者应用程式专案):
visual studio 2013
我正在做一个背英文单字的程式
其中有一块是单字测验
在测验里面我是用combobox来选择选项
而选完之后就要按button来交
每一题答对会让总得分加一分
但是我弄出来他的得分都不会累加
只会跑出单次的分数
请问要怎么写才能让分数累加呢>_<
我的程式码
dim i as integer
select case combobox1.selectindex '日期
case 0
if combobox2.selectindex = 0 then i = i + 1
if combobox3.selectindex = 0 then i = i + 1
case 1
if combobox2.selectindex = 1 then i = i + 1
if combobox3.selectindex = 1 then i = i + 1
end select
label14.text = i