private void _addPrograms(object parameter)
        {
            if (SelectedProfile != null)
            {
                SelectProcessesViewModel SelectNew = new SelectProcessesViewModel(SelectedProfile);

                if (Programs.Count > 0)
                {
                    SelectedProgram = Programs[0];
                }
                OnPropertyChanged("Programs");
            }
        }
Beispiel #2
0
 private void _setPrograms(object parameter)
 {
     if (SelectedProfile != null)
     {
         SelectProcessesViewModel SelectProcessesDialog = new SelectProcessesViewModel(SelectedProfile);
     }
     else
     {
         _addProfile(null);
         if (SelectedProfile != null)
         {
             SelectProcessesViewModel SelectProcessesDialog = new SelectProcessesViewModel(SelectedProfile);
         }
     }
 }