Create VirtualDesktop.cs

This code is thoroughly explained in the article "Writing a virtual desktop system in C# with WinAPI" at http://nullpwd.wordpress.com/