示例#1
0
        private void bonusButt_Click(object sender, EventArgs e)
        {
            bonus form = new bonus(this);

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

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

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

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