<polite>gbertoli, you just a little bit wrong</polite>
You cannot add a text box directly into a toolstripcontainer, so you left out that it is in a tool strip. Anyway, by changing the text boxes border style (in the properties window) you can select how the text boxes border will look. Setting it to FixedSingle should do what you want.
You are getting a "bonk" when you hit enter because the text box is set for one line only, so it "bonks" when you try to make a new like. To get around that, make a KeyDown event for your text box. In that, type
csharp
if (e.KeyCode == Keys.Enter) // the enter key was pressed
{
e.SuppressKeyPress = true; //gets rid of the "bonk"
/* do whatever the hell you want with the data in the
text box here */
}
This post has been edited by jacobjordan: 6 Sep, 2008 - 06:50 PM