Static idx As Integer = 0
Dim i As Integer = idx mod 2
If i = 0 Then
'执行代码
ElseIf i = 1 Then
End If
idx += 1