|
|
@ -999,7 +999,11 @@ namespace Apewer |
|
|
|
#region System
|
|
|
|
|
|
|
|
/// <summary>结束当前进程。</summary>
|
|
|
|
public static void Exit() => Process.GetCurrentProcess().Kill(); |
|
|
|
public static void Exit() |
|
|
|
{ |
|
|
|
Environment.Exit(0); |
|
|
|
Process.GetCurrentProcess().Kill(); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>当前操作系统是 Windows。</summary>
|
|
|
|
public static bool IsWindows |
|
|
|