title: Changing Image to another Image in Resources folder (VisualStudio 2015 / c#)
body: <p>I'm trying to change the Background Pic of a Button to another Pic that I saved in the Resources Folder. Currently The Code is the following (FinalDStagePickBANNED.png being the Pic I want it to change to):</p>
  
  <pre><code>private void FinalD_Click(object sender, EventArgs e)
  {
      BanFDButton.Image = (Image)Properties.Resources.ResourceManager.GetObject(FinalDStagePickBANNED.png);
  }
  </code></pre>
  
  <p>The Thing is, that it apparently finds no Pics in the Resources-Folder, although there are like 10 pics.</p>
  
  <hr>
  
  <p>Solved: The solution to the problem was to put the FinalDStagePickBANNED into quatation-signs, and to remove hte .png ending.</p>