title: Selected property of Rows Collection set to true doesn't change SelectedRow in DGV
body: <p>I'm trying to implement GlobalKeyPress event that fires on Up and Down arrows, then changes the selected row in DGV - simple, right?</p>
  
  <p>But the following line doesn't change the selected row:</p>
  
  <blockquote>
    <p>dgvArtikli.Rows[index++].Selected = true;</p>
  </blockquote>
  
  <p>What's the catch? There has to be some property or something that I don't know about...</p>
  
  <pre><code>private void RegistarMainForm_KeyDown(object sender, KeyEventArgs e)
  {
          if(e.KeyCode == Keys.Down)
          {
              MoveDown();
          }
          else if (e.KeyCode == Keys.Up)
          {
              MoveUp();
          }
      }
  
      private void MoveUp()
      {
          if (dgvArtikli.RowCount &gt; 0)
          {
              if (dgvArtikli.SelectedRows.Count &gt; 0)
              {
                  int index = dgvArtikli.SelectedRows[0].Index;
                  dgvArtikli.Rows[index--].Selected = true;
              }
          }
      }
  
      private void MoveDown()
      {
          if (dgvArtikli.RowCount &gt; 0)
          {
              if (dgvArtikli.SelectedRows.Count &gt; 0)
              {
                  int index = dgvArtikli.SelectedRows[0].Index;
                  dgvArtikli.Rows[index++].Selected = true;
              }
          }
      }
  </code></pre>