private void pictureBox1_Click(object sender, EventArgs e) { FunctionController fc = new FunctionController(); coverpath = fc.addCover(); if (coverpath != null) { pictureBox1.Image = Image.FromFile(coverpath); pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage; } }