title: how can i disable close button of console window in a visual studio console application?
body: <p>I need to disable the close button in the console window of a visual studio console 
  application written in C#. I want that the application should run until it completes
  and the user should not be able to stop it by closing the console window. I am using visual studio 2010</p>