你是想用新的TreeView去覆盖旧的TreeView吗?
先记录旧TreeView的location和size
在新TreeView显示前设置新TreeView的location和size等于旧的Location和Size