Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- EditorBrowsableAttribute.cs
- WebPartZoneBase.cs
- SQLByte.cs
- StopStoryboard.cs
- DependentList.cs
- Publisher.cs
- MembershipSection.cs
- BamlTreeMap.cs
- GridViewPageEventArgs.cs
- ConfigurationConverterBase.cs
- MenuItemBindingCollection.cs
- RemoteAsymmetricSignatureFormatter.cs
- PopupRootAutomationPeer.cs
- Label.cs
- OleDbParameterCollection.cs
- ViewEvent.cs
- IssuanceTokenProviderBase.cs
- VectorAnimationBase.cs
- EventLogSession.cs
- BindUriHelper.cs
- CaseExpr.cs
- Missing.cs
- PeerCollaboration.cs
- SafeRsaProviderHandle.cs
- BindingListCollectionView.cs
- XmlSubtreeReader.cs
- SendKeys.cs
- MissingMemberException.cs
- RtfControlWordInfo.cs
- XmlLangPropertyAttribute.cs
- ArgumentOutOfRangeException.cs
- IDReferencePropertyAttribute.cs
- UriScheme.cs
- Padding.cs
- ListViewAutomationPeer.cs
- IProducerConsumerCollection.cs
- brushes.cs
- XmlReflectionMember.cs
- CalculatedColumn.cs
- PropertyDescriptorComparer.cs
- StringTraceRecord.cs
- TimeZoneInfo.cs
- RSATokenProvider.cs
- SingleResultAttribute.cs
- ControlBuilderAttribute.cs
- SqlGenericUtil.cs
- XmlUtil.cs
- IncrementalReadDecoders.cs
- HttpClientProtocol.cs
- TextTreeTextElementNode.cs
- Events.cs
- SecureStringHasher.cs
- EnumConverter.cs
- MouseDevice.cs
- ComPlusTraceRecord.cs
- TempEnvironment.cs
- ObjectListShowCommandsEventArgs.cs
- DesignOnlyAttribute.cs
- HashCoreRequest.cs
- StringUtil.cs
- EventLogTraceListener.cs
- ImageMetadata.cs
- ObjectTypeMapping.cs
- EncodingDataItem.cs
- MailFileEditor.cs
- SchemaContext.cs
- CompoundFileDeflateTransform.cs
- ListParaClient.cs
- MetadataPropertyAttribute.cs
- Int64AnimationBase.cs
- TaiwanCalendar.cs
- _Connection.cs
- InvokeBase.cs
- NotificationContext.cs
- TrustLevelCollection.cs
- ServiceThrottle.cs
- GenericQueueSurrogate.cs
- Collection.cs
- Compilation.cs
- Exceptions.cs
- DataGridViewCellValidatingEventArgs.cs
- NaturalLanguageHyphenator.cs
- NamespaceCollection.cs
- EraserBehavior.cs
- RoleGroup.cs
- AncestorChangedEventArgs.cs
- TextBlockAutomationPeer.cs
- DefaultDiscoveryService.cs
- StyleCollectionEditor.cs
- RolePrincipal.cs
- AdjustableArrowCap.cs
- WebControlParameterProxy.cs
- SpecialFolderEnumConverter.cs
- SecurityAccessDeniedException.cs
- WorkflowExecutor.cs
- RootProfilePropertySettingsCollection.cs
- ProfilePropertyNameValidator.cs
- OutKeywords.cs
- MatrixKeyFrameCollection.cs
- NavigationProperty.cs