试题详情
- 单项选择题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 DataGridView control by allowing the cells to contain multicolored text.What should you do?()
A、Override the OnPaint method.
B、Write a code segment to handle the CellPainting event.
C、Write a code segment to handle the CellParsing event.
D、Write a code segment to handle the RowPostPaint event.
- B
关注下方微信公众号,在线模考后查看
热门试题