public void saveScreenshot() { if (scp != null) { scp.Close(); scp = null; } scp = new ScreenshotPreview(this); scp.Show(); }