救命啊 sos!!2个c#英文题目麻烦高手给小弟翻译下

来源:百度知道 编辑:UC知道 时间:2024/05/04 17:03:36
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 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