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