title: change c# form application width in left direction
body: <p>So I wanted to change my form size on a button click and also wanted it to look like a little animation so this code help me</p>
  
  <pre><code>while (desiredWidht &lt; this.Width)
  {
      this.Width += 5;                    
      Thread.Sleep(4);
  }
  </code></pre>
  
  <p>but there is one problem. this code expands form in right direction. how can I do the same thing in left direction.. I tried expanding the form then moving it left and moving all controls to the right but the problem was that after form reached certain width controls disappeared for some reason and when the expansion method was done they appeared back again. I cannot figure out what is the problem. What is the proper way I do this.</p>