题目内容:
请根据以下各小题的要求设计Visual Basic应用程序(包括界面和代码)。(1)在名称为Form1的窗体上放置一个名称为Drive1的驱动列表框控件,一个名称为Dir1的目录列表框控件、一个名称为File1的文件列表框控件。程序运行时,可以对系统中的文件进行浏览。如图46-1所示。



图46-1
注意:程序中不得使用任何变量;保存时必须存放在考生文件夹下,窗体文件名为sj1.frm,工程文件名为sj1.vbp。
(2)在名称为Form1的窗体上放置一个名为Label1的标签控件和一个名为Timer1的计时器控件,程序运行后,文本框中显示的是当前的时间,而且每一秒文本框中所显示的时间都会随时间的变化而改变,并且显示的字体为四号宋体字,如图46-2所示。

图46-2
注意:程序中不得使用任何变量;保存时必须存放在考生文件夹下,窗体文件名为sj2.frm,工程文件名为sj2.vbp。
参考答案:
答案解析: