欢迎来到PP题库网 PP题库官网
logo
全部科目 > 微软认证考试 > MCPD > MCPD(70-505)

单项选择题

You are creating a Windows Forms application by using the .NET Framework 3.5. You plan to develop a new control for the application.You need to ensure that the control extends the TreeView control by adding a custom node tag and a highlight color.What should you do?()

    A.Override the OnPaint method.
    B.Write a code segment in the DrawNode event handler to specify the highlight color.
    C.Set the DrawMode property of the control to OwnerDrawAll, and then implement a custom DrawNode event handler.
    D.Set the DrawMode property of the control to OwnerDrawText,and then implement a custom DrawNode event handler.

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题