- Back to Home »
- Windows Applications »
- TextBox
Posted by :
Sudhir Chekuri
Monday, 15 February 2016
It is used to take input from user.
Default Event: TextChanged which is fired when text in textbox changed.
Example code to take input from user and print immediately in a label control
Default Event: TextChanged which is fired when text in textbox changed.
Example code to take input from user and print immediately in a label control
private void textBox1_TextChanged(object sender, EventArgs e)
{
label1.Text = textBox1.Text;
}