예제 #1
0
 protected internal virtual void OnSearchProgressChanged(SearchProgressChangedEventArgs e)
 {
     if (this.SearchProgressChanged == null)
     {
         return;
     }
     this.SearchProgressChanged((object)this, e);
 }
예제 #2
0
 protected virtual void searchRow_SearchProgressChanged(
     object sender,
     SearchProgressChangedEventArgs e)
 {
     if (e.SearchFinished)
     {
         this.waitingBar.StopWaiting();
         this.waitingBar.Visibility = ElementVisibility.Hidden;
     }
     if (this.GridControl != null && this.GridControl.InvokeRequired)
     {
         this.GridControl.Invoke((Delegate) new MethodInvoker(this.SyncLabelText));
     }
     else
     {
         this.SyncLabelText();
     }
     this.GridViewElement.Invalidate();
 }