private void bgwHuella_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { try { Lector.Start(); } catch (Exception ex) { LogError.AddExcFileTxt(ex, "frmCatEmpleadoHuella ~ bgwHuella_RunWorkerCompleted"); } }
private void IniciarForm() { try { this.ObtenerHoraServidor(); this.lblTitulo.Text = "Registrar " + DatosTipoRegistro.Descripcion; Lector.TipoForm = 1; Lector.FrmChecar = this; Lector.Close(); Lector.Init(); Lector.Start(); if (File.Exists(Path.Combine(System.Windows.Forms.Application.StartupPath, @"Resources\Documents\" + Comun.UrlLogo))) { this.pictureBox1.Image = Image.FromFile(Path.Combine(System.Windows.Forms.Application.StartupPath, @"Resources\Documents\" + Comun.UrlLogo)); } } catch (Exception ex) { throw ex; } }