Sams Teach Yourself Visual Basic 2010 in 24 Hours Complete Starter Kit (Sams Teach Yourself -- Hours)

Sams Teach Yourself C# in 24 Hours

Copyright

About the Authors

Acknowledgments

Tell Us What You Think!

Introduction

   Audience and Organization

   Conventions Used in This Book

   Onward and Upward!

Part  I.  The Visual Studio Environment

    Hour  1.  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

    Hour  2.  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

    Hour  3.  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

    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 ”Part I

           Changing the Name of a Form

           Changing the Appearance of a Form

           Showing and Hiding Forms

           Summary

           Q&A

           Workshop

    Hour  6.  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

    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.  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.  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

Part  III.  Making Things Happen ”Programming!

    Hour  11.  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

    Hour  12.  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

    Hour  13.  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

    Hour  14.  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

    Hour  15.  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  16.  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

    Hour  17.  Designing Objects Using Classes

           Understanding Classes

           Instantiating Objects from Classes

           Summary

           Q&A

           Workshop

    Hour  18.  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

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 Server

           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 Solution

           Creating a Custom Setup Program

           Running a Custom Setup Program

           Uninstalling an Application You've Distributed

           Summary

           Q&A

           Workshop

    Hour  23.  Introduction to Web Development

           XML

           SOAP

           ASP.NET

           Web Forms

           XML Web Services

           Summary

           Q&A

           Workshop

    Hour  24.  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

    Appendix  A.  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

Top

Категории