public void Verify(GridViewUserControl gv) { VerifierThread vt = new VerifierThread(gv, m_Verifier); Thread t = new Thread(new ThreadStart(vt.ThreadProc)); t.Name = "Zal verifier thread"; t.IsBackground = true; // m_WorkerThread.Priority = ThreadPriority.Lowest; t.SetApartmentState(ApartmentState.STA); t.Start(); t.Join(); }
public void Verify(GridViewUserControl gv) { VerifierThread vt = new VerifierThread(gv, m_Verifier); Thread t = new Thread (new ThreadStart (vt.ThreadProc)); t.Name = "Zal verifier thread"; t.IsBackground = true; // m_WorkerThread.Priority = ThreadPriority.Lowest; t.SetApartmentState(ApartmentState.STA); t.Start(); t.Join(); }