2 writes to contentLength
System.Windows.Forms (2)
winforms\Managed\System\WinForms\PictureBox.cs (2)
668contentLength = -1; 749contentLength = (int)webResponse.ContentLength;
2 references to contentLength
System.Windows.Forms (2)
winforms\Managed\System\WinForms\PictureBox.cs (2)
798if (contentLength != -1) 800int progress = (int)(100 * (((float)totalBytesRead) / ((float)contentLength)));