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
- CursorInteropHelper.cs
- DataGridPagerStyle.cs
- FontWeightConverter.cs
- UnhandledExceptionEventArgs.cs
- AssociationSetEnd.cs
- EntityReference.cs
- SiteMapHierarchicalDataSourceView.cs
- TextChange.cs
- ExceptionWrapper.cs
- BaseDataList.cs
- RewritingValidator.cs
- ShapeTypeface.cs
- EpmSourcePathSegment.cs
- KeyGestureValueSerializer.cs
- SignedXml.cs
- PageAdapter.cs
- ToolStripPanelRenderEventArgs.cs
- BoundColumn.cs
- XhtmlBasicSelectionListAdapter.cs
- DataGridViewDataConnection.cs
- DataGridBeginningEditEventArgs.cs
- TemplateApplicationHelper.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- ControlPropertyNameConverter.cs
- Variable.cs
- ValidationEventArgs.cs
- followingsibling.cs
- FileIOPermission.cs
- FixedTextSelectionProcessor.cs
- Point3DConverter.cs
- DataGridRow.cs
- ExclusiveHandleList.cs
- DataSvcMapFileSerializer.cs
- ToolStripDropTargetManager.cs
- PageParserFilter.cs
- EffectiveValueEntry.cs
- CustomCategoryAttribute.cs
- FileAccessException.cs
- FontDriver.cs
- Geometry.cs
- ExpandSegmentCollection.cs
- DataGridViewCellPaintingEventArgs.cs
- JournalEntry.cs
- UIHelper.cs
- ZipQueryOperator.cs
- UnsafeNativeMethods.cs
- PasswordTextNavigator.cs
- ImmutableCommunicationTimeouts.cs
- AssemblyNameProxy.cs
- EllipseGeometry.cs
- SslSecurityTokenParameters.cs
- GridViewDeletedEventArgs.cs
- BitmapEffectInputConnector.cs
- PropertyChangeTracker.cs
- NotConverter.cs
- PropertyInfoSet.cs
- ColumnClickEvent.cs
- StyleCollection.cs
- ScrollPattern.cs
- SrgsDocument.cs
- PrimitiveCodeDomSerializer.cs
- ByteFacetDescriptionElement.cs
- RelationshipWrapper.cs
- XamlTemplateSerializer.cs
- TypeElement.cs
- IpcChannel.cs
- NotFiniteNumberException.cs
- Point3DCollection.cs
- XmlReader.cs
- FontFamilyValueSerializer.cs
- GridViewRowCollection.cs
- DataGridRelationshipRow.cs
- MSAAWinEventWrap.cs
- bindurihelper.cs
- iisPickupDirectory.cs
- IListConverters.cs
- MessageQueueCriteria.cs
- StorageMappingFragment.cs
- RenderingEventArgs.cs
- TreeViewImageIndexConverter.cs
- SqlDependency.cs
- SmtpTransport.cs
- TextEncodedRawTextWriter.cs
- SpellerError.cs
- ObjectStateEntry.cs
- DecoderBestFitFallback.cs
- StoryFragments.cs
- PropertyPath.cs
- SolidBrush.cs
- MenuTracker.cs
- Thickness.cs
- HttpResponseWrapper.cs
- ResourcePermissionBaseEntry.cs
- HttpProfileGroupBase.cs
- SelectionRange.cs
- XmlSerializationWriter.cs
- WebPartConnectionCollection.cs
- PrintEvent.cs
- ScopedKnownTypes.cs
- PeerTransportBindingElement.cs