예제 #1
0
 /// <summary>
 /// Do not use this. Instead, use <see cref="OpTab.AddItems(UIelement[])"/> and <see cref="OpTab.RemoveItems(UIelement[])"/>.
 /// </summary>
 /// <param name="newTab">new OpTab this item will be belong to</param>
 internal void SetTab(OpTab newTab)
 {
     if (this.tab != null && newTab != null)
     {
         this.tab.RemoveItems(this);
     }
     this.tab = newTab;
 }
예제 #2
0
 /// <summary>
 /// Do not use this. Instead, use OpTab.AddItems and OpTab.RemoveItems.
 /// </summary>
 /// <param name="newTab">new OpTab this item will be belong to</param>
 public void SetTab(OpTab newTab)
 {
     this.tab = newTab;
 }