title: How can I prevent a user from closing my C# application?
body: <p>How to make unclosed application in C#? I want to disable the 'X' button of the form and prevent the Windows Task Manager from closing it as well.</p>
  
  <p>I know that one way to prevent a form from closing is to handle the <code>FormClosing</code> event, but how do I prevent the task manager from closing it?</p>