private void errorBoxCurrent_GoToErrorPosition(object sender, EventArgs e)
        {
            if (_errorPosition != -1)
            {
                TextBoxCurrentSubQuerySql.SelectionStart  = _errorPositionCurrent;
                TextBoxCurrentSubQuerySql.SelectionLength = 0;
                TextBoxCurrentSubQuerySql.ScrollToPosition(_errorPositionCurrent);
            }

            TextBoxCurrentSubQuerySql.Focus();
        }
 private void errorBoxCurrent_RevertValidText(object sender, EventArgs e)
 {
     TextBoxCurrentSubQuerySql.Text = _lastValidSql;
     TextBoxCurrentSubQuerySql.Focus();
 }