mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-10 05:36:57 +00:00
17 lines
357 B
C#
17 lines
357 B
C#
namespace ElectronNET.API
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public sealed class QuitEventArgs
|
|
{
|
|
/// <summary>
|
|
/// Will prevent the default behaviour, which is terminating the application.
|
|
/// </summary>
|
|
public void PreventDefault()
|
|
{
|
|
Electron.App.PreventQuit();
|
|
}
|
|
}
|
|
}
|