private void picBoxDonation_Click(object sender, EventArgs e) { if (oModuleMaprepo.isAuthorized(ApplicationElements.loggedInEmployee.Role, 1, "Donation") == 1) { DonationRecording odonationRecording = new DonationRecording(); odonationRecording.ShowDialog(); } else MessageBox.Show("You are not authorised to view this module.. Please contact administrator"); }
private void pictureBox2_Click(object sender, EventArgs e) { DonationRecording odonationRecording = new DonationRecording(); odonationRecording.ShowDialog(); }