单项选择题
You are creating a Windows Forms application by using the .Net Framework 3.5 You plan to display detailed help instructions for each control in the form.You create a help file.You configure a HelpProvider component on the form. You need to display the help file for the control that is focused when the F1 key is pressed. Which method of the HelpProvider class should you call for each control?()
A.SetShowHelp
B.SetHelpString
C.SetHelpKeyword
D.SetHelpNavigator
相关考题
-
多项选择题
YouaredevelopingaWindowsFormsApplicationbyusingthe.NETFramework3.5.YouplantocreateacustomizedPrintPreviewdialogboxintheapplication.Youneedtoensurethatuserscanpreviewtheirdocumentsbeforeprinting.Whichtwoactionsshouldyouperform?()
A.Add a PrintPreviewDialog control to the form.
B.Add a PrintPreviewControl control to the form.
C.Create and initialize a PrintDocument object on the form and then implement the PrintPage event handler.
D.Create and initialize a PrintDocument object on the form and then implement the BeginPrint event handler.
E.Set the Document property of the PrintPreviewDialog control to the PrintDocument instance that must be printed. -
单项选择题
YouaredevelopingaWindowsFormsApplicationbyusingthe.NETFramework3.5.Youplantodesignacompositecustomcontrolfortheapplication.YouincludeaListBoxcontrolhasapropertythatprovidestheitemcountoftheListBoxcontrol.Youneedtoensurethatthepropertycannotbeaccessedatdesigntime.Whichattributeshouldyouuse?()
A.[Bindable(false)]
B.[DesignOnly(false)]
C.[EditorBrowsable(EditorBrowsableState.Never)]
D.[Browsable(false)] -
单项选择题
YouarecreatingaWindowsFormsapplicationbyusingthe.NETFramework3.5.Youplantodevelopanewcontrolfortheapplication.YouneedtoensurethatthecontrolextendstheDataGridViewcontrolbyallowingthecellstocontainmulticoloredtext.Whatshouldyoudo?()
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.
