title: find the position of button control inside the user control inside flowlayoutpanel
body: <p>I have 20 usercontrols in the flowlayoutpanel in a windows form.</p>
  
  <p>Each of the user control has a button.</p>
  
  <p>I want to find the position of each button on the flowlayoutpanel. How can I find the X and Y coordinates for the buttons?</p>
  
  <p>I can access the buttons like this:</p>
  
  <pre><code>foreach (Control ctrl in this.pnlContainer.Controls.Find("btnPrint",true))
  {
      Button c = ctrl as Button;
      if (c != null)
      {
          logger.Info("x: "+c.Location.X + ",y: "+c.Location.Y,c);
      }
  }
  </code></pre>
  
  <p>However, the x and y coordinates are always the same.</p>
  
  <p>thanks!</p>