コード例 #1
0
 private void AnalysedMatchGeneralControls()
 {
     currentAnalysedMatch = new AnalysedMatch(day, month, year);
     AnalysedMatchTimeControls();
     LeagueNameControls();
     MatchCodeTeamNameControls();
 }
コード例 #2
0
 private void RestoreGrdPickedMatches()
 {
     grdPickedMatches.Rows.Clear();
     foreach (var pickedMatchId in pickedMatchIds)
     {
         int           index         = grdPickedMatches.Rows.Add();
         AnalysedMatch analysedMatch = analysedMatches.First(x => x.AnalysedMatchId == pickedMatchId);
         grdPickedMatches.Rows[index].Cells[0].Value = analysedMatch.MatchCode;
         grdPickedMatches.Rows[index].Cells[1].Value = analysedMatch.HomeTeamName + " - " + analysedMatch.AwayTeamName;
         grdPickedMatches.Rows[index].Cells[2].Value = pickedMatchId;
     }
 }
コード例 #3
0
 //-----
 private void SetCurrentAnalysedMatch(int analysedMatchId)
 {
     currentAnalysedMatch = analysedMatches.First(x => x.AnalysedMatchId == analysedMatchId);
 }