Metro style App 代码引用资源
之前的Uri(@"/.../...", UriKind.Relative); 运行时会出错。
var imgbrush = new ImageBrush();
imgbrush.ImageSource = new BitmapImage(new Uri("ms-resource://StrokePr04/Images/image_sample_01.jpg"));
imgbrush.ImageSource = new BitmapImage(new Uri("ms-resource://StrokePr04/Images/image_sample_01.jpg"));