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
- SafeFileMapViewHandle.cs
- Grid.cs
- SchemaRegistration.cs
- ErrorFormatterPage.cs
- SamlAssertion.cs
- SmiConnection.cs
- StringUtil.cs
- AspCompat.cs
- DelegatingTypeDescriptionProvider.cs
- FormViewUpdatedEventArgs.cs
- DelegatingTypeDescriptionProvider.cs
- InputLanguageCollection.cs
- SortAction.cs
- WebErrorHandler.cs
- SoapAttributes.cs
- IntSecurity.cs
- LinqDataSourceDisposeEventArgs.cs
- DispatcherTimer.cs
- CngKeyCreationParameters.cs
- CqlErrorHelper.cs
- DescendantBaseQuery.cs
- BitFlagsGenerator.cs
- DocumentGridContextMenu.cs
- MouseCaptureWithinProperty.cs
- FloatMinMaxAggregationOperator.cs
- ToolStripOverflow.cs
- compensatingcollection.cs
- SqlDataSourceStatusEventArgs.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- HttpListenerTimeoutManager.cs
- ReadOnlyObservableCollection.cs
- DbProviderFactories.cs
- SqlConnectionManager.cs
- ConstNode.cs
- XmlTextAttribute.cs
- CodeIterationStatement.cs
- XmlAttributeOverrides.cs
- MarkupProperty.cs
- BlurBitmapEffect.cs
- CatalogZoneBase.cs
- SR.cs
- ImageAttributes.cs
- AuthenticationModuleElementCollection.cs
- EncoderExceptionFallback.cs
- SqlCommand.cs
- ProxyManager.cs
- ProjectionAnalyzer.cs
- AccessedThroughPropertyAttribute.cs
- QuestionEventArgs.cs
- DataTrigger.cs
- Focus.cs
- OdbcHandle.cs
- Enum.cs
- IsolatedStorage.cs
- InheritedPropertyDescriptor.cs
- TimelineGroup.cs
- StatusBarAutomationPeer.cs
- InheritanceContextHelper.cs
- AlignmentYValidation.cs
- XmlNotation.cs
- Marshal.cs
- XmlSchemaImport.cs
- CompModSwitches.cs
- RequestUriProcessor.cs
- Decoder.cs
- DataListItem.cs
- CopyAttributesAction.cs
- NonParentingControl.cs
- Form.cs
- SessionStateSection.cs
- SerialReceived.cs
- ConfigurationSettings.cs
- IndividualDeviceConfig.cs
- XmlArrayItemAttributes.cs
- GeneratedView.cs
- DeferrableContent.cs
- SiteMapHierarchicalDataSourceView.cs
- AutoSizeToolBoxItem.cs
- ParallelQuery.cs
- ConnectionStringSettingsCollection.cs
- ISAPIRuntime.cs
- SecurityPolicySection.cs
- Win32.cs
- DebuggerService.cs
- MenuTracker.cs
- MeshGeometry3D.cs
- HttpHandlersSection.cs
- SmiEventSink_Default.cs
- AVElementHelper.cs
- CharConverter.cs
- MetadataItemEmitter.cs
- RegexMatch.cs
- TiffBitmapDecoder.cs
- DataContractAttribute.cs
- PermissionRequestEvidence.cs
- FtpRequestCacheValidator.cs
- ValidationResult.cs
- DataGridParentRows.cs
- JsonCollectionDataContract.cs
- _ConnectOverlappedAsyncResult.cs