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
- ConfigurationSectionGroup.cs
- Transform3D.cs
- ContextMenu.cs
- isolationinterop.cs
- ToolStrip.cs
- XmlSchemaAttributeGroupRef.cs
- ProfileInfo.cs
- SettingsSavedEventArgs.cs
- ExpressionBinding.cs
- WindowsRichEditRange.cs
- TextParagraph.cs
- XsdDateTime.cs
- ServiceOperation.cs
- PropertyManager.cs
- SelectManyQueryOperator.cs
- MethodExpr.cs
- HGlobalSafeHandle.cs
- HttpPostClientProtocol.cs
- XmlArrayItemAttribute.cs
- DataGridViewColumn.cs
- DataServiceBuildProvider.cs
- WindowHideOrCloseTracker.cs
- SqlTrackingService.cs
- ForceCopyBuildProvider.cs
- ActivityDesigner.cs
- Control.cs
- ExchangeUtilities.cs
- RegexFCD.cs
- DayRenderEvent.cs
- UnsignedPublishLicense.cs
- EntityDataSourceEntitySetNameItem.cs
- Duration.cs
- ChameleonKey.cs
- IdnMapping.cs
- TaskFileService.cs
- WindowVisualStateTracker.cs
- _KerberosClient.cs
- LayoutSettings.cs
- ColorAnimationUsingKeyFrames.cs
- SHA256Cng.cs
- TemplatedAdorner.cs
- RequestNavigateEventArgs.cs
- SimpleType.cs
- PasswordRecovery.cs
- Privilege.cs
- Permission.cs
- X509PeerCertificateElement.cs
- WinEventQueueItem.cs
- FixedSOMLineRanges.cs
- MenuStrip.cs
- OracleTimeSpan.cs
- DeleteHelper.cs
- EntitySet.cs
- GridItemPattern.cs
- TextParaLineResult.cs
- XmlSerializerOperationGenerator.cs
- Rectangle.cs
- NaturalLanguageHyphenator.cs
- EndCreateSecurityTokenRequest.cs
- XmlWriterSettings.cs
- BooleanStorage.cs
- QuerySubExprEliminator.cs
- StringReader.cs
- RepeaterItemEventArgs.cs
- SystemColors.cs
- ResourceCategoryAttribute.cs
- SpeakInfo.cs
- GenericUriParser.cs
- MimeMultiPart.cs
- SelectionProviderWrapper.cs
- SetStoryboardSpeedRatio.cs
- BaseParaClient.cs
- ScriptingRoleServiceSection.cs
- PropertyValueChangedEvent.cs
- EncryptedReference.cs
- MenuItem.cs
- TextEditor.cs
- PathHelper.cs
- EvidenceBase.cs
- SQLSingleStorage.cs
- COAUTHIDENTITY.cs
- GenericWebPart.cs
- DependencyPropertyChangedEventArgs.cs
- SqlRowUpdatingEvent.cs
- WebHttpEndpointElement.cs
- XMLSyntaxException.cs
- HtmlTernaryTree.cs
- DeclarativeConditionsCollection.cs
- OperationPerformanceCounters.cs
- LinqDataSourceStatusEventArgs.cs
- IResourceProvider.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- PnrpPermission.cs
- CfgParser.cs
- SplitterCancelEvent.cs
- TransformerTypeCollection.cs
- UpdateManifestForBrowserApplication.cs
- Oid.cs
- WebRequestModulesSection.cs
- FlowPosition.cs