MCSD.NET - 70-306 Exam Question:

Download Job Interview Questions and Answers PDF

Suppose You develop a Windows Form that provides online help for users. You want the help functionality
to be available when users press the F1 key. Help text will be displayed in a pop-up window for
the text box that has focus.
To implement this functionality, you need to call a method of the HelpProvider control and pass
the text box and the help text.
Which method should you call?
A. SetShowHelp
B. SetHelpString
C. SetHelpKeyword
D. ToString

MCSD.NET - 70-306 Exam Interview Question
MCSD.NET - 70-306 Exam Interview Question

Answer:

B. SetHelpString

Download MCSD.NET - 70-306 Exam Interview Questions And Answers PDF

Previous QuestionNext Question
Suppose You develop a Windows-based application that includes the following code segment. (Line
numbers are included for reference only.)
01 Public Sub password_Validating (ByVal sender As _
02 Object, ByVal e As _.
03 System.ComponentModel.CancelEventArgs)
04 Handles password.Validating
05 If ValidPassword() = False Then
06 Insert new code.
07 End If
08 End Sub
You must ensure that users cannot move control focus away from textPassword if
ValidPassword returns a value of False. You will add the required code on line 6.
Which code segment should you use?
A. e.Cancel = True
B. sender = textName
C. password.AcceptsTab = False
D. password.CausesValidation =False
You are preparing a localized version of a Windows Form named XYZLocal. Users of XYZLocal
speak a language that prints text from right to left. User interface elements on the form need to
conform to this alignment.
You must ensure that all user interface elements are properly formatted when the localized
Windows Form runs. You must also ensure that XYZLocal is easy to update and maintain.
What should you do?
A. Set the RightToLeft property of each control on the form to Yes.
B. Set the RightToLeft property of the form to Yes.
C. Set the Language property of the form to the appropriate language.
D. Set the Localizable property of the form to True.