private void ImageTemplate_DoubleClick(object sender, EventArgs e) { ImageInfo imgInfo = new ImageInfo(imgData); imgInfo.ShowDialog(); }