public ProjectManager OpenProject(String projectFile) { if (!File.Exists(projectFile)) { return(null); } if (!ProjectManager.IsProjectFile(projectFile)) { return(null); } ProjectManager project = new ProjectManager(projectFile); this.AddChild(project); return(project); }
public ProjectManager OpenProject(String projectFile) { if (!File.Exists(projectFile)) { return(null); } if (!ProjectManager.IsProjectFile(projectFile)) { return(null); } ProjectManager project = new ProjectManager(projectFile); project.Load(); this.AddChild(project); this.UpdateActiveCpu(); this.SaveFile(this.FullName); return(project); }