private void PerformCalculation() { compute.MySalary(StartDate.Date.ToString(), RateTxt.Text, OverTimeTxt.Text, AbsentTxt.Text, CashAdvTxt.Text, PayTxt.Text); TotalDays.Text = compute.TotalDaysWorked; MySalary.Text = compute.TotalSalary; //SaveButton.IsEnabled = true; }
public void Compute(object sender) { calculate.MySalary(sender.ToString()); }