private void DisplayModules()
 {
     if (_selectedProcess != null && _selectedProcess.IsActive == "Active" && _selectedProcess.ProcessModules() != null)
     {
         var modules = new List <SystemProcessModule>();
         foreach (var module in _selectedProcess.ProcessModules())
         {
             modules.Add(new SystemProcessModule((ProcessModule)module));
         }
         ProcessModules = new ObservableCollection <SystemProcessModule>(modules);
     }
     else
     {
         ProcessModules = new ObservableCollection <SystemProcessModule>();
     }
 }