单项选择题
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.
单项选择题 YouarecreatingaWindowsFormsapplicationbyusingthe.NETFramework3.5.Youplantodevelopacustomcontrolfortheapplication.Thecontrolwillbeacompositecontrol.Yourneedtoderivefromtheclassthatwillcreatethecontrolbyusingtheminimumamountofdevelopmenteffort.Whatshouldyoudo?()
单项选择题 YouarecreatingaWindowsFormsapplicationbyusingthe.NETFramework3.5.Youplantodevelopanewcontrolfortheapplication.YouneedtoensurethatthecontrolextendstheDataGridViewcontrolbyallowingthecellstocontainmulticoloredtext.Whatshouldyoudo?()
单项选择题 YouarecreatingaWindowsFormsapplicationbyusingthe.NETFramework3.5.Youplantodevelopanewcontrolfortheapplication.ThecontrolwillhavethesamepropertiesasaTextBoxcontrol.Youneedtoensurethatthecontrolhasatransparentbackgroundwhenitispaintedonform.Youwanttoachievethisgoalbyusingtheminimumamountofdevelopmenteffort.Whatshouldyoudo?()