窗体上添加有3个命令按,分别命名为Commandl、Command2和Command3,编写Commandl的单击事件过程,完成的功能为:当单击按Commandl时,按Command2可用,按Command3不可见。以下正确的是( )。
A.
Private Sub Command l Click() Command2.Visible=TrueCommand3.Visible=False
B.
Private Sub Commandl Click() Command2.Enabled:TrueCommand3.Visible:FalseEnd SubEnd Sub
C.
Private Sub Commandl_Click() Command2.Enabled=TrueCommand3.Visible=False
D.
Private Sub Commandl_Click() Command2.Visible:TrueCommand3.Enabled=FalseEnd SubEnd Sub