예제 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         TournamentStanding.LoadFullTournament();
         daySelector.LoadTournamentDays();
     }
 }
        private void LoadPvtTournament()
        {
            var inGuid = this.GetRedirectParameter("pvtTournamentGUID", false);

            if (inGuid != null)
            {
                var guid = new Guid(inGuid.ToString());
                using (var db = Global.GetConnection())
                {
                    var pvtTournament = db.Ext_PrivateTournament.Single(ptv => ptv.GUID == guid);
                    _tournamentName = pvtTournament.Name;
                    TournamentStanding.LoadPrivateTournamentStanding(pvtTournament);
                }
            }
        }
예제 #3
0
 protected void daySelector_SelectedDayChanged()
 {
     //LoadStanding();
     TournamentStanding.LoadFullTournament(daySelector.SelectedDay);
 }