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(); }
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(); }