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
- NameScope.cs
- XmlSchemaSimpleContentExtension.cs
- WorkItem.cs
- WindowsStatusBar.cs
- IdentitySection.cs
- DependentList.cs
- ProxyGenerator.cs
- LineBreak.cs
- DebugView.cs
- SecurityTokenProvider.cs
- mediaeventargs.cs
- OdbcException.cs
- BindingList.cs
- HttpWrapper.cs
- BuildProvider.cs
- SpeakInfo.cs
- Missing.cs
- FragmentQuery.cs
- Serializer.cs
- OleDbCommand.cs
- Knowncolors.cs
- XmlException.cs
- ColumnMapTranslator.cs
- DynamicQueryableWrapper.cs
- DeflateStreamAsyncResult.cs
- CultureInfoConverter.cs
- ActivatableWorkflowsQueryResult.cs
- BinHexDecoder.cs
- ApplicationManager.cs
- Parser.cs
- SystemGatewayIPAddressInformation.cs
- RemoteHelper.cs
- Vector.cs
- DataGridViewHitTestInfo.cs
- WindowsScrollBarBits.cs
- NativeRecognizer.cs
- CustomCategoryAttribute.cs
- X509Certificate.cs
- RuleSettingsCollection.cs
- HandlerFactoryCache.cs
- TypeNameHelper.cs
- SqlIdentifier.cs
- ListCollectionView.cs
- EntityKeyElement.cs
- WebPartEditorCancelVerb.cs
- InternalBufferOverflowException.cs
- InsufficientMemoryException.cs
- CompiledQueryCacheKey.cs
- XAMLParseException.cs
- EncryptedKey.cs
- DataViewManager.cs
- SerialStream.cs
- ObjectMemberMapping.cs
- HttpRequestCacheValidator.cs
- DropDownList.cs
- ProcessHostConfigUtils.cs
- FlowLayoutPanel.cs
- DtcInterfaces.cs
- CapiSymmetricAlgorithm.cs
- WebReferencesBuildProvider.cs
- IteratorFilter.cs
- FileUtil.cs
- RemotingAttributes.cs
- ReplyChannelBinder.cs
- ConfigurationPermission.cs
- ThreadExceptionDialog.cs
- ImageMapEventArgs.cs
- WebPartEventArgs.cs
- ContentWrapperAttribute.cs
- InternalTypeHelper.cs
- DataControlFieldCollection.cs
- DataGridDesigner.cs
- ScriptResourceInfo.cs
- ControlParameter.cs
- FreeFormDesigner.cs
- TextComposition.cs
- HMACSHA256.cs
- xamlnodes.cs
- CommentAction.cs
- WebSysDisplayNameAttribute.cs
- XomlCompilerError.cs
- ValidationUtility.cs
- CodeCompileUnit.cs
- NetSectionGroup.cs
- streamingZipPartStream.cs
- AppDomainFactory.cs
- ClientConfigurationHost.cs
- CacheMode.cs
- ColumnHeaderConverter.cs
- ByteConverter.cs
- DrawingAttributesDefaultValueFactory.cs
- AspNetPartialTrustHelpers.cs
- XmlQualifiedName.cs
- ScrollEvent.cs
- AdministrationHelpers.cs
- WebPartPersonalization.cs
- CompilerCollection.cs
- FamilyCollection.cs
- XamlPoint3DCollectionSerializer.cs
- PointCollectionValueSerializer.cs