public void RemoveShow(ShowControl itemToRemove) { lock (_shows) { _shows.Remove(itemToRemove); PersistenceHelper <ShowControl> ph = new PersistenceHelper <ShowControl>(_outputFolder); ph.DeleteFile(itemToRemove); } }
public void RemoveShow(ShowControl itemToRemove) { lock (_shows) { _shows.Remove(itemToRemove); PersistenceHelper <ShowControl> ph = new PersistenceHelper <ShowControl>(_outputFolder); ph.DeleteFile(itemToRemove); } }