2011年微软认证考试模拟题(13)
37. C#程序中,为使变量myForm 引用的窗体对象显示为对话框,必须:A. 使用myForm.ShowDailog 方法显示对话框
B. 将myForm 对象的isDialog 属性设为true
C. 将myForm 对象的FormBorderStyle 枚举属性设置为FixedDialog
D. 将变量myForm 改为引用System.Windows.Dialog 类的对象
正确答案:C
38. Windows Form 应用程序中,要求下压按钮控件Button1 有以下特性: 正常情况下,该按钮是扁平的,当鼠标指针移动到它上面时,按钮升高.那么,在程序中,属性Button1.FlatStyle 的值应设定为:
A. System.Windows.Forms.FlatStyle.Flat
B. System.Windows.Forms.FlatStyle.Popup
C. System.Windows.Forms.FlatStyle.Standard
D. System.Windows.Forms.FlatStyle.System
正确答案:B
39. 为保护Web Service 不受恶意访问的攻击,应使用_______保护Web Service.
A. IIS 目录安全性
B. NTFS 安全性
C. 共享目录安全性
D. TCP/IP 安全性
正确答案:A
页:
[1]