Exclusive
Visual Studio 2005

Core Windows Forms Technologies with Microsoft Visual Studio 2005
(Microsoft Training Course: 2546) - 3 days - £1700 exc VAT

Save up to 50% of the cost of some courses: check our Certification Packages or buy F1 Training Vouchers


> Target Audience
This workshop provides students with the knowledge and skills to develop Microsoft Windows Forms applications using Microsoft Visual Studio 2005. It is intended for corporate or independent software vendor (ISV) application developers who have a desire to learn more about specific technology areas in Windows application development.
> Course outline
  1. Creating a Simple Windows Forms Application
  2. Configuring Standard Controls
  3. Building Menus
  4. Displaying and Editing Data by Using Data-Bound Controls
  5. Providing User Assistance and Enhancing Usability
  6. Creating Consistent Applications by Using Dialog Boxes and Forms Inheritance
  7. Printing Content and Creating Reports
  8. Performing Asynchronous Tasks by Using the BackgroundWorker Component
  9. Deploying Applications by Using ClickOnce


Module 1: Creating a Simple Windows Forms Application
  • Components of a Windows Forms User Interface
  • Event Handling in a Windows Forms Application
  • Lab: Creating a Simple Windows Forms Application
Skills
  • Describe the various components of a Windows Forms application.
  • Explain how to handle events in a Windows Forms application.
  • Add and configure Windows Forms and controls.
  • Create event handlers and monitor events.
  • Add controls and handlers to a form at run time.
  • Apply best practices when designing forms.
top
Module 2: Configuring Standard Controls
  • Windows Forms Controls by Function
  • Lab: Configuring Standard Controls
Skills
  • Explain the functions of the major categories of Windows Forms controls.
  • Create a form to select and view images by using the SplitContainer, TreeView, PictureBox, ToolStrip, and other controls.
  • Create a form to specify report criteria by using the TableLayoutPanel, ListView, MonthCalendar, ComboBox, and other controls.
  • Create a form to view a Hypertext Markup Language (HTML) Help file by using a WebBrowser control.
top
Module 3: Building Menus
  • Menus in Windows Forms
  • Lab: Building Menus
Skills
  • Explain the structure of a menu in a Windows Forms application.
  • Create and configure a MenuStrip control.
  • Create and configure a ContextMenuStrip component.
  • Hide and disable a ToolStripMenuItem.
  • Apply best practices for menu design and development.
top
Module 4: Displaying and Editing Data by Using Data-Bound Controls
  • Binding Data to a Control
  • DataGridView Control
  • Lab: Displaying and Editing Data by Using Data-Bound Controls
Skills
  • Explain simple and complex data binding.
  • Describe the scenarios in which the DataGridView control is used.
  • Add a data source to a project.
  • Bind data to a control at run time.
  • Use the BindingSource component and BindingNavigator control to create a data-bound Windows Form.
  • Use the DataGridView control to display and update tabular data from a data source.
top
Module 5: Providing User Assistance and Enhancing Usability
  • Providing User Assistance
  • Implementing Accessibility Features
  • Implementing Globalization and Localization
  • Lab: Providing User Assistance and Enhancing Usability
Skills
  • Describe the components that can be used to provide user assistance.
  • Add and configure user assistance controls on a Windows Form.
  • Explain the accessibility features available to implement in a Windows Forms application.
  • Implement accessibility features within a Windows Forms application.
  • Explain the high-level processes involved in globalization and localization in a Windows Forms ap plication.
  • Implement globalization and localization in a Windows Form.
top
Module 6: Creating Consistent Applications by Using Dialog Boxes and Forms Inheritance
  • Dialog Boxes in a Windows Forms Application
  • Windows Forms Inheritance
  • Lab: Creating Consistent Applications by Using Dialog Boxes and Forms Inheritance
Skills
  • Describe the various standard preconfigured dialog boxes available to a Windows Forms application.
  • Explain the concept of Windows Forms inheritance and the reasons for using inheritance.
  • Add and configure dialog box controls on a Windows Form.
  • Create a custom dialog box.
  • Implement Windows Forms inheritance.
top
Module 7: Printing Content and Creating Reports
  • Printing in a Windows Forms Application
  • Reporting in a Windows Forms Application
  • Lab: Printing Content and Creating Reports
Skills
  • Explain how to print a report in a Windows Forms application.
  • Describe how to create and view reports in a Windows Forms application.
  • Use the components provided with Visual Studio 2005 to add print capability to a Windows Forms application.
  • Display a Crystal report by using the CrystalReportViewer component.
top
Module 8: Performing Asynchronous Tasks by Using the BackgroundWorker Component
  • Asynchronous Tasks in Windows Forms Applications
  • Lab: Performing Asynchronous Tasks by Using the BackgroundWorker Component
Skills
  • Explain the concepts and processes involved in asynchronous programming.
  • Run and cancel a background process by using the BackgroundWorker component.
  • Describe best practices for using the BackgroundWorker component.
top
Module 9: Deploying Applications by Using ClickOnce
  • Windows Forms Application Deployment Options
  • ClickOnce Technology Overview
  • Lab: Deploying Applications by Using ClickOnce
Skills
  • Explain the options for deploying a Windows Forms application.
  • Explain the key concepts of ClickOnce technology.
  • Publish a ClickOnce application.
  • Install and test a ClickOnce application.
  • Describe best practices for using ClickOnce deployment.
top
> Pre-Requisites
Before attending this course, students should have the following pre-requisites:
  • Be able to manage a solution environment using the Visual Studio 2005 integrated development environment (IDE) and tools.
  • Understand Microsoft .NET Framework 2.0 and the Common Language Runtime.
  • Be able to program an application using a .NET Framework 2.0 compliant language.
  • Know how to make assemblies available to other applications.
  • Have a basic understanding of XML, including XML declaration, elements, attributes, and namespaces.
> Purpose
After completing this workshop, students will be able to create a simple Windows Forms application; configure standard controls; build menus; display and edit data by using data-bound controls; provide user assistance and enhance usability; create consistent applications by using dialogs and forms inheritance; add print and report functionality to a Windows Forms application; perform asynchronous tasks by using the BackgroundWorker component; deploy a Windows Forms application by using ClickOnce.