string bmpName = "WindowsApplication6.sync.bmp"; // WindowsApplication6 corresponds to Default Namespace in your project settings. 
 
     System.IO.Stream strm = null; 
 
     try 
 
     { 
 
          strm = this.GetType().Assembly.GetManifestResourceStream(bmpName); 
 
          pictureBox1.Image = new Bitmap(strm); 
 
     } 
 
     catch(Exception e) 
 
     { 
 
          MessageBox.Show(e.Message); 
 
     } 
 
     finally 
 
     { 
 
          if(strm != null) 
 
               strm.Close(); 
 
     }