Thursday, August 26, 2010

Teach Yourself Microsoft Visual C Sharp Dot NET 2003 In 24 Hours














Sams Teach Yourself Microsoft® Visual C#™ .NET in 24 Hours
By James Foxall

Publisher : Sams Publishing
Pub Date : August 20, 2003
ISBN : 0-672-32538-1
Pages : 600


Copyright
About the Author
Acknowledgments
We Want to Hear from You!
Introduction
Who Should Read This Book
How This Book Is Organized
Conventions Used in This Book
Onward and Upward!
Part I. The Visual Studio .NET Environment
Hour 1. Jumping in with Both Feet: A Visual C# .NET Programming Tour
Getting Started with Visual C# .NET
Creating a New Project
Understanding the Visual Studio Environment
Changing the Characteristics of Objects
Naming Objects
Setting the Text Property of the Form
Giving the Form an Icon
Changing the Size of the Form
Adding Controls to a Form
Designing an Interface
Adding an Invisible Control to a Form
Writing the Code Behind an Interface
Running a Project
Summary
Q&A
Workshop
Hour 2. Navigating Visual Studio .NET
Using the Visual Studio .NET Start Page
Navigating and Customizing the Visual Studio .NET Environment
Adding Controls to a Form Using the Toolbox
Setting Object Properties Using the Properties Window
Managing Projects
Managing Project Files with the Solution Explorer
Getting Help
Summary
Q&A
Workshop
Hour 3. Understanding Objects and Collections
Understanding Objects
Understanding Properties
Understanding Methods
Building a Simple Object Example Project
Understanding Collections
Using the Object Browser
Summary
Q&A
Workshop
Hour 4. Understanding Events
Understanding Event-Driven Programming
Building an Event Example Project
Summary
Q&A
Workshop
Part II. Building a User Interface
Hour 5. Building Forms: The Basics
Changing the Name of a Form
Changing the Appearance of a Form
Showing and Hiding Forms
Summary
Q&A
Workshop
Hour 6. Building Forms: Advanced Techniques
Working with Controls
Creating Topmost Windows
Creating Transparent Forms
Creating Scrollable Forms
Creating MDI Forms
Setting the Startup Object
Summary
Q&A
Workshop
Hour 7. Working with the 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
Summary
Q&A
Workshop
Hour 8. Using Advanced Controls
Creating Timers
Creating Tabbed Dialog Boxes
Storing Pictures in an Image List
Building Enhanced Lists Using the List View
Creating Hierarchical Lists with the Tree View
Summary
Q&A
Workshop
Hour 9. Adding Menus and Toolbars to Forms
Building Menus
Programming Menus
Using the Toolbar Control
Creating a Status Bar
Summary
Q&A
Workshop
Hour 10. Creating and Calling Methods
Creating Class Members
Defining and Writing Methods
Creating the User Interface of Your Project
Calling Methods
Exiting Methods
Working with Tasks
Summary
Q&A
Workshop
Part III. Making Things Happen—Programming
Hour 11. Using Constants, Data Types, Variables, and Arrays
Understanding Data Types
Defining and Using Constants
Declaring and Referencing Variables
Determining Constant and Variable Scope
Naming Conventions
Summary
Q&A
Workshop
Hour 12. Performing Arithmetic, String Manipulation, and Date/Time Adjustments
Performing Basic Arithmetic Operations with Visual C# .NET
Comparing Equalities
Understanding Boolean Logic
Manipulating Strings
Working with Dates and Times
Summary
Q&A
Workshop
Hour 13. Making Decisions in Visual C# .NET Code
Making Decisions Using if Statements
Evaluating an Expression for Multiple Values Using switch
Summary
Q&A
Workshop
Hour 14. Looping for Efficiency
Looping a Specific Number of Times Using for Statements
Using do...while to Loop an Indeterminate Number of Times
Summary
Q&A
Workshop
Hour 15. Debugging Your Code
Adding Comments to Your Code
Identifying the Two Basic Types of Errors
Using Visual C# .NET's Debugging Tools
Writing an Error Handler Using try...catch...finally
Summary
Q&A
Workshop
Hour 16. Designing Objects Using Classes
Understanding Classes
Instantiating Objects from Classes
Summary
Q&A
Workshop
Hour 17. Interacting with Users
Displaying Messages Using the MessageBox.Show() Method
Crafting Good Messages
Creating Custom Dialog Boxes
Interacting with the Keyboard
Using the Common Mouse Events
Summary
Q&A
Workshop
Hour 18. Working with Graphics
Understanding the Graphics Object
Working with Pens
Using System Colors
Working with Rectangles
Drawing Common Shapes
Printing Text on a Graphics Object
Persisting Graphics on a Form
Building a Graphics Project
Summary
Q&A
Workshop
Part IV. Working with Data
Hour 19. Performing File Operations
Using the Open File Dialog and Save File Dialog Controls
Manipulating Files with the File Object
Manipulating Directories with the Directory Object
Summary
Q&A
Workshop
Hour 20. Controlling Other Applications Using Automation
Creating a Reference to an Automation Library
Creating an Instance of an Automation Server
Manipulating the COM Server from the Client Code
Summary
Q&A
Workshop
Hour 21. Working with a Database
Introduction to ADO.NET
Connecting to a Database
Manipulating Data
Using the Data Form Wizard
Summary
Q&A
Workshop
Part V. Deploying Solutions and Beyond
Hour 22. Deploying a Visual C# .NET Solution
Creating a Custom Setup Program
Running a Custom Setup Program
Uninstalling an Application
Summary
Q&A
Workshop
Hour 23. Introduction to Web Development
Understanding ASP.NET
Creating Dynamic Web Content with Web Forms
Understanding XML Web Services
Summary
Q&A
Workshop
Hour 24. Building a Real-World Application
Building the Interface
Building the Main Menu
Building the Toolbar
Adding the List View to Display Albums
Adding the Browse For Database OpenFileDialog Control
Writing the Code for the CD Cataloger
Testing Your Application
Part VI. Appendices
Appendix A. The 10,000-Foot View
The .NET Framework
The Common Language Runtime
Microsoft Intermediate Language
Namespaces and Classes in .NET
Common Type System
Garbage Collection
Appendix B. Answers to Quizzes
Hour 1
Hour 2
Hour 3
Hour 4
Hour 5
Hour 6
Hour 7
Hour 8
Hour 9
Hour 10
Hour 11
Hour 12
Hour 13
Hour 14
Hour 15
Hour 16
Hour 17
Hour 18
Hour 19
Hour 20
Hour 21
Hour 22
Hour 23
Index

Download

No comments:

Post a Comment

Related Posts with Thumbnails

Put Your Ads Here!