Interface IApplication
Application abstraction
Namespace: Neutronium.BuildingBlocks.ApplicationTools
Assembly: Neutronium.BuildingBlocks.ApplicationTools.dll
Syntax
public interface IApplication
Methods
| Improve this Doc View SourceForceClose()
Close the application without calling the cancellation hooks.
Declaration
void ForceClose()
Restart(String)
Close the application and restart it.
Declaration
void Restart(string commandLineOptions = "")
Parameters
Type | Name | Description |
---|---|---|
System.String | commandLineOptions | command line to be applied to the restarting application |
TryClose()
Try to close the application
Declaration
void TryClose()
Events
| Improve this Doc View SourceClosed
Sent when the main window is closing
Declaration
event EventHandler Closed
Event Type
Type | Description |
---|---|
System.EventHandler |
MainWindowClosing
Sent when the main window is closing
Declaration
event EventHandler<CancelEventArgs> MainWindowClosing
Event Type
Type | Description |
---|---|
System.EventHandler<System.ComponentModel.CancelEventArgs> |
SessionEnding
Sent when the session is ending
Declaration
event EventHandler<CancelEventArgs> SessionEnding
Event Type
Type | Description |
---|---|
System.EventHandler<System.ComponentModel.CancelEventArgs> |