Ejemplo n.º 1
0
 private void Calculate()
 {
     if(CalendarType.FarthestInTime(date1, date2) == 1)
         differenceLabel.Text = CalendarType.daysBetween(date2, date1).ToString() + " days";
     else
         differenceLabel.Text = CalendarType.daysBetween(date1, date2).ToString() + " days";
 }