Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / WebBrowserProgressChangedEventHandler.cs / 1305376 / 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
- _CacheStreams.cs
- BitStream.cs
- ZoneButton.cs
- TreePrinter.cs
- PackWebRequestFactory.cs
- _ProxyRegBlob.cs
- SamlSecurityTokenAuthenticator.cs
- MetadataArtifactLoaderFile.cs
- ImageBrush.cs
- SQLChars.cs
- XmlAttributeCache.cs
- WebUtil.cs
- BinaryObjectReader.cs
- IPAddress.cs
- ButtonFieldBase.cs
- RelOps.cs
- JsonQueryStringConverter.cs
- TextEffect.cs
- XComponentModel.cs
- MonitorWrapper.cs
- PolyLineSegmentFigureLogic.cs
- SerializationEventsCache.cs
- Clock.cs
- Codec.cs
- OptimizedTemplateContentHelper.cs
- AnnotationStore.cs
- NativeObjectSecurity.cs
- MatrixAnimationUsingPath.cs
- SmiGettersStream.cs
- ElementsClipboardData.cs
- CodeParameterDeclarationExpression.cs
- FrameworkReadOnlyPropertyMetadata.cs
- StyleModeStack.cs
- DataServiceRequestException.cs
- Event.cs
- ButtonChrome.cs
- SrgsElementFactoryCompiler.cs
- EntityWithKeyStrategy.cs
- PartialCachingAttribute.cs
- DataGridViewHitTestInfo.cs
- PropertyPathConverter.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- Model3D.cs
- PropertyEntry.cs
- FixedHighlight.cs
- ClientData.cs
- WebServiceHandler.cs
- WizardPanel.cs
- Boolean.cs
- Int64.cs
- TextServicesContext.cs
- ObjectSet.cs
- WindowsFormsSynchronizationContext.cs
- SafeArrayTypeMismatchException.cs
- BlockCollection.cs
- Vector3D.cs
- TreeViewImageKeyConverter.cs
- Script.cs
- ConfigXmlDocument.cs
- CapacityStreamGeometryContext.cs
- IDQuery.cs
- PropertyMapper.cs
- StateInitialization.cs
- InputScope.cs
- Binding.cs
- BinaryUtilClasses.cs
- OciHandle.cs
- MailWriter.cs
- IconHelper.cs
- FrameworkObject.cs
- XPathSelectionIterator.cs
- DateRangeEvent.cs
- DbExpressionVisitor.cs
- EncodingNLS.cs
- DynamicRenderer.cs
- FacetDescription.cs
- HostProtectionPermission.cs
- UpdateException.cs
- WebHeaderCollection.cs
- InputLanguageProfileNotifySink.cs
- UriExt.cs
- Lock.cs
- ToolStripKeyboardHandlingService.cs
- Console.cs
- MessageVersion.cs
- RenderOptions.cs
- NavigationHelper.cs
- BamlLocalizer.cs
- LineSegment.cs
- Int32CAMarshaler.cs
- Point3DKeyFrameCollection.cs
- TerminatorSinks.cs
- WindowsAltTab.cs
- DateTimeConverter2.cs
- XXXOnTypeBuilderInstantiation.cs
- AppDomainResourcePerfCounters.cs
- BindingSource.cs
- SecurityIdentifierConverter.cs
- SqlDataSourceStatusEventArgs.cs
- path.cs