WindowWorkspace.OnClose Method (Control)

Closes the form where the smart part is being shown.

Namespace: Microsoft.Practices.CompositeUI.WinForms
Assembly: Microsoft.Practices.CompositeUI.WinForms (in microsoft.practices.compositeui.winforms.dll)

Syntax

'Declaration
Protected Overrides Sub OnClose ( _
    smartPart As Control _
)
'Usage
Dim smartPart As Control

Me.OnClose(smartPart)
protected override void OnClose (
    Control smartPart
)
protected:
virtual void OnClose (
    Control^ smartPart
) override
protected void OnClose (
    Control smartPart
)
protected override function OnClose (
    smartPart : Control
)

Parameters

  • smartPart

See Also

Reference

WindowWorkspace Class
WindowWorkspace Members
Microsoft.Practices.CompositeUI.WinForms Namespace