title: Image Resources in WinForms
body: <p>I want to store images in a .dll file and use them for my winform application. but Im not able to load .dll content</p>
  
  <pre><code>   System.IO.Stream stream;
     System.Reflection.Assembly assembly;
     Image bitmap;
     assembly = System.Reflection.Assembly.LoadFrom(Application.ExecutablePath);
     stream = assembly.GetManifestResourceStream("global::template.Properties.Resources.test.png");
     bitmap = Image.FromStream(stream);
     this.background.titleImage = bitmap; // image box
  </code></pre>