Пример #1
0
        private void bOpenProject_Click(object sender, EventArgs e)
        {
            CurrentProject = Pr.ProjectList[cbProjects.SelectedIndex];

            RefreshVersions(CurrentProject);
            RefreshSteps(null);
            RefreshButtons(CurrentProject, true);
            CreateToolList(CurrentProject);
            RefreshButtonColor();

            ScriptExec = new Project.ScriptExec(CurrentProject);
            ScriptExec.onActionCompleted += new Project.ScriptEventHandler(ScriptExec_onActionCompleted);
        }
Пример #2
0
        private void AddProject(CONF.XmlLoad X)
        {
            Project P = new Project(ProjectPath);

            string File = X.GetAttribute("path");
            if (P.Load(ProjectPath + "\\" + File))
            {
                ProjectList.Add(P);
            }
            else
            {
                Log.WriteLine(String.Format("Could not load project file: {0:s}", File));
            }
        }
Пример #3
0
 public ScriptExec(Project Pr)
 {
     P = Pr;
 }