private void userRoleMapping_Click(object sender, EventArgs e) { try { frmAssignsSecurityGroup frmAssSecuGrou = new frmAssignsSecurityGroup(dbl); //Create an object and send a datalayer object in the constructor. frmAssSecuGrou.Show(); } catch (Exception) { throw; } }
private void button2_Click(object sender, EventArgs e) { frmAssignsSecurityGroup frmAssSecuGrou = new frmAssignsSecurityGroup(dbl); frmAssSecuGrou.Show(); }