This is my code:

```
private void gv_old_KeyPress(object sender, KeyPressEventArgs e)
{
    if (e.KeyChar == 27)
    {
        gv_old.Visible = false;
        // And want focus on that TextBox
    }
}

```

What I want is to focus on the previous TextBox when the focus was on the DataGridView.