WPF后台更换背景图-Background

Uri uri = new Uri("Images/BACK.gif", UriKind.Relative);
BitmapImage bimg = new BitmapImage(uri);
AllPage.Background = new ImageBrush(bimg);

posted @ 2014-07-01 16:24  一剑天门开  阅读(2054)  评论(0编辑  收藏  举报