添加引用 Microsoft Shell Controls and Automation Shell32.ShellClass sc = new Shell32.ShellClass(); sc.MinimizeAll(); // Win+M sc.UnminimizeAll(); // Shift+Win+M IShellDispatch4 sd4 = (IShellDispatch4)sc; if(sd4 != null) sd4.ToggleDesktop(); // Win+D 无法加载DLL"libmySQL.dll"找不到指定的模块 把libmySQL.dll拷贝到system32目录下
桌面上的所有窗口最小化
最新推荐文章于 2025-07-26 11:16:27 发布