create a windows application that can be used to input a user's name. Include an appropriate label indicator for the name and a textbox for the input entry. A buttton labeled submit should retrieve and display the value enterd on another label positioned near the bottom of the form

Respuesta :

Answer:

lblOutput.Text = txtUsername.Text;

See attachment for program interface

Explanation:

This question is answered using C# windows forms application.

First, we need 2 labels, 1 textbox and 1 button to answer this question.

For this assignment, the following properties are set for the tools.

1. Textbox

Name: txtUsername

2. The first label (at the left of the textbox)

Name: lblUser

Text: Username

3. Button

Name: lblSubmit

Text: Submit

4. The second label (below the button)

Name: lblOutput

Text: -----

After these have been done, double-click on the button to create a click event and enter the following code:

lblOutput.Text = txtUsername.Text;

See attachment for program interface

Ver imagen MrRoyal