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
- DataGridViewRowCollection.cs
- PipeStream.cs
- MachineKeyConverter.cs
- Condition.cs
- SqlMetaData.cs
- DataAccessException.cs
- ResetableIterator.cs
- TabRenderer.cs
- WorkflowDebuggerSteppingAttribute.cs
- Message.cs
- KoreanCalendar.cs
- DataRow.cs
- GACMembershipCondition.cs
- StrokeCollection.cs
- WorkflowControlClient.cs
- EdmToObjectNamespaceMap.cs
- ValidationRule.cs
- UIElement.cs
- ReverseQueryOperator.cs
- CFGGrammar.cs
- DictionaryTraceRecord.cs
- DataGridViewCellCancelEventArgs.cs
- PkcsMisc.cs
- SettingsPropertyValue.cs
- WindowsTab.cs
- WebBrowserSiteBase.cs
- ReflectionPermission.cs
- Vector3DConverter.cs
- AlphabetConverter.cs
- SchemaNames.cs
- CommonProperties.cs
- PageTheme.cs
- QueryActivatableWorkflowsCommand.cs
- DataGridViewCellStyleChangedEventArgs.cs
- PointAnimationUsingKeyFrames.cs
- RenderOptions.cs
- OleDbRowUpdatingEvent.cs
- MarkupCompilePass2.cs
- StackSpiller.Temps.cs
- SqlLiftIndependentRowExpressions.cs
- GridViewPageEventArgs.cs
- BrowserDefinitionCollection.cs
- MessageAction.cs
- ViewManager.cs
- LayoutEngine.cs
- StringArrayConverter.cs
- LongValidator.cs
- HttpListenerException.cs
- FontStyles.cs
- ItemCollection.cs
- TrackingAnnotationCollection.cs
- DecoderBestFitFallback.cs
- oledbconnectionstring.cs
- SolidColorBrush.cs
- WebPartConnectionCollection.cs
- FillErrorEventArgs.cs
- AssemblyAssociatedContentFileAttribute.cs
- ManualResetEventSlim.cs
- WebPartChrome.cs
- ValidationPropertyAttribute.cs
- StringComparer.cs
- SQLInt16Storage.cs
- ViewSimplifier.cs
- SetStoryboardSpeedRatio.cs
- SmtpNtlmAuthenticationModule.cs
- ToolStripPanelSelectionGlyph.cs
- Automation.cs
- PlainXmlWriter.cs
- SerialStream.cs
- LogEntryHeaderv1Deserializer.cs
- ListViewUpdatedEventArgs.cs
- RedirectionProxy.cs
- OracleCommandBuilder.cs
- SoapTypeAttribute.cs
- DeviceContext2.cs
- PropertyChangingEventArgs.cs
- SystemIPInterfaceStatistics.cs
- OperationAbortedException.cs
- WebPartActionVerb.cs
- MemoryStream.cs
- EntityTypeEmitter.cs
- ConfigurationElementCollection.cs
- HtmlForm.cs
- LogRestartAreaEnumerator.cs
- RequestResizeEvent.cs
- ItemMap.cs
- WebContext.cs
- Viewport3DAutomationPeer.cs
- _SecureChannel.cs
- TripleDES.cs
- View.cs
- SqlUtil.cs
- StrokeNodeEnumerator.cs
- StyleXamlParser.cs
- PrintingPermissionAttribute.cs
- TypeSystem.cs
- UnsafePeerToPeerMethods.cs
- Themes.cs
- PieceNameHelper.cs
- PtsHost.cs