随笔分类 -  .NET2.0&3.5

摘要:CultureInfo .NET Internationalization Utilities http://msdn.microsoft.com/msdnmag/issues/04/04/Bugslayer/ Basics of .NET Internationalization http://msdn.microsoft.com/msdnmag/issues/04/03/Bugslay... 阅读全文
posted @ 2007-09-28 13:35 许晓光 阅读(308) 评论(0) 推荐(0)
摘要:WPF 应用程序需要使用LocBaml Tool resoure file VS2005 Windows Application Form property Language = True Note: 在VS2005,需要改变控件的Text属性,才会生成相应的资源文件如Form.hi-IN.resx Localizable = True http://msdn2.micros... 阅读全文
posted @ 2007-09-25 12:48 许晓光 阅读(371) 评论(0) 推荐(0)
摘要:Reflector for .NET Reflector is the class browser, explorer, analyzer and documentation viewer for .NET. Reflector allows to easily view, navigate, search, decompile and analyze .NET assemblies in C#... 阅读全文
posted @ 2007-08-31 13:00 许晓光 阅读(199) 评论(1) 推荐(0)
摘要:componentone 实现第一个报表! Crystal reports for VS2005! 在客户机器上第三方软件必须要安装,否则导致应用程序不能运行! 阅读全文
posted @ 2007-08-30 12:33 许晓光 阅读(227) 评论(1) 推荐(0)
摘要:.NET应用程序的CLR提供给我们托管的自动垃圾收集机制,开发人员不需要考虑内存的释放和回收。不像在非托管程序(C++)中需要开发人员手动释放资源,当然自动垃圾收集机制可能不会及时释放内存资源,或者回收时间不确定。 在C#中可以使用using关键字来确保资源及时释放: 1using(Test test = new Test())2{3 test.work();4} 阅读全文
posted @ 2007-08-13 16:44 许晓光 阅读(255) 评论(1) 推荐(0)
摘要:设定好控件属性后,要用代码this.Controls.Add(this.userControl);把控件加到Form中。 阅读全文
posted @ 2007-08-06 14:49 许晓光 阅读(637) 评论(0) 推荐(0)
摘要:在事件和委托机制中使用Observer 模式 ,事件好像是Subject对象,委托行为好像是观察者。 在集合类中IEnumerable和IEnumerator接口实现Iterator模式,来遍历collections。 在Stream和BufferedStream类动态增加功能通过Decorator模式。 .Net Framework和COM 组件之间的交互,他们... 阅读全文
posted @ 2007-07-27 16:26 许晓光 阅读(539) 评论(0) 推荐(1)
摘要:希望通过这个平台和大家交流和.NET相关的所有技术,一起分享,一起飞翔! 阅读全文
posted @ 2007-07-19 09:39 许晓光 阅读(139) 评论(0) 推荐(0)