title: Using a string to access an element of a form
body: <p>I'm building a form in Visual Studio 2012, and I have a controller (a slider to be more specific) called <code>trFinger1Ph1</code>. Is it possible to access this using a variable?</p>
  
  <p>This is how I normally access my control (which works)</p>
  
  <pre><code>int value = Form1::trFinger1Ph1-&gt; Value;
  </code></pre>
  
  <p>But I am hoping to do this:</p>
  
  <pre><code>std::string test = "trFinger1Ph1"
  int value = Form1::test -&gt; Value;
  </code></pre>
  
  <p>I am using this because I have a large list of controls, and accessing them this way would help me clean up a large portion of my code. 
  It is evident that the program is looking inside of trFinger1Ph1 for test, and not recognizing it as the variable test. </p>
  
  <p>Any ideas?</p>