private void lnkSchool_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            if (MyModules.GetUserAccessDetails("School Information") == false)
            {
                return;
            }
            FrmSchoolInfor ChildForm = new FrmSchoolInfor("New", 0);

            ChildForm.ShowDialog();
        }
Beispiel #2
0
        private void radStaff_Click(object sender, EventArgs e)
        {
            if (MyModules.GetUserAccessDetails("Vendor Information") == false)
            {
                return;
            }
            FrmVendorListings childform = new FrmVendorListings("STAFF");

            childform.Show();
        }
Beispiel #3
0
        private void RadDeductions_Click(object sender, EventArgs e)
        {
            if (MyModules.GetUserAccessDetails("Payments") == false)
            {
                return;
            }
            FrmDeductionType childform = new FrmDeductionType();

            childform.ShowDialog();
        }
Beispiel #4
0
        private void radMandate_Click(object sender, EventArgs e)
        {
            if (MyModules.GetUserAccessDetails("Payments") == false)
            {
                return;
            }
            FrmMandate childform = new FrmMandate();

            childform.ShowDialog();
        }
Beispiel #5
0
        private void RadLedger_Click(object sender, EventArgs e)
        {
            if (MyModules.GetUserAccessDetails("Ledger") == false)
            {
                return;
            }
            FrmLedger childform = new FrmLedger();

            childform.Show();
        }
Beispiel #6
0
        private void radStudent_ClickChanged(object sender, EventArgs e)
        {
            if (MyModules.GetUserAccessDetails("Student Information") == false)
            {
                return;
            }
            FrmStudentListings childform = new FrmStudentListings();

            childform.Show();
        }
Beispiel #7
0
        private void radSchool_Click(object sender, EventArgs e)
        {
            if (MyModules.GetUserAccessDetails("School Information") == false)
            {
                return;
            }
            FrmSchoolListings childform = new FrmSchoolListings();

            childform.Show();
        }
Beispiel #8
0
        private void radSystemUsers_Click(object sender, EventArgs e)
        {
            if (MyModules.GetUserAccessDetails("System Users") == false)
            {
                return;
            }
            FrmSystemUsers childform = new FrmSystemUsers();

            childform.ShowDialog();
        }
Beispiel #9
0
        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();
        }
Beispiel #11
0
        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;
        }