窗体中有3个命令按钮,分别命名为Command1、Command2和Command3。当单击 Eommand1按钮时,Command2按钮变为可用,Command3按钮变为不可见。下列 Command1的单击事件过程中,正确的是( )。
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.PrivateSubCommand1_Click() Command2.Enabled=True Command3.Visible=False End Sub
D.Private Sub Command1_Click() Command2.Visible=True Command3.Enabled=False End Sub