窗体上添加有3个命令按钮,分别命名为Command1、Command2和Command3。编写Command1的单击事件过程,
16 查阅
窗体上添加有3个命令按钮,分别命名为Command1、Command2和Command3。编写 Command1的单击事件过程,完成的功能为:当单击按钮Command1时,按钮Command2 可用,按钮Command3不可见d以下正确的是________。
A.Private Sub Command1_Click() Command2.Visible=True Command3.Visible=False End Sub
B.Private Sub Command1_Click() Command2.Enabled=True Command3.Enabled=False End Sub
C.Private Sub Command1_Click() Command2.Enabled=True Command3.Visible=False End Sub
D.Private Sub Command1_Click() Command2.Visible=True Command3.Enabled=False End Sub
参考答案: