Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / System / Windows / Media / Imaging / DownloadProgressEventArgs.cs / 1 / DownloadProgressEventArgs.cs
//------------------------------------------------------------------------------
// Microsoft Avalon
// Copyright (c) Microsoft Corporation, 2003
//
// File: DownloadProgressEventArgs.cs
//
//-----------------------------------------------------------------------------
namespace System.Windows.Media.Imaging
{
#region DownloadProgressEventArgs
///
/// Event args for the DownloadProgress event.
///
public class DownloadProgressEventArgs : EventArgs
{
// Internal constructor
internal DownloadProgressEventArgs(int percentComplete)
{
_percentComplete = percentComplete;
}
///
/// Returns the progress between 1-100
///
public int Progress
{
get
{
return _percentComplete;
}
}
int _percentComplete;
}
#endregion
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
// Microsoft Avalon
// Copyright (c) Microsoft Corporation, 2003
//
// File: DownloadProgressEventArgs.cs
//
//-----------------------------------------------------------------------------
namespace System.Windows.Media.Imaging
{
#region DownloadProgressEventArgs
///
/// Event args for the DownloadProgress event.
///
public class DownloadProgressEventArgs : EventArgs
{
// Internal constructor
internal DownloadProgressEventArgs(int percentComplete)
{
_percentComplete = percentComplete;
}
///
/// Returns the progress between 1-100
///
public int Progress
{
get
{
return _percentComplete;
}
}
int _percentComplete;
}
#endregion
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SelectionListComponentEditor.cs
- DefaultHttpHandler.cs
- WorkflowElementDialogWindow.xaml.cs
- VirtualizingPanel.cs
- TreeNodeSelectionProcessor.cs
- PriorityBinding.cs
- _DisconnectOverlappedAsyncResult.cs
- ObjectParameterCollection.cs
- ResolveNameEventArgs.cs
- WindowsGraphics.cs
- DataTableMappingCollection.cs
- Marshal.cs
- InputQueue.cs
- InkPresenterAutomationPeer.cs
- IdnMapping.cs
- AccessText.cs
- CapabilitiesPattern.cs
- EnumValidator.cs
- unitconverter.cs
- autovalidator.cs
- BrowserDefinitionCollection.cs
- tooltip.cs
- MetadataCache.cs
- EntityDataSourceState.cs
- GridLength.cs
- DataGridViewControlCollection.cs
- DataSetFieldSchema.cs
- UnaryNode.cs
- precedingsibling.cs
- SmtpDigestAuthenticationModule.cs
- ObjectSecurityT.cs
- HyperlinkAutomationPeer.cs
- GridViewColumn.cs
- ForeignKeyConstraint.cs
- FixedTextPointer.cs
- SQLRoleProvider.cs
- QuerySettings.cs
- PopOutPanel.cs
- TextTreeRootNode.cs
- NonClientArea.cs
- base64Transforms.cs
- ImpersonationContext.cs
- HttpListenerRequestTraceRecord.cs
- XmlWhitespace.cs
- MethodExpr.cs
- WhileDesigner.cs
- _KerberosClient.cs
- DbConnectionStringCommon.cs
- AnyAllSearchOperator.cs
- FixedDSBuilder.cs
- OdbcTransaction.cs
- XmlWellformedWriter.cs
- DetailsViewInsertEventArgs.cs
- WindowsTreeView.cs
- AddingNewEventArgs.cs
- FrameworkElementAutomationPeer.cs
- SubqueryRules.cs
- EUCJPEncoding.cs
- ReadOnlyDataSource.cs
- Overlapped.cs
- SimpleType.cs
- CertificateReferenceElement.cs
- LoadedEvent.cs
- IdnElement.cs
- TextFormatterImp.cs
- DesignerHelpers.cs
- TimeSpanStorage.cs
- ImportCatalogPart.cs
- SqlCacheDependencySection.cs
- SignedXml.cs
- ImportOptions.cs
- ScriptRegistrationManager.cs
- ImageIndexConverter.cs
- MessageSmuggler.cs
- SignatureToken.cs
- RowsCopiedEventArgs.cs
- KeyGesture.cs
- DesignerDataSchemaClass.cs
- WbemException.cs
- AppDomainFactory.cs
- CodeVariableReferenceExpression.cs
- WpfKnownType.cs
- PageBuildProvider.cs
- BaseTemplateBuildProvider.cs
- LazyTextWriterCreator.cs
- PersonalizationStateInfoCollection.cs
- GenericTypeParameterBuilder.cs
- WebConfigurationFileMap.cs
- PassportAuthentication.cs
- BeginCreateSecurityTokenRequest.cs
- TargetParameterCountException.cs
- HtmlEmptyTagControlBuilder.cs
- WorkerRequest.cs
- SettingsBase.cs
- PointValueSerializer.cs
- XmlBaseWriter.cs
- ColorConvertedBitmapExtension.cs
- FormatterServices.cs
- TypeUtil.cs
- CodeEntryPointMethod.cs