Sets the PictureBox.ImageLocation to the specified URL and displays the image indicated.
- url
- The path for the image to display in the System.Windows.Forms.PictureBox.
If the url parameter indicates a local file, the recommended format is a local file path. For example, an image file named myPicture.jpg located at c:\ would be accessed by passing c:\myPicture.jpg for the url parameter. A full path, such as http://www.contoso.com/path/images/image.jpg, or a relative path, such as ./images/image.jpg, can be used. If a relative path is used, it will be considered relative to the working directory. A call to the PictureBox.Load(string) method sets the PictureBox.ImageLocation property to the value of url.