单项选择题

要在窗体的标题内显示“myfrm”,使用的语句是()

A.Form1.Print"myfrm"
B.Form.Print"myfrm"
C.Form.caption="myfrm"
D.Form1.caption="myfrm"