Beispiel #1
0
        private void BackgroundWorkerRunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            _waitForm.Hide();
            StaticWaitFormProvider.IsActive = false;

            if (RunWorkerCompleted != null)
            {
                RunWorkerCompleted(this, e);
            }
        }
Beispiel #2
0
 /// <summary>
 /// ќстановит поток
 /// </summary>
 public void StopThread()
 {
     thread.Abort();
     waitForm.Hide();
     StaticWaitFormProvider.IsActive = false;
 }