温琴

导航

2012年10月10日 #

(Metro学习二)Metro活动磁铁

摘要: TileUpdater noticifier = TileUpdateManager.CreateTileUpdaterForApplication();//实例化推送对象noticifier.EnableNotificationQueue(true);//开启推送队列/// <summary> /// 加载到tile推送队列 /// </summary> private void Tilepush() { Status currentStatus = new Status(); //获取当前新... 阅读全文

posted @ 2012-10-10 15:47 温琴 阅读(364) 评论(0) 推荐(0)

(Metro学习一)相框

摘要: Win8Metro开发中,为图片添加相框,将图片流和相框图片流转换为字节数组,字节数组中用RGBA表示一个像素点的颜色值。拼相框时,如果相框在该点的颜色透明度值为0,则选择图片字节数组中该点值,否则选择相框图片字节数组中该点值。为图片添加相框步骤为选图->选相框->加相框,代码实现如下: (1)选图SelectImageprivate async void SelectImage() { try { FileOpenPicker imagePicker = new FileOpenPicker ... 阅读全文

posted @ 2012-10-10 12:02 温琴 阅读(316) 评论(0) 推荐(0)