public void RemoveContent(TabControl.TableContent con)
 {
     control.RemoveContent(con);
     con.Item.transform.SetParent(null);
     con.Content.transform.SetParent(null);
     if (control.contents.Count == 0)
     {
         dockArea.Dispose();
         layout.contents.Remove(this);
         layout.Refresh();
     }
 }
 public void ShowContent(TabControl.TableContent con)
 {
     control.ShowContent(con);
 }