英语翻译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
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/14 14:50:45
英语翻译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
英语翻译
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 windows.
d 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 icon file name extension.Set the copy to output directory property of the bitmap to copy always.
answer:b,c
www.ExamInside.com q:174 you are creating a custom control that displays an image in the background.you notice that when the control is resized,the background image flicker while the control is repeatedly repainted.you need to eliminate the background image flicker.which three code segments should you ues?(each correct answer presents part of the solution.Choose three.)
a me.setstyle(controlStyles.optimizedDoublebuffer,true)
b me.setstyle(controlStyles.allpaintingInWinPaint,true
c me.setstyle(controlStyles.UserPaint,true
d me.setstyle(controlStyles.opaque,true
answer:a,c,d
小弟英文不好,这箱有礼了
英语翻译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
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.
通过扩展一个标准的TextBox控件来创建一个新的自定义控件.用自定义的图标来替换默认的图标.有哪两种方法来实现?(每个正确的答案代表一个完整的解决方案.选择2个)
A,加一个包含自定图标的位图到自定义控件.设置它的BuildAction属性为Compile在属性窗口中.
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.
B,加一个包含自定图标的位图到自定义控件.修改控件类的toolboxbitmap属性,并且把位图文件的路径改为自定义图标的路径.
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 windows.
C,加一个包含自定图标的位图到自定义控件.把位图文件的名称重命名为控件的类名,并且使用.bmp或者.ico为扩展名.在属性窗口中设置BuildAction属性为EmbeddedResource.
d 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 icon file name extension.Set the copy to output directory property of the bitmap to copy always.
D,加一个包含自定图标的位图到自定义控件.把位图文件的名称重命名为控件的类名,并且使用.bmp或者.ico为扩展名.设置位图的copy to output directory属性为copy always.
answer:b,c
答案:B,C
www.ExamInside.com q:174 you are creating a custom control that displays an image in the background.you notice that when the control is resized,the background image flicker while the control is repeatedly repainted.you need to eliminate the background image flicker.which three code segments should you ues?(each correct answer presents part of the solution.Choose three.)
你将要创建一个自定义控件,这个空间用来作为背景显示一张图片.你注意到,当这个空间被拖动改变大小时,这个背景图片在闪烁,并且这个空间不断的被重新刷新.你需要消除背景图片的闪烁.你因该使用以下哪三段代码?
a me.setstyle(controlStyles.optimizedDoublebuffer,true)
b me.setstyle(controlStyles.allpaintingInWinPaint,true
c me.setstyle(controlStyles.UserPaint,true
d me.setstyle(controlStyles.opaque,true
answer:a,c,d
答案:a,c,d
累死了,要加分啊.