UserControl 实现From_Close

使用容器.Controls.Remove方法 

http://social.msdn.microsoft.com/Forums/pt-BR/232/thread/55c4698f-2d5c-4428-934a-aba60df640ec

 

 this.Parent.Controls.Remove(this as Control);

 

posted on 2012-04-27 11:15  imihiro  阅读(381)  评论(0编辑  收藏  举报