/// <summary> /// 查询按钮 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void BtnMonthUnOpenSearchClick(object sender, RoutedEventArgs e) { DateTime dt = DateTime.Now; DateTime startDate = dt.AddDays(-dt.Day); DateTime endDate = startDate.AddMonths(1); VM.Load(startDate,endDate); var list = new VATInvoiceList(ModuleName, VM.ListVM); RedirectTo(list); }
/// <summary> /// 查询按钮 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void BtnUnOpenSearchClick(object sender, RoutedEventArgs e) { VM.Load(null,null); var list = new VATInvoiceList(ModuleName, VM.ListVM); RedirectTo(list); }