Hands-On Technology Transfer
presents
Windows Forms Programming for Experienced C# Programmers (Canada) On-Site Training
This course provides students with hands on experience using Visual Studio to create desktop applications using Windows Forms and the .NET Framework using C#.
Course Description/Agenda
This course provides students with hands on experience using Visual
Studio to create desktop applications using Windows Forms and the .NET
Framework using C#. Students should already have a working knowledge of C#.
This course teaches students how to leverage the power of the .NET
Framework to build desktop applications. Students learn how to build Windows
Forms applications and use with a variety of controls to create
sophisticated user interfaces. Students also learn how to use the
BackgroundWorker to perform asynchronous operations.
Students also learn how to use ADO.NET to interact with databases and XML
files. Students learn how Windows Forms uses data binding to display data in
controls such as the DataGridView and Chart. Students also learn how to
build and interact with simple WCF SOAP Web Services.
Other topics include: debugging techniques; using a .config file to
control application configuration; building menus, toolbars and status bars;
reading and writing files; interacting with the file system; and deploying
desktop applications.
Comprehensive labs provide the students with extensive experience
creating and deploying Windows Forms-based desktop applications.
This course provides thorough coverage of the use of Windows
Forms to build desktop applications.
Students unfamiliar with the C# language should take the 5-day
Windows Forms Programming Using C# class instead.
Course Prerequisites
Prior experience with C# is required.
What You Will Learn
- Creating desktop-based applications
- Using control properties and methods to modify the appearance and
behavior of controls
- Writing event handlers to respond to user interactions
- Using list-based controls such as ListBoxes
and ComboBoxes on forms
- Using image controls such as ImageList
and PictureBox on forms
- Accessing and displaying data using ADO.NET
- Binding data to controls on a Windows Form
- Using modal and modeless dialogs to interact with users
- Using the background worker to perform an asynchronous operation
- Implementing a simple host for a WCF service
- Reading and writing data from files and streams
- Deploying .NET applications
Course Overview
Windows Forms Applications
- Windows Forms Applications
- Setting Form Properties
- Understanding the Life-cycle of a Form
- Using the Windows Forms Designer
- Using the MessageBox Class
- Using a .config File
|
Using Controls
- Working with Windows Forms Controls
- Using Text Controls
- Using Button Controls
- Using Selection Controls
- Using List Controls
- Using Container Controls
- Using Image Controls
- Using Up/Down Controls
- Using the ErrorProvider and
ToolTipProvider Controls
|
Handling Events
- Understanding the Event-Driven Programming Model
- Writing Event Handlers
- Sharing Event Handlers
|
Performing Asynchronous Activities
- Understanding Threading
- Working with Delegates
- Using the Background Worker
- Updating Controls from Other Threads
|
ADO.NET
- Understanding the ADO.NET Object Model
- Connected vs. Disconnected Access
- Using a Connection to Connect to a Data Source
- Using a Command to Execute Queries and Stored Procedures
- Using a DataReader to Work with
Cursors
- Using the DataSet with Disconnected
Data
- Using DataAdapters with DataSets
|
Using XML
- Understanding XML and XML Schemas
- Reading XML Data with a DataSet
- Writing XML Data with a DataSet
|
Data Binding
- Understanding ADO.NET Data Binding
- Binding to Simple and Complex Controls
- Manually Binding Controls
- Using the BindingSource Control
- Using the BindingNavigator Control
- Using the DataGridView Control
- Using the Chart Control
|
Working with Forms
- Understanding Modal vs Modeless Forms
- Displaying Modal Forms
- Working with DialogResult
- Retrieving Data from Modal Forms
- Displaying Modeless Forms
- Working with Data in Modeless Forms
- Using the Common Dialogs
|
Working with Menus, Toolbars and Status Bars
- Working with Menus
- Working with Toolbars
- Working with Status Bars
|
Working with Files and Directories
- Working with the Windows File System
- Discovering Drives
- Discovering Directories
- Discovering Files
- Examining File, Directory and Drive Attributes
- Reading, Writing and Appending to Files
|
Introduction to WCF Web Services
- Overview of WCF Services
- Understanding SOAP
- Creating a WCF SOAP Web Service
- Creating a Proxy Class
- Calling a WCF SOAP Web Service
|
Deploying Windows Forms Applications
- Understanding Deployment Options
- Configuring an Application for Deployment
- Using XCOPY Deployment
- Using Installers
- Using Click-Once Deployment
|
Course Benefits
- Course materials include
student guide, hands-on lab manual and USB flash drive for examples and lab
work
- Students
receive a certificate of completion at the end of class
- Students can
retake any portion of a class that has been completed, within 12 months at
no extra cost
- There are no
registration fees or cancellation fees
|