日期:2014-05-18 浏览次数:20867 次
EventHandler handler = new EventHandler(DetachProgressBar); if (progressBar != null) progressBar.Disposed -= handler; //这里的-=是什么意思?是定义委托吗?和+=有什么区别? private void DetachProgressBar(object sender, EventArgs e) { progressBar = null; }