去除未使用方法

This commit is contained in:
梅浩东
2024-03-29 11:30:56 +08:00
parent 774be657d8
commit 13b1914db8
-11
View File
@@ -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>