/// <summary>
 /// This method fires when the process has been checked.
 /// </summary>
 /// <param name="e"> The current process. </param>
 protected virtual void FireOnBoolChanged(ProcessContainerVMBoolEventArgs e)
 {
     if (this.OnBoolChanged != null)
     {
         this.OnBoolChanged(this, new ProcessContainerVMBoolEventArgs(this));
     }
 }
예제 #2
0
 /// <summary>
 /// This method changes the bool.
 /// </summary>
 /// <param name="sender"> The sender. </param>
 /// <param name="e"> The process. </param>
 private void ChangeBoolOfProcesses(object sender, ProcessContainerVMBoolEventArgs e)
 {
     foreach (var item in this.Processes)
     {
         if (item != e.ProcessContainerVM)
         {
             item.IsChecked = false;
         }
     }
 }