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
- DoubleKeyFrameCollection.cs
- BitmapEffectState.cs
- FilterQuery.cs
- storagemappingitemcollection.viewdictionary.cs
- SignatureResourcePool.cs
- InteropAutomationProvider.cs
- ISAPIApplicationHost.cs
- List.cs
- MasterPage.cs
- PermissionSet.cs
- NestedContainer.cs
- IntellisenseTextBox.designer.cs
- ITextView.cs
- Authorization.cs
- ServiceReference.cs
- UIServiceHelper.cs
- XmlSerializationReader.cs
- SettingsProperty.cs
- SettingsPropertyValue.cs
- EnumUnknown.cs
- MetabaseReader.cs
- EndOfStreamException.cs
- LineGeometry.cs
- HashStream.cs
- safex509handles.cs
- XmlNavigatorStack.cs
- Exceptions.cs
- WebSysDisplayNameAttribute.cs
- RectConverter.cs
- ProxyHwnd.cs
- EncodingFallbackAwareXmlTextWriter.cs
- RC2CryptoServiceProvider.cs
- Util.cs
- XamlVector3DCollectionSerializer.cs
- SiteMapNode.cs
- RadialGradientBrush.cs
- TreeNodeBinding.cs
- HttpListenerRequestUriBuilder.cs
- EventLogPermission.cs
- XmlCodeExporter.cs
- EventLevel.cs
- SerializerWriterEventHandlers.cs
- UITypeEditor.cs
- FrameworkEventSource.cs
- BindingExpression.cs
- BamlVersionHeader.cs
- DispatchOperation.cs
- HttpHandlerAction.cs
- CombinedGeometry.cs
- SQLByteStorage.cs
- propertytag.cs
- ExecutionTracker.cs
- CssStyleCollection.cs
- HelloMessageApril2005.cs
- PrePostDescendentsWalker.cs
- Cursors.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- EdmToObjectNamespaceMap.cs
- wmiutil.cs
- PassportAuthentication.cs
- ObjectToIdCache.cs
- RepeaterItemCollection.cs
- CommonRemoteMemoryBlock.cs
- SEHException.cs
- MexBindingElement.cs
- ProcessProtocolHandler.cs
- ExecutionContext.cs
- StatusBar.cs
- MethodCallTranslator.cs
- ExpressionEditorAttribute.cs
- OutputCacheSettingsSection.cs
- JapaneseCalendar.cs
- ModuleElement.cs
- SiteMapPath.cs
- ClientUtils.cs
- BeginStoryboard.cs
- TextWriter.cs
- _SSPISessionCache.cs
- RemoteDebugger.cs
- BooleanSwitch.cs
- SqlStream.cs
- RoutedUICommand.cs
- DataGridViewTopRowAccessibleObject.cs
- ItemCollection.cs
- ByteStack.cs
- DataGridItemEventArgs.cs
- DataGridViewButtonColumn.cs
- ColorBlend.cs
- ConnectionDemuxer.cs
- SqlTransaction.cs
- UdpDiscoveryEndpoint.cs
- StringDictionary.cs
- IteratorFilter.cs
- WindowsListView.cs
- DataGridViewColumnCollection.cs
- MoveSizeWinEventHandler.cs
- SafeIUnknown.cs
- XmlObjectSerializer.cs
- BreadCrumbTextConverter.cs
- WmlMobileTextWriter.cs