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