private void dgvRole_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { int id = 0; int.TryParse(dgvRole.CurrentRow.Cells["Id"].Value.ToString(), out id); frmRoleRequest frm = new frmRoleRequest(id); frm.Show(); }
private void btnRoleAdd_Click(object sender, EventArgs e) { frmRoleRequest frm = new frmRoleRequest(); frm.Show(); }