19 Ocak 2016 Salı

c# picture box resim gösterme

    Image image = Image.FromFile("BeigeMonitor1.png");
     // Set the PictureBox image property to this image.
     // ... Then, adjust its height and width properties.
     pictureBox1.Image = image;
     pictureBox1.Height = image.Height;
     pictureBox1.Width = image.Width;



   pictureBox1.ImageLocation = "BeigeMonitor1.png";
    pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize