我想请教一个VB方面的问题!
Static a, b, s
s = s + 1
If s = 1 Then
a = Image1.Width
Image1.Width = a
b = Image1.Height
Image1.Height = b
Else
Image1.Width = a
a = Image1.Width
Image1.Height = b
b = Image1.Height
End If
Image1.Width = a + HScroll1.Value
Image1.Height = b + HScroll1.Value
End Sub
大家看这段代码,其中选择语句里的a = Image1.Width
Image1.Width = a
else
Image1.Width = a
a = Image1.Width
end if
我怎么就是看不懂什么意思,有谁能指点指点我吗?