在窗体上画一个通用对话框,其名称为CommonDialogl,然后画一个命令按钮,并编写如 下事件过程:Private Sub Commandl_Click()CommonDialogl,Flags=vbOFNHideReadOnlyCommontDialogl.Filter= All Files(*.*)|*.*|Text Files (*.*)|*.txt| _& Batch Files (*.bat) |*.bat CommonDialogl.Filterlndex=1CommonDialogl.ShowopenMsgBox CommonDialogl.FileNameEnd Sub程序运行后,单击命令按钮,将显示一个“打开”对话框,此时在“文件类型”框中显示的是( )。
A.All Fries(*.*)
B.Text Files(*.*)
C.Batch Files(*.bat)
D.All Files (*.*)|Text Files(*.*)