Exemple #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();
            }
        }
        protected void Page_Load(object sender, System.EventArgs e)
        {
            grupo = new Dados.Grupo();
            fase  = new Dados.Fase();
            bolao = new Dados.Bolao();
            jogo  = new Dados.Jogo();

            ucEditarJogoGrupo.Salvar   += new EventHandler(this.SalvarJogo);
            ucEditarJogoGrupo.Cancelar += new EventHandler(this.CancelarEdicaoJogo);

            if (!this.IsPostBack)
            {
                this.CarregarJogos();
            }
        }
        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();
            }
        }
Exemple #4
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();
 }
Exemple #6
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     jogo = new Dados.Jogo();
     time = new Dados.Time();
 }