Пример #1
0
        //[DllImport("Shell32.dll", CharSet = CharSet.Unicode)]
        //private static extern int MinimizeAll();

        /// <summary>
        /// Minimize all application (ie, the "Show Desktop" button)
        /// </summary>
        public static void MinimizeAll()
        {
            var s = new Shell32.ShellClass();

            s.MinimizeAll();
        }