示例#1
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            time = new Dados.Time();

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

            if (!this.IsPostBack)
            {
                this.SortExpression = "nom_time asc";
                this.CarregarTimes();
            }
        }
示例#2
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();
            }
        }
示例#3
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)
        {
            time = new Dados.Time();

            lbMensagem.Visible = false;
        }
示例#5
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     jogo = new Dados.Jogo();
     time = new Dados.Time();
 }