| < Free Open Study > |
|
Forms within .NET can no longer be manipulated behind the scenes as they could in VB 6.0. The forms are still text files, but the code that creates components cannot be manipulated directly in the text file as it could in VB 6.0. The extensibility objects for programmatically manipulating forms within the IDE are available. They are complex and abstract. The objects listed in this section are the basic starting objects with which you must work.
The IComponent interface allows you to create and manipulate components on a form.
The IDesignerHost interface allows you to manage designer transactions and components. You must use this interface to manipulate forms and their contained components.
The ObjectExtenders object gives you access to automation extenders. See the MSDN topic "Implementing and Using Automation Extenders" for more information on automation extenders.
The PropertyDescriptor object allows you to reference and change properties on a form or a component on a form.
The PropertyDescriptorCollection collection contains a set of PropertyDescriptor objects. It allows you to select a specified property from the collection of properties of the component or form.
The SelectedItem object represents a selected project item or items in the IDE.
The SelectedItems collection contains the SelectedItem objects in the IDE.
The TypeDescriptor object provides information about the properties and events of a component, including a form.
| < Free Open Study > |
|