public void ChangeRoot(GUTag root, GUTag sub, GUTag subsel) { if (root != null) { MainCanvas.ChangeRoot(root, sub); } if (sub != null) { MainCanvas.ClearSelected(); SubCanvas.ChangeRoot(sub, subsel); } }