❔ how to show what i put in the text box only

can i please know how to my my text box show as the pic
10 Replies
TheBoxyBear
TheBoxyBear3y ago
Get the input with the Text property someTextBox.Text. You can take that string and show it with MessageBox.Show()
hercules_x_x
hercules_x_xOP3y ago
i dont understand what u mean if (checkBox1.Checked) MessageBox.Show("movies");
hercules_x_x
hercules_x_xOP3y ago
hercules_x_x
hercules_x_xOP3y ago
how to remove all this and keep only what i write there someTextBox.Text where i put this
TheBoxyBear
TheBoxyBear3y ago
The Text property is a string you can use in place of the "movies" constant
hercules_x_x
hercules_x_xOP3y ago
and the click box how if (checkBox1.Checked) MessageBox.Show("movies"+textBox1); i do like this but it show system.windows.format text;
TheBoxyBear
TheBoxyBear3y ago
textBox1 is the textbox itself and not the text textBox1.Text
hercules_x_x
hercules_x_xOP3y ago
yessss now i understand thank u
hercules_x_x
hercules_x_xOP3y ago
i did like this
Accord
Accord3y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?