title: Disable the maximize and minimize buttons of a c# console
body: <p>I have looked around for disabling the 'control' bar of a c# application. It's very similar to
  <a href="https://stackoverflow.com/questions/6052992/how-can-i-disable-close-button-of-console-window-in-a-visual-studio-console-appl">how can i disable close button of console window in a visual studio console application?</a></p>
  
  <p>However I also wish to apply this to the minimize and maximize buttons. I'm not sure whats going on with the code from the previous explanation so that may be my issue in applying it to all the buttons.</p>