예제 #1
0
 private bool SelectLastSixMonths_CanExecute(object obj)
 {
     if (MaximumDate.AddMonths(-6) >= MinimumDate)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #2
0
 private void SelectLastMonthCommand(object obj)
 {
     FromDate = MaximumDate.AddMonths(-1);
     ToDate   = MaximumDate;
 }
예제 #3
0
 private void SelectLastThreeMonthsCommand(object obj)
 {
     FromDate = MaximumDate.AddMonths(-3);
     ToDate   = MaximumDate;
 }