I know this looks a stupid question, I am new to C# and I wanna know, How do I make a Message Box with a text according with what I wrote in the text box.
Example: I Wrote "Hi" in the Text box, and if I click a button, it will show a message box saying "Hello" Another Example: I Wrote "Whats your name" in the text box, I pressed the button, and it will show a message box saying "My name is..."
So, It will show a message box with a text RELATED with what I wrote in the text box, but not the same text that I wrote in the text box.
Well, I tried to explain in the most easy way, if you understood what I mean, please help me how can I do something like that.
Thanks.
MessasgeBox.Show(TextBox.Text, "custom title")
Hope that might help!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.