suite4.net.FormDatabase Documentation

LoaderControl Constructor (Control, IForm, Object)

Creates a new LoaderControl instance using the specified Control, an IForm and a data source.

[Visual Basic]
Overloads Public Sub New( _
   ByVal rootControl As Control, _
   ByVal memberForm As IForm, _
   ByVal dataSource As Object _
)
[C#]
public LoaderControl(
   Control rootControl,
   IForm memberForm,
   object dataSource
);

Parameters

rootControl
A Form or UserControl instance that is to be merged with the IForm specified in the form parameter.
memberForm
An IForm instance which will be used to mask the rootForm.
dataSource
The data source (business object) to be bound to the controls of form.

Remarks

The IForm specified in the form parameter masks the rootControl. See the discussion at RootControl for more information.

See Also

LoaderControl Class | suite4.net.FormDatabase Namespace | LoaderControl Constructor Overload List