摘要: 1. 多转1: int[,] array2 = {{1,2,3},{4,5,6},{7,8,9}}; int[] array1 = array2.OfType<int>().ToArray(); int[][] array2 = {new[]{1,2,3},new[]{4,5,6},new[]{7,8,9}}; int[] array1 = array2.SelectMany(i=...阅读全文
posted @ 2012-05-15 12:19 Eric Fine 阅读(1) 评论(0) 编辑
摘要: 一. 简要步骤:1. 确保手机OS升级到正式7403版或以上版本.2. 用手机IE访问 http://files.cnblogs.com/ericfine/SamsungUnlock.zip.3. 点击最下方的Unlock.xml. (点击后手机根目录里会出现 provxml/Unlock.xml. 另一个cameraset……是显示中文相机设置用的)4. 进行拨号界面输入##634#进行Diagnosis.5. 输入*#9908#, 在上方选择Unlock后, 再点左下的save.以上就是三星WP7手机(Omnia 7, Focus可用. Omnia W, Focus Flash, Focu阅读全文
posted @ 2011-12-24 18:06 Eric Fine 阅读(2403) 评论(1) 编辑
摘要: Path<TextBlock Text="{Binding Path=PropertyName}" /><TextBlock Text="{Binding PropertyName}" />Path : Name of the property on the object in the Datacontext of the page. The Path keyword is optional. The two lines above are functionally identical.<TextBlock Text=&qu阅读全文
posted @ 2011-12-06 10:53 Eric Fine 阅读(40) 评论(0) 编辑
摘要: (万恶的微软已在KB971831/KB976462添加了一个TransportSecurityBindingElement.AllowInsecureTransport来实现本文的功能了. 日啊~) 以前我们部门一直通过WSE生成代理类来访问JAVA部门生成的WebService, 因为最近部门里把Visual Studio都升级到2008版了, 大家发现WSE不能再在VS2008里生成其代理类了...阅读全文
posted @ 2009-12-25 13:44 Eric Fine 阅读(422) 评论(5) 编辑
摘要: 塔防游戏,就是通过建筑炮塔阻止敌人通过,已经成为Flash游戏中一个很重要的类型。而这款游戏的作者别出心裁,构思出这款“反塔防游戏”,你扮演的不再是炮塔的建设者,而是要派遣军队冲破炮塔的火力网。先不论这个游戏是否好玩,这个创意真的很赞。游戏的创新,往往就是产生于逆向思维,《地下城守护者》、《勇者别嚣张》就是这样类游戏的典型。推荐大家试试这个感觉完全不一样的塔防游戏。玩法与提...阅读全文
posted @ 2009-09-18 13:45 Eric Fine 阅读(52) 评论(0) 编辑