Unload UserControl

There should be a simple way to unload UserControl from the display without using Visibilty, since in theory it does not actually unload.

What are the solutions?

+4
source share
2 answers

You can use UserControl.Dispose() as described here: http://msdn.microsoft.com/en-us/library/3cc9y48w.aspx

-one
source

Wrote a short article about loading and unloading UserControls

The idea of ​​a hole makes the shore that the child knows who his parent is.

-one
source

Source: https://habr.com/ru/post/1393062/


All Articles