摘要: WriteableBitmap could only be constructed in UI threadto be continued 阅读全文
posted @ 2012-09-27 19:31 水平方 阅读(97) 评论(0) 推荐(0)
摘要: sometimes the emulatorpreview in visual studio and blendgoes wrong when you access the network or accelerator in the contructor. You should add these codeto avoid this problem: if (!DesignerProperties.GetIsInDesignMode(this.LayoutRoot)) { var acc = new Accelerator(); } in... 阅读全文
posted @ 2012-09-27 04:02 水平方 阅读(149) 评论(0) 推荐(0)