<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_笔端</title><subtitle type="text">雄心伯伯</subtitle><id>http://feed.cnblogs.com/blog/u/7714/rss</id><updated>2010-06-20T14:34:55Z</updated><author><name>笔端</name><uri>http://www.cnblogs.com/biduan/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/biduan/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/7714/rss"/><entry><id>http://www.cnblogs.com/biduan/archive/2010/06/20/1761579.html</id><title type="text">Silverlight ChildWindow 诡异的bug</title><summary type="text">最近在一个silverlight的项目中，发现到一个诡异的bug，表现为：1.连续打开或者关闭ChildWindow 可能导致主窗体被disable；2.打开/关闭两个不同的ChildWindow 可能导致主窗体disable;这里：http://forums.silverlight.net/forums/p/176423/424519.aspx也有人在讨论该问题。目前基本上可以是由控件自己内部本...</summary><published>2010-06-20T14:28:00Z</published><updated>2010-06-20T14:28:00Z</updated><author><name>笔端</name><uri>http://www.cnblogs.com/biduan/</uri></author><link rel="alternate" href="http://www.cnblogs.com/biduan/archive/2010/06/20/1761579.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/biduan/archive/2010/06/20/1761579.html"/><content type="html">&lt;p&gt;最近在一个silverlight的项目中，发现到一个诡异的bug，表现为：&lt;/p&gt;&#xD;
&lt;p&gt;1.连续打开或者关闭ChildWindow 可能导致主窗体被disable；&lt;/p&gt;&#xD;
&lt;p&gt;2.打开/关闭两个不同的ChildWindow 可能导致主窗体disable;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;这里：&lt;a href="http://forums.silverlight.net/forums/p/176423/424519.aspx" target="_blank"&gt;http://forums.silverlight.net/forums/p/176423/424519.aspx&lt;/a&gt;&amp;nbsp;也有人在讨论该问题。&lt;/p&gt;&#xD;
&lt;p&gt;目前基本上可以是由控件自己内部本身的错误引起的，临时的解决方案为：&lt;/p&gt;&#xD;
&lt;p&gt;1.设置DialogResult的值后不要调用close方法；&lt;/p&gt;&#xD;
&lt;p&gt;2.在关闭ChildWindow时候调用：&lt;/p&gt;&#xD;
&lt;p&gt;Application.Current.RootVisual.SetValue(Control.IsEnabledProperty, true); &lt;/p&gt;&#xD;
&lt;p&gt;强制设置父窗体为enbale&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;这个临时的解决方案看起来有点别扭，当然你也可以重载ChildWindow，在派生类中override OnClosed方法&lt;/p&gt;&lt;img src="http://www.cnblogs.com/biduan/aggbug/1761579.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/biduan/archive/2010/06/20/1761579.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/biduan/archive/2010/06/08/1753774.html</id><title type="text">微软Phone Marketplace的收费政策</title><summary type="text">从Windows Phone 7的最初在MIX 2010亮相到现在已经两个月了，微软在昨天（10年6月7日）发布了最新的Windows Phone Marketplace收费政策：在这里可以找到，当然你也可以，你也可以在这里浏览收费的概要.基本上和最初版本的收费没有太大的变化：年费99$美元每年每个注册帐号允许5个免费的app，超过部分按每个19.99美元收取参加DreamSpark的学生可以免费...</summary><published>2010-06-08T02:27:00Z</published><updated>2010-06-08T02:27:00Z</updated><author><name>笔端</name><uri>http://www.cnblogs.com/biduan/</uri></author><link rel="alternate" href="http://www.cnblogs.com/biduan/archive/2010/06/08/1753774.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/biduan/archive/2010/06/08/1753774.html"/><content type="html">&lt;p&gt;从Windows Phone 7的最初在MIX 2010亮相到现在已经两个月了，微软在昨天（10年6月7日）发布了最新的Windows Phone Marketplace收费政策：在&lt;a href="http://developer.windowsphone.com/Help.aspx" target="_blank"&gt;&lt;font color="#3468a4"&gt;这里&lt;/font&gt;&lt;/a&gt;可以找到，当然你也可以，你也可以在&lt;a href="http://windowsteamblog.com/windows_phone/b/windowsphone/archive/2009/08/24/windows-marketplace-for-mobile-registration-and-application-submission-walkthroughs.aspx" target="_blank"&gt;&lt;font color="#3468a4"&gt;这里&lt;/font&gt;&lt;/a&gt;浏览收费的概要.基本上和最初版本的收费没有太大的变化：&lt;/p&gt;&#xD;
&lt;ol&gt;&lt;li&gt;年费99$美元每年&lt;/li&gt;&lt;li&gt;每个注册帐号允许5个免费的app，超过部分按每个19.99美元收取&lt;/li&gt;&lt;li&gt;参加DreamSpark的学生可以免费注册，但每个帐号最多也只允许提交5个app，超过则按标准收费&lt;/li&gt;&lt;li&gt;新增了一个推送服务的选项；&lt;/li&gt;&lt;li&gt;新增了一个试用功能的API，试用序列号的长度和类型完全由开发者设定；&lt;/li&gt;&lt;li&gt;微软和开发者的分成比例为：30/70 。 收入每个月结算一次，帐号的累积收入需要达到200美元；&lt;/li&gt;&lt;/ol&gt;&#xD;
&lt;p&gt;总体看微软这次政策没有什么亮点，而最让我失望的是之前在开发社区里面呼声较高的对软件提交测试支持也没有任何改变。&lt;/p&gt;&lt;img src="http://www.cnblogs.com/biduan/aggbug/1753774.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/biduan/archive/2010/06/08/1753774.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/biduan/archive/2010/06/03/1750921.html</id><title type="text">System.ServiceModel.FaultException &amp;quot;验证消息的安全性时发生错误。&amp;quot;</title><summary type="text">项目中中一个WinForm的客户端通过WCF通信，并使用了数字证书加密。结果出现及其诡异的现象，系统经常抛出"InnerException: System.ServiceModel.FaultException 验证消息的安全性时发生错误：Google才知道问题原因：服务器时间和客户端时间不同步而造成的。手动修改后一切正常。</summary><published>2010-06-03T09:22:00Z</published><updated>2010-06-03T09:22:00Z</updated><author><name>笔端</name><uri>http://www.cnblogs.com/biduan/</uri></author><link rel="alternate" href="http://www.cnblogs.com/biduan/archive/2010/06/03/1750921.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/biduan/archive/2010/06/03/1750921.html"/><content type="html">&lt;p&gt;项目中中一个WinForm的客户端通过WCF通信，并使用了数字证书加密。结果出现及其诡异的现象，系统经常抛出"InnerException: System.ServiceModel.FaultException 验证消息的安全性时发生错误：&lt;/p&gt;&#xD;
&lt;p&gt;Google才知道问题原因：&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;服务器时间和客户端时间不同步而造成的。手动修改后一切正常。&lt;/p&gt;&lt;img src="http://www.cnblogs.com/biduan/aggbug/1750921.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/biduan/archive/2010/06/03/1750921.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/biduan/archive/2007/08/30/876440.html</id><title type="text">ProMesh.NET： 开源的.net MVC框架</title><summary type="text">如果你已经很习惯于微软提供的webform框架，熟练的拖放设置各个控件，现在不如尝试下这个开源的MVC框架，站在另外的角度审视我们每天使用MS给我们提供的标准框架，会得到不少的收获。ProMesh.NET为CodePlex上的一个项目（作者Philippe Leybaert），用于创建.NET 2.0 Web 应用程序,MVC框架随着Ruby on Rails以及Castle Project 和 ...</summary><published>2007-08-30T15:11:00Z</published><updated>2007-08-30T15:11:00Z</updated><author><name>笔端</name><uri>http://www.cnblogs.com/biduan/</uri></author><link rel="alternate" href="http://www.cnblogs.com/biduan/archive/2007/08/30/876440.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/biduan/archive/2007/08/30/876440.html"/></entry><entry><id>http://www.cnblogs.com/biduan/archive/2007/03/05/664571.html</id><title type="text">Visual Studio Orcas Jan 2007 CTP 虚拟机无法登陆问题</title><summary type="text">下了几天的Orcas  CTP，兴奋的装上尝鲜，安装配置好虚拟机后怎么也登陆不进去，&#xD;&#xD;Username: Administrator &#xD;Password: P2ssw0rd&#xD;&#xD;老是提示密码错误。后来换密码试了半天才发现原来真正的密码：P2ssw0rd "O"代表的不是大写或者小写的O，而是数字0，晕了。&#xD;</summary><published>2007-03-05T10:08:00Z</published><updated>2007-03-05T10:08:00Z</updated><author><name>笔端</name><uri>http://www.cnblogs.com/biduan/</uri></author><link rel="alternate" href="http://www.cnblogs.com/biduan/archive/2007/03/05/664571.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/biduan/archive/2007/03/05/664571.html"/></entry><entry><id>http://www.cnblogs.com/biduan/archive/2006/12/19/596675.html</id><title type="text">无法找到Excel包装程序集解决方案</title><summary type="text">第一次使用C#操作Excel文件，看了一些Demo ，关键点之一在于引入命名空间&#xD;“using Excel;”MSDN上说可以引用程序集microsoft.office.interop.excel.dll，可惜我找不到（如果你知道在哪里，可否告知。在项目－&gt;COM 引用了microsoft excel 11.0 object library对象，提示：无法找到Excel包装程序集&#xD;&#xD;默认的情况下microsoft excel 11.0 object library对象是一个.exe文件，所以我们需要利用工具Tlbimp.exe 生成主 Interop 程序集:&#xD;1)使用VS命令行工具；&#xD;2）把Excel拷贝到 \Microsoft Visual Studio 8\SDK\v2.0\Bin&#xD;3）输入tlbimp EXCEL.exe   /out:Excel.dll&#xD;命令完成后得到：&#xD;Microsoft (R) .NET Framework Type Library to Assembly Converter 2.0.5072</summary><published>2006-12-19T04:21:00Z</published><updated>2006-12-19T04:21:00Z</updated><author><name>笔端</name><uri>http://www.cnblogs.com/biduan/</uri></author><link rel="alternate" href="http://www.cnblogs.com/biduan/archive/2006/12/19/596675.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/biduan/archive/2006/12/19/596675.html"/></entry><entry><id>http://www.cnblogs.com/biduan/archive/2006/11/30/577790.html</id><title type="text">程序不工作时，你会怎么说？</title><summary type="text">今天在MSDN的Blog上看到一片文章《20 大名言統計... 真酷的資料》，列出程序员对无法跑起来的程序怎么反应，不幸是自己说过不少20. "That's weird..." //不可思议19. "It's never done that before." //之前绝不会这样的18. "It worked yesterday." //昨天它还工作17. "How is that possible...</summary><published>2006-11-30T06:23:00Z</published><updated>2006-11-30T06:23:00Z</updated><author><name>笔端</name><uri>http://www.cnblogs.com/biduan/</uri></author><link rel="alternate" href="http://www.cnblogs.com/biduan/archive/2006/11/30/577790.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/biduan/archive/2006/11/30/577790.html"/></entry><entry><id>http://www.cnblogs.com/biduan/archive/2006/11/25/572044.html</id><title type="text">世道已经变了</title><summary type="text">　　在CSDN上看到两篇文章，矛头指向当当网七周年店庆,《当当网---你怎么了??》《出版社内幕爆料》,起因是当当网为了搞店庆活动，全场内书籍全部打7折，如果出版商不配合的话就把书籍下架做为惩罚。这年头，书籍特别是计算机书籍已经不是一般的贵了，随便一本都动辄50大洋，当当的折扣让我等囊中羞涩之人举双手赞成，倒是出版社的人显不是那么高兴了，可以理解，好好的谁愿意受人要挟？&#xD;　可惜啊这世道已经变了，现在谁控制了物流的谁就是老大。供应商和销售商之间永远难以调和，一个希望进价低，一个希望出价高。实际上在大超市领域沃尔马，家乐福这些老大也喜欢这么干，每逢店庆，节假日就招呼供应商配合。游戏规则是这些老大们订的，不喜欢也没有办法。 &#xD;“如果不遵循商业原则办事,最终出版社和书店就不是双赢的局面,不能为赚钱做生意而不讲游戏规则，这样的作法最终会搬起石头砸自己的脚.”君不见世道已经变了，出版社的话语权只会越来越弱，出版社还要想再赚这辛苦钱，回去看看怎么把自己的成本砍下来吧。一本书那么贵，成本上难道还没有办法砍调些吗？&#xD;&#xD;</summary><published>2006-11-25T06:09:00Z</published><updated>2006-11-25T06:09:00Z</updated><author><name>笔端</name><uri>http://www.cnblogs.com/biduan/</uri></author><link rel="alternate" href="http://www.cnblogs.com/biduan/archive/2006/11/25/572044.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/biduan/archive/2006/11/25/572044.html"/></entry><entry><id>http://www.cnblogs.com/biduan/archive/2006/11/15/561310.html</id><title type="text">解决 IntelliJ IDEA 5.1 编译时候"Bad class file format" Bug</title><summary type="text">第一次使用IntelliJ IDEA 5.1开发，一个简单的HelloWorld程序就碰到奇怪的问题，编译时候报出"Bad class file format".如下图但是程序却可以正常run和debug。解决方法:是到这里下载一个jikes然后设置编译器，如图：问题就解决了</summary><published>2006-11-15T08:26:00Z</published><updated>2006-11-15T08:26:00Z</updated><author><name>笔端</name><uri>http://www.cnblogs.com/biduan/</uri></author><link rel="alternate" href="http://www.cnblogs.com/biduan/archive/2006/11/15/561310.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/biduan/archive/2006/11/15/561310.html"/></entry><entry><id>http://www.cnblogs.com/biduan/archive/2006/09/10/500049.html</id><title type="text">期书：《.NET内核揭秘》</title><summary type="text">李建忠老师公布了最新的写作计划，作为他的忠实读者，看到这个消息非常兴奋。从公布的大纲来看，书中涉及的话题较 《.NET框架程序设计(修订版) 》更深一层次。 　有趣的是在他Blog上的另外一篇文章《C#语言的几个层次》，发现如果遵循《.NET内核揭秘》所烈的大纲去研究CLR，那么功力将介于：&amp;#8220;1）熟练掌握面向对象与组件构造，知其然亦知其所以然，完成一般小规模信息管理类软件项目开发任务2...</summary><published>2006-09-09T16:45:00Z</published><updated>2006-09-09T16:45:00Z</updated><author><name>笔端</name><uri>http://www.cnblogs.com/biduan/</uri></author><link rel="alternate" href="http://www.cnblogs.com/biduan/archive/2006/09/10/500049.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/biduan/archive/2006/09/10/500049.html"/></entry></feed>
