Exemple #1
0
        private void vioButt_Click(object sender, EventArgs e)
        {
            violations form = new violations(this);

            form.idValue   = selectedEmp;
            form.nameBox   = NameLab.Text;
            form.statusVal = StatusLab.Text;
            form.ShowDialog();

            salaryTable();
            violations();
            bonus();
            compute();
        }
Exemple #2
0
        private void fullVio_Click(object sender, EventArgs e)
        {
            violations form = new violations(this);

            form.idValue   = selectedEmp;
            form.nameBox   = fullEmpLabel.Text;
            form.statusVal = fullStatLabel.Text;
            form.ShowDialog();

            salaryFullTable();
            violationsFull();
            bonusFull();
            overFull();
            computeFull();
        }