随笔分类 - Windows 8
摘要:开发前准备:Windows 8 RTM MSDN订阅用户下载地址:https://msdn.microsoft.com/zh-cn/subscriptions/securedownloads/hh442898Windows 8 RTM普通用户下载地址:http://msdn.microsoft.co...
阅读全文
摘要:http://blog.csdn.net/wangrenzhu2011/article/details/10207413(转)[csharp]view plaincopyprint?[TemplatePart(Name=A_PARTNAME,Type=typeof(Border))][TemplatePart(Name=B_PARTNAME,Type=typeof(Border))][TemplatePart(Name=C_PARTNAME,Type=typeof(Border))][TemplatePart(Name=D_PARTNAME,Type=typeof(Border))][Temp
阅读全文
摘要:http://blog.csdn.net/wangrenzhu2011/article/details/8578806(转)在winrt中 多点触控 控件的应用越来越多,例如 各种手势与 控件之间的互动,如常规的:放大缩小,滑动,旋转,轻扫等。。但是如果我们需要自定义一些手势,那么需要大量的条件语句判断,严重的影响了性能,往往这些判断在ui 中计算,当触控点过多时会引起系统内响应过慢。当然 常规的解决办法是将这些条件判断放置在多线程中处理。但是该方式治标不治本,条件过多时,代码会显得非常混乱 难以维护。。下面我将介绍一种比较合理的方式处理该问题。通过Predict定义多个条件,通过Action
阅读全文
摘要:展示图 建议搜索:线路查询:应用商店式瀑布浏览(语义缩放):路线规划:
阅读全文
摘要:效果图:还在羡慕metro的ProgressRing吗?wpf 也可以拥有首先说下思路,一共6个点围绕一直圆转,所以需要使用rotation动画 并且一直转下去。那么下面的问题就好解决了。首先是xaml 部分我们需要实现旋转动画:所以要用到这个:[html]view plaincopyprint?上面这一段是单个ellipse的运动轨迹,当然你需要在属性中设置他的中心点值代码如下:[html]view plaincopyprint?接下来的事情就好办了,我们需要他转1圈就消失 结束后也消失,所以需要控制透明度,[html]view plaincopyprint?最终把一个圆变成多个圆的工作 就
阅读全文
摘要:http://blog.csdn.net/wangrenzhu2011/article/details/7732907(转)实现方法:对Manipulation进行抽象化 使不同容器可共用多点缩放事件,C# 代码如下:[csharp]view plaincopyprint?usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;usingWindows.Foundation;usingWindows.UI.Xaml;usingWindows
阅读全文
摘要:http://blog.csdn.net/wangrenzhu2011/article/details/8750820(转)本文章将以如何实现 开始菜单上的tile 为主。该控件代码经过测试可直接使用。tile 在我的思路中分为了 3层。基于ContentControl实现HeaderedContentControl 用于增加Tile种的内容标题在HeaderedContentControl 的基础上 实现 3d变换 根据触点方向触发不同动画。实现HubTileBase在HubTileBase 下我们可以实现多种磁贴如liveTile(实时反馈) MosaicTile(仿wp8 风格) Pul
阅读全文
摘要:1) Resume method does resume on cases where resume is possible. Meaning if the server accepts range-requests, the download would resume, otherwise restart.2) When you are creating the storage file store your data, you have to use GenerateUnique name enum value to avoid overriding the existing file.S
阅读全文
摘要:http://blog.csdn.net/wangrenzhu2011/article/details/8175492(转)在metro 风格中 动态磁贴是他的精髓在wp7 的开发中 我们可以使用hubtile 来制作类似效果但是在 win8 中并不具备这个功能,下面我们来通过扩展GridViewItem 来实现 PictureHubTile[html]view plaincopyprint?[html]view plaincopyprint?usingSystem;usingSystem.Collections.Generic;usingSystem.Collections.ObjectMo
阅读全文
摘要:首先就是要安装win8系统,我的电脑是安装了win8,win7双系统的。(其实很简单,破解的话(一个小工具但是不能多用),因为涉及到涉密问题就不说,之前是用电话(电话可能大家都知道),后来重装后是工具激活的,万试万灵)win8 ISO 同一个镜像分两个版本,不同key使用不同版本:1.:核心板:BN3D2-R7TKB-3YPBD-8DRP2-27GG42.:专业版: NG4HW-VH26C-733KW-K6F98-J8CK4电话激活KEY:XKY4K-2NRWR-8F6P2-448RF-CRYQH本安装教程为Windows8之家原创,做成图文模式,希望能帮助正在使用Win7或者XP的同学顺利安
阅读全文