I wrote an answer to 'developing a GUI in C# on cosmos' - which you can easily find with a little googling. It was deleted and downvoted and I don't know why. What sorts of things should I add (or remove) in order to make it acceptable? It went a little like this:
Man, although I know this might be too late but I got something for you. Cosmos OS has had large changes since 2010 and it's gotten new features too - including VGA support, debugging and file systems!
Download the newest version right here. There should be a wiki as well that documents how to create a GUI in Cosmos! I'd happily change this answer to discuss the article but it'd make things more complicated.
I had links to a VGADriver article and the latest stable release of Cosmos in order to help the dude. Adding code was going to be too complicated to explain - should I have added code to it? I'm not so sure how to deal with this…