Esempio n. 1
0
        public ConfigureProjectForm(MOG_Project project)
        {
            InitializeComponent();

            this.project = project;

            this.Text = "Project Configuration - Project: " + project.GetProjectName() + "     ( Branch: " + MOG_ControllerProject.GetBranchName() + " )";

            // project info
            this.projectInfoControl1.LoadFromProject(project);

            // platforms
            this.platformEditor.LoadDefaults();
            this.platformEditor.LoadFromProject(project);

            //departments
            departmentManager.LoadFromProject(project);

            // users
            this.userManager.LoadFromProject(project);

            // Privileges
            MOG_ControllerProject.RefreshPrivileges();
            this.MogControl_Privileges.Initialize_Control(MOG_ControllerProject.GetPrivileges());

            // asset classes
            this.assetClassificationConfigControl1.LoadProjectClassifications2(project);
            //this.assetClassificationConfigControl1.LoadProjectClassifications(project);
        }