BCGControlBar Library for .NET
UnRegisterComponent Method




A form which the component should be registered for.
A component to unregister.
Unregisters and removes such components as CommandBarManager, DockManager and MDITabsOption from the specified form. Called by the framework on setting these components for a specified form. Called by the framework on setting new parent form for CommandBarManager or DockManager object.
Syntax
'Declaration
 
Public Sub UnRegisterComponent( _
   ByVal parentForm As Form, _
   ByVal component As Component _
) 
'Usage
 
Dim instance As LayoutController
Dim parentForm As Form
Dim component As Component
 
instance.UnRegisterComponent(parentForm, component)
public void UnRegisterComponent( 
   Form parentForm,
   Component component
)
public: void UnRegisterComponent( 
   Form* parentForm,
   Component* component
) 
public:
void UnRegisterComponent( 
   Form^ parentForm,
   Component^ component
) 

Parameters

parentForm
A form which the component should be registered for.
component
A component to unregister.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LayoutController Class
LayoutController Members

Send Feedback