any idea on how to turn this code into a desktop app ? - C#