
344 Chapter 7 • Creating Windows Forms
; To host the ActiveX Control, use the Windows Forms ActiveX Control
Importer to create a wrapper control that derives from System.WinForms
.AxHost.This generated control hosts the ActiveX Control and exposes
its properties, methods, and events (PMEs) as PMEs of the generated
control.
Q: What is a form?
A: A form is a representation of a window. Most forms are used to display con-
trols that display information to the user or collect input from the user.
Q: What are modal and modeless forms?
A: A modal form must be closed before you can continue working with the rest
of the application.A modeless form allows the user ...