I have some images added to my solution, right now it is under the folder images\\flowers\\rose.png inside the solution explorer. I want a way to dynamically load this imag
You use this :
Image2.Source = new Bitmap( System.Reflection.Assembly.GetEntryAssembly(). GetManifestResourceStream("MyProject.Resources.myimage.png"));
Or
Image2.Source = new Bitmap(WindowsFormsApplication1.Properties.Resources.myimage);
I do recommend the second one.