ArcFM Engine Developer Guide
IsClosing Property


Indicates whether the main window is closing.
Syntax
'Declaration
 
Public Shadows ReadOnly Property IsClosing As Boolean
'Usage
 
Dim instance As MainWindow
Dim value As Boolean
 
value = instance.IsClosing
public new bool IsClosing {get;}
Remarks
It is common for dockable windows to defer loading/querying data until the UserControl.Load event is fired. If the dockable window has not been shown before the application is closed the Load event will fire during application shutdown. To prevent long operations during the Load event (since the application is shutting down), it is advisable to check the IsClosing property before loading data in response to the Load event.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

MainWindow Class
MainWindow Members

 

 


Send Comment