单项选择题

当改变目录列表框控件Dir1中的当前目录时,希望同步改变文件列表框File1中显示的文件,在Dir1_Change事件过程中使用的命令是

A.File1.Path=DiPath
B.Dir1.Path=File1.Path
C.File1.Path=Dir1.Drive
D.Dir1.Drive=File1.Path