桌面上的所有窗口最小化

添加引用   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目錄下
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章