mrfangzheng

Hope and fear are useless. Be confident, and always be prepared for the worst.
  首页  :: 新随笔  :: 联系 :: 管理
上一页 1 ··· 13 14 15 16 17

2008年4月22日

摘要: Interface, Event, Wrapper Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//an interface public interface IOperator { event EventHandler O... 阅读全文

posted @ 2008-04-22 11:01 mrfangzheng 阅读(181) 评论(0) 推荐(0) 编辑

2008年4月7日

摘要: In .NET 2.0 there is additional overload that accepts string expression and IXmlNamespaceResolver (XmlNamespaceManager implements it) - see http://msdn2.microsoft.com/en-us/library/6k4x060d.aspx. 阅读全文

posted @ 2008-04-07 16:13 mrfangzheng 阅读(276) 评论(0) 推荐(0) 编辑

2008年4月5日

摘要: C#, Java等语言都不支持类的多继承, 也就是说一个类如果已经继承了一个父类了, 那么它就不能再继承其他类了, 这样从某种程度上说丧失了一些重用性. 典型的例子是: ASP.NET中要求所有的控件都必须继承自UserControl, 这样我们自定义的控件就不能直接继承自我们自己的抽象类, 一般做法是在中间引入一个自己的控件基类, 即: MyControl -> MyControlBase ->... 阅读全文

posted @ 2008-04-05 20:49 mrfangzheng 阅读(396) 评论(0) 推荐(0) 编辑

上一页 1 ··· 13 14 15 16 17