正在卸载UserControl
本文关键字:UserControl 卸载 | 更新日期: 2023-09-27 18:21:21
必须有一种简单的方法可以在不使用Visibilty的情况下从显示中卸载UserControl,因为理论上它实际上并没有卸载。
有什么解决方案?
您可以使用UserControl.Dispose()
,如下所述:http://msdn.microsoft.com/en-us/library/3cc9y48w.aspx
本文关键字:UserControl 卸载 | 更新日期: 2023-09-27 18:21:21
必须有一种简单的方法可以在不使用Visibilty的情况下从显示中卸载UserControl,因为理论上它实际上并没有卸载。
有什么解决方案?
您可以使用UserControl.Dispose()
,如下所述:http://msdn.microsoft.com/en-us/library/3cc9y48w.aspx