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
- ToolboxItemCollection.cs
- DataBinder.cs
- StylusCollection.cs
- PreviewPrintController.cs
- TransactionManagerProxy.cs
- TreeBuilder.cs
- _NetworkingPerfCounters.cs
- parserscommon.cs
- DeviceContext2.cs
- QilXmlReader.cs
- DES.cs
- _LoggingObject.cs
- PeerToPeerException.cs
- SrgsText.cs
- TypedMessageConverter.cs
- DataGridPagingPage.cs
- FormParameter.cs
- RectangleConverter.cs
- ServiceModelExtensionElement.cs
- PrintController.cs
- APCustomTypeDescriptor.cs
- Compiler.cs
- FontNameEditor.cs
- DockEditor.cs
- SpecialFolderEnumConverter.cs
- PropertyPathConverter.cs
- ArrayList.cs
- OutputCacheSettingsSection.cs
- LineProperties.cs
- SendAgentStatusRequest.cs
- NativeRecognizer.cs
- CodeTypeReferenceCollection.cs
- TableItemProviderWrapper.cs
- OutputCacheSection.cs
- ChannelServices.cs
- EntityDataSourceWrapperCollection.cs
- OutputCacheProfileCollection.cs
- XmlDigitalSignatureProcessor.cs
- DaylightTime.cs
- Positioning.cs
- JsonGlobals.cs
- KoreanCalendar.cs
- TextEditorLists.cs
- LineServices.cs
- PropertyBuilder.cs
- TextDecorationCollectionConverter.cs
- Wizard.cs
- TemplateField.cs
- TextFindEngine.cs
- Base64Stream.cs
- ValueExpressions.cs
- unsafenativemethodstextservices.cs
- AnnotationService.cs
- CodeTypeParameterCollection.cs
- TemplateBindingExtension.cs
- SoapMessage.cs
- ProcessModelSection.cs
- _CacheStreams.cs
- UnionCodeGroup.cs
- AxisAngleRotation3D.cs
- ExpressionBuilder.cs
- MachineKeySection.cs
- CompositeDataBoundControl.cs
- RegexStringValidator.cs
- DrawListViewItemEventArgs.cs
- PageThemeParser.cs
- NaturalLanguageHyphenator.cs
- StickyNote.cs
- SpecularMaterial.cs
- EntityViewContainer.cs
- DoubleAnimationUsingKeyFrames.cs
- TableLayoutStyleCollection.cs
- HtmlAnchor.cs
- BamlReader.cs
- ByteAnimationBase.cs
- IPGlobalProperties.cs
- HyperLink.cs
- WindowsImpersonationContext.cs
- WrappedKeySecurityToken.cs
- GlobalizationSection.cs
- EncoderExceptionFallback.cs
- SettingsPropertyNotFoundException.cs
- ReadOnlyDictionary.cs
- WebPartDisplayMode.cs
- XmlSchemaAppInfo.cs
- Matrix3DStack.cs
- Int16.cs
- LayoutTableCell.cs
- HttpProcessUtility.cs
- LayoutTable.cs
- DataTableNewRowEvent.cs
- DbModificationClause.cs
- BaseConfigurationRecord.cs
- PersonalizationProvider.cs
- DesignerToolStripControlHost.cs
- ElementProxy.cs
- TreeViewImageKeyConverter.cs
- xmlglyphRunInfo.cs
- WpfXamlLoader.cs
- RectangleF.cs