private void toolStripTextBox1_KeyPress(object sender, KeyPressEventArgs e)
{
if (!char.IsNumber(e.KeyChar) && e.KeyChar != 8)
e.Handled = true;
if (e.KeyChar == '\r' && toolStripTextBox1.Text.Length > 0)
{
e.Handled = true;
txtCode.GoToLine(int.Parse(toolStripTextBox1.Text));
mnuTextBox.Hide();
}
}