新書推薦:
《
偿还:债务与财富的阴暗面
》
售價:HK$
80.2
《
清华大学藏战国竹简校释(壹):《命训》诸篇
》
售價:HK$
94.4
《
封建社会农民战争问题导论(光启文库)
》
售價:HK$
68.4
《
虚弱的反攻:开禧北伐
》
售價:HK$
92.0
《
泰山:一种中国信仰专论(法国汉学经典译丛)
》
售價:HK$
81.4
《
花外集斠箋
》
售價:HK$
151.0
《
有兽焉.8
》
售價:HK$
70.6
《
大学问·明清经济史讲稿
》
售價:HK$
70.8
|
內容簡介: |
本书自出版以来,深受读者欢迎,并被很多大学采用作为Visual
Basic程序设计的教材。本书不是粗略地论及众多主题,而是针对重要问题进行深入分析。全书共分为10章,主要内容包括:Visual
Basic简介、控件与事件,变量、输入和输出,分支结构,通用过程,循环结构,数组,其他控件和对象,面向对象编程,数据库,以及文本文件。全书给出了100多个示例和大量的习题,每章后面还提供了实践性很强的程序设计项目,帮助读者掌握所学知识。
|
目錄:
|
Chapter 1Visual Basic, Controls, and Events
1.1An Introduction to Visual Basic 2010
1.2Visual Basic Controls
1.3Visual Basic Events
Summary 33
Chapter 2Variables, Input, and Output
2.1Numbers
2.2Strings
2.3Input and Output
Summary 69
Chapter 3Decisions
3.1Relational and Logical Operators
3.2If Blocks
3.3Select Case Blocks
3.4Input via User Selection
Summary
Programming Projects 113
Chapter 4General Procedures
4.1Function Procedures
4.2Sub Procedures, Part I
4.3Sub Procedures, Part II
4.4Modular Design
4.5A Case Study:Weekly Payroll
Summary
Programming Projects 156
Chapter 5Repetition
5.1Do Loops
5.2For...Next Loops
5.3List Boxes and Loops
Summary
Programming Projects 189
Chapter 6Arrays
6.1Creating and Accessing Arrays
6.2Using LINQ with Arrays
6.3Arrays of Structures
6.4Two-Dimensional Arrays
6.5A Case Study: Analyze a Loan
Summary
Programming Projects 259
Chapter 7Additional Controls and Objects
7.1List Boxes and Combo Boxes
7.2Eight Additional Controls and Objects
7.3Multiple-Form Programs
7.4Graphics
Summary
Programming Projects 308
Chapter 8Object-Oriented Programming
8.1Classes and Objects
8.2Working with Objects
8.3Inheritance
Summary
Programming Projects 353
Chapter 9Databases
9.1An Introduction to Databases
9.2Editing and Designing Databases
Summary
Programming Projects 381
Chapter 10Text Files
10.1Managing Text Files
10.2StreamReaders, StreamWriters, and Structured Exception
Handling
10.3A Case Study: Recording Checks and Deposits
Summary
Programming Projects 420
Appendix AANSI Values 424
Appendix BHow To 426
Appendix CFiles and Folders 437
Appendix DVisual Basic Debugging Tools
|
|