上一页 1 2 3 4 5 6 7 8 9 10 ··· 26 下一页
摘要: OLE(Object Linking and Embedding) is a critical technology by Microsoft to carry out its enterprise applications, based on COM it's also a quite old one. Despite of its importance, itdoesn't seem to be so necessary to me as .NET is far more than enough. However in a recent task I have to tou 阅读全文
posted @ 2013-06-08 20:16 quanben 阅读(490) 评论(0) 推荐(0) 编辑
摘要: In C# we all know the standard way of finalising an object that potentially contains both managed and unmanaged resources islike 1 class SomeDisposabl... 阅读全文
posted @ 2013-06-07 08:01 quanben 阅读(326) 评论(0) 推荐(0) 编辑
摘要: This is one of the most daunting problems I have ever solved in my life. Another one with a similar complex nature that comes in to my mind is the extended regular expression parser I implemented. For the latter I still not 100% sure if it works perfectly as expected, it passed some typical tests th 阅读全文
posted @ 2013-06-01 18:49 quanben 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Simplest C# code so far I can think of equivalent to the JavaScript design pattern to allow private members.The original JavaScript code can be found here:http://www.crockford.com/javascript/private.htmlFor the ease of comparison, the JavaScript code from the above linkis also pasted here, 1 functio 阅读全文
posted @ 2013-05-21 18:12 quanben 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 由德德转来的,没时间看。承认时间和脑细胞不够挥霍,仅暂贴于此,由此原文件可以删除廖。【1】假设有一个池塘,里面有无穷多的水。现有2个空水壶,容积分别为5升和6升。问题是如何只用这2个水壶从池塘里取得3升的水。【2】周雯的妈妈是豫林水泥厂的化验员。 一天,周雯来到化验室做作业。做完后想出去玩。 "等等,妈妈还要考你一个题目,"她接着说,"你看这6只做化验用的玻璃杯,前面3只盛满了水,后面3只是空的。你 能只移动1只玻璃杯,就便盛满水的杯子和空杯子间隔起来吗?" 爱动脑筋的周雯,是学校里有名的"小机灵",她只想了一会儿就做到了。 请你想想 阅读全文
posted @ 2013-05-12 01:05 quanben 阅读(358) 评论(0) 推荐(0) 编辑
摘要: I upgraded my workplace desktop to Windows 8 today, thanks to the fast speed of SSD and the simplified installation process of the new operating system.However when I wanted to bind the system to my live account, I found it couldn't get through the final stage as the system seemed to fail to ret 阅读全文
posted @ 2013-05-10 13:56 quanben 阅读(216) 评论(0) 推荐(0) 编辑
摘要: At work I spent a lot of time trying to get my head around a issue with WPF grid resizing during runtime. I always found the controls don't resize the way I wanted and differently than how those in the exemplary program (MS Office in this case) do.What I intended to do issomething like the recen 阅读全文
posted @ 2013-05-09 12:59 quanben 阅读(2190) 评论(0) 推荐(0) 编辑
摘要: 这里的基本整理一般原则是:1. 尽可能少分段2. 关于类的尽可能靠前(例如static),关于实际对象的尽可能靠后3. 早生成的尽可能靠前4. 公有的,接口的尽可能靠前5. 抽象的,通用的,基础性的,被依赖靠前;继承过来的尽量靠前6. 相对需要引起注意的尽量靠前7. 其他一些以往经验考虑 1 class Sample : BaseClass, IIntf1 2 { 3 #region Enumerations 4 5 enum EnumType 6 { 7 Const1, 8 // ... 9 } 10 11 #en... 阅读全文
posted @ 2013-04-23 09:07 quanben 阅读(541) 评论(0) 推荐(0) 编辑
摘要: This morning CSDN cloud computing section unusually shared something of great value athttp://www.csdn.net/article/2013-04-08/2814796-Machine-LearningAnd when I opened the link within I was not surprised that it as it promised providesveryinspiringlearning material covering comprehensively and in a c 阅读全文
posted @ 2013-04-09 07:42 quanben 阅读(144) 评论(0) 推荐(0) 编辑
摘要: Resources Needed,1. API: http://msdn.microsoft.com/en-us/library/live/hh826523.aspxlooks like the ultimateprogram has to be in a windows store app or windows phone app form, hopefully it can be an offline app in debugging mode able to have the calendar updated.2. Algorithms: (Shouldn't be too ha 阅读全文
posted @ 2013-04-09 07:32 quanben 阅读(305) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 26 下一页