|
Unit 1: Creating a Simple Windows Forms Application
Lessons
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)
After completing this unit, students will be able to:
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.
Unit 2: Configuring Standard Controls
Lesson
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
After completing this unit, students will be able to:
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.
Unit 3: Building Menus
Lesson
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)
After completing this unit, students will be able to:
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.
Unit 4: Displaying and Editing Data by Using Data-Bound Controls
Lessons
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)
After completing this unit, students will be able to:
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.
Unit 5: Providing User Assistance and Enhancing Usability
Lessons
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)
After completing this unit, students will be able to:
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 application.
Implement globalization and localization in a Windows Form.
Unit 6: Creating Consistent Applications by Using Dialog Boxes and Forms Inheritance
Lessons
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)
After completing this unit, students will be able to:
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.
Unit 7: Printing Content and Creating Reports
Lessons
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
After completing this unit, students will be able to:
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.
Unit 8: Performing Asynchronous Tasks by Using the BackgroundWorker Component
Lesson
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
After completing this unit, students will be able to:
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.
Unit 9: Deploying Applications by Using ClickOnce
Lessons
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
After completing this unit, students will be able to:
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.
|