예제 #1
0
        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;
        }
예제 #2
0
 public void Compute(object sender)
 {
     calculate.MySalary(sender.ToString());
 }