public void FinalizarTestes()
        {
            this.NegUsuario = null;
            this.NegGrupoTrabalho = null;
            this.NegDiretor = null;

            Console.WriteLine("Finalizando testes");
        }
Exemple #2
0
        public void FinalizarTestes()
        {
            this.NegUsuario       = null;
            this.NegGrupoTrabalho = null;
            this.NegDiretor       = null;

            Console.WriteLine("Finalizando testes");
        }
 private void CarregarGrupoTrabalho()
 {
     try
     {
         List <Entidades.GrupoTrabalho> consulta = new Negocios.GrupoTrabalho().Listar(new Entidades.GrupoTrabalho()
         {
             IdGrupoTrabalho = this.IdGrupoTrabalho
         });
         if (consulta.Count > 0)
         {
             txtDescricao.Text = consulta.First().Descricao;
         }
     }
     catch (Exception ex)
     {
         ScriptManager.RegisterStartupScript(this, typeof(Page), "aler", "alert('" + ex.Message + "');", true);
     }
 }
 public void IniciarTestes()
 {
     this.NegUsuario = new Negocios.Usuario();
     this.NegGrupoTrabalho = new Negocios.GrupoTrabalho();
     this.NegDiretor = new Negocios.Diretor();
 }
Exemple #5
0
 public void IniciarTestes()
 {
     this.NegUsuario       = new Negocios.Usuario();
     this.NegGrupoTrabalho = new Negocios.GrupoTrabalho();
     this.NegDiretor       = new Negocios.Diretor();
 }
 private void CarregarGrupoTrabalho()
 {
     try
     {
         List<Entidades.GrupoTrabalho> consulta = new Negocios.GrupoTrabalho().Listar(new Entidades.GrupoTrabalho() { IdGrupoTrabalho = this.IdGrupoTrabalho });
         if (consulta.Count > 0)
         {
             txtDescricao.Text = consulta.First().Descricao;
         }
     }
     catch (Exception ex)
     {
         ScriptManager.RegisterStartupScript(this, typeof(Page), "aler", "alert('" + ex.Message + "');", true);
     }
 }