单项选择题

She returned to the tailor's to buy a dress, only______that they had sold it.

A.have found
B.finding
C.had found
D.to find