private void GvDetail_CurrentCellDirtyStateChanged(object sender, EventArgs e)
 {
     try
     {
         if (GvDetail.CurrentCellAddress.X == 0 && GvDetail.IsCurrentCellDirty)
         {
             //コミットする
             GvDetail.CommitEdit(DataGridViewDataErrorContexts.Commit);
         }
     }
     catch (Exception ex)
     {
         //エラー時共通処理
         MessageBox.Show(ex.Message);
         //EndSec();
     }
 }