WindowWorkspace.OnShow Method (Control, WindowSmartPartInfo)

Shows a form for the smart part and sets its properties.

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

Syntax

'Declaration
Protected Overrides Sub OnShow ( _
    smartPart As Control, _
    smartPartInfo As WindowSmartPartInfo _
)
'Usage
Dim smartPart As Control
Dim smartPartInfo As WindowSmartPartInfo

Me.OnShow(smartPart, smartPartInfo)
protected override void OnShow (
    Control smartPart,
    WindowSmartPartInfo smartPartInfo
)
protected:
virtual void OnShow (
    Control^ smartPart, 
    WindowSmartPartInfo^ smartPartInfo
) override
protected void OnShow (
    Control smartPart, 
    WindowSmartPartInfo smartPartInfo
)
protected override function OnShow (
    smartPart : Control, 
    smartPartInfo : WindowSmartPartInfo
)

Parameters

  • smartPart
  • smartPartInfo

See Also

Reference

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