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
- PersonalizablePropertyEntry.cs
- IPAddress.cs
- AdornerHitTestResult.cs
- MultiSelectRootGridEntry.cs
- WebPartConnectVerb.cs
- XmlTextAttribute.cs
- Process.cs
- RecognizedPhrase.cs
- ValueUtilsSmi.cs
- Exception.cs
- FixedSOMPage.cs
- NavigationExpr.cs
- PartitionedStreamMerger.cs
- SwitchElementsCollection.cs
- ThemeDirectoryCompiler.cs
- WebPartConnectionsCancelEventArgs.cs
- TreeNodeCollectionEditor.cs
- TextEvent.cs
- loginstatus.cs
- XhtmlStyleClass.cs
- _FixedSizeReader.cs
- CollaborationHelperFunctions.cs
- CompilationUtil.cs
- TableItemStyle.cs
- X509UI.cs
- AddressingProperty.cs
- Invariant.cs
- SimpleExpression.cs
- ConvertBinder.cs
- Margins.cs
- EncoderReplacementFallback.cs
- TailCallAnalyzer.cs
- HtmlElementEventArgs.cs
- AdjustableArrowCap.cs
- PathTooLongException.cs
- ArrayItemReference.cs
- FixedPage.cs
- VisualTarget.cs
- SerializationStore.cs
- ValidationUtility.cs
- ObjectViewEntityCollectionData.cs
- XmlElementCollection.cs
- BezierSegment.cs
- PermissionRequestEvidence.cs
- basemetadatamappingvisitor.cs
- ToolStripHighContrastRenderer.cs
- DBConnectionString.cs
- CaseInsensitiveComparer.cs
- Focus.cs
- RegistryDataKey.cs
- AppDomain.cs
- InputLangChangeRequestEvent.cs
- StronglyTypedResourceBuilder.cs
- AttributeUsageAttribute.cs
- TransactionState.cs
- AccessDataSource.cs
- LowerCaseStringConverter.cs
- DetailsViewPagerRow.cs
- XPathAxisIterator.cs
- XmlSubtreeReader.cs
- BinaryFormatter.cs
- ConfigurationErrorsException.cs
- SelectionWordBreaker.cs
- PropertyDescriptorCollection.cs
- CssClassPropertyAttribute.cs
- FactorySettingsElement.cs
- WebServiceMethodData.cs
- SqlHelper.cs
- ValueQuery.cs
- xmlsaver.cs
- PrintPreviewGraphics.cs
- COM2PictureConverter.cs
- GlyphCache.cs
- ContextMenu.cs
- HttpModulesSection.cs
- ManagementOptions.cs
- DrawingGroup.cs
- CollectionChangeEventArgs.cs
- AsyncInvokeOperation.cs
- TypeUsage.cs
- InvalidPipelineStoreException.cs
- MetadataItemEmitter.cs
- RestHandlerFactory.cs
- CalendarDay.cs
- XmlArrayAttribute.cs
- CloudCollection.cs
- SafeNativeMethodsOther.cs
- Stack.cs
- DesignerTransaction.cs
- CryptoStream.cs
- ACL.cs
- TextEmbeddedObject.cs
- AddressUtility.cs
- RTLAwareMessageBox.cs
- SingleObjectCollection.cs
- BuildProvider.cs
- SelectionItemPatternIdentifiers.cs
- SchemaTypeEmitter.cs
- UInt16Converter.cs
- RequestCacheEntry.cs