2011年11月8日
摘要: 1.首先创建一个普通的Windows phone application项目(UserInterface) 和一个windows phone class library类库(Dll).2.在Dll类库下面添加一个文件夹Imgs,并向其中添加图片资源Hydrangeas.jpg,其Build Action==Embeded Resource(为了让图片资源编译到Dll中),3.接着是在Dll中的cs文件里面引用图片资源,有两种写法: 一: Assembly asssembly = Assembly.GetExecutingAssembly(); Stream stream=asssembl... 阅读全文
posted @ 2011-11-08 23:44 Games 阅读(980) 评论(0) 推荐(0) 编辑