單項選擇題

在窗體Form1的Click事件過程中有語句:Label1.Caption="Visual Basic" 若本語句執(zhí)行之前,標簽控件的Caption屬性為默認值,則標簽控件的Name屬性和Caption屬性在執(zhí)行本語句之前的值分別為()。

A.Label和Label
B.Label1和Label1
C.Label1和Visual Basic
D.Label和Caption

微信掃碼免費搜題