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