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
- SynchronizedDispatch.cs
- PathTooLongException.cs
- MessageQueueException.cs
- SelectedGridItemChangedEvent.cs
- QueryStack.cs
- CryptoConfig.cs
- BypassElementCollection.cs
- StructuralCache.cs
- WindowPattern.cs
- ContextMenu.cs
- SqlNode.cs
- XmlSchemaComplexContentExtension.cs
- AllMembershipCondition.cs
- BitmapEncoder.cs
- SymbolEqualComparer.cs
- WaitHandleCannotBeOpenedException.cs
- SafeThemeHandle.cs
- TextComposition.cs
- CommunicationObjectAbortedException.cs
- FormViewUpdatedEventArgs.cs
- GeneralTransform3D.cs
- TextTreeTextElementNode.cs
- HtmlTitle.cs
- Attribute.cs
- ValidatingPropertiesEventArgs.cs
- RangeValidator.cs
- GeometryHitTestParameters.cs
- Journaling.cs
- SimpleFileLog.cs
- ValidationRuleCollection.cs
- NativeMethods.cs
- DecimalAnimationUsingKeyFrames.cs
- TranslateTransform.cs
- ChannelManagerService.cs
- AccessDataSourceView.cs
- GridPattern.cs
- InstanceLockedException.cs
- StrokeIntersection.cs
- wgx_commands.cs
- SmtpSection.cs
- PrimaryKeyTypeConverter.cs
- XmlHierarchicalEnumerable.cs
- ChildrenQuery.cs
- PackageFilter.cs
- Run.cs
- CanonicalXml.cs
- WinFormsSpinner.cs
- CroppedBitmap.cs
- SQLInt64.cs
- RoutedPropertyChangedEventArgs.cs
- OdbcPermission.cs
- PersonalizationStateInfoCollection.cs
- Codec.cs
- XmlMemberMapping.cs
- ImageList.cs
- ReliableChannelBinder.cs
- GPRECTF.cs
- RSAPKCS1SignatureDeformatter.cs
- SeparatorAutomationPeer.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- SmiEventSink.cs
- XmlSerializableReader.cs
- ListViewDeletedEventArgs.cs
- ObjectDataSourceStatusEventArgs.cs
- ECDsaCng.cs
- InputDevice.cs
- SystemTcpStatistics.cs
- ProgressPage.cs
- WindowsGraphicsCacheManager.cs
- ValidationErrorCollection.cs
- WeakRefEnumerator.cs
- CriticalFinalizerObject.cs
- AdRotator.cs
- PreviewKeyDownEventArgs.cs
- GeometryGroup.cs
- OuterGlowBitmapEffect.cs
- log.cs
- SourceFilter.cs
- FilterableAttribute.cs
- SqlNodeAnnotation.cs
- Metadata.cs
- ExpressionBindingCollection.cs
- GuidTagList.cs
- PresentationSource.cs
- EntitySqlQueryBuilder.cs
- SQLInt64Storage.cs
- WebPartCollection.cs
- VersionUtil.cs
- hebrewshape.cs
- XmlSchemaObject.cs
- Token.cs
- XPathNodeInfoAtom.cs
- FormViewPageEventArgs.cs
- CreateSequenceResponse.cs
- EntityDataSourceDataSelection.cs
- ProcessModelSection.cs
- ManagedWndProcTracker.cs
- DES.cs
- externdll.cs
- XmlSerializerOperationBehavior.cs