Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 { ///

/// Interaction logic for MainWindow.xaml /// public partial class MainWindow : Window { public MainWindow() { void MainWindow(object sender, EventArgs e) {

}

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions

Question

Know the principles of effective service recovery systems.

Answered: 1 week ago

Question

Explain the service recovery paradox.

Answered: 1 week ago