会计考友 发表于 2012-8-3 00:09:22

微软认证考试模拟题2(30)

88.变量 openFileDialog 引用一个 OpenFileDialog 对象,为检查用户是否单击了”打开”按钮而退出该对话框,应检查框,应检查(D)是否等于 OpenFileDialog.OK
A OpenFileDialog.Site 属性的值
B OpenFileDialog.Result 属性的值
C OpenFileDialog.OpenFile()的返回值
D OpenFileDialog1.ShowDialog()的返回值
89. 在 C#程序中,显示一个信息为”This is a test!”, 标题为”Hello”的消息框(如下图),正确的语句是( B ).
A. MessageBox(“This is a test!”, “Hello”) ;
B. MessageBox.Show(“This is a test!”, “Hello”) ;
C. MessageBox(“Hello”,”This is a test!”) ;
D. MessageBox.Show(“Hello”,”This is a test!”) ;
90.缺省情况下,WEB 窗体页面中的数据是以()模式绑定到控件的
A 只写
B 可读写
C 只读
D 无法访问
页: [1]
查看完整版本: 微软认证考试模拟题2(30)