title: Sending information to listbox from a class to a Form
body: <p>I am trying to send information to a listbox to a Form from a class. Sounds simple enough. However it just won't show anything after the method has run.</p>
  
  <p>This is my Class and Method 'Testclass' that is being called from form one</p>
  
  <pre><code>    public void testclass()
      {
          Form1 m = new Form1();
          int tostng = "36183464";
          m.listBox1.Items.Add(tostng).ToString();
      }
  </code></pre>
  
  <p>in Form1 I have a listbox which has had it's modifiers set to "Public" so not errors pop up. It will run but nothing will be entered into the listbox. This code works when everything is all in Form1. </p>
  
  <p>Thank you for looking.</p>