title: Maximize a window programmatically and prevent the user from changing the windows state
body: <p>How do I maximize a window programmatically so that it cannot be resized once it 
  reaches the maximized state (for example, maximize Internet&nbsp;Explorer and see it)?</p>
  
  <p>I set FormWindowState property as </p>
  
  <pre><code>this.WindowState = FormWindowState.Maximized;
  this.MaximizedBounds = (x,y);
  </code></pre>
  
  <p>but it doesn't work. How do I do this?</p>
  
  <p>The window I want to maximize is a window in my application.</p>