Ejemplo n.º 1
0
        public void Load(Project project)
        {
            m_Project = project;

            foreach (Process process in m_Project.ProcessList)
            {
                GProcess c = new GProcess(this);
                c.Load(project, process);
                m_GProcesses.Add(process.Name, c);
            }
        }
Ejemplo n.º 2
0
 public void AddProcess(string name)
 {
     if (!m_GProcesses.ContainsKey(name))
     {
         m_Project.NewProcess(name);
         Process  process = m_Project.FindProcess(name);
         GProcess c       = new GProcess(this);
         c.Load(m_Project, process);
         m_GProcesses.Add(process.Name, c);
     }
 }