03 January 2013

Focus on New Line in TextBox in C#.net

Today ,we will discuss about focus on New line in TextBox in C#.Net

Select Multiple Line option in the TextBox.
Call this Code in your TextBox KeyDown Event
if (e.KeyCode == Keys.Enter)
{
(textbox name).AppendText((textbox name).Text);
}

No comments: