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