private void buttonAgregar_Click(object sender, EventArgs e)
 {
     frmAgregarEditarTarea faet = new frmAgregarEditarTarea();
     faet.actualizarDataGridEvento += new frmAgregarEditarTarea.actualizarDataGrid(llenarDataGrid);
     faet.MdiParent = this.MdiParent;
     faet.Show();
 }
 private void buttonEditar_Click(object sender, EventArgs e)
 {
     int r = dataGridTarea.CurrentCell.RowIndex;
     frmAgregarEditarTarea faet = new frmAgregarEditarTarea(Convert.ToInt32(dataGridTarea.Rows[r].Cells["idtarea"].Value));
     faet.actualizarDataGridEvento += new frmAgregarEditarTarea.actualizarDataGrid(llenarDataGrid);
     faet.MdiParent = this.MdiParent;
     faet.Show();
 }