上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: private async void DoAnimistion(){Storyboard storyboard = new Storyboard(); using (IEnumerator enumerator = stack.Children.ToList().GetEnum... 阅读全文
posted @ 2014-06-09 15:41 wangjinming 阅读(281) 评论(0) 推荐(0) 编辑
摘要: Activator.CreateInstance(type); 阅读全文
posted @ 2014-06-06 12:06 wangjinming 阅读(154) 评论(0) 推荐(0) 编辑
摘要: ItemsSource绑定后ScrollViewer不复位 ItemsSource绑定后ScrollViewer不复位,有的时候我们需要这一效果,但大多数情况下我们是想让它复位的。 在WPF中也有这个问题,在WinRT下解决方法也差不多,在重新绑定数据源前加上这段代码即可: if (gridV... 阅读全文
posted @ 2014-06-05 09:33 wangjinming 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 在网上下了个源码打开报错。请确认 声明中的路径正确,且磁盘上存在该文件。一查,原来是路径错误。解决办法:将项目文件(.csproj)用记事本打开,然后找到节点,作如下操作://也可能是别的,自己试试哪种符合自己的。替换为: 阅读全文
posted @ 2014-06-03 10:39 wangjinming 阅读(1522) 评论(0) 推荐(0) 编辑
摘要: 错误提示:Kinect Management failed to start.原因: 1,Kinect Management 服务相依的 Plug and Play的服务没有启动。 2,系统安装了除系统外的别的视频驱动。比如网络视频摄像头驱动。 阅读全文
posted @ 2014-04-28 13:32 wangjinming 阅读(1024) 评论(0) 推荐(0) 编辑
摘要: 下载codeplex上的winrttrigger开源控件Winrt.Tirgger.EventTrigger trigger = new Winrt.Tirgger.EventTrigger(); trigger.HookEvent("ItemClick", gridView); MainViewM... 阅读全文
posted @ 2014-04-24 22:58 wangjinming 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 第一步引用扩展类。using System.Reflection.IntrospectionExtensions;第二步反射。gridView是我定义的GridView控件。ItemClick是它的ItemClick事件。var typeInfo = (gridView.GetType()).Get... 阅读全文
posted @ 2014-04-23 18:34 wangjinming 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 0 阅读全文
posted @ 2014-04-10 18:27 wangjinming 阅读(450) 评论(0) 推荐(1) 编辑
摘要: 代码如下:list为ListView组件。Score为要排序的列,也是绑定的属性。CollectionViewSource.GetDefaultView(list.ItemsSource).SortDescriptions.Add(new SortDescription("Score", ListSortDirection.Ascending)); 阅读全文
posted @ 2014-03-13 11:47 wangjinming 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 一下为找到的资料地址http://lichen.blog.51cto.com/697816/162124http://www.cnblogs.com/live365wang/archive/2011/08/23/2150601.htmlhttp://hi.baidu.com/assassionman/item/840f6a4c16e1750e6dc2f0cc这个是。net的项目集合http://www.codeplex.com/site/search?query=video%20converter&sortBy=Relevance&licenses=|&ac=3 阅读全文
posted @ 2014-03-10 17:08 wangjinming 阅读(158) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页