Exam 98-362: Windows Development Fundamentals/Creating Windows Forms Applications

From Wikiversity
Jump to navigation Jump to search

This lesson covers Creating Windows Forms Applications. It looks at events, Windows Forms inheritance, controls, user input, and debugging.

Activity 1 - Create and Handle Events[edit | edit source]

This objective may include but is not limited to: methods for creating events in an application; handling events raised in an application.

  1. Read Creating a User Interface.
  2. Read Events Overview.
  3. Read How to: Create Event Handlers at Run Time for Windows Forms.
  4. Read How to programmatically add controls to Windows forms at run time by using Visual C#.
  5. Read How to programmatically add controls to Windows Forms at run time by using Visual Basic.

Activity 2 - Understand Windows Forms Inheritance[edit | edit source]

This objective may include but is not limited to: implementing forms inheritance in applications for visual inheritance.

  1. Read Windows Forms Inheritance.
  2. Read Walkthrough: Demonstrating Visual Inheritance.

Activity 3 - Understand How to Create New Controls and Extend Existing Controls[edit | edit source]

This objective may include but is not limited to: creating a new GUI control or inheriting functionality from an existing control.

  1. Read Varieties of Custom Controls.
  2. Read Control Type Recommendations.
  3. Read Walkthrough: Inheriting from a Windows Forms Control with Visual C#.
  4. Read Walkthrough: Inheriting from a Windows Forms Control with Visual Basic.

Activity 4 - Validate and Implement User Input[edit | edit source]

This objective may include but is not limited to: implementing the correct user input model based on application design and requirements; accepting keyboard and mouse input; validating user input through GUI controls such as text boxes and dialog controls.

  1. Read User Input in Windows Forms.
  2. Read Using Keyboard Events.
  3. Read Mouse Input in a Windows Forms Application.
  4. Read User Input Validation in Windows Forms.
  5. Read MaskedTextBox Class.
  6. Read Control.Validating Event.

Activity 5 - Debug a Windows-based Application[edit | edit source]

This objective may include but is not limited to: using breakpoints and debugging techniques to identify issues in code; debugging a Windows Services application.

  1. Read Debugging Managed Code.
  2. Read Walkthrough: Debugging a Windows Form.
  3. Read Debugging Windows Service Applications.
  4. Read How to: Debug Windows Service Applications.
  5. Read How to: Debug the OnStart Method.

References[edit | edit source]