title: How to control SendKeys.Send{"tab"} property in Datagridview?
body: <p>I am writing the code in datagridview cell enter event as </p>
  
  <pre><code>private void dgvGoodsRecpt_CellEnter(object sender, DataGridViewCellEventArgs e)
  {
      if (dgvGoodsRecpt.CurrentRow.Cells[e.ColumnIndex].ReadOnly)
      {
          SendKeys.Send("{tab}");
      }
  }
  </code></pre>
  
  <p>This code will send the tab to next cell ,if the current cell is <code>ReadOnly true</code>. </p>
  
  <p>It is working well but here my problem is that my datagridview last column is <code>readonly true</code> and the next controls are <code>txtAmount1.Text</code> and <code>txtAmount2.Text</code>. </p>
  
  <p>When I keep on pressing Tab key the focus is going to <code>txtAmount2.Text</code>. But the next to datagridview is <code>txtAmount1.Text</code>. The focus is going to the next control of the imidiate control after datagridview. The focus supposed to go to the <code>txtAmount1.Text</code> control. What should I do? Please help me.</p>