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
- RegexCode.cs
- ToolBar.cs
- DataGridCaption.cs
- X509ClientCertificateAuthentication.cs
- TimeEnumHelper.cs
- FormatterConverter.cs
- XmlMapping.cs
- BuildManagerHost.cs
- TextUtf8RawTextWriter.cs
- ProcessThreadCollection.cs
- SqlCommandBuilder.cs
- XsltConvert.cs
- TimeIntervalCollection.cs
- HtmlTable.cs
- DesignerInterfaces.cs
- WmlCommandAdapter.cs
- XdrBuilder.cs
- ManagementInstaller.cs
- TrackingParameters.cs
- IisTraceWebEventProvider.cs
- SimpleNameService.cs
- DefaultParameterValueAttribute.cs
- SetterBase.cs
- WmiEventSink.cs
- DbProviderFactoriesConfigurationHandler.cs
- UnsafeNativeMethods.cs
- RequestCachingSection.cs
- WinInet.cs
- DeobfuscatingStream.cs
- SQLBoolean.cs
- DataGridViewCellStateChangedEventArgs.cs
- DataRowView.cs
- EntryWrittenEventArgs.cs
- XmlJsonWriter.cs
- PathFigure.cs
- RtfToXamlReader.cs
- QueryPageSettingsEventArgs.cs
- AttributeConverter.cs
- LayoutInformation.cs
- Comparer.cs
- CodeEntryPointMethod.cs
- EventsTab.cs
- TypeAccessException.cs
- WindowsProgressbar.cs
- ChildChangedEventArgs.cs
- DirectoryRootQuery.cs
- TreeNodeClickEventArgs.cs
- UnregisterInfo.cs
- SpellerError.cs
- BlurBitmapEffect.cs
- FontStretches.cs
- UnsafePeerToPeerMethods.cs
- DesignerSerializerAttribute.cs
- ExceptionUtil.cs
- BooleanConverter.cs
- WindowInteropHelper.cs
- ToggleButton.cs
- Vector3DKeyFrameCollection.cs
- ProgressChangedEventArgs.cs
- SwitchElementsCollection.cs
- IntSecurity.cs
- ReceiveActivityDesignerTheme.cs
- PointValueSerializer.cs
- BounceEase.cs
- CursorConverter.cs
- ObjectDataSourceMethodEventArgs.cs
- AdPostCacheSubstitution.cs
- HandoffBehavior.cs
- Literal.cs
- SoapSchemaImporter.cs
- SqlSupersetValidator.cs
- HashAlgorithm.cs
- WorkflowApplicationException.cs
- TextTreeObjectNode.cs
- LogSwitch.cs
- StrongNameUtility.cs
- StructuralComparisons.cs
- ShapingEngine.cs
- WorkerRequest.cs
- ToolStrip.cs
- QuaternionAnimation.cs
- SQLInt32Storage.cs
- ImportStoreException.cs
- KeyNotFoundException.cs
- ToolStripPanelRow.cs
- LoginName.cs
- TemplateApplicationHelper.cs
- X509SecurityTokenAuthenticator.cs
- ContractReference.cs
- WindowsGrip.cs
- RedistVersionInfo.cs
- SqlProfileProvider.cs
- AppSettingsExpressionEditor.cs
- ServiceDesigner.xaml.cs
- WithParamAction.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- EditorPart.cs
- UseLicense.cs
- ObjectDataSourceDisposingEventArgs.cs
- MasterPageBuildProvider.cs