What works for me: I ride a good ways and am going to change/shower when I get to school. So shorts, then insulated tights with shorts when it gets cold.
However, the OP may only ride a few miles and therefore will be wearing pants pretty often. In that case, I'd second all the suggestions of pants in socks, bungees, velcro, etc.