示例#1
0
        public List<DataObjects.Project> GetAllProjects()
        {
            Database.Project prjDB = new Database.Project();
            List<DataObjects.Project> prjList = prjDB.GetAllProjects();

            foreach (DataObjects.Project prj in prjList)
            {
                prj.ProjectStatus = Database.ProjectStatus.GetAllStatusOfProject(prj.ProjectID);
            }

            return prjList;
        }
示例#2
0
 private void OpenProject(Project project)
 {
     Project = project;
     tabMain.SelectedValue = FeatureTab;
 }
示例#3
0
 public DataObjects.Project LoadProject(int projectID)
 {
     Database.Project prj = new Database.Project();
     return prj.LoadProject(projectID);
 }
 public static DataObjects.Project RetrieveProject(int projectID)
 {
     Database.Project prj = new Database.Project();
     return prj.LoadProject(projectID);
 }