Bloom.Publish.PdfViewer.OnStateChange C# (CSharp) Method

OnStateChange() public method

public OnStateChange ( nsIWebProgress aWebProgress, nsIRequest aRequest, uint aStateFlags, int aStatus ) : void
aWebProgress nsIWebProgress
aRequest nsIRequest
aStateFlags uint
aStatus int
return void
		public void OnStateChange(nsIWebProgress aWebProgress, nsIRequest aRequest, uint aStateFlags, int aStatus)
		{
			if (_printing && ((aStateFlags & STATE_STOP) != 0)) {
				_printing = false;
				if (PrintProgress != null) {
					PrintProgress.Invoke (this, new PdfPrintProgressEventArgs(false));
				}
			}
		}