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