单项选择题

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

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