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
- Rights.cs
- UpdateException.cs
- DataSet.cs
- WorkflowOperationBehavior.cs
- MSHTMLHostUtil.cs
- SortedSet.cs
- Tracer.cs
- TCPClient.cs
- ProcessThreadCollection.cs
- ThicknessAnimationUsingKeyFrames.cs
- CommunicationException.cs
- RepeaterItemCollection.cs
- BindingSourceDesigner.cs
- OutputCacheProfileCollection.cs
- WorkflowTraceTransfer.cs
- SyndicationElementExtensionCollection.cs
- ResXResourceReader.cs
- WebWorkflowRole.cs
- TryLoadRunnableWorkflowCommand.cs
- ColorInterpolationModeValidation.cs
- SqlParameterCollection.cs
- ComAwareEventInfo.cs
- MediaSystem.cs
- Rijndael.cs
- DoubleAnimationUsingKeyFrames.cs
- InteropEnvironment.cs
- MappingException.cs
- SqlBulkCopyColumnMapping.cs
- XsdBuildProvider.cs
- InvalidDataException.cs
- MatrixAnimationUsingKeyFrames.cs
- WebPartUserCapability.cs
- ProjectionNode.cs
- EndGetFileNameFromUserRequest.cs
- Marshal.cs
- SchemaMerger.cs
- FormDesigner.cs
- DefaultTraceListener.cs
- DelegatedStream.cs
- LocatorPart.cs
- TraceProvider.cs
- _HeaderInfo.cs
- CubicEase.cs
- RichTextBox.cs
- TextTreeInsertUndoUnit.cs
- TextDecoration.cs
- ToolStripComboBox.cs
- Evidence.cs
- uribuilder.cs
- httpstaticobjectscollection.cs
- UnmanagedHandle.cs
- TemplateComponentConnector.cs
- GridView.cs
- GorillaCodec.cs
- MediaCommands.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- serverconfig.cs
- CalendarTable.cs
- SystemParameters.cs
- DllNotFoundException.cs
- WebPartConnectionsConnectVerb.cs
- Grant.cs
- WindowInteractionStateTracker.cs
- ImmComposition.cs
- COM2ComponentEditor.cs
- DictionaryBase.cs
- ICollection.cs
- TypeConvertions.cs
- ISFTagAndGuidCache.cs
- ReverseInheritProperty.cs
- SafeRightsManagementHandle.cs
- AssemblyBuilderData.cs
- OAVariantLib.cs
- PngBitmapDecoder.cs
- ViewStateException.cs
- CustomCategoryAttribute.cs
- MeshGeometry3D.cs
- KeyGestureConverter.cs
- InvokeHandlers.cs
- LinkArea.cs
- ContravarianceAdapter.cs
- RSAPKCS1KeyExchangeFormatter.cs
- WebPartTransformerAttribute.cs
- MenuItemBinding.cs
- TimeStampChecker.cs
- ValidationEventArgs.cs
- DetailsViewDeletedEventArgs.cs
- Predicate.cs
- GridViewDeleteEventArgs.cs
- TextBox.cs
- CodeObject.cs
- GridView.cs
- String.cs
- BinaryWriter.cs
- CommentEmitter.cs
- LZCodec.cs
- cookiecontainer.cs
- SignedXmlDebugLog.cs
- InputBinding.cs
- MetadataItem_Static.cs