private void CloseButton_Click(object sender, RoutedEventArgs e) { RackCableManager.RemoveRack(this); ContainingPanel.Children.Remove(this); RackItem?.CleanUp(); }
public void Close() { RackItem?.CleanUp(); }