/// <summary> /// Starts the remote desktop stream and begin to receive desktop frames. /// </summary> private void StartStream() { ToggleConfigurationControls(true); picDesktop.Start(); // Subscribe to the new frame counter. picDesktop.SetFrameUpdatedEvent(frameCounter_FrameUpdated); this.ActiveControl = picDesktop; _remoteDesktopHandler.BeginReceiveFrames(barQuality.Value, cbMonitors.SelectedIndex); }