mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-10 13:49:07 +00:00
* Summaries rewritten * Added new parameters / Removed not supported parameters * Added some new methods like appFocus(options), appHasSingleLock, etc.
16 lines
444 B
C#
16 lines
444 B
C#
namespace ElectronNET.API
|
|
{
|
|
/// <summary>
|
|
/// Event arguments for the <see cref="App.BeforeQuit"/> / <see cref="App.WillQuit"/> event.
|
|
/// </summary>
|
|
public sealed class QuitEventArgs
|
|
{
|
|
/// <summary>
|
|
/// Will prevent the default behaviour, which is terminating the application.
|
|
/// </summary>
|
|
public void PreventDefault()
|
|
{
|
|
Electron.App.PreventQuit();
|
|
}
|
|
}
|
|
} |