去除未使用方法
This commit is contained in:
@@ -30,7 +30,6 @@ namespace BarrageGrab
|
||||
/// </summary>
|
||||
public static Process CurrentProcess { get; private set; } = System.Diagnostics.Process.GetCurrentProcess();
|
||||
|
||||
|
||||
static AppRuntime()
|
||||
{
|
||||
|
||||
@@ -50,16 +49,6 @@ namespace BarrageGrab
|
||||
}
|
||||
}
|
||||
|
||||
public static void DisplayConsoleByTitle(bool show)
|
||||
{
|
||||
var hWnd = WinApi.FindWindow(null, Console.Title);
|
||||
//var hWnd = WinApi.GetConsoleWindow();
|
||||
if (hWnd != IntPtr.Zero)
|
||||
{
|
||||
WinApi.ShowWindow(hWnd, show ? WinApi.CmdShow.SW_SHOW : WinApi.CmdShow.SW_HIDE);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 房间缓存管理器
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user