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