/// <summary> /// Launches a new form to display the png. No extension in parameter. /// </summary> /// <param name="filename"></param> public static void DisplayPNGInChildWindow(string filename) { string pngFilename = filename + ".png"; ImageDisplay displayForm = new ImageDisplay(); displayForm.AssignImage(pngFilename); displayForm.Text = pngFilename; displayForm.Show(); }