C# Tutorial - Free EBook
Windows Forms Programming

C# Ebook
VB.Net Ebook
Java


Murach - C# 2008
Chapter 2 - How to design a Windows Forms application
Download the pdf at Murach.
Download the source code for the book at Murach.

Topics include:
How to set options and create a new project
How to design a form
How to name and save the files of a project


Murach - C# 2008
Chapter 3 - How to code and test a Windows Forms application
Download the pdf at Murach.
Download the source code for the book at Murach.

Topics include:
An introduction to coding
How to add code to a form
More coding skills
How to run, test, and debug a project


Addison - Windows Forms 2.0 Programming, 2nd Edition
Chapter 14 - Applications
View Online at Addison Wesley or Download the pdf at Addison Wesley.

Topics include:
Application Lifetime
Application Context
Application Events
UI Thread Exceptions
Passing Command Line Arguments
Single-Instance Detection and Management
Multiple-SDI Applications
Single-MDI Applications
Settings


Microsoft - Programming Windows with C#
Chapter 2 - Hello, Windows Forms
Download the pdf at Certification Magazine.

Topics include:
The Message Box
Forms
Form Properties
Event-Driven Input
Handling the Paint Event
Displaying Text
Multiple Forms, Multiple Handlers
Inheriting Forms
The OnPaint Method
Events and "On" Methods


Sams - C# and the .Net Framework
Chapter 3.1 - Introduction to Windows Forms
View Online at Developer Fusion.
Download the source code for the book at Sams Publishing.

Topics include:
The Hello Windows Forms Application.
Creating and Using an Event Handler.
Defining the Border Style of the Form.
Adding a Menu.
Adding a Menu Shortcut.
Handling Events from Menus.


Sams - Teach Yourself .NET Windows Forms in 21 Days
Chapter 3 - Working with .NET Windows Forms
View Online at InformIT.
Download the source code for the book at InformIT.

Topics include:
The Object-Oriented Windows Form
Form Properties
Controlling Appearance
Controlling Interactivity
Form Methods
Dealing with Display Issues
Resetting Properties
Event Handling
The Message Loop
Controlling Execution
Mouse and Keyboard Events
Drag-and-Drop


Sams - Teach Yourself Visual Studio .NET 2003 in 21 Days
Chapter 3 - Writing Windows Forms Applications in Visual Studio .NET 2003
View Online at InformIT.
Download the source code for the book at InformIT.

Topics include:
Using forms and controls
How to handle events in Windows Forms
Adding controls to forms
Dynamically adding controls to Forms
Creating MDI applications with Windows Forms
Inheriting Windows Forms
Using common dialogs in Windows Forms


O'Reilly - .Net Windows Forms in a Nutshell
Chapter 3 - Forms, Containers, and Applications
Download the pdf at O'Reilly.

Topics include:
Application Structure
The Form Class
Containment
Layout
Localization
Extender Providers


Microsoft - NET Compact Framework (Core Reference)
Chapter 4 - Building Windows Forms Applications
View Online at Microsoft Press or Download the pdf at Microsoft Academic Alliance.

Topics include:
Working with Forms
Working with the InputPanel Control
Using the MainMenu Control
Using the ToolBar Control
Programming Form Activation and Deactivation on Pocket PC
Handling the Tap-and-Hold Event
Handling Pocket PC Hardware Keys
Giving an Application Its Final Touches
General Design Guidelines


Manning - Windows Forms Programming with C#
Chapter 3 - Menus
View Online at Code Project or Download the pdf at Manning Publications.
Download the source code for the book at Manning Publications.

Topics include:
The nature of menus
Menu bars
Click events
Popup events and shared handlers
Context menus


Manning - Windows Forms Programming with C#
Chapter 10 - List Controls
View Online at Code Project or Download the pdf at Manning Publications.
Download the source code for the book at Manning Publications.

Topics include:
List boxes
Multiselection list boxes
Combo boxes
Combo box edits
Owner-drawn lists


Deitel - C#, How To Program
Chapter 12 - Graphical User Interface Programming: Part 1
Download the pdf at Prentice-Hall.
Download the source code for the book at Deitel.

Topics include:
Window Forms.
Event-Handling Model.
Control Properties and Layout.
Labels, TextBoxes and Buttons.
GroupBoxes and Panels.
CheckBoxes and RadioButtons.
PictureBoxes.
Mouse-Event Handling.
Keyboard-Event Handling.


Apress - User Interfaces in C# Windows Forms and Custom Controls
Chapter 7 - Custom Controls
Download the pdf at Apress.
Download the source code for the book at Apress.

Topics include:
Types of Custom Controls
Referencing a Custom Control
The GAC
Creating User Controls
Inherited Controls
Custom Extender Providers


Addison - Windows Forms Programming in C#
Chapter 9 - Design-Time Integration
Download the pdf at Addison Wesley.
Download the source code for the book at Addison Wesley.

Topics include:
Components.
Design-Time Integration Basics.
Hosts, Containers, and Sites.
Debugging Design-Time Functionality.
Property Browser Integration.
Code Serialization.
Type Converters.
UI Type Editors.
Custom Designers.
Design-Time-Only Properties.


Wrox - Beginning C#
Chapter 13 - Using Windows Form Controls
View Online at Code Project.
Download the source code for the book at Wrox.

Topics include:
The Windows Form Designer
The Toolbox
Controls
Properties
Events


Sams - C# Unleashed
Chapter 16 - C# and Graphical User Interfaces
View Online at Sams Publishing.
Download the source code for the book at Sams Publishing.

Topics include:
Windows
Controls
N-Tier Architecture
Menus


MCAD/MCSD Training Guide (70-316): Developing and Implementing Windows-Based Applications with Visual C# and Visual Studio.NET
Chapter 3 - Error Handling for the User Interface.
View Online at InformIT.

Topics include:
Understanding Exceptions
Handling Exceptions
Creating and Using Custom Exceptions
Managing Unhandled Exceptions
Validating User Input


Apress - Pro C# 2005 and the .NET 2.0 Platform, Third Edition
Chapter 19 - Building a Better Window with System.Windows.Forms
Download the pdf at Apress.
Download the source code for the book at Apress.

Topics include:
Overview of the System.Windows.Forms Namespace
Working with the Windows Forms Types
The Role of the Application Class
The Anatomy of a Form
The Functionality of the Control Class
The Functionality of the Form Class
Building Windows Applications with Visual Studio 2005
Working with MenuStrips and ContextMenuStrips
Working with StatusStrips
Working with ToolStrips
Building an MDI Application


Apress - Pro C# 2005 and the .NET 2.0 Platform, Third Edition
Chapter 21 - Windows Forms Controls
Download the pdf at Apress.
Download the source code for the book at Apress.

Topics include:
Adding Controls to Forms by Hand
Adding Controls to Forms Using Visual Studio 2005
Working with the Basic Controls
Configuring the Tab Order
Setting the Form’s Default Input Button
Working with More Exotic Controls
Building Custom Windows Forms Controls
The Role of the System.ComponentModel Namespace
Building Custom Dialog Boxes
Dynamically Positioning Windows Forms Controls