Windows Forms Using C# VS2017

Course Description

This five-day course provides a practical, hands-on introduction to GUI development using Windows Forms and C#. The course introduces database programming in Windows, including use of Language Integrated Query (LINQ). The course covers powerful newer Windows Forms features, such as controls, data binding, and ClickOnce deployment for creating smart client applications. It covers interoperability with the next-generation Windows client framework, Windows Presentation Foundation (WPF). Numerous programming examples and exercises are provided. Participants will receive a comprehensive set of notes and all the programming examples.
5 Days
Contact us for pricing


Experience programming the .NET Framework using C#. This course is designed for experienced application developers and architects responsible for Windows applications in a Microsoft environment.

Learning Objectives

Understand the fundamentals of Windows Forms architecture
Acquire proficiency in the use of Visual Studio to create professional class Windows applications
Gain a thorough grounding in the important controls provided by Windows Forms
Learn how to implement dialogs, menus, toolbars and status bars
Learn how to use advanced controls, such as tree views, splitters and tabbed dialogs
Understand the use of resources and application settings in Windows Forms applications
Learn how to implement data access using ADO.NET and binding of controls
Use Language Integrated Query (LINQ) to access data from Windows Forms programs
Learn how to interoperate between Windows Forms and WPF

Introduction to Windows Forms

What Are Windows Forms?
Windows Forms Class Hierarchy
Building a Form
The Application Class
Trapping Events
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

Checkbox, Radio Button, and Group Box
Numeric Up/Down

List Controls

Listbox and Combo box
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
Programming the Clipboard
Visual Inheritance
BackgroundWorker Component
ClickOnce Deployment

Using Advanced Controls



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
Application Settings
Windows Registry

Data Access

ADO.NET Overview
.NET Data Providers
Using LocalDB
Data Sets
Data Tables
Data Views
Interacting with XML Data
Language Integrated Query (LINQ)
Bridging Objects and Data
Using Object Relational Designer
Filtering, Ordering and Aggregation
Inserts, Deletes and Updates

Data Binding

Data Binding Concept
Binding to a Control
Binding to a List
DataGrid and DataView

Windows Forms and WPF Interoperation

Windows Presentation Foundation
Extensible Application Markup Language (XAML)
Mixing Forms and WPF Windows
Mixing Controls

C#Visual StudioVisual Studio 2017VS2017Microsoft Visual Studio 2017Windows FormsADO.NETLINQWPFXAML