單項選擇題

假定一個表單里有一個文本框Text1和一個命令按鈕組CommandGroup1,命令按鈕組是一個容器對象,其中包含Command1和Command2兩個命令按鈕,如果要在Command1命令按鈕的某個方法中訪問文本框Value屬性值,下面哪個式子是正確的()

A.This.Thisform.Text1.Value
B.This.Parent.Parent.Text1.Value
C.Parent.Parent.Text1.Value
D.This.Parent.Text1.Value

微信掃碼免費搜題