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?
You can use UserControl.Dispose() as described here: http://msdn.microsoft.com/en-us/library/3cc9y48w.aspx
UserControl.Dispose()
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.
Source: https://habr.com/ru/post/1393062/More articles:Make all the forms associated with the program, come to the fore when choosing one form - c #bash, nested commands and redirects - redirectPython relative imports in package are not on the way - pythonWhy does COM Interop treat VB6 Boolean as C # Short? - c #Smarty templates accept a variable and use in include string? - phpCall registration using Dual SIM - androidMultiple tinyMCE instances for fields with the same identifier - javascriptHeroku Tutorial with PIP, virtualenv, psycopg2, Django on Windows 7 - pipgetting error C: conversion to non-scalar type - cIterating over blessing objects in Perl - variablesAll Articles