单项选择题

程序运行时,使Command1失效的语句是()。

A. Command1.Visible=True
B. Command1.Visible=False
C. Command1.Enabled=True
D. Command1.Enabled=False