单项选择题

______, he locked the door and went out to work.

A. Having the meal
B. After had the meal
C. Had the meal
D. Having had the meal