| Dates for this class: |
| No dates are available for this class. |
| Course Details [choose new course] [printable version] |
| Core Windows Forms Technologies with Microsoft Visual Studio 2005 (MOC2546) |
| Course Number: MOC2546 |
| Category: Programming & Dev Tools |
| Duration: 3.00 days |
Description
This three-day instructor-led workshop provides students with the knowledge and skills to develop Microsoft Windows Forms applications using Microsoft Visual Studio 2005. The workshop focuses on user interfaces, program structure, and implementation details.
Target Audience
This workshop 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.
Objectives
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.
Prerequisites
Before attending this workshop, students must:
- 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.
Outline
- Unit 1: Creating a Simple Windows Forms Application
- Components of a Windows Forms User Interface
- Event Handling in a Windows Forms Application
- Lab 1: Creating a Simple Windows Forms Application
- Exercise 1. Adding and Configuring Windows Forms and Controls
- Exercise 2. Creating Event Handlers and Monitoring Events
- Exercise 3. Adding Controls and Handlers at Run Time
- Exercise 4. Adding a Form Keyboard Handler (if time permits)
- Unit 2: Configuring Standard Controls
- Windows Forms Controls by Function
- Lab 2: Configuring Standard Controls
- Exercise 1. Creating the EmployeeViewer Form
- Exercise 2. Creating the ReportGenerator Form
- Exercise 3. Creating the ReportGeneratorHelp Form
- Unit 3: Building Menus
- Menus in Windows Forms
- Lab 3: Building Menus
- Exercise 1. Creating and Configuring a MenuStrip Control
- Exercise 2. Creating and Configuring a ContextMenuStrip Component
- Exercise 3. Hiding and Disabling a ToolStripMenuItem
- Exercise 4. Creating and Configuring a ToolStripComboBox (if time permits)
- Unit 4: Displaying and Editing Data by Using Data-Bound Controls
- Binding Data to a Control
- DataGridView Control
- Lab 4: Displaying and Editing Data by Using Data-Bound Controls
- Exercise 1. Adding a Data Source to a Project
- Exercise 2. Binding Data to a Control
- Exercise 3. Creating a Bound Form by Using the BindingSource and BindingNavigator Components
- Exercise 4. Displaying Data by Using the DataGridView Control
- Exercise 5. Binding to Data at Run Time (if time permits)
- Unit 5: Providing User Assistance and Enhancing Usability
- Providing User Assistance
- Implementing Accessibility Features
- Implementing Globalization and Localization
- Lab 5: Providing User Assistance and Enhancing Usability
- Exercise 1. Adding and Configuring User Assistance Controls
- Exercise 2. Implementing Accessibility Features
- Exercise 3. Implementing Globalization and Localization
- Exercise 4. Running a Procedure at Set Intervals (if time permits)
- Exercise 5. Displaying Data Source Errors (if time permits)
- Unit 6: Creating Consistent Applications by Using Dialog Boxes and Forms Inheritance
- Dialog Boxes in a Windows Forms Application
- Windows Forms Inheritance
- Lab 6: Creating Consistent Applications by Using Dialog Boxes and Forms Inheritance
- Exercise 1. Adding and Configuring Dialog Box Components
- Exercise 2. Creating a Custom Dialog Box
- Exercise 3. Implementing Windows Forms Inheritance
- Exercise 4. Modifying an Existing Form to Inherit from a Base Form (if time permits)
- Unit 7: Printing Content and Creating Reports
- Printing in a Windows Forms Application
- Reporting in a Windows Forms Application
- Lab 7: Printing Content and Creating Reports
- Exercise 1. Adding Print Capability to a Windows Forms Application
- Exercise 2. Implementing Reporting by Using the CrystalReportViewer Component
- Unit 8: Performing Asynchronous Tasks by Using the BackgroundWorker Component
- Asynchronous Tasks in Windows Forms Applications
- Lab 8: Performing Asynchronous Tasks by Using the BackgroundWorker Component
- Exercise 1. Running and Canceling a Background Process by Using the BackgroundWorker Component
- Unit 9: Deploying Applications by Using ClickOnce
- Windows Forms Application Deployment Options
- ClickOnce Technology Overview
- Lab 9: Deploying Applications by Using ClickOnce
- Exercise 1. Publishing a ClickOnce Application
- Exercise 2. Installing and Testing a ClickOnce Application
