Home Page Icon
Home Page
Table of Contents for
Index
Close
Index
by Wendy Haro-Chun, James Foxall
Sams Teach Yourself C#™ in 24 Hours
Copyright
About the Authors
Acknowledgments
Tell Us What You Think!
Introduction
The Visual Studio Environment
A C# Programming Tour
Starting C#
Creating a New Project
Understanding the C# 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
Coding an Interface
Running a Project
Summary
Q&A
Workshop
Navigating C#
Using the Visual Studio .NET Start Page
Navigating and Customizing the C# 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
Understanding Objects and Collections
Understanding Objects
Understanding Properties
Understanding Methods
Building an Object Example Project
Understanding Collections
Using the Object Browser
Summary
Q&A
Workshop
Understanding Events
Understanding Event-Driven Programming
Building an Event Example Project
Summary
Q&A
Workshop
Building a User Interface
Building Forms—Part I
Changing the Name of a Form
Changing the Appearance of a Form
Showing and Hiding Forms
Summary
Q&A
Workshop
Building Forms—Part II
Working with Controls
Creating TopMost Windows
Creating Transparent Forms
Creating Scrollable Forms
Creating MDI Forms
Setting the Startup Object
Summary
Q&A
Workshop
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
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
Adding Menus and Toolbars to Forms
Building Menus
Programming Menus
Using the Toolbar Control
Creating a Status Bar
Summary
Q&A
Workshop
Drawing and Printing
Understanding the Graphics Object
Working with Pens
Using System Colors
Working with Rectangles
Drawing Shapes
Drawing Text
Persisting Graphics on a Form
Build a Graphics Project Example
Summary
Q&A
Workshop
Making Things Happen—Programming!
Creating and Calling Methods
Creating Class Members
Writing Methods
Creating the User Interface of Your Project
Calling Methods
Exiting Methods
Working with Tasks
Summary
Q&A
Workshop
Using Constants, Data Types, Variables, and Arrays
Understanding Data Types
Defining and Using Constants
Declaring and Referencing Variables
Determining Scope
Naming Conventions
Summary
Q&A
Workshop
Performing Arithmetic, String Manipulation, and Date/Time Adjustments
Performing Basic Arithmetic
Comparing Equalities
Understanding Boolean Logic
Manipulating Strings
Working with Dates and Times
Summary
Q&A
Workshop
Making Decisions in C# Code
Making Decisions Using if Statements
Evaluating an Expression for Multiple Values Using switch
Branching Within Code Using goto
Summary
Q&A
Workshop
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
Debugging Your Code
Adding Comments to Your Code
Identifying the Two Basic Types of Errors
Using C#'s Debugging Tools
Writing an Error Handler Using try...catch...finally
Summary
Q&A
Workshop
Designing Objects Using Classes
Understanding Classes
Instantiating Objects from Classes
Summary
Q&A
Workshop
Interacting with Users
Displaying Messages Using the MessageBox.Show() Method
Creating Custom Dialog Boxes
Interacting with the Keyboard
Using the Common Mouse Events
Summary
Q&A
Workshop
Working with Data
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
Controlling Other Applications Using Automation
Creating a Reference to an Automation Library
Creating an Instance of an Automation Server
Manipulating the Server
Summary
Q&A
Workshop
Working with a Database
Introduction to ADO.NET
Connecting to a Database
Manipulating Data
Using the Data Form Wizard
Summary
Q&A
Workshop
Deploying Solutions and Beyond
Deploying a Solution
Creating a Custom Setup Program
Running a Custom Setup Program
Uninstalling an Application You've Distributed
Summary
Q&A
Workshop
Introduction to Web Development
XML
SOAP
ASP.NET
Web Forms
XML Web Services
Summary
Q&A
Workshop
The 10,000-Foot View
The .NET Framework
Common Language Runtime (CLR)
Microsoft Intermediate Language
Namespaces
Common Type System
Garbage Collection
Summary
Q&A
Workshop
Answers to Quizzes/Exercises
Answers to Hour 1
Answers to Hour 2
Answers to Hour 3
Answers to Hour 4
Answers to Hour 5
Answers to Hour 6
Answers to Hour 7
Answers to Hour 8
Answers for Hour 9
Answers to Hour 10
Answers to Hour 11
Answers to Hour 12
Answers to Hour 13
Answers to Hour 14
Answers to Hour 15
Answers to Hour 16
Answers to Hour 17
Answers to Hour 18
Answers for Hour 19
Answers to Hour 20
Answers to Hour 21
Answers to Hour 22
Answers for Hour 23
Answers for Hour 24
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Answers for Hour 24
Index
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset