private ImageSourceManager(MainWindow mainWindow) { _videoManager = new VideoSource(mainWindow); _webcamSource = new WebcamSource(); _desktopSource = new DesktopSource(); _mainWindow = mainWindow; }