title: Error : Winform Icon Hiding from Taskbar on maximizing Screen
body: <p>I am facing an issue with Winform lately. If I am setting a form to maximize programitically the icon from taskbar Hides. </p>
  
  <p><strong>My Code.</strong></p>
  
  <pre><code> public PersonalProfile(string sid)
          {
              InitializeComponent();
              StaffUPI = sid;
              this.WindowState = FormWindowState.Maximized;
          }
  </code></pre>
  
  <p><strong>Issue</strong></p>
  
  <p>The Appllication Icon hides from TaskBar on the pages where I have used Maximized Code.
  I dont know Why is this Happening. And is there a fix to this problem.</p>