[单项选择题] 在窗体form1 的Click事件过程中有以下语句: Label1. Caption = "Visual Basic" 若本语句执行前,标签控件的Caption属性取默认值,则该标签控件的名称属性和Caption属性在执行本语句前的取值分别为 ______。
A.Label,Label1
B.Label,Caption
C.Label1,Label1
D.Caption,Label
正确答案:C
参考解析:标签控件的Caption属性和名称属性的默认值都为Label1。

[单项选择题] 在窗体form1 的Click事件过程中有以下语句: Label1. Caption = "Visual Basic" 若本语句执行前,标签控件的Caption属性取默认值,则该标签控件的名称属性和Caption属性在执行本语句前的取值分别为 ______。
A.Label,Label1
B.Label,Caption
C.Label1,Label1
D.Caption,Label
正确答案:C
参考解析:标签控件的Caption属性和名称属性的默认值都为Label1。
上一篇 [单项选择题] 有以下程序: struct Sint n;int a[20];; void f(int *a, int n) int i; for(i=0;i<n-1;i++) a[i]+=i