ImageBrush backImage = new ImageBrush(); backImage.ImageSource = new BitmapImage(new Uri("Images/register_btn.png", UriKind.Relative)); button1.Background = backImage;
转载于:https://www.cnblogs.com/Hack-ok/archive/2012/07/17/2595296.html
ImageBrush backImage = new ImageBrush(); backImage.ImageSource = new BitmapImage(new Uri("Images/register_btn.png", UriKind.Relative)); button1.Background = backImage;
转载于:https://www.cnblogs.com/Hack-ok/archive/2012/07/17/2595296.html