Add search input delay of 200ms

This commit is contained in:
2023-07-14 13:09:24 +02:00
parent cb2534d678
commit c0e584143e
3 changed files with 23 additions and 0 deletions

View File

@ -43,6 +43,9 @@ namespace Elwig.Windows {
Timer = new DispatcherTimer();
Timer.Tick += new EventHandler(OnSecondPassed);
Timer.Interval = new TimeSpan(0, 0, 1);
InitializeDelayTimer(SearchInput, SearchInput_TextChanged);
SearchInput.TextChanged -= SearchInput_TextChanged;
}
public DeliveryAdminWindow(bool receipt) : this() {