第一章VB6.0概述讲解.pptVIP

  • 11
  • 0
  • 约6.51千字
  • 约 46页
  • 2017-03-20 发布于湖北
  • 举报
VB6.0的程序设计基本步骤 实例1 属性设置(窗体1及窗体1的相关控件) 对象名 属性名 属性值 Form1 Caption 用户登录 Label1 Caption 学生信息管理系统 Font 华文彩云、粗体、大小17 Label2 Caption 用户名 Label3 Caption 密码 Text1 名称 txtUserID text 空值(即什么都没有) Text2 名称 txtPassword text 空值(即什么都没有) PasswordChar Command1 Caption 确定 Command2 Caption 取消 VB6.0的程序设计基本步骤 实例1 代码设计 VB6.0的程序设计基本步骤 实例1 代码设计 Private Sub Command1_Click If LCase txtUserID.Text admin And LCase txtPassword.Text 123456 Then Unload Me Form2.Show End If End Sub Private Sub Command2_Click Unload Me End Sub VB6.0的程序设计基本步骤 实例1 程序运行 以下3种方法均可运行程序 选择【运行】?【启动】菜单命令 单击工具栏上的按钮 按功能键【F5】 程序结束运行 单击工具栏上的按钮

文档评论(0)

1亿VIP精品文档

相关文档