ArcFM Engine Developer Guide
MainApp Class Members
Properties  Methods  Events


The following tables list the members exposed by MainApp.

Public Properties
 NameDescription
Public Propertystatic (Shared in Visual Basic)AppInitializedReturns whether the application has finished initialization.  
Public Propertystatic (Shared in Visual Basic)ExceptionUIEnabledGets or sets whether the exceptions are displayed to the user.  
Public Propertystatic (Shared in Visual Basic)HaveResourcesReturns whether the main assembly has resources defined (per AssemblyInfo.cs).  
Public Propertystatic (Shared in Visual Basic)LayoutManagerReturns a reference to the layout manager of this application.  
Public Propertystatic (Shared in Visual Basic)MainAssemblyReturns the main assembly of this application.  
Public Propertystatic (Shared in Visual Basic)MainAttributesReturns a reference to the assembly information for the main assembly.  
Public Propertystatic (Shared in Visual Basic)MainWinReturns a reference to the main window of this application.  
Public Propertystatic (Shared in Visual Basic)ResourcesReturns/sets a reference to the resource manager helper class for the main assembly.  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)InitializeErrorHandlingDefines the actions that need to take place to properly handle unexpected application errors. This method must be called prior to the Run method if any dialog boxes are shown or possible errors can occur.  
Public Methodstatic (Shared in Visual Basic)RunDefines the main entry point to start an application using this framework.  
Top
Public Events
 NameDescription
Public EventApplicationClosingThe event that is raised to allow listeners to perform whatever close-down operations they desire.  
Public EventApplicationInitializedThe event that is raised to allow listeners to perform whatever initialization operations they desire after all application objects have been created.  
Public EventApplicationInitializingThe event that is raised to allow listeners to perform whatever initialization operations they desire before any application objects have been created.  
Public EventApplicationStartingThe event that is raised to allow listeners to perform whatever startup operations they desire.  
Public EventPerformDefaultLayoutThe event that is raised to allow the application to provide the display layout when no layout information has been persisted.  
Public EventPerformDefaultSettingsThe event that is raised to allow the application to set the display settings desired.  
Public EventSelectSplashImageThe event that is raised to allow listeners (main application using this framework) to specify the image to be used for the splash screen.  
Top
See Also

Reference

MainApp Class
Miner.Windows Namespace

 

 


Send Comment