Developing Classic Windows Forms applications using Visual Studio 2010 and .Net 4.0

5 Day Course
Hands On
Code QASMTNET4

This course has been retired. Please view currently available Microsoft Visual Studio Training Courses.

Modules

Hide all

Hello, Windows Forms (7 topics)

  • Fundamentals of Windows Programming
  • Building your first form
  • Adding controls
  • Handling basic events
  • Displaying a MessageBox
  • Overview of the Windows Forms controls
  • Creating a Windows Forms application using Microsoft Visual Studio 2010

Menus and Toolbars (5 topics)

  • Creating menus with the MenuStrip
  • Using the ToolStrip
  • Adding context menus
  • Docking with ToolStripContainer
  • Using a StatusStrip

Working with Forms (6 topics)

  • Creating forms; Form ownership
  • Anchoring and docking
  • Hiding and showing forms
  • Critical Form events
  • Encapsulation of controls
  • Controlling Secondary Form instancing (Singleton pattern vs hiding)

Dialog Boxes (8 topics)

  • Creating modal forms
  • Using the common dialog boxes
  • Laying out controls (TableLayoutPanel and FlowLayoutPanel)
  • Exchanging data with forms
  • Validation techniques
  • Using the ErrorProvider control
  • Form-level validation
  • Context sensitive help and the HelpProvider

Managing Settings (3 topics)

  • Saving and loading settings
  • Preserving form and control layouts
  • Application and per-user settings

Resources and Localisation (5 topics)

  • Using resources
  • Globalisation
  • Localisation
  • Satellite assemblies
  • Creating internationalisable applications

Beyond RAD (4 topics)

  • The Application object
  • Controlling application instancing
  • Implementing Model-view-controller
  • Implementing Command pattern

Data Binding (7 topics)

  • Simple data binding
  • Complex data binding
  • Data binding using Microsoft Visual Studio 2010
  • Working with different binding sources
  • Data views; Sorting and Filtering
  • The DataGridView control
  • Designing types to support data binding

LINQ and the Entity Framework (4 topics)

  • The ADO.NET overview
  • LINQ syntax
  • Overview of the Entity Framework;
  • Retrieving and managing Data using LINQ to Entities

Working with WCF Web Services (3 topics)

  • Locating and calling a Web Service
  • Working with proxies and security credentials
  • Asynchronous Web Service invocations

Asynchronous Programming (4 topics)

  • Using timers
  • Using a secondary thread
  • Multithreading and the Windows user interface
  • Using the BackgroundWorker component

Components and Controls (4 topics)

  • What is a component?
  • Creating a custom control
  • Creating a custom component
  • Introduction to design time integration

Office Automation (3 topics)

  • Overview of COM interop
  • The Runtime Callable Wrapper
  • Automating Microsoft Word and Excel

Printing (4 topics)

  • Print documents
  • Print controllers
  • Working with common printer dialogs
  • Implementing print preview

Working with ClickOnce Deployment (3 topics)

  • Versioning and rollback
  • Controlling ClickOnce programmatically
  • Trust, Code Access Security (CAS) and ClickOnce

Windows Presentation Foundation (2 topics)

  • Overview of WPF (Windows Presentation Foundation)
  • Hosting WPF controls in Windows Forms

Review (2 topics)

  • Course review
  • Further resource

Prerequisites

* Delegates should already have experience of using the C# or Visual Basic .NET programming languages, which can be gained by attending one of our C# or Visual Basic .NET programming language courses * Knowledge of GUI programming, using technologies such as Visual Basic 6, Microsoft Foundation Classes (MFC) would be an advantage, but it is not required * This course is ideal for Developers and Team Leaders who will be using Windows Forms and the Microsoft .NET Framework to write and deploy Windows applications

Course PDF

Print

Sections