public new void Dispose() { foreach (TabHeader header in tabList) { header.textLabel.Dispose(); header.button.Dispose(); } foreach (TabContent content in contentList) { content.tree.Dispose(); content.scrollWin.Dispose(); } tabList.Clear(); contentList.Clear(); tabView.Dispose(); base.Dispose(); }