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
- ProcessHost.cs
- ArgumentDirectionHelper.cs
- RelationshipConverter.cs
- SkipStoryboardToFill.cs
- TouchesCapturedWithinProperty.cs
- TemplatedWizardStep.cs
- ActivationArguments.cs
- SynchronizedKeyedCollection.cs
- CriticalHandle.cs
- PartitionerQueryOperator.cs
- DescriptionAttribute.cs
- TaskFileService.cs
- SoapAttributes.cs
- XmlILIndex.cs
- EndEvent.cs
- MenuCommand.cs
- UrlPath.cs
- EntityClientCacheEntry.cs
- XmlBindingWorker.cs
- ShortcutKeysEditor.cs
- PolyBezierSegment.cs
- DerivedKeySecurityTokenStub.cs
- TextEditorContextMenu.cs
- DynamicMethod.cs
- FactoryId.cs
- OdbcConnectionFactory.cs
- XmlTextAttribute.cs
- Span.cs
- Int32Rect.cs
- HtmlInputFile.cs
- FunctionImportMapping.cs
- DelayLoadType.cs
- RangeValidator.cs
- SqlInfoMessageEvent.cs
- Durable.cs
- AnnotationService.cs
- NTAccount.cs
- JapaneseCalendar.cs
- RIPEMD160.cs
- HostedTransportConfigurationManager.cs
- CultureTable.cs
- HybridDictionary.cs
- DeferrableContent.cs
- CorrelationActionMessageFilter.cs
- HttpMethodAttribute.cs
- SequentialOutput.cs
- ThrowHelper.cs
- Menu.cs
- ClientSettingsSection.cs
- ReadOnlyDataSource.cs
- WindowsToolbarItemAsMenuItem.cs
- XomlCompiler.cs
- versioninfo.cs
- EventTrigger.cs
- XmlHierarchicalEnumerable.cs
- DefaultParameterValueAttribute.cs
- SendingRequestEventArgs.cs
- TextServicesLoader.cs
- InkCollectionBehavior.cs
- RectAnimation.cs
- BooleanExpr.cs
- CommandEventArgs.cs
- UnsafeNativeMethods.cs
- CodeIterationStatement.cs
- CodeChecksumPragma.cs
- DrawListViewSubItemEventArgs.cs
- GridSplitterAutomationPeer.cs
- BoundConstants.cs
- JsonServiceDocumentSerializer.cs
- Psha1DerivedKeyGenerator.cs
- ProfileSettingsCollection.cs
- __ConsoleStream.cs
- Latin1Encoding.cs
- IOException.cs
- EditorBrowsableAttribute.cs
- TcpProcessProtocolHandler.cs
- HotSpot.cs
- SqlInternalConnectionTds.cs
- CompiledQuery.cs
- DataMisalignedException.cs
- GridViewPageEventArgs.cs
- CodeBinaryOperatorExpression.cs
- OptimalTextSource.cs
- RPIdentityRequirement.cs
- RelatedPropertyManager.cs
- CalloutQueueItem.cs
- XmlQueryCardinality.cs
- StringWriter.cs
- XmlSchemaIdentityConstraint.cs
- DataBindEngine.cs
- MethodCallTranslator.cs
- SessionStateModule.cs
- TransformValueSerializer.cs
- FrameworkTextComposition.cs
- BamlLocalizer.cs
- LogWriteRestartAreaState.cs
- PairComparer.cs
- Html32TextWriter.cs
- DataServiceClientException.cs
- Stack.cs