private static void ShowScreenshots(Game g) { wndScreenshots screenshots = new wndScreenshots { Tag = g }; if (screenshots.ShowDialog() == true) { GC.Collect(); } }