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
- ColorAnimationUsingKeyFrames.cs
- SqlExpressionNullability.cs
- EditingMode.cs
- TriggerCollection.cs
- UnsafeNativeMethods.cs
- XmlDataCollection.cs
- ExpressionEditorAttribute.cs
- FileCodeGroup.cs
- ByteStream.cs
- IPAddressCollection.cs
- SizeIndependentAnimationStorage.cs
- XmlAnyElementAttribute.cs
- CompiledWorkflowDefinitionContext.cs
- MouseCaptureWithinProperty.cs
- MsmqHostedTransportConfiguration.cs
- InvokeProviderWrapper.cs
- Calendar.cs
- StoragePropertyMapping.cs
- UshortList2.cs
- TreeView.cs
- ProfileModule.cs
- BaseDataList.cs
- XmlSortKey.cs
- DataGridViewBand.cs
- ValidationErrorEventArgs.cs
- SystemResources.cs
- IndentedWriter.cs
- ResourcesChangeInfo.cs
- FixedSOMTextRun.cs
- CodePageEncoding.cs
- FunctionImportElement.cs
- ContentFilePart.cs
- CqlLexer.cs
- ExceptionHandlerDesigner.cs
- SiteMembershipCondition.cs
- ItemChangedEventArgs.cs
- DateTimeFormat.cs
- ColorMatrix.cs
- WmlCalendarAdapter.cs
- XmlSchemaChoice.cs
- SiteMapProvider.cs
- CfgRule.cs
- OutputCacheProfileCollection.cs
- DifferencingCollection.cs
- Positioning.cs
- HtmlSelect.cs
- _NegotiateClient.cs
- DetailsViewCommandEventArgs.cs
- RemotingServices.cs
- XMLSchema.cs
- UserNamePasswordServiceCredential.cs
- TemplateField.cs
- ScopelessEnumAttribute.cs
- SettingsPropertyWrongTypeException.cs
- SoapSchemaMember.cs
- QilXmlWriter.cs
- DomainConstraint.cs
- DispatcherHooks.cs
- ZeroOpNode.cs
- Mappings.cs
- ForceCopyBuildProvider.cs
- CodeIndexerExpression.cs
- StrongName.cs
- Panel.cs
- CssTextWriter.cs
- PagedControl.cs
- AvTrace.cs
- RoleGroup.cs
- StringWriter.cs
- DeviceContext.cs
- GlobalItem.cs
- LocalizedNameDescriptionPair.cs
- RegexCapture.cs
- Subordinate.cs
- TextBox.cs
- MultiBindingExpression.cs
- FileEnumerator.cs
- DataGridTextBox.cs
- LoginUtil.cs
- RepeatButtonAutomationPeer.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- TrustLevelCollection.cs
- HtmlInputCheckBox.cs
- BuildProviderUtils.cs
- XappLauncher.cs
- MessageEnumerator.cs
- AuthenticateEventArgs.cs
- DateTimeOffset.cs
- XPathException.cs
- BamlReader.cs
- InputQueue.cs
- StaticFileHandler.cs
- Number.cs
- ManagedWndProcTracker.cs
- Table.cs
- RestHandlerFactory.cs
- XmlCharCheckingWriter.cs
- VectorCollectionValueSerializer.cs
- DefaultMemberAttribute.cs
- RankException.cs