Ejemplo n.º 1
0
 private void dgGroupList_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (dgGroupList.SelectedRows.Count > 0)
     {
         frmGroupEdit pForm = new frmGroupEdit();
         pForm.FormGroupList = this;
         pForm.GroupCode     = dgGroupList.SelectedRows[0].Cells[0].Value.ToString();
         pForm.ShowDialog();
     }
 }
Ejemplo n.º 2
0
 private void tbtnModify_Click(object sender, EventArgs e)
 {
     if (dgGroupList.SelectedRows.Count > 0)
     {
         frmGroupEdit pForm = new frmGroupEdit();
         pForm.FormGroupList = this;
         pForm.GroupCode     = dgGroupList.SelectedRows[0].Cells[0].Value.ToString();
         pForm.ShowDialog();
     }
 }