Ejemplo n.º 1
0
 //ManagerForm-DataGridView-Cell Click Choose Id//
 private void DgvManagerShow_CellClick(object sender, DataGridViewCellEventArgs e)
 {
     try
     {
         id       = (int)DgvManagerShow.Rows[e.RowIndex].Cells[0].Value;
         _manager = _managerDal.GetById(id);
         LblSelected.Show();
         LblSelectedName.Show();
         BtnDelete.Show();
         BtnUpdate.Show();
         LblSelectedName.Text = _manager.Name + " " + _manager.Surname;
     }
     catch { }
 }