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); } }
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); } }