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
- IndividualDeviceConfig.cs
- MeshGeometry3D.cs
- FtpWebResponse.cs
- SoapParser.cs
- CodeStatementCollection.cs
- SafeEventLogWriteHandle.cs
- BoolLiteral.cs
- ToggleProviderWrapper.cs
- ReachSerializationUtils.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- WSHttpBindingBase.cs
- MobileTemplatedControlDesigner.cs
- PersistenceContext.cs
- UserUseLicenseDictionaryLoader.cs
- StringBlob.cs
- SafeNativeMethodsMilCoreApi.cs
- TemplateColumn.cs
- ResourceDescriptionAttribute.cs
- ListBox.cs
- ProgressBarAutomationPeer.cs
- TemplateXamlTreeBuilder.cs
- Geometry3D.cs
- BindingRestrictions.cs
- UrlUtility.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- SystemIPGlobalStatistics.cs
- SoapAttributeAttribute.cs
- ValueQuery.cs
- RadioButton.cs
- OSEnvironmentHelper.cs
- SkipQueryOptionExpression.cs
- PersonalizationProviderHelper.cs
- SystemIPv4InterfaceProperties.cs
- localization.cs
- DesignerProperties.cs
- IgnorePropertiesAttribute.cs
- PrimarySelectionAdorner.cs
- SolidColorBrush.cs
- Validator.cs
- AdvancedBindingPropertyDescriptor.cs
- SecurityManager.cs
- XmlObjectSerializerReadContextComplex.cs
- TraceHandlerErrorFormatter.cs
- SecurityHeader.cs
- XmlWrappingReader.cs
- MemoryFailPoint.cs
- BitmapEffectInput.cs
- EncodingInfo.cs
- ExeConfigurationFileMap.cs
- SQLInt32Storage.cs
- EmbeddedMailObject.cs
- ObjectListFieldsPage.cs
- BitmapEffectrendercontext.cs
- MultilineStringConverter.cs
- ColumnMapVisitor.cs
- ResourceReferenceExpressionConverter.cs
- SqlSelectStatement.cs
- KnownColorTable.cs
- HierarchicalDataTemplate.cs
- SqlUserDefinedTypeAttribute.cs
- Stacktrace.cs
- StrokeSerializer.cs
- StylusDevice.cs
- TransformProviderWrapper.cs
- ContextMenuAutomationPeer.cs
- DataKey.cs
- ControlBuilderAttribute.cs
- SqlResolver.cs
- WebBrowserProgressChangedEventHandler.cs
- ModelTypeConverter.cs
- ScriptServiceAttribute.cs
- RevocationPoint.cs
- SymbolPair.cs
- EntityDataSourceChangedEventArgs.cs
- CalendarDay.cs
- OpCopier.cs
- FontSourceCollection.cs
- ShadowGlyph.cs
- ConfigurationElementCollection.cs
- PartitionerQueryOperator.cs
- TypeHelpers.cs
- DataViewSettingCollection.cs
- ByteStreamGeometryContext.cs
- _ConnectOverlappedAsyncResult.cs
- TraversalRequest.cs
- TabletDevice.cs
- KeyToListMap.cs
- X509RecipientCertificateClientElement.cs
- CapabilitiesUse.cs
- TimeoutValidationAttribute.cs
- SamlNameIdentifierClaimResource.cs
- ListViewItemEventArgs.cs
- XmlAttributes.cs
- GridErrorDlg.cs
- InlineUIContainer.cs
- _AuthenticationState.cs
- ResourceDescriptionAttribute.cs
- ParentQuery.cs
- DocumentGridPage.cs
- DiagnosticTrace.cs