摘要: 1、图片文件转换成Visual对象private Visual CreateVisual(string imageFileName) { BitmapImage bmp = new BitmapImage(new Uri(imageFileName)); Image img = new Image(); img.Width = 100; img.Source = bmp; Border outBordre = new Border(); outBordre.BorderBrush = Brushes.White; outBordre.BorderThickness = new Thicknes 阅读全文
posted @ 2012-07-27 09:25 @张凯@ 阅读(387) 评论(0) 推荐(0) 编辑