private void parseFile(String fileText)
        {
            //splits up all results
            string[] res = fileText.Split('\n');       

            for (int i= 0;i<res.Length-1;i++) {
                String str= res[i];    
                //add to result
                ResultsSoccer r = new ResultsSoccer(str);
                String ResStr=r.getFormattedResult();
                addResultToListView(r);
            }
        }
Ejemplo n.º 2
0
        private void parseFile(String fileText)
        {
            //splits up all results
            string[] res = fileText.Split('\n');

            for (int i = 0; i < res.Length - 1; i++)
            {
                String str = res[i];
                //add to result
                ResultsSoccer r      = new ResultsSoccer(str);
                String        ResStr = r.getFormattedResult();
                addResultToListView(r);
            }
        }
 public void addResultToListView(ResultsSoccer re)
 {      
     ResultsListView.Items.Add(re);      
     ResultsListView.DataContext = ResultsList;    
 }
Ejemplo n.º 4
0
 public void addResultToListView(ResultsSoccer re)
 {
     ResultsListView.Items.Add(re);
     ResultsListView.DataContext = ResultsList;
 }