private void txtFastFilter_TextChanged(object sender, EventArgs e) { if (!WFAppHost.TEST_MODE) { if (fChangeTimer == null) { fChangeTimer = new System.Timers.Timer(500); fChangeTimer.AutoReset = false; fChangeTimer.Elapsed += (sdr, args) => { BeginInvoke(new UpdateDelegate(fController.UpdateView)); }; } else { fChangeTimer.Stop(); } fChangeTimer.Start(); } else { fController.UpdateView(); } }
private void txtFastFilter_TextChanged(object sender, EventArgs e) { fController.UpdateView(); }