/// <summary> /// display filter scope and period /// /// </summary> /// <param name="bankReco"></param> public void Display(GrilleFilter filter) { this.GrilleFilter = filter; thrawChange = false; if (filter != null) { TargetPanel.DisplayScope(filter.filterScope); periodFilter.DisplayPeriod(filter.filterPeriod); this.creditCheckBox.IsChecked = filter.creditChecked; this.debitCheckBox.IsChecked = filter.debitChecked; this.includeRecoCheckBox.IsChecked = filter.includeRecoChecked; } else { reset(); } thrawChange = true; }
/// <summary> /// clear object /// </summary> /// <param name="bankReco"></param> public void reset() { TargetPanel.DisplayScope(null); periodFilter.DisplayPeriod(null); }