Premier
Visual Studio

Developing Microsoft .NET Applications for Windows (Visual C Sharp .NET)
(Microsoft Training Course: 2555) - 5 days - £2095 exc VAT



> Target Audience
This five-day instructor-led course provides students with the skills required to build Microsoft Windows Forms applications by using the Microsoft .NET Framework.
This course is a part of the Microsoft Visual C# .NET curriculum and is intended for C# programmers to be able to create Windows applications using the .NET Framework. The course will cover the major topics for Windows client application programming on the .NET Framework. These include: Windows Forms; GDI+; simple data access; interoperating with unmanaged code; threading and asynchronous programming issues; simple remoting, Web access, Web Services consumption; debugging; security, and deployment issues for desktop applications.
> Course outline
  1. Introducing Windows Forms
  2. Working With Controls
  3. Building Controls
  4. Using Data in Windows Forms Applications
  5. Interoperating with COM Objects
  6. Reporting and Printing in Windows Forms Applications
  7. Asynchronous Programming
  8. Enhancing the Usability of Applications
  9. Deploying Windows Forms Applications
  10. Securing Windows Forms Applications

Supplementary InformationThere are more recent Microsoft courses which replace course 2555. We recommend courses 2546 and 2547. 2546: Core Windows Forms Technologies with Microsoft Visual Studio 2005 (3 days) 2547: Advanced Windows Forms Technologies with Microsoft Visual Studio 2005 (2 days)
Module 1: Introducing Windows Forms
  • Creating a Form
  • Adding Controls to a Form
  • Creating an Inherited Form
  • Organizing Controls on a Form
  • Creating MDI Applications
  • Lab: Creating a New Windows Form
  • Lab: Inheriting a New Form from an Existing Windows Form
Skills
  • Create a form and add controls to it.
  • Create an inherited form using Visual Inheritance.
  • Organize controls on a form.
  • Create Multiple Document Interface (MDI) applications.
top
Module 2: Working With Controls
  • Creating an Event Handler for a Control
  • Using Windows Forms Controls
  • Using Dialogs
  • Validating User Input
  • Creating Controls at Run Time
  • Creating Menus
  • Lab: Creating and Using Controls
Skills
  • Create an event handler for a control.
  • Select and use the appropriate controls in a Windows Forms application.
  • Use dialog boxes in a Windows Forms application.
  • Validate user input in a Windows Forms application.
  • Add controls to a form at run time.
  • Create and use menus in a Windows Forms application.
top
Module 3: Building Controls
  • Options for Creating Controls
  • Adding Functionality to Controls
  • Adding Design-Time Support for Controls
  • Licensing a Control
  • Lab: Declare an Event and Raising It from an Extended Control
  • Lab: Creating a Composite Control
  • Lab: Adding Design-Time Support
Skills
  • Create a composite control by combining functionality of several existing Windows Forms controls.
  • Describe the design-time support options for components provided by Microsoft Visual Studio .NET.
  • Add Attributes that provide information to the Visual Designer
  • Create and validate licenses for controls.
top
Module 4: Using Data in Windows Forms Applications
  • Adding ADO.NET Objects to a Windows Forms Application
  • Accessing and Modifying Data by Using DataSets
  • Binding Data to Controls
  • Using the DataGrid Control
  • Overview of XML Web Services
  • Creating a Simple XML Web Services Client
  • Lab: Generating, Populating, and Persisting DataSets
  • Lab: Calling an XML Web Service
Skills
  • Describe the objects in the ADO.NET object model.
  • Add and configure ADO.NET objects in a Windows Forms application.
  • Access and modify data from a database by using DataSets.
  • Bind data to controls.
  • Use the DataGrid control.
  • Describe the XML Web services model and the roles of HTML, SOAP, XML, and marshalling in the XML Web services model.
  • Create and test a simple XML Web service client application.
  • Persist data to and read data from files and isolated storage by using methods of the BinaryReader and BinaryWriter methods and the TextReader and TextWriter methods.
top
Module 5: Interoperating with COM Objects
  • Using .NET and COM Components in a Windows Forms Application
  • Calling Win32 APIs from Windows Forms Applications
  • Lab: Using a COM Component in a .NET Application
