Question: write a C# WPF application called HelloYourName that includes a label, textbox, and button using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using
write a C# WPF application called HelloYourName that includes a label, textbox, and button
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes;
namespace HelloYourName { ///
}
void btn_1_Click(object sender, EventArgs e) { string var; var = textBox1.Text; MessageBox.Show(var); } } } }
I can't figure out how to get the system to rationalize when the button has been clicked and then read the user input from the text box, and display it in the message box below with the prefilled message combined with the user input, so it should look like this.
"Hello Jonathan, Welcome to Class!"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
