title: Updating text box from another class
body: <p>I'm trying to update a text box from a class called 'hex' to the main form. Within the class 'hex' I have the following code:</p>
  
  <pre><code>        Main m = new Main();
          m.updateTextBox(convertedHex);
  </code></pre>
  
  <p>the code passed the variable to the main form to the method called 'updateTextBox' as shown below:</p>
  
  <pre><code>    public void updateLog(string input)
      {
          textBox2.AppendText(input);
      }
  </code></pre>
  
  <p>Sorry if this seems like a silly questions I have been stuck for a while, all the links on my google searches are now purple so I was hoping if someone could explain this to me. Many thanks.</p>