title: Changing the location of a Label
body: <p>I have tried to programmatically set the location of a label but the compiler says it is not a variable, </p>
  
  <pre><code>label1.Location.X = 200;// shows an error
  </code></pre>
  
  <p>is there any trick I could use to move labels around which does not include hiding and showing controls.</p>
  
  <p>The technology is visual c# not WPF.  </p>
  
  <p>I'm looking for a way to move some text on the form,I separated the characters of the text, label for each, and also the mathematic formula</p>
  
  <pre><code>(x',y')=center;x'=200,y'=200,r=100
  (x,y)=point on the circle.
  sqr(x-x')+sqr(y-y')=sqr(r) =&gt; sqr(x-200)+sqr(y-200)=10000 =&gt; sqr(x)-400x+sqr(y)-400y+70000=0 =&gt;  
  x1=(400+sqrt(160000-4sqr(y)+1600y-280000))/2 ; 
  x2=(400-sqrt(160000-4sqr(y)+1600y-280000))/2
  </code></pre>
  
  <p>Also I am thinking of using threads to refresh the form and create the motion, it is just some ideas I am trying to work this out since you are asking. </p>
  
  <p>many thanks.</p>