- 积分
- 117
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 注册时间
- 2011-9-3
- 最后登录
- 1970-1-1
- 阅读权限
- 20
- 听众
- 收听
助理工程师
|
科目编号:70-552
认证名称:UPGRADE:MCAD Skills to MCPD Wdows Dvlpr by Using MS.NET Fmwk
1. You are creating a Windows Forms application. You set the FlatAppearance.MouseOverBackColor property of a
button to Blue. When testing the application, you notice that the background color does not change when you move
the pointer over the button. You need to set the properties of the button so that the background color for the button
changes to blue when the pointer moves over the button. What should you do?
A. Set the FlatStyle property to FlatStyle.Flat.
B. Set the FlatStyle property to FlatStyle.System.
C. Move the set statement for the FlatAppearance.MouseOverBackColor property to the Paint event.
D. Set the UseVisualStyleBackColor property to False.
Answer: A
2. You are customizing a Windows Form. You need to add an input control that provides AutoComplete suggestions
to the user as the user types. Which two controls can you use to achieve this goal? (Each correct answer presents a
complete solution. Choose two.)
A. TextBox control set to SingleLine mode
B. TextBox control set to MultiLine mode
C. ComboBox control
D. RichTextBox control
E. MaskedTextBox control
Answer: AC
3. You are creating a Windows Form that contains several ToolStrip controls. You need to add functionality that allows
a user to drag any ToolStrip control from one edge of the form to another. What should you do?
A. Configure a ToolStripContainer control to fill the form. Add the ToolStrip controls to the ToolStripContainer control.
B. Configure a Panel control to fill the form. Set the Anchor properties of the ToolStrip controls to Top, Bottom, Left,
Right.
C. Add the ToolStrip controls to another ToolStrip control that is hosted by a ToolStripControlHost control.
D. Add the ToolStrip controls to the form. Set the Anchor properties of the ToolStrip controls to Top, Bottom, Left,
Right.Set the FormBorderStyle property of the form to SizableToolWindow.
Answer: A
有需要的朋友请下载附件:
|
|