title: How to set uri for local image in silverlight app?
body: <p>In SL class library MyLib, I have a image say my.png. Then I want to use it in code behind I tried following way:</p>
  
  <pre><code>StreamResourceInfo resourceStream = Application.GetResourceStream(new Uri("/MyLib;component/my.png", UriKind.Relative));    
  BitmapImage image = new BitmapImage();                                
  image.SetSource(resourceStream.Stream);
  this.MyIcon.Source = image;   
  </code></pre>
  
  <p>But it's not woking. I think it's the Uri not set correctly. Help please.       </p>