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); } ; }
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); } ; }