title: Getting a variable from another class file
body: <p>I have two class files, one for my main form and calling things and another for my image processing code. My problem is that I create a <code>Bitmap</code> in the method in <code>Class2</code> and I need it for <code>Class1</code> to set the <code>PictureBox</code>.</p>
  
  <pre class="lang-cs prettyprint-override"><code>public void Render(string bmpPath, decimal _Alpha, decimal _Red, decimal _Green, decimal _Blue)
  {
      Bitmap imageFile = new Bitmap(bmpPath);
  }
  </code></pre>
  
  <p>I just need to send it the bitmap but I don't know how to do that correctly. I tried creating another <code>Bitmap</code> but I need the Width and Height.</p>