Creates a new DocumentInfoForm form,
or form of a type derived from DocumentInfoForm.
Namespace:
C1.C1Preview.FormsAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public static DocumentInfoForm CreateForm( Type customType, Type defaultType ) |
Visual Basic |
---|
Public Shared Function CreateForm ( _ customType As Type, _ defaultType As Type _ ) As DocumentInfoForm |
Parameters
- customType
- Type: System..::..Type
The custom form type (must be DocumentInfoForm or derived from it).
- defaultType
- Type: System..::..Type
The default form type (used if customType is null, must be DocumentInfoForm or derived from it).