RSS

Category Archives: wpf

to set image source of picturebox

using System.Drawing;

 

Image img=Image.FromFile(“D://picture path/pic.jpg”);

pictureBox1.Image = img;

 
Leave a comment

Posted by on February 17, 2013 in c#.net, wpf

 

navigation in windows phone application

this code helps to navigate from the current page to PageImage.xaml

NavigationService.Navigate(new Uri(“/PageImage.xaml”,UriKind.Relative));

 
Leave a comment

Posted by on May 15, 2012 in wpf