Skills
  • Use .NET and COM components in a Microsoft .NET Framework Windows Forms application.
  • Call Microsoft Win32 application programming interfaces (APIs) from a Windows Forms application
top
Module 6: Reporting and Printing in Windows Forms Applications
  • Creating Reports Using Crystal Reports
  • Printing From a Windows Forms Application
  • Using the Print Preview, Page Setup, and Print Dialogs
  • Constructing Print Document Content Using GDI+
  • Lab: Adding Print Support to an Application
  • Lab: Creating Printed Output by Using GDI+
Skills
  • Create and format reports using Crystal Reports.
  • Print documents in a Windows Forms application.
  • Use the Visual Studio .NET printing dialogs in a Windows forms application.
  • Use GDI+ to construct print document content.
top
Module 7: Asynchronous Programming
  • The .NET Asynchronous Programming Model
  • The Asynchronous Programming Model Design Pattern
  • How to Make Asynchronous Calls to Methods
  • Lab: Converting Synchronous Calls to Asynchronous Calls
Skills
  • Describe the .NET Framework asynchronous programming model.
  • Modify a client application to use built-in .NET Framework support for asynchronous calls to methods. Describe how to add explicit support for asynchronous calls to any method.
top
Module 8: Enhancing the Usability of Applications
  • Adding Accessibility Features
  • Adding Help to an Application
  • Localizing an Application
  • Lab: Adding Support for Accessibility
  • Lab: Adding Help to an Application
  • Lab: Adding ToolTips to an Application
  • Lab: Localizing the User Interface of an Application
  • Lab: Localizing Resources in an Application
Skills
  • Use .NET Framework features to add and enable accessibility features in an application.
  • Add support for context-sensitive help, Help menus, and tool tips to an application.
  • Use localization properties and resource files to create a localized version of a .NET Framework Windows Forms application.
top
Module 9: Deploying Windows Forms Applications
  • .NET Assemblies
  • Deploying Windows Forms Applications
  • Lab: Building and Referencing a b-Named Assembly
  • Lab: Installing a b-Named Assembly into the GAC
  • Lab: Deploying a .NET Application
  • Lab: Using an Application Configuration File
Skills
  • Use b-named assemblies in .NET applications.
  • Use application configuration files to configure and use Microsoft Windows Installer 2.0 to package and deploy .NET applications
top
Module 10: Securing Windows Forms Applications
  • Security in the .NET Framework
  • Using Code Access Security
  • Using Role-Based Security
  • Lab: Adding and Testing Permission Requests
Skills
  • Define evidence and describe its role in the security system in the .NET Framework.
  • Define Authentication and Authorization and describe their roles in the security system in the .NET Framework.
  • List the major characteristics of code access security and role-based security.
  • Describe the .NET Framework security model.
top
> Pre-Requisites
Before attending this course, students must have the following pre-requisites:
> Purpose
After completing this course, students will be able to create and populate Windows forms; organize controls on Windows forms; create menus in a Windows Forms application; add code to form and control event procedures in a Windows Forms application; create multiple-document interface (MDI) applications; use dialogs in Windows Forms applications; validate user input in a Windows Forms application; create and use user controls in a Windows Forms application; create licenses for controls; bind Windows Applications to various data sources using Microsoft ADO .NET; consume Web services with Windows Forms applications; use .NET and COM components in a Windows Forms application; call Win32 application programming interfaces (APIs) from a Windows Forms application; print documents in a Windows Forms application; create and format reports using Crystal Reports; create multithreaded Windows Forms application; debug a Windows Forms application; incorporate accessibility features in a Windows Forms application; localize a Windows Forms application; create help files in a Windows Forms application; deploy Windows Forms application; implement code-access and role-based security in a Windows Forms application; add deployment flexibility to applications by using shared assemblies
> Supplementary Information
There are more recent Microsoft courses which replace course 2555. We recommend courses 2546 and 2547. 2546: Core Windows Forms Technologies with Microsoft Visual Studio 2005 (3 days) 2547: Advanced Windows Forms Technologies with Microsoft Visual Studio 2005 (2 days)