예제 #1
0
 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();
     }
 }
예제 #2
0
 private void txtFastFilter_TextChanged(object sender, EventArgs e)
 {
     fController.UpdateView();
 }