Answers

Question and Answer:

  Home  MCSD.NET - 70-306 Exam

⟩ Suppose You develop a Windows-based application that includes the following code segment. (Linenumbers 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.Validating05 If ValidPassword() = False Then06 Insert new code.07 End If08 End SubYou must ensure that users cannot move control focus away from textPassword ifValidPassword returns a value of False. You will add the required code on line 6.Which code segment should you use?A. e.Cancel = TrueB. sender = textNameC. password.AcceptsTab = FalseD. password.CausesValidation =False

A. e.Cancel = True

 192 views

More Questions for you: