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