Пример #1
0
 private C1DockTabControl FindParentTab(C1DockTabItem tab)
 {
     foreach (C1DockTabControl d in ViewDock.Items)
     {
         if (d.Items.Contains(tab))
         {
             return(d);
         }
     }
     return(null);
 }
Пример #2
0
 private C1DockTabControl FindParentTab(C1DockTabItem tab)
 {
     foreach (C1DockTabControl d in ViewDock.Items)
     {
         if (d.Items.Contains(tab))
             return d;
     }
     return null;
 }