Zoom Outline PDF View  or  Email  


C# Windows Forms Development (.NET 2.0, 3.0 and 3.5)




AUDIENCE:   Developers wishing to learn how to use the .Net Framework to build Windows applications.

PREREQUISITES:   Students should have taken the C# Programming course or possess equivalent knowledge before attending this class.

DURATION:   5 days. Hands on.

OBJECTIVES:   This course provides a practical, hands-on introduction to GUI development using Windows Forms and C#. The course introduces database programming in Windows, including the use of Language-Integrated Query (LINQ) in .NET 3.5. That said, this course can be easily adapted to Visual Studio 2005 and .NET 2.0 for delegates still working on the previous release.

The course begins with a fundamental discussion of Windows Forms architecture and programming simple Windows Forms applications from scratch. Then the use of Visual Studio and the Forms Designer is introduced, which is used throughout the remainder of the course. Simple controls are covered, such as buttons, labels, textboxes, checkboxes, radio buttons and group boxes. List controls are surveyed, including the list box, combo box, and list view. Dialogs are discussed in detail, including modal and modeless dialogs and associated controls. Menus, toolbars and status bars are also covered.

Advanced topics are introduced, including parent/child and owner/owned relationships, MDI, programming the Clipboard, and visual inheritance. Advanced controls are introduced, including the tree view and tab control. Resources are discussed, including their use in localization. The Application class is covered. Applications settings are discussed, including use of configuration files and the Registry. The course concludes with an introduction to data access in Windows applications, including LINQ.
Upon successful completion of this course, students will be able to:
- Understand the fundamentals of Windows Forms architecture.
- Understand how to use Visual Studio to create professional class Windows applications.
- Work with the important controls provided by Windows Forms.
- Implement dialogs, menus, toolbars and status bars.
- Use advanced controls, such as tree views, splitters and tabbed dialogs.
- Understand the use of resources and application settings in Windows Forms applications.
- Implement data access using ADO.NET and bind controls to data sources.
- Use Language Integrated Query (LINQ) to access data from Windows Forms programs.

COURSE CONTENT:  

Introduction to Windows Forms
What Are Windows Forms?
Windows Forms Class Hierarchy
Building a Form
The Application Class
Trapping Events
Buttons
Labels and Textbox Controls

Visual Studio and the Forms Designer
Using the Forms Designer
Code Generated by Forms Designer
Adding Event Handlers
Creating Attractive Forms
Creating Easy To Use Forms

Using Controls
Checkboxes
Radio Buttons
Group Boxes
Numeric Up/Down Control
Trackbar Control
Progress Control
MonthCalendar Control
DateTimePicker Control

List Controls
Listbox and Combo box
DomainUpDown Control
ListView
Storing Objects in List Controls

Working with Dialogs
Modal vs. Modeless Dialogs
Message Boxes
Common Dialogs
Creating a Modal Dialog
Configuring the Dialog Result
Access Data from the Dialog
Validating Data
Error Provider Control
Modal Dialogs
Creating a Modeless Dialog

Menus, Toolbars and Status Bars
Main Menus
Context Menus
Building a Status Bar
Building a Toolbar
Using the Timer Control

Advanced Windows Forms Topics
Parent/Child Relationships
Owner/Owned Relationships
Top-Most Forms
Multiple Document Interface
Managing Parent/Child Menus
Programming the Clipboard

Using Advanced Controls
Panel Control
TreeView Control
Splitter Control
Tab Control

Resources
Image Resources
Resource Files
String Resources
Working with Resources in Visual Studio
Resource Managers
Cultures and Internationalization
Building Localizable Forms

Applications and Settings
Application Class
Processing and Filtering Windows Messages
Application Lifetime and Events
Configuration Files
Windows Registry

Data Access and Data Binding
ADO.NET Overview
.NET Data Providers
Using DataReaders
DataSets
DataTables
DataViews
Data Binding
Interacting with XML Data
Language Integrated Query (LINQ)
Filtering, Ordering and Aggregation
Data Inserts, Deletes and Updates

Newer Features in Windows Forms
ToolStrip Control
SplitContainer Control
Web Browser Control
DataGridView Control
Other Newer Controls
New Data Binding
Application Settings
BackgroundWorker Component
ClickOnce Deployment


DA07/10

© 2007 Verhoef Training

Schedule Dates

Course offered as
Inhouse or Public


There are no classes scheduled for this subject at this time.

Send us a request for this class

or

contact your account manager for scheduling information.

Contact Us


Copyright © 2007 - Verhoef Group of Companies - All Rights Reserved