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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Graphics.cs
- SamlAuthorizationDecisionClaimResource.cs
- GlyphingCache.cs
- PhysicalOps.cs
- ToolStripItemDesigner.cs
- PropertyGridView.cs
- CodeTypeDeclarationCollection.cs
- EntityViewGenerationConstants.cs
- RSACryptoServiceProvider.cs
- WSSecurityXXX2005.cs
- XmlTypeMapping.cs
- WSHttpBinding.cs
- XPathPatternBuilder.cs
- DescendentsWalkerBase.cs
- X509ChainPolicy.cs
- PersonalizationProvider.cs
- ExceptionHandlerDesigner.cs
- LinqDataSourceHelper.cs
- GlyphRunDrawing.cs
- Parsers.cs
- DbConnectionPoolOptions.cs
- XmlSerializerFaultFormatter.cs
- DateTimeFormatInfoScanner.cs
- GACIdentityPermission.cs
- SortAction.cs
- IisTraceListener.cs
- ClientRuntimeConfig.cs
- CommandField.cs
- ExtentKey.cs
- DataGridTablesFactory.cs
- HtmlContainerControl.cs
- X509Utils.cs
- UIPropertyMetadata.cs
- ProjectedSlot.cs
- KeyValueConfigurationElement.cs
- AxHostDesigner.cs
- ObfuscateAssemblyAttribute.cs
- TextViewBase.cs
- CatalogZone.cs
- MULTI_QI.cs
- Validator.cs
- VectorCollectionValueSerializer.cs
- ItemAutomationPeer.cs
- WindowsListViewSubItem.cs
- GridLengthConverter.cs
- WindowsFormsHelpers.cs
- dtdvalidator.cs
- CopyNamespacesAction.cs
- EventProviderWriter.cs
- FontConverter.cs
- WinFormsSpinner.cs
- ObjectSpanRewriter.cs
- SqlDataRecord.cs
- BrowserInteropHelper.cs
- BinaryWriter.cs
- SafeHGlobalHandleCritical.cs
- RegionData.cs
- OperationPickerDialog.cs
- EntityDataReader.cs
- TabPage.cs
- Encoder.cs
- OdbcConnectionHandle.cs
- TraceUtils.cs
- Simplifier.cs
- SqlVisitor.cs
- MappingSource.cs
- TextParagraphView.cs
- ScriptingSectionGroup.cs
- ServiceDesigner.xaml.cs
- ToolBarPanel.cs
- Graphics.cs
- StateDesigner.cs
- Interfaces.cs
- ChannelServices.cs
- WebEvents.cs
- BlurBitmapEffect.cs
- UpWmlMobileTextWriter.cs
- KeyboardNavigation.cs
- TraceProvider.cs
- MsmqIntegrationProcessProtocolHandler.cs
- SafeArchiveContext.cs
- ToolStripOverflow.cs
- SerialStream.cs
- SystemWebSectionGroup.cs
- XpsPackagingPolicy.cs
- InternalSafeNativeMethods.cs
- RoleGroup.cs
- _HeaderInfo.cs
- Point3DAnimationBase.cs
- Scene3D.cs
- StrokeRenderer.cs
- TemplateNameScope.cs
- OrthographicCamera.cs
- UndoManager.cs
- SiteMapDataSourceView.cs
- SchemaCollectionCompiler.cs
- SQLDateTimeStorage.cs
- SqlDuplicator.cs
- Pen.cs
- ListViewItemSelectionChangedEvent.cs