Inheritance: IDisposable
示例#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();
 }
示例#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));
 }
示例#3
0
        public void LoadProject(Project 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);
        }
示例#4
0
 public void LoadProject(Project project, ProjectStats stats)
 {
     this.stats = stats;
     this.project = project as ProjectLongoMatch;
     UpdateGui ();
 }
 public void LoadStats(ProjectStats pstats, ProjectLongoMatch project)
 {
     categoryviewer.LoadBackgrounds (project);
     this.pstats = pstats;
     ReloadStats (project.LocalTeamTemplate.Players [0]);
 }