title: Set imagesource of wpf image
body: <p>I know that there are a few similiar questions but they don´t help me:</p>
  
  <p>Have got the following code to show a Image in code behind:</p>
  
  <pre><code>BitmapImage logo = new BitmapImage();
  logo.BeginInit();
  logo.UriSource = new `Uri("pack://application:,,,/ApplicationName;component/Images/Klar.JPG");`
  logo.EndInit();
  </code></pre>
  
  <p>The image is in the Images folder at the same level as the <code>bin</code> folder. </p>
  
  <p>What is my mistake?</p>