Пример #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();
        }