Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / WinForms / Managed / System / WinForms / WebBrowserProgressChangedEventHandler.cs / 1 / WebBrowserProgressChangedEventHandler.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { ////// /// public delegate void WebBrowserProgressChangedEventHandler(object sender, WebBrowserProgressChangedEventArgs e); ////// Delegate to the WebBrowser ProgressChanged event. /// ////// /// public class WebBrowserProgressChangedEventArgs : EventArgs { private long currentProgress; private long maximumProgress; ////// Provides data for the ///event. /// /// /// public WebBrowserProgressChangedEventArgs(long currentProgress, long maximumProgress) { this.currentProgress = currentProgress; this.maximumProgress = maximumProgress; } ////// Creates an instance of the ///class. /// /// /// public long CurrentProgress { get { return currentProgress; } } ////// Specifies current number of bytes donwloaded. CurrentProgress/MaximumProgress*100 = progress percentage. /// ////// /// public long MaximumProgress { get { return maximumProgress; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Specifies total number of bytes of item being downloaded. /// CurrentProgress/MaximumProgress*100 = progress percentage. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { ////// /// public delegate void WebBrowserProgressChangedEventHandler(object sender, WebBrowserProgressChangedEventArgs e); ////// Delegate to the WebBrowser ProgressChanged event. /// ////// /// public class WebBrowserProgressChangedEventArgs : EventArgs { private long currentProgress; private long maximumProgress; ////// Provides data for the ///event. /// /// /// public WebBrowserProgressChangedEventArgs(long currentProgress, long maximumProgress) { this.currentProgress = currentProgress; this.maximumProgress = maximumProgress; } ////// Creates an instance of the ///class. /// /// /// public long CurrentProgress { get { return currentProgress; } } ////// Specifies current number of bytes donwloaded. CurrentProgress/MaximumProgress*100 = progress percentage. /// ////// /// public long MaximumProgress { get { return maximumProgress; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Specifies total number of bytes of item being downloaded. /// CurrentProgress/MaximumProgress*100 = progress percentage. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Calendar.cs
- TextFormatterHost.cs
- ApplySecurityAndSendAsyncResult.cs
- SortFieldComparer.cs
- UnmanagedBitmapWrapper.cs
- ScriptResourceInfo.cs
- CursorConverter.cs
- StatusStrip.cs
- PropertySourceInfo.cs
- UnknownBitmapEncoder.cs
- EnumConverter.cs
- OracleDateTime.cs
- QuaternionKeyFrameCollection.cs
- SpecularMaterial.cs
- ScaleTransform.cs
- HtmlLink.cs
- GridItem.cs
- StrongName.cs
- ReadWriteSpinLock.cs
- glyphs.cs
- FrameworkPropertyMetadata.cs
- RawUIStateInputReport.cs
- AuthenticationManager.cs
- WCFModelStrings.Designer.cs
- Stream.cs
- BufferedGenericXmlSecurityToken.cs
- UnmanagedMemoryStreamWrapper.cs
- KeyNotFoundException.cs
- GenericTransactionFlowAttribute.cs
- FileRecordSequenceHelper.cs
- TextBreakpoint.cs
- ProcessHostConfigUtils.cs
- DetailsViewRowCollection.cs
- ObjectHelper.cs
- regiisutil.cs
- ProfileSettings.cs
- DecimalKeyFrameCollection.cs
- MemberNameValidator.cs
- MobileRedirect.cs
- METAHEADER.cs
- NamedPipeAppDomainProtocolHandler.cs
- SqlReferenceCollection.cs
- PrivilegeNotHeldException.cs
- SafeViewOfFileHandle.cs
- Odbc32.cs
- safesecurityhelperavalon.cs
- Int64Animation.cs
- StatusCommandUI.cs
- RelationshipWrapper.cs
- Constant.cs
- ImageFormat.cs
- TraceData.cs
- QueuePathDialog.cs
- ColorInterpolationModeValidation.cs
- SerializationStore.cs
- PrivateFontCollection.cs
- LinkedList.cs
- EdmError.cs
- SqlNamer.cs
- HttpResponse.cs
- SpeechRecognizer.cs
- PreservationFileWriter.cs
- Timer.cs
- GraphicsPathIterator.cs
- CryptoStream.cs
- ObjectManager.cs
- CqlGenerator.cs
- DBPropSet.cs
- Point3DCollection.cs
- SqlIdentifier.cs
- TableProviderWrapper.cs
- NativeMethods.cs
- HttpWebRequest.cs
- CodeStatement.cs
- OutputCacheSection.cs
- ConsumerConnectionPointCollection.cs
- GroupLabel.cs
- XmlIgnoreAttribute.cs
- NetSectionGroup.cs
- EmptyEnumerable.cs
- FixedLineResult.cs
- DataGridBoolColumn.cs
- ValueTypeFieldReference.cs
- DSASignatureFormatter.cs
- TreeViewImageIndexConverter.cs
- LayoutDump.cs
- SuppressMergeCheckAttribute.cs
- BinaryFormatter.cs
- TemplateContainer.cs
- ServiceDescriptionReflector.cs
- GroupDescription.cs
- SmtpFailedRecipientsException.cs
- ArrayElementGridEntry.cs
- OleDbCommand.cs
- DynamicRouteExpression.cs
- SettingsPropertyValue.cs
- AutomationPropertyInfo.cs
- EmptyEnumerable.cs
- SoapDocumentMethodAttribute.cs
- PeerChannelListener.cs