- 1、本文档共44页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
User-Centered Design and Testing Chapter 3 VB.NET Forms Introduction Development Basic 1960‘s simple Structured programming languages True Basic Quick Basic Turbo Basic Introduction Windows GUI Users:convenient(mouse) Programmers:difficult Visual programming General Visual designer Visual Basic Microsoft,1991 Visual Basic Visual What you see is what you get Fit for interface design Object-oriented Programming(OOP) encapsulation : data/program- object every object has properties Structured Programming goto endless loop logical strcuture Sub-procedure/ function Event-driven Programming Basics Event Event-driven Opp (object) Property Method Event VB most popular programming languages in the area of user interfaces. supports rapid prototyping of user interfaces, making it possible to test many aspects of a systems usability before its implementation is complete. Once you have learned to use Visual Basic, you will also be able to apply this approach to other languages and systems. Contents 3.1 Form’s Property, Method and Event 3.2 Mouse Event 3.3 Keyboard Event 3.1 Form’s Property, Method and Event Some Form’s Properties The form class has 54 public properties. How can we know what they are? Ordinary Properties Name Text Size/Location ForeColor/BackColor Cursor Dock Enabled/Visible Some Form’s Properties Some Form’s Properties We can use form’s properties to set or change the appearance of form at design time or run time, such as form’s back color. Me.BackColor = Color.Black() Some Form’s Methods The form class has 18 public methods. We will discuss Close, Hide, SetBounds, Show. Some Form’s Methods Some Form’s Methods Some Form’s Events The form class has 33 public events. We will discuss Click, FormClosed, FormClosing. Some Form’s Events Some Form’s Events Add Controls during Run Time The basic steps: Step1: Declare a control object. Step2: Create a new control object and initialize it. Step3: Add it into Controls collection. Step4: Ad
您可能关注的文档
- 高校教师教育技术专业发展new.ppt
- 高中生使用手机情况调查报告.ppt
- 高中英语知识结构网络图.ppt
- 格尔木智能会议系统.ppt
- 格式塔心理与界面设计.ppt
- 工业设计史[1].ppt
- 工作计划心得.ppt
- 公司介绍(2012.02).ppt
- 公司介绍_20100520.ppt
- 公司系统简介.ppt
- 2025年综合类-眼科(医学高级)-耳鼻咽喉科(医学高级)-诊断学基础历年真题摘选带答案(5卷单选题.docx
- 2025五一劳动节的作文400字12篇范文.docx
- 2025年综合类-站务员-票务、服务试题历年真题摘选带答案(5卷单选题100道).docx
- 2025年综合类-病理学技术(主管技师)-动物实验技术历年真题摘选带答案(5卷单选题百道集合).docx
- 2025年综合类-注册会计师-财务估价基础历年真题摘选带答案(5套单选100题合辑).docx
- 民航企业管理课件.pptx
- 宁德时代2025年新能源电池产能布局与充电基础设施配套研究报告.docx
- 跨境电商独立站运营模式创新:2025年行业创新驱动与核心竞争力研究报告.docx
- 2025年综合类-电力机车电工考试-中级机车电工历年真题摘选带答案(5卷-选择题).docx
- 传统手工艺产品展销中心供应链管理与物流配送策略报告.docx
文档评论(0)