VB教程培训教程文件.pptVIP

  • 3
  • 0
  • 约8.06千字
  • 约 65页
  • 2017-02-07 发布于江苏
  • 举报
VB教程培训教程文件

Visual Basic入门 第一章 引例 模仿幸运数字机的游戏,按旋转按钮,可在三个方框中产生三个随机数,当其中一个出现6时,便会产生一幅图案,如图所示。 引例代码 Private Sub Command1_Click() Image1.Visible = False Label1.Caption = Int(Rnd * 10) Label2.Caption = Int(Rnd * 10) Label3.Caption = Int(Rnd * 10) If (Label1.Caption = 6) Or (Label2.Caption = 6) Or (Label3.Caption = 6) Then Image1.Visible = True Beep End If End Sub Private Sub Command2_Click() End End Sub 本章内容 1.1 Visual Basic 简介 1.2 Visual Basic的安装与启动 1.3 简单VB应用程序设计的基本步骤 1.4 Visual Basic 的编程环境 1.5 VB的对象、属性、方法和事件 1.6 简单控件设计 1.7 VB的工程管理和环境设置 Visual Basic 简介 Visual Ba

文档评论(0)

1亿VIP精品文档

相关文档