While working inside cab compartment, EE had to work in a kneeling/squat position. After moving seat they stood up outside cab and heard a knee pop/noise. Sharp pain occurred. EE tried to work through. After 2 hrs pain still in knee. Contacted supervisor.