| Course#: | 50244 |
| Vendor: | Microsoft |
| Product: | Microsoft Visual Studio 2005 |
| Role(s): | Developers |
| Length: | 4 Days |
| Price: | Call |
This is an introduction to Windows Forms and its place in the .NET architecture. It describes the fundamental elements of any Windows Forms application.
The Controls module describes the core of the Windows Forms framework: the Control class. We discuss its features, and show how it makes UI development much easier than with predecessors such as VB6 or MFC.
This section shows features for displaying and managing windows, and using the standard dialogs common to all Windows applications. Discussion of the ToolStrip and MenuStrip classes that are new to Windows Forms 2.0 is also provided.
This section shows various styles of lifecycle management for your applications. It also shows the options available for storing and managing the various kinds of configuration information used in .NET applications, including application and user settings, the registry, special folders, and isolated storage.
In this module, we show how to use ADO.NET from within a Windows Forms application, and how to bind the results of database queries to controls in the user interface. We also show how data binding can be used in other contexts without needing a live database connection. The module presents the new data binding architecture in Windows Forms 2.0, with discussion of the BindingSource and BindingNavigator classes and the INotifyPropertyChanged interface.
In this section, we begin by describing the windows message dispatching and painting model. We continue with discussion of the drawing facilities that enable you to take control of your application's appearance, providing custom visualization of information. The module concludes with more advanced drawing topics, specifically, double buffering, antialiasing, and owner drawing.
Here we show the facilities for managing and localizing application resources.
This chapter describes the two technologies offered by the .NET Framework, and explains their pros and cons in the context of a Windows Forms application.
Customizing UI behavior requires understanding how the windows layer works. This module describes the windows architecture and presents the different techniques for handling events. It then shows how to process low-level window messages to provide functionality that is not directly exposed through Windows Forms events.
In this section, we show how to assure that long-running operations do not cause the user interface to become unresponsive. We discuss both single and multithreaded techniques for ensuring a responsive UI, and why the multithreaded technique is generally superior. We also show how to avoid the pitfalls inherent in using these techniques in a rich client application, and how the new Windows Forms 2.0 BackgroundWorker class facilitates writing thread safe UI code.
For many deployment models, Windows Forms applications will be subject to the restrictions imposed by .NET Code Access Security (CAS). This chapter describes how best to configure it in smart-client deployment scenarios.
This section describes the exciting new deployment strategies that Windows Forms 2.0 applications offer. It shows how to use the much talked-about ClickOnce technology to deploy an application locally or over the web.
Send us a question and a training consultant will contact you to answer any questions you have.
