I CLOSED ALL THE WINDOWS AND THEN LOCKED THE DOOR. A. HAVING LOCKED...

39.I closed all the windows and then locked the door.

A. Having locked the door, I closed all the windows.

B. Having closed all the windows, I locked the door.

C. Having locked the door, then all the windows were closed.

D. Having closed all the windows, then the door was locked.