Exemple #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;
 }
Exemple #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;
 }