Well, your video game would be in a constant loop, so you must be doing something to exit the application. A WinForms application closes when the main form closes or if you do it programmatically. Not much else to say without seeing some code.