Creates the modeless frame around the specified VisualBasic form object.
[Visual Basic .NET] Public Sub Create ( _ ByVal vbForm As Object _ )
[C#] public void Create ( object vbForm );
Product Availability
Available with ArcGIS Desktop.
Description
The ModelessFrame object controls the life cycle of the Visual Basic form. You should pass an instance of the VBForm and not the Form itself. For example, you should use the following style when you create the ModelessFrame object;
Dim pForm As Form1
Set pForm = New Form1
Dim pFrame As IModelessFrame
Set pFrame = New ModelessFrame
pFrame.Create pForm