Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Framework / System / Windows / Navigation / ReturnEventArgs.cs / 1 / ReturnEventArgs.cs
//----------------------------------------------------------------------------
//
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//
// Description:
// ReturnEventArgs is a generic flavor of EventArgs,
// that enable setting, getting a typed value that's
// passed between Pagefunctions.
//
// History:
// 05/09/03: marka Created.
// 07/08/04: weibz Rename and make it compliant with guideline.
//
//---------------------------------------------------------------------------
using System;
namespace System.Windows.Navigation
{
///
/// ReturnEventArgs is a generic flavor of EventArgs,
/// that enable setting, getting a typed value that's
/// passed between Pagefunctions.
///
public class ReturnEventArgs : System.EventArgs
{
//-----------------------------------------------------
//
// Constructors
//
//-----------------------------------------------------
#region Constructors
///
/// ReturnEventArgs constructor
///
public ReturnEventArgs()
{
}
///
/// ReturnEventArgs constructor. Supplied value is assigned to Result value
///
///Assigned to Result property
public ReturnEventArgs( T result)
{
_result = result;
}
#endregion Constructors
//------------------------------------------------------
//
// Public Properties
//
//-----------------------------------------------------
#region Public Properties
///
/// The Result property indicates the result that a PageFunction is
/// returning to it's caller, at the end of a Structured Navigation.
///
public T Result
{
get
{
return _result;
}
set
{
_result = value;
}
}
#endregion Public Properties
//------------------------------------------------------
//
// Private Fields
//
//------------------------------------------------------
#region Private Fields
private T _result;
#endregion Private Fields
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------------------
//
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//
// Description:
// ReturnEventArgs is a generic flavor of EventArgs,
// that enable setting, getting a typed value that's
// passed between Pagefunctions.
//
// History:
// 05/09/03: marka Created.
// 07/08/04: weibz Rename and make it compliant with guideline.
//
//---------------------------------------------------------------------------
using System;
namespace System.Windows.Navigation
{
///
/// ReturnEventArgs is a generic flavor of EventArgs,
/// that enable setting, getting a typed value that's
/// passed between Pagefunctions.
///
public class ReturnEventArgs : System.EventArgs
{
//-----------------------------------------------------
//
// Constructors
//
//-----------------------------------------------------
#region Constructors
///
/// ReturnEventArgs constructor
///
public ReturnEventArgs()
{
}
///
/// ReturnEventArgs constructor. Supplied value is assigned to Result value
///
///Assigned to Result property
public ReturnEventArgs( T result)
{
_result = result;
}
#endregion Constructors
//------------------------------------------------------
//
// Public Properties
//
//-----------------------------------------------------
#region Public Properties
///
/// The Result property indicates the result that a PageFunction is
/// returning to it's caller, at the end of a Structured Navigation.
///
public T Result
{
get
{
return _result;
}
set
{
_result = value;
}
}
#endregion Public Properties
//------------------------------------------------------
//
// Private Fields
//
//------------------------------------------------------
#region Private Fields
private T _result;
#endregion Private Fields
}
}
// 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
- TemplateComponentConnector.cs
- MailMessageEventArgs.cs
- UICuesEvent.cs
- FlowchartSizeFeature.cs
- DataTableReader.cs
- EncryptedKey.cs
- ByteAnimation.cs
- ResourcesBuildProvider.cs
- EditingMode.cs
- DesignSurfaceManager.cs
- RequestSecurityTokenResponseCollection.cs
- BinaryConverter.cs
- SemanticTag.cs
- StrokeIntersection.cs
- IteratorFilter.cs
- StringExpressionSet.cs
- ConfigurationManagerInternalFactory.cs
- TimeSpan.cs
- ColorAnimation.cs
- TreeBuilder.cs
- DictionaryItemsCollection.cs
- FrameDimension.cs
- Timer.cs
- XmlSchemaComplexContentRestriction.cs
- ServicePointManagerElement.cs
- SaveFileDialog.cs
- ControlBindingsConverter.cs
- FtpWebResponse.cs
- MenuItem.cs
- MdiWindowListItemConverter.cs
- DesignerHelpers.cs
- HwndSource.cs
- ServiceModelDictionary.cs
- SQLInt16Storage.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- XmlReader.cs
- SoapSchemaExporter.cs
- ServicesUtilities.cs
- XmlIgnoreAttribute.cs
- MulticastIPAddressInformationCollection.cs
- DataServiceHostFactory.cs
- EnumerableRowCollectionExtensions.cs
- UniqueIdentifierService.cs
- coordinatorscratchpad.cs
- SqlBuffer.cs
- XmlSchemaAppInfo.cs
- ReverseInheritProperty.cs
- NullableLongAverageAggregationOperator.cs
- BufferedGraphicsContext.cs
- ipaddressinformationcollection.cs
- BitmapFrame.cs
- StringValueSerializer.cs
- TypeConstant.cs
- RequiredFieldValidator.cs
- Nullable.cs
- ItemCheckEvent.cs
- CodeDirectiveCollection.cs
- CatalogPartCollection.cs
- _HelperAsyncResults.cs
- MeasureItemEvent.cs
- SqlProviderServices.cs
- DuplicateWaitObjectException.cs
- GCHandleCookieTable.cs
- MergablePropertyAttribute.cs
- FixedLineResult.cs
- ScrollChrome.cs
- PixelFormatConverter.cs
- ComAdminWrapper.cs
- HttpListenerRequestUriBuilder.cs
- TreeViewAutomationPeer.cs
- PagedDataSource.cs
- SchemaSetCompiler.cs
- TileBrush.cs
- ReadOnlyCollectionBase.cs
- CompilationSection.cs
- ConfigurationErrorsException.cs
- CrossContextChannel.cs
- ContentPosition.cs
- BindingContext.cs
- DSACryptoServiceProvider.cs
- DependencyObject.cs
- FontCacheUtil.cs
- CodeTypeParameterCollection.cs
- PreProcessInputEventArgs.cs
- ConfigXmlWhitespace.cs
- OleDbTransaction.cs
- TypeContext.cs
- WebPartManagerInternals.cs
- StrokeDescriptor.cs
- InputLangChangeRequestEvent.cs
- LineVisual.cs
- QilScopedVisitor.cs
- TabletDeviceInfo.cs
- ZipFileInfo.cs
- ClientConvert.cs
- PreProcessor.cs
- FieldNameLookup.cs
- AnnotationComponentManager.cs
- DBConnection.cs
- DetailsViewInsertedEventArgs.cs