Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer
Visual C# has become a leading programming language, resulting in greater career opportunities for Visual C# programmers. This Wrox guide literally shows novice programmers how to program in C# with Microsoft Visual Studio, using both written and visual instruction.
Easy-to-follow lessons reinforced with step-by-step instructions, screencasts, and supplemental exercises make it easy to master Visual C# programming regardless of your learning style. Each lesson begins with a discussion of a concept or technique and proceeds through step-by-step directions for using the technique Visual C# has surpassed Visual Basic as the most popular programming language
- Getting Started with the Visual Studio IDE
- Creating Controls
- Making Controls Arrange Themselves
- Handling Events
- Making Menus
- Making Tool Strips and Status Strips
- Using RichTextBoxes
- Using Standard Dialogs
- Creating and Displaying New Forms
- Building Custom Dialogs
- Using Variables and Performing Calculations
- Debugging Code
- Understanding Scope
- Working with Strings
- Working with Dates and Times
- Using Arrays and Collections
- Using Enumerations and Structures
- Making Choices
- Repeating Program Steps
- Handling Errors
- Preventing Bugs
- Defining Classes
- Initializing Objects
- Fine-Tuning Classes
- Overloading Operators
- Using Interfaces
- Making Generic Classes
- Reading and Writing Files
- Using File System Classes
- Using the Clipboard
- Providing Drag and Drop
- Localizing Programs
- Programming Databases
- LINQ to Objects
- LINQ to SQL
- Drawing with GDI+
- Making WPF Applications
- Printing with WPF
Note: As part of the print version of this title, video lessons are included on DVD. For e-book versions, video lessons can be accessed at wrox.com using a link provided in the interior of the e-book.
section I The Visual Studio IDE and Controls.
Chapter 1 Getting Started with the Visual Studio IDE.
Chapter 2 Creating Controls.
Chapter 3 Making Controls Arrange Themselves.
Chapter 4 Handling Events.
Chapter 5 Making Menus.
Chapter 6 Making Tool Strips and Status Strips.
Chapter 7 Using RichTextBoxes.
Chapter 8 Using Standard Dialogs.
Chapter 9 Creating and Displaying New Forms.
Chapter 10 Building Custom Dialogs.
Section II Variables and Calculations.
Chapter 11 Using Variables and Performing Calculations.
Chapter 12 Debugging Code.
Chapter 13 Understanding Scope.
Chapter 14 Working with Strings.
Chapter 15 Working with Dates and Times.
Chapter 16 Using Arrays and Collections.
Chapter 17 Using Enumerations and Structures.
Section III Program Statements.
Chapter 18 Making Choices.
Chapter 19 Repeating Program Steps.
Chapter 20 Reusing Code with Methods.
Chapter 21 Handling Errors.
Chapter 22 Preventing Bugs.
Section IV Classes.
Chapter 23 Defining Classes.
Chapter 24 Initializing Objects.
Chapter 25 Fine-Tuning Classes.
Chapter 26 Overloading Operators.
Chapter 27 Using Interfaces.
Chapter 28 Making Generic Classes.
Section V System Interactions.
Chapter 29 Reading and Writing Files.
Chapter 30 Using File System Classes.
Chapter 31 Printing.
Chapter 32 Using the Clipboard.
Chapter 33 Providing Drag and Drop.
Section VI Specialized Topics.
Chapter 34 Localizing Programs.
Chapter 35 Programming Databases, Part 1.
Chapter 36 Programming Databases, Part 2.
Chapter 37 LINQ to Objects.
Chapter 38 LINQ to SQL.
Chapter 39 Drawing with GDI+.
Chapter 40 Making WPF Applications.
Chapter 41 Printing with WPF.
Appendix A Glossary.
Appendix B Control Summary.
Appendix C What’s on the DVD?
|Downloads for Stephens' C# Programming 24-Hour Trainer||6.76 MB||Click to Download|
Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.
|5||Error in Text
Page 5, Fig. 1-1: You may see only the Basic and Expert choices for importing and exporting choices. Other settings are available for different versions of Visual Studio.
|6||Error in Text
Fig. 1-2 should include text reading:
When you create a new project, the Location and Solution Name boxes are not present. You'll see them when you first save the project.
Author Rod Stephens suggested our posting something to this effect on the title page for this book at Wrox per the customer's suggestion:
Kenn Macintosh suggested adding this comment to Chapter 1: "If you have mutliple monitors, you can FLOAT a window and move them to other Monitors giving you a larger editing area". An excellent suggestion, Kenn! I only have one monitor but I work with some people who use two and they move forms that are used less often to the second monitor so they can have more space for their main task.
|17||Error in Text
Exercise 3 should include additional information reading:
By default the Immediate window is hidden in the Express edition. However, it is useful so it's worth tracking down. One way to display it is to open the menu View > Other Windows > Command Window. Then in the Command Window type "immed" and press Enter.
|44||Error in Text
Exercise 3 should include the following additional text:
Selecting the SpointContainer itself it a bit tricky. If you click on one of the control's panels, you select the panel and not the main control. You can select the control in any of these ways:
Use the control dropdown in the Properties window.
Click between the two panels.
Click and drag on the form so the drag touches the control.
|53||Error in Text
The names used by the controls should read:
|62||Error in Text
In the Try It section:
Currently reads: txtContents
Should read: contentsTextBox
|63||Error in Text
Step 2 in the middle of the pages explains how to use copy and paste to copy the main menu's Format menu structure into a context menu. Some readers have found that Visual Studio did not let them copy multiple menu items at the same time, although it did let them copy items one at a time.
|198||Error in Code
The code that creates a two-dimensional array currently reads:
int[,] values = new int[5, 7];
It should read:
int[,] values = new int[5, 8];
Note that the array shown in Figure 16-3 would be declared by using the following code:
int[,] values = new int[4, 8];
Author Rod Stephens shows Visul Studio 2010 users how to use RichTextBoxes within the Visual Studio IDE and Controls.
Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer (US $44.99)
-and- Stephens' Visual Basic Programming 24-Hour Trainer (US $39.99)
Total List Price: US $84.98
Discounted Price: US $63.73 (Save: US $21.25)