Create a Windows application that contains two textboxes and three buttons. One of the textboxes and one
Question:
Create a Windows application that contains two textboxes and three buttons. One of the textboxes and one of the buttons are initially invisible.
The first textbox should be used to input a password. The textbox should be masked to some character of your choosing so that the characters entered by the user are not seen on the screen. When the user clicks the first button, the second textbox and button should be displayed with a prompt asking the user to reenter his or her password. Set the focus to the second password textbox. Now, when the user clicks the second button, have the application compare the values entered to make sure that they are the same. Display an appropriate message indicating whether they are the same. Once the check is made, display a third button that resets the form.
Step by Step Answer:
C# Programming From Problem Analysis To Program Design
ISBN: 9781285856872
5th Edition
Authors: Barbara Doyle