vb学习笔记

时间:2015-05-01 14:50:57   收藏:0   阅读:193

技术分享

为了下一个项目用的:

FormPicture属性:图片背景

Labelalignment属性:内容居右

对于布尔变量的交互使用

if Not firstflag Then

            If Not res Then

                dataout.Caption = ""  ‘当点击第一个数字时

                dataout.Caption = dataout.Caption & Index

            Else

                dataout.Caption = Index

                res = False

            End If

            firstflag = True

            

Else                                ‘当点击不是第一次时

            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

 

原文:http://blog.csdn.net/u013457167/article/details/45418889

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!