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 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.
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.