Sams Teach Yourself C# in 24 Hours.pdf
(
13193 KB
)
Pobierz
Start Page
Sams Teach Yourself C#™ in 24
Hours
By James Foxall and Wendy Haro-Chun
Publisher: Sams Publishing
Pub Date: March 13, 2002
ISBN: 0-672-32287-0, 528 pages
Table of Contents
Sams Teach Yourself C# in 24 Hours
provides
readers with 24 structured lessons that provide a
light, but thorough introduction to C#. James Foxall
moves beyond the pure syntax covered in existing
books, to guide readers step-by-step through a
cohesive presentation of the basics of C#. Once the
basics are understood, Foxall shows the reader how
to apply this knowledge to real-world Windows
programming tasks using C#. Each chapter contains
exercises that reinforce the lessons learned in each
chapter. Tips, Notes, and Cautions provide additional
advice from the authors on how to get up to speed
and programming quickly with C#. Sidebars provide
the more experienced reader with tips that will ease
their migration from Visual Basic 6 and Visual C++ to
C#.
About the Authors
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
Plik z chomika:
grzegorj
Inne pliki z tego folderu:
Apress.Pro.dot.NET.2.0.Windows.Forms.and.Custom.Controls.in.C.Sharp.Dec.2005(1).pdf
(31146 KB)
C# - Advanced C# Programming 2002 (McGraw Hill).pdf
(32311 KB)
C# Standard.doc
(3626 KB)
C# Standard.pdf
(2458 KB)
c-sharp-1.pdf
(397 KB)
Inne foldery tego chomika:
__Programy
_Asembler
_Asp
_Basic
_C
Zgłoś jeśli
naruszono regulamin