title: DataGridView: How to select first cell in current row when MultiSelect is true
body: <p>I am creating my DataGridViewEx class, inherited from DataGridView.<br/>
  I want to create a method for selecting first cell in a current row, so I wrote this:</p>
  
  <pre><code>        /// &lt;summary&gt;
      /// The method selects first visible cell in a current row.
      /// If current row is null, nothing is done. 
      /// If any cells are selected, they are unselected before selecting first cell.
      /// &lt;/summary&gt;
      public void SelectFirstCellInCurrentRow()
      {
          if (CurrentRow == null) return;
  
          ClearSelection();
          foreach (DataGridViewCell cell in CurrentRow.Cells)
          {
              if (cell.Visible)
              {
                  cell.Selected = true;
                  return;
              }
          }
      }
  </code></pre>
  
  <p>And I want to use it like this for example:</p>
  
  <pre><code>     private void btnAdd_Click(object sender, EventArgs e)
          {
              bindingSource.Add(new Customer());
              bindingSource.MoveLast();
              grid.SelectFirstCellInCurrentRow();
              grid.BeginEdit(false);
          }</code></pre>
  
  <p>My task is to add a new row to the grid and start editing its first cell.<br/>
  This code works fine if grid.MultiSelect = false, but if grid.MultiSelect = true, then it doesn't work as expected: all cells are deselected, first cell of the last row is selected, but !!! the cell in last row on column that was last selected gets edited, instead of first cell!</p>
  
  <p>This is how it looks:<br/>
  1) I select some cells:<br/>
  _http://img13.imageshack.us/img13/2528/beforeadd.gif</p>
  
  <p>2) After I press Add button:<br/>
  _http://img211.imageshack.us/img211/847/afteradd.gif</p>
  
  <p>Thank you in advance.</p>
  
  <p>PS. Why can't I add images?</p>