예제 #1
0
 public virtual void ShowProcessWindow()
 {
     // Show this process mainwindow
     if (ShowProcessWindow(_processPointer) == true)
     {
         // Notiify that this process has changed visibility
         VisibilityState = ProcessVisibilityState.Visible;
         ProcessVisibilityChanged?.Invoke(this, VisibilityState);
     }
     ;
 }
예제 #2
0
 public virtual void HideProcessWindow()
 {
     // Hide this process mainwindow
     if (HideProcessWindow(_processPointer) == true)
     {
         // Notiify that this process has changed visibility
         VisibilityState = ProcessVisibilityState.Hidden;
         ProcessVisibilityChanged?.Invoke(this, VisibilityState);
     }
     ;
 }