Share via


FormShellApplication Generic Class

Extends WindowsFormsApplication to support an application which uses a Windows Forms Form as its shell.

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

Syntax

'Declaration
Public MustInherit Class FormShellApplication(Of TWorkItem As WorkItem, TShell As Form)
    Inherits WindowsFormsApplication(Of TWorkItem, TShell)
'Usage
Dim instance As FormShellApplication(Of TWorkItem, TShell)
public abstract class FormShellApplication<TWorkItem,TShell> : WindowsFormsApplication<TWorkItem,TShell> where TWorkItem : WorkItem where TShell : Form
generic<typename TWorkItem, typename TShell> where TWorkItem : WorkItem where TShell : Form
public ref class FormShellApplication abstract : public WindowsFormsApplication<TWorkItem, TShell>
J# supports the use of generic types and methods, but not the declaration of new ones.
JScript does not support generic types and methods.

Inheritance Hierarchy

System.Object
   Microsoft.Practices.CompositeUI.CabApplication
     Microsoft.Practices.CompositeUI.CabShellApplication
       Microsoft.Practices.CompositeUI.WinForms.WindowsFormsApplication
        Microsoft.Practices.CompositeUI.WinForms.FormShellApplication

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

FormShellApplication Members
Microsoft.Practices.CompositeUI.WinForms Namespace