NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Creating a Composite Win Forms Control

A composite Win Forms control is a control that consists of other Win Forms controls. An example is a control that has a text field with two buttons, a reset and a submit button. To create a composite control, you should define a class that derives from System.WinForms.UserControl. This will ensure that keyboard routing works for all the child controls and that the child controls receive focus. Composite controls are most easily created using a designer such as the Visual Studio 7 Win Forms designer. An example is presented in the Win Forms Quickstart.