public void ScreenCaptured(ImageSource img) { SetWindowActive(); ViewportManager.ImageChanged(img); LayersManager.AddNewLayer(img); }