public static ProcessViewModel FromProcessModel(ProcessesViewModel parent, ProcessesModel.Process process)
 {
     return new ProcessViewModel
     {
         Parent = parent,
         CPUUsage = process.CPUUsage,
         ImageName = process.ImageName,
         PrivateWorkingSet = process.PrivateWorkingSet,
         ProcessId = process.ProcessId,
         UserName = process.UserName,
         VirtualSize = process.VirtualSize,
         WorkingSetSize = process.WorkingSetSize
     };
 }
 public void Update(ProcessesModel.Process process)
 {
     CPUUsage = process.CPUUsage;
     ImageName = process.ImageName;
     PrivateWorkingSet = process.PrivateWorkingSet;
     UserName = process.UserName;
     VirtualSize = process.VirtualSize;
     WorkingSetSize = process.WorkingSetSize;
 }