為了下1個(gè)項(xiàng)目用的:
Form的Picture屬性:圖片背景
Label的alignment屬性:內(nèi)容居右
對(duì)布爾變量的交互使用
if Not firstflag Then
If Not res Then
dataout.Caption = "" '當(dāng)點(diǎn)擊第1個(gè)數(shù)字時(shí)
dataout.Caption = dataout.Caption & Index
Else
dataout.Caption = Index
res = False
End If
firstflag = True
Else '當(dāng)點(diǎn)擊不是第1次時(shí)
If Not res Then
'dataout.Caption = ""
dataout.Caption = dataout.Caption & Index
Else
dataout.Caption = Index
res = False
End If
End If
關(guān)于不等的利用:
If (dataout.Caption <> "") Then
End if
毛病緣由:未寫endif