Site MapHelpFeedbackChapter Summary
Chapter Summary
(See related pages)

    1. An ErrorProvider component can provide an icon and pop-up error message next to the field that does not pass validation. Specify the text box and the message in the ErrorProvider’s SetError method.
    2. A text box MaxLength property limits the number of characters the user is allowed to enter into the control.
    3. The CharacterCasing property of a text box can automatically convert user input to uppercase or lowercase.
    4. You can validate individual fields in the Validating event handler for the controls. The Validating event occurs when the user attempts to move the focus to another control that has its CausesValidation property set to true.
    5. C# code snippets are small samples of code that illustrate coding techniques. You can add code snippets in the editor.
    6. Visual Studio includes many sample programs and quick-start tutorials.
    7. A multiple document interface (MDI) contains parent and child forms. Closing the parent also closes all child forms. The child forms stay within the bounds of the parent form.
    8. To create an MDI parent form, set a form’s IsMdiContainer property to true. To create a child form, instantiate a new form object and set its MdiParent property to the parent form in code.
    9. MDI applications generally have a Window menu, which displays a list of open child windows and provides choices for arranging the child windows.
    10. To create a toolbar, add a ToolStrip control and add buttons to the control.
    11. A toolbar generally provides shortcuts to menu options.
    12. A status bar contains information for the user along the bottom of a form. After adding a StatusStrip control to a form, add controls to its Items collection.
    13. The date can be assigned to the Text property of a ToolStripStatusLabel during the Form_Load event handler, but the time display requires an update routine using a Timer component.
    14. The DateTimePicker and MonthCalendar controls have accurate calendars for displaying and inputting dates.
    15. The WebBrowser control provides the ability to display Web pages on a Windows Form.
    16. You can check the e (KeyEventArgs) argument of a control’s KeyUp event handler to determine which key was pressed. The e.KeyCode and e.Key- Data properties hold a numeric code for the key, which you can check using the constants in the Keys enumeration.







Programming in Visual C# 2005Online Learning Center

Home > Chapter 14 > Chapter Summary