Tech
Forums
Jobs
Books
Events
Live
Interviews Prep
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
How to give image path of image control from root folder.
My Softwares
Jul 14 2016 12:04 PM
246
Reply
My current image path code in wpf is
image1.Source = new BitmapImage(new Uri(@"D:\My Work\Programming\wpf\Number Generator\Number Generator\Images\1.png"));
i want to give path as
image1.Source = new BitmapImage(new Uri("Images\1.png"));
how it is possible , please tell me if anyone can.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
What is meaning of this margin?
Issue about width and height measurement of textbox