public TabView(TabView copy) : this ( copy.Name, copy.GuiSize, (GuiFrame)copy.ButtonFrame.Clone(), copy.ButtonFramePosition, (GuiFrame)copy.ContextFrame.Clone(), copy.ContextFramePosition, copy.AllowEmpty ) { }
public void RegisterWithTabView(TabView tabView) { if (mFrame != null) { mFrame.Parent = tabView; this.AddOnActivatedAction(delegate() { tabView.ActivateTab(this); }); this.AddOnDeactivatedAction(delegate() { tabView.ClearContextFrame(); }); } }