Share via


WindowsFormsApplication Members

Extends CabShellApplication to support shell-based applications that use Windows Forms.

The following tables list the members exposed by the WindowsFormsApplication generic type.

Protected Constructors

  Name Description
Protected method WindowsFormsApplication Initializes an instance of the WindowsFormsApplication class.

Top

Public Properties

(see also Protected Properties )

  Name Description
Public property RootWorkItem  Returns the root WorkItem for the application. (Inherited from CabApplication.)

Top

Protected Properties

  Name Description
Protected property Configuration  Returns the SettingsSection that controls the configuration for this CabApplication. (Inherited from CabApplication.)
Protected property Shell  Returns the shell that was created. Will not be valid until AfterShellCreated has been called. (Inherited from CabShellApplication.)
Protected property VisualizerType  Sets the visualizer type to be used for the application; if set to null, will turn off visualizer support (even if visualizations are configured in App.config). (Inherited from CabApplication.)

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Equals  Overloaded. (Inherited from Object.)
Public method GetHashCode  (Inherited from Object.)
Public method GetType  (Inherited from Object.)
Public method OnUnhandledException  May be overridden in a derived class to be notified of any unhandled exceptions in the AppDomain. If the application is started with a debugger, this will not be called, so that the normal debugger handling of exceptions can be used. (Inherited from CabApplication.)
Public method Static ReferenceEquals  (Inherited from Object.)
Public method Run  Starts the application. (Inherited from CabApplication.)
Public method ToString  (Inherited from Object.)

Top

Protected Methods

  Name Description
Protected method AddBuilderStrategies Overridden. Adds Windows Forms specific strategies to the builder.
Protected method AddServices Overridden. See AddServices
Protected method AfterShellCreated Overridden. See AfterShellCreated
Protected method BeforeShellCreated  May be overridden in derived classes to perform activities just before the shell is created. (Inherited from CabShellApplication.)
Protected method CreateVisualizer  May be overriden in a derived class to provide a visualizer (Inherited from CabApplication.)
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)
Protected method OnRootWorkItemInitialized  Creates the shell. (Inherited from CabShellApplication.)
Protected method Start  Must be overriden. This method is called when the application is fully created and ready to run. (Inherited from CabApplication.)

Top

See Also

Reference

WindowsFormsApplication Class
Microsoft.Practices.CompositeUI.WinForms Namespace