若要在文件列表框File1中显示所有扩展名为.txt和.bmp的文件,下列设置语句正确的是( )。
A: File1.FileName= "*.txt,*.bmp"
B: File1.FileName = "*.txt;*.bmp"
C: File1.Pattern = "*.txt;*.bmp"
D: File1.Pattern = "*.txt,*.bmp"
A: File1.FileName= "*.txt,*.bmp"
B: File1.FileName = "*.txt;*.bmp"
C: File1.Pattern = "*.txt;*.bmp"
D: File1.Pattern = "*.txt,*.bmp"