Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ImageField.cs
- TrustManagerPromptUI.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- ActivityWithResultWrapper.cs
- sqlmetadatafactory.cs
- CalendarButton.cs
- ProviderCommandInfoUtils.cs
- BinHexDecoder.cs
- TextEditor.cs
- QuaternionValueSerializer.cs
- DaylightTime.cs
- DurableTimerExtension.cs
- ForwardPositionQuery.cs
- TextProviderWrapper.cs
- Trace.cs
- HtmlButton.cs
- SoapSchemaMember.cs
- RequiredFieldValidator.cs
- GotoExpression.cs
- AddInActivator.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- DefaultPropertyAttribute.cs
- TypeUsage.cs
- DateTimeSerializationSection.cs
- Stopwatch.cs
- shaperfactoryquerycacheentry.cs
- ControlEvent.cs
- VersionedStreamOwner.cs
- WmlLiteralTextAdapter.cs
- XmlExpressionDumper.cs
- SrgsElementFactoryCompiler.cs
- WebPartZone.cs
- UserCancellationException.cs
- ReverseComparer.cs
- Crc32Helper.cs
- XmlCharCheckingWriter.cs
- RangeBase.cs
- unsafenativemethodsother.cs
- EntitySqlQueryBuilder.cs
- FormViewInsertEventArgs.cs
- SecurityTokenParameters.cs
- SqlFacetAttribute.cs
- ByteStreamMessage.cs
- CheckableControlBaseAdapter.cs
- PointCollection.cs
- COAUTHIDENTITY.cs
- CatalogPartDesigner.cs
- PointAnimationClockResource.cs
- translator.cs
- Stack.cs
- ExtensibleClassFactory.cs
- StateFinalizationActivity.cs
- InputManager.cs
- FixedSOMFixedBlock.cs
- ParameterToken.cs
- DataGridAutoFormatDialog.cs
- TimeoutException.cs
- COM2ExtendedTypeConverter.cs
- SymbolMethod.cs
- DataGridCommandEventArgs.cs
- ResXFileRef.cs
- RoleManagerEventArgs.cs
- SecurityValidationBehavior.cs
- SapiRecoInterop.cs
- XPathDescendantIterator.cs
- RuleValidation.cs
- DurableRuntimeValidator.cs
- TreeNode.cs
- TrustLevel.cs
- PropertyChangeTracker.cs
- TransferRequestHandler.cs
- RepeatBehaviorConverter.cs
- SearchForVirtualItemEventArgs.cs
- TypeSystem.cs
- Fx.cs
- SystemBrushes.cs
- ScrollChangedEventArgs.cs
- EventProviderWriter.cs
- CodeComment.cs
- InvokeMethodActivity.cs
- WindowShowOrOpenTracker.cs
- ProxyAttribute.cs
- HebrewNumber.cs
- Application.cs
- ToolStripItemEventArgs.cs
- ConfigurationLocationCollection.cs
- KeyNotFoundException.cs
- TraceHandler.cs
- CustomErrorsSectionWrapper.cs
- _DigestClient.cs
- TransformPatternIdentifiers.cs
- IDispatchConstantAttribute.cs
- OracleTimeSpan.cs
- ValidationError.cs
- CmsUtils.cs
- SafeEventLogWriteHandle.cs
- Subset.cs
- SqlXml.cs
- Decoder.cs
- TabControlAutomationPeer.cs