Edward_jie

for you, my Hall of Frame

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 2 3 4 5 6 7 ··· 9 下一页

2012年9月28日

摘要: In the current version of Windows Phone, there’ s no support for a built-in local database. This will be taken care of in the next release of the OS (codename “Mango”), which will be released late this year. Mango will have a built-in SQL CE (-like) database which can be accessed using LINQ to SQL. 阅读全文
posted @ 2012-09-28 16:40 Edward_诺 阅读(613) 评论(0) 推荐(0) 编辑

摘要: windows phone使用profiler分析器很方便的测试代码运行时间,很具体,安装profiler之后找到对应项目的debug文件为build路径,然后点击运行app的时候,报错conmanui.dll没有找到的问题解决办法:win7 x64 C:\Program Files (x86)\Common Files\microsoft shared\Phone Tools\CoreCon\10.0\Bin\2052路径下有conmanui.dll;而profiler要找的路径是C:\Program Files (x86)\Common Files\microsoft shared\Pho 阅读全文
posted @ 2012-09-28 11:31 Edward_诺 阅读(201) 评论(0) 推荐(0) 编辑

2012年9月27日

摘要: This week I have checked in a port of NLog 2.0 for Windows Phone 7. It’s still very experimental and the intention of this release is to get feedback from people. Please use at your own risk.Current build supports 8 targets:Console – can be used to write logs to the console (only works in Emulator – 阅读全文
posted @ 2012-09-27 13:05 Edward_诺 阅读(314) 评论(0) 推荐(0) 编辑

摘要: A while ago as part of my post http://nicksnettravels.builttoroam.com/post/2010/07/24/Howe28099s-my-Windows-Phone-7-application-being-used-Getting-started-with-the-Microsoft-Silverlight-Analytics-Framework-for-Windows-Phone-development.aspxdiscussed how you can enable the console window for the Wind 阅读全文
posted @ 2012-09-27 11:03 Edward_诺 阅读(283) 评论(1) 推荐(0) 编辑

2012年9月20日

摘要: 1.用DBHelper和sqlite数据库的时候,如果拷贝物理文件到存储区,而不是在程序里面运行语句生成表来进行操作的时候,会报unable to open the database的错误,这是因为sqlconectioin里面运行sql语句的时候默认是有权限限制的,我们打开源码的oc_win文件,修改795行的代码第二个参数为,openorcrearte就可以了。2.在user control中运用数据绑定的时候,比如text="{binding name}",这需要首先在xaml上面加入DataContext="{Binding RelativeSource= 阅读全文
posted @ 2012-09-20 00:31 Edward_诺 阅读(160) 评论(0) 推荐(0) 编辑

2012年9月12日

摘要: Uri uri = new Uri("background.png", UriKind.Relative); var source = new BitmapImage(); source.CreateOptions = BitmapCreateOptions.None; System.Windows.Resources.StreamResourceInfo s = Application.GetResourceStream(uri); source.SetSource(s.Stream); WriteableBitmap bmp = new WriteableBitmap( 阅读全文
posted @ 2012-09-12 11:44 Edward_诺 阅读(214) 评论(0) 推荐(0) 编辑

2012年7月31日

摘要: using System;using System.Collections.Generic;using System.Text;using System.Collections;namespace ConsoleApplication3{ abstract class AbstractCompnent { abstract public void operation(); } class Leaf:AbstractCompnent { string str; public Leaf(string str) {... 阅读全文
posted @ 2012-07-31 17:03 Edward_诺 阅读(180) 评论(0) 推荐(0) 编辑

摘要: using System;using System.Collections.Generic;using System.Text;using System.Collections;namespace ConsoleApplication3{ abstract class Compnent { abstract public void Operation(); } class ConcreateCompnent : Compnent { public override void Operation() { ... 阅读全文
posted @ 2012-07-31 16:51 Edward_诺 阅读(190) 评论(0) 推荐(0) 编辑

2012年7月30日

摘要: // "Handler"using System;using System.Collections.Generic;using System.Text;using System.Reflection;using System.Collections;namespace ConsoleApplication3{ abstract public class Builder { abstract public void BuilderWheel(); abstract public void BuilderEngine(); abstract ... 阅读全文
posted @ 2012-07-30 15:34 Edward_诺 阅读(202) 评论(0) 推荐(0) 编辑

摘要: // "Handler"using System;using System.Collections.Generic;using System.Text;using System.Reflection;namespace ConsoleApplication3{ abstract class Factory { abstract public ProductA ProductA(); abstract public ProductB ProductB(); } class WindowFactory : Factory { ... 阅读全文
posted @ 2012-07-30 14:06 Edward_诺 阅读(203) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 9 下一页