static void Main(string[] args) { new ConsoleCtrl(); Console.Read(); } class ConsoleCtrl { [DllImport("User32.dll", EntryPoint = "FindWindow")] private static extern IntPtr FindWindow(
C# Console 运行之后最小化到状态栏
最新推荐文章于 2025-06-10 11:34:38 发布
static void Main(string[] args) { new ConsoleCtrl(); Console.Read(); } class ConsoleCtrl { [DllImport("User32.dll", EntryPoint = "FindWindow")] private static extern IntPtr FindWindow(