编程论坛 » C# 论坛 » 菜鸟问题
新手上路
在好多程序里见到这样的程序,这是什么意思呀?干什么的?
protected override void Dispose( bool disposing ) { if( disposing ) { if (components != null) { components.Dispose(); } } base.Dispose( disposing ); }
搜索更多相关主题的帖子: Dispose disposing components bool
查看详细资料
TOP
方法Dispose的重载
if( disposing ) { if (components != null) { components.Dispose(); } }
这一段是自定义的.
base.Dispose(disposing);
是调用的基方法
论坛元老