Ejemplo n.º 1
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            jogo = new Dados.Jogo();
            fase = new Dados.Fase();

            if (!this.IsPostBack)
            {
                this.SortExpression = "num_jogo asc";
                this.CarregarJogos();
            }
        }
Ejemplo n.º 2
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            fase  = new Dados.Fase();
            bolao = new Dados.Bolao();

            ucEditarFase.Salvar   += new EventHandler(this.SalvarFase);
            ucEditarFase.Cancelar += new EventHandler(this.CancelarEdicaoFase);
            ucListarGrupo.Voltar  += new EventHandler(this.VoltarGrupo);

            if (!this.IsPostBack)
            {
                this.CarregarFases();
            }
        }
Ejemplo n.º 3
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            time  = new Dados.Time();
            grupo = new Dados.Grupo();
            fase  = new Dados.Fase();
            bolao = new Dados.Bolao();

            ucEditarTimeGrupo.Salvar   += new EventHandler(this.SalvarTime);
            ucEditarTimeGrupo.Cancelar += new EventHandler(this.CancelarEdicaoTime);

            if (!this.IsPostBack)
            {
                this.CarregarTimes();
            }
        }
Ejemplo n.º 4
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            Lib.Util.ValidarAdministrador(this.Context);

            bolao = new Dados.Bolao();
            jogo  = new Dados.Jogo();
            fase  = new Dados.Fase();

            if (!this.IsPostBack)
            {
                this.SortExpression = "num_jogo asc";
                this.CarregarBolao();
                this.CarregarFases();
                this.CarregarJogos();
            }
        }
Ejemplo n.º 5
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            grupo = new Dados.Grupo();
            bolao = new Dados.Bolao();
            fase  = new Dados.Fase();

            ucEditarGrupo.Salvar     += new EventHandler(this.SalvarGrupo);
            ucEditarGrupo.Cancelar   += new EventHandler(this.CancelarEdicaoGrupo);
            ucListarTimeGrupo.Voltar += new EventHandler(this.VoltarListaTime);
            ucListarJogoGrupo.Voltar += new EventHandler(this.VoltarListaJogo);

            if (!this.IsPostBack)
            {
                this.CarregarGrupos();
            }
        }
Ejemplo n.º 6
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            Lib.Util.ValidarLogin(this.Context);

            time  = new Bolao.Dados.Time();
            fase  = new Bolao.Dados.Fase();
            jogo  = new Bolao.Dados.Jogo();
            grupo = new Bolao.Dados.Grupo();

            if (!this.IsPostBack)
            {
                this.CarregarFases();
                this.CarregarGrupos();

                ucListarJogo.Visible = false;
            }
        }
 protected void Page_Load(object sender, System.EventArgs e)
 {
     jogo  = new Dados.Jogo();
     bolao = new Dados.Bolao();
     fase  = new Dados.Fase();
 }
Ejemplo n.º 8
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            fase = new Dados.Fase();

            lbMensagem.Visible = false;
        }