public void Start() { ID = Desktop.GetProcessManager().GetProcesses().Count; Desktop.GetProcessManager().StartProcess(this); }
public void Stop() { Desktop.GetProcessManager().StopProcess(this); ID = -1; }
public ProcessManager(Desktop desktop) { this.desktop = desktop; processes = new List <Process>(); processes.Add(new Process("Desktop", desktop)); }