And also use a visual studios property window and there is one option to show all events attached to text box...
just select any event which you want and double click on it, it will automatically generate that event for you.....
OR use this syntax to generate event of any controll
yourcontrolID.youreventtogenerate += .. press two times tab key it will genrate that event fro you...
LIKE
TextBox1.TextChanged += TAB + TAB .......PRESS TAB KEY TWO TIMES
then it will generate like this...
RESULT IN....
TextBox1.TextChanged += new EventHandler(TextBox1_TextChanged);
void TextBox1_TextChanged(object sender, EventArgs e)
{
throw new NotImplementedException();
}
Now copy that event name from genrated method and as per event modify your design code fro attaching that event to your text box... or any control...
For more detail on events please see this...
http://msdn.microsoft.com/en-us/library/system.windows.forms.textbox.aspx[
^]
http://msdn.microsoft.com/en-us/library/system.windows.forms.textbox_events.aspx[
^]