private void RadDeductions_Click(object sender, EventArgs e) { if (MyModules.GetUserAccessDetails("Payments") == false) { return; } FrmDeductionType childform = new FrmDeductionType(); childform.ShowDialog(); }
private void btnDeduction_Click(object sender, EventArgs e) { //if (MyModules.GetUserAccessDetails("Payments") == false) // return; //FrmPayDeduction childform = new FrmPayDeduction("WHT", "", 0); //childform.ShowDialog(); FrmDeductionType childform = new FrmDeductionType(); childform.ShowDialog(); listOfMandates(); }