找考题网-背景图
单项选择题

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.

热门试题