Synchronously loading image
new PictureBox();
pbx.Image = Image.FromFile(filename);
or
file://filename
Asynchronously loading image
null)
{
pgb.Value = e.ProgressPercentage;
}
}
Show Image in picturebox
The simple one is use PictureBoxSizeMode.Zoom enum to make the image fit to the picturebox in radio
If you want to show the scroll bar, you should add picturebox into a panel. And then set panel’ autoscroll as true and set picturebox’s sizemode as PictureBoxSizeMode as Auto.