窗体上添加有3个命令按,分别命名为Command1、Command2和Command3。编写Command1的单击事件过程,完成的功能为,当单击按Command1时,按Command2可用,按Command3不可见。以下正确的是
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