菜鸟问题
在好多程序里见到这样的程序,这是什么意思呀?干什么的?
protected override void Dispose( bool disposing ) { if( disposing ) { if (components != null) { components.Dispose(); } } base.Dispose( disposing ); }
在好多程序里见到这样的程序,这是什么意思呀?干什么的?
protected override void Dispose( bool disposing ) { if( disposing ) { if (components != null) { components.Dispose(); } } base.Dispose( disposing ); }
2004-11-09 11:00
方法Dispose的重载
if( disposing ) { if (components != null) { components.Dispose(); } }
这一段是自定义的.
base.Dispose(disposing);
是调用的基方法
2004-11-09 14:36
2004-11-13 13:19
2004-11-13 13:24