title: C# 'this.Width' or 'this.Height' is returned wrong after user resized the form
body: <p>I've got a "normal" form, the user may resize it and so on. 
  If he clicks a specific button, the formBorderStyle is changed to "none", so that he may not resize it anymore and so that the form size is not dynamic anymore. 
  After this happened, the code is supposed to return form Width &amp; Height. I do this by using</p>
  
  <pre><code>this.FormBorderStyle = FormBorderStyle.None;
              mid.X = this.Width / 2;
              mid.Y = this.Height / 2;
  </code></pre>
  
  <p>Note: "mid" is just a normal Point.</p>
  
  <p><strong>The problem:</strong></p>
  
  <p>The code ALWAYS returns the size 1080; 720. This is because the starting size is like that. The code is supposed to deliver the changed size (e.g. if the user changes the form size to 2000; 1000 it should deliver 2000;1000, not 1080;720.
  Why doesn't the program update the Size-values / Why are the old values delivered?</p>
  
  <p>Thanks!</p>
  
  <p>EDIT:</p>
  
  <p>Here's the complete event that delivers the size:</p>
  
  <pre><code>private void button1_Click(object sender, EventArgs e)
          {
              button1.Visible = false;
              this.FormBorderStyle = FormBorderStyle.None;
              mid.X = this.Width / 2;
              mid.Y = this.Height / 2;
              drawerUpdateSchedule.Start();
          }
  </code></pre>