Đăng nhập
Hoặc tiếp tục với email
Nhớ mật khẩu
Đang tải... (xem toàn văn)
Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
THÔNG TIN TÀI LIỆU
Cấu trúc
Table of Contents
Introduction
PART I: The Visual Basic 2010 Environment
HOUR 1: Jumping in with Both Feet: A Visual Basic 2010 Programming Tour
Starting Visual Basic 2010
Creating a New Project
Understanding the Visual Studio 2010 Environment
Changing the Characteristics of Objects
Adding Controls to a Form
Designing an Interface
Writing the Code Behind an Interface
Running a Project
HOUR 2: Navigating Visual Basic 2010
Using the Visual Basic 2010 Start Page
Navigating and Customizing the Visual Basic Environment
Working with Toolbars
Adding Controls to a Form Using the Toolbox
Setting Object Properties Using the Properties Window
Managing Projects
A Quick-and-Dirty Programming Primer
Getting Help
HOUR 3: Understanding Objects and Collections
Understanding Objects
Understanding Properties
Understanding Methods
Building a Simple Object Example Project
Understanding Collections
Using the Object Browser
HOUR 4: Understanding Events
Understanding Event-Driven Programming
Building an Event Example Project
Keeping Event Names Current
PART II: Building a User Interface
HOUR 5: Building Forms: The Basics
Changing a Form’s Name
Changing a Form’s Appearance
Showing and Hiding Forms
HOUR 6: Building Forms: Advanced Techniques
Working with Controls
Creating Topmost Nonmodal Windows
Creating Transparent Forms
Creating Scrollable Forms
Creating MDI Forms
Setting the Startup Form
HOUR 7: Working with Traditional Controls
Displaying Static Text with the Label Control
Allowing Users to Enter Text Using a Text Box
Creating Buttons
Creating Containers and Groups of Option Buttons
Displaying a List with the List Box
Creating Drop-Down Lists Using the Combo Box
HOUR 8: Using Advanced Controls
Creating Timers
Creating Tabbed Dialog Boxes
Storing Pictures in an Image List Control
Building Enhanced Lists Using the List View Control
Creating Hierarchical Lists Using the Tree View Control
HOUR 9: Adding Menus and Toolbars to Forms
Building Menus
Using the Toolbar Control
Creating a Status Bar
PART III: Making Things Happen—Programming
HOUR 10: Creating and Calling Code Procedures
Creating Visual Basic Code Modules
Writing Code Procedures
Calling Code Procedures
Exiting Procedures
Avoiding Infinite Recursion
HOUR 11: Using Constants, Data Types, Variables, and Arrays
Understanding Data Types
Defining and Using Constants
Declaring and Referencing Variables
Working with Arrays
Determining Scope
Declaring Variables of Static Scope
Naming Conventions
Using Variables in Your Picture Viewer Project
HOUR 12: Performing Arithmetic, String Manipulation, and Date/Time Adjustments
Performing Basic Arithmetic Operations with Visual Basic
Comparing Equalities
Understanding Boolean Logic
Manipulating Strings
Working with Dates and Times
HOUR 13: Making Decisions in Visual Basic Code
Making Decisions Using If ... Then
Branching Within a Procedure Using GoTo
HOUR 14: Looping for Efficiency
Looping a Specific Number of Times Using For ... Next
Using Do ... Loop to Loop an Indeterminate Number of Times
HOUR 15: Debugging Your Code
Adding Comments to Your Code
Identifying the Two Basic Types of Errors
Using Visual Basic’s Debugging Tools
Writing an Error Handler Using Try ... Catch ... Finally
HOUR 16: Designing Objects Using Classes
Understanding Classes
Instantiating Objects from Classes
HOUR 17: Interacting with Users
Displaying Messages Using the MessageBox.Show ( ) Function
Creating Custom Dialog Boxes
Using InputBox ( ) to Get Information from a User
Interacting with the Keyboard
Using the Common Mouse Events
HOUR 18: Working with Graphics
Understanding the Graphics Object
Working with Pens
Using System Colors
Working with Rectangles
Drawing Shapes
Drawing Text
Persisting Graphics on a Form
Building a Graphics Project Example
PART IV: Working with Data
HOUR 19: Performing File Operations
Using the OpenFileDialog and SaveFileDialog Controls
Manipulating Files with the File Object
Manipulating Directories with the Directory Object
HOUR 20: Working with the Registry and Text Files
Working with the Registry
Reading and Writing Text Files
HOUR 21: Working with a Database
Introducing ADO.NET
Manipulating Data
HOUR 22: Controlling Other Applications Using Automation
Automating Microsoft Excel
Automating Microsoft Word
PART V: Deploying Solutions and Beyond
HOUR 23: Deploying Applications
Understanding ClickOnce Technology
Using the Publish Wizard to Create a ClickOnce Application
Testing Your Picture Viewer ClickOnce Install Program
Uninstalling an Application You’ve Distributed
Setting Advanced Options for Creating ClickOnce Programs
HOUR 24: The 10,000-Foot View
The .NET Framework
Common Language Runtime
Microsoft Intermediate Language
Namespaces
Common Type System
Garbage Collection
Further Reading
Index
A
B
C
D
E
F
G
H
I
J-K-L
M
N
O
P
Q-R
S
T
U
V
W-X-Y-Z
Nội dung
Ngày đăng: 29/09/2018, 11:32
TÀI LIỆU CÙNG NGƯỜI DÙNG
TÀI LIỆU LIÊN QUAN