예제 #1
0
        public static void RemoveContentWithName(this IDockableManager manager, string name)
        {
            var m = manager.ViewDictionary.FirstOrDefault(d => d.Name == name);

            if (m != null)
            {
                manager.RemoveDockableContent(m.View);
            }
        }
예제 #2
0
 public static void RemoveDockAbleContent(this IDockableManager manager, object model)
 {
     manager.RemoveDockableContent(model);
 }
예제 #3
0
 public void RemoveOperation(IDataProcess process)
 {
     dockableManager.RemoveDockableContent(process);
     process.Close();
 }