Both are important for reducing the rate of growth of any bacterial build up. Cycling shorts should also not be re-worn until thoroughly washed, and you should wash as soon after a ride as possible.
Ah, the age old debate still rages: Bib Shorts vs Cycling Shorts ... it can be a bit disconcerting if you turn up to the office or, we dread to think, drop the little ones at the school gates ...