2012年6月14日

InputScope枚举

摘要: 阅读全文

posted @ 2012-06-14 15:18 GIS-MAN 阅读(156) 评论(0) 推荐(0) 编辑

windwos phone 的多任务

摘要: 理论上,程序的切换不难,但是程序占用的的资源共享很难——包括屏幕和输入设备 Let’s nail down some terminology that’s consistent with some events I’ll discuss later: • When an application is run from the Start screen, it is said to be... 阅读全文

posted @ 2012-06-14 14:33 GIS-MAN 阅读(183) 评论(0) 推荐(0) 编辑

导航基础

摘要: this.NavigationService.Navigate(new Uri("/SecondPage.xaml", UriKind.Relative)); 导航到SecondPage.xaml 页面间传递参数,通过new uri (string str)通过str 传递参数 string destination = "/SecondPage.xaml"; Color clr = (Co... 阅读全文

posted @ 2012-06-14 11:52 GIS-MAN 阅读(268) 评论(0) 推荐(0) 编辑

2012年6月8日

windows phone调用 rest风格的 服务

摘要: 服务地址http://odata.netflix.com/v2/catalog/http://odata.netflix.com/catalog/http://odata.netflix.com/catalog/Titleshttp://developer.netflix.com/docs/oData_Catalog 此地址下有很多服务浏览器请求(返回的的数据格式如下)(1)新建个windwos phone程序 RestTestnetfix(2 ) 在命令行里面 使用windows phone sdk 里面的 DataSvcUtil ,在本地生成代理类F:\resttest\testone.c 阅读全文

posted @ 2012-06-08 15:28 GIS-MAN 阅读(1424) 评论(0) 推荐(2) 编辑

Windows Phone 7 页面旋转动画

摘要: <phone:PhoneApplicationPage.Projection> <PlaneProjection x:Name="planeProjection" CenterOfRotationX="0" /> </phone:PhoneApplicationPage.Projection> <phone:PhoneA... 阅读全文

posted @ 2012-06-08 10:39 GIS-MAN 阅读(1267) 评论(0) 推荐(0) 编辑

2012年6月7日

windows phone 多触控画图并保存到 手机图片库

摘要: http://code.msdn.microsoft.com/CSWP7MultiTouchDrawing-4513213a 原文 效果图 算法分析: 按下鼠标的时候 把这个点加入点的集合,当鼠标移动的时候,把加入的点集 画线 无论是移动鼠标还是按下鼠标都会触发 Touch.FrameReported += new TouchFrameEventHandler(Touch_Fra... 阅读全文

posted @ 2012-06-07 10:57 GIS-MAN 阅读(219) 评论(0) 推荐(0) 编辑

wp 的手势Gestures: flick, pan, and stretch

摘要: http://www.microsoft.com/windowsphone/en-us/howto/wp7/start/gestures-flick-pan-and-stretch.aspx 原文 阅读全文

posted @ 2012-06-07 09:45 GIS-MAN 阅读(512) 评论(0) 推荐(0) 编辑

2012年6月6日

wp 之path详细 以及一个关于LinearGradientBrush 的动画

摘要: 首先LinearGradientBrush 画刷竟然包含Trsanslate 属性也就有x,y 属性 <Path HorizontalAlignment="Center" VerticalAlignment="Center" StrokeThickness="25" Data="M 1... 阅读全文

posted @ 2012-06-06 15:37 GIS-MAN 阅读(328) 评论(0) 推荐(0) 编辑

WP数据绑定

摘要: 绑定到自己 首先source 变成RelativeSource , Text="{Binding RelativeSource={RelativeSource Self}, ,path 就是绑定的数据,vs会在编写xaml代码的时候 直接体现出来(不用编译) 阅读全文

posted @ 2012-06-06 15:12 GIS-MAN 阅读(204) 评论(0) 推荐(0) 编辑

一个小范围 滑动的动画

摘要: public void Transform(double from, double to, FrameworkElement target, double duration) { Storyboard sb = new Storyboard(); ScaleTransform scale = new ScaleTransform();... 阅读全文

posted @ 2012-06-06 10:56 GIS-MAN 阅读(185) 评论(0) 推荐(0) 编辑

导航