private void roleCreation_Click(object sender, EventArgs e) { try { frmCreateSecurityGroups frmCrtSecuGrou = new frmCreateSecurityGroups(dbl); //Create an object and send a datalayer object in the constructor. frmCrtSecuGrou.Show(); } catch (Exception) { throw; } }
private void button3_Click(object sender, EventArgs e) { frmCreateSecurityGroups frmCrtSecuGrou = new frmCreateSecurityGroups(dbl); frmCrtSecuGrou.Show(); }