救命啊!帮小弟翻译下

来源:百度知道 编辑:UC知道 时间:2024/07/16 04:20:26
www.ExamInsaide.comQ:172 you create a new custom constrol by extending a standard TextBOX control.You need to replace the default icon for the control with your own custom icon.What are two possible ways to achieve this goal?(Each correct answer presents a complete solution.Choose two.)
A.add the bitmap file that contains the custom icon to the custom control project.Set its BuildAction property to Compile in the propeties window.

b add the bitmap file that contains the custom icon to the custom control project.Decorate the control class with the toolboxbitmap attribute,and specify the location of the bitmap file for the icon.

c add the bitmap file that contains the custom icon to the custom control project.Give the bitmap file the same name as your control class,and use the .bmp or .ico file name extension.Set its BuildAction property to EmbeddedResource in the properties w

www.ExamInsaide.comQ:172您创建新的自定义constrol延长一个标准的文本框control.You需要更换的默认图标的控制自己的自定义icon.What两种可能的方式来实现这一目标? (每正确答案提出了一个完整的solution.Choose两个。 )
A.add位图文件包含自定义图标,自定义控制project.Set其BuildAction财产编译在propeties窗口。

b添加位图文件包含自定义图标,自定义控制project.Decorate类的控制与toolboxbitmap属性,并指定的位置,位图文件的图标。

ç添加位图文件包含自定义图标,自定义控制project.Give的位图文件的名称相同的控件类,并使用。 BMP或。图标文件名extension.Set其BuildAction财产EmbeddedResource窗口的属性中。

D新增点阵图文件包含自定义图标,自定义控制project.Give的位图文件的名称相同的控件类,并使用the.bmp或图标文件名extension.Set的复制到输出目录财产的点阵图来复制始终。

答:乙,丙

www.ExamInside.com问: 174您要创建一个自定义的控制,显示的图像在background.you通知时,控制大小,背景图像闪烁,而控制是反复repainted.you需要消除背景图像闪烁。其中三个代码段应您UES公司? (每正确回答提出的部分solution.Choose三。 )
1 me.setstyle ( controlStyles.optimizedDoublebuffer ,真实)
b me.setstyle ( controlStyles.allpaintingInWinP