-
Recent Posts
Recent Comments
Mr WordPress on Hello world! zhi on 《Windows用户态程序高效排错》 中涉及到的链接(ZT) Amanda on 歌颂祖国,我们不差钱 Eternal on 歌颂祖国,我们不差钱 Eternal on English Reading:关于中国成为世界第二的真相 Archives
- May 2017
- April 2017
- July 2016
- June 2016
- April 2015
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- August 2005
- July 2005
Categories
Meta
Monthly Archives: July 2005
How to set control set when writting .net form control
以下的control style 是比较常用的。 create 一个control, 仅仅实现以下代码: Mycontrol :Contorl { public MyControl() { SetControlStyle() } private void SetControlStyle() { //If true, drawing is performed in a buffer, and after it completes, the result //is output to … Continue reading
Posted in Uncategorized
Leave a comment
读 Applied .net Framework programming ch19 GC 的笔记
读 Applied .net Framework programming ch19 GC 的笔记 //=========================================//Finalize//==========================================当GC判定一个对象为垃圾时, 会尝试调用该对象的Finalize 如果没有显式关闭对象封装的UnManaged resource, 这些UnManaged resource只有在进程结束时才被系统回收。 System.Object定义了一个Finalize(但没有任何实现代码), 如果对象需要在被回收之前作 清理, 需要override 这个方法, object的Finalize 不会被调用。 // When garbage collected, the Finalize method, which// will close the unmanaged resource’s handle, is called.protected override void Finalize() … Continue reading
Posted in Uncategorized
Leave a comment