title: Call a method from another form
body: <p>I try to call a method from another form. My try:</p>
  
  <pre><code>public partial class newLedPopUp : Form
  {
      Form1 back = new Form1();
      back.output();
      Close();
  }
  </code></pre>
  
  <p>and</p>
  
  <pre><code>public partial class Form1 : Form
  {
      newLedPopUp popup = new newLedPopUp();
  
      public void output()
      {
          button3_Click(null, null);
      }
  }
  </code></pre>
  
  <p>Can somebody help me? I really can't find my error and I've been looking for a very long time.</p>