private void lnkSchool_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { if (MyModules.GetUserAccessDetails("School Information") == false) { return; } FrmSchoolInfor ChildForm = new FrmSchoolInfor("New", 0); ChildForm.ShowDialog(); }
private void radStaff_Click(object sender, EventArgs e) { if (MyModules.GetUserAccessDetails("Vendor Information") == false) { return; } FrmVendorListings childform = new FrmVendorListings("STAFF"); childform.Show(); }
private void RadDeductions_Click(object sender, EventArgs e) { if (MyModules.GetUserAccessDetails("Payments") == false) { return; } FrmDeductionType childform = new FrmDeductionType(); childform.ShowDialog(); }
private void radMandate_Click(object sender, EventArgs e) { if (MyModules.GetUserAccessDetails("Payments") == false) { return; } FrmMandate childform = new FrmMandate(); childform.ShowDialog(); }
private void RadLedger_Click(object sender, EventArgs e) { if (MyModules.GetUserAccessDetails("Ledger") == false) { return; } FrmLedger childform = new FrmLedger(); childform.Show(); }
private void radStudent_ClickChanged(object sender, EventArgs e) { if (MyModules.GetUserAccessDetails("Student Information") == false) { return; } FrmStudentListings childform = new FrmStudentListings(); childform.Show(); }
private void radSchool_Click(object sender, EventArgs e) { if (MyModules.GetUserAccessDetails("School Information") == false) { return; } FrmSchoolListings childform = new FrmSchoolListings(); childform.Show(); }
private void radSystemUsers_Click(object sender, EventArgs e) { if (MyModules.GetUserAccessDetails("System Users") == false) { return; } FrmSystemUsers childform = new FrmSystemUsers(); childform.ShowDialog(); }
private void radCoyInfor_Click(object sender, EventArgs e) { if (MyModules.GetUserAccessDetails("Company Information") == false) { return; } FrmCoyInfor childform = new FrmCoyInfor(); childform.ShowDialog(); }
private void btnStamp_Click(object sender, EventArgs e) { if (MyModules.GetUserAccessDetails("Payments") == false) { return; } FrmPayDeduction childform = new FrmPayDeduction("Stamp", "", 0); childform.ShowDialog(); }
private void FrmRegister_Load(object sender, EventArgs e) { mnuNew.Enabled = MyModules.GetUserAccessDetails("Add New Contractor", false); mnuEdit.Enabled = MyModules.GetUserAccessDetails("Edit Contractor", false); mnuDelete.Enabled = MyModules.GetUserAccessDetails("Delete Contractor", false); mnuBrowse.Enabled = mnuEdit.Enabled || mnuDelete.Enabled; dataGridViewJobs.DataSource = BindingSource1; if (mnuNew.Enabled) { mnuNew_Click(sender, e); } MyModules.applyGridTheme(dataGridViewJobs); dataGridViewJobs.ReadOnly = false; dataGridViewJobs.AllowUserToAddRows = true; dataGridViewJobs.AllowUserToDeleteRows = true; dataGridViewJobs.Columns[0].Visible = false; dataGridViewJobs.Columns[1].Width = 100; dataGridViewJobs.Columns[2].Width = 250; dataGridViewJobs.Columns[3].Width = 100; dataGridViewJobs.Columns[4].Width = 60; }