Пример #1
0
            public void AddToList(IDockContent content)
            {
                if (ListContent.Contains(content) || IsInActiveList(content))
                {
                    return;
                }

                ListContent.Add(content);
            }
Пример #2
0
 public void RemoveFromList(IDockContent content)
 {
     if (IsInActiveList(content))
     {
         RemoveFromActiveList(content);
     }
     if (ListContent.Contains(content))
     {
         ListContent.Remove(content);
     }
 }