Esempio n. 1
0
 public void LoadStats(ProjectStats pstats, Project project)
 {
     categoryviewer1.HomeName = project.LocalTeamTemplate.TeamName;
     categoryviewer1.AwayName = project.VisitorTeamTemplate.TeamName;
     categoryviewer1.LoadBackgrounds(project);
     this.pstats = pstats;
     ReloadStats();
 }
Esempio n. 2
0
		public void LoadStats (Project project)
		{
			if (stats != null)
				stats.Dispose ();
			stats = new ProjectStats (project);
			categoriesviewer.LoadStats (stats, project);
			gameviewer.LoadProject (project, stats);
			/* Player stats are filtered */
			playersviewer.LoadProject (project, new ProjectStats (project));
		}
Esempio n. 3
0
        public void LoadProject(LMProject project, ProjectStats stats)
        {
            TreePath path;

            store.Clear();
            pstats = stats;
            categoriesviewer.LoadStats(pstats, project);
            AddTeam(project.LocalTeamTemplate, project.Dashboard);
            AddTeam(project.VisitorTeamTemplate, project.Dashboard);
            path = new TreePath("0:0");
            treeview1.ExpandAll();
            treeview1.SetCursor(path, null, false);
        }
 public void LoadStats(ProjectStats pstats, LMProject project)
 {
     categoryviewer.LoadBackgrounds(project);
     this.pstats = pstats;
     ReloadStats(project.LocalTeamTemplate.Players [0]);
 }
Esempio n. 5
0
 public void LoadProject(Project project, ProjectStats stats)
 {
     this.stats   = stats;
     this.project = project;
     UpdateGui();
 }