70-536-(2012第三套).docx

  1. 1、本文档共26页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
70-536-(2012第三套)

1、您正在为新的客户端应用程序开发一个实用程序。该实用程序在屏幕上显示一个温度计,该温度计显示应用程序正在执行的进程的当前状态。您需要在屏幕上绘制一个矩形来充当温度计的背景,如相关材料中所示。此矩形必须使用渐变底纹进行填充。(单击相关材料按钮。)您应该选择哪个代码段A.RectangleF rectangle = new RectangleF(10f, 10f, 450f, 25f); SolidBrushrectangleBrush = new SolidBrush(Color.AliceBlue);Pen rectanglePen = new Pen(rectangleBrush);Graphics g = this.CreateGraphics();DrawRectangle(rectangleBrush, rectangle);B.Rectangle rectangle = new Rectangle(10, 10, 450, 25); LinearGradientBrushrectangleBrush =newLinearGradientBrush(rectangle, Color.AliceBlue, Color.CornflowerBlue, LinearGradientMode.ForwardDiagonal);Pen rectanglePen = new Pen(rectangleBrush);Graphics g = this.CreateGraphics();DrawRectangle(rectanglePen, rectangle);C.RectangleF rectangle = new RectangleF(10f, 10f, 450f, 25f); Point[] points = new Point[] {new Point(0, 0),new Point(110, 145)};LinearGradientBrushrectangleBrush =newLinearGradientBrush(rectangle, Color.AliceBlue, Color.CornflowerBlue, LinearGradientMode.ForwardDiagonal);Pen rectanglePen = new Pen(rectangleBrush);Graphics g = this.CreateGraphics();DrawPolygon(rectanglePen, points);D.Rectangle rectangle = new Rectangle(10, 10, 450, 25); LinearGradientBrushrectangleBrush =newLinearGradientBrush(rectangle, Color.AliceBlue,Color.CornflowerBlue,LinearGradientMode.ForwardDiagonal);Pen rectanglePen = new Pen(rectangleBrush);Graphics g = this.CreateGraphics();FillRectangle(rectangleBrush, rectangle);答案:D2、您需要生成一个语言代码和地区代码的报告列表。使用哪个代码来实现?A. foreach (CultureInfo culture in CultureInfo.GetCultures(CultureTypes.SpecificCultures)) { // Output the culture information...} B. CultureInfo culture = new CultureInfo(); CultureTypes types = culture.CultureTypes; // Output the culture information... C. foreach (CultureInfo culture in CultureInfo.GetCultures(CultureTypes.NeutralCultures)) { // Output the culture information...} D. foreach (CultureInfo culture in CultureInfo.GetCultures(CultureTypes.ReplacementCultures)) { // Output the culture information...} 答案

文档评论(0)

xcs88858 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8130065136000003

1亿VIP精品文档

相关文档