private void CriaThreadPrincipal() { try { threadPrincipal = new ThreadPrincipal.ThreadPrincipal(); threadPrincipal.IniciaThreadPrincipal(); } catch (Exception ex) { //rtbStatus.AppendText("(" + DateTime.Now.ToString() + ") : \n " + ex.Message); } }
private void ParaThreadPrincipal() { threadPrincipal.PararThreadPrincipal(); threadPrincipal = null; }