Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- OperationExecutionFault.cs
- ArglessEventHandlerProxy.cs
- CompositeCollectionView.cs
- AnnotationHighlightLayer.cs
- SettingsProviderCollection.cs
- XmlLanguage.cs
- ConfigXmlText.cs
- ServiceOperationWrapper.cs
- VirtualizingStackPanel.cs
- DuplicateDetector.cs
- NoClickablePointException.cs
- TargetConverter.cs
- CodeTypeMember.cs
- Itemizer.cs
- SlipBehavior.cs
- LayoutExceptionEventArgs.cs
- AccessDataSource.cs
- DecimalAnimation.cs
- WsdlBuildProvider.cs
- GB18030Encoding.cs
- XmlSchemaSimpleContent.cs
- TypeConverterHelper.cs
- ErrorWebPart.cs
- XamlDebuggerXmlReader.cs
- SqlSupersetValidator.cs
- LabelAutomationPeer.cs
- PriorityItem.cs
- HebrewNumber.cs
- SSmlParser.cs
- UnionCqlBlock.cs
- ListItemConverter.cs
- ListBoxChrome.cs
- DynamicPropertyHolder.cs
- RangeEnumerable.cs
- LabelEditEvent.cs
- LinqDataSourceContextEventArgs.cs
- XmlDigitalSignatureProcessor.cs
- XmlEncoding.cs
- _FtpControlStream.cs
- BufferedStream.cs
- TypefaceMap.cs
- JsonServiceDocumentSerializer.cs
- DataKey.cs
- ObjectNotFoundException.cs
- RtfToXamlReader.cs
- SecureEnvironment.cs
- DoubleAnimationClockResource.cs
- DeleteHelper.cs
- GridViewUpdatedEventArgs.cs
- GroupBoxDesigner.cs
- EventHandlers.cs
- FileDataSourceCache.cs
- CompilerWrapper.cs
- DateTimeFormatInfo.cs
- HyperLinkStyle.cs
- KeyboardEventArgs.cs
- InvalidWMPVersionException.cs
- SQLByteStorage.cs
- RouteItem.cs
- Inline.cs
- SerializationSectionGroup.cs
- ExpandCollapseProviderWrapper.cs
- WindowsFormsSynchronizationContext.cs
- XmlNamedNodeMap.cs
- XmlSchemaObject.cs
- DataReaderContainer.cs
- ServicePointManagerElement.cs
- FontInfo.cs
- FontNamesConverter.cs
- ChildTable.cs
- XmlLanguageConverter.cs
- CodeNamespace.cs
- ElementHost.cs
- TargetParameterCountException.cs
- ListView.cs
- DispatcherObject.cs
- LoginDesignerUtil.cs
- HttpHeaderCollection.cs
- HwndSource.cs
- MenuItemBinding.cs
- ArrayList.cs
- ASCIIEncoding.cs
- SafeRegistryHandle.cs
- DBSqlParserTable.cs
- DockProviderWrapper.cs
- SortQuery.cs
- EditorPartDesigner.cs
- ApplicationBuildProvider.cs
- DBConcurrencyException.cs
- Graphics.cs
- MatcherBuilder.cs
- StreamMarshaler.cs
- InputBindingCollection.cs
- DiscoveryReference.cs
- PointUtil.cs
- BidOverLoads.cs
- MouseCaptureWithinProperty.cs
- ProtectedConfiguration.cs
- Rotation3DAnimationBase.cs
- datacache.cs