/// Removes the given selection from our selection list private void RemoveSelection(SampleSelectionItem s) { selectionsByComponent.Remove(s.Component); s.Dispose(); }