Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / ComponentModel / ProgressChangedEventArgs.cs / 1 / ProgressChangedEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.ComponentModel
{
using System.Security.Permissions;
[HostProtection(SharedState = true)]
public class ProgressChangedEventArgs : EventArgs
{
private readonly int progressPercentage;
private readonly object userState;
public ProgressChangedEventArgs(int progressPercentage, object userState)
{
this.progressPercentage = progressPercentage;
this.userState = userState;
}
[ SRDescription(SR.Async_ProgressChangedEventArgs_ProgressPercentage) ]
public int ProgressPercentage
{
get { return progressPercentage; }
}
[ SRDescription(SR.Async_ProgressChangedEventArgs_UserState) ]
public object UserState
{
get { return userState; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.ComponentModel
{
using System.Security.Permissions;
[HostProtection(SharedState = true)]
public class ProgressChangedEventArgs : EventArgs
{
private readonly int progressPercentage;
private readonly object userState;
public ProgressChangedEventArgs(int progressPercentage, object userState)
{
this.progressPercentage = progressPercentage;
this.userState = userState;
}
[ SRDescription(SR.Async_ProgressChangedEventArgs_ProgressPercentage) ]
public int ProgressPercentage
{
get { return progressPercentage; }
}
[ SRDescription(SR.Async_ProgressChangedEventArgs_UserState) ]
public object UserState
{
get { return userState; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlAttributeHolder.cs
- BaseDataBoundControl.cs
- DeclarativeCatalogPart.cs
- CompatibleComparer.cs
- SessionStateItemCollection.cs
- AnnotationAdorner.cs
- EventLogEntry.cs
- SoapServerMessage.cs
- UnsafeMethods.cs
- Metafile.cs
- SystemNetworkInterface.cs
- SiteMapNodeItem.cs
- StreamResourceInfo.cs
- NullableBoolConverter.cs
- EqualityComparer.cs
- XPathQilFactory.cs
- XpsFixedDocumentReaderWriter.cs
- SafeRightsManagementPubHandle.cs
- StreamingContext.cs
- WebPartEventArgs.cs
- TableRowCollection.cs
- XmlSchemaSimpleContent.cs
- TransformerTypeCollection.cs
- WriteableBitmap.cs
- BlockingCollection.cs
- ErrorHandlingReceiver.cs
- Parser.cs
- ObjectDataSourceView.cs
- FileDialogCustomPlace.cs
- ActivityScheduledRecord.cs
- Panel.cs
- FrugalList.cs
- XmlnsDictionary.cs
- SwitchAttribute.cs
- ProbeMatches11.cs
- WebPartActionVerb.cs
- SQLRoleProvider.cs
- LocalFileSettingsProvider.cs
- XamlVector3DCollectionSerializer.cs
- TemplateField.cs
- Monitor.cs
- DesignTimeParseData.cs
- ModelItem.cs
- QueryCacheKey.cs
- SqlDataSourceSummaryPanel.cs
- ModelFunction.cs
- Pool.cs
- XpsPartBase.cs
- DataTableReader.cs
- TraceContext.cs
- TraceUtils.cs
- UnionExpr.cs
- ThreadStaticAttribute.cs
- HttpFileCollection.cs
- FileEnumerator.cs
- Table.cs
- Transform3D.cs
- MediaTimeline.cs
- SqlDataSourceEnumerator.cs
- ConfigXmlText.cs
- ListControl.cs
- LocalizedNameDescriptionPair.cs
- XPathCompileException.cs
- ScaleTransform3D.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- EntryPointNotFoundException.cs
- OracleFactory.cs
- TextSpanModifier.cs
- XslAstAnalyzer.cs
- WebReferencesBuildProvider.cs
- Stroke.cs
- FrameworkElementFactoryMarkupObject.cs
- PageCache.cs
- RedirectionProxy.cs
- AssemblyInfo.cs
- Matrix3D.cs
- BridgeDataRecord.cs
- ColorPalette.cs
- IRCollection.cs
- SecurityCredentialsManager.cs
- HttpCacheVary.cs
- DbConnectionPoolCounters.cs
- DropShadowEffect.cs
- Stacktrace.cs
- TreeViewCancelEvent.cs
- PingReply.cs
- ThemeDirectoryCompiler.cs
- NotFiniteNumberException.cs
- SemanticKeyElement.cs
- ZipIOExtraField.cs
- ExpressionBuilderContext.cs
- PopupEventArgs.cs
- WasHttpHandlersInstallComponent.cs
- InputLanguageManager.cs
- WindowsScrollBar.cs
- WorkflowRuntime.cs
- PartialList.cs
- DataGridViewCellStyleConverter.cs
- PackagingUtilities.cs
- SpotLight.cs