title: how to get BackgroundImage path of a button in c#
body: <p>I am trying to get the path of the backgroundimage of all the buttons using a method, but I can't seem to get the path. This is my code</p>
  
  <pre><code>b1.BackgroundImage = Image.FromFile(C:\\Users\\m\\Documents\\Visual Studio 
  2010\\Projects\\PApp\\Papp\\1.jpg) ;
  
  b2.BackgroundImage = Image.FromFile(C:\\Users\\m\\Documents\\Visual Studio 2010\\Projects\\PApp\\Papp\\2.jpg) ;
  
  Console.WriteLine(b2.BackgroundImage);
  Console.WriteLine(b1.BackgroundImage);
  </code></pre>
  
  <p>I can display the image in the button, but i want it to display the path in the console, but all I'm getting is System.Drawing.Bitmap. The path is static by the way.</p>