public frmFundo() { InitializeComponent(); ControleFormulario(this); this.TopMost = false; this.Activated += new EventHandler(frmFundo_Activated); _userActivity.Start(this, new Action <bool>(SignalActivity)); _threadEntrevistaAtiva = LerGravarXML.ObterValor("ThreadEntrevista", false); if (_threadEntrevistaAtiva) { mreFormEntrevistaDisponivel = new ManualResetEvent(false); mreFormEntrevistaExibido = new ManualResetEvent(false); mreFormEntrevistaExibir = new ManualResetEvent(false); AgendarCriacaoEntrevista(); } }