// this doesn't work public void remove(Loadout removable) { if (removable == null) { MessageBox.Show("ERROR: Roolia ei löytynyt"); } else { loadoutList.Remove(removable); } }
public void add(Loadout loadout) { this.loadoutList.Add(loadout); }