title: Displaying an image that is stored in the solution c#
body: <p>I want to display an image in a picture box which I have saved in my solution folder.</p>
  
  <p><a href="https://i.stack.imgur.com/tCUws.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tCUws.png" alt="enter image description here"></a></p>
  
  <p>Is there an easy way for this to be done? I have seen examples of loading from resources using streams etc. But that seems far too much code for what I'm trying to do.</p>
  
  <pre><code>    if (ds.Tables[0].Rows[0]["GDPRState"].ToString() == "1")
      {
           picture_GDPR.Image = Image.FromFile("");
      }
  </code></pre>
  
  <p>Do I want to be using the FromFile function to achieve this?</p>