public void UnloadPad(PadDescriptor padDescriptor) { AvalonPadContent p = pads[padDescriptor]; p.Hide(); DockablePane pane = p.Parent as DockablePane; if (pane != null) { pane.Items.Remove(p); } p.Dispose(); }
public void UnloadPad(PadDescriptor padDescriptor) { AvalonPadContent p = pads[padDescriptor]; p.Hide(); DockablePane pane = p.Parent as DockablePane; if (pane != null) { pane.Items.Remove(p); } p.Dispose(); }