Skip to main content

Quit the application

To quit the application, use the Quit method of the IApplication object.

public void Quit(ICommandContext c, ICommandParams p) 
{
c.App.Quit();
}
Note

Note that if you call this function with a project open, the project will be discarded without warning even if it has not been saved.