If you don’t want (for some reason) to just change your visibility, you can add and remove them from the collection of form controls.
private void Swap( Control toAdd, Control toRemove )
{
this.Controls.Remove( toRemove );
this.Controls.Add( toAdd );
}
source
share